diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 000000000..b11042c7c --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1 @@ +open_collective: pythonocc-core diff --git a/AUTHORS b/AUTHORS index 5de0a3573..64ab7c381 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,19 +1,22 @@ pythonOCC is developed and maintained by Thomas Paviot (tpaviot@gmail.com). -The pythonocc-core package contains contributions from : +The pythonocc-core package contains contributions from (alphabetical sort): Adam Urbańczyk François Granade Hinko Kočevar Jelle Feringa Jeremy Wright +Johannes Verherstraeten +Kristoffer Andersen Martin Siggel Matthis Thorade +Tanneguy de Villemagne +Thomas Severin Thomas Krijnen -Thomas Paviot Trevor Laughlin -jelle feringa nxsofsys -Thomas Severin +Rafael Senties Martinelli +Simon Klein Please report any missing name diff --git a/CMakeLists.txt b/CMakeLists.txt index d36c8cbc7..08bd62772 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,64 +1,54 @@ -##Copyright (c) 2011-2020 Thomas Paviot (tpaviot@gmail.com) +##Copyright (c) 2011-2025 Thomas Paviot (tpaviot@gmail.com) ## ##This file is part of pythonOCC. ## ##pythonOCC is free software: you can redistribute it and/or modify -##it under the terms of the GNU General Public License as published by +##it under the terms of the GNU Lesser General Public License as published by ##the Free Software Foundation, either version 3 of the License, or ##(at your option) any later version. ## ##pythonOCC is distributed in the hope that 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. +##GNU Lesser General Public License for more details. ## -##You should have received a copy of the GNU General Public License +##You should have received a copy of the GNU Lesser General Public License ##along with pythonOCC. If not, see . -cmake_minimum_required(VERSION 3.12) - -if (POLICY CMP0072) - cmake_policy(SET CMP0072 OLD) -endif(POLICY CMP0072) +cmake_minimum_required(VERSION 3.18) project(PYTHONOCC) # set pythonOCC version set(PYTHONOCC_VERSION_MAJOR 7) -set(PYTHONOCC_VERSION_MINOR 5) -set(PYTHONOCC_VERSION_PATCH 0) +set(PYTHONOCC_VERSION_MINOR 9) +set(PYTHONOCC_VERSION_PATCH 3) # Empty for official releases, set to -dev, -rc1, etc for development releases -set(PYTHONOCC_VERSION_DEVEL -rc1) +set(PYTHONOCC_VERSION_DEVEL -dev) -set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH}) +# set OCCT version +set(OCCT_VERSION_MAJOR 7) +set(OCCT_VERSION_MINOR 9) +set(OCCT_VERSION_PATCH 3) -# for cmake 3.13 and newer, still use old swig style targets -cmake_policy(SET CMP0078 OLD) -cmake_policy(SET CMP0086 OLD) +set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH}) ## cmake policies -if (NOT CMAKE_VERSION VERSION_LESS "3.13") - # CMP0077: option() honors normal variables - # https://cmake.org/cmake/help/latest/policy/CMP0077.html - cmake_policy(SET CMP0077 NEW) - # CMP0078: UseSWIG generates standard target names. - # https://cmake.org/cmake/help/latest/policy/CMP0078.html - cmake_policy(SET CMP0078 OLD) - # CMP0086: UseSWIG honors SWIG_MODULE_NAME via -module - cmake_policy(SET CMP0086 OLD) -endif() - -# Force C++ 11 -set(CMAKE_CXX_STANDARD 11) +# CMP0078: UseSWIG generates standard target names. +if (POLICY CMP0078) + cmake_policy(SET CMP0078 NEW) +endif(POLICY CMP0078) + +# CMP0086: UseSWIG honors SWIG_MODULE_NAME via -module +if (POLICY CMP0086) + cmake_policy(SET CMP0086 NEW) +endif(POLICY CMP0086) + +# Force C++ 14 +set(CMAKE_CXX_STANDARD 14) 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) - -message(STATUS " ${CMAKE_CXX_FLAGS}") set(BUILD_SHARED_LIBS ON) include_directories(${CMAKE_CURRENT_SOURCE_DIR}) @@ -86,7 +76,7 @@ include_directories(OPENGL_INCLUDE_DIR) ################# # Build options # ################# -include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/OCE_Modules.cmake) +include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/OCCT_Modules.cmake) # add an option to choose toolkits to compile if(OPENGL_FOUND) option_with_default(PYTHONOCC_WRAP_VISU "Compile Visualisation" ON) @@ -95,66 +85,102 @@ else(OPENGL_FOUND) 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_OCAF "Compile OCCT Application Framework wrapper" ON) 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) +option_with_default(OCCT_HIDE_DEPRECATED "Check this option to disable deprecation warnings for OCCT." ON) +option_with_default(PYTHONOCC_MESHDS_NUMPY "Enable using numpy to speed up mesh data source arrays (requires numpy dev libraries and headers)." OFF) ############ # Python 3 # ############ -find_package(Python3 COMPONENTS Interpreter Development REQUIRED) +set(Python3_FIND_STRATEGY LOCATION) +set(Python3_FIND_FRAMEWORK NEVER) +if(PYTHONOCC_MESHDS_NUMPY) + find_package(Python3 COMPONENTS Interpreter Development NumPy REQUIRED) + include_directories(${Python3_NumPy_INCLUDE_DIRS}) + message(STATUS "Numpy include directory: ${Python3_NumPy_INCLUDE_DIRS}") + set(CMAKE_SWIG_FLAGS ${CMAKE_SWIG_FLAGS} -DBUILD_MESHDS_NUMPY) +else(PYTHONOCC_MESHDS_NUMPY) + find_package(Python3 COMPONENTS Interpreter Development REQUIRED) +endif(PYTHONOCC_MESHDS_NUMPY) message(STATUS "Python3 interpreter:" ${Python3_EXECUTABLE}) -message(STATUS "Python include directory: ${Python3_INCLUDE_DIR}") +message(STATUS "Python include directory: ${Python3_INCLUDE_DIRS}") message(STATUS "Python library release: ${Python3_LIBRARY_RELEASE}") ######## # SWIG # ######## -find_package(SWIG 3.0.11 REQUIRED) +find_package(SWIG 4.2.1...4.4.1 REQUIRED) +message(STATUS "SWIG version found: ${SWIG_VERSION}") include(${SWIG_USE_FILE}) set(SWIG_FILES_PATH src/SWIG_files/wrapper) -set(CMAKE_SWIG_FLAGS ${CMAKE_SWIG_FLAGS} -fvirtual -py3) +set(CMAKE_SWIG_FLAGS ${CMAKE_SWIG_FLAGS} -fvirtual) if(SWIG_HIDE_WARNINGS) message(STATUS "Disabled SWIG warnings") set(CMAKE_SWIG_FLAGS ${CMAKE_SWIG_FLAGS} -w302,401,402,412,314,509,512,504,325,503,520,350,351,383,389,394,395,404) endif() - + +if(CMAKE_BUILD_TYPE STREQUAL "Release") + add_definitions(-DSWIG_PYTHON_SILENT_MEMLEAK) +endif(CMAKE_BUILD_TYPE STREQUAL "Release") + +######################### +# On Windows, see #1347 # +######################### +if(WIN32 AND OCCT_ESSENTIALS_ROOT) + # Générer le fichier config.py.in + file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/config.py.in + "# Configuration file generated by CMake + +OCCT_ESSENTIALS_ROOT = \"@OCCT_ESSENTIALS_ROOT@\" + ") + configure_file( + ${CMAKE_CURRENT_BINARY_DIR}/config.py.in + ${CMAKE_CURRENT_BINARY_DIR}/config.py + @ONLY + ) + set(OCCT_ESSENTIALS_PATH ${OCCT_ESSENTIALS_ROOT}) + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/config.py + DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY} + ) +endif() + ################################ # OCE include and lib location # ################################ -if(OCE_HIDE_DEPRECATED) - message(STATUS "Disabled deprecation warnings for oce") +if(OCCT_HIDE_DEPRECATED) + message(STATUS "Disabled deprecation warnings for OpenCASCADE") 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) - 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}) - link_directories(${OCE_LIB_PATH}) -# if OCE_INCLUDE_PATH is not passed at command line, +endif(OCCT_HIDE_DEPRECATED) + +if(DEFINED OCCT_INCLUDE_DIR) + if(NOT DEFINED OCCT_LIBRARY_DIR) + message(FATAL_ERROR "OCCT_LIBRARY_DIR must be defined") + endif(NOT DEFINED OCCT_LIBRARY_DIR) + set(OCCT_INCLUDE_DIR ${OCCT_INCLUDE_DIR} CACHE PATH "OCCT include path") + set(OCCT_LIBRARY_DIR ${OCCT_LIBRARY_DIR} CACHE PATH "OCCT library path") + include_directories(${OCCT_INCLUDE_DIR}) + link_directories(${OCCT_LIBRARY_DIR}) +# if OCCT_INCLUDE_DIR is not passed at command line, # find OCE automatically -else(OCE_INCLUDE_PATH) - find_package(OpenCASCADE 7.5.0 REQUIRED) +else(OCCT_INCLUDE_DIR) + find_package(OpenCASCADE ${OCCT_VERSION_MAJOR}.${OCCT_VERSION_MINOR}.${OCCT_VERSION_PATCH} EXACT REQUIRED) if(OpenCASCADE_FOUND) message(STATUS "OpenCASCADE version found: " ${OpenCASCADE_MAJOR_VERSION} "." ${OpenCASCADE_MINOR_VERSION} "." ${OpenCASCADE_MAINTENANCE_VERSION}) message(STATUS "OpenCASCADE include directory: " ${OpenCASCADE_INCLUDE_DIR}) message(STATUS "OpenCASCADE binary directory: " ${OpenCASCADE_BINARY_DIR}) include_directories(${OpenCASCADE_INCLUDE_DIR}) 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}) + set(OCCT_INCLUDE_DIR /usr/local/include/opencascade CACHE PATH "OpenCASCADE include path") + set(OCCT_LIBRARY_DIR /usr/local/lib CACHE PATH "OpenCASCADE lib path") + include_directories(${OCCT_INCLUDE_DIR}) + link_directories(${OCCT_LIBRARY_DIR}) endif(OpenCASCADE_FOUND) -endif(DEFINED OCE_INCLUDE_PATH) +endif(DEFINED OCCT_INCLUDE_DIR) # After the OCC paths are properly set up, -find_file(GP_PNT_HEADER_LOCATION "gp_Pnt.hxx" PATHS ${OpenCASCADE_INCLUDE_DIR} ${OCE_INCLUDE_PATH}) -if(${GP_PNT_HEADER_LOCATION} STREQUAL "GP_PNT_HEADER_LOCATION-NOTFOUND") +find_file(OCCT_GP_PNT_HEADER_LOCATION "gp_Pnt.hxx" PATHS ${OpenCASCADE_INCLUDE_DIR} ${OCCT_INCLUDE_DIR}) +if(NOT OCCT_GP_PNT_HEADER_LOCATION) message(FATAL_ERROR "gp_Pnt.hxx can not be found.") endif() @@ -162,30 +188,31 @@ endif() # Installation directory # # by default, installed to site-packages/OCC # ############################################## -if(DEFINED ENV{SP_DIR} AND WIN32) - # TODO: following hack is azure specific, a recent update in azure - # prevent cmake to find correct paths of python3 on windows - # this should be removed as soon as possible - message(STATUS "conda-build running, using $ENV{SP_DIR} as install dir") - set(PYTHONOCC_INSTALL_DIRECTORY $ENV{SP_DIR}/OCC CACHE PATH "pythonocc install directory") -else(DEFINED ENV{SP_DIR} AND WIN32) - 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") -endif(DEFINED ENV{SP_DIR} AND WIN32) +if(NOT DEFINED PYTHONOCC_INSTALL_DIRECTORY) + if(DEFINED ENV{SP_DIR} AND WIN32) + # TODO: following hack is azure specific, a recent update in azure + # prevent cmake to find correct paths of python3 on windows + # this should be removed as soon as possible + message(STATUS "conda-build running, using $ENV{SP_DIR} as install dir") + set(PYTHONOCC_INSTALL_DIRECTORY $ENV{SP_DIR}/OCC CACHE PATH "pythonocc install directory") + else(DEFINED ENV{SP_DIR} AND WIN32) + execute_process(COMMAND ${Python3_EXECUTABLE} -c "from distutils.sysconfig import get_python_lib; from os.path import relpath; print(relpath(get_python_lib(1,prefix='${CMAKE_INSTALL_PREFIX}'),'${CMAKE_INSTALL_PREFIX}'))" OUTPUT_VARIABLE python_lib OUTPUT_STRIP_TRAILING_WHITESPACE) + set(PYTHONOCC_INSTALL_DIRECTORY ${python_lib}/OCC CACHE PATH "pythonocc install directory") + endif(DEFINED ENV{SP_DIR} AND WIN32) +endif(NOT DEFINED PYTHONOCC_INSTALL_DIRECTORY) + message(STATUS "pythonocc modules will be installed to: ${PYTHONOCC_INSTALL_DIRECTORY}") ############################################# # List of OCE shared libraries to link with # ############################################# -set(OCE_MODEL_LIBRARIES TKernel TKMath TKBRep TKG2d TKG3d TKGeomBase TKBO +set(OCCT_MODEL_LIBRARIES TKernel TKMath TKBRep TKG2d TKG3d TKGeomBase TKBO TKBool TKFeat TKFillet TKGeomAlgo TKHLR TKMesh TKOffset TKPrim TKShHealing TKTopAlgo TKXMesh) -set(OCE_VISUALIZATION_LIBRARIES TKService TKV3d TKOpenGl TKMeshVS) -set(OCE_DATAEXCHANGE_LIBRARIES TKBinXCAF TKIGES TKRWMesh TKSTEP TKSTEP209 TKSTEPAttr - TKSTEPBase TKSTL TKVRML TKXCAF TKXDEIGES TKXDESTEP TKXSBase - TKXmlXCAF) -set(OCE_OCAF_LIBRARIES TKCDF TKLCAF TKCAF TKBinL TKXmlL TKBin TKXml TKStdL - TKStd TKTObj TKBinTObj TKXmlTObj TKVCAF) +set(OCCT_VISUALIZATION_LIBRARIES TKService TKV3d TKOpenGl TKMeshVS) +set(OCCT_DATAEXCHANGE_LIBRARIES TKDE TKXSBase TKDESTEP TKDEIGES TKDESTL TKDEVRML TKDECascade TKDEOBJ TKDEGLTF TKDEPLY TKCDF TKLCAF TKXCAF TKVCAF TKXmlXCAF TKBinXCAF TKRWMesh TKService TKV3d) +set(OCCT_OCAF_LIBRARIES TKCDF TKLCAF TKCAF TKBinL TKXmlL TKBin TKXml TKStdL + TKStd TKTObj TKBinTObj TKXmlTObj TKVCAF TKService TKV3d) ################ # Headers path # @@ -219,13 +246,13 @@ if(UNIX) ######### Unix/Linux ########### set(PLATFORM Unix) endif(APPLE) - set(CMAKE_SWIG_FLAGS ${CMAKE_SWIG_FLAGS} -DCSFDB -DHAVE_CONFIG_H) + set(CMAKE_SWIG_FLAGS ${CMAKE_SWIG_FLAGS} -DCSFDB -DHAVE_CONFIG_H -DSWIG_PYTHON_SILENT_MEMLEAK) add_definitions(-DHAVE_CONFIG_H -DCSFDB) else(UNIX) if(WIN32) ######### Windows ########### add_definitions(-DWNT -DWIN32 -D_WINDOWS -DCSFDB -DHAVE_CONFIG_H) - set(CMAKE_SWIG_FLAGS ${CMAKE_SWIG_FLAGS} -DCSFDB -DWIN32 -D_WINDOWS) + set(CMAKE_SWIG_FLAGS ${CMAKE_SWIG_FLAGS} -DCSFDB -DWIN32 -D_WINDOWS -DSWIG_PYTHON_SILENT_MEMLEAK) set(PLATFORM win) else(WIN32) message(STATUS "Unknown platform") @@ -260,13 +287,13 @@ set(CMAKE_SWIG_OUTDIR ${LIBRARY_OUTPUT_PATH}) ################## # MODEL Toolkits # ################## -file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/${SWIG_FILES_PATH}) -foreach(OCE_MODULE ${OCE_TOOLKIT_MODEL}) - set(FILE ${SWIG_FILES_PATH}/${OCE_MODULE}.i) +file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${SWIG_FILES_PATH}) +foreach(OCCT_MODULE ${OCCT_TOOLKIT_MODEL}) + set(FILE ${SWIG_FILES_PATH}/${OCCT_MODULE}.i) set_source_files_properties(${FILE} PROPERTIES CPLUSPLUS ON) - swig_add_library (${OCE_MODULE} LANGUAGE python SOURCES ${FILE} TYPE MODULE) - swig_link_libraries(${OCE_MODULE} ${OCE_MODEL_LIBRARIES} Python3::Module) -endforeach(OCE_MODULE) + swig_add_library (${OCCT_MODULE} LANGUAGE python SOURCES ${FILE} TYPE MODULE) + swig_link_libraries(${OCCT_MODULE} ${OCCT_MODEL_LIBRARIES} Python3::Module) +endforeach(OCCT_MODULE) ############### # Tessellator # @@ -279,21 +306,24 @@ set(TESSELATOR_SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/Tesselator/ShapeTesselator.cpp) swig_add_library(Tesselator LANGUAGE python SOURCES ${TESSELATOR_SOURCE_FILES} TYPE MODULE) -swig_link_libraries(Tesselator ${OCE_MODEL_LIBRARIES} Python3::Module) +swig_link_libraries(Tesselator ${OCCT_MODEL_LIBRARIES} Python3::Module) ################# # Visualisation # ################# if(PYTHONOCC_WRAP_VISU) find_package(OpenGL REQUIRED) + if(OPENGL_FOUND) + message(STATUS "OpenGL found; Visualization support enabled") + endif() include_directories(OPENGL_INCLUDE_DIR) - foreach(OCE_MODULE ${OCE_TOOLKIT_VISUALIZATION}) - set(FILE ${SWIG_FILES_PATH}/${OCE_MODULE}.i) + foreach(OCCT_MODULE ${OCCT_TOOLKIT_VISUALIZATION}) + set(FILE ${SWIG_FILES_PATH}/${OCCT_MODULE}.i) set_source_files_properties(${FILE} PROPERTIES CPLUSPLUS ON) - swig_add_library (${OCE_MODULE} LANGUAGE python SOURCES ${FILE} TYPE MODULE) - swig_link_libraries(${OCE_MODULE} ${OCE_MODEL_LIBRARIES} ${OCE_VISUALIZATION_LIBRARIES} Python3::Module) - endforeach(OCE_MODULE) + swig_add_library (${OCCT_MODULE} LANGUAGE python SOURCES ${FILE} TYPE MODULE) + swig_link_libraries(${OCCT_MODULE} ${OCCT_MODEL_LIBRARIES} ${OCCT_VISUALIZATION_LIBRARIES} Python3::Module) + endforeach(OCCT_MODULE) # Build third part modules # TODO : the following line is strange but necessary @@ -305,7 +335,7 @@ if(PYTHONOCC_WRAP_VISU) ${CMAKE_CURRENT_SOURCE_DIR}/src/Visualization/Display3d.cpp) swig_add_library(Visualization LANGUAGE python SOURCES ${VISUALIZATION_SOURCE_FILES} TYPE MODULE) - swig_link_libraries(Visualization ${OCE_MODEL_LIBRARIES} ${OCE_VISUALIZATION_LIBRARIES} Python3::Module) + swig_link_libraries(Visualization ${OCCT_MODEL_LIBRARIES} ${OCCT_VISUALIZATION_LIBRARIES} Python3::Module) if(APPLE) # on OSX, always add /System/Library/Frameworks/Cocoa.framework, even @@ -313,30 +343,44 @@ if(PYTHONOCC_WRAP_VISU) swig_link_libraries(Visualization /System/Library/Frameworks/Cocoa.framework) endif(APPLE) + ########################## + # MeshDS module addition # + ########################## + execute_process(COMMAND ${CMAKE_COMMAND} -E make_directory src/MeshDataSource) + set(FILE ${SWIG_FILES_PATH}/MeshDS.i) + set_source_files_properties(${FILE} PROPERTIES CPLUSPLUS ON) + include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src/MeshDataSource) + set(MESHDATASOURCE_SOURCE_FILES + ${FILE} + ${CMAKE_CURRENT_SOURCE_DIR}/src/MeshDataSource/MeshDataSource.cpp) + + swig_add_library(MeshDS LANGUAGE python SOURCES ${MESHDATASOURCE_SOURCE_FILES} TYPE MODULE) + swig_link_libraries(MeshDS ${OCCT_MODEL_LIBRARIES} ${OCCT_VISUALIZATION_LIBRARIES} Python3::Module) + endif(PYTHONOCC_WRAP_VISU) ################ # DataExchange # ################ if(PYTHONOCC_WRAP_DATAEXCHANGE) - foreach(OCE_MODULE ${OCE_TOOLKIT_DATAEXCHANGE}) - set(FILE ${SWIG_FILES_PATH}/${OCE_MODULE}.i) + foreach(OCCT_MODULE ${OCCT_TOOLKIT_DATAEXCHANGE}) + set(FILE ${SWIG_FILES_PATH}/${OCCT_MODULE}.i) set_source_files_properties(${FILE} PROPERTIES CPLUSPLUS ON) - swig_add_library(${OCE_MODULE} LANGUAGE python SOURCES ${FILE} TYPE MODULE) - swig_link_libraries(${OCE_MODULE} ${OCE_MODEL_LIBRARIES} ${OCE_DATAEXCHANGE_LIBRARIES} Python3::Module) - endforeach(OCE_MODULE) + swig_add_library(${OCCT_MODULE} LANGUAGE python SOURCES ${FILE} TYPE MODULE) + swig_link_libraries(${OCCT_MODULE} ${OCCT_MODEL_LIBRARIES} ${OCCT_DATAEXCHANGE_LIBRARIES} Python3::Module) + endforeach(OCCT_MODULE) endif(PYTHONOCC_WRAP_DATAEXCHANGE) ######## # OCAF # ######## if(PYTHONOCC_WRAP_OCAF) - foreach(OCE_MODULE ${OCE_TOOLKIT_OCAF}) - set(FILE ${SWIG_FILES_PATH}/${OCE_MODULE}.i) + foreach(OCCT_MODULE ${OCCT_TOOLKIT_OCAF}) + set(FILE ${SWIG_FILES_PATH}/${OCCT_MODULE}.i) set_source_files_properties(${FILE} PROPERTIES CPLUSPLUS ON) - swig_add_library(${OCE_MODULE} LANGUAGE python SOURCES ${FILE} TYPE MODULE) - swig_link_libraries(${OCE_MODULE} ${OCE_MODEL_LIBRARIES} ${OCE_OCAF_LIBRARIES} Python3::Module) - endforeach(OCE_MODULE) + swig_add_library(${OCCT_MODULE} LANGUAGE python SOURCES ${FILE} TYPE MODULE) + swig_link_libraries(${OCCT_MODULE} ${OCCT_MODEL_LIBRARIES} ${OCCT_OCAF_LIBRARIES} Python3::Module) + endforeach(OCCT_MODULE) endif(PYTHONOCC_WRAP_OCAF) ########## @@ -354,14 +398,7 @@ ${CMAKE_CURRENT_SOURCE_DIR}/src/Addons/Font3d.cpp ) swig_add_library(Addons LANGUAGE python SOURCES ${ADDONS_SOURCE_FILES} TYPE MODULE) -swig_link_libraries(Addons ${OCE_MODEL_LIBRARIES} ${OCE_VISUALIZATION_LIBRARIES} Python3::Module) -#if (APPLE) -# set_target_properties(${SWIG_MODULE_Addons_REAL_NAME} PROPERTIES COMPILE_FLAGS ${PYTHON_CFLAGS}) -# set_target_properties(${SWIG_MODULE_Addons_REAL_NAME} PROPERTIES LINK_FLAGS ${PYTHON_LDFLAGS}) -# swig_link_libraries(Addons ${OPENGL_LIBRARIES}) -#else(APPLE) -# swig_link_libraries(Addons ${PYTHON_LIBRARIES}) -#endif(APPLE) +swig_link_libraries(Addons ${OCCT_MODEL_LIBRARIES} ${OCCT_VISUALIZATION_LIBRARIES} Python3::Module) ################ # Installation # @@ -371,58 +408,61 @@ if(WIN32) else(WIN32) set(EXTENSION "so") endif(WIN32) -set(BUILD_DIR ${CMAKE_BINARY_DIR}/${LIBRARY_OUTPUT_PATH}) +set(BUILD_DIR ${CMAKE_CURRENT_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 ${CMAKE_CURRENT_SOURCE_DIR}/src/SWIG_files/wrapper/${OCE_MODULE}.pyi DESTINATION +foreach(OCCT_MODULE ${OCCT_TOOLKIT_MODEL}) + install(FILES ${BUILD_DIR}/${OCCT_MODULE}.py DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core) + install(TARGETS ${OCCT_MODULE} DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core) + install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/SWIG_files/wrapper/${OCCT_MODULE}.pyi DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core) -endforeach(OCE_MODULE) +endforeach(OCCT_MODULE) # install tesselator install(FILES ${BUILD_DIR}/Tesselator.py DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core) -install(TARGETS _Tesselator DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core) +install(TARGETS Tesselator DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core) 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 ${CMAKE_CURRENT_SOURCE_DIR}/src/SWIG_files/wrapper/${OCE_MODULE}.pyi DESTINATION - ${PYTHONOCC_INSTALL_DIRECTORY}/Core) -endforeach(OCE_MODULE) + foreach(OCCT_MODULE ${OCCT_TOOLKIT_VISUALIZATION}) + install(FILES ${BUILD_DIR}/${OCCT_MODULE}.py DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core) + install(TARGETS ${OCCT_MODULE} DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core) + install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/SWIG_files/wrapper/${OCCT_MODULE}.pyi DESTINATION + ${PYTHONOCC_INSTALL_DIRECTORY}/Core) + endforeach(OCCT_MODULE) + + # install MeshDataSource + install(FILES ${BUILD_DIR}/MeshDS.py DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core) + install(TARGETS MeshDS DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core) 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 ${CMAKE_CURRENT_SOURCE_DIR}/src/SWIG_files/wrapper/${OCE_MODULE}.pyi DESTINATION - ${PYTHONOCC_INSTALL_DIRECTORY}/Core) -endforeach(OCE_MODULE) + foreach(OCCT_MODULE ${OCCT_TOOLKIT_DATAEXCHANGE}) + install(FILES ${BUILD_DIR}/${OCCT_MODULE}.py DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core) + install(TARGETS ${OCCT_MODULE} DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core) + install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/SWIG_files/wrapper/${OCCT_MODULE}.pyi DESTINATION + ${PYTHONOCC_INSTALL_DIRECTORY}/Core) + endforeach(OCCT_MODULE) endif(PYTHONOCC_WRAP_DATAEXCHANGE) if(PYTHONOCC_WRAP_OCAF) -foreach(OCE_MODULE ${OCE_TOOLKIT_OCAF}) - # install the python interface file (python module) - install(FILES ${BUILD_DIR}/${OCE_MODULE}.py DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core) - install(TARGETS _${OCE_MODULE} DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core) - install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/SWIG_files/wrapper/${OCE_MODULE}.pyi DESTINATION - ${PYTHONOCC_INSTALL_DIRECTORY}/Core) -endforeach(OCE_MODULE) + foreach(OCCT_MODULE ${OCCT_TOOLKIT_OCAF}) + # install the python interface file (python module) + install(FILES ${BUILD_DIR}/${OCCT_MODULE}.py DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core) + install(TARGETS ${OCCT_MODULE} DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core) + install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/SWIG_files/wrapper/${OCCT_MODULE}.pyi DESTINATION + ${PYTHONOCC_INSTALL_DIRECTORY}/Core) + endforeach(OCCT_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(TARGETS Visualization DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core) endif(PYTHONOCC_WRAP_VISU) # 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(TARGETS Addons DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core ) # install Display install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/src/Display DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}) diff --git a/INSTALL.md b/INSTALL.md index b5b10206c..b2a3915d2 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -1,77 +1,361 @@ -Overview --------- +# Building pythonOCC 7.9.0 - Complete Guide for Linux and Windows -pythonOCC is a python library whose purpose is to provide 3D modeling features. -It's intended to -developers who aim at developing a complete CAD/PLM application, and to -engineers who want to have a total control over the data during complex design -activities. +## Table of Contents +- [Linux Build Guide](#linux-build-guide) + - [Prerequisites (Linux)](#prerequisites-linux) + - [System Requirements (Linux)](#system-requirements-linux) + - [Build Process (Linux)](#build-process-linux) + - [1. Installing System Dependencies](#1-installing-system-dependencies-linux) + - [2. Building SWIG](#2-building-swig-linux) + - [3. Building OpenCascade](#3-building-opencascade-linux) + - [4. Building pythonOCC](#4-building-pythonocc-linux) + - [Optional Features (Linux)](#optional-features-linux) +- [Windows Build Guide](#windows-build-guide) + - [Prerequisites (Windows)](#prerequisites-windows) + - [System Requirements (Windows)](#system-requirements-windows) + - [Build Process (Windows)](#build-process-windows) + - [1. Installing Required Software](#1-installing-required-software-windows) + - [2. Installing OpenCascade](#2-installing-opencascade-windows) + - [3. Building pythonOCC](#3-building-pythonocc-windows) + - [Optional Features (Windows)](#optional-features-windows) +- [Common Steps](#common-steps) + - [Testing](#testing) + - [Demo Applications](#demo-applications) -About this document -------------------- +# Linux Build Guide -This file explains how to build pythonocc-core from source on Windows, Linux or -MacOSX platforms. +## Prerequisites (Linux) -Requirements ------------- +Before starting the build process, ensure your system meets these requirements: -pythonOCC needs the following libraries or programs to be installed before you -can compile/use it : +- Ubuntu 22.04 LTS (fresh installation recommended) +- At least 8GB of free disk space +- Internet connection for downloading packages +- Sudo privileges -* the python programming language (). Python 3.x is required. Python 2 -is officially dropped since the release 7.4.0. +## System Requirements (Linux) -* OpenCascade 7.4.0 (), +pythonOCC 7.9.0 requires the following components: -* SWIG 3.0.11 or higher (), +| Component | Version | Purpose | +|-----------|---------|---------| +| Python | ≥ 3.9 | Runtime environment | +| OpenCascade | 7.9.0 | Core CAD functionality | +| SWIG | 4.2.1 | Interface generation | +| CMake | ≥ 3.20 | Build system | -Create a local copy of the repository -------------------------------------- +## Build Process (Linux) - git clone git://github.com/tpaviot/pythonocc-core.git +### 1. Installing System Dependencies (Linux) -pythonocc-core compilation --------------------------- +First, update your system and install required packages: - cd pythonocc-core - mkdir cmake-build - cd cmake-build +```bash +sudo apt-get update +sudo apt-get install -y \ + wget \ + libglu1-mesa-dev \ + libgl1-mesa-dev \ + libxmu-dev \ + libxi-dev \ + build-essential \ + cmake \ + libfreetype6-dev \ + tk-dev \ + python3-dev \ + rapidjson-dev \ + python3 \ + git \ + python3-pip \ + libpcre2-dev +``` -The configuration steps uses cmake: +### 2. Building SWIG (Linux) - 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: +SWIG 4.2.1 or higher is required but not available in Ubuntu's default repositories. Build it from source: - cmake -DOCE_INCLUDE_PATH=/your_oce_headers -DOCE_LIB_PATH=/your_lib_dir .. +```bash +wget http://prdownloads.sourceforge.net/swig/swig-4.3.0.tar.gz +tar -zxvf swig-4.3.0.tar.gz +cd swig-4.3.0 +./configure +make -j$(nproc) +sudo make install +``` -And launch the build process +### 3. Building OpenCascade (Linux) - make +Download and extract OpenCascade 7.9.0: -If you have many cpus, you can increase the compilation speed with: +```bash +wget https://github.com/Open-Cascade-SAS/OCCT/archive/refs/tags/V7_9_0.tar.gz +tar -xvzf V7_9_0.tar.gz +cd OCCT-7_9_0 +mkdir cmake-build +cd cmake-build +``` - make -j$ncpus +Configure and build OpenCascade: -According to your machine/os/ncpus, the total compilation time should be around 15 minutes. +```bash +cmake -DINSTALL_DIR=/opt/occt790 \ + -DBUILD_RELEASE_DISABLE_EXCEPTIONS=OFF \ + .. -Then +make -j$(nproc) +sudo make install +``` - make install +Add OpenCascade libraries to the system: -You may require admin privileges to install +```bash +sudo bash -c 'echo "/opt/occt790/lib" >> /etc/ld.so.conf.d/occt.conf' +sudo ldconfig +``` - sudo make install +### 4. Building pythonOCC (Linux) -test ----- -In order to check that everything is ok, run the pythonocc unittest suite: +Clone and build pythonOCC: - cd ../test - python run_tests.py +```bash +git clone https://github.com/tpaviot/pythonocc-core.git +cd pythonocc-core +mkdir cmake-build && cd cmake-build -demos ------ -Download/test demos available at +# Set installation directory (optional) +PYTHONOCC_INSTALL_DIRECTORY=${PYTHONOCC_INSTALL_DIRECTORY:-/usr/local} + +cmake \ + -DOCCT_INCLUDE_DIR=/opt/occt790/include/opencascade \ + -DOCCT_LIBRARY_DIR=/opt/occt790/lib \ + -DCMAKE_BUILD_TYPE=Release \ + -DPYTHONOCC_INSTALL_DIRECTORY=$PYTHONOCC_INSTALL_DIRECTORY \ + .. + +make -j$(nproc) && sudo make install +``` + +Add OpenCascade libraries to your environment: + +```bash +echo 'export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/occt790/lib' >> ~/.bashrc +source ~/.bashrc +``` + +Note: if you're running a conda environment on a recent linux distribution, you migh have to + +```bash +conda update -c conda-forge libstdcxx-ng libgcc-ng +``` + +# Windows Build Guide + +## Prerequisites (Windows) + +Before starting the build process, ensure your system meets these requirements: + +- Windows 10 or 11 (64-bit) +- At least 10GB of free disk space +- Internet connection for downloading packages +- Administrator privileges + +## System Requirements (Windows) + +| Component | Version | Download Link | +|-----------|---------|---------------| +| Visual Studio | 2019 or 2022 Community | [Download](https://visualstudio.microsoft.com/downloads/) | +| Python | ≥ 3.9 | [Download](https://www.python.org/downloads/) | +| CMake | ≥ 3.20 | [Download](https://cmake.org/download/) | +| Git | Latest | [Download](https://git-scm.com/download/win) | +| RapidJSON | Latest | [Download](https://github.com/Tencent/rapidjson.git) | +| SWIG | ≥ 4.2.1 | [Download](http://www.swig.org/download.html) | +| OpenCascade | 7.9.0 | [Download](https://dev.opencascade.org/download) | + +## Build Process (Windows) + +### 1. Installing Required Software (Windows) + +1. Install Visual Studio 2019/2022 Community Edition: + - During installation, select "Desktop development with C++" + - Include "Windows 10 SDK" and "MSBuild" + +2. Install Python 3.9 or later: + - Download and run the installer + - Check "Add Python to PATH" + - Choose "Customize installation" + - Select "pip" and "py launcher" + - Install for all users + +3. Install CMake: + - Download and run the installer + - Add CMake to the system PATH for all users + +4. Install Git: + - Download and run the installer + - Use Git from Windows Command Prompt + - Use OpenSSL library + +5. Install SWIG: + - Download SWIG 4.3.0 for Windows + - Extract to C:\swigwin + - Add C:\swigwin to the system PATH + +6. Install RapidJSON + - Clone the git repository git clone https://github.com/Tencent/rapidjson.git + +Binaries for dependencies can be downloaded at https://dev.opencascade.org/resources/download/3rd-party-components + +### 2. Installing OpenCascade (Windows) + +1. Download OpenCascade 7.9.0 for Windows +2. Extract to, for example, occt-7.9.0 + +If the binaries are not available, consider compiling by yourself OCCT on Windows. Refer to the official OpenCascade Technology documentation https://dev.opencascade.org/doc/overview/html/build_upgrade.html + +When installing OpenCascade and third-party libraries, you should have a structure similar to the one described at https://dev.opencascade.org/doc/overview/html/index.html#intro_install_windows + +C:\OpenCASCADE-7.9.0-vc10-64 +├── ffmpeg-3.3.4-gpl-64 +├── freeimage-3.17.0-vc10-64 +├── freetype-2.6.3-vc10-64 +├── occt-7.9.0 +├── qt486-vc10-64 +├── tclkit-86-64 +├── vtk-6.1.0-vc10-64 +└── zlib-1.2.8-vc10-64 + +### 3. Building pythonOCC (Windows) + +1. Clone the repository: +```batch +git clone https://github.com/tpaviot/pythonocc-core.git +cd pythonocc-core +``` + +2. Create build directory: +```batch +mkdir cmake-build +cd cmake-build +``` + +3. Configure with CMake: +```batch +cmake -G "Visual Studio 16 2019" -A x64 ^ + -DCMAKE_BUILD_TYPE=Release ^ + -DOCCT_INCLUDE_DIR=C:\OpenCASCADE-7.9.0-vc10-64\occt-7.9.0\inc ^ + -DOCCT_LIBRARY_DIR=C:\OpenCASCADE-7.9.0-vc10-64\occt-7.9.0\win64\vc14\lib ^ + -DOCCT_ESSENTIALS_ROOT=C:\OpenCASCADE-7.9.0-vc10-64 + .. +``` + +If using CMake GUI, make sure to set these two variables before clicking the "Generate" button: +``` +OCCT_INCLUDE_DIR=C:\OpenCASCADE-7.9.0-vc10-64\occt-7.9.0\inc +OCCT_LIBRARY_DIR=C:\OpenCASCADE-7.9.0-vc10-64\occt-7.9.0\win64\vc14\lib +``` + +4. Build: +```batch +cmake --build . --config Release +``` + +5. Install: +```batch +cmake --install . +``` + +# Common Steps + +## Optional Features + +### NumPy Support + +To enable fast STL file loading with NumPy support: + +1. Install NumPy: +```bash +pip install numpy +``` + +2. Add the following CMake flag during pythonOCC configuration: +```bash +-DPYTHONOCC_MESHDS_NUMPY=ON +``` + +### Additional Dependencies + +Install additional Python packages for full functionality: + +```bash +pip install svgwrite numpy numpy-stl matplotlib PyQt5 +``` + +## Testing + +### Quick Test + +Verify the installation: + +```python +python3 +>>> from OCC.Core.gp import gp_Pnt +>>> p = gp_Pnt(1., 2., 3.) +>>> p.X() +1.0 +``` + +### Full Test Suite + +Run the complete test suite: + +```bash +pip install pytest +pytest +``` + +## Demo Applications + +Try the demo applications: + +```bash +git clone https://github.com/tpaviot/pythonocc-demos +cd pythonocc-demos +python3 examples/core_classic_occ_bottle.py +``` + +## Troubleshooting + +### Linux Issues + +1. **Library not found errors**: + ```bash + sudo ldconfig + ``` + +2. **SWIG version mismatch**: + - Ensure no other SWIG versions are installed + - Verify installation: `swig -version` + +### Windows Issues + +1. **DLL not found errors**: + - Verify PATH environment variable includes OpenCascade bin directory + - Check Visual Studio installation + - if you encounter the following error: + +2. **DLL not found** for 3rd part libraries: + +If it was not done at build time, you can define the OCCT_ESSENTIALS_ROOT path +at run time, by setting the env var: + +```batch +setx OCCT_ESSENTIALS_ROOT "%CASROOT%\win64\vc14\bin" +``` + +3. **CMake configuration errors**: + - Ensure all paths use backslashes + - Verify Visual Studio installation + - Check environment variables + +For more examples and documentation, visit: +- [Demo Repository](https://github.com/tpaviot/pythonocc-demos) diff --git a/NEWS b/NEWS index f729fd3f9..2abe5b12f 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,147 @@ +Version 7.9.0 - April 2025 +========================== + +This release requires opencascade-7.9.0 + +* wrapper: upgrade to OpenCASCADE 7.9.0 + +* wrapper: add ReadFromString method prototype for memory increase protection + +* display: fix x3dom renderer material id + +* display: fix threejs renderer, json formatting + +* data exchange: add binary/ascii option to gltf export + +* data echange: fix return type when as_compound = False and there is a single shape + +* wrapper: add SetDeviation and GetDeviation methods to ShapeTesselator class + +* tesselator: fix constructor and return types + +* tesselator: fix 'Standard_ConstructionError' when a shape has no geometry + +* tesselator: tesselator: multiple coding improvements using Clang-Tidy recommendations + +Version 7.8.1.1 - December 2024 +=============================== + +Bugfix release. This release requires opencascade-7.8.1 + +* wrapper: add support for SWIG-4.3.0 + +* wrapper: add numpy interface for curve and surfaces, #1381 #1396 + +* wrapper: add missing SelectMegr methods, #1387 + +* wrapper: add __hash__ __eq__ and __neq__ methods to TShape, #1375 + +* wrapper: fix BRepTools.Merge, #1342 + +* wrapper: fix NCollection, #1332 + +* wrapper: fix TopTools_ListIteratorOfListOfShape import, #1355 + +* display: fix deprecation warning, #1386 + +* test: move test suite to pytest, #1335 + +* data exchange: fix gtlf importer + +* install: fix windows dll import, #1347 #1351, #1352 + +Version 7.8.1 - May 2024 +======================== + +This release requires opencascade-7.8.1 + +* wrapper: port to opencascade-7.8.1 + +* wrapper: support for python 3.12 + +* wrapper: unittests moved to pytest framework + +* wrapper: fix const returned by reference, #1277 and related + +* wrapper: fix istream and ostream swig wrapper, fix ReadStream and WriteStream for STEP files + +* wrapper: Fix ShapeAnalysis::ConnectEdgesToWires wrapper, #745 + +* display: Fix tk zoom on Window, #1291 + +* display: Fix PyQt6 viewer, fix issue #1279 + +* jupyter: Fix wrong edge orientation in discretize_edge, #1275 + +* jupyter: fix redundant code in jupyter renderer + +* wrapper: Fix ExtendedString unicode, #1278 + +Version 7.7.2 - October 2023 +============================ + +This release requires opencascade-7.7.2 + +* wrapper: port to opencascade-7.7.2 + +* wrapper: bump swig version to 4.1.1 + +* wrapper: new wrappers for RWPly, Unitsmethod, XDE + +* wrapper: handle TCollection_AsciiString, Standard_CString, TCollection_ExtendedString as +python strings + +* wrapper: pickle objects that provide json serializer + +* wrapper: improve docstrings + +* dataexchange: glt importer/exporter, ply exporter, obj exporter + +* display: support for PyQt6 and PySide6 + +* webgl: refactored threejs and x3dom renderer to stay sync with latest releases + +* display: new tkinter renderer, making PyQt or wx GUI managers optional + +* cmake installer: respect CMake install prefix + +Version 7.7.0 - November 2022 +============================= + +This release requires opencascade-7.7.0 + +* wrapper: port to opencascade-7.7.0 + +Version 7.6.2 - August 2022 +=========================== + +This release requires opencascade-7.6.2. + +* wrapper: port to opencascade-7.6.2 + +* wrapper: improved support for enums + +* MeshDataSource: new numpy based module for fast STL mesh loading (thanks @kleinsimon) + +* LayerManager: new module (thanks @Tanneguydv) + +* misc cleanup, typos, small fixes all over the code base + +Version 7.5.1 - March 2021 +========================== + +This release requires opencascade-7.5.1 + +* wrapper: Port to opencascade-7.5.1 + +* build: fix compilation for old versions of cmake + +* display: fix graduated trihedron rendering + +* display: disable default antialiasing in SimpleGui + +* webgl: upgrade to threejs r126 + Version 7.5.0rc1 - February 2021 ================================ @@ -261,7 +405,7 @@ Version 0.16.4 - April 2016 This release requires oce-0.16.0 or oce-0.16.1 -* New memeory management system: previous pythonocc released +* New memory management system: previous pythonocc released suffered from memory issues (leaks). The release introduces a much better way to deal with the OCE handles diff --git a/README.md b/README.md index a1ba91f58..f5e042987 100644 --- a/README.md +++ b/README.md @@ -1,83 +1,76 @@ +[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) [![Azure Build Status](https://dev.azure.com/tpaviot/pythonocc-core/_apis/build/status/tpaviot.pythonocc-core?branchName=master)](https://dev.azure.com/tpaviot/pythonocc-core/_build?definitionId=2) -[![Conda installer](https://anaconda.org/pythonocc/pythonocc-core/badges/installer/conda.svg)](https://anaconda.org/pythonocc/pythonocc-core) -[![Downloads Badge](https://anaconda.org/pythonocc/pythonocc-core/badges/downloads.svg)](https://anaconda.org/pythonocc/pythonocc-core) -[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/tpaviot/pythonocc-core.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/tpaviot/pythonocc-core/context:python) +[![Downloads Badge](https://anaconda.org/conda-forge/pythonocc-core/badges/downloads.svg)](https://anaconda.org/conda-forge/pythonocc-core) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/67c121324b8d4f37bc27029464c87020)](https://www.codacy.com/app/tpaviot/pythonocc-core?utm_source=github.com&utm_medium=referral&utm_content=tpaviot/pythonocc-core&utm_campaign=Badge_Grade) -[![Binder](http://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/tpaviot/pythonocc-binderhub/7.4.1) -[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.3686916.svg)](https://doi.org/10.5281/zenodo.3686916) +[![Binder](http://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/tpaviot/pythonocc-binderhub/7.9.0) +[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.3605364.svg)](https://doi.org/10.5281/zenodo.3605364) pythonocc-core -------------- About ----- +pythonocc provides 3D modeling and dataexchange features. It is intended for CAD/PDM/PLM/BIM development. It is based on the OpenCascade Technology modeling kernel. -pythonocc provides 3D modeling and dataexchange features. It is intended to CAD/PDM/PLM and BIM related development. - -Latest release : [pythonocc-core 7.4.1 (november 2020)](https://github.com/tpaviot/pythonocc-core/releases/tag/7.4.1) +Latest release: [pythonocc-core 7.9.0 (April 2025)](https://github.com/tpaviot/pythonocc-core/releases/tag/7.9.0) Features -------- pythonocc provides the following features: -* a full access from Python to almost all af the thousand OpenCascade C++ classes. Classes and methods/functions share the same names, and, as possible as it can be, the same signature -* 3D visualization from the most famous Python Gui (pyQt, PySide1 and 2, wxPython) -* 3D visualization in a web browser using WebGl and/or x3dom renderers -* 3D visualization and work within a jupyter notebook -* Various utility Python classes/methods for DataExchange, Topology operations, inertia computations etc. +* Full access from Python to almost all of the thousand OpenCascade C++ classes. Classes and methods/functions share the same names, and, as possible as it can be, the same signature +* 3D visualization from the most famous Python Gui (tkinter, pyQt5 and 6, PySide2 and 6, wxPython) +* 3D visualization in a web browser using threejs or x3dom frameworks +* 3D visualization and work within a jupyter notebook +* Data exchange using most famous formats IGES/STEP/STL/PLY/OBJ/GLTF +* Utility Python classes/methods for Topology operations, inertia computations, and more Try online at mybinder ---------------------- +Click [![Binder](http://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/tpaviot/pythonocc-binderhub/7.9.0) to open a jupyter notebook running the latest pythonocc-core 7.9.0. -Click [![Binder](http://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/tpaviot/pythonocc-binderhub/7.4.1) to open a jupyter notebook running latest pythonocc-core 7.4.1, gmesh 4.5.3 () and latest IfcOpenshell () dev branch. - -Download/install binaries for Linux/OSX/Windows ------------------------------------------------ - -pythonocc provides precompiled [conda packages](https://anaconda.org/pythonocc/pythonocc-core) (they depend on third part libraries made available from the dlr-sc and conda-forge conda channels) for python 3.6, 3.7 and 3.8. This will get you up and running in minutes whether you run win32/win64/linux64/osx64. Here is an example for python 3.7: +Install with conda +------------------ +pythonocc provides precompiled [conda packages](https://anaconda.org/pythonocc/pythonocc-core) (they depend on third part libraries made available from the conda-forge channel) for python 3.9, 3.10, 3.11 and 3.12. This will get you up and running in minutes whether you run win32/win64/linux64/osx64. Here is an example for python 3.10: ```bash # first create an environment -conda create --name=pyoccenv python=3.7 -source activate pyoccenv -conda install -c conda-forge pythonocc-core=7.4.1 +conda create --name=pyoccenv python=3.10 +conda activate pyoccenv +conda install -c conda-forge pythonocc-core=7.9.0 ``` -Other channels provide pythonocc-core packages, check https://anaconda.org/search?q=pythonocc-core. - -Build from source by yourself ------------------------------ +Other conda channels may provide pythonocc-core packages, check [search Anaconda](https://anaconda.org/search?q=pythonocc-core) +Build from source +----------------- Read the [INSTALL.md](https://github.com/tpaviot/pythonocc-core/blob/master/INSTALL.md) instructions where you find compilation instructions for all platforms. -Other pythonocc related resources ---------------------------------- - -* Demos: python examples, as well as jupyter notebooks -* Docker, binderhub: docker and online jupyter notebooks -* Documentation: +Use cases +--------- +pythonocc is widely used in industrial and academic communities, with over 400 scientific citations covering a broad range of domains [Google Scholar pythonocc page](https://scholar.google.com/scholar?as_vis=1&q=pythonocc&hl=fr&as_sdt=0,5) -Online resources for development --------------------------------- +Many pythonocc-related projects are available as [github repositories](https://github.com/search?q=pythonocc&type=repositories&p=3) -We use the following online resources: +Cite as +------- +pythonocc is registered as a [Zenodo open access software](https://zenodo.org/record/7471333) and should be cited as: -* Homepage: -* Mailing list: -* Twitter : -* LGTM code quality review: -* Codacy quality checker: +Paviot, T. (2022). "pythonocc". Zenodo. https://doi.org/10.5281/zenodo.3605364 -pythonocc, oce and opencascade dependencies -------------------------------------------- +Support +------- +pythonocc is backed by [meeDIA](https://meedia.ai/pythonocc-en), a french company co-founded by pythonocc's creator and lead maintainer. For professional support inquiries, please contact us at contact@meedia.ai -From release 7.4.1, pythonocc-core depends on the official OpenCascade-7.4.0 library () +meeDIA logo -Former releases rely on oce (OpenCascade Community Edition), available at -[oce C++ library / CAD kernel](https://github.com/tpaviot/oce). +Other pythonocc related resources +--------------------------------- +* Demos: python examples, as well as jupyter notebooks . A good place to start with pythonocc +* Docker, binderhub: docker and online jupyter notebooks +* Documentation: +* automates the production of SWIG interface files used for the OpenCascade python wrapper License ------- - -You can redistribute it and/or modify it under the terms of the GNU Lesser -General Public License version 3 as published by the Free Software Foundation. +pythonocc-core is licensed under the GNU Lesser General Public License version 3 as published by the Free Software Foundation. You can redistribute and/or modify it under the terms of this license. diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 7e0307598..12541dc0d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -15,70 +15,63 @@ schedules: jobs: - template: conda-build.yml parameters: - name: Ubuntu_20_04_python37 - vmImage: 'ubuntu-20.04' + name: Ubuntu_24_04_python310 + vmImage: 'ubuntu-24.04' py_maj: 3 - py_min: 7 + py_min: 10 - template: conda-build.yml parameters: - name: macOS_10_14_python37 - vmImage: 'macOS-10.14' + name: macOS_12_python310 + vmImage: 'macOS-latest' py_maj: 3 - py_min: 7 + py_min: 10 - template: conda-build.yml parameters: - name: Windows_VS2019_python37 - vmImage: 'windows-2019' + name: Windows_VS2022_python310 + vmImage: 'windows-2022' py_maj: 3 - py_min: 7 - conda_bld: 3.17 + py_min: 10 - template: conda-build.yml parameters: - name: Ubuntu_20_04_python38 - vmImage: 'ubuntu-20.04' + name: Ubuntu_24_04_python311 + vmImage: 'ubuntu-24.04' py_maj: 3 - py_min: 8 - conda_bld: 3.19.2 + py_min: 11 - template: conda-build.yml parameters: - name: macOS_10_14_python38 - vmImage: 'macOS-10.14' + name: macOS_12_python311 + vmImage: 'macOS-latest' py_maj: 3 - py_min: 8 - conda_bld: 3.19.2 + py_min: 11 - template: conda-build.yml parameters: - name: Windows_VS2019_python38 - vmImage: 'windows-2019' + name: Windows_VS2022_python311 + vmImage: 'windows-2022' py_maj: 3 - py_min: 8 - conda_bld: 3.19.2 + py_min: 11 - template: conda-build.yml parameters: - name: Ubuntu_20_04_python39 - vmImage: 'ubuntu-20.04' + name: Ubuntu_24_04_python312 + vmImage: 'ubuntu-24.04' py_maj: 3 - py_min: 9 - conda_bld: 3.21.4 + py_min: 12 - template: conda-build.yml parameters: - name: macOS_10_14_python39 - vmImage: 'macOS-10.14' + name: macOS_12_python312 + vmImage: 'macOS-latest' py_maj: 3 - py_min: 9 - conda_bld: 3.21.4 + py_min: 12 - template: conda-build.yml parameters: - name: Windows_VS2019_python39 - vmImage: 'windows-2019' + name: Windows_VS2022_python312 + vmImage: 'windows-2022' py_maj: 3 - py_min: 9 - conda_bld: 3.21.4 + py_min: 12 diff --git a/bandit.yml b/bandit.yml new file mode 100644 index 000000000..ec2e3a917 --- /dev/null +++ b/bandit.yml @@ -0,0 +1 @@ +skips: ['B101'] \ No newline at end of file diff --git a/ci/conda/bld.bat b/ci/conda/bld.bat index 9660e51c2..6091924b0 100644 --- a/ci/conda/bld.bat +++ b/ci/conda/bld.bat @@ -2,14 +2,17 @@ mkdir build cd build REM Configure step -cmake -G "Ninja" -DCMAKE_INSTALL_PREFIX="%LIBRARY_PREFIX%" ^ - -DPYTHONOCC_BUILD_TYPE=Release ^ +cmake -G "Ninja" ^ + -DCMAKE_BUILD_TYPE=Release ^ -DCMAKE_PREFIX_PATH="%LIBRARY_PREFIX%" ^ + -DCMAKE_LIBRARY_PATH="%LIBRARY_LIB%" ^ + -DCMAKE_INSTALL_PREFIX="%LIBRARY_PREFIX%" ^ -DCMAKE_SYSTEM_PREFIX_PATH="%LIBRARY_PREFIX%" ^ -DPython3_FIND_STRATEGY=LOCATION ^ -DPython3_FIND_REGISTRY=NEVER ^ -DSWIG_HIDE_WARNINGS=ON ^ - .. + -DPYTHONOCC_MESHDS_NUMPY=ON ^ + .. if errorlevel 1 exit 1 REM Build step @@ -19,8 +22,3 @@ if errorlevel 1 exit 1 REM Install step ninja install if errorlevel 1 exit 1 - -REM copy the source -REM cd .. -REM xcopy src "%LIBRARY_PREFIX%\src\pythonocc-core\src" /s /e /i -REM if errorlevel 1 exit 1 diff --git a/ci/conda/build.sh b/ci/conda/build.sh index e6a9bc639..5a9b913dd 100644 --- a/ci/conda/build.sh +++ b/ci/conda/build.sh @@ -1,21 +1,18 @@ #!/bin/bash # make an in source build do to some problems with install -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[@]} \ +cmake -G Ninja \ + -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_PREFIX_PATH=$PREFIX \ + -DCMAKE_LIBRARY_PATH:FILEPATH="$PREFIX/lib" \ + -DCMAKE_INSTALL_PREFIX:FILEPATH=$PREFIX \ -DCMAKE_SYSTEM_PREFIX_PATH=$PREFIX \ + ${CMAKE_PLATFORM_FLAGS[@]} \ -DPython3_FIND_STRATEGY=LOCATION \ -DPython3_FIND_FRAMEWORK=NEVER \ -DSWIG_HIDE_WARNINGS=ON \ - . + -DPYTHONOCC_MESHDS_NUMPY=ON # Build step ninja @@ -24,8 +21,8 @@ ninja ninja install # fix rpaths -if [ $(uname) == Darwin ]; then - for lib in $(ls $SP_DIR/OCC/_*.so); do - install_name_tool -rpath $PREFIX/lib @loader_path/../../../ $lib - done -fi +#if [ $(uname) == Darwin ]; then +# for lib in $(ls $SP_DIR/OCC/_*.so); do +# install_name_tool -rpath $PREFIX/lib @loader_path/../../../ $lib +# done +#fi diff --git a/ci/conda/conda_build_config.yaml b/ci/conda/conda_build_config.yaml deleted file mode 100644 index 74ce27c16..000000000 --- a/ci/conda/conda_build_config.yaml +++ /dev/null @@ -1,8 +0,0 @@ -CONDA_BUILD_SYSROOT: - - /Applications/Xcode_12.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk # [osx] - -c_compiler: - - vs2015 # [win] - -cxx_compiler: - - vs2015 # [win] \ No newline at end of file diff --git a/ci/conda/cross-linux.cmake b/ci/conda/cross-linux.cmake deleted file mode 100644 index 1693e0327..000000000 --- a/ci/conda/cross-linux.cmake +++ /dev/null @@ -1,16 +0,0 @@ -# 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 9301c94e1..cb272cf1b 100644 --- a/ci/conda/meta.yaml +++ b/ci/conda/meta.yaml @@ -1,4 +1,4 @@ -{% set version = "7.5.0rc1" %} +{% set version = "7.9.3" %} package: name: pythonocc-core @@ -14,6 +14,7 @@ build: requirements: build: + - {{ compiler('c') }} - {{ compiler('cxx') }} - {{ cdt('libx11-devel') }} # [linux] - {{ cdt('xorg-x11-proto-devel') }} # [linux] @@ -21,29 +22,31 @@ requirements: - {{ cdt('libxi-devel') }} # [linux] - ninja - cmake - - swig >=3.0.11 + - swig ==4.4.1 host: - python {{ python }} - - occt ==7.5.0 + - occt ==7.9.3 + - numpy >=1.17 run: - - occt ==7.5.0 - - python - - six + - occt ==7.9.3 + - numpy >=1.17 test: imports: - OCC - OCC.Core.BRepPrimAPI + - OCC.Core.Tesselator requires: - pyqt >=5 - mypy + - pytest - svgwrite - wxpython >=4 - - pyside2 >=5 + - pyside6 about: home: https://github.com/tpaviot/pythonocc-core license: LGPL - summary: An industrial strength 3D CAD python package + summary: Python package for 3D geometry CAD/BIM/CAM diff --git a/ci/conda/run_test.bat b/ci/conda/run_test.bat index 5939a0f4a..193e792dd 100644 --- a/ci/conda/run_test.bat +++ b/ci/conda/run_test.bat @@ -1,6 +1,7 @@ cd ..\work\test -python run_tests.py +pytest -sv mypy test_mypy_classic_occ_bottle.py +python core_display_tkinter_unittest.py python core_display_pyqt5_unittest.py -python core_display_pyside2_unittest.py +python core_display_pyside6_unittest.py python core_display_wx_unittest.py diff --git a/ci/conda/run_test.sh b/ci/conda/run_test.sh index 8d0acf0a3..40cc8dd72 100644 --- a/ci/conda/run_test.sh +++ b/ci/conda/run_test.sh @@ -1,11 +1,6 @@ #!/bin/bash -cd ../work/test -python run_tests.py -mypy test_mypy_classic_occ_bottle.py - -if [ $(uname) == Linux ]; then - # start xvfb - xvfb-run --auto-servernum --server-args='-screen 0, 1024x768x24' python core_display_pyqt5_unittest.py - xvfb-run --auto-servernum --server-args='-screen 0, 1024x768x24' python core_display_pyside2_unittest.py - xvfb-run --auto-servernum --server-args='-screen 0, 1024x768x24' python core_display_wx_unittest.py +if [ "$(uname)" == "Linux" ]; then + cd ../work/test + pytest -sv + mypy test_mypy_classic_occ_bottle.py fi diff --git a/cmake/OCE_Modules.cmake b/cmake/OCCT_Modules.cmake similarity index 92% rename from cmake/OCE_Modules.cmake rename to cmake/OCCT_Modules.cmake index 71dda4121..89e680e6b 100644 --- a/cmake/OCE_Modules.cmake +++ b/cmake/OCCT_Modules.cmake @@ -1,8 +1,7 @@ -LIST(APPEND OCE_TOOLKIT_MODEL +LIST(APPEND OCCT_TOOLKIT_MODEL # TKernel FSD - MMgt Message NCollection OSD @@ -17,6 +16,7 @@ LIST(APPEND OCE_TOOLKIT_MODEL TShort Units UnitsAPI + UnitsMethods # TKMath BSplCLib BSplSLib @@ -204,7 +204,7 @@ LIST(APPEND OCE_TOOLKIT_MODEL XBRepMesh ) -LIST(APPEND OCE_TOOLKIT_VISUALIZATION +LIST(APPEND OCCT_TOOLKIT_VISUALIZATION # TKService Aspect @@ -229,7 +229,7 @@ LIST(APPEND OCE_TOOLKIT_VISUALIZATION MeshVS ) -LIST(APPEND OCE_TOOLKIT_DATAEXCHANGE +LIST(APPEND OCCT_TOOLKIT_DATAEXCHANGE # TKBinXCAF BinXCAFDrivers @@ -241,6 +241,7 @@ LIST(APPEND OCE_TOOLKIT_DATAEXCHANGE # TKRWMesh RWGltf RWObj + RWPly RWMesh # TKSTEP StepAP214 @@ -265,8 +266,10 @@ LIST(APPEND OCE_TOOLKIT_DATAEXCHANGE StepFEA # TKSTEPAttr RWStepDimTol + RWStepKinematics RWStepVisual StepDimTol + StepKinematics StepVisual # TKSTEPBase StepBasic @@ -304,12 +307,20 @@ LIST(APPEND OCE_TOOLKIT_DATAEXCHANGE Transfer TransferBRep MoniTool + HeaderSection + RWHeaderSection + APIHeaderSection # TKXmlXCAF XmlXCAFDrivers XmlMXCAFDoc +# TKXDE + DE +# TKXDECascade + DEBRepCascade + DEXCAFCascade ) -LIST(APPEND OCE_TOOLKIT_OCAF +LIST(APPEND OCCT_TOOLKIT_OCAF # TKBin BinDrivers diff --git a/conda-build.yml b/conda-build.yml index 3b49f413c..309d09fd3 100644 --- a/conda-build.yml +++ b/conda-build.yml @@ -1,10 +1,8 @@ parameters: name: 'Conda build job' - vmImage: 'Ubuntu-18.04' + vmImage: 'ubuntu-22.04' py_maj: '3' - py_min: '6' - conda_bld: '3.16.3' - + py_min: '9' jobs: - job: ${{ parameters.name }} timeoutInMinutes: 360 @@ -13,57 +11,66 @@ jobs: vmImage: ${{ parameters.vmImage }} steps: - + # install conda on osx + - ${{ if contains(parameters.vmImage, 'macOS') }}: + - bash: | + curl -O https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh + bash Miniconda3-latest-MacOSX-x86_64.sh -b -p $HOME/miniconda + echo "##vso[task.prependpath]$HOME/miniconda/bin" + displayName: 'Install Miniconda on macOS' #activate conda - - ${{ if or(contains(parameters.vmImage, 'macOS'),contains(parameters.vmImage, 'Ubuntu')) }}: + - ${{ if contains(parameters.vmImage, 'macOS') }}: + - bash: | + source $HOME/miniconda/bin/activate + conda init bash + displayName: 'Add conda to PATH' + - ${{ if contains(parameters.vmImage, 'ubuntu') }}: - bash: echo "##vso[task.prependpath]$CONDA/bin" displayName: 'Add conda to PATH' - ${{ if contains(parameters.vmImage, 'win') }}: - powershell: Write-Host "##vso[task.prependpath]$env:CONDA\Scripts" displayName: 'Add conda to PATH' - - # Ubuntu install opengl items - - ${{ if contains(parameters.vmImage, 'Ubuntu') }}: + # Ubuntu install opengl items and remove swig packages that conflict with anaconda + - ${{ if contains(parameters.vmImage, 'ubuntu') }}: - bash: | sudo apt-get update && \ - sudo apt-get -q -y install libglu1-mesa-dev libgl1-mesa-dev libxmu-dev libxi-dev + sudo apt-get -q -y install libglu1-mesa-dev libgl1-mesa-dev libxmu-dev libxi-dev && \ + sudo apt list --installed && \ + sudo apt remove swig swig4.0 displayName: 'Install OpenGL headers' - - # macOS ownership workaround and fix osx sdk - - ${{ if contains(parameters.vmImage, 'macOS') }}: - - bash: | - sudo chown -R $USER $CONDA && \ - curl -o MacOSX10.9.sdk.tar.xz -L https://github.com/phracker/MacOSX-SDKs/releases/download/10.13/MacOSX10.9.sdk.tar.xz && \ - tar xf MacOSX10.9.sdk.tar.xz && \ - sudo mkdir -p /Applications/Xcode_12.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs && \ - sudo mv -v MacOSX10.9.sdk /Applications/Xcode_12.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ && \ - ls /Applications/Xcode_12.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ - displayName: 'MacOS ownership workaround and installation of MacOSX10.9 sdk' - - bash: | conda config --set always_yes yes --set changeps1 no && \ conda update -q conda && \ conda info -a && \ conda config --add channels https://conda.anaconda.org/conda-forge displayName: 'Conda config and info' - - # on windows, set arch if ever 32 is in the build name - - ${{ if contains(parameters.name, '32') }}: + - bash: conda create --yes --quiet --name build_env conda-build conda-verify libarchive python=${{ parameters.py_maj }}.${{ parameters.py_min }} anaconda-client + displayName: 'Create Anaconda environment' + - ${{ if eq(parameters.vmImage, 'windows-2022') }}: + - script: | + call "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Auxiliary\\Build\\vcvars64.bat" + echo "PATH=%PATH%" + where cl.exe + set CC=cl.exe + set CXX=cl.exe + call activate build_env + conda-build --no-remove-work-dir --dirty ci/conda + displayName: 'Set Windows environment and build' + env: + CXX: "cl.exe" + CC: "cl.exe" + PYTHONBUFFERED: 1 + PYTHON_VERSION: ${{ parameters.py_maj }}.${{ parameters.py_min }} + PACKAGE_VERSION: $(Build.SourceBranchName) + TOKEN: $(anaconda.TOKEN) + - ${{ if not(contains(parameters.vmImage, 'win')) }}: - bash: | - set CONDA_SUBDIR=win-32 && \ - conda config --env --set subdir win-32 - displayName: 'Windows force 32 bit build' - - - bash: conda create --yes --quiet --name build_env conda-build=${{ parameters.conda_bld }} conda-verify libarchive python=${{ parameters.py_maj }}.${{ parameters.py_min }} anaconda-client - displayName: Create Anaconda environment - - - bash: | - source activate build_env && \ - conda build --no-remove-work-dir --dirty ci/conda - displayName: 'Run conda build' - failOnStderr: false - env: - PYTHONBUFFERED: 1 - PYTHON_VERSION: ${{ parameters.py_maj }}.${{ parameters.py_min }} - PACKAGE_VERSION: $(Build.SourceBranchName) - TOKEN: $(anaconda.TOKEN) + source activate build_env && \ + conda-build --no-remove-work-dir --dirty ci/conda + displayName: 'Run conda build' + failOnStderr: false + env: + PYTHONBUFFERED: 1 + PYTHON_VERSION: ${{ parameters.py_maj }}.${{ parameters.py_min }} + PACKAGE_VERSION: $(Build.SourceBranchName) + TOKEN: $(anaconda.TOKEN) diff --git a/src/Display/OCCViewer.py b/src/Display/OCCViewer.py index ef1f18e85..674ec7cfd 100644 --- a/src/Display/OCCViewer.py +++ b/src/Display/OCCViewer.py @@ -22,101 +22,144 @@ import os import sys import time +from typing import Any, Callable, List, Optional, Tuple, Union import OCC from OCC.Core.Aspect import Aspect_GFM_VER -from OCC.Core.AIS import AIS_Shape, AIS_Shaded, AIS_TexturedShape, AIS_WireFrame, AIS_Shape_SelectionMode +from OCC.Core.AIS import ( + AIS_Shape, + AIS_Shaded, + AIS_TexturedShape, + AIS_WireFrame, +) from OCC.Core.gp import gp_Dir, gp_Pnt, gp_Pnt2d, gp_Vec -from OCC.Core.BRepBuilderAPI import (BRepBuilderAPI_MakeVertex, - BRepBuilderAPI_MakeEdge, - BRepBuilderAPI_MakeEdge2d, - BRepBuilderAPI_MakeFace) -from OCC.Core.TopAbs import (TopAbs_FACE, TopAbs_EDGE, TopAbs_VERTEX, - TopAbs_SHELL, TopAbs_SOLID) +from OCC.Core.BRepBuilderAPI import ( + BRepBuilderAPI_MakeVertex, + BRepBuilderAPI_MakeEdge, + BRepBuilderAPI_MakeEdge2d, + BRepBuilderAPI_MakeFace, +) +from OCC.Core.TopAbs import ( + TopAbs_VERTEX, + TopAbs_EDGE, + TopAbs_WIRE, + TopAbs_FACE, + TopAbs_SHELL, + TopAbs_SOLID, +) +from OCC.Core.GeomAbs import GeomAbs_G2 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_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.V3d import ( + V3d_ZBUFFER, + V3d_Zpos, + V3d_Zneg, + V3d_Xpos, + V3d_Xneg, + V3d_Ypos, + V3d_Yneg, + V3d_XposYnegZpos, +) +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_Text, Prs3d_TextAspect -from OCC.Core.Graphic3d import (Graphic3d_NOM_NEON_GNC, Graphic3d_NOT_ENV_CLOUDS, - Handle_Graphic3d_TextureEnv_Create, Graphic3d_TextureEnv, - Graphic3d_Camera, Graphic3d_RM_RAYTRACING, - Graphic3d_RM_RASTERIZATION, - Graphic3d_StereoMode_QuadBuffer, - 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 -# the fastest way to get done is to set the CASROOT env variable -# it must point to the /share folder. +from OCC.Core.Graphic3d import ( + Graphic3d_NOM_NEON_GNC, + Graphic3d_NOT_ENV_CLOUDS, + Handle_Graphic3d_TextureEnv_Create, + Graphic3d_TextureEnv, + Graphic3d_Camera, + Graphic3d_RM_RAYTRACING, + Graphic3d_RM_RASTERIZATION, + Graphic3d_StereoMode_QuadBuffer, + Graphic3d_RenderingParams, + Graphic3d_MaterialAspect, + Graphic3d_TOSM_FRAGMENT, + Graphic3d_Structure, + Graphic3d_GraduatedTrihedron, + Graphic3d_NameOfMaterial, +) +from OCC.Core.Aspect import ( + Aspect_TOTP_RIGHT_LOWER, + Aspect_FM_STRETCH, + Aspect_FM_NONE, + Aspect_FillMethod, +) + if sys.platform == "win32": - # do the same for Units if "CASROOT" in os.environ: casroot_path = os.environ["CASROOT"] # raise an error, force the user to correctly set the variable - err_msg = "Please set the CASROOT env variable (%s is not ok)" % casroot_path + err_msg = f"Please set the CASROOT env variable ({casroot_path} is not ok)" if not os.path.isdir(casroot_path): raise AssertionError(err_msg) - else: # on miniconda or anaconda or whatever conda + else: occ_package_path = os.path.dirname(OCC.__file__) - casroot_path = os.path.join(occ_package_path, '..', '..', '..', - 'Library', 'share', 'oce') + casroot_path = os.path.join( + occ_package_path, "..", "..", "..", "Library", "share", "oce" + ) # we check that all required files are at the right place - shaders_dict_found = os.path.isdir(os.path.join(casroot_path, - 'src', 'Shaders')) - unitlexicon_found = os.path.isfile(os.path.join(casroot_path, - 'src', 'UnitsAPI', - 'Lexi_Expr.dat')) - unitsdefinition_found = os.path.isfile(os.path.join(casroot_path, - 'src', 'UnitsAPI', - 'Units.dat')) + shaders_dict_found = os.path.isdir(os.path.join(casroot_path, "src", "Shaders")) + unitlexicon_found = os.path.isfile( + os.path.join(casroot_path, "src", "UnitsAPI", "Lexi_Expr.dat") + ) + unitsdefinition_found = os.path.isfile( + os.path.join(casroot_path, "src", "UnitsAPI", "Units.dat") + ) if shaders_dict_found and unitlexicon_found and unitsdefinition_found: os.environ["CASROOT"] = casroot_path -def rgb_color(r, g, b): +def rgb_color(r: float, g: float, b: float) -> Quantity_Color: return Quantity_Color(r, g, b, Quantity_TOC_RGB) -def get_color_from_name(color_name): - ''' from the string 'WHITE', returns Quantity_Color +def get_color_from_name(color_name: str) -> Quantity_Color: + """from the string 'WHITE', returns Quantity_Color WHITE. color_name is the color name, case insensitive. - ''' - enum_name = 'Quantity_NOC_%s' % color_name.upper() + """ + enum_name = f"Quantity_NOC_{color_name.upper()}" if enum_name in globals(): color_num = globals()[enum_name] - elif enum_name+'1' in globals(): - color_num = globals()[enum_name+'1'] - print('Many colors for color name %s, using first.' % color_name) + elif f"{enum_name}1" in globals(): + color_num = globals()[f"{enum_name}1"] + print(f"Many colors for color name {color_name}, using first.") else: color_num = Quantity_NOC_WHITE - print('Color name not defined. Use White by default') + print("Color name not defined. Use White by default") return Quantity_Color(color_num) -def to_string(_string): - return TCollection_ExtendedString(_string) - -# some thing we'll need later -modes = itertools.cycle([TopAbs_FACE, TopAbs_EDGE, - TopAbs_VERTEX, - TopAbs_SHELL, TopAbs_SOLID]) +TOPOLOGY_MODES = itertools.cycle( + [TopAbs_SOLID, TopAbs_SHELL, TopAbs_FACE, TopAbs_WIRE, TopAbs_EDGE, TopAbs_VERTEX] +) class Viewer3d(Display3d): - def __init__(self): + """ + A 3D viewer for pythonOCC. + + This class provides a 3D viewer for displaying OpenCASCADE shapes. + It is based on the `OCC.Core.Visualization.Display3d` class and provides + a higher-level API for interacting with the viewer. + """ + + def __init__(self) -> None: + """ + Initializes the Viewer3d. + """ Display3d.__init__(self) self._parent = None # the parent opengl GUI container @@ -126,46 +169,99 @@ def __init__(self): self.Context = self.GetContext() self.Viewer = self.GetViewer() self.View = self.GetView() + self.camera = self.GetCamera() + self.struc_mgr = self.GetStructureManager() self.default_drawer = None - self._struc_mgr = None self._is_offscreen = None - self.selected_shapes = [] - self._select_callbacks = [] - self._overlay_items = [] + self.selected_shapes: List[AIS_Shape] = [] + self._select_callbacks: List[Callable] = [] + self._overlay_items: List[Any] = [] - def get_parent(self): + self._window_handle: Optional[Any] = None + + def get_parent(self) -> Any: + """ + Returns the parent of the viewer. + + Returns: + The parent of the viewer. + """ return self._parent - def register_overlay_item(self, overlay_item): + def register_overlay_item(self, overlay_item: Any) -> None: + """ + Registers an overlay item to be drawn on top of the 3D view. + + Args: + overlay_item: The overlay item to register. + """ self._overlay_items.append(overlay_item) self.View.MustBeResized() self.View.Redraw() - def register_select_callback(self, callback): - """ Adds a callback that will be called each time a shape s selected + def register_select_callback(self, callback: Callable) -> None: + """ + Adds a callback that will be called each time a shape is selected. + + Args: + callback: The callback function to register. The callback will be + called with the selected shapes as argument. """ if not callable(callback): raise AssertionError("You must provide a callable to register the callback") self._select_callbacks.append(callback) - def unregister_callback(self, callback): - """ Remove a callback from the callback list + def unregister_callback(self, callback: Callable) -> None: + """ + Remove a callback from the callback list. + + Args: + callback: The callback function to unregister. """ - if not callback in self._select_callbacks: + if callback not in self._select_callbacks: raise AssertionError("This callback is not registered") self._select_callbacks.remove(callback) - def MoveTo(self, X, Y): + def MoveTo(self, X: int, Y: int) -> None: + """ + Moves the mouse to the given coordinates. + + Args: + X (int): The x-coordinate. + Y (int): The y-coordinate. + """ self.Context.MoveTo(X, Y, self.View, True) - def FitAll(self): + def FitAll(self) -> None: + """ + Fits all objects in the view. + """ self.View.ZFitAll() self.View.FitAll() - def Create(self, window_handle=None, parent=None, create_default_lights=True, - draw_face_boundaries=True, phong_shading=True, display_glinfo=True): + def Create( + self, + window_handle: Optional[Any] = None, + parent: Optional[Any] = None, + create_default_lights: bool = True, + draw_face_boundaries: bool = True, + phong_shading: bool = True, + display_glinfo: bool = True, + ) -> None: + """ + Creates the viewer. + + Args: + window_handle: The handle of the window to create the viewer in. + If None, an offscreen renderer will be created. + parent: The parent of the viewer. + create_default_lights (bool): Whether to create default lights. + draw_face_boundaries (bool): Whether to draw face boundaries. + phong_shading (bool): Whether to use Phong shading. + display_glinfo (bool): Whether to display OpenGL information. + """ self._window_handle = window_handle self._parent = parent @@ -184,204 +280,321 @@ def Create(self, window_handle=None, parent=None, create_default_lights=True, self.Viewer.SetDefaultLights() self.Viewer.SetLightOn() - self.camera = self.View.Camera() self.default_drawer = self.Context.DefaultDrawer() # draw black contour edges, like other famous CAD packages if draw_face_boundaries: self.default_drawer.SetFaceBoundaryDraw(True) + # Don't draw seam edges + self.default_drawer.SetFaceBoundaryUpperContinuity(GeomAbs_G2) - # turn up tesselation defaults, which are too conversative... - chord_dev = self.default_drawer.MaximalChordialDeviation() / 10. + # turn up tessellation defaults, which are too conversative... + chord_dev = self.default_drawer.MaximalChordialDeviation() / 10.0 self.default_drawer.SetMaximalChordialDeviation(chord_dev) if phong_shading: # gouraud shading by default, prefer phong instead self.View.SetShadingModel(Graphic3d_TOSM_FRAGMENT) - # necessary for text rendering - self._struc_mgr = self.Context.MainPrsMgr().StructureManager() - - # by default, enable antialisaing - self.EnableAntiAliasing() - # turn self._inited flag to True self._inited = True - def OnResize(self): + def OnResize(self) -> None: + """ + Called when the view is resized. + """ self.View.MustBeResized() - def ResetView(self): + def ResetView(self) -> None: + """ + Resets the view. + """ self.View.Reset() - def Repaint(self): + def Repaint(self) -> None: + """ + Repaints the view. + """ self.Viewer.Redraw() - def SetModeWireFrame(self): + def SetModeWireFrame(self) -> None: + """ + Sets the display mode to wireframe. + """ self.View.SetComputedMode(False) self.Context.SetDisplayMode(AIS_WireFrame, True) - def SetModeShaded(self): + def SetModeShaded(self) -> None: + """ + Sets the display mode to shaded. + """ self.View.SetComputedMode(False) self.Context.SetDisplayMode(AIS_Shaded, True) - def SetModeHLR(self): + def SetModeHLR(self) -> None: + """ + Sets the display mode to hidden line removal. + """ self.View.SetComputedMode(True) - def SetOrthographicProjection(self): + def SetOrthographicProjection(self) -> None: + """ + Sets the projection to orthographic. + """ self.camera.SetProjectionType(Graphic3d_Camera.Projection_Orthographic) - def SetPerspectiveProjection(self): + def SetPerspectiveProjection(self) -> None: + """ + Sets the projection to perspective. + """ self.camera.SetProjectionType(Graphic3d_Camera.Projection_Perspective) - def View_Top(self): + def View_Top(self) -> None: + """ + Sets the view to top. + """ self.View.SetProj(V3d_Zpos) - def View_Bottom(self): + def View_Bottom(self) -> None: + """ + Sets the view to bottom. + """ self.View.SetProj(V3d_Zneg) - def View_Left(self): + def View_Left(self) -> None: + """ + Sets the view to left. + """ self.View.SetProj(V3d_Xneg) - def View_Right(self): + def View_Right(self) -> None: + """ + Sets the view to right. + """ self.View.SetProj(V3d_Xpos) - def View_Front(self): + def View_Front(self) -> None: + """ + Sets the view to front. + """ self.View.SetProj(V3d_Yneg) - def View_Rear(self): + def View_Rear(self) -> None: + """ + Sets the view to rear. + """ self.View.SetProj(V3d_Ypos) - def View_Iso(self): + def View_Iso(self) -> None: + """ + Sets the view to isometric. + """ self.View.SetProj(V3d_XposYnegZpos) - def EnableTextureEnv(self, name_of_texture=Graphic3d_NOT_ENV_CLOUDS): - """ enable environment mapping. Possible modes are - Graphic3d_NOT_ENV_CLOUDS - Graphic3d_NOT_ENV_CV - Graphic3d_NOT_ENV_MEDIT - Graphic3d_NOT_ENV_PEARL - Graphic3d_NOT_ENV_SKY1 - Graphic3d_NOT_ENV_SKY2 - Graphic3d_NOT_ENV_LINES - Graphic3d_NOT_ENV_ROAD - Graphic3d_NOT_ENV_UNKNOWN + def EnableTextureEnv(self, name_of_texture: int = Graphic3d_NOT_ENV_CLOUDS) -> None: + """ + Enables environment mapping. + + Args: + name_of_texture: The name of the texture to use. Possible values + are: + - Graphic3d_NOT_ENV_CLOUDS + - Graphic3d_NOT_ENV_CV + - Graphic3d_NOT_ENV_MEDIT + - Graphic3d_NOT_ENV_PEARL + - Graphic3d_NOT_ENV_SKY1 + - Graphic3d_NOT_ENV_SKY2 + - Graphic3d_NOT_ENV_LINES + - Graphic3d_NOT_ENV_ROAD + - Graphic3d_NOT_ENV_UNKNOWN """ texture_env = Graphic3d_TextureEnv(name_of_texture) self.View.SetTextureEnv(texture_env) self.View.Redraw() - def DisableTextureEnv(self): + def DisableTextureEnv(self) -> None: + """ + Disables environment mapping. + """ a_null_texture = Handle_Graphic3d_TextureEnv_Create() - self.View.SetTextureEnv(a_null_texture) # Passing null handle to clear the texture data + self.View.SetTextureEnv( + a_null_texture + ) # Passing null handle to clear the texture data self.View.Redraw() - def SetRenderingParams(self, - Method=Graphic3d_RM_RASTERIZATION, - RaytracingDepth=3, - IsShadowEnabled=True, - IsReflectionEnabled=False, - IsAntialiasingEnabled=False, - IsTransparentShadowEnabled=False, - StereoMode=Graphic3d_StereoMode_QuadBuffer, - AnaglyphFilter=Graphic3d_RenderingParams.Anaglyph_RedCyan_Optimized, - ToReverseStereo=False): - """ Default values are : - Method=Graphic3d_RM_RASTERIZATION, - RaytracingDepth=3, - IsShadowEnabled=True, - IsReflectionEnabled=False, - IsAntialiasingEnabled=False, - IsTransparentShadowEnabled=False, - StereoMode=Graphic3d_StereoMode_QuadBuffer, - AnaglyphFilter=Graphic3d_RenderingParams.Anaglyph_RedCyan_Optimized, - ToReverseStereo=False) - """ - self.ChangeRenderingParams(Method, - RaytracingDepth, - IsShadowEnabled, - IsReflectionEnabled, - IsAntialiasingEnabled, - IsTransparentShadowEnabled, - StereoMode, - AnaglyphFilter, - ToReverseStereo) - - def SetRasterizationMode(self): - """ to enable rasterization mode, just call the SetRenderingParams - with default values + def SetRenderingParams( + self, + Method: int = Graphic3d_RM_RASTERIZATION, + RaytracingDepth: int = 3, + IsShadowEnabled: bool = True, + IsReflectionEnabled: bool = False, + IsAntialiasingEnabled: bool = False, + IsTransparentShadowEnabled: bool = False, + StereoMode: int = Graphic3d_StereoMode_QuadBuffer, + AnaglyphFilter: "Graphic3d_RenderingParams.Anaglyph" = Graphic3d_RenderingParams.Anaglyph_RedCyan_Optimized, + ToReverseStereo: bool = False, + ) -> None: + """ + Sets the rendering parameters. + + Args: + Method: The rendering method to use. + RaytracingDepth (int): The ray tracing depth. + IsShadowEnabled (bool): Whether to enable shadows. + IsReflectionEnabled (bool): Whether to enable reflections. + IsAntialiasingEnabled (bool): Whether to enable anti-aliasing. + IsTransparentShadowEnabled (bool): Whether to enable transparent shadows. + StereoMode: The stereo mode to use. + AnaglyphFilter: The anaglyph filter to use. + ToReverseStereo (bool): Whether to reverse stereo. + """ + self.ChangeRenderingParams( + Method, + RaytracingDepth, + IsShadowEnabled, + IsReflectionEnabled, + IsAntialiasingEnabled, + IsTransparentShadowEnabled, + StereoMode, + AnaglyphFilter, + ToReverseStereo, + ) + + def SetRasterizationMode(self) -> None: + """ + Sets the rendering mode to rasterization. """ self.SetRenderingParams() - def SetRaytracingMode(self, depth=3): - """ enables the raytracing mode + def SetRaytracingMode(self, depth: int = 3) -> None: """ - self.SetRenderingParams(Method=Graphic3d_RM_RAYTRACING, - RaytracingDepth=depth, - IsAntialiasingEnabled=True, - IsShadowEnabled=True, - IsReflectionEnabled=True, - IsTransparentShadowEnabled=True) + Enables the raytracing mode. - def ExportToImage(self, image_filename): - self.View.Dump(image_filename) + Args: + depth (int): The ray tracing depth. + """ + self.SetRenderingParams( + Method=Graphic3d_RM_RAYTRACING, + RaytracingDepth=depth, + IsAntialiasingEnabled=True, + IsShadowEnabled=True, + IsReflectionEnabled=True, + IsTransparentShadowEnabled=True, + ) - def display_graduated_trihedron(self): - self.View.GraduatedTrihedronDisplay() + def ExportToImage(self, image_filename: str) -> None: + """ + Exports the view to an image file. - def display_triedron(self): - """ Show a black triedron in lower right corner + Args: + image_filename (str): The name of the image file. """ - self.View.TriedronDisplay(Aspect_TOTP_RIGHT_LOWER, Quantity_Color(Quantity_NOC_BLACK), 0.1, V3d_ZBUFFER) + self.View.Dump(image_filename) - def hide_triedron(self): - """ Show a black triedron in lower right corner + def display_graduated_trihedron(self) -> None: + """ + Displays a graduated trihedron. + """ + a_trihedron_data = Graphic3d_GraduatedTrihedron() + self.View.GraduatedTrihedronDisplay(a_trihedron_data) + + def display_triedron(self) -> None: + """ + Shows a black triedron in lower right corner. + """ + self.View.TriedronDisplay( + Aspect_TOTP_RIGHT_LOWER, + Quantity_Color(Quantity_NOC_BLACK), + 0.1, + V3d_ZBUFFER, + ) + + def hide_triedron(self) -> None: + """ + Hides the triedron. """ self.View.TriedronErase() - def set_bg_gradient_color(self, color1, color2, fill_method=Aspect_GFM_VER): - """ set a bg vertical gradient color. - color1 is [R1, G1, B1], each being bytes or an instance of Quantity_Color - color2 is [R2, G2, B2], each being bytes or an instance of Quantity_Color - fill_method is one of Aspect_GFM_VER value Aspect_GFM_NONE, Aspect_GFM_HOR, - Aspect_GFM_VER, Aspect_GFM_DIAG1, Aspect_GFM_DIAG2, Aspect_GFM_CORNER1, Aspect_GFM_CORNER2, - Aspect_GFM_CORNER3, Aspect_GFM_CORNER4 + def set_bg_gradient_color( + self, + color1: Union[List[float], Quantity_Color], + color2: Union[List[float], Quantity_Color], + fill_method: Aspect_FillMethod = Aspect_GFM_VER, + ) -> None: + """ + Sets a background vertical gradient color. + + Args: + color1: The first color. Can be a list of 3 floats (R, G, B) or a + Quantity_Color. + color2: The second color. Can be a list of 3 floats (R, G, B) or a + Quantity_Color. + fill_method: The fill method to use. Can be one of: + - Aspect_GFM_NONE + - Aspect_GFM_HOR + - Aspect_GFM_VER + - Aspect_GFM_DIAG1 + - Aspect_GFM_DIAG2 + - Aspect_GFM_CORNER1 + - Aspect_GFM_CORNER2 + - Aspect_GFM_CORNER3 + - Aspect_GFM_CORNER4 """ if isinstance(color1, list) and isinstance(color2, list): R1, G1, B1 = color1 R2, G2, B2 = color2 - color1 = rgb_color(float(R1)/255., float(G1)/255., float(B1)/255.) - color2 = rgb_color(float(R2)/255., float(G2)/255., float(B2)/255.) - elif not isinstance(color1, Quantity_Color) and isinstance(color2, Quantity_Color): - raise AssertionError("color1 and color2 mmust be either [R, G, B] lists or a Quantity_Color") + color1 = rgb_color(float(R1) / 255.0, float(G1) / 255.0, float(B1) / 255.0) + color2 = rgb_color(float(R2) / 255.0, float(G2) / 255.0, float(B2) / 255.0) + elif not isinstance(color1, Quantity_Color) and isinstance( + color2, Quantity_Color + ): + raise AssertionError( + "color1 and color2 mmust be either [R, G, B] lists or a Quantity_Color" + ) self.View.SetBgGradientColors(color1, color2, fill_method, True) - def SetBackgroundImage(self, image_filename, stretch=True): - """ displays a background image (jpg, png etc.) + def SetBackgroundImage(self, image_filename: str, stretch: bool = True) -> None: + """ + Displays a background image (jpg, png etc.). + + Args: + image_filename (str): The name of the image file. + stretch (bool): Whether to stretch the image to fit the view. """ if not os.path.isfile(image_filename): - raise IOError("image file %s not found." % image_filename) + raise IOError(f"image file {image_filename} not found.") if stretch: self.View.SetBackgroundImage(image_filename, Aspect_FM_STRETCH, True) else: self.View.SetBackgroundImage(image_filename, Aspect_FM_NONE, True) - def DisplayVector(self, vec, pnt, update=False): - """ displays a vector as an arrow + def DisplayVector( + self, vec: gp_Vec, pnt: gp_Pnt, update: bool = False + ) -> Optional[Graphic3d_Structure]: + """ + Displays a vector as an arrow. + + Args: + vec (gp_Vec): The vector to display. + pnt (gp_Pnt): The starting point of the vector. + update (bool): Whether to update the view. + + Returns: + The created structure. """ if self._inited: - aStructure = Graphic3d_Structure(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( - aStructure, + aStructure.CurrentGroup(), pnt_start, gp_Dir(vec), math.radians(20), - vec.Magnitude() + vec.Magnitude(), ) aStructure.Display() # it would be more coherent if a AIS_InteractiveObject @@ -389,26 +602,40 @@ def DisplayVector(self, vec, pnt, update=False): if update: self.Repaint() return aStructure - - def DisplayMessage(self, point, text_to_write, height=None, message_color=None, update=False): + return None + + def DisplayMessage( + self, + point: Union[gp_Pnt, gp_Pnt2d], + text_to_write: str, + height: float = 14.0, + message_color: Tuple[float, float, float] = (0.0, 0.0, 0.0), + update: bool = False, + ) -> Graphic3d_Structure: """ - :point: a gp_Pnt or gp_Pnt2d instance - :text_to_write: a string - :message_color: triple with the range 0-1 + Displays a message at the given point. + + Args: + point: The point where to display the message. Can be a gp_Pnt or + a gp_Pnt2d. + text_to_write (str): The text to display. + height (float): The font height. + message_color (tuple): The color of the message, as a tuple of 3 + floats (R, G, B). + update (bool): Whether to update the view. + + Returns: + The created structure. """ - aStructure = Graphic3d_Structure(self._struc_mgr) - text_aspect = Prs3d_TextAspect() + aStructure = Graphic3d_Structure(self.struc_mgr) - if message_color is not None: - text_aspect.SetColor(rgb_color(*message_color)) - if height is not None: - text_aspect.SetHeight(height) + text_aspect = Prs3d_TextAspect() + text_aspect.SetColor(rgb_color(*message_color)) + text_aspect.SetHeight(height) if isinstance(point, gp_Pnt2d): point = gp_Pnt(point.X(), point.Y(), 0) - Prs3d_Text.Draw(aStructure, - text_aspect, - to_string(text_to_write), - point) + + Prs3d_Text.Draw(aStructure.CurrentGroup(), text_aspect, text_to_write, point) aStructure.Display() # @TODO: it would be more coherent if a AIS_InteractiveObject # is be returned @@ -416,10 +643,31 @@ def DisplayMessage(self, point, text_to_write, height=None, message_color=None, self.Repaint() return aStructure - def DisplayShape(self, shapes, material=None, texture=None, color=None, transparency=None, update=False): - """ display one or a set of displayable objects + def DisplayShape( + self, + shapes: Any, + material: Optional[Any] = None, + texture: Optional[Any] = None, + color: Optional[Union[str, int, Quantity_Color]] = None, + transparency: Optional[float] = None, + update: bool = False, + ) -> List[AIS_Shape]: """ - ais_shapes = [] # the list of all displayed shapes + Displays one or a set of displayable objects. + + Args: + shapes: The shape(s) to display. Can be a single shape or a list of + shapes. + material: The material to use for the shape. + texture: The texture to use for the shape. + color: The color to use for the shape. + transparency (float): The transparency to use for the shape (0.0 to 1.0). + update (bool): Whether to update the view. + + Returns: + A list of the displayed AIS_Shape objects. + """ + ais_shapes: List[AIS_Shape] = [] # the list of all displayed shapes if issubclass(shapes.__class__, gp_Pnt): # if a gp_Pnt is passed, first convert to vertex @@ -446,19 +694,29 @@ def DisplayShape(self, shapes, material=None, texture=None, color=None, transpar shapes = [shapes] # build AIS_Shapes list for shape in shapes: - if material or texture: - if texture: - shape_to_display = AIS_TexturedShape(shape) - filename, toScaleU, toScaleV, toRepeatU, toRepeatV, originU, originV = texture.GetProperties() - shape_to_display.SetTextureFileName(TCollection_AsciiString(filename)) - shape_to_display.SetTextureMapOn() - shape_to_display.SetTextureScale(True, toScaleU, toScaleV) - shape_to_display.SetTextureRepeat(True, toRepeatU, toRepeatV) - shape_to_display.SetTextureOrigin(True, originU, originV) - shape_to_display.SetDisplayMode(3) - elif material: - shape_to_display = AIS_Shape(shape) + if material and texture or not material and texture: + shape_to_display = AIS_TexturedShape(shape) + ( + filename, + toScaleU, + toScaleV, + toRepeatU, + toRepeatV, + originU, + originV, + ) = texture.GetProperties() + shape_to_display.SetTextureFileName(filename) + shape_to_display.SetTextureMapOn() + shape_to_display.SetTextureScale(True, toScaleU, toScaleV) + shape_to_display.SetTextureRepeat(True, toRepeatU, toRepeatV) + shape_to_display.SetTextureOrigin(True, originU, originV) + shape_to_display.SetDisplayMode(3) + elif material: + shape_to_display = AIS_Shape(shape) + if isinstance(material, Graphic3d_NameOfMaterial): shape_to_display.SetMaterial(Graphic3d_MaterialAspect(material)) + else: + shape_to_display.SetMaterial(material) else: # TODO: can we use .Set to attach all TopoDS_Shapes # to this AIS_Shape instance? @@ -478,10 +736,12 @@ def DisplayShape(self, shapes, material=None, texture=None, color=None, transpar # self.Context.Display(ais_shp, False) # set the graphic properties if material is None: - #The default material is too shiny to show the object - #color well, so I set it to something less reflective + # The default material is too shiny to show the object + # color well, so I set it to something less reflective for shape_to_display in ais_shapes: - shape_to_display.SetMaterial(Graphic3d_MaterialAspect(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) @@ -502,72 +762,174 @@ def DisplayShape(self, shapes, material=None, texture=None, color=None, transpar return ais_shapes - def DisplayColoredShape(self, shapes, color='YELLOW', update=False, ): + def DisplayColoredShape( + self, + shapes: Any, + color: Union[str, Quantity_Color] = "YELLOW", + update: bool = False, + ) -> List[AIS_Shape]: + """ + Displays a shape with the given color. + + Args: + shapes: The shape(s) to display. + color (str or Quantity_Color): The color to use. + update (bool): Whether to update the view. + + Returns: + A list of the displayed AIS_Shape objects. + """ if isinstance(color, str): - dict_color = {'WHITE': Quantity_NOC_WHITE, - 'BLUE': Quantity_NOC_BLUE1, - 'RED': Quantity_NOC_RED, - 'GREEN': Quantity_NOC_GREEN, - 'YELLOW': Quantity_NOC_YELLOW, - 'CYAN': Quantity_NOC_CYAN1, - 'BLACK': Quantity_NOC_BLACK, - 'ORANGE': Quantity_NOC_ORANGE} + dict_color = { + "WHITE": Quantity_NOC_WHITE, + "BLUE": Quantity_NOC_BLUE1, + "RED": Quantity_NOC_RED, + "GREEN": Quantity_NOC_GREEN, + "YELLOW": Quantity_NOC_YELLOW, + "CYAN": Quantity_NOC_CYAN1, + "BLACK": Quantity_NOC_BLACK, + "ORANGE": Quantity_NOC_ORANGE, + } clr = dict_color[color] elif isinstance(color, Quantity_Color): clr = color else: - raise ValueError('color should either be a string ( "BLUE" ) or a Quantity_Color(0.1, 0.8, 0.1) got %s' % color) + raise ValueError( + f'color should either be a string ( "BLUE" ) or a Quantity_Color(0.1, 0.8, 0.1) got {color}' + ) return self.DisplayShape(shapes, color=clr, update=update) - def EnableAntiAliasing(self): + def EnableAntiAliasing(self) -> None: + """ + Enables anti-aliasing. + """ self.SetNbMsaaSample(4) - def DisableAntiAliasing(self): + def DisableAntiAliasing(self) -> None: + """ + Disables anti-aliasing. + """ self.SetNbMsaaSample(0) - def EraseAll(self): + def EraseAll(self) -> None: + """ + Erases all objects from the view. + """ self.Context.EraseAll(True) - def Tumble(self, num_images, animation=True): + def Tumble(self, num_images: int, animation: bool = True) -> None: + """ + Tumbles the view. + + Args: + num_images (int): The number of images to generate. + animation (bool): Whether to animate the tumble. + """ self.View.Tumble(num_images, animation) - def Pan(self, dx, dy): + def Pan(self, dx: int, dy: int) -> None: + """ + Pans the view. + + Args: + dx (int): The horizontal panning distance. + dy (int): The vertical panning distance. + """ self.View.Pan(dx, dy) - def SetSelectionMode(self, mode=None): - topo_level = next(modes) + def SetSelectionMode(self, mode: Optional[int] = None) -> None: + """ + Sets the selection mode. + + Args: + mode: The selection mode to use. If None, cycles through the + available modes. + """ + self.Context.Deactivate() if mode is None: - self.Context.Activate(AIS_Shape_SelectionMode(topo_level), True) + topo_level = next(TOPOLOGY_MODES) + self.Context.Activate(AIS_Shape.SelectionMode(topo_level), True) else: - self.Context.Activate(AIS_Shape_SelectionMode(mode), True) + self.Context.Activate(AIS_Shape.SelectionMode(mode), True) self.Context.UpdateSelected(True) - def SetSelectionModeVertex(self): + def SetSelectionModeVertex(self) -> None: + """ + Sets the selection mode to vertex. + """ self.SetSelectionMode(TopAbs_VERTEX) - def SetSelectionModeEdge(self): + def SetSelectionModeEdge(self) -> None: + """ + Sets the selection mode to edge. + """ self.SetSelectionMode(TopAbs_EDGE) - def SetSelectionModeFace(self): + def SetSelectionModeWire(self) -> None: + """ + Sets the selection mode to wire. + """ + self.SetSelectionMode(TopAbs_WIRE) + + def SetSelectionModeFace(self) -> None: + """ + Sets the selection mode to face. + """ self.SetSelectionMode(TopAbs_FACE) - def SetSelectionModeShape(self): + def SetSelectionModeShell(self) -> None: + """ + Sets the selection mode to shell. + """ + self.SetSelectionMode(TopAbs_SHELL) + + def SetSelectionModeSolid(self) -> None: + """ + Sets the selection mode to solid. + """ + self.SetSelectionMode(TopAbs_SOLID) + + def SetSelectionModeShape(self) -> None: + """ + Sets the selection mode to shape. + """ self.Context.Deactivate() - def SetSelectionModeNeutral(self): + def SetSelectionModeNeutral(self) -> None: + """ + Sets the selection mode to neutral. + """ self.Context.Deactivate() - def GetSelectedShapes(self): + def GetSelectedShapes(self) -> List[AIS_Shape]: + """ + Returns the selected shapes. + + Returns: + A list of the selected shapes. + """ return self.selected_shapes - def GetSelectedShape(self): + def GetSelectedShape(self) -> AIS_Shape: """ - Returns the current selected shape + Returns the selected shape. + + Returns: + The selected shape. """ - return self.selected_shape + return self.Context.SelectedShape() - def SelectArea(self, Xmin, Ymin, Xmax, Ymax): + def SelectArea(self, Xmin: int, Ymin: int, Xmax: int, Ymax: int) -> None: + """ + Selects objects within the given area. + + Args: + Xmin (int): The minimum x-coordinate of the selection area. + Ymin (int): The minimum y-coordinate of the selection area. + Xmax (int): The maximum x-coordinate of the selection area. + Ymax (int): The maximum y-coordinate of the selection area. + """ self.Context.Select(Xmin, Ymin, Xmax, Ymax, self.View, True) self.Context.InitSelected() # reinit the selected_shapes list @@ -580,7 +942,14 @@ def SelectArea(self, Xmin, Ymin, Xmax, Ymax): for callback in self._select_callbacks: callback(self.selected_shapes, Xmin, Ymin, Xmax, Ymax) - def Select(self, X, Y): + def Select(self, X: int, Y: int) -> None: + """ + Selects the object at the given coordinates. + + Args: + X (int): The x-coordinate. + Y (int): The y-coordinate. + """ self.Context.Select(True) self.Context.InitSelected() @@ -592,7 +961,14 @@ def Select(self, X, Y): for callback in self._select_callbacks: callback(self.selected_shapes, X, Y) - def ShiftSelect(self, X, Y): + def ShiftSelect(self, X: int, Y: int) -> None: + """ + Adds the object at the given coordinates to the selection. + + Args: + X (int): The x-coordinate. + Y (int): The y-coordinate. + """ self.Context.ShiftSelect(True) self.Context.InitSelected() @@ -601,37 +977,92 @@ def ShiftSelect(self, X, Y): if self.Context.HasSelectedShape(): self.selected_shapes.append(self.Context.SelectedShape()) self.Context.NextSelected() - # hilight newly selected unhighlight those no longer selected + # highlight newly selected unhighlight those no longer selected self.Context.UpdateSelected(True) # callbacks for callback in self._select_callbacks: callback(self.selected_shapes, X, Y) - def Rotation(self, X, Y): + def Rotation(self, X: int, Y: int) -> None: + """ + Rotates the view. + + Args: + X (int): The x-coordinate. + Y (int): The y-coordinate. + """ self.View.Rotation(X, Y) - def DynamicZoom(self, X1, Y1, X2, Y2): + def DynamicZoom(self, X1: int, Y1: int, X2: int, Y2: int) -> None: + """ + Zooms the view dynamically. + + Args: + X1 (int): The first x-coordinate. + Y1 (int): The first y-coordinate. + X2 (int): The second x-coordinate. + Y2 (int): The second y-coordinate. + """ self.View.Zoom(X1, Y1, X2, Y2) - def ZoomFactor(self, zoom_factor): + def ZoomFactor(self, zoom_factor: float) -> None: + """ + Sets the zoom factor. + + Args: + zoom_factor (float): The zoom factor. + """ self.View.SetZoom(zoom_factor) - def ZoomArea(self, X1, Y1, X2, Y2): + def ZoomArea(self, X1: int, Y1: int, X2: int, Y2: int) -> None: + """ + Zooms to the given area. + + Args: + X1 (int): The first x-coordinate. + Y1 (int): The first y-coordinate. + X2 (int): The second x-coordinate. + Y2 (int): The second y-coordinate. + """ self.View.WindowFit(X1, Y1, X2, Y2) - def Zoom(self, X, Y): + def Zoom(self, X: int, Y: int) -> None: + """ + Zooms the view. + + Args: + X (int): The x-coordinate. + Y (int): The y-coordinate. + """ self.View.Zoom(X, Y) - def StartRotation(self, X, Y): + def StartRotation(self, X: int, Y: int) -> None: + """ + Starts the rotation. + + Args: + X (int): The x-coordinate. + Y (int): The y-coordinate. + """ self.View.StartRotation(X, Y) class OffscreenRenderer(Viewer3d): - """ The offscreen renderer is inherited from Viewer3d. - The DisplayShape method is overriden to export to image + """ + An offscreen renderer for pythonOCC. + + The offscreen renderer is inherited from Viewer3d. + The DisplayShape method is overridden to export to image each time it is called. """ - def __init__(self, screen_size=(640, 480)): + + def __init__(self, screen_size: Tuple[int, int] = (640, 480)) -> None: + """ + Initializes the OffscreenRenderer. + + Args: + screen_size (tuple): The size of the screen (width, height). + """ Viewer3d.__init__(self) # create the renderer self.Create() @@ -641,24 +1072,65 @@ def __init__(self, screen_size=(640, 480)): self.display_triedron() self.capture_number = 0 - def DisplayShape(self, shapes, material=None, texture=None, color=None, transparency=None, update=True): + def DisplayShape( + self, + shapes: Any, + material: Optional[Any] = None, + texture: Optional[Any] = None, + color: Optional[Union[str, int, Quantity_Color]] = None, + transparency: Optional[float] = None, + update: bool = True, + dump_image: bool = True, + dump_image_path: Optional[str] = None, + dump_image_filename: Optional[str] = None, + ) -> List[AIS_Shape]: + """ + Displays a shape and dumps the view to an image file. + + Args: + shapes: The shape(s) to display. + material: The material to use for the shape. + texture: The texture to use for the shape. + color: The color to use for the shape. + transparency (float): The transparency to use for the shape (0.0 to 1.0). + update (bool): Whether to update the view. + dump_image (bool): Whether to dump the view to an image file. + dump_image_path (str): The path where to save the image file. + dump_image_filename (str): The name of the image file. + + Returns: + A list of the displayed AIS_Shape objects. + """ # call the "original" DisplayShape method - r = super(OffscreenRenderer, self).DisplayShape(shapes, material, texture, - color, transparency, update) # always update - if os.getenv("PYTHONOCC_OFFSCREEN_RENDERER_DUMP_IMAGE") == "1": # dump to jpeg file + r = super(OffscreenRenderer, self).DisplayShape( + shapes, material, texture, color, transparency, update + ) # always update + if dump_image or ( + os.getenv("PYTHONOCC_OFFSCREEN_RENDERER_DUMP_IMAGE") == "1" + ): # dump to jpeg file timestamp = ("%f" % time.time()).split(".")[0] - self.capture_number += 1 - image_filename = "capture-%i-%s.jpeg" % (self.capture_number, - timestamp.replace(" ", "-")) + if os.getenv("PYTHONOCC_OFFSCREEN_RENDERER_DUMP_IMAGE_PATH"): path = os.getenv("PYTHONOCC_OFFSCREEN_RENDERER_DUMP_IMAGE_PATH") if not os.path.isdir(path): - raise IOError("%s is not a valid path" % path) + raise IOError(f"{path} is not a valid path") + elif dump_image_path is not None: + if not os.path.isdir(dump_image_path): + raise IOError(f"{dump_image_path} is not a valid path") + path = dump_image_path else: path = os.getcwd() - image_full_name = os.path.join(path, image_filename) + if dump_image_filename is None: + self.capture_number += 1 + image_filename = "capture-%i-%s.jpeg" % ( + self.capture_number, + timestamp.replace(" ", "-"), + ) + image_full_name = os.path.join(path, image_filename) + else: + image_full_name = os.path.join(path, dump_image_filename) self.View.Dump(image_full_name) if not os.path.isfile(image_full_name): raise IOError("OffscreenRenderer failed to render image to file") - print("OffscreenRenderer content dumped to %s" % image_full_name) + print(f"OffscreenRenderer content dumped to {image_full_name}") return r diff --git a/src/Display/OCCViewer.pyi b/src/Display/OCCViewer.pyi new file mode 100644 index 000000000..3540d004e --- /dev/null +++ b/src/Display/OCCViewer.pyi @@ -0,0 +1,136 @@ +from typing import Any, Callable, List, Optional, Tuple, Union + +from OCC.Core.AIS import AIS_Shape +from OCC.Core.Graphic3d import Graphic3d_Structure +from OCC.Core.gp import gp_Pnt, gp_Pnt2d, gp_Vec +from OCC.Core.Quantity import Quantity_Color +from OCC.Core.Visualization import Display3d + +def rgb_color(r: float, g: float, b: float) -> Quantity_Color: ... +def get_color_from_name(color_name: str) -> Quantity_Color: ... + +class Viewer3d(Display3d): + def __init__(self) -> None: ... + def get_parent(self) -> Any: ... + def register_overlay_item(self, overlay_item: Any) -> None: ... + def register_select_callback(self, callback: Callable) -> None: ... + def unregister_callback(self, callback: Callable) -> None: ... + def MoveTo(self, X: int, Y: int) -> None: ... + def FitAll(self) -> None: ... + def Create( + self, + window_handle: Optional[Any] = None, + parent: Optional[Any] = None, + create_default_lights: bool = True, + draw_face_boundaries: bool = True, + phong_shading: bool = True, + display_glinfo: bool = True, + ) -> None: ... + def OnResize(self) -> None: ... + def ResetView(self) -> None: ... + def Repaint(self) -> None: ... + def SetModeWireFrame(self) -> None: ... + def SetModeShaded(self) -> None: ... + def SetModeHLR(self) -> None: ... + def SetOrthographicProjection(self) -> None: ... + def SetPerspectiveProjection(self) -> None: ... + def View_Top(self) -> None: ... + def View_Bottom(self) -> None: ... + def View_Left(self) -> None: ... + def View_Right(self) -> None: ... + def View_Front(self) -> None: ... + def View_Rear(self) -> None: ... + def View_Iso(self) -> None: ... + def EnableTextureEnv(self, name_of_texture: int = ...) -> None: ... + def DisableTextureEnv(self) -> None: ... + def SetRenderingParams( + self, + Method: int = ..., + RaytracingDepth: int = 3, + IsShadowEnabled: bool = True, + IsReflectionEnabled: bool = False, + IsAntialiasingEnabled: bool = False, + IsTransparentShadowEnabled: bool = False, + StereoMode: int = ..., + AnaglyphFilter: int = ..., + ToReverseStereo: bool = False, + ) -> None: ... + def SetRasterizationMode(self) -> None: ... + def SetRaytracingMode(self, depth: int = 3) -> None: ... + def ExportToImage(self, image_filename: str) -> None: ... + def display_graduated_trihedron(self) -> None: ... + def display_triedron(self) -> None: ... + def hide_triedron(self) -> None: ... + def set_bg_gradient_color( + self, + color1: Union[List[float], Quantity_Color], + color2: Union[List[float], Quantity_Color], + fill_method: int = ..., + ) -> None: ... + def SetBackgroundImage(self, image_filename: str, stretch: bool = True) -> None: ... + def DisplayVector( + self, vec: gp_Vec, pnt: gp_Pnt, update: bool = False + ) -> Optional[Graphic3d_Structure]: ... + def DisplayMessage( + self, + point: Union[gp_Pnt, gp_Pnt2d], + text_to_write: str, + height: float = 14.0, + message_color: Tuple[float, float, float] = ..., + update: bool = False, + ) -> Graphic3d_Structure: ... + def DisplayShape( + self, + shapes: Any, + material: Optional[Any] = None, + texture: Optional[Any] = None, + color: Optional[Union[str, int, Quantity_Color]] = None, + transparency: Optional[float] = None, + update: bool = False, + ) -> List[AIS_Shape]: ... + def DisplayColoredShape( + self, + shapes: Any, + color: Union[str, Quantity_Color] = "YELLOW", + update: bool = False, + ) -> List[AIS_Shape]: ... + def EnableAntiAliasing(self) -> None: ... + def DisableAntiAliasing(self) -> None: ... + def EraseAll(self) -> None: ... + def Tumble(self, num_images: int, animation: bool = True) -> None: ... + def Pan(self, dx: int, dy: int) -> None: ... + def SetSelectionMode(self, mode: Optional[int] = None) -> None: ... + def SetSelectionModeVertex(self) -> None: ... + def SetSelectionModeEdge(self) -> None: ... + def SetSelectionModeWire(self) -> None: ... + def SetSelectionModeFace(self) -> None: ... + def SetSelectionModeShell(self) -> None: ... + def SetSelectionModeSolid(self) -> None: ... + def SetSelectionModeShape(self) -> None: ... + def SetSelectionModeNeutral(self) -> None: ... + def GetSelectedShapes(self) -> List[AIS_Shape]: ... + def GetSelectedShape(self) -> AIS_Shape: ... + def SelectArea(self, Xmin: int, Ymin: int, Xmax: int, Ymax: int) -> None: ... + def Select(self, X: int, Y: int) -> None: ... + def ShiftSelect(self, X: int, Y: int) -> None: ... + def Rotation(self, X: int, Y: int) -> None: ... + def DynamicZoom(self, X1: int, Y1: int, X2: int, Y2: int) -> None: ... + def ZoomFactor(self, zoom_factor: float) -> None: ... + def ZoomArea(self, X1: int, Y1: int, X2: int, Y2: int) -> None: ... + def Zoom(self, X: int, Y: int) -> None: ... + def StartRotation(self, X: int, Y: int) -> None: ... + +class OffscreenRenderer(Viewer3d): + def __init__(self, screen_size: Tuple[int, int] = ...) -> None: ... + def DisplayShape( + self, + shapes: Any, + material: Optional[Any] = None, + texture: Optional[Any] = None, + color: Optional[Union[str, int, Quantity_Color]] = None, + transparency: Optional[float] = None, + update: bool = True, + dump_image: bool = True, + dump_image_path: Optional[str] = None, + dump_image_filename: Optional[str] = None, + ) -> List[AIS_Shape]: ... diff --git a/src/Display/SimpleGui.py b/src/Display/SimpleGui.py index fa0ac945a..659865abe 100644 --- a/src/Display/SimpleGui.py +++ b/src/Display/SimpleGui.py @@ -23,36 +23,57 @@ from typing import Any, Callable, List, Optional, Tuple from OCC import VERSION -from OCC.Display.backend import load_backend, get_qt_modules -from OCC.Display.OCCViewer import OffscreenRenderer +from OCC.Display.backend import get_qt_modules, load_backend +from OCC.Display.OCCViewer import OffscreenRenderer, Viewer3d log = logging.getLogger(__name__) def check_callable(_callable: Callable) -> None: + """ + Checks if the given object is callable. + + Args: + _callable: The object to check. + + Raises: + AssertionError: If the object is not callable. + """ if not callable(_callable): raise AssertionError("The function supplied is not callable") -def init_display(backend_str: Optional[str]=None, - size: Optional[Tuple[int, int]]=(1024, 768), - display_triedron: Optional[bool]=True, - background_gradient_color1: Optional[List[int]]=[206, 215, 222], - background_gradient_color2: Optional[List[int]]=[128, 128, 128]): - """ This function loads and initialize a GUI using either wx, pyq4, pyqt5 or pyside. - If ever the environment variable PYTHONOCC_OFFSCREEN_RENDERER, then the GUI is simply - ignored and an offscreen renderer is returned. - init_display returns 4 objects : - * display : an instance of Viewer3d ; - * start_display : a function (the GUI mainloop) ; - * add_menu : a function that creates a menu in the GUI - * add_function_to_menu : adds a menu option - - In case an offscreen renderer is returned, start_display and add_menu are ignored, i.e. - an empty function is returned (named do_nothing). add_function_to_menu just execute the - function taken as a paramter. - - Note : the offscreen renderer is used on the travis side. +def init_display( + backend_str: Optional[str] = None, + size: Optional[Tuple[int, int]] = (1024, 768), + display_triedron: Optional[bool] = True, + background_gradient_color1: Optional[List[int]] = [206, 215, 222], + background_gradient_color2: Optional[List[int]] = [128, 128, 128], +) -> Tuple[Viewer3d, Callable, Callable, Callable]: + """ + Initializes a GUI for the 3D viewer. + + This function loads and initializes a GUI using either wx, pyqt5, pyqt6, + pyside2 or pyside6. If the environment variable + PYTHONOCC_OFFSCREEN_RENDERER is set to "1", the GUI is ignored and an + offscreen renderer is returned instead. + + Args: + backend_str (str, optional): The backend to use. If not specified, + it will be automatically detected. + size (tuple, optional): The size of the window. + display_triedron (bool, optional): Whether to display the triedron. + background_gradient_color1 (list, optional): The first color of the + background gradient. + background_gradient_color2 (list, optional): The second color of the + background gradient. + + Returns: + A tuple containing: + - display: An instance of Viewer3d. + - start_display: A function to start the GUI main loop. + - add_menu: A function to add a menu to the GUI. + - add_function_to_menu: A function to add a function to a menu. """ if size is None: # prevent size to being None (mypy) raise AssertionError("window size cannot be None") @@ -61,35 +82,74 @@ def init_display(backend_str: Optional[str]=None, # create the offscreen renderer offscreen_renderer = OffscreenRenderer() - def do_nothing(*kargs: Any, **kwargs: Any) -> None: - """ takes as many parameters as you want, - ans does nothing - """ - pass + def do_nothing(*args: Any, **kwargs: Any) -> None: + """takes as many parameters as you want, and does nothing""" + return None - def call_function(s, func: Callable) -> None: - """ A function that calls another function. - Helpfull to bypass add_function_to_menu. s should be a string + def call_function(s: str, func: Callable) -> None: + """A function that calls another function. + Helpful to bypass add_function_to_menu. s should be a string """ check_callable(func) - log.info("Execute %s :: %s menu fonction" % (s, func.__name__)) + log.info(f"Execute {s} :: {func.__name__} menu function") func() log.info("done") + # returns empty classes and functions + # returns empty classes and functions return offscreen_renderer, do_nothing, do_nothing, call_function + used_backend = load_backend(backend_str) + + # tkinter SimpleGui + if used_backend == "tk": + import tkinter as tk + + from OCC.Display.tkDisplay import tkViewer3d + + root = tk.Tk() + root_menu = tk.Menu(root) + + canva = tkViewer3d(root) + canva.pack() + canva.wait_visibility() + + all_menus = {} + + display = canva._display + + def start_display() -> None: + root.config(menu=root_menu) + root.mainloop() + + def add_menu(menu_name: str) -> None: + new_menu = tk.Menu(root_menu) + root_menu.add_cascade(label=menu_name, menu=new_menu) + all_menus[menu_name] = new_menu + + def add_function_to_menu(menu_name: str, _callable: Callable) -> None: + all_menus[menu_name].add_command( + label=_callable.__name__, command=_callable + ) + # wxPython based simple GUI - if used_backend == 'wx': + if used_backend == "wx": import wx from OCC.Display.wxDisplay import wxViewer3d + print("wxPython backend - ", wx.version()) class AppFrame(wx.Frame): - - def __init__(self, parent): - wx.Frame.__init__(self, parent, -1, "pythonOCC-%s 3d viewer ('wx' backend)" % VERSION, - style=wx.DEFAULT_FRAME_STYLE, size=size) + def __init__(self, parent: Any) -> None: + wx.Frame.__init__( + self, + parent, + -1, + f"pythonOCC-{VERSION} 3d viewer ('wx' backend)", + style=wx.DEFAULT_FRAME_STYLE, + size=size, + ) self.canva = wxViewer3d(self) self.menuBar = wx.MenuBar() self._menus = {} @@ -97,7 +157,7 @@ def __init__(self, parent): def add_menu(self, menu_name: str) -> None: _menu = wx.Menu() - self.menuBar.Append(_menu, "&" + menu_name) + self.menuBar.Append(_menu, f"&{menu_name}") self.SetMenuBar(self.menuBar) self._menus[menu_name] = _menu @@ -105,11 +165,11 @@ def add_function_to_menu(self, menu_name: str, _callable: Callable) -> None: # point on curve _id = wx.NewId() check_callable(_callable) - try: - self._menus[menu_name].Append(_id, - _callable.__name__.replace('_', ' ').lower()) - except KeyError: - raise ValueError('the menu item %s does not exist' % menu_name) + if menu_name not in self._menus: + raise ValueError(f"the menu item {menu_name} does not exist") + self._menus[menu_name].Append( + _id, _callable.__name__.replace("_", " ").lower() + ) self.Bind(wx.EVT_MENU, _callable, id=_id) app = wx.App(False) @@ -120,34 +180,32 @@ def add_function_to_menu(self, menu_name: str, _callable: Callable) -> None: app.SetTopWindow(win) display = win.canva._display - def add_menu(*args, **kwargs) -> None: + def add_menu(*args: Any, **kwargs: Any) -> None: win.add_menu(*args, **kwargs) - def add_function_to_menu(*args, **kwargs) -> None: + def add_function_to_menu(*args: Any, **kwargs: Any) -> None: win.add_function_to_menu(*args, **kwargs) def start_display() -> None: app.MainLoop() - # Qt based simple GUI - elif 'qt' in used_backend: + elif used_backend in ["pyqt5", "pyqt6", "pyside2", "pyside6"]: from OCC.Display.qtDisplay import qtViewer3d + QtCore, QtGui, QtWidgets, QtOpenGL = get_qt_modules() # check Qt version - qt_version = None - if hasattr(QtCore, 'QT_VERSION_STR'): # PyQt5 - qt_version = QtCore.QT_VERSION_STR - elif hasattr(QtCore, '__version__'): # PySide2 - qt_version = QtCore.__version__ - print("%s backend - Qt version %s" % (used_backend, qt_version)) - class MainWindow(QtWidgets.QMainWindow): + qt_version = QtCore.qVersion() + print(f"{used_backend} backend - Qt version {qt_version}") + class MainWindow(QtWidgets.QMainWindow): def __init__(self, *args: Any) -> None: QtWidgets.QMainWindow.__init__(self, *args) self.canva = qtViewer3d(self) - self.setWindowTitle("pythonOCC-%s 3d viewer ('%s' backend)" % (VERSION, used_backend)) + self.setWindowTitle( + f"pythonOCC-{VERSION} 3d viewer ('{used_backend}' backend)" + ) self.setCentralWidget(self.canva) - if sys.platform != 'darwin': + if sys.platform != "darwin": self.menu_bar = self.menuBar() else: # create a parentless menubar @@ -162,59 +220,62 @@ def __init__(self, *args: Any) -> None: self._menu_methods = {} # place the window in the center of the screen, at half the # screen size - self.centerOnScreen() + self.center_on_screen() - def centerOnScreen(self) -> None: - '''Centers the window on the screen.''' - resolution = QtWidgets.QApplication.desktop().screenGeometry() - x = (resolution.width() - self.frameSize().width()) / 2 - y = (resolution.height() - self.frameSize().height()) / 2 - self.move(x, y) + def center_on_screen(self) -> None: + """Centers the window on the screen.""" + qr = self.frameGeometry() + cp = QtGui.QGuiApplication.primaryScreen().availableGeometry().center() + qr.moveCenter(cp) + self.move(qr.topLeft()) def add_menu(self, menu_name: str) -> None: - _menu = self.menu_bar.addMenu("&" + menu_name) + _menu = self.menu_bar.addMenu(f"&{menu_name}") self._menus[menu_name] = _menu def add_function_to_menu(self, menu_name: str, _callable: Callable) -> None: check_callable(_callable) - try: - _action = QtWidgets.QAction(_callable.__name__.replace('_', ' ').lower(), self) - # if not, the "exit" action is now shown... - _action.setMenuRole(QtWidgets.QAction.NoRole) - _action.triggered.connect(_callable) - - self._menus[menu_name].addAction(_action) - except KeyError: - raise ValueError('the menu item %s does not exist' % menu_name) + if menu_name not in self._menus: + raise ValueError(f"the menu item {menu_name} does not exist") + qaction = ( + QtGui.QAction + if used_backend in ["pyqt6", "pyside6"] + else QtWidgets.QAction + ) + _action = qaction(_callable.__name__.replace("_", " ").lower(), self) + _action.triggered.connect(_callable) + self._menus[menu_name].addAction(_action) # following couple of lines is a tweak to enable ipython --gui='qt' - app = QtWidgets.QApplication.instance() # checks if QApplication already exists - if not app: # create QApplication if it doesnt exist - app = QtWidgets.QApplication(sys.argv) + app = QtWidgets.QApplication.instance() or QtWidgets.QApplication(sys.argv) win = MainWindow() - win.resize(size[0] -1, size[1] -1) + win.resize(size[0] - 1, size[1] - 1) win.show() - win.centerOnScreen() + win.center_on_screen() + win.raise_() win.canva.InitDriver() win.resize(size[0], size[1]) win.canva.qApp = app display = win.canva._display - def add_menu(*args, **kwargs) -> None: + def add_menu(*args: Any, **kwargs: Any) -> None: win.add_menu(*args, **kwargs) - def add_function_to_menu(*args, **kwargs) -> None: + def add_function_to_menu(*args: Any, **kwargs: Any) -> None: win.add_function_to_menu(*args, **kwargs) def start_display() -> None: win.raise_() # make the application float to the top - app.exec_() + main_loop = app.exec if used_backend in ["pyqt6", "pyside6"] else app.exec_ + main_loop() if display_triedron: display.display_triedron() if background_gradient_color1 and background_gradient_color2: - # background gradient - display.set_bg_gradient_color(background_gradient_color1, background_gradient_color2) + # background gradient + display.set_bg_gradient_color( + background_gradient_color1, background_gradient_color2 + ) return display, start_display, add_menu, add_function_to_menu diff --git a/src/Display/SimpleGui.pyi b/src/Display/SimpleGui.pyi new file mode 100644 index 000000000..01df7cd2d --- /dev/null +++ b/src/Display/SimpleGui.pyi @@ -0,0 +1,12 @@ +from typing import Callable, List, Optional, Tuple + +from OCC.Display.OCCViewer import Viewer3d + +def check_callable(_callable: Callable) -> None: ... +def init_display( + backend_str: Optional[str] = None, + size: Optional[Tuple[int, int]] = (1024, 768), + display_triedron: Optional[bool] = True, + background_gradient_color1: Optional[List[int]] = [206, 215, 222], + background_gradient_color2: Optional[List[int]] = [128, 128, 128], +) -> Tuple[Viewer3d, Callable, Callable, Callable]: ... diff --git a/src/Display/WebGl/flask_server.py b/src/Display/WebGl/flask_server.py index c1db9f8a1..c85a3fb91 100644 --- a/src/Display/WebGl/flask_server.py +++ b/src/Display/WebGl/flask_server.py @@ -1,12 +1,19 @@ -""" A flask webserver. """ +"""A flask webserver.""" import sys import uuid +from typing import Any, Dict, Optional, Tuple -from OCC.Display.WebGl.threejs_renderer import ThreejsRenderer, OCC_VERSION, \ - THREEJS_RELEASE, color_to_hex, export_edgedata_to_json, spinning_cursor +from threejs_renderer import ( + ThreejsRenderer, + OCC_VERSION, + THREEJS_RELEASE, + color_to_hex, + export_edgedata_to_json, +) from OCC.Extend.TopologyUtils import is_edge, is_wire, discretize_edge, discretize_wire from OCC.Core.Tesselator import ShapeTesselator + # Import following for building vertex (or point cloud) in WebGL from OCC.Core.gp import gp_Pnt from OCC.Core.BRep import BRep_Builder @@ -16,39 +23,86 @@ from flask import Flask, render_template -def format_color(r, g, b): - return '0x%02x%02x%02x' % (r, g, b) +def format_color(r: int, g: int, b: int) -> str: + """ + Formats a color from RGB to a hex string. + + Args: + r (int): The red component (0-255). + g (int): The green component (0-255). + b (int): The blue component (0-255). + + Returns: + str: The color as a hex string. + """ + return "0x%02x%02x%02x" % (r, g, b) class RenderWraper(ThreejsRenderer): - def __init__(self, path=None, - default_shape_color=format_color(166, 166, 166), # light grey - default_edge_color=format_color(32, 32, 32), # dark grey - default_vertex_color=format_color(8, 8, 8)): # darker gray + """ + A wrapper for the ThreejsRenderer that adds support for Flask. + """ + + def __init__( + self, + path: Optional[str] = None, + default_shape_color: str = format_color(166, 166, 166), # light grey + default_edge_color: str = format_color(32, 32, 32), # dark grey + default_vertex_color: str = format_color(8, 8, 8), + ) -> None: # darker gray + """ + Initializes the RenderWraper. + + Args: + path (str, optional): The path to the templates. + default_shape_color (str, optional): The default color for shapes. + default_edge_color (str, optional): The default color for edges. + default_vertex_color (str, optional): The default color for vertices. + """ super().__init__(path) - self._3js_vertex = {} + self._3js_vertex: Dict[str, Any] = {} self._default_shape_color = default_shape_color self._default_edge_color = default_edge_color self._default_vertex_color = default_vertex_color - def ConvertShape(self, - shape, - export_edges=False, - color=(0.65, 0.65, 0.7), - specular_color=(0.2, 0.2, 0.2), - shininess=0.9, - transparency=0., - line_color=(0, 0., 0.), - line_width=1., - point_size=1., - mesh_quality=1.): + def convert_shape( + self, + shape: Any, + export_edges: bool = False, + color: Tuple[float, float, float] = (0.65, 0.65, 0.7), + specular_color: Tuple[float, float, float] = (0.2, 0.2, 0.2), + shininess: float = 0.9, + transparency: float = 0.0, + line_color: Tuple[float, float, float] = (0, 0.0, 0.0), + line_width: float = 1.0, + point_size: float = 1.0, + mesh_quality: float = 1.0, + ) -> Tuple[Dict[str, Any], Dict[str, Any], Dict[str, Any]]: + """ + Converts a shape to a format that can be rendered by Three.js. + + Args: + shape: The shape to convert. + export_edges (bool, optional): Whether to export the edges of the shape. + color (tuple, optional): The color of the shape. + specular_color (tuple, optional): The specular color of the shape. + shininess (float, optional): The shininess of the shape. + transparency (float, optional): The transparency of the shape. + line_color (tuple, optional): The color of the lines. + line_width (float, optional): The width of the lines. + point_size (float, optional): The size of the points. + mesh_quality (float, optional): The quality of the mesh. + + Returns: + A tuple containing the shapes, edges, and vertices. + """ # if the shape is an edge or a wire, use the related functions color = color_to_hex(color) specular_color = color_to_hex(specular_color) if is_edge(shape): print("discretize an edge") pnts = discretize_edge(shape) - edge_hash = "edg%s" % uuid.uuid4().hex + edge_hash = f"edg{uuid.uuid4().hex}" shape_content = export_edgedata_to_json(edge_hash, pnts) # store this edge hash self._3js_edges[edge_hash] = [color, line_width, shape_content] @@ -56,12 +110,11 @@ def ConvertShape(self, elif is_wire(shape): print("discretize a wire") pnts = discretize_wire(shape) - wire_hash = "wir%s" % uuid.uuid4().hex + wire_hash = f"wir{uuid.uuid4().hex}" shape_content = export_edgedata_to_json(wire_hash, pnts) # store this edge hash self._3js_edges[wire_hash] = [color, line_width, shape_content] return self._3js_shapes, self._3js_edges, self._3js_vertex - # if shape is array of gp_Pnt elif isinstance(shape, list) and isinstance(shape[0], gp_Pnt): print("storage points") vertices_list = [] # will be passed to javascript @@ -73,30 +126,38 @@ def ConvertShape(self, vertext_to_add = BRepBuilderAPI_MakeVertex(vertex).Shape() BB.Add(compound, vertext_to_add) vertices_list.append([vertex.X(), vertex.Y(), vertex.Z()]) - points_hash = "pnt%s" % uuid.uuid4().hex + points_hash = f"pnt{uuid.uuid4().hex}" # store this vertex hash. Note: TopoDS_Compound did not save now self._3js_vertex[points_hash] = [color, point_size, vertices_list] return self._3js_shapes, self._3js_edges, self._3js_vertex # convert as TopoDS_Shape shape_uuid = uuid.uuid4().hex - shape_hash = "shp%s" % shape_uuid - # tesselate + shape_hash = f"shp{shape_uuid}" + # tessellate tess = ShapeTesselator(shape) - tess.Compute(compute_edges=export_edges, - mesh_quality=mesh_quality, - parallel=True) + tess.Compute( + compute_edges=export_edges, mesh_quality=mesh_quality, parallel=True + ) # update spinning cursor - sys.stdout.write("\r%s mesh shape %s, %i triangles " % (next(self.spinning_cursor), - shape_hash, - tess.ObjGetTriangleCount())) + sys.stdout.write( + f"\r{next(self.spinning_cursor)} mesh shape {shape_hash}, {tess.ObjGetTriangleCount()} triangles " + ) sys.stdout.flush() # export to 3JS # generate the mesh shape_content = tess.ExportShapeToThreejsJSONString(shape_uuid) # add this shape to the shape dict, sotres everything related to it - self._3js_shapes[shape_hash] = [export_edges, color, specular_color, shininess, transparency, - line_color, line_width, shape_content] + self._3js_shapes[shape_hash] = [ + export_edges, + color, + specular_color, + shininess, + transparency, + line_color, + line_width, + shape_content, + ] # draw edges if necessary if export_edges: # export each edge to a single json @@ -104,22 +165,46 @@ def ConvertShape(self, nbr_edges = tess.ObjGetEdgeCount() for i_edge in range(nbr_edges): # after that, the file can be appended - edge_content = '' - edge_point_set = [] + edge_content = "" nbr_vertices = tess.ObjEdgeGetVertexCount(i_edge) - for i_vert in range(nbr_vertices): - edge_point_set.append(tess.GetEdgeVertex(i_edge, i_vert)) + edge_point_set = [ + tess.GetEdgeVertex(i_edge, i_vert) for i_vert in range(nbr_vertices) + ] # write to file - edge_hash = "edg%s" % uuid.uuid4().hex + edge_hash = f"edg{uuid.uuid4().hex}" edge_content += export_edgedata_to_json(edge_hash, edge_point_set) # store this edge hash, with black color - self._3js_edges[edge_hash] = [color_to_hex((0, 0, 0)), line_width, edge_content] + self._3js_edges[edge_hash] = [ + color_to_hex((0, 0, 0)), + line_width, + edge_content, + ] return self._3js_shapes, self._3js_edges, self._3js_vertex -class RenderConfig(object): - def __init__(self, bg_gradient_color1="#ced7de", bg_gradient_color2="#808080", - vertex_shader=None, fragment_shader=None, uniforms=None): +class RenderConfig: + """ + Configuration for the renderer. + """ + + def __init__( + self, + bg_gradient_color1: str = "#ced7de", + bg_gradient_color2: str = "#808080", + vertex_shader: Optional[str] = None, + fragment_shader: Optional[str] = None, + uniforms: Optional[Dict[str, Any]] = None, + ) -> None: + """ + Initializes the RenderConfig. + + Args: + bg_gradient_color1 (str, optional): The first color of the background gradient. + bg_gradient_color2 (str, optional): The second color of the background gradient. + vertex_shader (str, optional): The vertex shader to use. + fragment_shader (str, optional): The fragment shader to use. + uniforms (dict, optional): The uniforms to use. + """ self._occ_version = OCC_VERSION self._3js_version = THREEJS_RELEASE self._bg_gradient_color1 = bg_gradient_color1 @@ -134,42 +219,51 @@ def __init__(self, bg_gradient_color1="#ced7de", bg_gradient_color2="#808080", render_cfg = RenderConfig() -if __name__ == '__main__': - @app.route('/') - @app.route('/index') - def index(): +if __name__ == "__main__": + + @app.route("/") + @app.route("/index") + def index() -> str: """PythonOCC Demo Page""" # remove shapes from previous (avoid duplicate shape after F5 refresh) - my_ren._3js_shapes={} - my_ren._3js_edges={} - my_ren._3js_vertex={} + my_ren._3js_shapes = {} + my_ren._3js_edges = {} + my_ren._3js_vertex = {} # import additional modules for building a box and a torus. from OCC.Core.BRepPrimAPI import BRepPrimAPI_MakeBox, BRepPrimAPI_MakeTorus from OCC.Core.BRepBuilderAPI import BRepBuilderAPI_Transform - from OCC.Core.gp import gp_Trsf + from OCC.Core.gp import gp_Trsf, gp_Vec + from OCC.Core.TopoDS import TopoDS_Shape import time - - def translate_shp(shp, vec, copy=False): + def translate_shp( + shp: TopoDS_Shape, vec: gp_Vec, copy: bool = False + ) -> TopoDS_Shape: trns = gp_Trsf() trns.SetTranslation(vec) brep_trns = BRepBuilderAPI_Transform(shp, trns, copy) brep_trns.Build() return brep_trns.Shape() - box = BRepPrimAPI_MakeBox(100., 200., 300.).Shape() - torus = BRepPrimAPI_MakeTorus(300., 105).Shape() - t_torus = translate_shp(torus, gp_Vec(700, 0, 0)) + box = BRepPrimAPI_MakeBox(100.0, 200.0, 300.0).Shape() + torus = BRepPrimAPI_MakeTorus(300.0, 105).Shape() + t_torus = translate_shp(torus, gp_Vec(700, 0, 0)) init_time = time.time() - my_ren.ConvertShape(box, export_edges=True) - my_ren.ConvertShape(t_torus, export_edges=True) + my_ren.convert_shape(box, export_edges=True) + my_ren.convert_shape(t_torus, export_edges=True) final_time = time.time() - print("\nTotal meshing time : ", final_time - init_time) + print("\nTotal meshing time : {:.2f}s".format(final_time - init_time)) - return render_template('index.html', occ_version=OCC_VERSION, threejs_version=THREEJS_RELEASE, - render_cfg=render_cfg, occ_shapes=my_ren._3js_shapes, occ_edges=my_ren._3js_edges, - occ_vertex=my_ren._3js_vertex) + return render_template( + "index.html", + occ_version=OCC_VERSION, + threejs_version=THREEJS_RELEASE, + render_cfg=render_cfg, + occ_shapes=my_ren._3js_shapes, + occ_edges=my_ren._3js_edges, + occ_vertex=my_ren._3js_vertex, + ) - app.run(host='localhost', port=8080, debug=False) + app.run(host="localhost", port=8080, debug=False) diff --git a/src/Display/WebGl/flask_server.pyi b/src/Display/WebGl/flask_server.pyi new file mode 100644 index 000000000..f33aac813 --- /dev/null +++ b/src/Display/WebGl/flask_server.pyi @@ -0,0 +1,37 @@ +from typing import Any, Dict, Optional, Tuple + +from threejs_renderer import ThreejsRenderer + +def format_color(r: int, g: int, b: int) -> str: ... + +class RenderWraper(ThreejsRenderer): + def __init__( + self, + path: Optional[str] = None, + default_shape_color: str = "0xa6a6a6", + default_edge_color: str = "0x202020", + default_vertex_color: str = "0x80808", + ) -> None: ... + def convert_shape( + self, + shape: Any, + export_edges: bool = False, + color: Tuple[float, float, float] = (0.65, 0.65, 0.7), + specular_color: Tuple[float, float, float] = (0.2, 0.2, 0.2), + shininess: float = 0.9, + transparency: float = 0.0, + line_color: Tuple[float, float, float] = (0.0, 0.0, 0.0), + line_width: float = 1.0, + point_size: float = 1.0, + mesh_quality: float = 1.0, + ) -> Tuple[Dict[str, Any], Dict[str, Any], Dict[str, Any]]: ... + +class RenderConfig: + def __init__( + self, + bg_gradient_color1: str = "#ced7de", + bg_gradient_color2: str = "#808080", + vertex_shader: Optional[str] = None, + fragment_shader: Optional[str] = None, + uniforms: Optional[Dict[str, Any]] = None, + ) -> None: ... diff --git a/src/Display/WebGl/jupyter_renderer.py b/src/Display/WebGl/jupyter_renderer.py index f54d03db7..29a664dc9 100644 --- a/src/Display/WebGl/jupyter_renderer.py +++ b/src/Display/WebGl/jupyter_renderer.py @@ -21,15 +21,34 @@ import math import uuid import sys +from typing import Any, Callable, Dict, List, Optional, Tuple, Union # pythreejs try: - from pythreejs import (CombinedCamera, BufferAttribute, BufferGeometry, Mesh, - LineSegmentsGeometry, LineMaterial, LineSegments2, AmbientLight, - DirectionalLight, Scene, OrbitControls, Renderer, - Picker, Group, GridHelper, Line, - ShaderMaterial, ShaderLib, LineBasicMaterial, - PointsMaterial, Points, make_text) + from pythreejs import ( + CombinedCamera, + BufferAttribute, + BufferGeometry, + Mesh, + LineSegmentsGeometry, + LineMaterial, + LineSegments2, + AmbientLight, + DirectionalLight, + Scene, + OrbitControls, + Renderer, + Picker, + Group, + GridHelper, + Line, + ShaderMaterial, + ShaderLib, + LineBasicMaterial, + PointsMaterial, + Points, + make_text, + ) from IPython.display import display, SVG from ipywidgets import HTML, HBox, VBox, Checkbox, Button, Layout, Dropdown, embed import numpy as np @@ -43,84 +62,130 @@ from OCC.Core.Bnd import Bnd_Box from OCC.Core.BRepPrimAPI import BRepPrimAPI_MakeSphere -from OCC.Core.BRepBndLib import brepbndlib_Add +from OCC.Core.BRepBndLib import brepbndlib from OCC.Core.gp import gp_Pnt, gp_Dir from OCC.Core.TopoDS import TopoDS_Compound from OCC.Core.BRepBuilderAPI import BRepBuilderAPI_MakeVertex from OCC.Core.BRep import BRep_Builder from OCC.Core.Tesselator import ShapeTesselator -from OCC.Extend.TopologyUtils import (TopologyExplorer, is_edge, is_wire, discretize_edge, - discretize_wire, get_type_as_string) -from OCC.Extend.ShapeFactory import (get_oriented_boundingbox, - get_aligned_boundingbox, - measure_shape_mass_center_of_gravity, - recognize_face) +from OCC.Extend.TopologyUtils import ( + TopologyExplorer, + is_edge, + is_wire, + discretize_edge, + discretize_wire, + get_type_as_string, +) +from OCC.Extend.ShapeFactory import ( + get_oriented_boundingbox, + get_aligned_boundingbox, + measure_shape_mass_center_of_gravity, + recognize_face, +) from OCC.Extend.DataExchange import export_shape_to_svg + # # Util mathematical functions # -def _add(vec1, vec2): - return list(v1 + v2 for v1, v2 in zip(vec1, vec2)) +def _add(vec1: List[float], vec2: List[float]) -> List[float]: + """Adds two vectors.""" + return [v1 + v2 for v1, v2 in zip(vec1, vec2)] -def _explode(edge_list): +def _explode(edge_list: List[List[float]]) -> List[List[List[float]]]: + """Explodes a list of edges into a list of segments.""" return [[edge_list[i], edge_list[i + 1]] for i in range(len(edge_list) - 1)] -def _flatten(nested_dict): +def _flatten(nested_dict: Dict[Any, Any]) -> List[Any]: + """Flattens a nested dictionary.""" return [y for x in nested_dict for y in x] -def format_color(r, g, b): - return '#%02x%02x%02x' % (r, g, b) +def format_color(r: int, g: int, b: int) -> str: + """Formats a color from RGB to a hex string.""" + return "#%02x%02x%02x" % (r, g, b) -def _distance(v1, v2): +def _distance(v1: List[float], v2: List[float]) -> float: + """Computes the distance between two vectors.""" return np.linalg.norm([x - y for x, y in zip(v1, v2)]) -def _bool_or_new(val): +def _bool_or_new(val: Union[bool, Dict[str, Any]]) -> bool: + """Returns the value of a boolean or a new value.""" return val if isinstance(val, bool) else val["new"] -def _opt(b1, b2): - return (min(b1[0], b2[0]), max(b1[1], b2[1]), min(b1[2], b2[2]), - max(b1[3], b2[3]), min(b1[4], b2[4]), max(b1[5], b2[5])) +def _opt(b1: Tuple[float, ...], b2: Tuple[float, ...]) -> Tuple[float, ...]: + """Returns the union of two bounding boxes.""" + return ( + min(b1[0], b2[0]), + max(b1[1], b2[1]), + min(b1[2], b2[2]), + max(b1[3], b2[3]), + min(b1[4], b2[4]), + max(b1[5], b2[5]), + ) -def _shift(v, offset): +def _shift(v: List[float], offset: List[float]) -> List[float]: + """Shifts a vector by an offset.""" return [x + o for x, o in zip(v, offset)] # https://stackoverflow.com/questions/4947682/intelligently-calculating-chart-tick-positions -def _nice_number(value, round_=False): +def _nice_number(value: float, round_: bool = False) -> float: + """ + Returns a "nice" number approximately equal to value. + + Args: + value (float): The value to make nice. + round_ (bool, optional): Whether to round the number. Defaults to False. + + Returns: + float: The nice number. + """ exponent = math.floor(math.log(value, 10)) fraction = value / 10**exponent if round_: if fraction < 1.5: - nice_fraction = 1. - elif fraction < 3.: - nice_fraction = 2. - elif fraction < 7.: - nice_fraction = 5. + nice_fraction = 1.0 + elif fraction < 3.0: + nice_fraction = 2.0 + elif fraction < 7.0: + nice_fraction = 5.0 else: - nice_fraction = 10. + nice_fraction = 10.0 + elif fraction <= 1: + nice_fraction = 1.0 + elif fraction <= 2: + nice_fraction = 2.0 + elif fraction <= 5: + nice_fraction = 5.0 else: - if fraction <= 1: - nice_fraction = 1. - elif fraction <= 2: - nice_fraction = 2. - elif fraction <= 5: - nice_fraction = 5. - else: - nice_fraction = 10. + nice_fraction = 10.0 return nice_fraction * 10**exponent -def _nice_bounds(axis_start, axis_end, num_ticks=10): + +def _nice_bounds( + axis_start: float, axis_end: float, num_ticks: int = 10 +) -> Tuple[float, float, float]: + """ + Returns "nice" bounds for a given axis. + + Args: + axis_start (float): The start of the axis. + axis_end (float): The end of the axis. + num_ticks (int, optional): The number of ticks. Defaults to 10. + + Returns: + A tuple containing the nice start, nice end, and nice tick. + """ axis_width = axis_end - axis_start if axis_width == 0: nice_tick = 0 @@ -132,46 +197,128 @@ def _nice_bounds(axis_start, axis_end, num_ticks=10): return axis_start, axis_end, nice_tick + # # Helpers # class Helpers: - def __init__(self, bb_center): + """ + A base class for helpers. + """ + + def __init__(self, bb_center: Tuple[float, float, float]) -> None: + """ + Initializes the Helpers. + + Args: + bb_center: The center of the bounding box. + """ self.bb_center = bb_center self.center = (0, 0, 0) - def _center(self, zero=True): + def _center(self, zero: bool = True) -> Tuple[float, float, float]: + """ + Returns the center of the bounding box. + + Args: + zero (bool, optional): Whether to return the origin. Defaults to True. + + Returns: + The center of the bounding box. + """ return self.center if zero else self.bb_center - def set_position(self, position): + def set_position(self, position: Tuple[float, float, float]) -> None: + """ + Sets the position of the helper. + + Args: + position: The position to set. + """ raise NotImplementedError() - def set_visibility(self, change): + def set_visibility(self, change: bool) -> None: + """ + Sets the visibility of the helper. + + Args: + change: The visibility to set. + """ raise NotImplementedError() - def set_center(self, change): + def set_center(self, change: bool) -> None: + """ + Sets the center of the helper. + + Args: + change: The center to set. + """ self.set_position(self._center(change)) + # # Grid helper # class Grid(Helpers): - def __init__(self, bb_center=None, maximum=5, ticks=10, colorCenterLine='#aaa', colorGrid='#ddd'): + """ + A grid helper. + """ + + def __init__( + self, + bb_center: Optional[Tuple[float, float, float]] = None, + maximum: int = 5, + ticks: int = 10, + colorCenterLine: str = "#aaa", + colorGrid: str = "#ddd", + ) -> None: + """ + Initializes the Grid. + + Args: + bb_center (tuple, optional): The center of the bounding box. + maximum (int, optional): The maximum size of the grid. + ticks (int, optional): The number of ticks in the grid. + colorCenterLine (str, optional): The color of the center line. + colorGrid (str, optional): The color of the grid. + """ Helpers.__init__(self, bb_center) axis_start, axis_end, nice_tick = _nice_bounds(-maximum, maximum, 2 * ticks) self.step = nice_tick self.size = axis_end - axis_start - self.grid = GridHelper(self.size, int(self.size / self.step), - colorCenterLine=colorCenterLine, colorGrid=colorGrid) + self.grid = GridHelper( + self.size, + int(self.size / self.step), + colorCenterLine=colorCenterLine, + colorGrid=colorGrid, + ) self.set_center(True) - def set_position(self, position): + def set_position(self, position: Tuple[float, float, float]) -> None: + """ + Sets the position of the grid. + + Args: + position: The position to set. + """ self.grid.position = position - def set_visibility(self, change): + def set_visibility(self, change: bool) -> None: + """ + Sets the visibility of the grid. + + Args: + change: The visibility to set. + """ self.grid.visible = change - def set_rotation(self, rotation): + def set_rotation(self, rotation: Tuple[float, float, float, str]) -> None: + """ + Sets the rotation of the grid. + + Args: + rotation: The rotation to set. + """ self.grid.rotation = rotation @@ -179,20 +326,45 @@ def set_rotation(self, rotation): # Axes helper # class Axes(Helpers): - """ X, Y and Z axis - X is red - Y is green - Z is blue """ - def __init__(self, bb_center, length=1, width=3, display_labels=False): - Helpers.__init__(self, bb_center) + An axes helper. - self.axes = [] - for vector, color in zip(([length, 0, 0], [0, length, 0], [0, 0, length]), ('red', 'green', 'blue')): - self.axes.append(LineSegments2(LineSegmentsGeometry(positions=[[self.center, - _shift(self.center, vector)]]), - LineMaterial(linewidth=width, color=color))) + - X is red + - Y is green + - Z is blue + """ + def __init__( + self, + bb_center: Tuple[float, float, float], + length: int = 1, + width: int = 3, + display_labels: bool = False, + ) -> None: + """ + Initializes the Axes. + + Args: + bb_center: The center of the bounding box. + length (int, optional): The length of the axes. Defaults to 1. + width (int, optional): The width of the axes. Defaults to 3. + display_labels (bool, optional): Whether to display labels. + """ + Helpers.__init__(self, bb_center) + + self.axes: List[Any] = [] + self.axes.extend( + LineSegments2( + LineSegmentsGeometry( + positions=[[self.center, _shift(self.center, vector)]] + ), + LineMaterial(linewidth=width, color=color), + ) + for vector, color in zip( + ([length, 0, 0], [0, length, 0], [0, 0, length]), + ("red", "green", "blue"), + ) + ) if display_labels: # add x, y and z labels x_text = make_text("X", [length, 0, 0]) @@ -203,20 +375,49 @@ def __init__(self, bb_center, length=1, width=3, display_labels=False): self.axes.append(y_text) self.axes.append(z_text) - def set_position(self, position): + def set_position(self, position: Tuple[float, float, float]) -> None: + """ + Sets the position of the axes. + + Args: + position: The position to set. + """ for i in range(3): self.axes[i].position = position - def set_visibility(self, change): + def set_visibility(self, change: bool) -> None: + """ + Sets the visibility of the axes. + + Args: + change: The visibility to set. + """ for i in range(3): self.axes[i].visible = change + # # Custom Material helper # class CustomMaterial(ShaderMaterial): - def __init__(self, typ): - self.types = {'diffuse': 'c', 'uvTransform': 'm3', 'normalScale': 'v2', 'fogColor': 'c', 'emissive': 'c'} + """ + A custom material helper. + """ + + def __init__(self, typ: str) -> None: + """ + Initializes the CustomMaterial. + + Args: + typ: The type of the material. + """ + self.types = { + "diffuse": "c", + "uvTransform": "m3", + "normalScale": "v2", + "fogColor": "c", + "emissive": "c", + } shader = ShaderLib[typ] @@ -236,39 +437,69 @@ def __init__(self, typ): uniforms = shader["uniforms"] uniforms["alpha"] = dict(value=0.7) - ShaderMaterial.__init__(self, uniforms=uniforms, vertexShader=vertexShader, fragmentShader=fragmentShader) + ShaderMaterial.__init__( + self, + uniforms=uniforms, + vertexShader=vertexShader, + fragmentShader=fragmentShader, + ) self.lights = True @property - def color(self): + def color(self) -> str: + """ + The color of the material. + """ return self.uniforms["diffuse"]["value"] @color.setter - def color(self, value): + def color(self, value: str) -> None: self.update("diffuse", value) @property - def alpha(self): + def alpha(self) -> float: + """ + The alpha of the material. + """ return self.uniforms["alpha"]["value"] @alpha.setter - def alpha(self, value): + def alpha(self, value: float) -> None: self.update("alpha", value) - def update(self, key, value): + def update(self, key: str, value: Any) -> None: + """ + Updates a uniform. + + Args: + key: The key of the uniform to update. + value: The value to set. + """ uniforms = dict(**self.uniforms) if self.types.get(key) is None: - uniforms[key] = {'value': value} + uniforms[key] = {"value": value} else: - uniforms[key] = {'type': self.types.get(key), 'value': value} + uniforms[key] = {"type": self.types.get(key), "value": value} self.uniforms = uniforms self.needsUpdate = True + # # Bounding Box # class BoundingBox: - def __init__(self, objects, tol=1e-5): + """ + A bounding box helper. + """ + + def __init__(self, objects: List[Any], tol: float = 1e-5) -> None: + """ + Initializes the BoundingBox. + + Args: + objects: The objects to compute the bounding box for. + tol (float, optional): The tolerance. Defaults to 1e-5. + """ self.tol = tol bbox = reduce(_opt, [self._bbox(obj) for obj in objects]) @@ -276,33 +507,64 @@ def __init__(self, objects, tol=1e-5): self.xsize = self.xmax - self.xmin self.ysize = self.ymax - self.ymin self.zsize = self.zmax - self.zmin - self.center = (self.xmin + self.xsize / 2.0, self.ymin + self.ysize / 2.0, self.zmin + self.zsize / 2.0) + self.center = ( + self.xmin + self.xsize / 2.0, + self.ymin + self.ysize / 2.0, + self.zmin + self.zsize / 2.0, + ) self.max = reduce(lambda a, b: max(abs(a), abs(b)), bbox) - def _max_dist_from_center(self): - return max([_distance(self.center, v) - for v in itertools.product((self.xmin, self.xmax), (self.ymin, self.ymax), (self.zmin, self.zmax)) - ]) - - def _max_dist_from_origin(self): - return max([np.linalg.norm(v) - for v in itertools.product((self.xmin, self.xmax), (self.ymin, self.ymax), (self.zmin, self.zmax)) - ]) - - def _bounding_box(self, obj, tol=1e-5): + def _max_dist_from_center(self) -> float: + """ + Returns the maximum distance from the center. + """ + return max( + _distance(self.center, v) + for v in itertools.product( + (self.xmin, self.xmax), + (self.ymin, self.ymax), + (self.zmin, self.zmax), + ) + ) + + def _max_dist_from_origin(self) -> float: + """ + Returns the maximum distance from the origin. + """ + return max( + np.linalg.norm(v) + for v in itertools.product( + (self.xmin, self.xmax), + (self.ymin, self.ymax), + (self.zmin, self.zmax), + ) + ) + + def _bounding_box(self, obj: Any, tol: float = 1e-5) -> Tuple[float, ...]: + """ + Computes the bounding box of an object. + """ bbox = Bnd_Box() bbox.SetGap(self.tol) - brepbndlib_Add(obj, bbox, True) + brepbndlib.Add(obj, bbox, True) values = bbox.Get() return (values[0], values[3], values[1], values[4], values[2], values[5]) - def _bbox(self, objects): - bb = reduce(_opt, [self._bounding_box(obj) for obj in objects]) - return bb + def _bbox(self, objects: List[Any]) -> Tuple[float, ...]: + """ + Computes the bounding box of a list of objects. + """ + return reduce(_opt, [self._bounding_box(obj) for obj in objects]) - def __repr__(self): - return "[x(%f .. %f), y(%f .. %f), z(%f .. %f)]" % \ - (self.xmin, self.xmax, self.ymin, self.ymax, self.zmin, self.zmax) + def __repr__(self) -> str: + return "[x(%f .. %f), y(%f .. %f), z(%f .. %f)]" % ( + self.xmin, + self.xmax, + self.ymin, + self.ymax, + self.zmin, + self.zmax, + ) class NORMAL(enum.Enum): @@ -311,30 +573,31 @@ class NORMAL(enum.Enum): class JupyterRenderer: - def __init__(self, - size=(640, 480), - compute_normals_mode=NORMAL.SERVER_SIDE, - default_shape_color=format_color(166, 166, 166), # light grey - default_edge_color=format_color(32, 32, 32), # dark grey - default_vertex_color=format_color(8, 8, 8), # darker grey - pick_color=format_color(232, 176, 36), # orange - background_color='white'): - """ Creates a jupyter renderer. - size: a tuple (width, height). Must be a square, or shapes will look like deformed - compute_normals_mode: optional, set to SERVER_SIDE by default. This flag lets you choose the - way normals are computed. If SERVER_SIDE is selected (default value), then normals - will be computed by the Tesselator, packed as a python tuple, and send as a json structure - to the client. If, on the other hand, CLIENT_SIDE is chose, then the computer only compute vertex - indices, and let the normals be computed by the client (the web js machine embedded in the webrowser). - - * SERVER_SIDE: higher server load, loading time increased, lower client load. Poor performance client will - choose this option (mobile terminals for instance) - * CLIENT_SIDE: lower server load, loading time decreased, higher client load. Higher performance clients will - choose this option (laptops, desktop machines). - * default_shape_color - * default_e1dge_color: - * default_pick_color: - * background_color: + """ + A renderer for Jupyter notebooks. + """ + + def __init__( + self, + size: Tuple[int, int] = (640, 480), + compute_normals_mode: int = NORMAL.SERVER_SIDE, + default_shape_color: str = format_color(166, 166, 166), # light grey + default_edge_color: str = format_color(32, 32, 32), # dark grey + default_vertex_color: str = format_color(8, 8, 8), # darker grey + pick_color: str = format_color(232, 176, 36), # orange + background_color: str = "white", + ) -> None: + """ + Initializes the JupyterRenderer. + + Args: + size (tuple, optional): The size of the renderer. + compute_normals_mode (NORMAL, optional): The mode for computing normals. + default_shape_color (str, optional): The default color for shapes. + default_edge_color (str, optional): The default color for edges. + default_vertex_color (str, optional): The default color for vertices. + pick_color (str, optional): The color for picked objects. + background_color (str, optional): The background color. """ self._default_shape_color = default_shape_color self._default_edge_color = default_edge_color @@ -346,21 +609,23 @@ def __init__(self, self._size = size self._compute_normals_mode = compute_normals_mode - self._bb = None # the bounding box, necessary to compute camera position + self._bb: Optional[BoundingBox] = ( + None # the bounding box, necessary to compute camera position + ) # the default camera object - self._camera_target = [0., 0., 0.] # the point to look at - self._camera_position = [0, 0., 100.] # the camera initial position + self._camera_target = [0.0, 0.0, 0.0] # the point to look at + self._camera_position = [0, 0.0, 100.0] # the camera initial position self._camera = None self._camera_distance_factor = 6 self._camera_initial_zoom = 2.5 - # a dictionnary of all the shapes belonging to the renderer + # a dictionary of all the shapes belonging to the renderer # each element is a key 'mesh_id:shape' - self._shapes = {} + self._shapes: Dict[str, Any] = {} # we save the renderer so that is can be accessed - self._renderer = None + self._renderer: Optional[Renderer] = None # the group of 3d and 2d objects to render self._displayed_pickable_objects = Group() @@ -369,119 +634,233 @@ def __init__(self, self._displayed_non_pickable_objects = Group() # event manager/selection manager - self._picker = None + self._picker: Optional[Picker] = None - self._current_shape_selection = None - self._current_mesh_selection = None - self._savestate = None + self._current_shape_selection: Optional[Any] = None + self._current_mesh_selection: Optional[Mesh] = None + self._savestate: Optional[Tuple[Any, Any]] = None self._selection_color = format_color(232, 176, 36) - self._select_callbacks = [] # a list of all functions called after an object is selected + self._select_callbacks: List[Callable] = ( + [] + ) # a list of all functions called after an object is selected # UI - self.layout = Layout(width='auto', height='auto') - self._toggle_shp_visibility_button = self.create_button("Hide/Show", "Toggle Shape Visibility", - True, self.toggle_shape_visibility) - self._shp_properties_button = Dropdown(options=['Compute', 'Inertia', 'Recognize Face', 'Aligned BBox', 'Oriented BBox'], - value='Compute', - description='', - layout=self.layout, - disabled=True) + self.layout = Layout(width="auto", height="auto") + self._toggle_shp_visibility_button = self.create_button( + "Hide/Show", "Toggle Shape Visibility", True, self.toggle_shape_visibility + ) + self._shp_properties_button = Dropdown( + options=[ + "Compute", + "Inertia", + "Recognize Face", + "Aligned BBox", + "Oriented BBox", + ], + value="Compute", + description="", + layout=self.layout, + disabled=True, + ) self._shp_properties_button.observe(self.on_compute_change) - self._remove_shp_button = self.create_button("Remove", "Permanently remove the shape from the Scene", - True, self.remove_shape) - self._controls = [self.create_checkbox("axes", "Axes", True, self.toggle_axes_visibility), - self.create_checkbox("grid", "Grid", True, self.toggle_grid_visibility), - self.create_button("Reset View", "Restore default view", False, self._reset), - self._shp_properties_button, - self._toggle_shp_visibility_button, - self._remove_shp_button] + self._remove_shp_button = self.create_button( + "Remove", + "Permanently remove the shape from the Scene", + True, + self.remove_shape, + ) + self._controls = [ + self.create_checkbox("axes", "Axes", True, self.toggle_axes_visibility), + self.create_checkbox("grid", "Grid", True, self.toggle_grid_visibility), + self.create_button( + "Reset View", "Restore default view", False, self._reset + ), + self._shp_properties_button, + self._toggle_shp_visibility_button, + self._remove_shp_button, + ] self.html = HTML("") - def create_button(self, description, tooltip, disabled, handler): - button = Button(disabled=disabled, tooltip=tooltip, - description=description, layout=self.layout) + def create_button( + self, description: str, tooltip: str, disabled: bool, handler: Callable + ) -> Button: + """ + Creates a button. + + Args: + description (str): The description of the button. + tooltip (str): The tooltip of the button. + disabled (bool): Whether the button is disabled. + handler: The handler for the button. + + Returns: + The created button. + """ + button = Button( + disabled=disabled, + tooltip=tooltip, + description=description, + layout=self.layout, + ) button.on_click(handler) return button - def create_checkbox(self, kind, description, value, handler): + def create_checkbox( + self, kind: str, description: str, value: bool, handler: Callable + ) -> Checkbox: + """ + Creates a checkbox. + + Args: + kind (str): The kind of the checkbox. + description (str): The description of the checkbox. + value (bool): The value of the checkbox. + handler: The handler for the checkbox. + + Returns: + The created checkbox. + """ checkbox = Checkbox(value=value, description=description, layout=self.layout) checkbox.observe(handler, "value") - checkbox.add_class("view_%s" % kind) + checkbox.add_class(f"view_{kind}") return checkbox - def remove_shape(self, *kargs): + def remove_shape(self, *kargs: Any) -> None: + """ + Removes the selected shape. + """ self.clicked_obj.visible = not self.clicked_obj.visible - # remove shape fro mthe mapping dict + # remove shape from the mapping dict cur_id = self.clicked_obj.name del self._shapes[cur_id] self._remove_shp_button.disabled = True - def on_compute_change(self, change): - if change['type'] == 'change' and change['name'] == 'value': - selection = change['new'] - output = "" - if 'Inertia' in selection: - cog, mass, mass_property = measure_shape_mass_center_of_gravity(self._current_shape_selection) - # display this point (type gp_Pnt) - self.DisplayShape([cog]) - output += "Center of Gravity:
Xcog=%.3f
Ycog=%.3f
Zcog=%.3f
" % (cog.X(), cog.Y(), cog.Z()) - output += "%s=:%.3f
" % (mass_property, mass) - elif 'Oriented' in selection: - center, dim, oobb_shp = get_oriented_boundingbox(self._current_shape_selection) - self.DisplayShape(oobb_shp, - render_edges=True, - transparency=True, - opacity=0.2, - selectable=False) - output += "OOBB center:
X=%.3f
Y=%.3f
Z=%.3f
" % (center.X(), center.Y(), center.Z()) - output += "OOBB dimensions:
dX=%.3f
dY=%.3f
dZ=%.3f
" % (dim[0], dim[1], dim[2]) - output += "OOBB volume:
V=%.3f
" % (dim[0] * dim[1] * dim[2]) - elif 'Aligned' in selection: - center, dim, albb_shp = get_aligned_boundingbox(self._current_shape_selection) - self.DisplayShape(albb_shp, - render_edges=True, - transparency=True, - opacity=0.2, - selectable=False) - output += "ABB center:
X=%.3f
Y=%.3f
Z=%.3f
" % (center.X(), center.Y(), center.Z()) - output += "ABB dimensions:
dX=%.3f
dY=%.3f
dZ=%.3f
" % (dim[0], dim[1], dim[2]) - output += "ABB volume:
V=%.3f
" % (dim[0] * dim[1] * dim[2]) - elif 'Recognize' in selection: - # try featrue recognition - kind, pnt, vec = recognize_face(self._current_shape_selection) - output += "Type: %s
" % kind - if kind == "Plane": - self.DisplayShape([pnt]) - output += "Properties:
" - output += "Point:
X=%.3f
Y=%.3f
Z=%.3f
" % (pnt.X(), pnt.Y(), pnt.Z()) - output += "Normal:
u=%.3f
v=%.3f
w=%.3f
" % (vec.X(), vec.Y(), vec.Z()) - elif kind == "Cylinder": - self.DisplayShape([pnt]) - output += "Properties:
" - output += "Axis point:
X=%.3f
Y=%.3f
Z=%.3f
" % (pnt.X(), pnt.Y(), pnt.Z()) - output += "Axis direction:
u=%.3f
v=%.3f
w=%.3f
" % (vec.X(), vec.Y(), vec.Z()) - self.html.value = output - - def toggle_shape_visibility(self, *kargs): + def on_compute_change(self, change: Dict[str, Any]) -> None: + """ + Called when the compute dropdown changes. + """ + if change["type"] != "change" or change["name"] != "value": + return + selection = change["new"] + output = "" + if "Inertia" in selection: + cog, mass, mass_property = measure_shape_mass_center_of_gravity( + self._current_shape_selection + ) + # display this point (type gp_Pnt) + self.DisplayShape([cog]) + output += ( + "Center of Gravity:
Xcog=%.3f
Ycog=%.3f
Zcog=%.3f
" + % (cog.X(), cog.Y(), cog.Z()) + ) + output += "%s=:%.3f
" % (mass_property, mass) + elif "Oriented" in selection: + center, dim, oobb_shp = get_oriented_boundingbox( + self._current_shape_selection + ) + self.DisplayShape( + oobb_shp, + render_edges=True, + transparency=True, + opacity=0.2, + selectable=False, + ) + output += ( + "OOBB center:
X=%.3f
Y=%.3f
Z=%.3f
" + % (center.X(), center.Y(), center.Z()) + ) + output += ( + "OOBB dimensions:
dX=%.3f
dY=%.3f
dZ=%.3f
" + % (dim[0], dim[1], dim[2]) + ) + output += "OOBB volume:
V=%.3f
" % ( + dim[0] * dim[1] * dim[2] + ) + elif "Aligned" in selection: + center, dim, albb_shp = get_aligned_boundingbox( + self._current_shape_selection + ) + self.DisplayShape( + albb_shp, + render_edges=True, + transparency=True, + opacity=0.2, + selectable=False, + ) + output += ( + "ABB center:
X=%.3f
Y=%.3f
Z=%.3f
" + % (center.X(), center.Y(), center.Z()) + ) + output += ( + "ABB dimensions:
dX=%.3f
dY=%.3f
dZ=%.3f
" + % (dim[0], dim[1], dim[2]) + ) + output += "ABB volume:
V=%.3f
" % ( + dim[0] * dim[1] * dim[2] + ) + elif "Recognize" in selection: + # try featrue recognition + kind, pnt, vec = recognize_face(self._current_shape_selection) + output += f"Type: {kind}
" + if kind == "Plane": + self.DisplayShape([pnt]) + output += "Properties:
" + output += ( + "Point:
X=%.3f
Y=%.3f
Z=%.3f
" + % (pnt.X(), pnt.Y(), pnt.Z()) + ) + output += ( + "Normal:
u=%.3f
v=%.3f
w=%.3f
" + % (vec.X(), vec.Y(), vec.Z()) + ) + elif kind == "Cylinder": + self.DisplayShape([pnt]) + output += "Properties:
" + output += ( + "Axis point:
X=%.3f
Y=%.3f
Z=%.3f
" + % (pnt.X(), pnt.Y(), pnt.Z()) + ) + output += ( + "Axis direction:
u=%.3f
v=%.3f
w=%.3f
" + % (vec.X(), vec.Y(), vec.Z()) + ) + self.html.value = output + + def toggle_shape_visibility(self, *kargs: Any) -> None: + """ + Toggles the visibility of the selected shape. + """ self.clicked_obj.visible = not self.clicked_obj.visible - def toggle_axes_visibility(self, change): + def toggle_axes_visibility(self, change: Dict[str, Any]) -> None: + """ + Toggles the visibility of the axes. + """ self.axes.set_visibility(_bool_or_new(change)) - def toggle_grid_visibility(self, change): + def toggle_grid_visibility(self, change: Dict[str, Any]) -> None: + """ + Toggles the visibility of the grid. + """ self.horizontal_grid.set_visibility(_bool_or_new(change)) self.vertical_grid.set_visibility(_bool_or_new(change)) - def click(self, value): - """ called whenever a shape or edge is clicked + def click(self, value: Any) -> None: + """ + Called whenever a shape or edge is clicked. + + Args: + value: The clicked object. """ obj = value.owner.object self.clicked_obj = obj if self._current_mesh_selection != obj: if self._current_mesh_selection is not None: - self._current_mesh_selection.material.color = self._current_selection_material_color + self._current_mesh_selection.material.color = ( + self._current_selection_material_color + ) self._current_mesh_selection.material.transparent = False self._current_mesh_selection = None self._current_selection_material_color = None @@ -503,8 +882,10 @@ def click(self, value): obj.material.opacity = 0.5 # get the shape from this mesh id selected_shape = self._shapes[id_clicked] - html_value = "Shape type: %s
" % get_type_as_string(selected_shape) - html_value += "Shape id: %s
" % id_clicked + html_value = "Shape type: %s
" % get_type_as_string( + selected_shape + ) + html_value += f"Shape id: {id_clicked}
" self.html.value = html_value self._current_shape_selection = selected_shape else: @@ -513,72 +894,100 @@ def click(self, value): for callback in self._select_callbacks: callback(self._current_shape_selection) - def register_select_callback(self, callback): - """ Adds a callback that will be called each time a shape is selected + def register_select_callback(self, callback: Callable) -> None: + """ + Adds a callback that will be called each time a shape is selected. + + Args: + callback: The callback to add. """ if not callable(callback): raise AssertionError("You must provide a callable to register the callback") else: self._select_callbacks.append(callback) - def unregister_callback(self, callback): - """ Remove a callback from the callback list + def unregister_callback(self, callback: Callable) -> None: + """ + Removes a callback from the callback list. + + Args: + callback: The callback to remove. """ if callback not in self._select_callbacks: raise AssertionError("This callback is not registered") else: self._select_callbacks.remove(callback) - def GetSelectedShape(self): - """ Returns the selected shape + def GetSelectedShape(self) -> Any: + """ + Returns the selected shape. """ return self._current_shape_selection - def DisplayShapeAsSVG(self, - shp, - export_hidden_edges=True, - location=gp_Pnt(0, 0, 0), - direction=gp_Dir(1, 1, 1), - color="black", - line_width=0.5): - svg_string = export_shape_to_svg(shp, export_hidden_edges=export_hidden_edges, - location=location, direction=direction, - color=color, line_width=line_width, - margin_left=0, margin_top=0) + def DisplayShapeAsSVG( + self, + shp: Any, + export_hidden_edges: bool = True, + location: gp_Pnt = gp_Pnt(0, 0, 0), + direction: gp_Dir = gp_Dir(1, 1, 1), + color: str = "black", + line_width: float = 0.5, + ) -> None: + """ + Displays a shape as an SVG. + + Args: + shp: The shape to display. + export_hidden_edges (bool, optional): Whether to export hidden edges. + location (gp_Pnt, optional): The location of the camera. + direction (gp_Dir, optional): The direction of the camera. + color (str, optional): The color of the shape. + line_width (float, optional): The width of the lines. + """ + svg_string = export_shape_to_svg( + shp, + export_hidden_edges=export_hidden_edges, + location=location, + direction=direction, + color=color, + line_width=line_width, + margin_left=0, + margin_top=0, + ) svg = SVG(data=svg_string) display(svg) - def DisplayShape(self, - shp, - shape_color=None, - render_edges=False, - edge_color=None, - edge_deflection=0.05, - vertex_color=None, - quality=1.0, - transparency=False, - opacity=1., - topo_level='default', - update=False, - selectable=True): - """ Displays a topods_shape in the renderer instance. - shp: the TopoDS_Shape to render - shape_color: the shape color, in html corm, eg '#abe000' - render_edges: optional, False by default. If True, compute and dislay all - edges as a linear interpolation of segments. - edge_color: optional, black by default. The color used for edge rendering, - in html form eg '#ff00ee' - edge_deflection: optional, 0.05 by default - vertex_color: optional - quality: optional, 1.0 by default. If set to something lower than 1.0, - mesh will be more precise. If set to something higher than 1.0, - mesh will be less precise, i.e. lower numer of triangles. - transparency: optional, False by default (opaque). - opacity: optional, float, by default to 1 (opaque). if transparency is set to True, - 0. is fully opaque, 1. is fully transparent. - topo_level: "default" by default. The value should be either "compound", "shape", "vertex". - update: optional, False by default. If True, render all the shapes. - selectable: if True, can be doubleclicked from the 3d window + def DisplayShape( + self, + shp: Any, + shape_color: Optional[str] = None, + render_edges: bool = False, + edge_color: Optional[str] = None, + edge_deflection: float = 0.05, + vertex_color: Optional[str] = None, + quality: float = 1.0, + transparency: bool = False, + opacity: float = 1.0, + topo_level: str = "default", + update: bool = False, + selectable: bool = True, + ) -> None: + """ + Displays a shape in the renderer. + + Args: + shp: The shape to display. + shape_color (str, optional): The color of the shape. + render_edges (bool, optional): Whether to render the edges. + edge_color (str, optional): The color of the edges. + edge_deflection (float, optional): The deflection of the edges. + vertex_color (str, optional): The color of the vertices. + quality (float, optional): The quality of the mesh. + transparency (bool, optional): Whether the shape is transparent. + opacity (float, optional): The opacity of the shape. + topo_level (str, optional): The topological level to display. + update (bool, optional): Whether to update the renderer. + selectable (bool, optional): Whether the shape is selectable. """ if edge_color is None: edge_color = self._default_edge_color @@ -587,7 +996,7 @@ def DisplayShape(self, if vertex_color is None: vertex_color = self._default_vertex_color - output = [] # a list of all geometries created from the shape + output: List[Any] = [] # a list of all geometries created from the shape # is it list of gp_Pnt ? if isinstance(shp, list) and isinstance(shp[0], gp_Pnt): result = self.AddVerticesToScene(shp, vertex_color) @@ -598,29 +1007,60 @@ def DisplayShape(self, output.append(result) elif topo_level != "default": t = TopologyExplorer(shp) - map_type_and_methods = {"Solid": t.solids, "Face": t.faces, "Shell": t.shells, - "Compound": t.compounds, "Compsolid": t.comp_solids} + map_type_and_methods = { + "Solid": t.solids, + "Face": t.faces, + "Shell": t.shells, + "Compound": t.compounds, + "Compsolid": t.comp_solids, + } for subshape in map_type_and_methods[topo_level](): - result = self.AddShapeToScene(subshape, shape_color, render_edges, edge_color, - vertex_color, quality, transparency, opacity) + result = self.AddShapeToScene( + subshape, + shape_color, + render_edges, + edge_color, + vertex_color, + quality, + transparency, + opacity, + ) output.append(result) else: - result = self.AddShapeToScene(shp, shape_color, render_edges, - edge_color, vertex_color, quality, - transparency, opacity) + result = self.AddShapeToScene( + shp, + shape_color, + render_edges, + edge_color, + vertex_color, + quality, + transparency, + opacity, + ) output.append(result) - if selectable:# Add geometries to pickable or non pickable objects + if selectable: # Add geometries to pickable or non pickable objects for elem in output: self._displayed_pickable_objects.add(elem) if update: self.Display() - def AddVerticesToScene(self, pnt_list, vertex_color, vertex_width=5): - """ shp is a list of gp_Pnt + def AddVerticesToScene( + self, pnt_list: List[gp_Pnt], vertex_color: str, vertex_width: int = 5 + ) -> Points: """ - vertices_list = [] # will be passed to pythreejs + Adds a list of vertices to the scene. + + Args: + pnt_list (list): A list of gp_Pnt objects. + vertex_color (str): The color of the vertices. + vertex_width (int, optional): The width of the vertices. Defaults to 5. + + Returns: + The created Points object. + """ + vertices_list: List[List[float]] = [] # will be passed to pythreejs BB = BRep_Builder() compound = TopoDS_Compound() BB.MakeCompound(compound) @@ -632,18 +1072,28 @@ def AddVerticesToScene(self, pnt_list, vertex_color, vertex_width=5): # map the Points and the AIS_PointCloud # and to the dict of shapes, to have a mapping between meshes and shapes - point_cloud_id = "%s" % uuid.uuid4().hex + point_cloud_id = f"{uuid.uuid4().hex}" self._shapes[point_cloud_id] = compound - vertices_list = np.array(vertices_list, dtype=np.float32) - attributes = {"position": BufferAttribute(vertices_list, normalized=False)} - mat = PointsMaterial(color=vertex_color, sizeAttenuation=True, size=vertex_width) + np_vertices_list = np.array(vertices_list, dtype=np.float32) + attributes = {"position": BufferAttribute(np_vertices_list, normalized=False)} + mat = PointsMaterial( + color=vertex_color, sizeAttenuation=True, size=vertex_width + ) geom = BufferGeometry(attributes=attributes) - points = Points(geometry=geom, material=mat, name=point_cloud_id) - return points + return Points(geometry=geom, material=mat, name=point_cloud_id) - def AddCurveToScene(self, shp, edge_color, deflection): - """ shp is either a TopoDS_Wire or a TopodS_Edge. + def AddCurveToScene(self, shp: Any, edge_color: str, deflection: float) -> Line: + """ + Adds a curve to the scene. + + Args: + shp: The curve to add. + edge_color (str): The color of the curve. + deflection (float): The deflection of the curve. + + Returns: + The created Line object. """ if is_edge(shp): pnts = discretize_edge(shp, deflection) @@ -651,41 +1101,52 @@ def AddCurveToScene(self, shp, edge_color, deflection): pnts = discretize_wire(shp, deflection) np_edge_vertices = np.array(pnts, dtype=np.float32) np_edge_indices = np.arange(np_edge_vertices.shape[0], dtype=np.uint32) - edge_geometry = BufferGeometry(attributes={ - 'position': BufferAttribute(np_edge_vertices), - 'index': BufferAttribute(np_edge_indices) - }) + edge_geometry = BufferGeometry( + attributes={ + "position": BufferAttribute(np_edge_vertices), + "index": BufferAttribute(np_edge_indices), + } + ) edge_material = LineBasicMaterial(color=edge_color, linewidth=1) # and to the dict of shapes, to have a mapping between meshes and shapes - edge_id = "%s" % uuid.uuid4().hex + edge_id = f"{uuid.uuid4().hex}" self._shapes[edge_id] = shp - edge_line = Line(geometry=edge_geometry, - material=edge_material, - name=edge_id) - - # and to the dict of shapes, to have a mapping between meshes and shapes - edge_id = "%s" % uuid.uuid4().hex - self._shapes[edge_id] = shp + edge_line = Line(geometry=edge_geometry, material=edge_material, name=edge_id) return edge_line - - def AddShapeToScene(self, - shp, - shape_color=None, # the default - render_edges=False, - edge_color=None, - vertex_color=None, - quality=1.0, - transparency=False, - opacity=1.): - # first, compute the tesselation + def AddShapeToScene( + self, + shp: Any, + shape_color: Optional[str] = None, # the default + render_edges: bool = False, + edge_color: Optional[str] = None, + vertex_color: Optional[str] = None, + quality: float = 1.0, + transparency: bool = False, + opacity: float = 1.0, + ) -> Any: + """ + Adds a shape to the scene. + + Args: + shp: The shape to add. + shape_color (str, optional): The color of the shape. + render_edges (bool, optional): Whether to render the edges. + edge_color (str, optional): The color of the edges. + vertex_color (str, optional): The color of the vertices. + quality (float, optional): The quality of the mesh. + transparency (bool, optional): Whether the shape is transparent. + opacity (float, optional): The opacity of the shape. + + Returns: + The created Mesh object. + """ + # first, compute the tessellation tess = ShapeTesselator(shp) - tess.Compute(compute_edges=render_edges, - mesh_quality=quality, - parallel=True) + tess.Compute(compute_edges=render_edges, mesh_quality=quality, parallel=True) # get vertices and normals vertices_position = tess.GetVerticesPositionAsTuple() @@ -699,45 +1160,59 @@ def AddShapeToScene(self, raise AssertionError("Wrong number of triangles") # then we build the vertex and faces collections as numpy ndarrays - np_vertices = np.array(vertices_position, dtype='float32').reshape(int(number_of_vertices / 3), 3) + np_vertices = np.array(vertices_position, dtype="float32").reshape( + number_of_vertices // 3, 3 + ) # Note: np_faces is just [0, 1, 2, 3, 4, 5, ...], thus arange is used - np_faces = np.arange(np_vertices.shape[0], dtype='uint32') + np_faces = np.arange(np_vertices.shape[0], dtype="uint32") # set geometry properties - buffer_geometry_properties = {'position': BufferAttribute(np_vertices), - 'index': BufferAttribute(np_faces)} + buffer_geometry_properties = { + "position": BufferAttribute(np_vertices), + "index": BufferAttribute(np_faces), + } if self._compute_normals_mode == NORMAL.SERVER_SIDE: # get the normal list, converts to a numpy ndarray. This should not raise # any issue, since normals have been computed by the server, and are available # as a list of floats - np_normals = np.array(tess.GetNormalsAsTuple(), dtype='float32').reshape(-1, 3) + np_normals = np.array(tess.GetNormalsAsTuple(), dtype="float32").reshape( + -1, 3 + ) # quick check if np_normals.shape != np_vertices.shape: raise AssertionError("Wrong number of normals/shapes") - buffer_geometry_properties['normal'] = BufferAttribute(np_normals) + buffer_geometry_properties["normal"] = BufferAttribute(np_normals) # build a BufferGeometry instance shape_geometry = BufferGeometry(attributes=buffer_geometry_properties) # if the client has to render normals, add the related js instructions if self._compute_normals_mode == NORMAL.CLIENT_SIDE: - shape_geometry.exec_three_obj_method('computeVertexNormals') + shape_geometry.exec_three_obj_method("computeVertexNormals") # then a default material - shp_material = self._material(shape_color, transparent=transparency, opacity=opacity) + shp_material = self._material( + shape_color, transparent=transparency, opacity=opacity + ) # and to the dict of shapes, to have a mapping between meshes and shapes - mesh_id = "%s" % uuid.uuid4().hex + mesh_id = f"{uuid.uuid4().hex}" self._shapes[mesh_id] = shp # finally create the mesh - shape_mesh = Mesh(geometry=shape_geometry, - material=shp_material, - name=mesh_id) + shape_mesh = Mesh(geometry=shape_geometry, material=shp_material, name=mesh_id) # edge rendering, if set to True if render_edges: - edges = list(map(lambda i_edge: [tess.GetEdgeVertex(i_edge, i_vert) for i_vert in range(tess.ObjEdgeGetVertexCount(i_edge))], range(tess.ObjGetEdgeCount()))) + edges = list( + map( + lambda i_edge: [ + tess.GetEdgeVertex(i_edge, i_vert) + for i_vert in range(tess.ObjEdgeGetVertexCount(i_edge)) + ], + range(tess.ObjGetEdgeCount()), + ) + ) edge_list = _flatten(list(map(_explode, edges))) lines = LineSegmentsGeometry(positions=edge_list) mat = LineMaterial(linewidth=1, color=edge_color) @@ -746,14 +1221,21 @@ def AddShapeToScene(self, return shape_mesh - def _scale(self, vec): + def _scale(self, vec: List[float]) -> List[float]: + """ + Scales a vector. + """ r = self._bb._max_dist_from_center() * self._camera_distance_factor n = np.linalg.norm(vec) - new_vec = [v / n * r for v in vec] - return new_vec + return [v / n * r for v in vec] - def _material(self, color, transparent=False, opacity=1.0): - #material = MeshPhongMaterial() + def _material( + self, color: str, transparent: bool = False, opacity: float = 1.0 + ) -> CustomMaterial: + """ + Creates a material. + """ + # material = MeshPhongMaterial() material = CustomMaterial("standard") material.color = color material.clipping = True @@ -763,11 +1245,15 @@ def _material(self, color, transparent=False, opacity=1.0): material.polygonOffsetUnits = 1 material.transparent = transparent material.opacity = opacity + material.alpha = opacity material.update("metalness", 0.3) material.update("roughness", 0.8) return material - def EraseAll(self): + def EraseAll(self) -> None: + """ + Erases all shapes from the renderer. + """ self._shapes = {} self._displayed_pickable_objects = Group() self._current_shape_selection = None @@ -775,97 +1261,143 @@ def EraseAll(self): self._current_selection_material = None self._renderer.scene = Scene(children=[]) - def Display(self, position=None, rotation=None): + def Display( + self, + position: Optional[Tuple[float, float, float]] = None, + rotation: Optional[Tuple[float, float, float]] = None, + ) -> None: + """ + Displays the renderer. + + Args: + position (tuple, optional): The position of the camera. + rotation (tuple, optional): The rotation of the camera. + """ # Get the overall bounding box if self._shapes: - self._bb = BoundingBox([self._shapes.values()]) + self._bb = BoundingBox(list(self._shapes.values())) else: # if nothing registered yet, create a fake bb - self._bb = BoundingBox([[BRepPrimAPI_MakeSphere(5.).Shape()]]) + self._bb = BoundingBox([BRepPrimAPI_MakeSphere(5.0).Shape()]) bb_max = self._bb.max orbit_radius = 1.5 * self._bb._max_dist_from_center() # Set up camera camera_target = self._bb.center - camera_position = _add(self._bb.center, - self._scale([1, 1, 1] if position is None else self._scale(position))) + camera_position = _add( + self._bb.center, + self._scale([1, 1, 1] if position is None else self._scale(position)), + ) camera_zoom = self._camera_initial_zoom - self._camera = CombinedCamera(position=camera_position, - width=self._size[0], height=self._size[1]) + self._camera = CombinedCamera( + position=camera_position, width=self._size[0], height=self._size[1] + ) self._camera.up = (0.0, 0.0, 1.0) - self._camera.mode = 'orthographic' + self._camera.mode = "orthographic" self._camera_target = camera_target self._camera.position = camera_position if rotation is not None: self._camera.rotation = rotation # Set up lights in every of the 8 corners of the global bounding box positions = list(itertools.product(*[(-orbit_radius, orbit_radius)] * 3)) - key_lights = [DirectionalLight(color='white', - position=pos, - intensity=0.5) for pos in positions] + key_lights = [ + DirectionalLight(color="white", position=pos, intensity=0.5) + for pos in positions + ] ambient_light = AmbientLight(intensity=0.1) # Set up Helpers self.axes = Axes(bb_center=self._bb.center, length=bb_max * 1.1) - self.horizontal_grid = Grid(bb_center=self._bb.center, maximum=bb_max, - colorCenterLine='#aaa', colorGrid='#ddd') - self.vertical_grid = Grid(bb_center=self._bb.center, maximum=bb_max, - colorCenterLine='#aaa', colorGrid='#ddd') + self.horizontal_grid = Grid( + bb_center=self._bb.center, + maximum=bb_max, + colorCenterLine="#aaa", + colorGrid="#ddd", + ) + self.vertical_grid = Grid( + bb_center=self._bb.center, + maximum=bb_max, + colorCenterLine="#aaa", + colorGrid="#ddd", + ) # Set up scene - environment = self.axes.axes + key_lights + [ambient_light, - self.horizontal_grid.grid, - self.vertical_grid.grid, - self._camera] - - scene_shp = Scene(children=[self._displayed_pickable_objects, - self._displayed_non_pickable_objects] + environment) + environment = ( + self.axes.axes + + key_lights + + [ + ambient_light, + self.horizontal_grid.grid, + self.vertical_grid.grid, + self._camera, + ] + ) + + scene_shp = Scene( + children=[ + self._displayed_pickable_objects, + self._displayed_non_pickable_objects, + ] + + environment + ) # Set up Controllers - self._controller = OrbitControls(controlling=self._camera, - target=camera_target, - target0=camera_target) + self._controller = OrbitControls(controlling=self._camera, target=camera_target) # Update controller to instantiate camera position self._camera.zoom = camera_zoom self._update() # setup Picker - self._picker = Picker(controlling=self._displayed_pickable_objects, event='dblclick') + self._picker = Picker( + controlling=self._displayed_pickable_objects, event="dblclick" + ) self._picker.observe(self.click) - self._renderer = Renderer(camera=self._camera, - background=self._background, - background_opacity=self._background_opacity, - scene=scene_shp, - controls=[self._controller, self._picker], - width=self._size[0], - height=self._size[1], - antialias=True) + self._renderer = Renderer( + camera=self._camera, + background=self._background, + background_opacity=self._background_opacity, + scene=scene_shp, + controls=[self._controller, self._picker], + width=self._size[0], + height=self._size[1], + antialias=True, + ) # set rotation and position for each grid self.horizontal_grid.set_position((0, 0, 0)) self.horizontal_grid.set_rotation((math.pi / 2.0, 0, 0, "XYZ")) - self.vertical_grid.set_position((0, - bb_max, 0)) + self.vertical_grid.set_position((0, -bb_max, 0)) self._savestate = (self._camera.rotation, self._controller.target) # then display both 3d widgets and webui - display(HBox([VBox([HBox(self._controls), self._renderer]), - self.html])) + display(HBox([VBox([HBox(self._controls), self._renderer]), self.html])) + def ExportToHTML(self, filename: str) -> None: + """ + Exports the renderer to an HTML file. - def ExportToHTML(self, filename): - embed.embed_minimal_html(filename, views=self._renderer, title='pythonocc') + Args: + filename (str): The name of the file to export to. + """ + embed.embed_minimal_html(filename, views=self._renderer, title="pythonocc") - def _reset(self, *kargs): + def _reset(self, *kargs: Any) -> None: + """ + Resets the camera. + """ self._camera.rotation, self._controller.target = self._savestate self._camera.position = _add(self._bb.center, self._scale((1, 1, 1))) self._camera.zoom = self._camera_initial_zoom self._update() - def _update(self): - self._controller.exec_three_obj_method('update') + def _update(self) -> None: + """ + Updates the controller. + """ + self._controller.exec_three_obj_method("update") - def __repr__(self): + def __repr__(self) -> str: self.Display() return "" diff --git a/src/Display/WebGl/jupyter_renderer.pyi b/src/Display/WebGl/jupyter_renderer.pyi new file mode 100644 index 000000000..e1e167108 --- /dev/null +++ b/src/Display/WebGl/jupyter_renderer.pyi @@ -0,0 +1,158 @@ +from typing import Any, Callable, Dict, List, Optional, Tuple, Union + +from OCC.Core.gp import gp_Dir, gp_Pnt +from pythreejs import ( + Button, + Checkbox, + Line, + Points, + ShaderMaterial, +) + +def _add(vec1: List[float], vec2: List[float]) -> List[float]: ... +def _explode(edge_list: List[List[float]]) -> List[List[List[float]]]: ... +def _flatten(nested_dict: Dict[Any, Any]) -> List[Any]: ... +def format_color(r: int, g: int, b: int) -> str: ... +def _distance(v1: List[float], v2: List[float]) -> float: ... +def _bool_or_new(val: Union[bool, Dict[str, Any]]) -> bool: ... +def _opt(b1: Tuple[float, ...], b2: Tuple[float, ...]) -> Tuple[float, ...]: ... +def _shift(v: List[float], offset: List[float]) -> List[float]: ... +def _nice_number(value: float, round_: bool = False) -> float: ... +def _nice_bounds( + axis_start: float, axis_end: float, num_ticks: int = 10 +) -> Tuple[float, float, float]: ... + +class Helpers: + def __init__(self, bb_center: Tuple[float, float, float]) -> None: ... + def _center(self, zero: bool = True) -> Tuple[float, float, float]: ... + def set_position(self, position: Tuple[float, float, float]) -> None: ... + def set_visibility(self, change: bool) -> None: ... + def set_center(self, change: bool) -> None: ... + +class Grid(Helpers): + def __init__( + self, + bb_center: Optional[Tuple[float, float, float]] = None, + maximum: int = 5, + ticks: int = 10, + colorCenterLine: str = "#aaa", + colorGrid: str = "#ddd", + ) -> None: ... + def set_position(self, position: Tuple[float, float, float]) -> None: ... + def set_visibility(self, change: bool) -> None: ... + def set_rotation(self, rotation: Tuple[float, float, float, str]) -> None: ... + +class Axes(Helpers): + def __init__( + self, + bb_center: Tuple[float, float, float], + length: int = 1, + width: int = 3, + display_labels: bool = False, + ) -> None: ... + def set_position(self, position: Tuple[float, float, float]) -> None: ... + def set_visibility(self, change: bool) -> None: ... + +class CustomMaterial(ShaderMaterial): + def __init__(self, typ: str) -> None: ... + @property + def color(self) -> str: ... + @color.setter + def color(self, value: str) -> None: ... + @property + def alpha(self) -> float: ... + @alpha.setter + def alpha(self, value: float) -> None: ... + def update(self, key: str, value: Any) -> None: ... + +class BoundingBox: + def __init__(self, objects: List[Any], tol: float = 1e-5) -> None: ... + def _max_dist_from_center(self) -> float: ... + def _max_dist_from_origin(self) -> float: ... + def _bounding_box(self, obj: Any, tol: float = 1e-5) -> Tuple[float, ...]: ... + def _bbox(self, objects: List[Any]) -> Tuple[float, ...]: ... + def __repr__(self) -> str: ... + +class NORMAL: + SERVER_SIDE: int + CLIENT_SIDE: int + +class JupyterRenderer: + def __init__( + self, + size: Tuple[int, int] = (640, 480), + compute_normals_mode: int = ..., + default_shape_color: str = ..., + default_edge_color: str = ..., + default_vertex_color: str = ..., + pick_color: str = ..., + background_color: str = "white", + ) -> None: ... + def create_button( + self, description: str, tooltip: str, disabled: bool, handler: Callable + ) -> Button: ... + def create_checkbox( + self, kind: str, description: str, value: bool, handler: Callable + ) -> Checkbox: ... + def remove_shape(self, *kargs: Any) -> None: ... + def on_compute_change(self, change: Dict[str, Any]) -> None: ... + def toggle_shape_visibility(self, *kargs: Any) -> None: ... + def toggle_axes_visibility(self, change: Dict[str, Any]) -> None: ... + def toggle_grid_visibility(self, change: Dict[str, Any]) -> None: ... + def click(self, value: Any) -> None: ... + def register_select_callback(self, callback: Callable) -> None: ... + def unregister_callback(self, callback: Callable) -> None: ... + def GetSelectedShape(self) -> Any: ... + def DisplayShapeAsSVG( + self, + shp: Any, + export_hidden_edges: bool = True, + location: gp_Pnt = ..., + direction: gp_Dir = ..., + color: str = "black", + line_width: float = 0.5, + ) -> None: ... + def DisplayShape( + self, + shp: Any, + shape_color: Optional[str] = None, + render_edges: bool = False, + edge_color: Optional[str] = None, + edge_deflection: float = 0.05, + vertex_color: Optional[str] = None, + quality: float = 1.0, + transparency: bool = False, + opacity: float = 1.0, + topo_level: str = "default", + update: bool = False, + selectable: bool = True, + ) -> None: ... + def AddVerticesToScene( + self, pnt_list: List[gp_Pnt], vertex_color: str, vertex_width: int = 5 + ) -> Points: ... + def AddCurveToScene(self, shp: Any, edge_color: str, deflection: float) -> Line: ... + def AddShapeToScene( + self, + shp: Any, + shape_color: Optional[str] = None, + render_edges: bool = False, + edge_color: Optional[str] = None, + vertex_color: Optional[str] = None, + quality: float = 1.0, + transparency: bool = False, + opacity: float = 1.0, + ) -> Any: ... + def _scale(self, vec: List[float]) -> List[float]: ... + def _material( + self, color: str, transparent: bool = False, opacity: float = 1.0 + ) -> CustomMaterial: ... + def EraseAll(self) -> None: ... + def Display( + self, + position: Optional[Tuple[float, float, float]] = None, + rotation: Optional[Tuple[float, float, float]] = None, + ) -> None: ... + def ExportToHTML(self, filename: str) -> None: ... + def _reset(self, *kargs: Any) -> None: ... + def _update(self) -> None: ... + def __repr__(self) -> str: ... diff --git a/src/Display/WebGl/simple_server.py b/src/Display/WebGl/simple_server.py index 48dac94d6..cdaff653c 100644 --- a/src/Display/WebGl/simple_server.py +++ b/src/Display/WebGl/simple_server.py @@ -15,7 +15,7 @@ ##You should have received a copy of the GNU Lesser General Public License ##along with pythonOCC. If not, see . -""" A very simple webserver. """ +"""A very simple webserver.""" import os import socket @@ -23,16 +23,25 @@ import errno -def get_available_port(port): - """ sometimes, the python webserver is closed but the - port is not made available for a further call. So let's find - any available port to prevent such issue. This function: - * takes a port number (an integer), above 1024 - * check if it is available - * if not, take another one - * returns the port numer +def get_available_port(port: int) -> int: """ - if not port > 1024: + Gets an available port. + + Sometimes, the python webserver is closed but the port is not made + available for a further call. So let's find any available port to + prevent such issue. This function: + - takes a port number (an integer), above 1024 + - check if it is available + - if not, take another one + - returns the port number + + Args: + port (int): The port to check. + + Returns: + int: An available port. + """ + if port <= 1024: raise AssertionError("port number should be > 1024") # check this port is available s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) @@ -51,50 +60,96 @@ def get_available_port(port): return port -def start_server(addr="127.0.0.1", port=8080, x3d_path='.', open_webbrowser=False): - """ starts the server if the PYTHONOCC_SHUNT_WEB_SERVER - env var is not set - * port: the port number to use (if available) ; - * path: where thehtml files are located - * open_webbrower: if True, open the web browser to the correct url +def get_interface_ip(family: socket.AddressFamily) -> str: + """ + Get the IP address of an external interface. + + Used when binding to 0.0.0.0 or ::1 to show a more useful URL. + Inspired by `werkzeug`. + + Args: + family (socket.AddressFamily): The address family. + + Returns: + str: The IP address. + """ + # arbitrary private address + host = "2001:db8::1" if family == socket.AF_INET6 else "192.0.2.1" + + with socket.socket(family, socket.SOCK_DGRAM) as s: + try: + s.connect((host, 58162)) + except OSError: + return "::1" if family == socket.AF_INET6 else "127.0.0.1" + + return s.getsockname()[0] # type: ignore + + +def start_server( + addr: str = "127.0.0.1", + port: int = 8080, + x3d_path: str = ".", + open_webbrowser: bool = False, +) -> None: + """ + Starts a simple web server. + + The server is started if the PYTHONOCC_SHUNT_WEB_SERVER environment + variable is not set. + + Args: + addr (str, optional): The address to bind to. + port (int, optional): The port to use. + x3d_path (str, optional): The path to the HTML files. + open_webbrowser (bool, optional): Whether to open a web browser. """ if os.getenv("PYTHONOCC_SHUNT_WEB_SERVER") == "1": return False # prefer using Flask, if installed try: from flask import Flask, send_from_directory + HAVE_FLASK = True except ImportError: HAVE_FLASK = False if not HAVE_FLASK: # use simple http server from http.server import SimpleHTTPRequestHandler, HTTPServer + os.chdir(x3d_path) port = get_available_port(port) httpd = HTTPServer((addr, port), SimpleHTTPRequestHandler) - print("\n## Serving %s \n## using SimpleHTTPServer" % x3d_path) - print("## Open your webbrowser at the URL: http://localhost:%i" % port) - print("## CTRL-C to shutdown the server") + print(f"\n## Serving {x3d_path} using SimpleHTTPServer") + display_hostname = "localhost" + if ( + addr == "0.0.0.0" + ): # Did not consider ipv6 `::` because httpd does not support it + display_hostname = get_interface_ip(socket.AF_INET) + print(f"## Running on all addresses ({addr})") + print( + "## Open your webbrowser at the URL: http://%s:%i" + % (display_hostname, port) + ) # open webbrowser if open_webbrowser: - webbrowser.open('http://localhost:%i' % port, new=2) + webbrowser.open("http://%s:%i" % (display_hostname, port), new=2) # starts the web_server httpd.serve_forever() else: # use flask # set the project root directory as the static folder, you can set others. app = Flask(__name__) - @app.route('/') + @app.route("/") def root(): - fp = open(os.path.join(x3d_path, 'index.html')) - html_content = fp.read() - fp.close() + with open(os.path.join(x3d_path, "index.html")) as fp: + html_content = fp.read() return html_content - @app.route('/') + + @app.route("/") def send_x3d_content(path): return send_from_directory(x3d_path, path) - print("\n## Serving %s \n## using Flask" % x3d_path) - print("## Open your webbrowser at the URL: http://localhost:%i" % port) - print("## CTRL-C to shutdown the server") + + print(f"\n## Serving {x3d_path} using Flask") + port = get_available_port(port) app.run(host=addr, port=port) @@ -102,4 +157,4 @@ def send_x3d_content(path): if __name__ == "__main__": get_available_port(port=8080) get_available_port(port=5022) - start_server(port=8080) + start_server(addr="0.0.0.0", port=8080) diff --git a/src/Display/WebGl/simple_server.pyi b/src/Display/WebGl/simple_server.pyi new file mode 100644 index 000000000..6cf35c6d3 --- /dev/null +++ b/src/Display/WebGl/simple_server.pyi @@ -0,0 +1,10 @@ +import socket + +def get_available_port(port: int) -> int: ... +def get_interface_ip(family: socket.AddressFamily) -> str: ... +def start_server( + addr: str = "127.0.0.1", + port: int = 8080, + x3d_path: str = ".", + open_webbrowser: bool = False, +) -> None: ... diff --git a/src/Display/WebGl/templates/index.html b/src/Display/WebGl/templates/index.html index ad576aab3..758baa921 100644 --- a/src/Display/WebGl/templates/index.html +++ b/src/Display/WebGl/templates/index.html @@ -56,8 +56,6 @@
pythonocc-{{ occ_version }} three.js {{ threejs_version }} renderer -
Check our blog at - http://www.pythonocc.org
t view/hide shape
diff --git a/src/Display/WebGl/threejs_renderer.py b/src/Display/WebGl/threejs_renderer.py index 4fd12a744..167905b82 100644 --- a/src/Display/WebGl/threejs_renderer.py +++ b/src/Display/WebGl/threejs_renderer.py @@ -1,4 +1,4 @@ -##Copyright 2011-2019 Thomas Paviot (tpaviot@gmail.com) +##Copyright 2011-2024 Thomas Paviot (tpaviot@gmail.com) ## ##This file is part of pythonOCC. ## @@ -15,72 +15,98 @@ ##You should have received a copy of the GNU Lesser General Public License ##along with pythonOCC. If not, see . +import json import os +from string import Template import sys import tempfile import uuid -import json +from typing import Any, Dict, Generator, List, Optional, Tuple from OCC.Core.gp import gp_Vec from OCC.Core.Tesselator import ShapeTesselator -from OCC import VERSION as OCC_VERSION +from OCC import VERSION from OCC.Extend.TopologyUtils import is_edge, is_wire, discretize_edge, discretize_wire from OCC.Display.WebGl.simple_server import start_server -THREEJS_RELEASE = "r113" -def spinning_cursor(): +def spinning_cursor() -> Generator[str, None, None]: + """ + A spinning cursor generator. + """ while True: - for cursor in '|/-\\': - yield cursor + yield from "|/-\\" + + +def color_to_hex(rgb_color: Tuple[float, float, float]) -> str: + """ + Converts a color from RGB to a hex string. + + Args: + rgb_color (tuple): A tuple of 3 floats (R, G, B) between 0 and 1. -def color_to_hex(rgb_color): - """ Takes a tuple with 3 floats between 0 and 1. - Returns a hex. Useful to convert occ colors to web color code + Returns: + str: The color as a hex string. """ r, g, b = rgb_color - if not (0 <= r <= 1. and 0 <= g <= 1. and 0 <= b <= 1.): + if not (0 <= r <= 1.0 and 0 <= g <= 1.0 and 0 <= b <= 1.0): raise AssertionError("rgb values must be between 0.0 and 1.0") - rh = int(r * 255.) - gh = int(g * 255.) - bh = int(b * 255.) + rh = int(r * 255.0) + gh = int(g * 255.0) + bh = int(b * 255.0) return "0x%.02x%.02x%.02x" % (rh, gh, bh) -def export_edgedata_to_json(edge_hash, point_set): - """ Export a set of points to a LineSegment buffergeometry + +def export_edgedata_to_json(edge_hash: str, point_set: List[List[float]]) -> str: + """ + Exports a set of points to a LineSegment buffergeometry. + + Args: + edge_hash (str): The hash of the edge. + point_set (list): A list of points. + + Returns: + str: The JSON string. """ # first build the array of point coordinates # edges are built as follows: # points_coordinates =[P0x, P0y, P0z, P1x, P1y, P1z, P2x, P2y, etc.] points_coordinates = [] for point in point_set: - for coord in point: - points_coordinates.append(coord) - # then build the dictionnary exported to json - edges_data = {"metadata": {"version": 4.4, - "type": "BufferGeometry", - "generator": "pythonocc"}, - "uuid": edge_hash, - "type": "BufferGeometry", - "data": {"attributes": {"position": {"itemSize": 3, - "type": "Float32Array", - "array": points_coordinates} - } - } - } - return json.dumps(edges_data) - - -HEADER = """ + points_coordinates.extend(iter(point)) + # then build the dictionary exported to json + edges_data = { + "metadata": { + "version": 4.4, + "type": "BufferGeometry", + "generator": "pythonocc", + }, + "uuid": edge_hash, + "type": "BufferGeometry", + "data": { + "attributes": { + "position": { + "itemSize": 3, + "type": "Float32Array", + "array": points_coordinates, + } + } + }, + } + return json.dumps(edges_data, indent=4) + + +HEADER_TEMPLATE = Template( + """ - pythonocc @VERSION@ webgl renderer + pythonocc $VERSION webgl renderer """ -BODY_PART0 = """ - +) + +BODY_TEMPLATE = Template( + """ +
- pythonocc-@VERSION@ three.js %s renderer -
Check our blog at - http://www.pythonocc.org + pythonocc-$VERSION three.js renderer
t view/hide shape
@@ -140,291 +167,326 @@ def export_edgedata_to_json(edge_hash, point_set): g view/hide grid
a view/hide axis
- - - - -""" % (THREEJS_RELEASE, THREEJS_RELEASE, THREEJS_RELEASE, THREEJS_RELEASE) - -BODY_PART1 = """ - - @VertexShaderDefinition@ - @FragmentShaderDefinition@ - + + + +""" +) + +MAIN_JS_TEMPLATE = Template( + """ +import * as THREE from 'three'; +import { TrackballControls } from 'three/addons/controls/TrackballControls.js'; + +var camera, scene, renderer, object, container, shape_material; +var controls; +var directionalLight; +var axisHelper, gridHelper; +var light1; +var mouse; +var mouseX = 0; +var mouseXOnMouseDown = 0; +var mouseY = 0; +var mouseYOnMouseDown = 0; +var moveForward = false; +var moveBackward = false; +var moveLeft = false; +var moveRight = false; +var moveUp = false; +var moveDown = false; +var raycaster; +var windowHalfX = window.innerWidth / 2; +var windowHalfY = window.innerHeight / 2; +var selected_target_color_r = 0; +var selected_target_color_g = 0; +var selected_target_color_b = 0; +var selected_target = null; +init(); +animate(); + +function init() { + container = document.createElement( 'div' ); + document.body.appendChild( container ); + + camera = new THREE.PerspectiveCamera(50, window.innerWidth / window.innerHeight, 1, 200); + camera.position.z = 100; + + raycaster = new THREE.Raycaster(); + mouse = new THREE.Vector2(); + + scene = new THREE.Scene(); + scene.background = new THREE.Color(0xf0f0f0); + const ambientLight = new THREE.AmbientLight(0x404040, 1.5); + scene.add(ambientLight); + + directionalLight = new THREE.DirectionalLight(0xffffff, 1); + directionalLight.position.set(1, 1, 1).normalize(); + scene.add(directionalLight); + + light1 = new THREE.PointLight(0xffffff, 0.8); + light1.position.set(50, 50, 50); + scene.add(light1); + + $Uniforms + + $ShaderMaterialDefinition + + $ShapeList + + $EdgeList + + renderer = new THREE.WebGLRenderer({antialias:true, alpha: true}); + renderer.setSize(window.innerWidth, window.innerHeight); + renderer.setPixelRatio( window.devicePixelRatio ); + container.appendChild(renderer.domElement); + + // shadow rendering + renderer.shadowMap.enabled = true; + renderer.shadowMap.type = THREE.PCFSoftShadowMap; + + // tone mapping + renderer.toneMapping = THREE.ACESFilmicToneMapping; + renderer.toneMappingExposure = 1.0; + renderer.outputColorSpace = THREE.SRGBColorSpace; + + controls = new TrackballControls(camera, renderer.domElement); + + document.addEventListener('keypress', onDocumentKeyPress, false); + document.addEventListener('click', onDocumentMouseClick, false); + window.addEventListener('resize', onWindowResize, false); +} + +function animate() { + requestAnimationFrame(animate); + controls.update(); + render(); +} + +function update_lights() { + if (directionalLight != undefined) { + directionalLight.position.copy(camera.position); + } +} + +function onWindowResize() { + camera.aspect = window.innerWidth / window.innerHeight; + camera.updateProjectionMatrix(); + renderer.setSize(window.innerWidth, window.innerHeight); +} + +function onDocumentKeyPress(event) { + event.preventDefault(); + if (event.key=="t") { // t key + if (selected_target) { + selected_target.material.visible = !selected_target.material.visible; } - function onDocumentMouseClick(event) { - event.preventDefault(); - mouse.x = ( event.clientX / window.innerWidth ) * 2 - 1; - mouse.y = - ( event.clientY / window.innerHeight ) * 2 + 1; - // restore previous selected target color - if (selected_target) { - selected_target.material.color.setRGB(selected_target_color_r, - selected_target_color_g, - selected_target_color_b); - } - // perform selection - raycaster.setFromCamera(mouse, camera); - var intersects = raycaster.intersectObjects(scene.children); - if (intersects.length > 0) { - var target = intersects[0].object; - selected_target_color_r = target.material.color.r; - selected_target_color_g = target.material.color.g; - selected_target_color_b = target.material.color.b; - target.material.color.setRGB(1., 0.65, 0.); - console.log(target); - selected_target = target; - } + } + else if (event.key=="g") { // g key, toggle grid visibility + gridHelper.visible = !gridHelper.visible; + } + else if (event.key=="a") { // g key, toggle axisHelper visibility + axisHelper.visible = !axisHelper.visible; + } + else if (event.key=="w") { // g key, toggle axisHelper visibility + if (selected_target) { + selected_target.material.wireframe = !selected_target.material.wireframe; } - function fit_to_scene() { - // compute bounding sphere of whole scene - var center = new THREE.Vector3(0,0,0); - var radiuses = new Array(); - var positions = new Array(); - // compute center of all objects - scene.traverse(function(child) { - if (child instanceof THREE.Mesh) { - child.geometry.computeBoundingBox(); - var box = child.geometry.boundingBox; - var curCenter = new THREE.Vector3().copy(box.min).add(box.max).multiplyScalar(0.5); - var radius = new THREE.Vector3().copy(box.max).distanceTo(box.min)/2.; - center.add(curCenter); - positions.push(curCenter); - radiuses.push(radius); - } - }); - if (radiuses.length > 0) { - center.divideScalar(radiuses.length*0.7); - } - var maxRad = 1.; - // compute bounding radius - for (var ichild = 0; ichild < radiuses.length; ++ichild) { - var distToCenter = positions[ichild].distanceTo(center); - var totalDist = distToCenter + radiuses[ichild]; - if (totalDist > maxRad) { - maxRad = totalDist; - } - } - maxRad = maxRad * 0.7; // otherwise the scene seems to be too far away - camera.lookAt(center); - var direction = new THREE.Vector3().copy(camera.position).sub(controls.target); - var len = direction.length(); - direction.normalize(); - - // compute new distance of camera to middle of scene to fit the object to screen - var lnew = maxRad / Math.sin(camera.fov/180. * Math.PI / 2.); - direction.multiplyScalar(lnew); - - var pnew = new THREE.Vector3().copy(center).add(direction); - // change near far values to avoid culling of objects - camera.position.set(pnew.x, pnew.y, pnew.z); - camera.far = lnew*50; - camera.near = lnew*50*0.001; - camera.updateProjectionMatrix(); - controls.target = center; - controls.update(); - // adds and adjust a grid helper if needed - gridHelper = new THREE.GridHelper(maxRad*4, 10) - scene.add(gridHelper); - // axisHelper - axisHelper = new THREE.AxesHelper(maxRad); - scene.add(axisHelper); + } +} + +function onDocumentMouseClick(event) { + event.preventDefault(); + mouse.x = ( event.clientX / window.innerWidth ) * 2 - 1; + mouse.y = - ( event.clientY / window.innerHeight ) * 2 + 1; + // restore previous selected target color + if (selected_target) { + selected_target.material.color.setRGB(selected_target_color_r, + selected_target_color_g, + selected_target_color_b); + } + // perform selection + raycaster.setFromCamera(mouse, camera); + var intersects = raycaster.intersectObjects(scene.children); + if (intersects.length > 0) { + var target = intersects[0].object; + selected_target_color_r = target.material.color.r; + selected_target_color_g = target.material.color.g; + selected_target_color_b = target.material.color.b; + target.material.color.setRGB(1., 0.65, 0.); + console.log(target); + selected_target = target; + } +} + +function fit_to_scene() { + // compute bounding sphere of whole scene + var center = new THREE.Vector3(0,0,0); + var radiuses = new Array(); + var positions = new Array(); + + // compute center of all objects + scene.traverse(function(child) { + if (child instanceof THREE.Mesh) { + child.geometry.computeBoundingBox(); + var box = child.geometry.boundingBox; + var curCenter = new THREE.Vector3().copy(box.min).add(box.max).multiplyScalar(0.5); + var radius = new THREE.Vector3().copy(box.max).distanceTo(box.min)/2.; + center.add(curCenter); + positions.push(curCenter); + radiuses.push(radius); } - function render() { - //@IncrementTime@ TODO UNCOMMENT - update_lights(); - renderer.render(scene, camera); + }); + + if (radiuses.length > 0) { + center.divideScalar(radiuses.length*0.7); + } + + var maxRad = 1.; + // compute bounding radius + for (var ichild = 0; ichild < radiuses.length; ++ichild) { + var distToCenter = positions[ichild].distanceTo(center); + var totalDist = distToCenter + radiuses[ichild]; + if (totalDist > maxRad) { + maxRad = totalDist; } - - + } + + maxRad = maxRad * 0.7; // otherwise the scene seems to be too far away + camera.lookAt(center); + var direction = new THREE.Vector3().copy(camera.position).sub(controls.target); + var len = direction.length(); + direction.normalize(); + + // compute new distance of camera to middle of scene to fit the object to screen + var lnew = maxRad / Math.sin(camera.fov/180. * Math.PI / 2.); + direction.multiplyScalar(lnew); + + var pnew = new THREE.Vector3().copy(center).add(direction); + // change near far values to avoid culling of objects + camera.position.set(pnew.x, pnew.y, pnew.z); + camera.far = lnew * 50; + camera.near = lnew * 50 * 0.001; + camera.updateProjectionMatrix(); + controls.target = center; + controls.update(); + + // adds and adjust a grid helper if needed + gridHelper = new THREE.GridHelper(maxRad*4, 10) + scene.add(gridHelper); + + // axisHelper + axisHelper = new THREE.AxesHelper(maxRad); + scene.add(axisHelper); +} + +function render() { + //@IncrementTime@ TODO UNCOMMENT + update_lights(); + renderer.render(scene, camera); +} """ +) class HTMLHeader: - def __init__(self, bg_gradient_color1="#ced7de", bg_gradient_color2="#808080"): + """ + A class to generate the HTML header. + """ + + def __init__( + self, bg_gradient_color1: str = "#ced7de", bg_gradient_color2: str = "#808080" + ) -> None: + """ + Initializes the HTMLHeader. + + Args: + bg_gradient_color1 (str, optional): The first color of the background gradient. + bg_gradient_color2 (str, optional): The second color of the background gradient. + """ self._bg_gradient_color1 = bg_gradient_color1 self._bg_gradient_color2 = bg_gradient_color2 - def get_str(self): - header_str = HEADER.replace('@bg_gradient_color1@', '%s' % self._bg_gradient_color1) - header_str = header_str.replace('@bg_gradient_color2@', '%s' % self._bg_gradient_color2) - header_str = header_str.replace('@VERSION@', OCC_VERSION) - return header_str - - -class HTMLBody_Part1: - def __init__(self, vertex_shader=None, fragment_shader=None, uniforms=None): - self._vertex_shader = vertex_shader - self._fragment_shader = fragment_shader - self._uniforms = uniforms - - def get_str(self): - global BODY_PART2 - # get the location where pythonocc is running from - body_str = BODY_PART1.replace('@VERSION@', OCC_VERSION) - if (self._fragment_shader is not None) and (self._fragment_shader is not None): - vertex_shader_string_definition = '' % self._vertex_shader - fragment_shader_string_definition = '' % self._fragment_shader - shader_material_definition = """ - var vertexShader = document.getElementById('vertexShader').textContent; - var fragmentShader = document.getElementById('fragmentShader').textContent; - var shader_material = new THREE.ShaderMaterial({uniforms: uniforms, - vertexShader: vertexShader, - fragmentShader: fragmentShader}); - """ - if self._uniforms is None: - body_str = body_str.replace('@Uniforms@', 'uniforms ={};\n') - BODY_PART2 = BODY_PART2.replace('@IncrementTime@', '') - else: - body_str = body_str.replace('@Uniforms@', self._uniforms) - if 'time' in self._uniforms: - BODY_PART2 = BODY_PART2.replace('@IncrementTime@', 'uniforms.time.value += 0.05;') - else: - BODY_PART2 = BODY_PART2.replace('@IncrementTime@', '') - body_str = body_str.replace('@VertexShaderDefinition@', vertex_shader_string_definition) - body_str = body_str.replace('@FragmentShaderDefinition@', fragment_shader_string_definition) - body_str = body_str.replace('@ShaderMaterialDefinition@', shader_material_definition) - body_str = body_str.replace('@ShapeMaterial@', 'shader_material') - else: - body_str = body_str.replace('@Uniforms@', '') - body_str = body_str.replace('@VertexShaderDefinition@', '') - body_str = body_str.replace('@FragmentShaderDefinition@', '') - body_str = body_str.replace('@ShaderMaterialDefinition@', '') - body_str = body_str.replace('@ShapeMaterial@', 'phong_material') - body_str = body_str.replace('@IncrementTime@', '') - return body_str + def get_str(self) -> str: + """ + Returns the HTML header as a string. + """ + return HEADER_TEMPLATE.substitute( + { + "bg_gradient_color1": f"{self._bg_gradient_color1}", + "bg_gradient_color2": f"{self._bg_gradient_color2}", + "VERSION": VERSION, + } + ) class ThreejsRenderer: - def __init__(self, path=None): - if not path: - self._path = tempfile.mkdtemp() - else: - self._path = path + """ + A renderer that uses three.js to display shapes in a web browser. + """ + + def __init__(self, path: Optional[str] = None) -> None: + """ + Initializes the ThreejsRenderer. + + Args: + path (str, optional): The path to the directory where the HTML + and JavaScript files will be created. If not specified, a + temporary directory will be created. + """ + self._path = tempfile.mkdtemp() if not path else path self._html_filename = os.path.join(self._path, "index.html") - self._3js_shapes = {} - self._3js_edges = {} + self._main_js_filename = os.path.join(self._path, "main.js") + self._3js_shapes: Dict[str, Any] = {} + self._3js_edges: Dict[str, Any] = {} self.spinning_cursor = spinning_cursor() - print("## threejs %s webgl renderer" % THREEJS_RELEASE) - - def DisplayShape(self, - shape, - export_edges=False, - color=(0.65, 0.65, 0.7), - specular_color=(0.2, 0.2, 0.2), - shininess=0.9, - transparency=0., - line_color=(0, 0., 0.), - line_width=1., - mesh_quality=1.): + print("## threejs renderer") + + def DisplayShape( + self, + shape: Any, + export_edges: bool = False, + color: Tuple[float, float, float] = (0.65, 0.65, 0.7), + specular_color: Tuple[float, float, float] = (0.2, 0.2, 0.2), + shininess: float = 0.9, + transparency: float = 0.0, + line_color: Tuple[float, float, float] = (0, 0.0, 0.0), + line_width: float = 1.0, + mesh_quality: float = 1.0, + ) -> Tuple[Dict[str, Any], Dict[str, Any]]: + """ + Displays a shape. + + Args: + shape: The shape to display. + export_edges (bool, optional): Whether to export the edges of the shape. + color (tuple, optional): The color of the shape. + specular_color (tuple, optional): The specular color of the shape. + shininess (float, optional): The shininess of the shape. + transparency (float, optional): The transparency of the shape. + line_color (tuple, optional): The color of the lines. + line_width (float, optional): The width of the lines. + mesh_quality (float, optional): The quality of the mesh. + + Returns: + A tuple containing the shapes and edges. + """ # if the shape is an edge or a wire, use the related functions if is_edge(shape): print("discretize an edge") pnts = discretize_edge(shape) - edge_hash = "edg%s" % uuid.uuid4().hex + edge_hash = f"edg{uuid.uuid4().hex}" str_to_write = export_edgedata_to_json(edge_hash, pnts) - edge_full_path = os.path.join(self._path, edge_hash + '.json') + edge_full_path = os.path.join(self._path, f"{edge_hash}.json") with open(edge_full_path, "w") as edge_file: edge_file.write(str_to_write) # store this edge hash @@ -433,34 +495,42 @@ def DisplayShape(self, elif is_wire(shape): print("discretize a wire") pnts = discretize_wire(shape) - wire_hash = "wir%s" % uuid.uuid4().hex + wire_hash = f"wir{uuid.uuid4().hex}" str_to_write = export_edgedata_to_json(wire_hash, pnts) - wire_full_path = os.path.join(self._path, wire_hash + '.json') + wire_full_path = os.path.join(self._path, f"{wire_hash}.json") with open(wire_full_path, "w") as wire_file: wire_file.write(str_to_write) # store this edge hash self._3js_edges[wire_hash] = [color, line_width] return self._3js_shapes, self._3js_edges shape_uuid = uuid.uuid4().hex - shape_hash = "shp%s" % shape_uuid - # tesselate + shape_hash = f"shp{shape_uuid}" + # tesselatte tess = ShapeTesselator(shape) - tess.Compute(compute_edges=export_edges, - mesh_quality=mesh_quality, - parallel=True) + tess.Compute( + compute_edges=export_edges, mesh_quality=mesh_quality, parallel=True + ) # update spinning cursor - sys.stdout.write("\r%s mesh shape %s, %i triangles " % (next(self.spinning_cursor), - shape_hash, - tess.ObjGetTriangleCount())) + sys.stdout.write( + "\r%s mesh shape %s, %i triangles " + % (next(self.spinning_cursor), shape_hash, tess.ObjGetTriangleCount()) + ) sys.stdout.flush() # export to 3JS - shape_full_path = os.path.join(self._path, shape_hash + '.json') + shape_full_path = os.path.join(self._path, f"{shape_hash}.json") # add this shape to the shape dict, sotres everything related to it - self._3js_shapes[shape_hash] = [export_edges, color, specular_color, shininess, transparency, line_color, line_width] + self._3js_shapes[shape_hash] = [ + export_edges, + color, + specular_color, + shininess, + transparency, + line_color, + line_width, + ] # generate the mesh - #tess.ExportShapeToThreejs(shape_hash, shape_full_path) # and also to JSON - with open(shape_full_path, 'w') as json_file: + with open(shape_full_path, "w") as json_file: json_file.write(tess.ExportShapeToThreejsJSONString(shape_uuid)) # draw edges if necessary if export_edges: @@ -469,108 +539,155 @@ def DisplayShape(self, nbr_edges = tess.ObjGetEdgeCount() for i_edge in range(nbr_edges): # after that, the file can be appended - str_to_write = '' - edge_point_set = [] + str_to_write = "" nbr_vertices = tess.ObjEdgeGetVertexCount(i_edge) - for i_vert in range(nbr_vertices): - edge_point_set.append(tess.GetEdgeVertex(i_edge, i_vert)) + edge_point_set = [ + tess.GetEdgeVertex(i_edge, i_vert) for i_vert in range(nbr_vertices) + ] # write to file - edge_hash = "edg%s" % uuid.uuid4().hex + edge_hash = f"edg{uuid.uuid4().hex}" str_to_write += export_edgedata_to_json(edge_hash, edge_point_set) # create the file - edge_full_path = os.path.join(self._path, edge_hash + '.json') + edge_full_path = os.path.join(self._path, f"{edge_hash}.json") with open(edge_full_path, "w") as edge_file: edge_file.write(str_to_write) # store this edge hash, with black color self._3js_edges[edge_hash] = [(0, 0, 0), line_width] return self._3js_shapes, self._3js_edges - - def generate_html_file(self): - """ Generate the HTML file to be rendered by the web browser + def generate_html_file(self) -> None: + """ + Generates the HTML file to be rendered by the web browser. """ - global BODY_PART0 + global BODY_TEMPLATE # loop over shapes to generate html shapes stuff # the following line is a list that will help generating the string # using "".join() - shape_string_list = [] - shape_string_list.append("loader = new THREE.BufferGeometryLoader();\n") - shape_idx = 0 - for shape_hash in self._3js_shapes: + shape_string_list = ["var loader = new THREE.BufferGeometryLoader();\n"] + for shape_idx, shape_hash in enumerate(self._3js_shapes): # get properties for this shape - export_edges, color, specular_color, shininess, transparency, line_color, line_width = self._3js_shapes[shape_hash] - # creates a material for the shape - shape_string_list.append('\t\t\t%s_phong_material = new THREE.MeshPhongMaterial({' % shape_hash) - shape_string_list.append('color:%s,' % color_to_hex(color)) - shape_string_list.append('specular:%s,' % color_to_hex(specular_color)) - shape_string_list.append('shininess:%g,' % shininess) - # force double side rendering, see issue #645 - shape_string_list.append('side: THREE.DoubleSide,') - if transparency > 0.: - shape_string_list.append('transparent: true, premultipliedAlpha: true, opacity:%g,' % transparency) - #var line_material = new THREE.LineBasicMaterial({color: 0x000000, linewidth: 2}); - shape_string_list.append('});\n') - # load json geometry files - shape_string_list.append("\t\t\tloader.load('%s.json', function(geometry) {\n" % shape_hash) - shape_string_list.append("\t\t\t\tmesh = new THREE.Mesh(geometry, %s_phong_material);\n" % shape_hash) - # enable shadows for object - shape_string_list.append("\t\t\t\tmesh.castShadow = true;\n") - shape_string_list.append("\t\t\t\tmesh.receiveShadow = true;\n") - # add mesh to scene - shape_string_list.append("\t\t\t\tscene.add(mesh);\n") + ( + export_edges, + color, + specular_color, + shininess, + transparency, + line_color, + line_width, + ) = self._3js_shapes[shape_hash] + shape_string_list.extend( + ( + "\t\t\tvar %s_phong_material = new THREE.MeshPhongMaterial({" + % shape_hash, + f"color:{color_to_hex(color)},", + f"specular:{color_to_hex(specular_color)},", + "shininess:%g," % shininess, + "side: THREE.DoubleSide,", + "flatShading:false,", + ) + ) + if transparency > 0.0: + shape_string_list.append( + "transparent: true, premultipliedAlpha: true, opacity:%g," + % transparency + ) + shape_string_list.extend( + ( + "});\n", + "\t\t\tloader.load('%s.json', function(geometry) {\n" % shape_hash, + "\t\t\t\tvar mesh = new THREE.Mesh(geometry, %s_phong_material);\n" + % shape_hash, + "\t\t\t\tmesh.castShadow = true;\n", + "\t\t\t\tmesh.receiveShadow = true;\n", + "\t\t\t\tscene.add(mesh);\n", + ) + ) # last shape, we request for a fit_to_scene if shape_idx == len(self._3js_shapes) - 1: shape_string_list.append("\tfit_to_scene();});\n") else: shape_string_list.append("\t\t\t});\n\n") - shape_idx += 1 # Process edges edge_string_list = [] for edge_hash in self._3js_edges: color, line_width = self._3js_edges[edge_hash] - edge_string_list.append("\tloader.load('%s.json', function(geometry) {\n" % edge_hash) - edge_string_list.append("\tline_material = new THREE.LineBasicMaterial({color: %s, linewidth: %s});\n" % ((color_to_hex(color), line_width))) - edge_string_list.append("\tline = new THREE.Line(geometry, line_material);\n") - # add mesh to scene - edge_string_list.append("\tscene.add(line);\n") - edge_string_list.append("\t});\n") - # write the string for the shape + edge_string_list.extend( + ( + "\tloader.load('%s.json', function(geometry) {\n" % edge_hash, + "\tvar line_material = new THREE.LineBasicMaterial({color: %s, linewidth: %s});\n" + % ((color_to_hex(color), line_width)), + "\tvar line = new THREE.Line(geometry, line_material);\n", + "\tscene.add(line);\n", + "\t});\n", + ) + ) + # write the main.js file + with open(self._main_js_filename, "w") as fp: + main_js = MAIN_JS_TEMPLATE.substitute( + { + "ShapeList": "".join(shape_string_list), + "EdgeList": "".join(edge_string_list), + "Uniforms": "", + "ShaderMaterialDefinition": "", + } + ) + fp.write(main_js) + + # write the index.html file with open(self._html_filename, "w") as fp: fp.write("\n") fp.write("") # header fp.write(HTMLHeader().get_str()) # body - BODY_PART0 = BODY_PART0.replace('@VERSION@', OCC_VERSION) - fp.write(BODY_PART0) - fp.write(HTMLBody_Part1().get_str()) - fp.write("".join(shape_string_list)) - fp.write("".join(edge_string_list)) - # then write header part 2 - fp.write(BODY_PART2) + body = BODY_TEMPLATE.substitute( + { + "VERSION": VERSION, + "VertexShaderDefinition": "", + "FragmentShaderDefinition": "", + } + ) # = BODY_TEMPLATE_PART0.replace("@VERSION@", VERSION) + fp.write(body) fp.write("\n") - def render(self, addr="localhost", server_port=8080, open_webbrowser=False): - ''' render the scene into the browser. - ''' + def render( + self, + addr: str = "localhost", + server_port: int = 8080, + open_webbrowser: bool = False, + ) -> None: + """ + Renders the scene in the browser. + + Args: + addr (str, optional): The address to bind the server to. + server_port (int, optional): The port to use for the server. + open_webbrowser (bool, optional): Whether to open a web browser. + """ # generate HTML file self.generate_html_file() # then create a simple web server start_server(addr, server_port, self._path, open_webbrowser) + if __name__ == "__main__": from OCC.Core.BRepPrimAPI import BRepPrimAPI_MakeBox, BRepPrimAPI_MakeTorus from OCC.Core.BRepBuilderAPI import BRepBuilderAPI_Transform - from OCC.Core.gp import gp_Trsf + from OCC.Core.gp import gp_Trsf, gp_Vec + from OCC.Core.TopoDS import TopoDS_Shape import time - def translate_shp(shp, vec, copy=False): + + def translate_shp( + shp: TopoDS_Shape, vec: gp_Vec, copy: bool = False + ) -> TopoDS_Shape: trns = gp_Trsf() trns.SetTranslation(vec) brep_trns = BRepBuilderAPI_Transform(shp, trns, copy) brep_trns.Build() return brep_trns.Shape() - box = BRepPrimAPI_MakeBox(100., 200., 300.).Shape() - torus = BRepPrimAPI_MakeTorus(300., 105).Shape() + + box = BRepPrimAPI_MakeBox(100.0, 200.0, 300.0).Shape() + torus = BRepPrimAPI_MakeTorus(300.0, 105).Shape() t_torus = translate_shp(torus, gp_Vec(700, 0, 0)) my_ren = ThreejsRenderer() init_time = time.time() diff --git a/src/Display/WebGl/threejs_renderer.pyi b/src/Display/WebGl/threejs_renderer.pyi new file mode 100644 index 000000000..16b2d4ad4 --- /dev/null +++ b/src/Display/WebGl/threejs_renderer.pyi @@ -0,0 +1,33 @@ +from typing import Any, Dict, Generator, List, Optional, Tuple + +def spinning_cursor() -> Generator[str, None, None]: ... +def color_to_hex(rgb_color: Tuple[float, float, float]) -> str: ... +def export_edgedata_to_json(edge_hash: str, point_set: List[List[float]]) -> str: ... + +class HTMLHeader: + def __init__( + self, bg_gradient_color1: str = "#ced7de", bg_gradient_color2: str = "#808080" + ) -> None: ... + def get_str(self) -> str: ... + +class ThreejsRenderer: + def __init__(self, path: Optional[str] = None) -> None: ... + def DisplayShape( + self, + shape: Any, + export_edges: bool = False, + color: Tuple[float, float, float] = ..., + specular_color: Tuple[float, float, float] = ..., + shininess: float = 0.9, + transparency: float = 0.0, + line_color: Tuple[float, float, float] = ..., + line_width: float = 1.0, + mesh_quality: float = 1.0, + ) -> Tuple[Dict[str, Any], Dict[str, Any]]: ... + def generate_html_file(self) -> None: ... + def render( + self, + addr: str = "localhost", + server_port: int = 8080, + open_webbrowser: bool = False, + ) -> None: ... diff --git a/src/Display/WebGl/x3dom_renderer.py b/src/Display/WebGl/x3dom_renderer.py index 2bb74386f..09d0e9199 100644 --- a/src/Display/WebGl/x3dom_renderer.py +++ b/src/Display/WebGl/x3dom_renderer.py @@ -17,36 +17,45 @@ import os import sys +from string import Template import tempfile import uuid +from typing import Any, Dict, Generator, List, Optional, Tuple from xml.etree import ElementTree from OCC.Core.Tesselator import ShapeTesselator -from OCC import VERSION as OCC_VERSION +from OCC import VERSION from OCC.Extend.TopologyUtils import is_edge, is_wire, discretize_edge, discretize_wire from OCC.Display.WebGl.simple_server import start_server -def spinning_cursor(): + +def spinning_cursor() -> Generator[str, None, None]: + """ + A spinning cursor generator. + """ while True: - for cursor in '|/-\\': - yield cursor + yield from "|/-\\" + -X3DFILE_HEADER = """ +X3DFILE_HEADER_TEMPLATE = Template( + """ - - - - + + + + -""" % (OCC_VERSION, OCC_VERSION, OCC_VERSION) +""" +) -HEADER = """ +HEADER_TEMPLATE = Template( + """ - pythonOCC @VERSION@ x3dom renderer + pythonOCC $VERSION x3dom renderer @@ -54,7 +63,7 @@ def spinning_cursor(): """ +) -BODY = """ +BODY_TEMPLATE = Template( + """ - @X3DSCENE@ + $X3DSCENE
- pythonocc-@VERSION@ x3dom renderer -
Check our blog at - http://www.pythonocc.org + pythonocc-$VERSION x3dom renderer
t view/hide shape
@@ -139,7 +148,7 @@ def spinning_cursor(): current_mat = mat; console.log(mat); selected_target_color = mat.diffuseColor; - mat.diffuseColor = "1, 0.65, 0"; + mat.diffuseColor = "1. 0.65 0."; //console.log(the_shape.getElementsByTagName("Appearance"));//.getAttribute('diffuseColor')); } function onDocumentKeyPress(event) { @@ -148,9 +157,11 @@ def spinning_cursor(): if (current_selected_shape) { if (current_selected_shape.render == "true") { current_selected_shape.render = "false"; + console.log("hide ", current_selected_shape); } else { current_selected_shape.render = "true"; + console.log("show ", current_selected_shape) } } } @@ -161,112 +172,189 @@ def spinning_cursor(): """ +) + + +def export_edge_to_indexed_lineset(edge_point_set: List[List[float]]) -> str: + """ + Exports an edge to an IndexedLineSet string. + Args: + edge_point_set (list): A list of points. -def export_edge_to_indexed_lineset(edge_point_set): - str_x3d_to_return = "\t" % len(edge_point_set) + Returns: + str: The IndexedLineSet string. + """ + str_x3d_to_return = f"\t" str_x3d_to_return += "\n" return str_x3d_to_return -def indexed_lineset_to_x3d_string(str_linesets, header=True, footer=True, ils_id=0): - """ takes an str_lineset, coming for instance from export_curve_to_ils, - and export to an X3D string""" - if header: - x3dfile_str = X3DFILE_HEADER - else: - x3dfile_str = "" +def indexed_lineset_to_x3d_string( + str_linesets: List[str], header: bool = True, footer: bool = True, ils_id: int = 0 +) -> str: + """ + Converts an IndexedLineSet string to an X3D string. + + Args: + str_linesets (list): A list of IndexedLineSet strings. + header (bool, optional): Whether to include the X3D header. + footer (bool, optional): Whether to include the X3D footer. + ils_id (int, optional): The ID of the IndexedLineSet. + + Returns: + str: The X3D string. + """ + x3dfile_str = ( + X3DFILE_HEADER_TEMPLATE.substitute({"VERSION": f"{VERSION}"}) if header else "" + ) x3dfile_str += "\n" x3dfile_str += "\t\n" - ils_id = 0 - for str_lineset in str_linesets: - x3dfile_str += "\t\t\n" % ils_id + for ils_id, str_lineset in enumerate(str_linesets): + x3dfile_str += f"\t\t\n" # empty appearance, but the x3d validator complains if nothing set - x3dfile_str += "\t\t\t\n\t\t" + x3dfile_str += ( + "\t\t\t\n\t\t" + ) x3dfile_str += str_lineset x3dfile_str += "\t\t\n" - ils_id += 1 - x3dfile_str += "\t\n" x3dfile_str += "\n" if footer: - x3dfile_str += '\n\n' + x3dfile_str += "\n\n" return x3dfile_str class HTMLHeader: - def __init__(self, bg_gradient_color1="#ced7de", bg_gradient_color2="#808080"): + """ + A class to generate the HTML header. + """ + + def __init__( + self, bg_gradient_color1: str = "#ced7de", bg_gradient_color2: str = "#808080" + ) -> None: + """ + Initializes the HTMLHeader. + + Args: + bg_gradient_color1 (str, optional): The first color of the background gradient. + bg_gradient_color2 (str, optional): The second color of the background gradient. + """ self._bg_gradient_color1 = bg_gradient_color1 self._bg_gradient_color2 = bg_gradient_color2 - - def get_str(self): - header_str = HEADER.replace('@bg_gradient_color1@', '%s' % self._bg_gradient_color1) - header_str = header_str.replace('@bg_gradient_color2@', '%s' % self._bg_gradient_color2) - header_str = header_str.replace('@VERSION@', OCC_VERSION) - return header_str + def get_str(self) -> str: + """ + Returns the HTML header as a string. + """ + return HEADER_TEMPLATE.substitute( + { + "bg_gradient_color1": f"{self._bg_gradient_color1}", + "bg_gradient_color2": f"{self._bg_gradient_color2}", + "VERSION": f"{VERSION}", + } + ) class HTMLBody: - def __init__(self, x3d_shapes, axes_plane, axes_plane_zoom_factor=1.): - """ x3d_shapes is a list that contains uid for each shape + """ + A class to generate the HTML body. + """ + + def __init__( + self, + x3d_shapes: List[str], + axes_plane: bool, + axes_plane_zoom_factor: float = 1.0, + ) -> None: + """ + Initializes the HTMLBody. + + Args: + x3d_shapes (list): A list of shape UIDs. + axes_plane (bool): Whether to display the axes plane. + axes_plane_zoom_factor (float, optional): The zoom factor for the axes plane. """ self._x3d_shapes = x3d_shapes self.spinning_cursor = spinning_cursor() self._display_axes_plane = axes_plane self._axis_plane_zoom_factor = axes_plane_zoom_factor - def get_str(self): + def get_str(self) -> str: + """ + Returns the HTML body as a string. + """ # get the location where pythonocc is running from - body_str = BODY.replace('@VERSION@', OCC_VERSION) - x3dcontent = '\n\t\n\t\t\n' + x3dcontent = "\n\t\n\t\t\n" nb_shape = len(self._x3d_shapes) - cur_shp = 1 if self._display_axes_plane: - x3dcontent += """ - - + x3dcontent += f""" + + - """ % (self._axis_plane_zoom_factor, self._axis_plane_zoom_factor, self._axis_plane_zoom_factor) - # global rotateso that z is aligne properly - x3dcontent += '' - for shp_uid in self._x3d_shapes: - sys.stdout.write("\r%s meshing shapes... %i%%" % (next(self.spinning_cursor), - round(cur_shp / nb_shape * 100))) + """ + # global rotate so that z is properly aligned + x3dcontent += '\n' + for cur_shp, shp_uid in enumerate(self._x3d_shapes, start=1): + sys.stdout.write( + "\r%s meshing shapes... %i%%" + % (next(self.spinning_cursor), round(cur_shp / nb_shape * 100)) + ) sys.stdout.flush() + # only the last downloaded shape raises a fitCamera event + x3dcontent += "\t\t\t\n' + x3dcontent += "\t\t\t\n\t\t\n\t\n" - x3dcontent += '\t\t\t\n' % shp_uid - cur_shp += 1 - x3dcontent += '' - x3dcontent += "\t\t\n\t\n" - body_str = body_str.replace('@X3DSCENE@', x3dcontent) - return body_str + return BODY_TEMPLATE.substitute( + {"VERSION": f"{VERSION}", "X3DSCENE": f"{x3dcontent}"} + ) class X3DExporter: - """ A class for exporting a TopoDS_Shape to an x3d file """ - def __init__(self, - shape, # the TopoDS shape to mesh - vertex_shader, # the vertex_shader, passed as a string - fragment_shader, # the fragment shader, passed as a string - export_edges, # if yes, edges are exported to IndexedLineSet (might be SLOWW) - color, # the default shape color - specular_color, # shape specular color (white by default) - shininess, # shape shininess - transparency, # shape transparency - line_color, # edge color - line_width, # edge liewidth, - mesh_quality # mesh quality default is 1., good is <1, bad is >1 - ): + """A class for exporting a TopoDS_Shape to an x3d file""" + + def __init__( + self, + shape: Any, + vertex_shader: Optional[str], + fragment_shader: Optional[str], + export_edges: bool, + color: Tuple[float, float, float], + specular_color: Tuple[float, float, float], + shininess: float, + transparency: float, + line_color: Tuple[float, float, float], + line_width: float, + mesh_quality: float, + ) -> None: + """ + Initializes the X3DExporter. + + Args: + shape: The shape to export. + vertex_shader: The vertex shader to use. + fragment_shader: The fragment shader to use. + export_edges: Whether to export edges. + color: The color of the shape. + specular_color: The specular color of the shape. + shininess: The shininess of the shape. + transparency: The transparency of the shape. + line_color: The color of the lines. + line_width: The width of the lines. + mesh_quality: The quality of the mesh. + """ self._shape = shape self._vs = vertex_shader self._fs = fragment_shader @@ -279,54 +367,72 @@ def __init__(self, # the list of indexed face sets that compose the shape # if ever the map_faces_to_mesh option is enabled, this list # maybe composed of dozains of TriangleSet - self._triangle_sets = [] - self._line_sets = [] + self._triangle_sets: List[str] = [] + self._line_sets: List[str] = [] self._x3d_string = "" # the string that contains the x3d description - def compute(self): + def compute(self) -> None: + """ + Computes the tessellation of the shape. + """ shape_tesselator = ShapeTesselator(self._shape) - shape_tesselator.Compute(compute_edges=self._export_edges, - mesh_quality=self._mesh_quality, - parallel=True) + + if shape_tesselator.GetDeviation() <= 0: + raise ValueError("The deviation is <= 0.") + + shape_tesselator.Compute( + compute_edges=self._export_edges, + mesh_quality=self._mesh_quality, + parallel=True, + ) self._triangle_sets.append(shape_tesselator.ExportShapeToX3DTriangleSet()) # then process edges if self._export_edges: # get number of edges nbr_edges = shape_tesselator.ObjGetEdgeCount() for i_edge in range(nbr_edges): - edge_point_set = [] nbr_vertices = shape_tesselator.ObjEdgeGetVertexCount(i_edge) - for i_vert in range(nbr_vertices): - edge_point_set.append(shape_tesselator.GetEdgeVertex(i_edge, i_vert)) + edge_point_set = [ + shape_tesselator.GetEdgeVertex(i_edge, i_vert) + for i_vert in range(nbr_vertices) + ] ils = export_edge_to_indexed_lineset(edge_point_set) self._line_sets.append(ils) - def to_x3dfile_string(self, shape_id): - x3dfile_str = X3DFILE_HEADER + def to_x3dfile_string(self, shape_id: int) -> str: + """ + Converts the shape to an X3D string. + + Args: + shape_id (int): The ID of the shape. + + Returns: + str: The X3D string. + """ + x3dfile_str = X3DFILE_HEADER_TEMPLATE.substitute({"VERSION": f"{VERSION}"}) for triangle_set in self._triangle_sets: - x3dfile_str += "\n" + x3dfile_str += "" + x3dfile_str += f"\n\n" + x3dfile_str += "\n" # # set Material or shader # if self._vs is None and self._fs is None: - x3dfile_str += "\n" else: # set shaders - x3dfile_str += '\n' + x3dfile_str += ( + '\n' + ) x3dfile_str += self._vs - x3dfile_str += '\n' + x3dfile_str += "\n" x3dfile_str += '\n' x3dfile_str += self._fs - x3dfile_str += '\n' - x3dfile_str += '\n' + x3dfile_str += "\n" + x3dfile_str += "\n" # export triangles x3dfile_str += triangle_set x3dfile_str += "\n" @@ -336,59 +442,108 @@ def to_x3dfile_string(self, shape_id): # -1 means doesn't show line # the "Switch" node selects the group to be displayed - x3dfile_str += indexed_lineset_to_x3d_string(self._line_sets, header=False, footer=False) - x3dfile_str += '\n\n' + x3dfile_str += indexed_lineset_to_x3d_string( + self._line_sets, header=False, footer=False + ) + x3dfile_str += "\n\n" # # use ElementTree to ensure xml file quality # xml_et = ElementTree.fromstring(x3dfile_str) - clean_x3d_str = ElementTree.tostring(xml_et, encoding='utf8').decode('utf8') + return ElementTree.tostring(xml_et, encoding="utf8").decode("utf8") - return clean_x3d_str + def write_to_file(self, filename: str, shape_id: int) -> None: + """ + Writes the X3D string to a file. - def write_to_file(self, filename, shape_id): + Args: + filename (str): The name of the file to write to. + shape_id (int): The ID of the shape. + """ with open(filename, "w") as f: f.write(self.to_x3dfile_string(shape_id)) class X3DomRenderer: - def __init__(self, path=None, display_axes_plane=True, axes_plane_zoom_factor=1.): - if not path: # by default, write to a temp directory - self._path = tempfile.mkdtemp() - else: - self._path = path - self._html_filename = os.path.join(self._path, 'index.html') - self._x3d_shapes = {} - self._x3d_edges = {} - self._axes_plane = display_axes_plane # display the small RVB axes and the plane + """ + A renderer that uses x3dom to display shapes in a web browser. + """ + + def __init__( + self, + path: Optional[str] = None, + display_axes_plane: bool = True, + axes_plane_zoom_factor: float = 1.0, + ) -> None: + """ + Initializes the X3DomRenderer. + + Args: + path (str, optional): The path to the directory where the HTML + and JavaScript files will be created. If not specified, a + temporary directory will be created. + display_axes_plane (bool, optional): Whether to display the axes plane. + axes_plane_zoom_factor (float, optional): The zoom factor for the axes plane. + """ + self._path = tempfile.mkdtemp() if not path else path + self._html_filename = os.path.join(self._path, "index.html") + self._x3d_shapes: Dict[str, Any] = {} + self._x3d_edges: Dict[str, Any] = {} + self._axes_plane = ( + display_axes_plane # display the small RVB axes and the plane + ) self._axes_plane_zoom_factor = axes_plane_zoom_factor - print("## x3dom webgl renderer - render axes/planes : %r - axes/plane zoom factor : %g" % (self._axes_plane, - self._axes_plane_zoom_factor)) - - def DisplayShape(self, - shape, - vertex_shader=None, - fragment_shader=None, - export_edges=False, - color=(0.65, 0.65, 0.7), - specular_color=(0.2, 0.2, 0.2), - shininess=0.9, - transparency=0., - line_color=(0, 0., 0.), - line_width=2., - mesh_quality=1.): - """ Adds a shape to the rendering buffer. This class computes the x3d file + print( + f"## x3dom webgl renderer - render axes/planes : {self._axes_plane} - axes/plane zoom factor : {self._axes_plane_zoom_factor}" + ) + + def DisplayShape( + self, + shape: Any, + vertex_shader: Optional[str] = None, + fragment_shader: Optional[str] = None, + export_edges: bool = False, + color: Tuple[float, float, float] = (0.65, 0.65, 0.7), + specular_color: Tuple[float, float, float] = (0.2, 0.2, 0.2), + shininess: float = 0.9, + transparency: float = 0.0, + line_color: Tuple[float, float, float] = (0.0, 0.0, 0.0), + line_width: float = 2.0, + mesh_quality: float = 1.0, + ) -> Tuple[Dict[str, Any], Dict[str, Any]]: + """ + Adds a shape to the rendering buffer. + + This class computes the x3d file. + + Args: + shape: The shape to display. + vertex_shader (str, optional): The vertex shader to use. + fragment_shader (str, optional): The fragment shader to use. + export_edges (bool, optional): Whether to export the edges of the shape. + color (tuple, optional): The color of the shape. + specular_color (tuple, optional): The specular color of the shape. + shininess (float, optional): The shininess of the shape. + transparency (float, optional): The transparency of the shape. + line_color (tuple, optional): The color of the lines. + line_width (float, optional): The width of the lines. + mesh_quality (float, optional): The quality of the mesh. + + Returns: + A tuple containing the shapes and edges. """ # if the shape is an edge or a wire, use the related functions if is_edge(shape): print("X3D exporter, discretize an edge") pnts = discretize_edge(shape) - edge_hash = "edg%s" % uuid.uuid4().hex + edge_hash = f"edg{uuid.uuid4().hex}" line_set = export_edge_to_indexed_lineset(pnts) - x3dfile_content = indexed_lineset_to_x3d_string([line_set], ils_id=edge_hash) - edge_full_path = os.path.join(self._path, edge_hash + '.x3d') + x3dfile_content = indexed_lineset_to_x3d_string( + [line_set], ils_id=edge_hash + ) + edge_full_path = os.path.join(self._path, f"{edge_hash}.x3d") with open(edge_full_path, "w") as edge_file: edge_file.write(x3dfile_content) # store this edge hash @@ -398,10 +553,12 @@ def DisplayShape(self, if is_wire(shape): print("X3D exporter, discretize a wire") pnts = discretize_wire(shape) - wire_hash = "wir%s" % uuid.uuid4().hex + wire_hash = f"wir{uuid.uuid4().hex}" line_set = export_edge_to_indexed_lineset(pnts) - x3dfile_content = indexed_lineset_to_x3d_string([line_set], ils_id=wire_hash) - wire_full_path = os.path.join(self._path, wire_hash + '.x3d') + x3dfile_content = indexed_lineset_to_x3d_string( + [line_set], ils_id=wire_hash + ) + wire_full_path = os.path.join(self._path, f"{wire_hash}.x3d") with open(wire_full_path, "w") as wire_file: wire_file.write(x3dfile_content) # store this edge hash @@ -409,32 +566,60 @@ def DisplayShape(self, return self._x3d_shapes, self._x3d_edges shape_uuid = uuid.uuid4().hex - shape_hash = "shp%s" % shape_uuid - x3d_exporter = X3DExporter(shape, vertex_shader, fragment_shader, - export_edges, color, - specular_color, shininess, transparency, - line_color, line_width, mesh_quality) + shape_hash = f"shp{shape_uuid}" + x3d_exporter = X3DExporter( + shape, + vertex_shader, + fragment_shader, + export_edges, + color, + specular_color, + shininess, + transparency, + line_color, + line_width, + mesh_quality, + ) x3d_exporter.compute() - x3d_filename = os.path.join(self._path, "%s.x3d" % shape_hash) + x3d_filename = os.path.join(self._path, f"{shape_hash}.x3d") # the x3d filename is computed from the shape hash shape_id = len(self._x3d_shapes) x3d_exporter.write_to_file(x3d_filename, shape_id) - self._x3d_shapes[shape_hash] = [export_edges, color, specular_color, shininess, - transparency, line_color, line_width] + self._x3d_shapes[shape_hash] = [ + export_edges, + color, + specular_color, + shininess, + transparency, + line_color, + line_width, + ] return self._x3d_shapes, self._x3d_edges - def render(self, addr="localhost", server_port=8080, open_webbrowser=False): - """ Call the render() method to display the X3D scene. + def render( + self, + addr: str = "localhost", + server_port: int = 8080, + open_webbrowser: bool = False, + ) -> None: + """ + Renders the scene in the browser. """ # first generate the HTML root file self.generate_html_file(self._axes_plane, self._axes_plane_zoom_factor) # then create a simple web server start_server(addr, server_port, self._path, open_webbrowser) - def generate_html_file(self, axes_plane, axes_plane_zoom_factor): - """ Generate the HTML file to be rendered wy the web browser - axes_plane: a boolean, telles wether or not display axes + def generate_html_file( + self, axes_plane: bool, axes_plane_zoom_factor: float + ) -> None: + """ + Generates the HTML file to be rendered by the web browser. + + Args: + axes_plane (bool): Whether to display the axes plane. + axes_plane_zoom_factor (float): The zoom factor for the axes plane. """ with open(self._html_filename, "w") as html_file: html_file.write("\n") @@ -444,5 +629,7 @@ def generate_html_file(self, axes_plane, axes_plane_zoom_factor): # body # merge shapes and edges keys all_shapes = list(self._x3d_shapes) + list(self._x3d_edges) - html_file.write(HTMLBody(all_shapes, axes_plane, axes_plane_zoom_factor).get_str()) + html_file.write( + HTMLBody(all_shapes, axes_plane, axes_plane_zoom_factor).get_str() + ) html_file.write("\n") diff --git a/src/Display/WebGl/x3dom_renderer.pyi b/src/Display/WebGl/x3dom_renderer.pyi new file mode 100644 index 000000000..683099822 --- /dev/null +++ b/src/Display/WebGl/x3dom_renderer.pyi @@ -0,0 +1,75 @@ +from typing import Any, Dict, Generator, List, Optional, Tuple + +def spinning_cursor() -> Generator[str, None, None]: ... +def export_edge_to_indexed_lineset(edge_point_set: List[List[float]]) -> str: ... +def indexed_lineset_to_x3d_string( + str_linesets: List[str], + header: bool = True, + footer: bool = True, + ils_id: int = 0, +) -> str: ... + +class HTMLHeader: + def __init__( + self, bg_gradient_color1: str = "#ced7de", bg_gradient_color2: str = "#808080" + ) -> None: ... + def get_str(self) -> str: ... + +class HTMLBody: + def __init__( + self, + x3d_shapes: List[str], + axes_plane: bool, + axes_plane_zoom_factor: float = 1.0, + ) -> None: ... + def get_str(self) -> str: ... + +class X3DExporter: + def __init__( + self, + shape: Any, + vertex_shader: Optional[str], + fragment_shader: Optional[str], + export_edges: bool, + color: Tuple[float, float, float], + specular_color: Tuple[float, float, float], + shininess: float, + transparency: float, + line_color: Tuple[float, float, float], + line_width: float, + mesh_quality: float, + ) -> None: ... + def compute(self) -> None: ... + def to_x3dfile_string(self, shape_id: int) -> str: ... + def write_to_file(self, filename: str, shape_id: int) -> None: ... + +class X3DomRenderer: + def __init__( + self, + path: Optional[str] = None, + display_axes_plane: bool = True, + axes_plane_zoom_factor: float = 1.0, + ) -> None: ... + def DisplayShape( + self, + shape: Any, + vertex_shader: Optional[str] = None, + fragment_shader: Optional[str] = None, + export_edges: bool = False, + color: Tuple[float, float, float] = (0.65, 0.65, 0.7), + specular_color: Tuple[float, float, float] = (0.2, 0.2, 0.2), + shininess: float = 0.9, + transparency: float = 0.0, + line_color: Tuple[float, float, float] = (0.0, 0.0, 0.0), + line_width: float = 2.0, + mesh_quality: float = 1.0, + ) -> Tuple[Dict[str, Any], Dict[str, Any]]: ... + def render( + self, + addr: str = "localhost", + server_port: int = 8080, + open_webbrowser: bool = False, + ) -> None: ... + def generate_html_file( + self, axes_plane: bool, axes_plane_zoom_factor: float + ) -> None: ... diff --git a/src/Display/backend.py b/src/Display/backend.py index cf56a5192..30b128d50 100644 --- a/src/Display/backend.py +++ b/src/Display/backend.py @@ -1,12 +1,41 @@ +##Copyright 2009 Thomas Paviot (tpaviot@gmail.com) +## +##This file is part of pythonOCC. +## +##pythonOCC is free software: you can redistribute it and/or modify +##it under the terms of the GNU Lesser General Public License as published by +##the Free Software Foundation, either version 3 of the License, or +##(at your option) any later version. +## +##pythonOCC is distributed in the hope that it will be useful, +##but WITHOUT ANY WARRANTY; without even the implied warranty of +##MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +##GNU Lesser General Public License for more details. +## +##You should have received a copy of the GNU Lesser General Public License +##along with pythonOCC. If not, see . + import logging +import os +import sys +from typing import Any, Optional, Tuple # backend constants WX = "wx" -PYSIDE2 = "qt-pyside2" -PYQT5 = "qt-pyqt5" +PYQT5 = "pyqt5" +PYSIDE2 = "pyside2" +PYQT6 = "pyqt6" +PYSIDE6 = "pyside6" +TK = "tk" # backend module -HAVE_PYQT5, HAVE_PYSIDE2, HAVE_WX = False, False, False +HAVE_PYQT5, HAVE_PYSIDE2, HAVE_PYQT6, HAVE_PYSIDE6, HAVE_WX = ( + False, + False, + False, + False, + False, +) # is any backend imported? HAVE_BACKEND = False @@ -16,87 +45,168 @@ log.setLevel(logging.DEBUG) -def load_pyqt5(): - """ returns True is PyQt5 found, else False +def qt6_force_xcb_on_linux() -> None: + """ + Force QT_QPA_PLATFORM to 'xcb' on Linux for Qt6. + + Wayland implementation prevents winId to provide with the correct x11 + windows id. + """ + if sys.platform == "linux" and "XDG_SESSION_TYPE" in os.environ: + if os.environ["XDG_SESSION_TYPE"] == "wayland": + os.environ["QT_QPA_PLATFORM"] = "xcb" + + +def load_pyqt5() -> bool: + """ + Loads the PyQt5 backend. + + Returns: + bool: True if PyQt5 is found, False otherwise. """ global HAVE_PYQT5, QtCore, QtGui, QtWidgets, QtOpenGL # backend already loaded, dont load another one if loaded_backend(): return False - try: from PyQt5 import QtCore, QtGui, QtOpenGL, QtWidgets + HAVE_PYQT5 = True except ImportError: HAVE_PYQT5 = False return HAVE_PYQT5 -def load_pyside2(): - """ returns True is PySide2 found, else False +def load_pyside2() -> bool: + """ + Loads the PySide2 backend. + + Returns: + bool: True if PySide2 is found, False otherwise. """ global HAVE_PYSIDE2, QtCore, QtGui, QtWidgets, QtOpenGL # backend already loaded, dont load another one if loaded_backend(): return False - try: from PySide2 import QtCore, QtGui, QtOpenGL, QtWidgets + HAVE_PYSIDE2 = True except ImportError: HAVE_PYSIDE2 = False return HAVE_PYSIDE2 -def load_wx(): - """ returns True is wxPython found, else False +def load_pyqt6() -> bool: + """ + Loads the PyQt6 backend. + + Returns: + bool: True if PyQt6 is found, False otherwise. + """ + global HAVE_PYQT6, QtCore, QtGui, QtWidgets, QtOpenGL + + # backend already loaded, dont load another one + if loaded_backend(): + return False + try: + qt6_force_xcb_on_linux() + from PyQt6 import QtCore, QtGui, QtOpenGL, QtWidgets + + HAVE_PYQT6 = True + except ImportError: + HAVE_PYQT6 = False + return HAVE_PYQT6 + + +def load_pyside6() -> bool: + """ + Loads the PySide6 backend. + + Returns: + bool: True if PySide6 is found, False otherwise. """ + global HAVE_PYSIDE6, QtCore, QtGui, QtWidgets, QtOpenGL # backend already loaded, dont load another one if loaded_backend(): return False + try: + qt6_force_xcb_on_linux() + from PySide6 import QtCore, QtGui, QtOpenGL, QtWidgets + + HAVE_PYSIDE6 = True + except ImportError: + HAVE_PYSIDE6 = False + return HAVE_PYSIDE6 + +def load_wx() -> bool: + """ + Loads the wxPython backend. + + Returns: + bool: True if wxPython is found, False otherwise. + """ + + # backend already loaded, dont load another one + if loaded_backend(): + return False global HAVE_WX try: import wx + HAVE_WX = True except ImportError: HAVE_WX = False return HAVE_WX -def loaded_backend(): +def loaded_backend() -> bool: + """ + Returns True if a backend is loaded, False otherwise. + """ return HAVE_BACKEND -def get_loaded_backend(): +def get_loaded_backend() -> str: + """ + Returns the name of the loaded backend. + """ return BACKEND_MODULE -def load_any_qt_backend(): - """ loads any qt based backend. First try to load - PyQt5, then PySide2. Raise an exception if none of them are available +def load_any_qt_backend() -> bool: + """ + Loads any Qt-based backend. + + It first tries to load PyQt5, then PyQt6. + + Returns: + bool: True if a Qt backend was loaded, False otherwise. + + Raises: + AssertionError: If no Qt backend can be loaded. """ pyqt5_loaded = False # by default, load PyQt5 pyqt5_loaded = load_backend(PYQT5) if not pyqt5_loaded: - pyside2_loaded = load_backend(PYSIDE2) - if not (pyqt5_loaded or pyside2_loaded): - raise AssertionError("None of the PyQt5 or PySide2 can be loaded") - else: - return True + pyqt6_loaded = load_backend(PYQT6) + if not (pyqt5_loaded or pyqt6_loaded): + raise AssertionError("None of the PyQt5 or PyQt6 can be loaded") + return True -def load_backend(backend_str=None): - """ loads a gui backend +def load_backend(backend_str: Optional[str] = None) -> str: + """Load a GUI backend If no Qt backend is found (PyQt5 or PySide), wx is loaded The search order for pythonocc compatible gui modules is: - PyQt5, PySide2, wx + PyQt5, PySide2, PyQt6, PySide6, wx Note ---- @@ -108,7 +218,7 @@ def load_backend(backend_str=None): specifies which backend to load - backend_str is one of ( "qt-pyqt5", "qt-pyside2", "wx" ) + backend_str is one of ( "pyqt5", "pyqt6", "pyside2", "pyside6", "wx" ) if no value has been set, load the first module in gui module search order @@ -117,7 +227,7 @@ def load_backend(backend_str=None): ------- str the name of the loaded backend - one of ( "qt-pyqt5", "qt-pyside2", "wx" ) + one of ( "pyqt5", "pyqt6", "pyside2", "pyside6", "wx" ) Raises ------ @@ -133,59 +243,83 @@ def load_backend(backend_str=None): global HAVE_BACKEND, BACKEND_MODULE if HAVE_BACKEND: - msg = "The {0} backend is already loaded..." \ - "``load_backend`` can only be called once per session".format(BACKEND_MODULE) - log.info(msg) + msg = ( + "The %s backend is already loaded..." + "``load_backend`` can only be called once per session" + ) + log.info(msg, BACKEND_MODULE) return BACKEND_MODULE if backend_str is not None: - compatible_backends = (PYQT5, PYSIDE2, WX) - if not backend_str in compatible_backends: - msg = "incompatible backend_str specified: {0}\n" \ - "backend is one of : {1}".format(backend_str, - compatible_backends) + compatible_backends = (PYQT5, PYQT6, PYSIDE2, PYSIDE6, WX, TK) + if backend_str not in compatible_backends: + msg = ( + f"incompatible backend_str specified: {backend_str}\n" + f"backend is one of : {compatible_backends}" + ) log.critical(msg) raise ValueError(msg) if backend_str == PYQT5 or backend_str is None: if load_pyqt5(): HAVE_BACKEND = True - BACKEND_MODULE = 'qt-pyqt5' - log.info("backend loaded: {0}".format(BACKEND_MODULE)) + BACKEND_MODULE = "pyqt5" + log.info("backend loaded: %s", BACKEND_MODULE) return BACKEND_MODULE - if backend_str == PYQT5 and not HAVE_BACKEND: - msg = "{0} backend could not be loaded".format(backend_str) - log.exception(msg) - raise ValueError(msg) + if backend_str == PYQT5 and not HAVE_BACKEND: + msg = f"{backend_str} backend could not be loaded" + log.exception(msg) + raise ValueError(msg) if backend_str == PYSIDE2 or (backend_str is None and not HAVE_BACKEND): if load_pyside2(): HAVE_BACKEND = True - BACKEND_MODULE = 'qt-pyside2' - log.info("backend loaded: {0}".format(BACKEND_MODULE)) + BACKEND_MODULE = "pyside2" + log.info("backend loaded: %s", BACKEND_MODULE) return BACKEND_MODULE elif backend_str == PYSIDE2 and not HAVE_BACKEND: - msg = "{0} could not be loaded".format(backend_str) + msg = f"{backend_str} could not be loaded" log.exception(msg) raise ValueError(msg) + if backend_str == PYQT6 or backend_str is None: + if load_pyqt6(): + HAVE_BACKEND = True + BACKEND_MODULE = "pyqt6" + log.info("backend loaded: %s", BACKEND_MODULE) + return BACKEND_MODULE + if backend_str == PYQT6 and not HAVE_BACKEND: + msg = f"{backend_str} backend could not be loaded" + log.exception(msg) + raise ValueError(msg) + + if backend_str == PYSIDE6 or backend_str is None: + if load_pyside6(): + HAVE_BACKEND = True + BACKEND_MODULE = "pyside6" + log.info("backend loaded: %s", BACKEND_MODULE) + return BACKEND_MODULE + if backend_str == PYSIDE6 and not HAVE_BACKEND: + msg = f"{backend_str} backend could not be loaded" + log.exception(msg) + raise ValueError(msg) + if backend_str == WX or (backend_str is None and not HAVE_BACKEND): if load_wx(): HAVE_BACKEND = True - BACKEND_MODULE = 'wx' - log.info("backend loaded: {0}".format(BACKEND_MODULE)) + BACKEND_MODULE = "wx" + log.info("backend loaded: %s", BACKEND_MODULE) return BACKEND_MODULE elif backend_str == WX and not HAVE_BACKEND: - msg = "{0} backend could not be loaded".format(backend_str) - log.exception(msg) + msg = f"{backend_str} backend could not be loaded" + log.exception("%s backend could not be loaded", backend_str) raise ValueError(msg) - if not HAVE_BACKEND: - raise ImportError("No compliant GUI library could be imported.\n" - "Either PyQt5, PPySide2 or wxPython is required") + # finally, return a tk backend, available on all machines + return "tk" -def get_qt_modules(): +def get_qt_modules() -> Tuple[Any, Any, Any, Any]: """ Returns @@ -200,20 +334,21 @@ def get_qt_modules(): ValueError when no Qt backend has been yet loaded informs the user to call `load_backend` or that no Qt python module - ( PyQt5, PySide ) is found + (PyQt5, PySide) is found """ if not HAVE_BACKEND: - raise ValueError("no backend has been imported yet with " - "``load_backend``... ") - - if HAVE_PYQT5 or HAVE_PYSIDE2: + raise ValueError( + "no backend has been imported yet with " "``load_backend``... " + ) + if HAVE_PYQT5 or HAVE_PYQT6 or HAVE_PYSIDE2 or HAVE_PYSIDE6: return QtCore, QtGui, QtWidgets, QtOpenGL - elif HAVE_WX: - raise ValueError("the Wx backend is already loaded") - else: - msg = ("no Qt backend is loaded, hence cannot return any modules\n" - "either you havent got PyQt5 or PySide2 installed\n" - "or you havent yet loaded a backend with the " - "`OCC.Display.backend.load_backend` function") - raise ValueError(msg) + if HAVE_WX: + raise ValueError("the wx backend is already loaded") + msg = ( + "no Qt backend is loaded, hence cannot return any modules\n" + "either you haven't got PyQt5, PyQt6, PySide2 or PySide6 installed\n" + "or you haven't yet loaded a backend with the " + "`OCC.Display.backend.load_backend` function" + ) + raise ValueError(msg) diff --git a/src/Display/backend.pyi b/src/Display/backend.pyi new file mode 100644 index 000000000..a636a8303 --- /dev/null +++ b/src/Display/backend.pyi @@ -0,0 +1,13 @@ +from typing import Any, Optional, Tuple + +def qt6_force_xcb_on_linux() -> None: ... +def load_pyqt5() -> bool: ... +def load_pyside2() -> bool: ... +def load_pyqt6() -> bool: ... +def load_pyside6() -> bool: ... +def load_wx() -> bool: ... +def loaded_backend() -> bool: ... +def get_loaded_backend() -> str: ... +def load_any_qt_backend() -> bool: ... +def load_backend(backend_str: Optional[str] = None) -> str: ... +def get_qt_modules() -> Tuple[Any, Any, Any, Any]: ... diff --git a/src/Display/qtDisplay.py b/src/Display/qtDisplay.py index 8ca57eea5..f91ed4fef 100644 --- a/src/Display/qtDisplay.py +++ b/src/Display/qtDisplay.py @@ -1,281 +1,503 @@ -#!/usr/bin/env python - -##Copyright 2009-2019 Thomas Paviot (tpaviot@gmail.com) -## -##This file is part of pythonOCC. -## -##pythonOCC is free software: you can redistribute it and/or modify -##it under the terms of the GNU Lesser General Public License as published by -##the Free Software Foundation, either version 3 of the License, or -##(at your option) any later version. -## -##pythonOCC is distributed in the hope that it will be useful, -##but WITHOUT ANY WARRANTY; without even the implied warranty of -##MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -##GNU Lesser General Public License for more details. -## -##You should have received a copy of the GNU Lesser General Public License -##along with pythonOCC. If not, see . - -import ctypes -import logging -import os -import sys - -from OCC.Display import OCCViewer -from OCC.Display.backend import get_qt_modules - -QtCore, QtGui, QtWidgets, QtOpenGL = get_qt_modules() - -# check if signal available, not available -# on PySide -HAVE_PYQT_SIGNAL = hasattr(QtCore, 'pyqtSignal') - -logging.basicConfig(stream=sys.stdout, level=logging.DEBUG) -log = logging.getLogger(__name__) - - -class qtBaseViewer(QtOpenGL.QGLWidget): - ''' The base Qt Widget for an OCC viewer - ''' - def __init__(self, parent=None): - super(qtBaseViewer, self).__init__(parent) - self._display = OCCViewer.Viewer3d() - self._inited = False - - # enable Mouse Tracking - self.setMouseTracking(True) - - # Strong focus - self.setFocusPolicy(QtCore.Qt.WheelFocus) - - self.setAttribute(QtCore.Qt.WA_NativeWindow) - self.setAttribute(QtCore.Qt.WA_PaintOnScreen) - self.setAttribute(QtCore.Qt.WA_NoSystemBackground) - - self.setAutoFillBackground(False) - - def resizeEvent(self, event): - super(qtBaseViewer, self).resizeEvent(event) - self._display.View.MustBeResized() - - def paintEngine(self): - return None - - -class qtViewer3d(qtBaseViewer): - - # emit signal when selection is changed - # is a list of TopoDS_* - if HAVE_PYQT_SIGNAL: - sig_topods_selected = QtCore.pyqtSignal(list) - - def __init__(self, *kargs): - qtBaseViewer.__init__(self, *kargs) - - self.setObjectName("qt_viewer_3d") - - self._drawbox = False - self._zoom_area = False - self._select_area = False - self._inited = False - self._leftisdown = False - self._middleisdown = False - self._rightisdown = False - self._selection = None - self._drawtext = True - self._qApp = QtWidgets.QApplication.instance() - self._key_map = {} - self._current_cursor = "arrow" - self._available_cursors = {} - - @property - def qApp(self): - # reference to QApplication instance - return self._qApp - - @qApp.setter - def qApp(self, value): - self._qApp = value - - def InitDriver(self): - self._display.Create(window_handle=int(self.winId()), parent=self) - # background gradient - self._display.SetModeShaded() - self._inited = True - # dict mapping keys to functions - self._key_map = {ord('W'): self._display.SetModeWireFrame, - ord('S'): self._display.SetModeShaded, - ord('A'): self._display.EnableAntiAliasing, - ord('B'): self._display.DisableAntiAliasing, - ord('H'): self._display.SetModeHLR, - ord('F'): self._display.FitAll, - ord('G'): self._display.SetSelectionMode} - self.createCursors() - - def createCursors(self): - module_pth = os.path.abspath(os.path.dirname(__file__)) - icon_pth = os.path.join(module_pth, "icons") - - _CURSOR_PIX_ROT = QtGui.QPixmap(os.path.join(icon_pth, "cursor-rotate.png")) - _CURSOR_PIX_PAN = QtGui.QPixmap(os.path.join(icon_pth, "cursor-pan.png")) - _CURSOR_PIX_ZOOM = QtGui.QPixmap(os.path.join(icon_pth, "cursor-magnify.png")) - _CURSOR_PIX_ZOOM_AREA = QtGui.QPixmap(os.path.join(icon_pth, "cursor-magnify-area.png")) - - self._available_cursors = { - "arrow": QtGui.QCursor(QtCore.Qt.ArrowCursor), # default - "pan": QtGui.QCursor(_CURSOR_PIX_PAN), - "rotate": QtGui.QCursor(_CURSOR_PIX_ROT), - "zoom": QtGui.QCursor(_CURSOR_PIX_ZOOM), - "zoom-area": QtGui.QCursor(_CURSOR_PIX_ZOOM_AREA), - } - - self._current_cursor = "arrow" - - def keyPressEvent(self, event): - code = event.key() - if code in self._key_map: - self._key_map[code]() - elif code in range(256): - log.info('key: "%s"(code %i) not mapped to any function' % (chr(code), code)) - else: - log.info('key: code %i not mapped to any function' % code) - - def focusInEvent(self, event): - if self._inited: - self._display.Repaint() - - def focusOutEvent(self, event): - if self._inited: - self._display.Repaint() - - def paintEvent(self, event): - if not self._inited: - self.InitDriver() - - self._display.Context.UpdateCurrentViewer() - - if self._drawbox: - painter = QtGui.QPainter(self) - painter.setPen(QtGui.QPen(QtGui.QColor(0, 0, 0), 2)) - rect = QtCore.QRect(*self._drawbox) - painter.drawRect(rect) - - def wheelEvent(self, event): - delta = event.angleDelta().y() - if delta > 0: - zoom_factor = 2. - else: - zoom_factor = 0.5 - self._display.ZoomFactor(zoom_factor) - - @property - def cursor(self): - return self._current_cursor - - @cursor.setter - def cursor(self, value): - if not self._current_cursor == value: - - self._current_cursor = value - cursor = self._available_cursors.get(value) - - if cursor: - self.qApp.setOverrideCursor(cursor) - else: - self.qApp.restoreOverrideCursor() - - def mousePressEvent(self, event): - self.setFocus() - ev = event.pos() - self.dragStartPosX = ev.x() - self.dragStartPosY = ev.y() - self._display.StartRotation(self.dragStartPosX, self.dragStartPosY) - - def mouseReleaseEvent(self, event): - pt = event.pos() - modifiers = event.modifiers() - - if event.button() == QtCore.Qt.LeftButton: - if self._select_area: - [Xmin, Ymin, dx, dy] = self._drawbox - self._display.SelectArea(Xmin, Ymin, Xmin + dx, Ymin + dy) - self._select_area = False - else: - # multiple select if shift is pressed - if modifiers == QtCore.Qt.ShiftModifier: - self._display.ShiftSelect(pt.x(), pt.y()) - else: - # single select otherwise - self._display.Select(pt.x(), pt.y()) - - if (self._display.selected_shapes is not None) and HAVE_PYQT_SIGNAL: - self.sig_topods_selected.emit(self._display.selected_shapes) - - - elif event.button() == QtCore.Qt.RightButton: - if self._zoom_area: - [Xmin, Ymin, dx, dy] = self._drawbox - self._display.ZoomArea(Xmin, Ymin, Xmin + dx, Ymin + dy) - self._zoom_area = False - - self.cursor = "arrow" - - def DrawBox(self, event): - tolerance = 2 - pt = event.pos() - dx = pt.x() - self.dragStartPosX - dy = pt.y() - self.dragStartPosY - if abs(dx) <= tolerance and abs(dy) <= tolerance: - return - self._drawbox = [self.dragStartPosX, self.dragStartPosY, dx, dy] - - - def mouseMoveEvent(self, evt): - pt = evt.pos() - buttons = int(evt.buttons()) - modifiers = evt.modifiers() - # ROTATE - if (buttons == QtCore.Qt.LeftButton and - not modifiers == QtCore.Qt.ShiftModifier): - self.cursor = "rotate" - self._display.Rotation(pt.x(), pt.y()) - self._drawbox = False - # DYNAMIC ZOOM - elif (buttons == QtCore.Qt.RightButton and - not modifiers == QtCore.Qt.ShiftModifier): - self.cursor = "zoom" - self._display.Repaint() - self._display.DynamicZoom(abs(self.dragStartPosX), - abs(self.dragStartPosY), abs(pt.x()), - abs(pt.y())) - self.dragStartPosX = pt.x() - self.dragStartPosY = pt.y() - self._drawbox = False - # PAN - elif buttons == QtCore.Qt.MidButton: - dx = pt.x() - self.dragStartPosX - dy = pt.y() - self.dragStartPosY - self.dragStartPosX = pt.x() - self.dragStartPosY = pt.y() - self.cursor = "pan" - self._display.Pan(dx, -dy) - self._drawbox = False - # DRAW BOX - # ZOOM WINDOW - elif (buttons == QtCore.Qt.RightButton and - modifiers == QtCore.Qt.ShiftModifier): - self._zoom_area = True - self.cursor = "zoom-area" - self.DrawBox(evt) - self.update() - # SELECT AREA - elif (buttons == QtCore.Qt.LeftButton and - modifiers == QtCore.Qt.ShiftModifier): - self._select_area = True - self.DrawBox(evt) - self.update() - else: - self._drawbox = False - self._display.MoveTo(pt.x(), pt.y()) - self.cursor = "arrow" +#!/usr/bin/env python + +##Copyright 2009-2019 Thomas Paviot (tpaviot@gmail.com) +## +##This file is part of pythonOCC. +## +##pythonOCC is free software: you can redistribute it and/or modify +##it under the terms of the GNU Lesser General Public License as published by +##the Free Software Foundation, either version 3 of the License, or +##(at your option) any later version. +## +##pythonOCC is distributed in the hope that it will be useful, +##but WITHOUT ANY WARRANTY; without even the implied warranty of +##MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +##GNU Lesser General Public License for more details. +## +##You should have received a copy of the GNU Lesser General Public License +##along with pythonOCC. If not, see . + +import logging +import os +from typing import Any, Callable, Dict, List, Optional + +from OCC.Core.AIS import AIS_Manipulator +from OCC.Core.gp import gp_Trsf +from OCC.Display import OCCViewer +from OCC.Display.backend import get_qt_modules + +QtCore, QtGui, QtWidgets, QtOpenGL = get_qt_modules() + +log = logging.getLogger(__name__) +log.setLevel(logging.DEBUG) + + +class qtBaseViewer(QtWidgets.QWidget): + """ + The base Qt Widget for an OCC viewer. + """ + + def __init__(self, parent: Optional[Any] = None) -> None: + """ + Initializes the qtBaseViewer. + + Args: + parent (QWidget, optional): The parent widget. + """ + super(qtBaseViewer, self).__init__(parent) + self._display = OCCViewer.Viewer3d() + self._inited = False + + # enable Mouse Tracking + self.setMouseTracking(True) + + # Strong focus + self.setFocusPolicy(QtCore.Qt.FocusPolicy.WheelFocus) + + self.setAttribute(QtCore.Qt.WidgetAttribute.WA_NativeWindow) + self.setAttribute(QtCore.Qt.WidgetAttribute.WA_PaintOnScreen) + self.setAttribute(QtCore.Qt.WidgetAttribute.WA_NoSystemBackground) + + self.setAutoFillBackground(False) + + def resizeEvent(self, event: Any) -> None: + """ + Called when the widget is resized. + """ + super(qtBaseViewer, self).resizeEvent(event) + self._display.View.MustBeResized() + + def paintEngine(self) -> None: + """ + Returns the paint engine. + """ + return None + + +class qtViewer3d(qtBaseViewer): + """ + A Qt Widget for an OCC viewer. + """ + + # emit signal when selection is changed + # is a list of TopoDS_* + if hasattr(QtCore, "pyqtSignal"): # PyQt5 + sig_topods_selected = QtCore.pyqtSignal(list) + elif hasattr(QtCore, "Signal"): # PySide2 + sig_topods_selected = QtCore.Signal(list) + else: + raise IOError("no signal") + + def __init__(self, *kargs: Any) -> None: + """ + Initializes the qtViewer3d. + """ + qtBaseViewer.__init__(self, *kargs) + + self.setObjectName("qt_viewer_3d") + + self._drawbox = False + self._zoom_area = False + self._select_area = False + self._inited = False + self._leftisdown = False + self._middleisdown = False + self._rightisdown = False + self._selection = None + self._drawtext = True + self._qApp = QtWidgets.QApplication.instance() + self._key_map: Dict[int, Callable] = {} + self._current_cursor = "arrow" + self._available_cursors: Dict[str, QtGui.QCursor] = {} + + @property + def qApp(self) -> Any: + """ + A reference to the QApplication instance. + """ + return self._qApp + + @qApp.setter + def qApp(self, value: Any) -> None: + self._qApp = value + + def InitDriver(self) -> None: + """ + Initializes the driver. + """ + self._display.Create(window_handle=int(self.winId()), parent=self) + # background gradient + self._display.SetModeShaded() + self._inited = True + # dict mapping keys to functions + self._key_map = { + ord("W"): self._display.SetModeWireFrame, + ord("S"): self._display.SetModeShaded, + ord("A"): self._display.EnableAntiAliasing, + ord("B"): self._display.DisableAntiAliasing, + ord("H"): self._display.SetModeHLR, + ord("F"): self._display.FitAll, + ord("G"): self._display.SetSelectionMode, + } + self.createCursors() + + def createCursors(self) -> None: + """ + Creates the cursors. + """ + module_pth = os.path.abspath(os.path.dirname(__file__)) + icon_pth = os.path.join(module_pth, "icons") + + _CURSOR_PIX_ROT = QtGui.QPixmap(os.path.join(icon_pth, "cursor-rotate.png")) + _CURSOR_PIX_PAN = QtGui.QPixmap(os.path.join(icon_pth, "cursor-pan.png")) + _CURSOR_PIX_ZOOM = QtGui.QPixmap(os.path.join(icon_pth, "cursor-magnify.png")) + _CURSOR_PIX_ZOOM_AREA = QtGui.QPixmap( + os.path.join(icon_pth, "cursor-magnify-area.png") + ) + + self._available_cursors = { + "arrow": QtGui.QCursor(QtCore.Qt.CursorShape.ArrowCursor), # default + "pan": QtGui.QCursor(_CURSOR_PIX_PAN), + "rotate": QtGui.QCursor(_CURSOR_PIX_ROT), + "zoom": QtGui.QCursor(_CURSOR_PIX_ZOOM), + "zoom-area": QtGui.QCursor(_CURSOR_PIX_ZOOM_AREA), + } + + self._current_cursor = "arrow" + + def keyPressEvent(self, event: Any) -> None: + """ + Called when a key is pressed. + """ + super(qtViewer3d, self).keyPressEvent(event) + code = event.key() + if code in self._key_map: + self._key_map[code]() + elif code in range(256): + log.info( + 'key: "%s"(code %i) not mapped to any function' % (chr(code), code) + ) + else: + log.info("key: code %i not mapped to any function" % code) + + def focusInEvent(self, event: Any) -> None: + """ + Called when the widget gains focus. + """ + if self._inited: + self._display.Repaint() + + def focusOutEvent(self, event: Any) -> None: + """ + Called when the widget loses focus. + """ + if self._inited: + self._display.Repaint() + + def paintEvent(self, event: Any) -> None: + """ + Called when the widget is painted. + """ + if not self._inited: + self.InitDriver() + + self._display.Context.UpdateCurrentViewer() + + if self._drawbox: + painter = QtGui.QPainter(self) + painter.setPen(QtGui.QPen(QtGui.QColor(0, 0, 0), 2)) + rect = QtCore.QRect(*self._drawbox) + painter.drawRect(rect) + + def wheelEvent(self, event: Any) -> None: + """ + Called when the mouse wheel is scrolled. + """ + delta = event.angleDelta().y() + zoom_factor = 2.0 if delta > 0 else 0.5 + self._display.ZoomFactor(zoom_factor) + + @property + def cursor(self) -> str: + """ + The current cursor. + """ + return self._current_cursor + + @cursor.setter + def cursor(self, value: str) -> None: + if self._current_cursor != value: + self._current_cursor = value + if cursor := self._available_cursors.get(value): + self.qApp.setOverrideCursor(cursor) + else: + self.qApp.restoreOverrideCursor() + + def mousePressEvent(self, event: Any) -> None: + """ + Called when a mouse button is pressed. + """ + self.setFocus() + ev = event.pos() + self.dragStartPosX = ev.x() + self.dragStartPosY = ev.y() + self._display.StartRotation(self.dragStartPosX, self.dragStartPosY) + + def mouseReleaseEvent(self, event: Any) -> None: + """ + Called when a mouse button is released. + """ + pt = event.pos() + modifiers = event.modifiers() + + if event.button() == QtCore.Qt.MouseButton.LeftButton: + if self._select_area: + [Xmin, Ymin, dx, dy] = self._drawbox + self._display.SelectArea(Xmin, Ymin, Xmin + dx, Ymin + dy) + self._select_area = False + elif modifiers == QtCore.Qt.Modifier.SHIFT: + self._display.ShiftSelect(pt.x(), pt.y()) + else: + # single select otherwise + self._display.Select(pt.x(), pt.y()) + + if self._display.selected_shapes is not None: + self.sig_topods_selected.emit(self._display.selected_shapes) + + elif event.button() == QtCore.Qt.MouseButton.RightButton: + if self._zoom_area: + [Xmin, Ymin, dx, dy] = self._drawbox + self._display.ZoomArea(Xmin, Ymin, Xmin + dx, Ymin + dy) + self._zoom_area = False + + self.cursor = "arrow" + + def DrawBox(self, event: Any) -> None: + """ + Draws a selection box. + """ + tolerance = 2 + pt = event.pos() + dx = pt.x() - self.dragStartPosX + dy = pt.y() - self.dragStartPosY + if abs(dx) <= tolerance and abs(dy) <= tolerance: + return + self._drawbox = [self.dragStartPosX, self.dragStartPosY, dx, dy] + + def mouseMoveEvent(self, evt: Any) -> None: + """ + Called when the mouse is moved. + """ + pt = evt.pos() + # buttons = int(evt.buttons()) + buttons = evt.buttons() + modifiers = evt.modifiers() + # ROTATE + if ( + buttons == QtCore.Qt.MouseButton.LeftButton + and modifiers != QtCore.Qt.Modifier.SHIFT + ): + self.cursor = "rotate" + self._display.Rotation(pt.x(), pt.y()) + self._drawbox = False + elif ( + buttons == QtCore.Qt.MouseButton.RightButton + and modifiers != QtCore.Qt.Modifier.SHIFT + ): + self.cursor = "zoom" + self._display.Repaint() + self._display.DynamicZoom( + abs(self.dragStartPosX), + abs(self.dragStartPosY), + abs(pt.x()), + abs(pt.y()), + ) + self.dragStartPosX = pt.x() + self.dragStartPosY = pt.y() + self._drawbox = False + elif buttons == QtCore.Qt.MouseButton.MiddleButton: + dx = pt.x() - self.dragStartPosX + dy = pt.y() - self.dragStartPosY + self.dragStartPosX = pt.x() + self.dragStartPosY = pt.y() + self.cursor = "pan" + self._display.Pan(dx, -dy) + self._drawbox = False + elif buttons == QtCore.Qt.MouseButton.RightButton: + self._zoom_area = True + self.cursor = "zoom-area" + self.DrawBox(evt) + self.update() + elif buttons == QtCore.Qt.MouseButton.LeftButton: + self._select_area = True + self.DrawBox(evt) + self.update() + else: + self._drawbox = False + self._display.MoveTo(pt.x(), pt.y()) + self.cursor = "arrow" + + +class qtViewer3dWithManipulator(qtViewer3d): + """ + A Qt Widget for an OCC viewer with a manipulator. + """ + + # emit signal when selection is changed + # is a list of TopoDS_* + if hasattr(QtCore, "pyqtSignal"): # PyQt5 + sig_topods_selected = QtCore.pyqtSignal(list) + elif hasattr(QtCore, "Signal"): + sig_topods_selected = QtCore.Signal(list) + + def __init__(self, *kargs: Any) -> None: + """ + Initializes the qtViewer3dWithManipulator. + """ + qtBaseViewer.__init__(self, *kargs) + + self.setObjectName("qt_viewer_3d") + + self._drawbox = False + self._zoom_area = False + self._select_area = False + self._inited = False + self._leftisdown = False + self._middleisdown = False + self._rightisdown = False + self._selection = None + self._drawtext = True + self._qApp = QtWidgets.QApplication.instance() + self._key_map: Dict[int, Callable] = {} + self._current_cursor = "arrow" + self._available_cursors: Dict[str, QtGui.QCursor] = {} + + # create empty manipulator + self.manipulator = AIS_Manipulator() + self.trsf_manip: List[gp_Trsf] = [] + self.manip_moved = False + + def set_manipulator(self, manipulator: AIS_Manipulator) -> None: + """ + Sets the manipulator to use. + + Args: + manipulator: The manipulator to use. + """ + self.trsf_manip = [] + self.manipulator = manipulator + self.manip_moved = False + + def mousePressEvent(self, event: Any) -> None: + """ + Called when a mouse button is pressed. + """ + self.setFocus() + ev = event.pos() + self.dragStartPosX = ev.x() + self.dragStartPosY = ev.y() + if self.manipulator.HasActiveMode(): + self.manipulator.StartTransform( + self.dragStartPosX, self.dragStartPosY, self._display.GetView() + ) + else: + self._display.StartRotation(self.dragStartPosX, self.dragStartPosY) + + def mouseMoveEvent(self, evt: Any) -> None: + """ + Called when the mouse is moved. + """ + pt = evt.pos() + buttons = int(evt.buttons()) + modifiers = evt.modifiers() + # TRANSFORM via MANIPULATOR or ROTATE + if ( + buttons == QtCore.Qt.MouseButton.LeftButton + and modifiers != QtCore.Qt.Modifier.SHIFT + ): + if self.manipulator.HasActiveMode(): + self.trsf = self.manipulator.Transform( + pt.x(), pt.y(), self._display.GetView() + ) + self.manip_moved = True + self._display.View.Redraw() + else: + self.cursor = "rotate" + self._display.Rotation(pt.x(), pt.y()) + self._drawbox = False + elif ( + buttons == QtCore.Qt.MouseButton.RightButton + and modifiers != QtCore.Qt.Modifier.SHIFT + ): + self.cursor = "zoom" + self._display.Repaint() + self._display.DynamicZoom( + abs(self.dragStartPosX), + abs(self.dragStartPosY), + abs(pt.x()), + abs(pt.y()), + ) + self.dragStartPosX = pt.x() + self.dragStartPosY = pt.y() + self._drawbox = False + elif buttons == QtCore.Qt.MouseButton.MidButton: + dx = pt.x() - self.dragStartPosX + dy = pt.y() - self.dragStartPosY + self.dragStartPosX = pt.x() + self.dragStartPosY = pt.y() + self.cursor = "pan" + self._display.Pan(dx, -dy) + self._drawbox = False + elif buttons == QtCore.Qt.MouseButton.RightButton: + self._zoom_area = True + self.cursor = "zoom-area" + self.DrawBox(evt) + self.update() + elif buttons == QtCore.Qt.MouseButton.LeftButton: + self._select_area = True + self.DrawBox(evt) + self.update() + else: + self._drawbox = False + self._display.MoveTo(pt.x(), pt.y()) + self.cursor = "arrow" + + def get_trsf_from_manip(self) -> gp_Trsf: + """ + Returns the transformation from the manipulator. + """ + trsf = gp_Trsf() + for t in self.trsf_manip: + trsf.Multiply(t) + return trsf + + def mouseReleaseEvent(self, event: Any) -> None: + """ + Called when a mouse button is released. + """ + pt = event.pos() + modifiers = event.modifiers() + if event.button() == QtCore.Qt.MouseButton.LeftButton: + if self.manip_moved: + self.trsf_manip.append(self.trsf) + self.manip_moved = False + if self._select_area: + [Xmin, Ymin, dx, dy] = self._drawbox + self._display.SelectArea(Xmin, Ymin, Xmin + dx, Ymin + dy) + self._select_area = False + elif modifiers == QtCore.Qt.Modifier.SHIFT: + self._display.ShiftSelect(pt.x(), pt.y()) + else: + # single select otherwise + self._display.Select(pt.x(), pt.y()) + + if self._display.selected_shapes is not None: + self.sig_topods_selected.emit(self._display.selected_shapes) + + elif event.button() == QtCore.Qt.MouseButton.RightButton: + if self._zoom_area: + [Xmin, Ymin, dx, dy] = self._drawbox + self._display.ZoomArea(Xmin, Ymin, Xmin + dx, Ymin + dy) + self._zoom_area = False + + self.cursor = "arrow" diff --git a/src/Display/qtDisplay.pyi b/src/Display/qtDisplay.pyi new file mode 100644 index 000000000..dbe76dcbf --- /dev/null +++ b/src/Display/qtDisplay.pyi @@ -0,0 +1,46 @@ +from typing import Any, Optional + +from OCC.Core.AIS import AIS_Manipulator +from OCC.Core.gp import gp_Trsf +from OCC.Display.backend import get_qt_modules + +QtCore, QtGui, QtWidgets, QtOpenGL = get_qt_modules() + +class qtBaseViewer(QtWidgets.QWidget): + def __init__(self, parent: Optional[Any] = None) -> None: ... + def resizeEvent(self, event: Any) -> None: ... + def paintEngine(self) -> None: ... + +class qtViewer3d(qtBaseViewer): + sig_topods_selected: Any + + def __init__(self, *kargs: Any) -> None: ... + @property + def qApp(self) -> Any: ... + @qApp.setter + def qApp(self, value: Any) -> None: ... + def InitDriver(self) -> None: ... + def createCursors(self) -> None: ... + def keyPressEvent(self, event: Any) -> None: ... + def focusInEvent(self, event: Any) -> None: ... + def focusOutEvent(self, event: Any) -> None: ... + def paintEvent(self, event: Any) -> None: ... + def wheelEvent(self, event: Any) -> None: ... + @property + def cursor(self) -> str: ... + @cursor.setter + def cursor(self, value: str) -> None: ... + def mousePressEvent(self, event: Any) -> None: ... + def mouseReleaseEvent(self, event: Any) -> None: ... + def DrawBox(self, event: Any) -> None: ... + def mouseMoveEvent(self, evt: Any) -> None: ... + +class qtViewer3dWithManipulator(qtViewer3d): + sig_topods_selected: Any + + def __init__(self, *kargs: Any) -> None: ... + def set_manipulator(self, manipulator: AIS_Manipulator) -> None: ... + def mousePressEvent(self, event: Any) -> None: ... + def mouseMoveEvent(self, evt: Any) -> None: ... + def get_trsf_from_manip(self) -> gp_Trsf: ... + def mouseReleaseEvent(self, event: Any) -> None: ... diff --git a/src/Display/tkDisplay.py b/src/Display/tkDisplay.py new file mode 100644 index 000000000..b01b77981 --- /dev/null +++ b/src/Display/tkDisplay.py @@ -0,0 +1,108 @@ +##Copyright 2023 Thomas Paviot (tpaviot@gmail.com) +## +##This file is part of pythonOCC. +## +##pythonOCC is free software: you can redistribute it and/or modify +##it under the terms of the GNU Lesser General Public License as published by +##the Free Software Foundation, either version 3 of the License, or +##(at your option) any later version. +## +##pythonOCC is distributed in the hope that it will be useful, +##but WITHOUT ANY WARRANTY; without even the implied warranty of +##MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +##GNU Lesser General Public License for more details. +## +##You should have received a copy of the GNU Lesser General Public License +##along with pythonOCC. If not, see . + +import tkinter as tk + +from OCC.Display import OCCViewer + + +class tkViewer3d(tk.Frame): + """ + A Tkinter widget for an OCC viewer. + """ + + def __init__(self, parent: "tk.Widget", default: str = "") -> None: + """ + Initializes the tkViewer3d. + + Args: + parent: The parent widget. + default (str, optional): The default value. + """ + tk.Frame.__init__(self, parent, width=1024, height=768) + self.bind("", self.Map) + self.bind("", self.Resize) + self.bind("", self.Rotate) + self.bind("", self.LeftDown) + self.bind("", self.Pan) + self.bind("", self.LeftDown) + # zoom + self.bind("", self.Zoom) # windows + self.bind("", self.Zoom) # Linux + self.bind("", self.Zoom) # Linux + + self._display = None + self._inited = False + + self.drag_pos_y = self.drag_pos_x = 0 + + def LeftDown(self, event: "tk.Event") -> None: + """ + Called when the left mouse button is pressed. + """ + self.drag_pos_x = event.x + self.drag_pos_y = event.y + self._display.StartRotation(self.drag_pos_x, self.drag_pos_y) + + def Rotate(self, event: "tk.Event") -> None: + """ + Called when the mouse is moved with the left button pressed. + """ + self._display.Rotation(event.x, event.y) + + def Pan(self, event: "tk.Event") -> None: + """ + Called when the mouse is moved with the middle button pressed. + """ + dx = event.x - self.drag_pos_x + dy = event.y - self.drag_pos_y + self.drag_pos_x = event.x + self.drag_pos_y = event.y + self._display.Pan(dx, -dy) + + def Zoom(self, event: "tk.Event") -> None: + """ + Called when the mouse wheel is scrolled. + """ + # Linux + if event.num == 4 or event.delta > 0: # zoom in + zoom_factor = 2.0 + elif event.num == 5 or event.delta < 0: # zoom out + zoom_factor = 0.5 + # Windows + if event.delta < 0: # zoom out + zoom_factor = 1 / 1.2 + elif event.delta > 0: # zoom in + zoom_factor = 1.2 + self._display.ZoomFactor(zoom_factor) + + def Resize(self, event: "tk.Event") -> None: + """ + Called when the widget is resized. + """ + if self._inited: + self._display.Repaint() + + def Map(self, event: "tk.Event") -> None: + """ + Called when the widget is mapped. + """ + if not self._inited: + self._display = OCCViewer.Viewer3d() + self._display.Create(window_handle=self.winfo_id(), parent=self) + self._display.SetModeShaded() + self._inited = True diff --git a/src/Display/tkDisplay.pyi b/src/Display/tkDisplay.pyi new file mode 100644 index 000000000..1fa0a2d0f --- /dev/null +++ b/src/Display/tkDisplay.pyi @@ -0,0 +1,11 @@ +import tkinter as tk +from typing import Any + +class tkViewer3d(tk.Frame): + def __init__(self, parent: Any, default: str = "") -> None: ... + def LeftDown(self, event: Any) -> None: ... + def Rotate(self, event: Any) -> None: ... + def Pan(self, event: Any) -> None: ... + def Zoom(self, event: Any) -> None: ... + def Resize(self, event: Any) -> None: ... + def Map(self, event: Any) -> None: ... diff --git a/src/Display/wxDisplay.py b/src/Display/wxDisplay.py index 1f0a3ff4e..70ddf1acc 100644 --- a/src/Display/wxDisplay.py +++ b/src/Display/wxDisplay.py @@ -1,324 +1,453 @@ -#!/usr/bin/env python - -##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 . - -from __future__ import print_function - -import time - -try: - import wx -except ImportError: - raise ImportError('Please install wxPython.') -from OCC.Display import OCCViewer - - -class wxBaseViewer(wx.Panel): - def __init__(self, parent=None): - wx.Panel.__init__(self, parent) - self.Bind(wx.EVT_SIZE, self.OnSize) - self.Bind(wx.EVT_IDLE, self.OnIdle) - self.Bind(wx.EVT_MOVE, self.OnMove) - self.Bind(wx.EVT_SET_FOCUS, self.OnFocus) - self.Bind(wx.EVT_KILL_FOCUS, self.OnLostFocus) - self.Bind(wx.EVT_MAXIMIZE, self.OnMaximize) - self.Bind(wx.EVT_LEFT_DOWN, self.OnLeftDown) - self.Bind(wx.EVT_RIGHT_DOWN, self.OnRightDown) - self.Bind(wx.EVT_MIDDLE_DOWN, self.OnMiddleDown) - self.Bind(wx.EVT_LEFT_UP, self.OnLeftUp) - self.Bind(wx.EVT_RIGHT_UP, self.OnRightUp) - self.Bind(wx.EVT_MIDDLE_UP, self.OnMiddleUp) - self.Bind(wx.EVT_MOTION, self.OnMotion) - self.Bind(wx.EVT_KEY_DOWN, self.OnKeyDown) - self.Bind(wx.EVT_MOUSEWHEEL, self.OnWheelScroll) - - self._display = None - self._inited = False - - def GetWinId(self): - """ Returns the windows Id as an integer. - issue with GetHandle on Linux for wx versions - >3 or 4. Window must be displayed before GetHandle is - called. For that, just wait for a few milliseconds/seconds - before calling InitDriver - a solution is given here - see https://github.com/cztomczak/cefpython/issues/349 - but raises an issue with wxPython 4.x - finally, it seems that the sleep function does the job - reported as a pythonocc issue - https://github.com/tpaviot/pythonocc-core/476 - """ - timeout = 10 # 10 seconds - win_id = self.GetHandle() - init_time = time.time() - delta_t = 0. # elapsed time, initialized to 0 before the while loop - # if ever win_id is 0, enter the loop untill it gets a value - while win_id == 0 and delta_t < timeout: - time.sleep(0.1) - wx.SafeYield() - win_id = self.GetHandle() - delta_t = time.time() - init_time - # check that win_id is different from 0 - if win_id == 0: - raise AssertionError("Can't get win Id") - # otherwise returns the window Id - return win_id - - def OnSize(self, event): - if self._inited: - self._display.OnResize() - - def OnIdle(self, event): - pass - - def OnMove(self, event): - pass - - def OnFocus(self, event): - pass - - def OnLostFocus(self, event): - pass - - def OnMaximize(self, event): - pass - - def OnLeftDown(self, event): - pass - - def OnRightDown(self, event): - pass - - def OnMiddleDown(self, event): - pass - - def OnLeftUp(self, event): - pass - - def OnRightUp(self, event): - pass - - def OnMiddleUp(self, event): - pass - - def OnMotion(self, event): - pass - - def OnKeyDown(self, event): - pass - - -class wxViewer3d(wxBaseViewer): - def __init__(self, *kargs): - wxBaseViewer.__init__(self, *kargs) - - self._drawbox = False - self._zoom_area = False - self._select_area = False - self._inited = False - self._leftisdown = False - self._middleisdown = False - self._rightisdown = False - self._selection = None - self._scrollwheel = False - self._key_map = {} - self.dragStartPos = None - - def InitDriver(self): - self._display = OCCViewer.Viewer3d() - self._display.Create(window_handle=self.GetWinId(), parent=self) - - self._display.SetModeShaded() - self._inited = True - - # dict mapping keys to functions - self._SetupKeyMap() - - def _SetupKeyMap(self): - def set_shade_mode(): - self._display.DisableAntiAliasing() - self._display.SetModeShaded() - - self._key_map = {ord('W'): self._display.SetModeWireFrame, - ord('S'): set_shade_mode, - ord('A'): self._display.EnableAntiAliasing, - ord('B'): self._display.DisableAntiAliasing, - ord('H'): self._display.SetModeHLR, - ord('G'): self._display.SetSelectionModeVertex, - 306: lambda: print('Shift pressed') - } - - def OnKeyDown(self, evt): - code = evt.GetKeyCode() - try: - self._key_map[code]() - print('Key pressed: %i' % code) - except KeyError: - print('Unrecognized key pressed %i' % code) - - def OnMaximize(self, event): - if self._inited: - self._display.Repaint() - - def OnMove(self, event): - if self._inited: - self._display.Repaint() - - def OnIdle(self, event): - if self._drawbox: - pass - elif self._inited: - self._display.Repaint() - - def Test(self): - if self._inited: - self._display.Test() - - def OnFocus(self, event): - if self._inited: - self._display.Repaint() - - def OnLostFocus(self, event): - if self._inited: - self._display.Repaint() - - def OnPaint(self, event): - if self._inited: - self._display.Repaint() - - def ZoomAll(self, evt): - self._display.FitAll() - - def Repaint(self, evt): - if self._inited: - self._display.Repaint() - - def OnLeftDown(self, evt): - self.SetFocus() - self.dragStartPos = evt.GetPosition() - self._display.StartRotation(self.dragStartPos.x, self.dragStartPos.y) - - def OnLeftUp(self, evt): - pt = evt.GetPosition() - if self._select_area: - [Xmin, Ymin, dx, dy] = self._drawbox - self._display.SelectArea(Xmin, Ymin, Xmin+dx, Ymin+dy) - self._select_area = False - else: - self._display.Select(pt.x, pt.y) - - def OnRightUp(self, evt): - if self._zoom_area: - [Xmin, Ymin, dx, dy] = self._drawbox - self._display.ZoomArea(Xmin, Ymin, Xmin+dx, Ymin+dy) - self._zoom_area = False - - def OnMiddleUp(self, evt): - pass - - def OnRightDown(self, evt): - self.dragStartPos = evt.GetPosition() - self._display.StartRotation(self.dragStartPos.x, self.dragStartPos.y) - - def OnMiddleDown(self, evt): - self.dragStartPos = evt.GetPosition() - self._display.StartRotation(self.dragStartPos.x, self.dragStartPos.y) - - def OnWheelScroll(self, evt): - # Zooming by wheel - if evt.GetWheelRotation() > 0: - zoom_factor = 2. - else: - zoom_factor = 0.5 - self._display.Repaint() - self._display.ZoomFactor(zoom_factor) - - def DrawBox(self, event): - tolerance = 2 - pt = event.GetPosition() - dx = pt.x - self.dragStartPos.x - dy = pt.y - self.dragStartPos.y - if abs(dx) <= tolerance and abs(dy) <= tolerance: - return - dc = wx.ClientDC(self) - dc.SetPen(wx.Pen(wx.WHITE, 1, wx.DOT)) - dc.SetBrush(wx.TRANSPARENT_BRUSH) - dc.SetLogicalFunction(wx.XOR) - if self._drawbox: - r = wx.Rect(*self._drawbox) - dc.DrawRectangle(r) - r = wx.Rect(self.dragStartPos.x, self.dragStartPos.y, dx, dy) - dc.DrawRectangle(r) - self._drawbox = [self.dragStartPos.x, self.dragStartPos.y, dx, dy] - - def OnMotion(self, evt): - pt = evt.GetPosition() - - # ROTATE - if evt.LeftIsDown() and not evt.ShiftDown(): - self._display.Rotation(pt.x, pt.y) - self._drawbox = False - # DYNAMIC ZOOM - elif evt.RightIsDown() and not evt.ShiftDown(): - self._display.Repaint() - self._display.DynamicZoom(abs(self.dragStartPos.x), abs(self.dragStartPos.y), abs(pt.x), abs(pt.y)) - self.dragStartPos.x = pt.x - self.dragStartPos.y = pt.y - self._drawbox = False - # PAN - elif evt.MiddleIsDown(): - dx = pt.x - self.dragStartPos.x - dy = pt.y - self.dragStartPos.y - self.dragStartPos.x = pt.x - self.dragStartPos.y = pt.y - self._display.Pan(dx, -dy) - self._drawbox = False - # DRAW BOX - elif evt.RightIsDown() and evt.ShiftDown(): # ZOOM WINDOW - self._zoom_area = True - self.DrawBox(evt) - elif evt.LeftIsDown() and evt.ShiftDown(): # SELECT AREA - self._select_area = True - self.DrawBox(evt) - else: - self._drawbox = False - self._display.MoveTo(pt.x, pt.y) - - -def TestWxDisplay(): - class AppFrame(wx.Frame): - def __init__(self, parent): - wx.Frame.__init__(self, parent, -1, "wxDisplay3d sample", - style=wx.DEFAULT_FRAME_STYLE, size=(640, 480)) - self.canva = wxViewer3d(self) - - def runTests(self): - self.canva._display.Test() - - app = wx.App(False) - wx.InitAllImageHandlers() - frame = AppFrame(None) - frame.Show(True) - wx.SafeYield() - frame.canva.InitDriver() - frame.runTests() - app.SetTopWindow(frame) - app.MainLoop() - -if __name__ == "__main__": - TestWxDisplay() +#!/usr/bin/env python + +##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 . + +from __future__ import print_function + +import time +from typing import Any, Callable, Dict, Optional + +try: + import wx +except ImportError: + raise ImportError("Please install wxPython.") +from OCC.Display import OCCViewer + + +class wxBaseViewer(wx.Panel): + """ + The base wx.Panel for an OCC viewer. + """ + + def __init__(self, parent: Optional[Any] = None) -> None: + """ + Initializes the wxBaseViewer. + + Args: + parent (wx.Window, optional): The parent window. + """ + wx.Panel.__init__(self, parent) + self.Bind(wx.EVT_SIZE, self.OnSize) + self.Bind(wx.EVT_IDLE, self.OnIdle) + self.Bind(wx.EVT_MOVE, self.OnMove) + self.Bind(wx.EVT_SET_FOCUS, self.OnFocus) + self.Bind(wx.EVT_KILL_FOCUS, self.OnLostFocus) + self.Bind(wx.EVT_MAXIMIZE, self.OnMaximize) + self.Bind(wx.EVT_LEFT_DOWN, self.OnLeftDown) + self.Bind(wx.EVT_RIGHT_DOWN, self.OnRightDown) + self.Bind(wx.EVT_MIDDLE_DOWN, self.OnMiddleDown) + self.Bind(wx.EVT_LEFT_UP, self.OnLeftUp) + self.Bind(wx.EVT_RIGHT_UP, self.OnRightUp) + self.Bind(wx.EVT_MIDDLE_UP, self.OnMiddleUp) + self.Bind(wx.EVT_MOTION, self.OnMotion) + self.Bind(wx.EVT_KEY_DOWN, self.OnKeyDown) + self.Bind(wx.EVT_MOUSEWHEEL, self.OnWheelScroll) + + self._display: Optional[OCCViewer.Viewer3d] = None + self._inited = False + + def GetWinId(self) -> int: + """ + Returns the windows Id as an integer. + + On Linux, the window must be displayed before GetHandle is called. + For that, we wait for a few milliseconds/seconds before calling InitDriver. + """ + timeout = 10 # 10 seconds + win_id = self.GetHandle() + init_time = time.time() + delta_t = 0.0 # elapsed time, initialized to 0 before the while loop + # if ever win_id is 0, enter the loop until it gets a value + while win_id == 0 and delta_t < timeout: + time.sleep(0.1) + wx.SafeYield() + win_id = self.GetHandle() + delta_t = time.time() - init_time + # check that win_id is different from 0 + if win_id == 0: + raise AssertionError("Can't get win Id") + # otherwise returns the window Id + return win_id + + def OnSize(self, event: Any) -> None: + """ + Called when the widget is resized. + """ + if self._inited: + self._display.OnResize() + + def OnIdle(self, event: Any) -> None: + """ + Called when the application is idle. + """ + pass + + def OnMove(self, event: Any) -> None: + """ + Called when the widget is moved. + """ + pass + + def OnFocus(self, event: Any) -> None: + """ + Called when the widget gains focus. + """ + pass + + def OnLostFocus(self, event: Any) -> None: + """ + Called when the widget loses focus. + """ + pass + + def OnMaximize(self, event: Any) -> None: + """ + Called when the widget is maximized. + """ + pass + + def OnLeftDown(self, event: Any) -> None: + """ + Called when the left mouse button is pressed. + """ + pass + + def OnRightDown(self, event: Any) -> None: + """ + Called when the right mouse button is pressed. + """ + pass + + def OnMiddleDown(self, event: Any) -> None: + """ + Called when the middle mouse button is pressed. + """ + pass + + def OnLeftUp(self, event: Any) -> None: + """ + Called when the left mouse button is released. + """ + pass + + def OnRightUp(self, event: Any) -> None: + """ + Called when the right mouse button is released. + """ + pass + + def OnMiddleUp(self, event: Any) -> None: + """ + Called when the middle mouse button is released. + """ + pass + + def OnMotion(self, event: Any) -> None: + """ + Called when the mouse is moved. + """ + pass + + def OnKeyDown(self, event: Any) -> None: + """ + Called when a key is pressed. + """ + pass + + +class wxViewer3d(wxBaseViewer): + """ + A wx.Panel for an OCC viewer. + """ + + def __init__(self, *kargs: Any) -> None: + """ + Initializes the wxViewer3d. + """ + wxBaseViewer.__init__(self, *kargs) + + self._drawbox = False + self._zoom_area = False + self._select_area = False + self._inited = False + self._leftisdown = False + self._middleisdown = False + self._rightisdown = False + self._selection = None + self._scrollwheel = False + self._key_map: Dict[int, Callable] = {} + self.dragStartPos = None + + def InitDriver(self) -> None: + """ + Initializes the driver. + """ + self._display = OCCViewer.Viewer3d() + self._display.Create(window_handle=self.GetWinId(), parent=self) + + self._display.SetModeShaded() + self._inited = True + + # dict mapping keys to functions + self._SetupKeyMap() + + def _SetupKeyMap(self) -> None: + """ + Sets up the key map. + """ + + def set_shade_mode(): + self._display.DisableAntiAliasing() + self._display.SetModeShaded() + + self._key_map = { + ord("W"): self._display.SetModeWireFrame, + ord("S"): set_shade_mode, + ord("A"): self._display.EnableAntiAliasing, + ord("B"): self._display.DisableAntiAliasing, + ord("H"): self._display.SetModeHLR, + ord("G"): self._display.SetSelectionModeVertex, + 306: lambda: print("Shift pressed"), + } + + def OnKeyDown(self, evt: Any) -> None: + """ + Called when a key is pressed. + """ + code = evt.GetKeyCode() + try: + self._key_map[code]() + print("Key pressed: %i" % code) + except KeyError: + print("Unrecognized key pressed %i" % code) + + def OnMaximize(self, event: Any) -> None: + """ + Called when the widget is maximized. + """ + if self._inited: + self._display.Repaint() + + def OnMove(self, event: Any) -> None: + """ + Called when the widget is moved. + """ + if self._inited: + self._display.Repaint() + + def OnIdle(self, event: Any) -> None: + """ + Called when the application is idle. + """ + if self._drawbox: + pass + elif self._inited: + self._display.Repaint() + + def Test(self) -> None: + """ + Runs a test. + """ + if self._inited: + self._display.Test() + + def OnFocus(self, event: Any) -> None: + """ + Called when the widget gains focus. + """ + if self._inited: + self._display.Repaint() + + def OnLostFocus(self, event: Any) -> None: + """ + Called when the widget loses focus. + """ + if self._inited: + self._display.Repaint() + + def OnPaint(self, event: Any) -> None: + """ + Called when the widget is painted. + """ + if self._inited: + self._display.Repaint() + + def ZoomAll(self, evt: Any) -> None: + """ + Zooms to fit all objects in the view. + """ + self._display.FitAll() + + def Repaint(self, evt: Any) -> None: + """ + Repaints the view. + """ + if self._inited: + self._display.Repaint() + + def OnLeftDown(self, evt: Any) -> None: + """ + Called when the left mouse button is pressed. + """ + self.SetFocus() + self.dragStartPos = evt.GetPosition() + self._display.StartRotation(self.dragStartPos.x, self.dragStartPos.y) + + def OnLeftUp(self, evt: Any) -> None: + """ + Called when the left mouse button is released. + """ + pt = evt.GetPosition() + if self._select_area: + [Xmin, Ymin, dx, dy] = self._drawbox + self._display.SelectArea(Xmin, Ymin, Xmin + dx, Ymin + dy) + self._select_area = False + else: + self._display.Select(pt.x, pt.y) + + def OnRightUp(self, evt: Any) -> None: + """ + Called when the right mouse button is released. + """ + if self._zoom_area: + [Xmin, Ymin, dx, dy] = self._drawbox + self._display.ZoomArea(Xmin, Ymin, Xmin + dx, Ymin + dy) + self._zoom_area = False + + def OnMiddleUp(self, evt: Any) -> None: + """ + Called when the middle mouse button is released. + """ + pass + + def OnRightDown(self, evt: Any) -> None: + """ + Called when the right mouse button is pressed. + """ + self.dragStartPos = evt.GetPosition() + self._display.StartRotation(self.dragStartPos.x, self.dragStartPos.y) + + def OnMiddleDown(self, evt: Any) -> None: + """ + Called when the middle mouse button is pressed. + """ + self.dragStartPos = evt.GetPosition() + self._display.StartRotation(self.dragStartPos.x, self.dragStartPos.y) + + def OnWheelScroll(self, evt: Any) -> None: + """ + Called when the mouse wheel is scrolled. + """ + # Zooming by wheel + zoom_factor = 2.0 if evt.GetWheelRotation() > 0 else 0.5 + self._display.Repaint() + self._display.ZoomFactor(zoom_factor) + + def DrawBox(self, event: Any) -> None: + """ + Draws a selection box. + """ + tolerance = 2 + pt = event.GetPosition() + dx = pt.x - self.dragStartPos.x + dy = pt.y - self.dragStartPos.y + if abs(dx) <= tolerance and abs(dy) <= tolerance: + return + dc = wx.ClientDC(self) + dc.SetPen(wx.Pen(wx.WHITE, 1, wx.DOT)) + dc.SetBrush(wx.TRANSPARENT_BRUSH) + dc.SetLogicalFunction(wx.XOR) + if self._drawbox: + r = wx.Rect(*self._drawbox) + dc.DrawRectangle(r) + r = wx.Rect(self.dragStartPos.x, self.dragStartPos.y, dx, dy) + dc.DrawRectangle(r) + self._drawbox = [self.dragStartPos.x, self.dragStartPos.y, dx, dy] + + def OnMotion(self, evt: Any) -> None: + """ + Called when the mouse is moved. + """ + pt = evt.GetPosition() + + # ROTATE + if evt.LeftIsDown() and not evt.ShiftDown(): + self._display.Rotation(pt.x, pt.y) + self._drawbox = False + # DYNAMIC ZOOM + elif evt.RightIsDown() and not evt.ShiftDown(): + self._display.Repaint() + self._display.DynamicZoom( + abs(self.dragStartPos.x), abs(self.dragStartPos.y), abs(pt.x), abs(pt.y) + ) + self.dragStartPos.x = pt.x + self.dragStartPos.y = pt.y + self._drawbox = False + # PAN + elif evt.MiddleIsDown(): + dx = pt.x - self.dragStartPos.x + dy = pt.y - self.dragStartPos.y + self.dragStartPos.x = pt.x + self.dragStartPos.y = pt.y + self._display.Pan(dx, -dy) + self._drawbox = False + # DRAW BOX + elif evt.RightIsDown() and evt.ShiftDown(): # ZOOM WINDOW + self._zoom_area = True + self.DrawBox(evt) + elif evt.LeftIsDown() and evt.ShiftDown(): # SELECT AREA + self._select_area = True + self.DrawBox(evt) + else: + self._drawbox = False + self._display.MoveTo(pt.x, pt.y) + + +def TestWxDisplay() -> None: + """ + A test function for the wxViewer3d. + """ + + class AppFrame(wx.Frame): + def __init__(self, parent: Optional[Any]) -> None: + wx.Frame.__init__( + self, + parent, + -1, + "wxDisplay3d sample", + style=wx.DEFAULT_FRAME_STYLE, + size=(640, 480), + ) + self.canva = wxViewer3d(self) + + def runTests(self) -> None: + self.canva._display.Test() + + app = wx.App(False) + wx.InitAllImageHandlers() + frame = AppFrame(None) + frame.Show(True) + wx.SafeYield() + frame.canva.InitDriver() + frame.runTests() + app.SetTopWindow(frame) + app.MainLoop() + + +if __name__ == "__main__": + TestWxDisplay() diff --git a/src/Display/wxDisplay.pyi b/src/Display/wxDisplay.pyi new file mode 100644 index 000000000..f66c1eeb9 --- /dev/null +++ b/src/Display/wxDisplay.pyi @@ -0,0 +1,47 @@ +from typing import Any, Optional + +import wx + +class wxBaseViewer(wx.Panel): + def __init__(self, parent: Optional[Any] = None) -> None: ... + def GetWinId(self) -> int: ... + def OnSize(self, event: Any) -> None: ... + def OnIdle(self, event: Any) -> None: ... + def OnMove(self, event: Any) -> None: ... + def OnFocus(self, event: Any) -> None: ... + def OnLostFocus(self, event: Any) -> None: ... + def OnMaximize(self, event: Any) -> None: ... + def OnLeftDown(self, event: Any) -> None: ... + def OnRightDown(self, event: Any) -> None: ... + def OnMiddleDown(self, event: Any) -> None: ... + def OnLeftUp(self, event: Any) -> None: ... + def OnRightUp(self, event: Any) -> None: ... + def OnMiddleUp(self, event: Any) -> None: ... + def OnMotion(self, event: Any) -> None: ... + def OnKeyDown(self, event: Any) -> None: ... + +class wxViewer3d(wxBaseViewer): + def __init__(self, *kargs: Any) -> None: ... + def InitDriver(self) -> None: ... + def _SetupKeyMap(self) -> None: ... + def OnKeyDown(self, evt: Any) -> None: ... + def OnMaximize(self, event: Any) -> None: ... + def OnMove(self, event: Any) -> None: ... + def OnIdle(self, event: Any) -> None: ... + def Test(self) -> None: ... + def OnFocus(self, event: Any) -> None: ... + def OnLostFocus(self, event: Any) -> None: ... + def OnPaint(self, event: Any) -> None: ... + def ZoomAll(self, evt: Any) -> None: ... + def Repaint(self, evt: Any) -> None: ... + def OnLeftDown(self, evt: Any) -> None: ... + def OnLeftUp(self, evt: Any) -> None: ... + def OnRightUp(self, evt: Any) -> None: ... + def OnMiddleUp(self, evt: Any) -> None: ... + def OnRightDown(self, evt: Any) -> None: ... + def OnMiddleDown(self, evt: Any) -> None: ... + def OnWheelScroll(self, evt: Any) -> None: ... + def DrawBox(self, event: Any) -> None: ... + def OnMotion(self, evt: Any) -> None: ... + +def TestWxDisplay() -> None: ... diff --git a/src/Extend/DataExchange.py b/src/Extend/DataExchange.py index b6e3f0f95..817bbae0f 100644 --- a/src/Extend/DataExchange.py +++ b/src/Extend/DataExchange.py @@ -1,4 +1,4 @@ -##Copyright 2018 Thomas Paviot (tpaviot@gmail.com) +##Copyright 2018-2024 Thomas Paviot (tpaviot@gmail.com) ## ##This file is part of pythonOCC. ## @@ -16,131 +16,208 @@ ##along with pythonOCC. If not, see . import os +from typing import Union, List, Dict, Tuple, Any -from OCC.Core.TopoDS import TopoDS_Shape +from OCC.Core.TopoDS import TopoDS_Compound, TopoDS_Edge, TopoDS_Shape +from OCC.Core.BRepTools import breptools from OCC.Core.BRepMesh import BRepMesh_IncrementalMesh -from OCC.Core.StlAPI import stlapi_Read, StlAPI_Writer +from OCC.Core.StlAPI import stlapi, StlAPI_Writer from OCC.Core.BRep import BRep_Builder from OCC.Core.gp import gp_Pnt, gp_Dir, gp_Pnt2d from OCC.Core.Bnd import Bnd_Box2d -from OCC.Core.TopoDS import TopoDS_Compound -from OCC.Core.IGESControl import IGESControl_Reader, IGESControl_Writer -from OCC.Core.STEPControl import STEPControl_Reader, STEPControl_Writer, STEPControl_AsIs -from OCC.Core.Interface import Interface_Static_SetCVal +from OCC.Core.IGESControl import ( + IGESControl_Controller, + IGESControl_Reader, + IGESControl_Writer, +) +from OCC.Core.STEPControl import ( + STEPControl_Reader, + STEPControl_Writer, + STEPControl_AsIs, +) +from OCC.Core.Interface import Interface_Static from OCC.Core.IFSelect import IFSelect_RetDone, IFSelect_ItemsByEntity from OCC.Core.TDocStd import TDocStd_Document -from OCC.Core.XCAFDoc import (XCAFDoc_DocumentTool_ShapeTool, - XCAFDoc_DocumentTool_ColorTool) +from OCC.Core.XCAFDoc import ( + XCAFDoc_DocumentTool, + XCAFDoc_ColorTool, +) from OCC.Core.STEPCAFControl import STEPCAFControl_Reader from OCC.Core.TDF import TDF_LabelSequence, TDF_Label -from OCC.Core.TCollection import TCollection_ExtendedString from OCC.Core.Quantity import Quantity_Color, Quantity_TOC_RGB from OCC.Core.TopLoc import TopLoc_Location -from OCC.Core.BRepBuilderAPI import BRepBuilderAPI_Transform - -from OCC.Extend.TopologyUtils import (discretize_edge, get_sorted_hlr_edges, - list_of_shapes_to_compound) +from OCC.Core.BRepBuilderAPI import ( + BRepBuilderAPI_Transform, + BRepBuilderAPI_Sewing, + BRepBuilderAPI_MakeSolid, +) + +from OCC.Core.TColStd import TColStd_IndexedDataMapOfStringString +from OCC.Core.TCollection import TCollection_AsciiString +from OCC.Core.RWPly import RWPly_CafWriter +from OCC.Core.Message import Message_ProgressRange + +from OCC.Core.RWGltf import RWGltf_CafReader, RWGltf_CafWriter +from OCC.Core.RWObj import RWObj_CafWriter +from OCC.Core.RWMesh import ( + RWMesh_CoordinateSystem_posYfwd_posZup, + RWMesh_CoordinateSystem_negZfwd_posYup, +) +from OCC.Core.UnitsMethods import unitsmethods + +from OCC.Extend.TopologyUtils import discretize_edge, get_sorted_hlr_edges try: import svgwrite + HAVE_SVGWRITE = True except ImportError: HAVE_SVGWRITE = False + +def check_svgwrite_installed(): + if not HAVE_SVGWRITE: + raise IOError( + "svg exporter not available because the svgwrite package is not installed. use $pip install svgwrite'" + ) + + ########################## # Step import and export # ########################## -def read_step_file(filename, as_compound=True, verbosity=True): - """ read the STEP file and returns a compound - filename: the file path - verbosity: optional, False by default. - as_compound: True by default. If there are more than one shape at root, - gather all shapes into one compound. Otherwise returns a list of shapes. +def read_step_file( + filename: str, as_compound: bool = True, verbosity: bool = False +) -> Union[TopoDS_Shape, List[TopoDS_Shape]]: + """Read a STEP file and return the contained shape(s). + + Args: + filename: Path to the STEP file to read + as_compound: If True, combine multiple shapes into a single compound. + Defaults to True. + verbosity: If True, print detailed information during import. + Defaults to False. + + Returns: + Either a single TopoDS_Shape (if as_compound=True or only one shape present) + or a list of TopoDS_Shape objects + + Raises: + FileNotFoundError: If the specified file does not exist + AssertionError: If there are errors during STEP file reading or conversion """ if not os.path.isfile(filename): - raise FileNotFoundError("%s not found." % filename) + raise FileNotFoundError(f"STEP file not found: {filename}") step_reader = STEPControl_Reader() status = step_reader.ReadFile(filename) - if status == IFSelect_RetDone: # check status - if verbosity: - failsonly = False - step_reader.PrintCheckLoad(failsonly, IFSelect_ItemsByEntity) - step_reader.PrintCheckTransfer(failsonly, IFSelect_ItemsByEntity) - transfer_result = step_reader.TransferRoots() - if not transfer_result: - raise AssertionError("Transfer failed.") - _nbs = step_reader.NbShapes() - if _nbs == 0: - raise AssertionError("No shape to transfer.") - elif _nbs == 1: # most cases - return step_reader.Shape(1) - elif _nbs > 1: - print("Number of shapes:", _nbs) - shps = [] - # loop over root shapes - for k in range(1, _nbs + 1): - new_shp = step_reader.Shape(k) - if not new_shp.IsNull(): - shps.append(new_shp) - if as_compound: - compound, result = list_of_shapes_to_compound(shps) - if not result: - print("Warning: all shapes were not added to the compound") - return compound - else: - print("Warning, returns a list of shapes.") - return shps - else: + if status != IFSelect_RetDone: raise AssertionError("Error: can't read file.") - return None + if verbosity: + step_reader.PrintCheckLoad(False, IFSelect_ItemsByEntity) + step_reader.PrintCheckTransfer(False, IFSelect_ItemsByEntity) + + transfer_result = step_reader.TransferRoots() + if not transfer_result: + raise AssertionError("Transfer failed.") + + nb_shapes = step_reader.NbShapes() + if nb_shapes == 0: + raise AssertionError("No shape to transfer.") + + if nb_shapes == 1: + if as_compound: + return step_reader.Shape(1) + + return [step_reader.Shape(1)] + + shapes = [] + for i in range(1, nb_shapes + 1): + shape = step_reader.Shape(i) + if not shape.IsNull(): + shapes.append(shape) -def write_step_file(a_shape, filename, application_protocol="AP203"): - """ exports a shape to a STEP file - a_shape: the topods_shape to export (a compound, a solid etc.) - filename: the filename - application protocol: "AP203" or "AP214IS" or "AP242DIS" + if as_compound: + compound = TopoDS_Compound() + builder = BRep_Builder() + builder.MakeCompound(compound) + for shape in shapes: + builder.Add(compound, shape) + return compound + + return shapes + + +def write_step_file( + shape: TopoDS_Shape, filename: str, application_protocol: str = "AP203" +) -> None: + """Export a shape to STEP format. + + Args: + shape: The shape to export + filename: Target STEP file path + application_protocol: STEP format version to use. + Can be "AP203" (basic geometry), "AP214IS" (colors and layers), + or "AP242DIS" (latest version with PMI support). + Defaults to "AP203". + + Raises: + AssertionError: If shape is null or protocol is invalid + IOError: If export fails """ - # a few checks - if a_shape.IsNull(): - raise AssertionError("Shape %s is null." % a_shape) + if shape.IsNull(): + raise AssertionError("Shape is null.") + if application_protocol not in ["AP203", "AP214IS", "AP242DIS"]: - raise AssertionError("application_protocol must be either AP203 or AP214IS. You passed %s." % application_protocol) + raise AssertionError( + f"application_protocol must be either AP203 or AP214IS. You passed {application_protocol}." + ) + if os.path.isfile(filename): - print("Warning: %s file already exists and will be replaced" % filename) - # creates and initialise the step exporter - step_writer = STEPControl_Writer() - Interface_Static_SetCVal("write.step.schema", application_protocol) + print(f"Warning: {filename} file already exists and will be replaced") + + # Initialize STEP writer + writer = STEPControl_Writer() + Interface_Static.SetCVal("write.step.schema", application_protocol) - # transfer shapes and write file - step_writer.Transfer(a_shape, STEPControl_AsIs) - status = step_writer.Write(filename) + # Convert and write shape + writer.Transfer(shape, STEPControl_AsIs) + status = writer.Write(filename) - if not status == IFSelect_RetDone: + if status != IFSelect_RetDone: raise IOError("Error while writing shape to STEP file.") if not os.path.isfile(filename): - raise IOError("File %s was not saved to filesystem." % filename) + raise IOError(f"{filename} not saved to filesystem.") -def read_step_file_with_names_colors(filename): - """ Returns list of tuples (topods_shape, label, color) - Use OCAF. +def read_step_file_with_names_colors( + filename: str, +) -> Dict[TopoDS_Shape, List[Union[str, Quantity_Color]]]: + """ + Reads a STEP file and extracts shapes with their names and colors using OCAF. + + This function processes a STEP file, including its assembly structure, + and returns a dictionary mapping each shape to its name and color. + + :param filename: The path to the STEP file. + :return: A dictionary where keys are TopoDS_Shape objects and values are + lists containing the shape's name and its Quantity_Color. + :raises FileNotFoundError: If the specified file does not exist. """ if not os.path.isfile(filename): - raise FileNotFoundError("%s not found." % filename) + raise FileNotFoundError(f"{filename} not found.") # the list: output_shapes = {} # create an handle to a document - doc = TDocStd_Document(TCollection_ExtendedString("pythonocc-doc")) + doc = TDocStd_Document("pythonocc-doc-step-import") # Get root assembly - shape_tool = XCAFDoc_DocumentTool_ShapeTool(doc.Main()) - color_tool = XCAFDoc_DocumentTool_ColorTool(doc.Main()) - #layer_tool = XCAFDoc_DocumentTool_LayerTool(doc.Main()) - #mat_tool = XCAFDoc_DocumentTool_MaterialTool(doc.Main()) + shape_tool = XCAFDoc_DocumentTool.ShapeTool(doc.Main()) + color_tool = XCAFDoc_DocumentTool.ColorTool(doc.Main()) + # layer_tool = XCAFDoc_DocumentTool_LayerTool(doc.Main()) + # mat_tool = XCAFDoc_DocumentTool_MaterialTool(doc.Main()) step_reader = STEPCAFControl_Reader() step_reader.SetColorMode(True) @@ -156,31 +233,12 @@ def read_step_file_with_names_colors(filename): locs = [] def _get_sub_shapes(lab, loc): - #global cnt, lvl - #cnt += 1 - #print("\n[%d] level %d, handling LABEL %s\n" % (cnt, lvl, _get_label_name(lab))) - #print() - #print(lab.DumpToString()) - #print() - #print("Is Assembly :", shape_tool.IsAssembly(lab)) - #print("Is Free :", shape_tool.IsFree(lab)) - #print("Is Shape :", shape_tool.IsShape(lab)) - #print("Is Compound :", shape_tool.IsCompound(lab)) - #print("Is Component :", shape_tool.IsComponent(lab)) - #print("Is SimpleShape :", shape_tool.IsSimpleShape(lab)) - #print("Is Reference :", shape_tool.IsReference(lab)) - - #users = TDF_LabelSequence() - #users_cnt = shape_tool.GetUsers(lab, users) - #print("Nr Users :", users_cnt) - l_subss = TDF_LabelSequence() shape_tool.GetSubShapes(lab, l_subss) - #print("Nb subshapes :", l_subss.Length()) + # print("Nb subshapes :", l_subss.Length()) l_comps = TDF_LabelSequence() shape_tool.GetComponents(lab, l_comps) - #print("Nb components :", l_comps.Length()) - #print() + name = lab.GetLabelName() print("Name :", name) @@ -188,131 +246,129 @@ def _get_sub_shapes(lab, loc): l_c = TDF_LabelSequence() shape_tool.GetComponents(lab, l_c) for i in range(l_c.Length()): - label = l_c.Value(i+1) + label = l_c.Value(i + 1) if shape_tool.IsReference(label): - #print("\n######## reference label :", label) + # print("\n######## reference label :", label) label_reference = TDF_Label() shape_tool.GetReferredShape(label, label_reference) loc = shape_tool.GetLocation(label) - #print(" loc :", loc) - #trans = loc.Transformation() - #print(" tran form :", trans.Form()) - #rot = trans.GetRotation() - #print(" rotation :", rot) - #print(" X :", rot.X()) - #print(" Y :", rot.Y()) - #print(" Z :", rot.Z()) - #print(" W :", rot.W()) - #tran = trans.TranslationPart() - #print(" translation :", tran) - #print(" X :", tran.X()) - #print(" Y :", tran.Y()) - #print(" Z :", tran.Z()) - locs.append(loc) - #print(">>>>") - #lvl += 1 _get_sub_shapes(label_reference, loc) - #lvl -= 1 - #print("<<<<") locs.pop() elif shape_tool.IsSimpleShape(lab): - #print("\n######## simpleshape label :", lab) + # print("\n######## simpleshape label :", lab) shape = shape_tool.GetShape(lab) - #print(" all ass locs :", locs) + # print(" all ass locs :", locs) loc = TopLoc_Location() - for l in locs: - #print(" take loc :", l) - loc = loc.Multiplied(l) - - #trans = loc.Transformation() - #print(" FINAL loc :") - #print(" tran form :", trans.Form()) - #rot = trans.GetRotation() - #print(" rotation :", rot) - #print(" X :", rot.X()) - #print(" Y :", rot.Y()) - #print(" Z :", rot.Z()) - #print(" W :", rot.W()) - #tran = trans.TranslationPart() - #print(" translation :", tran) - #print(" X :", tran.X()) - #print(" Y :", tran.Y()) - #print(" Z :", tran.Z()) + for location in locs: + loc = loc.Multiplied(location) + c = Quantity_Color(0.5, 0.5, 0.5, Quantity_TOC_RGB) # default color - colorSet = False - if (color_tool.GetInstanceColor(shape, 0, c) or - color_tool.GetInstanceColor(shape, 1, c) or - color_tool.GetInstanceColor(shape, 2, c)): + color_set = False + if ( + color_tool.GetInstanceColor(shape, 0, c) + or color_tool.GetInstanceColor(shape, 1, c) + or color_tool.GetInstanceColor(shape, 2, c) + ): color_tool.SetInstanceColor(shape, 0, c) color_tool.SetInstanceColor(shape, 1, c) color_tool.SetInstanceColor(shape, 2, c) - colorSet = True + color_set = True n = c.Name(c.Red(), c.Green(), c.Blue()) - print(' instance color Name & RGB: ', c, n, c.Red(), c.Green(), c.Blue()) - - if not colorSet: - if (color_tool.GetColor(lab, 0, c) or - color_tool.GetColor(lab, 1, c) or - color_tool.GetColor(lab, 2, c)): - + print( + " instance color Name & RGB: ", + c, + n, + c.Red(), + c.Green(), + c.Blue(), + ) + + if not color_set: + if ( + XCAFDoc_ColorTool.GetColor(lab, 0, c) + or XCAFDoc_ColorTool.GetColor(lab, 1, c) + or XCAFDoc_ColorTool.GetColor(lab, 2, c) + ): color_tool.SetInstanceColor(shape, 0, c) color_tool.SetInstanceColor(shape, 1, c) color_tool.SetInstanceColor(shape, 2, c) n = c.Name(c.Red(), c.Green(), c.Blue()) - print(' shape color Name & RGB: ', c, n, c.Red(), c.Green(), c.Blue()) + print( + " shape color Name & RGB: ", + c, + n, + c.Red(), + c.Green(), + c.Blue(), + ) shape_disp = BRepBuilderAPI_Transform(shape, loc.Transformation()).Shape() - if not shape_disp in output_shapes: + if shape_disp not in output_shapes: output_shapes[shape_disp] = [lab.GetLabelName(), c] for i in range(l_subss.Length()): - lab_subs = l_subss.Value(i+1) - #print("\n######## simpleshape subshape label :", lab) + lab_subs = l_subss.Value(i + 1) + # print("\n######## simpleshape subshape label :", lab) shape_sub = shape_tool.GetShape(lab_subs) c = Quantity_Color(0.5, 0.5, 0.5, Quantity_TOC_RGB) # default color - colorSet = False - if (color_tool.GetInstanceColor(shape_sub, 0, c) or - color_tool.GetInstanceColor(shape_sub, 1, c) or - color_tool.GetInstanceColor(shape_sub, 2, c)): + color_set = False + if ( + color_tool.GetInstanceColor(shape_sub, 0, c) + or color_tool.GetInstanceColor(shape_sub, 1, c) + or color_tool.GetInstanceColor(shape_sub, 2, c) + ): color_tool.SetInstanceColor(shape_sub, 0, c) color_tool.SetInstanceColor(shape_sub, 1, c) color_tool.SetInstanceColor(shape_sub, 2, c) - colorSet = True + color_set = True n = c.Name(c.Red(), c.Green(), c.Blue()) - print(' instance color Name & RGB: ', c, n, c.Red(), c.Green(), c.Blue()) - - if not colorSet: - if (color_tool.GetColor(lab_subs, 0, c) or - color_tool.GetColor(lab_subs, 1, c) or - color_tool.GetColor(lab_subs, 2, c)): + print( + " instance color Name & RGB: ", + c, + n, + c.Red(), + c.Green(), + c.Blue(), + ) + + if not color_set: + if ( + XCAFDoc_ColorTool.GetColor(lab_subs, 0, c) + or XCAFDoc_ColorTool.GetColor(lab_subs, 1, c) + or XCAFDoc_ColorTool.GetColor(lab_subs, 2, c) + ): color_tool.SetInstanceColor(shape, 0, c) color_tool.SetInstanceColor(shape, 1, c) color_tool.SetInstanceColor(shape, 2, c) n = c.Name(c.Red(), c.Green(), c.Blue()) - print(' shape color Name & RGB: ', c, n, c.Red(), c.Green(), c.Blue()) - shape_to_disp = BRepBuilderAPI_Transform(shape_sub, loc.Transformation()).Shape() + print( + " shape color Name & RGB: ", + c, + n, + c.Red(), + c.Green(), + c.Blue(), + ) + shape_to_disp = BRepBuilderAPI_Transform( + shape_sub, loc.Transformation() + ).Shape() # position the subshape to display - if not shape_to_disp in output_shapes: + if shape_to_disp not in output_shapes: output_shapes[shape_to_disp] = [lab_subs.GetLabelName(), c] - def _get_shapes(): labels = TDF_LabelSequence() shape_tool.GetFreeShapes(labels) - #global cnt - #cnt += 1 - - print() print("Number of shapes at root :", labels.Length()) - print() for i in range(labels.Length()): - root_item = labels.Value(i+1) + root_item = labels.Value(i + 1) _get_sub_shapes(root_item, None) + _get_shapes() return output_shapes @@ -320,97 +376,144 @@ def _get_shapes(): ######################### # STL import and export # ######################### -def write_stl_file(a_shape, filename, mode="ascii", linear_deflection=0.9, angular_deflection=0.5): - """ export the shape to a STL file - Be careful, the shape first need to be explicitely meshed using BRepMesh_IncrementalMesh - a_shape: the topods_shape to export - filename: the filename - mode: optional, "ascii" by default. Can either be "binary" - linear_deflection: optional, default to 0.001. Lower, more occurate mesh - angular_deflection: optional, default to 0.5. Lower, more accurate_mesh +def write_stl_file( + shape: TopoDS_Shape, + filename: str, + mode: str = "ascii", + linear_deflection: float = 0.9, + angular_deflection: float = 0.5, +) -> None: """ - if a_shape.IsNull(): + Export a shape to STL format. + + The shape is first meshed using the specified deflection parameters before export. + + :param shape: The shape to export. + :param filename: Target STL file path. + :param mode: Export format, either "ascii" or "binary". Defaults to "ascii". + :param linear_deflection: Maximum distance between mesh and actual surface. + Lower values produce more accurate but larger meshes. + Defaults to 0.9. + :param angular_deflection: Maximum angle between mesh elements in radians. + Lower values produce smoother meshes. + Defaults to 0.5. + :raises AssertionError: If shape is null or meshing fails. + :raises IOError: If export fails. + """ + if shape.IsNull(): raise AssertionError("Shape is null.") + if mode not in ["ascii", "binary"]: raise AssertionError("mode should be either ascii or binary") + if os.path.isfile(filename): - print("Warning: %s file already exists and will be replaced" % filename) - # first mesh the shape - mesh = BRepMesh_IncrementalMesh(a_shape, linear_deflection, False, angular_deflection, True) - #mesh.SetDeflection(0.05) + print(f"Warning: {filename} already exists and will be replaced") + + # Mesh the shape + mesh = BRepMesh_IncrementalMesh( + shape, linear_deflection, False, angular_deflection, True + ) mesh.Perform() if not mesh.IsDone(): raise AssertionError("Mesh is not done.") - stl_exporter = StlAPI_Writer() - if mode == "ascii": - stl_exporter.SetASCIIMode(True) - else: # binary, just set the ASCII flag to False - stl_exporter.SetASCIIMode(False) - stl_exporter.Write(a_shape, filename) + # Export to STL + writer = StlAPI_Writer() + writer.SetASCIIMode(mode == "ascii") + writer.Write(shape, filename) if not os.path.isfile(filename): raise IOError("File not written to disk.") -def read_stl_file(filename): - """ opens a stl file, reads the content, and returns a BRep topods_shape object +def read_stl_file( + filename: str, sew_shape: bool = False, make_solid: bool = False +) -> TopoDS_Shape: + """ + Reads an STL file and returns a TopoDS_Shape. + + :param filename: The path to the STL file. + :param sew_shape: sew all triangular faces after loading + :param make_solid: fill the surfacic mesh to return a TopoDS_Solid + :return: The shape read from the file. + :raises FileNotFoundError: If the specified file does not exist. + :raises AssertionError: If the shape in the file is null. """ if not os.path.isfile(filename): - raise FileNotFoundError("%s not found." % filename) + raise FileNotFoundError(f"{filename} not found.") + + if not sew_shape and make_solid: + raise AssertionError("Please enable sew_shape in order to make solid.") the_shape = TopoDS_Shape() - stlapi_Read(the_shape, filename) + stlapi.Read(the_shape, filename) if the_shape.IsNull(): raise AssertionError("Shape is null.") + if sew_shape: + sewer = BRepBuilderAPI_Sewing() + sewer.Add(the_shape) + sewer.Perform() + sewed_shape = sewer.SewedShape() + + if make_solid: + return BRepBuilderAPI_MakeSolid(sewed_shape).Shape() + + # Return the sewed shape + return sewed_shape + return the_shape + ###################### # IGES import/export # ###################### -def read_iges_file(filename, return_as_shapes=False, verbosity=False, visible_only=False): - """ read the IGES file and returns a compound - filename: the file path - return_as_shapes: optional, False by default. If True returns a list of shapes, - else returns a single compound - verbosity: optionl, False by default. +def read_iges_file( + filename: str, + return_as_shapes: bool = False, + verbosity: bool = False, + visible_only: bool = False, +) -> List[TopoDS_Shape]: + """ + Reads an IGES file and returns the shapes. + + :param filename: The path to the IGES file. + :param return_as_shapes: If True, returns a list of shapes. Otherwise, returns + a single compound shape. Defaults to False. + :param verbosity: If True, prints detailed information during import. + Defaults to False. + :param visible_only: If True, only reads visible entities. Defaults to False. + :return: A list of shapes or a single compound shape. + :raises FileNotFoundError: If the specified file does not exist. + :raises IOError: If the file cannot be read. """ if not os.path.isfile(filename): - raise FileNotFoundError("%s not found." % filename) + raise FileNotFoundError(f"{filename} not found.") + + IGESControl_Controller.Init() iges_reader = IGESControl_Reader() iges_reader.SetReadVisible(visible_only) status = iges_reader.ReadFile(filename) + if status != IFSelect_RetDone: # check status + raise IOError("Cannot read IGES file") + + if verbosity: + failsonly = False + iges_reader.PrintCheckLoad(failsonly, IFSelect_ItemsByEntity) + iges_reader.PrintCheckTransfer(failsonly, IFSelect_ItemsByEntity) + iges_reader.ClearShapes() + iges_reader.TransferRoots() + nbr = iges_reader.NbShapes() + _shapes = [] + for i in range(1, nbr + 1): + a_shp = iges_reader.Shape(i) + if not a_shp.IsNull(): + _shapes.append(a_shp) - if status == IFSelect_RetDone: # check status - if verbosity: - failsonly = False - iges_reader.PrintCheckLoad(failsonly, IFSelect_ItemsByEntity) - iges_reader.PrintCheckTransfer(failsonly, IFSelect_ItemsByEntity) - iges_reader.TransferRoots() - nbr = iges_reader.NbRootsForTransfer() - for _ in range(1, nbr+1): - nbs = iges_reader.NbShapes() - if nbs == 0: - print("At least one shape in IGES cannot be transfered") - elif nbr == 1 and nbs == 1: - a_res_shape = iges_reader.Shape(1) - if a_res_shape.IsNull(): - print("At least one shape in IGES cannot be transferred") - else: - _shapes.append(a_res_shape) - else: - for i in range(1, nbs+1): - a_shape = iges_reader.Shape(i) - if a_shape.IsNull(): - print("At least one shape in STEP cannot be transferred") - else: - _shapes.append(a_shape) - # if not return as shapes # create a compound and store all shapes if not return_as_shapes: builder = BRep_Builder() @@ -418,21 +521,26 @@ def read_iges_file(filename, return_as_shapes=False, verbosity=False, visible_on builder.MakeCompound(compound) for s in _shapes: builder.Add(compound, s) - _shapes = compound + return [compound] + return _shapes -def write_iges_file(a_shape, filename): - """ exports a shape to a STEP file - a_shape: the topods_shape to export (a compound, a solid etc.) - filename: the filename - application protocol: "AP203" or "AP214" + +def write_iges_file(a_shape: TopoDS_Shape, filename: str): + """ + Exports a shape to an IGES file. + + :param a_shape: The TopoDS_Shape to export. + :param filename: The path to the output IGES file. + :raises AssertionError: If the shape is null or the export fails. + :raises IOError: If the file cannot be written to disk. """ # a few checks if a_shape.IsNull(): raise AssertionError("Shape is null.") if os.path.isfile(filename): - print("Warning: %s file already exists and will be replaced" % filename) - # creates and initialise the step exporter + print(f"Warning: {filename} already exists and will be replaced") + # create and initialize the step exporter iges_writer = IGESControl_Writer() iges_writer.AddShape(a_shape) status = iges_writer.Write(filename) @@ -446,9 +554,19 @@ def write_iges_file(a_shape, filename): ############## # SVG export # ############## -def edge_to_svg_polyline(topods_edge, tol=0.1, unit="mm"): - """ Returns a svgwrite.Path for the edge, and the 2d bounding box +def edge_to_svg_polyline( + topods_edge: TopoDS_Edge, tol: float = 0.1, unit: str = "mm" +) -> Tuple[Any, Bnd_Box2d]: + """ + Converts a TopoDS_Edge to an SVG polyline. + + :param topods_edge: The edge to convert. + :param tol: The tolerance for discretization. Defaults to 0.1. + :param unit: The unit of the coordinates ('mm' or 'm'). Defaults to 'mm'. + :return: A tuple containing the svgwrite.shapes.Polyline and the 2D bounding box. """ + check_svgwrite_installed() + unit_factor = 1 # by default if unit == "mm": @@ -462,41 +580,58 @@ def edge_to_svg_polyline(topods_edge, tol=0.1, unit="mm"): for point in points_3d: # we tak only the first 2 coordinates (x and y, leave z) - x_p = - point[0] * unit_factor + x_p = -point[0] * unit_factor y_p = point[1] * unit_factor box2d.Add(gp_Pnt2d(x_p, y_p)) points_2d.append((x_p, y_p)) return svgwrite.shapes.Polyline(points_2d, fill="none"), box2d -def export_shape_to_svg(shape, filename=None, - width=800, height=600, margin_left=10, - margin_top=30, export_hidden_edges=True, - location=gp_Pnt(0, 0, 0), direction=gp_Dir(1, 1, 1), - color="black", - line_width="1px", - unit="mm"): - """ export a single shape to an svg file and/or string. - shape: the TopoDS_Shape to export - filename (optional): if provided, save to an svg file - width, height (optional): integers, specify the canva size in pixels - margin_left, margin_top (optional): integers, in pixel - export_hidden_edges (optional): whether or not draw hidden edges using a dashed line - location (optional): a gp_Pnt, the lookat - direction (optional): to set up the projector direction - color (optional), "default to "black". - line_width (optional, default to 1): an integer + +def export_shape_to_svg( + shape: TopoDS_Shape, + filename: str = None, + width: int = 800, + height: int = 600, + margin_left: int = 10, + margin_top: int = 30, + export_hidden_edges: bool = True, + location: gp_Pnt = gp_Pnt(0, 0, 0), + direction: gp_Dir = gp_Dir(1, 1, 1), + color: str = "black", + line_width: str = "1px", + unit: str = "mm", +) -> Union[bool, str]: + """ + Exports a shape to an SVG file or string. + + :param shape: The TopoDS_Shape to export. + :param filename: If provided, the path to save the SVG file. + :param width: The width of the SVG canvas in pixels. + :param height: The height of the SVG canvas in pixels. + :param margin_left: The left margin in pixels. + :param margin_top: The top margin in pixels. + :param export_hidden_edges: If True, hidden edges are drawn with a dashed line. + :param location: The viewpoint location for HLR. + :param direction: The view direction for HLR. + :param color: The color of the lines. + :param line_width: The width of the lines. + :param unit: The unit of the coordinates ('mm' or 'm'). + :return: The SVG content as a string if no filename is provided, otherwise True. + :raises AssertionError: If the shape is null or the export fails. """ + check_svgwrite_installed() + if shape.IsNull(): raise AssertionError("shape is Null") - if not HAVE_SVGWRITE: - print("svg exporter not available because the svgwrite package is not installed.") - print("please use '$ conda install -c conda-forge svgwrite'") - return False - # find all edges - visible_edges, hidden_edges = get_sorted_hlr_edges(shape, position=location, direction=direction, export_hidden_edges=export_hidden_edges) + visible_edges, hidden_edges = get_sorted_hlr_edges( + shape, + position=location, + direction=direction, + export_hidden_edges=export_hidden_edges, + ) # compute polylines for all edges # we compute a global 2d bounding box as well, to be able to compute @@ -506,12 +641,16 @@ def export_shape_to_svg(shape, filename=None, polylines = [] for visible_edge in visible_edges: - visible_svg_line, visible_edge_box2d = edge_to_svg_polyline(visible_edge, 0.1, unit) + visible_svg_line, visible_edge_box2d = edge_to_svg_polyline( + visible_edge, 0.1, unit + ) polylines.append(visible_svg_line) global_2d_bounding_box.Add(visible_edge_box2d) if export_hidden_edges: for hidden_edge in hidden_edges: - hidden_svg_line, hidden_edge_box2d = edge_to_svg_polyline(hidden_edge, 0.1, unit) + hidden_svg_line, hidden_edge_box2d = edge_to_svg_polyline( + hidden_edge, 0.1, unit + ) # hidden lines are dashed style hidden_svg_line.dasharray([5, 5]) polylines.append(hidden_svg_line) @@ -527,8 +666,12 @@ def export_shape_to_svg(shape, filename=None, # build the svg drawing dwg = svgwrite.Drawing(filename, (width, height), debug=True) # adjust the view box so that the lines fit then svg canvas - dwg.viewbox(x_min - margin_left, y_min - margin_top, - bb2d_width + 2 * margin_left, bb2d_height + 2 * margin_top) + dwg.viewbox( + x_min - margin_left, + y_min - margin_top, + bb2d_width + 2 * margin_left, + bb2d_height + 2 * margin_top, + ) for polyline in polylines: # apply color and style @@ -541,6 +684,167 @@ def export_shape_to_svg(shape, filename=None, dwg.save() if not os.path.isfile(filename): raise AssertionError("svg export failed") - print("Shape successfully exported to %s" % filename) + print(f"Shape successfully exported to {filename}") return True return dwg.tostring() + + +################################################# +# ply export (write not avaiable from upstream) # +################################################# +def write_ply_file(a_shape: TopoDS_Shape, ply_filename: str): + """ + Exports a shape to a PLY file using OCAF. + + :param a_shape: The TopoDS_Shape to export. + :param ply_filename: The path to the output PLY file. + """ + # create a document + doc = TDocStd_Document("pythonocc-doc-ply-export") + shape_tool = XCAFDoc_DocumentTool.ShapeTool(doc.Main()) + + # mesh shape + breptools.Clean(a_shape) + msh_algo = BRepMesh_IncrementalMesh(a_shape, True) + msh_algo.Perform() + + shape_tool.AddShape(a_shape) + + # metadata + a_file_info = TColStd_IndexedDataMapOfStringString() + a_file_info.Add( + TCollection_AsciiString("Authors"), TCollection_AsciiString("pythonocc") + ) + + rwply_writer = RWPly_CafWriter(ply_filename) + + rwply_writer.SetNormals(True) + rwply_writer.SetColors(True) + rwply_writer.SetTexCoords(True) + rwply_writer.SetPartId(True) + rwply_writer.SetFaceId(True) + + rwply_writer.Perform(doc, a_file_info, Message_ProgressRange()) + + +################################################# +# Obj export (write not avaiable from upstream) # +################################################# +def write_obj_file(a_shape: TopoDS_Shape, obj_filename: str): + """ + Exports a shape to an OBJ file using OCAF. + + :param a_shape: The TopoDS_Shape to export. + :param obj_filename: The path to the output OBJ file. + """ + # create a document + doc = TDocStd_Document("pythonocc-doc-obj-export") + shape_tool = XCAFDoc_DocumentTool.ShapeTool(doc.Main()) + + # mesh shape + breptools.Clean(a_shape) + msh_algo = BRepMesh_IncrementalMesh(a_shape, True) + msh_algo.Perform() + + shape_tool.AddShape(a_shape) + + # metadata + a_file_info = TColStd_IndexedDataMapOfStringString() + a_file_info.Add( + TCollection_AsciiString("Authors"), TCollection_AsciiString("pythonocc") + ) + + rwobj_writer = RWObj_CafWriter(obj_filename) + + # apply a scale factor of 0.001 to mimic conversion from m to mm + csc = rwobj_writer.ChangeCoordinateSystemConverter() + + system_unit_factor = unitsmethods.GetCasCadeLengthUnit() * 0.001 + csc.SetInputLengthUnit(system_unit_factor) + csc.SetOutputLengthUnit(system_unit_factor) + csc.SetInputCoordinateSystem(RWMesh_CoordinateSystem_posYfwd_posZup) + csc.SetOutputCoordinateSystem(RWMesh_CoordinateSystem_negZfwd_posYup) + + rwobj_writer.SetCoordinateSystemConverter(csc) + + rwobj_writer.Perform(doc, a_file_info, Message_ProgressRange()) + + +######## +# gltf # +######## +def read_gltf_file( + filename: str, + is_parallel: bool = False, + is_double_precision: bool = False, + skip_late_data_loading: bool = False, + keep_late_data: bool = True, + verbose: bool = False, + load_all_scenes: bool = False, +) -> List[TopoDS_Shape]: + """ + Reads a glTF file and returns the shape. + + :param filename: The path to the glTF file. + :param is_parallel: If True, uses parallel processing. Defaults to False. + :param is_double_precision: If True, uses double precision. Defaults to False. + :param skip_late_data_loading: If True, skips loading late data. Defaults to False. + :param keep_late_data: If True, keeps late data. Defaults to True. + :param verbose: If True, prints debug messages. Defaults to False. + :param load_all_scenes: If True, loads all scenes. Defaults to False. + :return: A list containing the read shape. + :raises FileNotFoundError: If the specified file does not exist. + :raises IOError: If the file cannot be read. + """ + if not os.path.isfile(filename): + raise FileNotFoundError(f"{filename} not found.") + + gltf_reader = RWGltf_CafReader() + gltf_reader.SetSystemCoordinateSystem(RWMesh_CoordinateSystem_posYfwd_posZup) + gltf_reader.SetParallel(is_parallel) + gltf_reader.SetDoublePrecision(is_double_precision) + gltf_reader.SetToSkipLateDataLoading(skip_late_data_loading) + gltf_reader.SetToKeepLateData(keep_late_data) + gltf_reader.SetToPrintDebugMessages(verbose) + gltf_reader.SetLoadAllScenes(load_all_scenes) + + status = gltf_reader.Perform(filename, Message_ProgressRange()) + + if status != IFSelect_RetDone: + raise IOError("Error while reading GLTF file.") + + return [gltf_reader.SingleShape()] + + +def write_gltf_file(a_shape: TopoDS_Shape, gltf_filename: str, binary=True): + """ + Exports a shape to a glTF file using OCAF. + + :param a_shape: The TopoDS_Shape to export. + :param gltf_filename: The path to the output glTF file. + :param binary: If True, exports to a binary glTF (.glb) file. Defaults to True. + :raises IOError: If the export fails. + """ + # create a document + doc = TDocStd_Document("pythonocc-doc-gltf-export") + shape_tool = XCAFDoc_DocumentTool.ShapeTool(doc.Main()) + + # mesh shape + breptools.Clean(a_shape) + msh_algo = BRepMesh_IncrementalMesh(a_shape, True) + msh_algo.Perform() + + shape_tool.AddShape(a_shape) + + # metadata + a_file_info = TColStd_IndexedDataMapOfStringString() + a_file_info.Add( + TCollection_AsciiString("Authors"), TCollection_AsciiString("pythonocc") + ) + + rwgltf_writer = RWGltf_CafWriter(gltf_filename, binary) + + status = rwgltf_writer.Perform(doc, a_file_info, Message_ProgressRange()) + + if status != IFSelect_RetDone: + raise IOError("Error while writing shape to GLTF file.") diff --git a/src/Extend/DataExchange.pyi b/src/Extend/DataExchange.pyi new file mode 100644 index 000000000..e9e7e737f --- /dev/null +++ b/src/Extend/DataExchange.pyi @@ -0,0 +1,67 @@ +from typing import Any, Dict, List, Tuple, Union + +from OCC.Core.Bnd import Bnd_Box2d +from OCC.Core.gp import gp_Dir, gp_Pnt +from OCC.Core.Quantity import Quantity_Color +from OCC.Core.TopoDS import TopoDS_Edge, TopoDS_Shape + +HAVE_SVGWRITE: bool + +def check_svgwrite_installed() -> None: ... +def read_step_file( + filename: str, as_compound: bool = True, verbosity: bool = False +) -> Union[TopoDS_Shape, List[TopoDS_Shape]]: ... +def write_step_file( + shape: TopoDS_Shape, filename: str, application_protocol: str = "AP203" +) -> None: ... +def read_step_file_with_names_colors( + filename: str, +) -> Dict[TopoDS_Shape, List[Union[str, Quantity_Color]]]: ... +def write_stl_file( + shape: TopoDS_Shape, + filename: str, + mode: str = "ascii", + linear_deflection: float = 0.9, + angular_deflection: float = 0.5, +) -> None: ... +def read_stl_file( + filename: str, sew_shape: bool = False, make_solid: bool = False +) -> TopoDS_Shape: ... +def read_iges_file( + filename: str, + return_as_shapes: bool = False, + verbosity: bool = False, + visible_only: bool = False, +) -> List[TopoDS_Shape]: ... +def write_iges_file(a_shape: TopoDS_Shape, filename: str) -> None: ... +def edge_to_svg_polyline( + topods_edge: TopoDS_Edge, tol: float = 0.1, unit: str = "mm" +) -> Tuple[Any, Bnd_Box2d]: ... +def export_shape_to_svg( + shape: TopoDS_Shape, + filename: str = None, + width: int = 800, + height: int = 600, + margin_left: int = 10, + margin_top: int = 30, + export_hidden_edges: bool = True, + location: gp_Pnt = ..., + direction: gp_Dir = ..., + color: str = "black", + line_width: str = "1px", + unit: str = "mm", +) -> Union[bool, str]: ... +def write_ply_file(a_shape: TopoDS_Shape, ply_filename: str) -> None: ... +def write_obj_file(a_shape: TopoDS_Shape, obj_filename: str) -> None: ... +def read_gltf_file( + filename: str, + is_parallel: bool = False, + is_double_precision: bool = False, + skip_late_data_loading: bool = False, + keep_late_data: bool = True, + verbose: bool = False, + load_all_scenes: bool = False, +) -> List[TopoDS_Shape]: ... +def write_gltf_file( + a_shape: TopoDS_Shape, gltf_filename: str, binary: bool = True +) -> None: ... diff --git a/src/Extend/LayerManager.py b/src/Extend/LayerManager.py new file mode 100644 index 000000000..6537e430c --- /dev/null +++ b/src/Extend/LayerManager.py @@ -0,0 +1,185 @@ +##Copyright 2021 Tanneguy de Villemagne (tanneguydv@gmail.com) +## +##This file is part of pythonOCC. +## +##pythonOCC is free software: you can redistribute it and/or modify +##it under the terms of the GNU Lesser General Public License as published by +##the Free Software Foundation, either version 3 of the License, or +##(at your option) any later version. +## +##pythonOCC is distributed in the hope that it will be useful, +##but WITHOUT ANY WARRANTY; without even the implied warranty of +##MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +##GNU Lesser General Public License for more details. +## +##You should have received a copy of the GNU Lesser General Public License +##along with pythonOCC. If not, see . + +from typing import Dict, List, Tuple, Optional + +from OCC.Core.AIS import AIS_InteractiveContext, AIS_Shape +from OCC.Core.BRepBuilderAPI import BRepBuilderAPI_Transform +from OCC.Core.gp import gp_Trsf +from OCC.Core.Graphic3d import Graphic3d_NameOfMaterial +from OCC.Core.TopoDS import TopoDS_Shape + + +class Layer: + """ + Manages a collection of shapes as a layer in a 3D viewer. + + A layer holds a set of TopoDS_Shape objects and controls their visual + properties like color, transparency, and material. It provides methods + to add, remove, and manipulate these shapes. + """ + + def __init__( + self, + from_display: AIS_InteractiveContext, + shape: Optional[TopoDS_Shape] = None, + color: int = 0, + transparency: float = 0.0, + material: Graphic3d_NameOfMaterial = Graphic3d_NameOfMaterial.Graphic3d_NOM_DEFAULT, + ) -> None: + """ + Initializes a new Layer. + + :param from_display: The display object from the main application. + :param shape: A shape to add to the layer upon creation. Defaults to None. + :param color: The color of the shapes in the layer. Defaults to 0 (black). + :param transparency: The transparency of the shapes, from 0.0 (opaque) to 1.0 (fully transparent). Defaults to 0.0. + :param material: The material of the shapes. Defaults to Graphic3d_NOM_DEFAULT. + """ + self.element_to_display: Dict[int, Tuple[TopoDS_Shape, AIS_Shape]] = {} + self.count: int = 0 + self.color: int = color + self.display: AIS_InteractiveContext = from_display + self.transparency: float = transparency + self.material: Graphic3d_NameOfMaterial = material + if shape is not None: + self.add_shape(shape) + + def add_shape(self, shape: TopoDS_Shape) -> None: + """ + Adds a shape to the layer. + + :param shape: The TopoDS_Shape to add. + """ + to_display = self.display.DisplayShape( + shape, color=self.color, material=self.material + )[0] + self.display.Context.SetTransparency(to_display, self.transparency, True) + self.element_to_display[self.count] = (shape, to_display) + self.count += 1 + self.display.Context.Erase(to_display, False) + + def replace_shape(self, shape: TopoDS_Shape, index: int) -> None: + """ + Replaces a shape in the layer at a specific index. + + :param shape: The new TopoDS_Shape. + :param index: The index of the shape to replace. + """ + self.display.Context.Erase(self.element_to_display[index][1], False) + self.element_to_display.pop(index) + to_display = self.display.DisplayShape( + shape, color=self.color, material=self.material + )[0] + self.display.Context.SetTransparency(to_display, self.transparency, True) + self.element_to_display[index] = (shape, to_display) + # self.display.Context.Erase(to_display, False) + + def update_trsf_shape( + self, shape: TopoDS_Shape, index: int, transformations: gp_Trsf + ) -> None: + """ + Applies a transformation to a shape and updates it in the layer. + + :param shape: The TopoDS_Shape to transform. + :param index: The index of the shape to update. + :param transformations: The gp_Trsf transformation to apply. + """ + shape_moved = BRepBuilderAPI_Transform(shape, transformations, True).Shape() + self.replace_shape(shape_moved, index) + + def merge(self, layer: "Layer", clear: bool = False) -> None: + """ + Merges another layer into this one. + + :param layer: The Layer to merge from. + :param clear: If True, the source layer is cleared after merging. Defaults to False. + """ + for shape in layer.get_shapes(): + self.add_shape(shape) + if clear is True: + layer.clear() + + def delete_shape_with_index(self, index: int) -> None: + """ + Deletes a shape from the layer by its index. + + :param index: The index of the shape to delete. + """ + self.element_to_display.pop(index) + + def delete_shape(self, shape_to_del: TopoDS_Shape) -> None: + """ + Deletes a shape from the layer. + + :param shape_to_del: The TopoDS_Shape to delete. + """ + for index, element in self.element_to_display.items(): + shape, ais_shape = element + if shape_to_del == shape: + self.element_to_display.pop(index) + + def clear(self) -> None: + """ + Removes all shapes from the layer. + """ + self.element_to_display = {} + self.count = 0 + + def get_shapes(self) -> List[TopoDS_Shape]: + """ + Gets all the shapes in the layer. + + :return: A list of TopoDS_Shape objects. + """ + topods_shapes = [] + for index, element in self.element_to_display.items(): + shape, ais_shape = element + topods_shapes.append(shape) + return topods_shapes + + def get_aisshape_from_topodsshape( + self, topshape: TopoDS_Shape + ) -> Optional[Tuple[AIS_Shape, int]]: + """ + Gets the displayed AIS_Shape corresponding to a TopoDS_Shape. + + :param topshape: The TopoDS_Shape to find the AIS_Shape for. + :return: A tuple containing the AIS_Shape and its index, or None if not found. + """ + for index, element in self.element_to_display.items(): + shape, ais_shape = element + if shape == topshape: + return ais_shape, index + return None + + def hide(self) -> None: + """ + Hides the layer from the display. + """ + for index, element in self.element_to_display.items(): + shape, ais_shape = element + self.display.Context.Erase(ais_shape, False) + self.display.View.Redraw() + + def show(self) -> None: + """ + Shows the layer in the display. + """ + for index, element in self.element_to_display.items(): + shape, ais = element + self.display.Context.Display(ais, True) diff --git a/src/Extend/LayerManager.pyi b/src/Extend/LayerManager.pyi new file mode 100644 index 000000000..48d651b42 --- /dev/null +++ b/src/Extend/LayerManager.pyi @@ -0,0 +1,38 @@ +from typing import Dict, List, Optional, Tuple + +from OCC.Core.AIS import AIS_InteractiveContext, AIS_Shape +from OCC.Core.gp import gp_Trsf +from OCC.Core.Graphic3d import Graphic3d_NameOfMaterial +from OCC.Core.TopoDS import TopoDS_Shape + +class Layer: + color: int + display: AIS_InteractiveContext + transparency: float + material: Graphic3d_NameOfMaterial + element_to_display: Dict[int, Tuple[TopoDS_Shape, AIS_Shape]] + count: int + + def __init__( + self, + from_display: AIS_InteractiveContext, + shape: Optional[TopoDS_Shape] = None, + color: int = 0, + transparency: float = 0.0, + material: Graphic3d_NameOfMaterial = Graphic3d_NameOfMaterial.Graphic3d_NOM_DEFAULT, + ) -> None: ... + def add_shape(self, shape: TopoDS_Shape) -> None: ... + def replace_shape(self, shape: TopoDS_Shape, index: int) -> None: ... + def update_trsf_shape( + self, shape: TopoDS_Shape, index: int, transformations: gp_Trsf + ) -> None: ... + def merge(self, layer: "Layer", clear: bool = False) -> None: ... + def delete_shape_with_index(self, index: int) -> None: ... + def delete_shape(self, shape_to_del: TopoDS_Shape) -> None: ... + def clear(self) -> None: ... + def get_shapes(self) -> List[TopoDS_Shape]: ... + def get_aisshape_from_topodsshape( + self, topshape: TopoDS_Shape + ) -> Optional[Tuple[AIS_Shape, int]]: ... + def hide(self) -> None: ... + def show(self) -> None: ... diff --git a/src/Extend/ShapeFactory.py b/src/Extend/ShapeFactory.py index b0a87b03d..3dd0a4cb5 100644 --- a/src/Extend/ShapeFactory.py +++ b/src/Extend/ShapeFactory.py @@ -16,79 +16,151 @@ ##along with pythonOCC. If not, see . from math import radians +from typing import Any, List, Tuple, Union -from OCC.Core.BRepBndLib import brepbndlib_Add, brepbndlib_AddOptimal, brepbndlib_AddOBB +from OCC.Core.BRepBndLib import brepbndlib from OCC.Core.BRepPrimAPI import BRepPrimAPI_MakeBox, BRepPrimAPI_MakePrism -from OCC.Core.BRepBuilderAPI import (BRepBuilderAPI_MakeEdge, - BRepBuilderAPI_MakeVertex, - BRepBuilderAPI_MakeWire, - BRepBuilderAPI_MakeFace, BRepBuilderAPI_MakeEdge2d, - BRepBuilderAPI_Transform) -from OCC.Core.BRepBuilderAPI import BRepBuilderAPI_GTransform +from OCC.Core.BRepBuilderAPI import ( + BRepBuilderAPI_MakeEdge, + BRepBuilderAPI_MakeVertex, + BRepBuilderAPI_MakeWire, + BRepBuilderAPI_MakeFace, + BRepBuilderAPI_MakeEdge2d, + BRepBuilderAPI_Transform, + BRepBuilderAPI_GTransform, +) from OCC.Core.BRepFill import BRepFill_Filling from OCC.Core.Bnd import Bnd_Box, Bnd_OBB -from OCC.Core.GeomAbs import (GeomAbs_C0, GeomAbs_Plane, GeomAbs_Cylinder, GeomAbs_Cone, - GeomAbs_Sphere, GeomAbs_Torus, GeomAbs_BezierSurface, GeomAbs_BSplineSurface, - GeomAbs_SurfaceOfRevolution, GeomAbs_SurfaceOfExtrusion, GeomAbs_OffsetSurface, - GeomAbs_OtherSurface) +from OCC.Core.GeomAbs import ( + GeomAbs_Shape, + GeomAbs_C0, + GeomAbs_Plane, + GeomAbs_Cylinder, + GeomAbs_Cone, + GeomAbs_Sphere, + GeomAbs_Torus, + GeomAbs_BezierSurface, + GeomAbs_BSplineSurface, + GeomAbs_SurfaceOfRevolution, + GeomAbs_SurfaceOfExtrusion, + GeomAbs_OffsetSurface, + GeomAbs_OtherSurface, +) from OCC.Core.BRepAdaptor import BRepAdaptor_Surface, BRepAdaptor_Curve +from OCC.Core.Geom import Geom_BSplineCurve, Geom_BezierCurve, Geom_Surface from OCC.Core.GeomAPI import GeomAPI_PointsToBSpline from OCC.Core.GProp import GProp_GProps -from OCC.Core.BRepGProp import (brepgprop_LinearProperties, - brepgprop_SurfaceProperties, - brepgprop_VolumeProperties) +from OCC.Core.BRepGProp import brepgprop from OCC.Core.TColgp import TColgp_Array1OfPnt -from OCC.Core.TopoDS import TopoDS_Face -from OCC.Core.gp import (gp_Vec, gp_Pnt, gp_Trsf, gp_OX, gp_OY, - gp_OZ, gp_XYZ, gp_Ax2, gp_Dir, gp_GTrsf, gp_Mat) +from OCC.Core.TopoDS import ( + TopoDS_Face, + TopoDS_Shape, + TopoDS_Vertex, + TopoDS_Edge, + TopoDS_Wire, +) +from OCC.Core.gp import ( + gp, + gp_Vec, + gp_Pnt, + gp_Trsf, + gp_Ax1, + gp_Ax2, + gp_Dir, + gp_GTrsf, + gp_Mat, + gp_XYZ, +) +from OCC.Core.BRepMesh import BRepMesh_IncrementalMesh from OCC.Extend.TopologyUtils import is_edge, is_face + # # assert utils # -def assert_shape_not_null(shp): +def assert_shape_not_null(shp: TopoDS_Shape) -> None: + """Checks if a shape is not None.""" if shp is None: raise AssertionError("Shape is Null.") -def assert_isdone(inst, message): +def assert_isdone(inst: Any, message: str) -> None: + """Checks if a BRepBuilderAPI algorithm has completed successfully.""" if not inst.IsDone(): raise AssertionError(message) -def point_list_to_TColgp_Array1OfPnt(li): +def point_list_to_TColgp_Array1OfPnt(li: List[gp_Pnt]) -> TColgp_Array1OfPnt: + """ + Converts a list of gp_Pnt to a TColgp_Array1OfPnt. + + :param li: A list of gp_Pnt. + :return: A TColgp_Array1OfPnt containing the points. + """ pts = TColgp_Array1OfPnt(0, len(li) - 1) for n, i in enumerate(li): pts.SetValue(n, i) return pts + # # 0D -def make_vertex(*args): +def make_vertex(*args: Union[gp_Pnt, float]) -> TopoDS_Vertex: + """ + Creates a TopoDS_Vertex from a point. + + :param args: A gp_Pnt or the coordinates (x, y, z) of the point. + :return: The created TopoDS_Vertex. + """ vert = BRepBuilderAPI_MakeVertex(*args) - assert_isdone(vert, 'failed to produce edge') - result = vert.Vertex() - return result + assert_isdone(vert, "failed to produce vertex") + return vert.Vertex() + # # 1D # -def make_edge(*args): +def make_edge(*args: Any) -> TopoDS_Edge: + """ + Creates a TopoDS_Edge from various inputs. + + Can create an edge from: + - Two gp_Pnt + - A TopoDS_Vertex and a gp_Pnt + - Two TopoDS_Vertex + - A Geom_Curve + + :param args: The input geometry to create the edge from. + :return: The created TopoDS_Edge. + """ edge = BRepBuilderAPI_MakeEdge(*args) - assert_isdone(edge, 'failed to produce edge') - result = edge.Edge() - return result + assert_isdone(edge, "failed to produce edge") + return edge.Edge() + +def make_edge2d(*args: Any) -> TopoDS_Edge: + """ + Creates a 2D TopoDS_Edge. -def make_edge2d(*args): + :param args: Arguments for BRepBuilderAPI_MakeEdge2d. + :return: The created 2D TopoDS_Edge. + """ edge = BRepBuilderAPI_MakeEdge2d(*args) - assert_isdone(edge, 'failed to produce edge') - result = edge.Edge() - return result + assert_isdone(edge, "failed to produce edge") + return edge.Edge() -def make_wire(*args): +def make_wire(*args: Union[List[TopoDS_Edge], TopoDS_Edge]) -> TopoDS_Wire: + """ + Creates a TopoDS_Wire from a list of edges or by connecting edges. + + If the first argument is a list or tuple of edges, it creates a wire from them. + Otherwise, it can take multiple TopoDS_Edge arguments and connect them. + + :param args: A list of edges or a sequence of edges. + :return: The created TopoDS_Wire. + """ # if we get an iterable, than add all edges to wire builder if isinstance(args[0], (list, tuple)): wire = BRepBuilderAPI_MakeWire() @@ -97,11 +169,17 @@ def make_wire(*args): wire.Build() return wire.Wire() wire = BRepBuilderAPI_MakeWire(*args) - assert_isdone(wire, 'failed to produce wire') + assert_isdone(wire, "failed to produce wire") return wire.Wire() -def points_to_bspline(pnts): +def points_to_bspline(pnts: List[gp_Pnt]) -> Geom_BSplineCurve: + """ + Creates a BSpline curve from a list of points. + + :param pnts: A list of gp_Pnt. + :return: A Geom_BSplineCurve. + """ pts = TColgp_Array1OfPnt(0, len(pnts) - 1) for n, i in enumerate(pnts): pts.SetValue(n, i) @@ -109,71 +187,86 @@ def points_to_bspline(pnts): return crv.Curve() -def edge_to_bezier(topods_edge): - """ take an edge and returns: - * a bool is_bezier - * the bezier curve - * degrees - * poles +def edge_to_bezier( + topods_edge: TopoDS_Edge, +) -> Tuple[bool, Geom_BezierCurve, int]: + """ + Converts a TopoDS_Edge to a Bezier curve if possible. + + :param topods_edge: The edge to convert. + :return: A tuple containing: + - A boolean indicating if the conversion was successful. + - The Geom_BezierCurve if successful, otherwise None. + - The degree of the Bezier curve if successful, otherwise None. """ ad = BRepAdaptor_Curve(topods_edge) if ad.IsRational(): return True, ad.Bezier(), ad.Degree() - else: - return False, None, None + return False, None, None + + # # 2D # -def make_n_sided(edges, continuity=GeomAbs_C0): +def make_n_sided( + edges: List[TopoDS_Edge], continuity: GeomAbs_Shape = GeomAbs_C0 +) -> TopoDS_Face: + """ + Creates an n-sided face from a list of edges. + + :param edges: A list of TopoDS_Edge that form a closed boundary. + :param continuity: The continuity of the surface. Defaults to GeomAbs_C0. + :return: The created TopoDS_Face. + """ n_sided = BRepFill_Filling() for edg in edges: n_sided.Add(edg, continuity) n_sided.Build() - assert_isdone(n_sided, 'failed to produce n_sided') - face = n_sided.Face() - return face + assert_isdone(n_sided, "failed to produce n_sided") + return n_sided.Face() -def make_face(*args): - face = BRepBuilderAPI_MakeFace(*args) - assert_isdone(face, 'failed to produce face') - result = face.Face() - return result - - -def get_aligned_boundingbox(shape, tol=1e-6, optimal_BB=True): - """ return the bounding box of the TopoDS_Shape `shape` - - Parameters - ---------- - - shape : TopoDS_Shape or a subclass such as TopoDS_Face - the shape to compute the bounding box from +def make_face(*args: Union[TopoDS_Wire, Geom_Surface]) -> TopoDS_Face: + """ + Creates a TopoDS_Face from various inputs. - tol: float - tolerance of the computed boundingbox + Can create a face from: + - A TopoDS_Wire + - A Geom_Surface - use_triangulation : bool, True by default - This makes the computation more accurate + :param args: The input geometry to create the face from. + :return: The created TopoDS_Face. + """ + face = BRepBuilderAPI_MakeFace(*args) + assert_isdone(face, "failed to produce face") + return face.Face() - Returns - ------- - if `as_pnt` is True, return a tuple of gp_Pnt instances - for the lower and another for the upper X,Y,Z values representing the bounding box - if `as_pnt` is False, return a tuple of lower and then upper X,Y,Z values - representing the bounding box +def get_aligned_boundingbox( + shape: TopoDS_Shape, tol: float = 1e-6, optimal_BB: bool = True +) -> Tuple[gp_Pnt, List[float], TopoDS_Shape]: + """ + Computes the axis-aligned bounding box of a shape. + + :param shape: The TopoDS_Shape to compute the bounding box from. + :param tol: The tolerance of the bounding box. Defaults to 1e-6. + :param optimal_BB: If True, computes the optimal (tightest) bounding box. + Defaults to True. + :return: A tuple containing: + - The center of the bounding box (gp_Pnt). + - A list of the dimensions [dx, dy, dz] of the bounding box. + - A TopoDS_Shape representing the bounding box. """ bbox = Bnd_Box() bbox.SetGap(tol) - # note: useTriangulation is True by default, we set it explicitely, but t's not necessary + # note: useTriangulation is True by default, we set it explicitly, but t's not necessary if optimal_BB: use_triangulation = True use_shapetolerance = True - brepbndlib_AddOptimal(shape, bbox, use_triangulation, use_shapetolerance) + brepbndlib.AddOptimal(shape, bbox, use_triangulation, use_shapetolerance) else: - brepbndlib_Add(shape, bbox) + brepbndlib.Add(shape, bbox) xmin, ymin, zmin, xmax, ymax, zmax = bbox.Get() corner1 = gp_Pnt(xmin, ymin, zmin) corner2 = gp_Pnt(xmax, ymax, zmax) @@ -185,90 +278,113 @@ def get_aligned_boundingbox(shape, tol=1e-6, optimal_BB=True): return center, [dx, dy, dz], box_shp -def get_oriented_boundingbox(shape, optimal_OBB=True): - """ return the oriented bounding box of the TopoDS_Shape `shape` - - Parameters - ---------- - - shape : TopoDS_Shape or a subclass such as TopoDS_Face - the shape to compute the bounding box from - optimal_OBB : bool, True by default. If set to True, compute the - optimal (i.e. the smallest oriented bounding box). Optimal OBB is - a bit longer. - Returns - ------- - a list with center, x, y and z sizes - - a shape +def get_oriented_boundingbox( + shape: TopoDS_Shape, optimal_OBB: bool = True +) -> Tuple[gp_Pnt, List[float], TopoDS_Shape]: + """ + Computes the oriented bounding box of a shape. + + :param shape: The TopoDS_Shape to compute the bounding box from. + :param optimal_OBB: If True, computes the smallest possible oriented + bounding box. This can be slower. Defaults to True. + :return: A tuple containing: + - The center of the bounding box (gp_Pnt). + - A list of the half-dimensions [hx, hy, hz] of the bounding box. + - A TopoDS_Shape representing the bounding box. """ obb = Bnd_OBB() if optimal_OBB: - is_triangulationUsed = True + is_triangulation_used = True is_optimal = True - is_shapeToleranceUsed = False - brepbndlib_AddOBB(shape, obb, is_triangulationUsed, is_optimal, is_shapeToleranceUsed) + is_shape_tolerance_used = False + brepbndlib.AddOBB( + shape, obb, is_triangulation_used, is_optimal, is_shape_tolerance_used + ) else: - brepbndlib_AddOBB(shape, obb) + brepbndlib.AddOBB(shape, obb) # converts the bounding box to a shape - aBaryCenter = obb.Center() - aXDir = obb.XDirection() - aYDir = obb.YDirection() - aZDir = obb.ZDirection() - aHalfX = obb.XHSize() - aHalfY = obb.YHSize() - aHalfZ = obb.ZHSize() - - ax = gp_XYZ(aXDir.X(), aXDir.Y(), aXDir.Z()) - ay = gp_XYZ(aYDir.X(), aYDir.Y(), aYDir.Z()) - az = gp_XYZ(aZDir.X(), aZDir.Y(), aZDir.Z()) - p = gp_Pnt(aBaryCenter.X(), aBaryCenter.Y(), aBaryCenter.Z()) - anAxes = gp_Ax2(p, gp_Dir(aZDir), gp_Dir(aXDir)) - anAxes.SetLocation(gp_Pnt(p.XYZ() - ax*aHalfX - ay*aHalfY - az*aHalfZ)) - aBox = BRepPrimAPI_MakeBox(anAxes, 2.0*aHalfX, 2.0*aHalfY, 2.0*aHalfZ).Shape() - return aBaryCenter, [aHalfX, aHalfY, aHalfZ], aBox - - -def midpoint(pntA, pntB): - """ computes the point that lies in the middle between pntA and pntB - - Parameters - ---------- - - pntA, pntB : gp_Pnt + bary_center = obb.Center() + x_direction = obb.XDirection() + y_direction = obb.YDirection() + z_direction = obb.ZDirection() + a_half_x = obb.XHSize() + a_half_y = obb.YHSize() + a_half_z = obb.ZHSize() + + ax = gp_XYZ(x_direction.X(), x_direction.Y(), x_direction.Z()) + ay = gp_XYZ(y_direction.X(), y_direction.Y(), y_direction.Z()) + az = gp_XYZ(z_direction.X(), z_direction.Y(), z_direction.Z()) + p = gp_Pnt(bary_center.X(), bary_center.Y(), bary_center.Z()) + an_axe = gp_Ax2(p, gp_Dir(z_direction), gp_Dir(x_direction)) + an_axe.SetLocation(gp_Pnt(gp_XYZ() - ax * a_half_x - ay * a_half_y - az * a_half_z)) + a_box = BRepPrimAPI_MakeBox( + an_axe, 2.0 * a_half_x, 2.0 * a_half_y, 2.0 * a_half_z + ).Shape() + return bary_center, [a_half_x, a_half_y, a_half_z], a_box + + +def midpoint(point_A: gp_Pnt, point_B: gp_Pnt) -> gp_Pnt: + """ + Computes the midpoint between two points. - Returns - ------- + :param point_A: The first point (gp_Pnt). + :param point_B: The second point (gp_Pnt). + :return: The midpoint (gp_Pnt). + """ + vec_1 = gp_Vec(point_A.XYZ()) + vec_2 = gp_Vec(point_B.XYZ()) + mid = (vec_1 + vec_2) * 0.5 + return gp_Pnt(mid.XYZ()) - gp_Pnt +def center_boundingbox(shape: TopoDS_Shape) -> gp_Pnt: """ - vec1 = gp_Vec(pntA.XYZ()) - vec2 = gp_Vec(pntB.XYZ()) - veccie = (vec1 + vec2) * 0.5 - return gp_Pnt(veccie.XYZ()) + Computes the center of the bounding box of a shape. + :param shape: The TopoDS_Shape to compute the center of. + :return: The center point (gp_Pnt). + """ + xmin, ymin, zmin, xmax, ymax, zmax = get_boundingbox(shape, 1e-6) + return midpoint(gp_Pnt(xmin, ymin, zmin), gp_Pnt(xmax, ymax, zmax)) -def center_boundingbox(shape): - """ compute the center point of a TopoDS_Shape, based on its bounding box - Parameters - ---------- +def get_boundingbox( + shape: TopoDS_Shape, tol: float = 1e-6, use_mesh: bool = True +) -> Tuple[float, float, float, float, float, float]: + """ + Computes the axis-aligned bounding box of a shape. - shape : TopoDS_Shape instance or a subclass like TopoDS_Face + :param shape: The TopoDS_Shape to compute the bounding box from. + :param tol: The tolerance of the bounding box. Defaults to 1e-6. + :param use_mesh: If True, the shape is meshed before computing the + bounding box for better accuracy. Defaults to True. + :return: A tuple of the min and max coordinates (xmin, ymin, zmin, xmax, ymax, zmax). + """ + bbox = Bnd_Box() + bbox.SetGap(tol) + if use_mesh: + mesh = BRepMesh_IncrementalMesh() + mesh.SetParallelDefault(True) + mesh.SetShape(shape) + mesh.Perform() + if not mesh.IsDone(): + raise AssertionError("Mesh not done.") + brepbndlib.Add(shape, bbox, use_mesh) - Returns - ------- + xmin, ymin, zmin, xmax, ymax, zmax = bbox.Get() + return xmin, ymin, zmin, xmax, ymax, zmax - gp_Pnt +def translate_shp(shp: TopoDS_Shape, vec: gp_Vec, copy: bool = False) -> TopoDS_Shape: """ - xmin, ymin, zmin, xmax, ymax, zmax = get_boundingbox(shape, 1e-6) - return midpoint(gp_Pnt(xmin, ymin, zmin), gp_Pnt(xmax, ymax, zmax)) - + Translates a shape by a vector. -def translate_shp(shp, vec, copy=False): + :param shp: The TopoDS_Shape to translate. + :param vec: The translation vector (gp_Vec). + :param copy: If True, a new shape is created. Otherwise, the original shape is modified. Defaults to False. + :return: The translated TopoDS_Shape. + """ trns = gp_Trsf() trns.SetTranslation(vec) brep_trns = BRepBuilderAPI_Transform(shp, trns, copy) @@ -276,15 +392,17 @@ def translate_shp(shp, vec, copy=False): return brep_trns.Shape() -def rotate_shape(shape, axis, angle, unite="deg"): - """ Rotate a shape around an axis, with a given angle. - - @param shape : the shape to rotate - @point : the origin of the axis - @vector : the axis direction - @angle : the value of the rotation +def rotate_shape( + shape: TopoDS_Shape, axis: gp_Ax1, angle: float, unite: str = "deg" +) -> TopoDS_Shape: + """ + Rotates a shape around an axis by a given angle. - @return: the rotated shape. + :param shape: The TopoDS_Shape to rotate. + :param axis: The axis of rotation (gp_Ax1). + :param angle: The angle of rotation. + :param unite: The unit of the angle, either "deg" for degrees or "rad" for radians. Defaults to "deg". + :return: The rotated TopoDS_Shape. """ assert_shape_not_null(shape) if unite == "deg": # convert angle to radians @@ -293,18 +411,21 @@ def rotate_shape(shape, axis, angle, unite="deg"): trns.SetRotation(axis, angle) brep_trns = BRepBuilderAPI_Transform(shape, trns, False) brep_trns.Build() - shp = brep_trns.Shape() - return shp - - -def rotate_shp_3_axis(shape, rx, ry, rz, unity="deg"): - """ Rotate a shape around (O,x), (O,y) and (O,z). + return brep_trns.Shape() - @param rx_degree : rotation around (O,x) - @param ry_degree : rotation around (O,y) - @param rz_degree : rotation around (O,z) - @return : the rotated shape. +def rotate_shp_3_axis( + shape: TopoDS_Shape, rx: float, ry: float, rz: float, unity: str = "deg" +) -> TopoDS_Shape: + """ + Rotates a shape around the X, Y, and Z axes. + + :param shape: The TopoDS_Shape to rotate. + :param rx: The rotation angle around the X-axis. + :param ry: The rotation angle around the Y-axis. + :param rz: The rotation angle around the Z-axis. + :param unity: The unit of the angles, either "deg" for degrees or "rad" for radians. Defaults to "deg". + :return: The rotated TopoDS_Shape. """ assert_shape_not_null(shape) if unity == "deg": # convert angle to radians @@ -312,53 +433,72 @@ def rotate_shp_3_axis(shape, rx, ry, rz, unity="deg"): ry = radians(ry) rz = radians(rz) alpha = gp_Trsf() - alpha.SetRotation(gp_OX(), rx) + alpha.SetRotation(gp.OX(), rx) beta = gp_Trsf() - beta.SetRotation(gp_OY(), ry) + beta.SetRotation(gp.OY(), ry) gamma = gp_Trsf() - gamma.SetRotation(gp_OZ(), rz) - brep_trns = BRepBuilderAPI_Transform(shape, alpha*beta*gamma, False) - shp = brep_trns.Shape() - return shp + gamma.SetRotation(gp.OZ(), rz) + brep_trns = BRepBuilderAPI_Transform(shape, alpha * beta * gamma, False) + return brep_trns.Shape() -def scale_shape(shape, fx, fy, fz): - """ Scale a shape along the 3 directions - @param fx : scale factor in the x direction - @param fy : scale factor in the y direction - @param fz : scale factor in the z direction +def scale_shape(shape: TopoDS_Shape, fx: float, fy: float, fz: float) -> TopoDS_Shape: + """ + Scales a shape along the X, Y, and Z axes. - @return : the scaled shape + :param shape: The TopoDS_Shape to scale. + :param fx: The scaling factor along the X-axis. + :param fy: The scaling factor along the Y-axis. + :param fz: The scaling factor along the Z-axis. + :return: The scaled TopoDS_Shape. """ assert_shape_not_null(shape) scale_trsf = gp_GTrsf() - rot = gp_Mat(fx, 0., 0., 0., fy, 0., 0., 0., fz) + rot = gp_Mat(fx, 0.0, 0.0, 0.0, fy, 0.0, 0.0, 0.0, fz) scale_trsf.SetVectorialPart(rot) - shp = BRepBuilderAPI_GTransform(shape, scale_trsf).Shape() - return shp + return BRepBuilderAPI_GTransform(shape, scale_trsf).Shape() -def make_extrusion(face, length, vector=gp_Vec(0., 0., 1.)): - ''' creates a extrusion from a face, along the vector vector. - with a distance legnth. Note that the normal vector does not - necessary be normalized. - By default, the extrusion is along the z axis. - ''' +def make_extrusion( + face: TopoDS_Face, length: float, vector: gp_Vec = None +) -> TopoDS_Shape: + """ + Creates an extrusion from a face along a vector. + + :param face: The TopoDS_Face to extrude. + :param length: The length of the extrusion. + :param vector: The direction of the extrusion (gp_Vec). If None, the Z-axis is used. Defaults to None. + :return: The extruded TopoDS_Shape (a solid). + """ + if vector is None: + vector = gp_Vec(0.0, 0.0, 1.0) + if not isinstance(vector, gp_Vec): + raise TypeError("vector must be a gp_Vec") vector.Normalize() vector.Scale(length) return BRepPrimAPI_MakePrism(face, vector).Shape() + ################################## # Recognize functions ################################## -def recognize_face(topods_face): - """ returns True if the TopoDS_Face is a planar surface +def recognize_face( + topods_face: TopoDS_Face, +) -> Tuple[str, gp_Pnt, gp_Dir]: + """ + Recognizes the type of a TopoDS_Face and returns its properties. + + :param topods_face: The face to recognize. + :return: A tuple containing: + - The type of the face as a string (e.g., "Plane", "Cylinder"). + - The location of the surface (e.g., a point on the plane or axis). + - The normal or axis of the surface. """ if not isinstance(topods_face, TopoDS_Face): return "Not a face", None, None surf = BRepAdaptor_Surface(topods_face, True) surf_type = surf.GetType() - if surf_type == GeomAbs_Plane: + if surf_type == GeomAbs_Plane: kind = "Plane" # look for the properties of the plane # first get the related gp_Pln @@ -402,33 +542,46 @@ def recognize_face(topods_face): elif surf_type == GeomAbs_OtherSurface: kind = "Other" return kind, None, None - # nothing found - return "Unknown", None, None + else: + return "Unknown", None, None + ############################################################################## # Measure functions ############################################################################## -def measure_shape_volume(shape): - """ Returns shape volume """ +def measure_shape_volume(shape: TopoDS_Shape) -> float: + """ + Measures the volume of a shape. + + :param shape: The TopoDS_Shape to measure. + :return: The volume of the shape. + """ inertia_props = GProp_GProps() - brepgprop_VolumeProperties(shape, inertia_props) - mass = inertia_props.Mass() - return mass + brepgprop.VolumeProperties(shape, inertia_props) + return inertia_props.Mass() -def measure_shape_mass_center_of_gravity(shape): - """ Returns the shape center of gravity - Returns a gp_Pnt if requested (set as_Pnt to True) - or a list of 3 coordinates, by default.""" +def measure_shape_mass_center_of_gravity( + shape: TopoDS_Shape, +) -> Tuple[gp_Pnt, float, str]: + """ + Measures the mass, center of gravity, and the property used for mass calculation (Length, Area, or Volume). + + :param shape: The TopoDS_Shape to measure. + :return: A tuple containing: + - The center of gravity (gp_Pnt). + - The mass (a float). + - The mass property as a string ("Length", "Area", or "Volume"). + """ inertia_props = GProp_GProps() if is_edge(shape): - brepgprop_LinearProperties(shape, inertia_props) + brepgprop.LinearProperties(shape, inertia_props) mass_property = "Length" elif is_face(shape): - brepgprop_SurfaceProperties(shape, inertia_props) + brepgprop.SurfaceProperties(shape, inertia_props) mass_property = "Area" else: - brepgprop_VolumeProperties(shape, inertia_props) + brepgprop.VolumeProperties(shape, inertia_props) mass_property = "Volume" cog = inertia_props.CentreOfMass() mass = inertia_props.Mass() diff --git a/src/Extend/ShapeFactory.pyi b/src/Extend/ShapeFactory.pyi new file mode 100644 index 000000000..0805dea89 --- /dev/null +++ b/src/Extend/ShapeFactory.pyi @@ -0,0 +1,60 @@ +from typing import Any, List, Tuple, Union + +from OCC.Core.Geom import Geom_BSplineCurve, Geom_BezierCurve, Geom_Surface +from OCC.Core.GeomAbs import GeomAbs_Shape +from OCC.Core.gp import gp_Ax1, gp_Dir, gp_Pnt, gp_Vec +from OCC.Core.TColgp import TColgp_Array1OfPnt +from OCC.Core.TopoDS import ( + TopoDS_Edge, + TopoDS_Face, + TopoDS_Shape, + TopoDS_Vertex, + TopoDS_Wire, +) + +def assert_shape_not_null(shp: TopoDS_Shape) -> None: ... +def assert_isdone(inst: Any, message: str) -> None: ... +def point_list_to_TColgp_Array1OfPnt(li: List[gp_Pnt]) -> TColgp_Array1OfPnt: ... +def make_vertex(*args: Union[gp_Pnt, float]) -> TopoDS_Vertex: ... +def make_edge(*args: Any) -> TopoDS_Edge: ... +def make_edge2d(*args: Any) -> TopoDS_Edge: ... +def make_wire(*args: Union[List[TopoDS_Edge], TopoDS_Edge]) -> TopoDS_Wire: ... +def points_to_bspline(pnts: List[gp_Pnt]) -> Geom_BSplineCurve: ... +def edge_to_bezier( + topods_edge: TopoDS_Edge, +) -> Tuple[bool, Geom_BezierCurve, int]: ... +def make_n_sided( + edges: List[TopoDS_Edge], continuity: GeomAbs_Shape = ... +) -> TopoDS_Face: ... +def make_face(*args: Union[TopoDS_Wire, Geom_Surface]) -> TopoDS_Face: ... +def get_aligned_boundingbox( + shape: TopoDS_Shape, tol: float = 1e-06, optimal_BB: bool = True +) -> Tuple[gp_Pnt, List[float], TopoDS_Shape]: ... +def get_oriented_boundingbox( + shape: TopoDS_Shape, optimal_OBB: bool = True +) -> Tuple[gp_Pnt, List[float], TopoDS_Shape]: ... +def midpoint(point_A: gp_Pnt, point_B: gp_Pnt) -> gp_Pnt: ... +def center_boundingbox(shape: TopoDS_Shape) -> gp_Pnt: ... +def get_boundingbox( + shape: TopoDS_Shape, tol: float = 1e-06, use_mesh: bool = True +) -> Tuple[float, float, float, float, float, float]: ... +def translate_shp( + shp: TopoDS_Shape, vec: gp_Vec, copy: bool = False +) -> TopoDS_Shape: ... +def rotate_shape( + shape: TopoDS_Shape, axis: gp_Ax1, angle: float, unite: str = "deg" +) -> TopoDS_Shape: ... +def rotate_shp_3_axis( + shape: TopoDS_Shape, rx: float, ry: float, rz: float, unity: str = "deg" +) -> TopoDS_Shape: ... +def scale_shape( + shape: TopoDS_Shape, fx: float, fy: float, fz: float +) -> TopoDS_Shape: ... +def make_extrusion( + face: TopoDS_Face, length: float, vector: gp_Vec = None +) -> TopoDS_Shape: ... +def recognize_face(topods_face: TopoDS_Face) -> Tuple[str, gp_Pnt, gp_Dir]: ... +def measure_shape_volume(shape: TopoDS_Shape) -> float: ... +def measure_shape_mass_center_of_gravity( + shape: TopoDS_Shape, +) -> Tuple[gp_Pnt, float, str]: ... diff --git a/src/Extend/TopologyUtils.py b/src/Extend/TopologyUtils.py index 0e4704667..d0cbad9f9 100644 --- a/src/Extend/TopologyUtils.py +++ b/src/Extend/TopologyUtils.py @@ -17,48 +17,120 @@ ##You should have received a copy of the GNU Lesser General Public License ##along with pythonOCC. If not, see . -from typing import Any, Iterable, Iterator, List, Optional, Tuple +from typing import Any, Dict, Iterable, Iterator, List, Optional, Tuple from OCC.Core.BRep import BRep_Tool, BRep_Builder from OCC.Core.BRepTools import BRepTools_WireExplorer from OCC.Core.gp import gp_Ax2, gp_Dir, gp_Pnt from OCC.Core.HLRBRep import HLRBRep_Algo, HLRBRep_HLRToShape from OCC.Core.HLRAlgo import HLRAlgo_Projector -from OCC.Core.TopAbs import (TopAbs_VERTEX, TopAbs_EDGE, TopAbs_FACE, TopAbs_WIRE, - TopAbs_SHELL, TopAbs_SOLID, TopAbs_COMPOUND, - TopAbs_COMPSOLID, TopAbs_ShapeEnum) -from OCC.Core.TopExp import TopExp_Explorer, topexp_MapShapesAndAncestors -from OCC.Core.TopTools import (TopTools_ListIteratorOfListOfShape, - TopTools_IndexedDataMapOfShapeListOfShape) -from OCC.Core.TopoDS import (topods, TopoDS_Wire, TopoDS_Vertex, TopoDS_Edge, - TopoDS_Face, TopoDS_Shell, TopoDS_Solid, TopoDS_Shape, - TopoDS_Compound, TopoDS_CompSolid, topods_Edge, - topods_Vertex, TopoDS_Iterator) -from OCC.Core.GCPnts import (GCPnts_UniformAbscissa, - GCPnts_QuasiUniformDeflection, - GCPnts_UniformDeflection) +from OCC.Core.TopAbs import ( + TopAbs_VERTEX, + TopAbs_EDGE, + TopAbs_FACE, + TopAbs_WIRE, + TopAbs_SHELL, + TopAbs_SOLID, + TopAbs_COMPOUND, + TopAbs_COMPSOLID, + TopAbs_ShapeEnum, + TopAbs_Orientation, +) +from OCC.Core.TopExp import TopExp_Explorer, topexp +from OCC.Core.TopTools import ( + TopTools_ListIteratorOfListOfShape, + TopTools_IndexedDataMapOfShapeListOfShape, +) +from OCC.Core.TopoDS import ( + Wire, + Vertex, + Edge, + Face, + Shell, + Solid, + Compound, + CompSolid, + TopoDS_Wire, + TopoDS_Vertex, + TopoDS_Edge, + TopoDS_Face, + TopoDS_Shell, + TopoDS_Solid, + TopoDS_Shape, + TopoDS_Compound, + TopoDS_CompSolid, + TopoDS_Iterator, +) +from OCC.Core.GCPnts import ( + GCPnts_UniformAbscissa, + GCPnts_QuasiUniformDeflection, + GCPnts_UniformDeflection, +) from OCC.Core.BRepAdaptor import BRepAdaptor_Curve +# Available discretization algorithms for edges and wires +DISCRETIZATION_ALGORITHMS = { + "UniformAbscissa": GCPnts_UniformAbscissa, + "QuasiUniformDeflection": GCPnts_QuasiUniformDeflection, + "UniformDeflection": GCPnts_UniformDeflection, +} + + +def _number_of_topo(iterable: Iterable) -> int: + """Counts the number of items in an iterable.""" + return sum(1 for _ in iterable) + + +def ordered_vertices_from_wire(wire: TopoDS_Wire) -> Iterator[TopoDS_Vertex]: + """ + Get an iterator over the vertices of a wire in connection order. + :param wire: The wire to explore. + :return: An iterator of vertices. + """ + wire_exp = WireExplorer(wire) + return wire_exp.ordered_vertices() + + +def ordered_edges_from_wire(wire: TopoDS_Wire) -> Iterator[TopoDS_Edge]: + """ + Get an iterator over the edges of a wire in connection order. + :param wire: The wire to explore. + :return: An iterator of edges. + """ + wire_exp = WireExplorer(wire) + return wire_exp.ordered_edges() + class WireExplorer: - ''' - Wire traversal - ''' + """ + A class to explore a TopoDS_Wire, providing access to its vertices and edges in order. + """ + def __init__(self, wire: TopoDS_Wire) -> None: + """ + Initializes the WireExplorer. + :param wire: The wire to explore. + """ if not isinstance(wire, TopoDS_Wire): - raise AssertionError('not a TopoDS_Wire') + raise AssertionError("not a TopoDS_Wire") self.wire = wire self.wire_explorer = BRepTools_WireExplorer(self.wire) self.done = False def _reinitialize(self) -> None: + """Re-initializes the underlying BRepTools_WireExplorer.""" self.wire_explorer = BRepTools_WireExplorer(self.wire) self.done = False def _loop_topo(self, edges: Optional[bool] = True) -> Iterator[Any]: + """ + Internal loop to traverse the wire's topology. + :param edges: If True, iterates over edges, otherwise iterates over vertices. + :return: An iterator of edges or vertices. + """ if self.done: self._reinitialize() - topologyType = topods_Edge if edges else topods_Vertex + topology_type = Edge if edges else Vertex seq = [] while self.wire_explorer.More(): @@ -68,269 +140,311 @@ def _loop_topo(self, edges: Optional[bool] = True) -> Iterator[Any]: # loop vertices else: current_item = self.wire_explorer.CurrentVertex() - seq.append(topologyType(current_item)) + seq.append(topology_type(current_item)) self.wire_explorer.Next() self.done = True return iter(seq) def ordered_edges(self) -> Iterator[TopoDS_Edge]: + """ + Returns an iterator over the edges of the wire in connection order. + """ return self._loop_topo(edges=True) def ordered_vertices(self) -> Iterator[TopoDS_Vertex]: + """ + Returns an iterator over the vertices of the wire in connection order. + """ return self._loop_topo(edges=False) class TopologyExplorer: - ''' - Topology traversal - ''' + """ + A class to explore the topology of a TopoDS_Shape. + This class allows for traversing the topological hierarchy of a shape, + providing methods to access sub-shapes like faces, edges, and vertices. + It can also be used to find relationships between different topological entities, + for example, finding all faces connected to a specific edge. + """ - def __init__(self, myShape: TopoDS_Shape, ignore_orientation: Optional[bool]=True) -> None: + def __init__( + self, my_shape: TopoDS_Shape, ignore_orientation: Optional[bool] = True + ) -> None: """ - implements topology traversal from any TopoDS_Shape - this class lets you find how various topological entities are connected from one to another - find the faces connected to an edge, find the vertices this edge is made from, get all faces connected to - a vertex, and find out how many topological elements are connected from a source - - *note* when traversing TopoDS_Wire entities, its advised to use the specialized - ``WireExplorer`` class, which will return the vertices / edges in the expected order - - :param myShape: the shape which topology will be traversed - - :param ignore_orientation: filter out TopoDS_* entities of similar TShape but different Orientation - - for instance, a cube has 24 edges, 4 edges for each of 6 faces - - that results in 48 vertices, while there are only 8 vertices that have a unique - geometric coordinate - - in certain cases ( computing a graph from the topology ) its preferable to return - topological entities that share similar geometry, though differ in orientation - by setting the ``ignore_orientation`` variable - to True, in case of a cube, just 12 edges and only 8 vertices will be returned - - for further reference see TopoDS_Shape IsEqual / IsSame methods - + Initializes the TopologyExplorer. + :param my_shape: The shape which topology will be traversed. + :param ignore_orientation: If True, filters out topological entities + that have the same geometry but different orientations. For example, + a cube has 12 unique geometric edges, but 24 edges when considering + orientation. Setting this to True will return 12 edges. + Defaults to True. """ - self.myShape = myShape + self.my_shape = my_shape self.ignore_orientation = ignore_orientation - # the topoFactory dicts maps topology types and functions that can + # the topology_factory 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.topology_factory = { + TopAbs_VERTEX: Vertex, + TopAbs_EDGE: Edge, + TopAbs_FACE: Face, + TopAbs_WIRE: Wire, + TopAbs_SHELL: Shell, + TopAbs_SOLID: Solid, + TopAbs_COMPOUND: Compound, + TopAbs_COMPSOLID: CompSolid, } - def _loop_topo(self, - topologyType: TopAbs_ShapeEnum, - topologicalEntity=None, - topologyTypeToAvoid=None) -> Iterator[Any]: - ''' - this could be a faces generator for a python TopoShape class - that way you can just do: - for face in srf.faces: - processFace(face) - ''' - topoTypes = {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} - topExp = TopExp_Explorer() - if topologyType not in topoTypes.keys(): - raise AssertionError("%s not one of %s" % (topologyType, topoTypes.keys())) - # use self.myShape if nothing is specified - if topologicalEntity is None and topologyTypeToAvoid is None: - topExp.Init(self.myShape, topologyType) - elif topologicalEntity is None and topologyTypeToAvoid is not None: - topExp.Init(self.myShape, topologyType, topologyTypeToAvoid) - elif topologyTypeToAvoid is None: - topExp.Init(topologicalEntity, topologyType) - elif topologyTypeToAvoid: - topExp.Init(topologicalEntity, - topologyType, - topologyTypeToAvoid) + def _loop_topo( + self, + topology_type: TopAbs_ShapeEnum, + topological_entity=None, + topology_type_to_avoid=None, + ) -> Iterator[Any]: + """ + Generic method to iterate over sub-shapes of a given type. + :param topology_type: The type of sub-shapes to iterate over (e.g., TopAbs_FACE). + :param topological_entity: The shape to explore. If None, explores the shape + provided in the constructor. Defaults to None. + :param topology_type_to_avoid: A type of sub-shape to avoid during traversal. + Defaults to None. + :return: An iterator of the found sub-shapes. + """ + topo_types = { + 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, + } + topology_explorer = TopExp_Explorer() + if topology_type not in topo_types: + raise AssertionError(f"{topology_type} not one of {topo_types.keys()}") + # use self.my_shape if nothing is specified + if topological_entity is None and topology_type_to_avoid is None: + topology_explorer.Init(self.my_shape, topology_type) + elif topological_entity is None: + topology_explorer.Init(self.my_shape, topology_type, topology_type_to_avoid) + elif topology_type_to_avoid is None: + topology_explorer.Init(topological_entity, topology_type) + elif topology_type_to_avoid: + topology_explorer.Init( + topological_entity, topology_type, topology_type_to_avoid + ) seq = [] - while topExp.More(): - current_item = topExp.Current() - topo_to_add = self.topoFactory[topologyType](current_item) + while topology_explorer.More(): + current_item = topology_explorer.Current() + topo_to_add = self.topology_factory[topology_type](current_item) seq.append(topo_to_add) - topExp.Next() + topology_explorer.Next() if self.ignore_orientation: # filter out those entities that share the same TShape # but do *not* share the same orientation - #filter_orientation_seq = [] filter_orientation_seq: List = [] + filter_orientation_hash_codes = {} for i in seq: - _present = False - for j in filter_orientation_seq: - if i.IsSame(j): - _present = True - break - if _present is False: + i_hash_code = hash(i) + if i_hash_code not in filter_orientation_hash_codes: filter_orientation_seq.append(i) + filter_orientation_hash_codes[i_hash_code] = [ + len(filter_orientation_seq) - 1 + ] + else: + index_list = filter_orientation_hash_codes[i_hash_code] + unique = not any( + i.IsSame(filter_orientation_seq[j]) for j in index_list + ) + if unique: + filter_orientation_seq.append(i) + index_list.append(len(filter_orientation_seq) - 1) return iter(filter_orientation_seq) - else: - return iter(seq) + + return iter(seq) def faces(self) -> Iterator[TopoDS_Face]: - ''' - loops over all faces - ''' + """ + Returns an iterator over all faces in the shape. + """ return self._loop_topo(TopAbs_FACE) - def _number_of_topo(self, iterable: Iterable) -> int: - n = 0 - for _ in iterable: - n += 1 - return n - def number_of_faces(self) -> int: - return self._number_of_topo(self.faces()) + """Returns the number of faces in the shape.""" + return _number_of_topo(self.faces()) def vertices(self) -> Iterator[TopoDS_Vertex]: - ''' - loops over all vertices - ''' + """ + Returns an iterator over all vertices in the shape. + """ return self._loop_topo(TopAbs_VERTEX) def number_of_vertices(self) -> int: - return self._number_of_topo(self.vertices()) + """Returns the number of vertices in the shape.""" + return _number_of_topo(self.vertices()) def edges(self) -> Iterator[TopoDS_Edge]: - ''' - loops over all edges - ''' + """ + Returns an iterator over all edges in the shape. + """ return self._loop_topo(TopAbs_EDGE) def number_of_edges(self) -> int: - return self._number_of_topo(self.edges()) + """Returns the number of edges in the shape.""" + return _number_of_topo(self.edges()) def wires(self) -> Iterator[TopoDS_Wire]: - ''' - loops over all wires - ''' + """ + Returns an iterator over all wires in the shape. + """ return self._loop_topo(TopAbs_WIRE) def number_of_wires(self) -> int: - return self._number_of_topo(self.wires()) + """Returns the number of wires in the shape.""" + return _number_of_topo(self.wires()) def shells(self) -> Iterator[TopoDS_Shell]: - ''' - loops over all shells - ''' + """ + Returns an iterator over all shells in the shape. + """ return self._loop_topo(TopAbs_SHELL, None) def number_of_shells(self) -> int: - return self._number_of_topo(self.shells()) + """Returns the number of shells in the shape.""" + return _number_of_topo(self.shells()) def solids(self) -> Iterator[TopoDS_Solid]: - ''' - loops over all solids - ''' + """ + Returns an iterator over all solids in the shape. + """ return self._loop_topo(TopAbs_SOLID, None) def number_of_solids(self) -> int: - return self._number_of_topo(self.solids()) + """Returns the number of solids in the shape.""" + return _number_of_topo(self.solids()) def comp_solids(self) -> Iterator[TopoDS_CompSolid]: - ''' - loops over all compound solids - ''' + """ + Returns an iterator over all composite solids in the shape. + """ return self._loop_topo(TopAbs_COMPSOLID) def number_of_comp_solids(self) -> int: - return self._number_of_topo(self.comp_solids()) + """Returns the number of composite solids in the shape.""" + return _number_of_topo(self.comp_solids()) def compounds(self) -> Iterator[TopoDS_Compound]: - ''' - loops over all compounds - ''' + """ + Returns an iterator over all compounds in the shape. + """ return self._loop_topo(TopAbs_COMPOUND) def number_of_compounds(self) -> int: - return self._number_of_topo(self.compounds()) - - def ordered_vertices_from_wire(self, wire: TopoDS_Wire) -> Iterator[TopoDS_Vertex]: - ''' - @param wire: TopoDS_Wire - ''' - we = WireExplorer(wire) - return we.ordered_vertices() + """Returns the number of compounds in the shape.""" + return _number_of_topo(self.compounds()) def number_of_ordered_vertices_from_wire(self, wire: TopoDS_Wire) -> int: - return self._number_of_topo(self.ordered_vertices_from_wire(wire)) - - def ordered_edges_from_wire(self, wire: TopoDS_Wire) -> Iterator[TopoDS_Edge]: - ''' - @param wire: TopoDS_Wire - ''' - we = WireExplorer(wire) - return we.ordered_edges() + """ + Returns the number of vertices in a wire, in connection order. + :param wire: The wire to query. + :return: The number of ordered vertices. + """ + return _number_of_topo(ordered_vertices_from_wire(wire)) def number_of_ordered_edges_from_wire(self, wire: TopoDS_Wire) -> int: - return self._number_of_topo(self.ordered_edges_from_wire(wire)) - - def _map_shapes_and_ancestors(self, topoTypeA, topoTypeB, topologicalEntity): - ''' - using the same method - @param topoTypeA: - @param topoTypeB: - @param topologicalEntity: - ''' + """ + Returns the number of edges in a wire, in connection order. + :param wire: The wire to query. + :return: The number of ordered edges. + """ + return _number_of_topo(ordered_edges_from_wire(wire)) + + def _map_shapes_and_ancestors( + self, topology_type_1, topology_type_2, topological_entity + ): + """ + Maps shapes to their ancestors of a different type. + For example, can be used to find all faces (ancestors, type 2) that an edge (shape, type 1) belongs to. + :param topology_type_1: The TopAbs_ShapeEnum of the entity. + :param topology_type_2: The TopAbs_ShapeEnum of the ancestors to find. + :param topological_entity: The topological entity itself. + :return: An iterator of the ancestor shapes. + """ topo_set = set() + topo_set_hash_codes = {} _map = TopTools_IndexedDataMapOfShapeListOfShape() - topexp_MapShapesAndAncestors(self.myShape, topoTypeA, topoTypeB, _map) - results = _map.FindFromKey(topologicalEntity) + topexp.MapShapesAndAncestors( + self.my_shape, topology_type_1, topology_type_2, _map + ) + results = _map.FindFromKey(topological_entity) if results.Size() == 0: yield None topology_iterator = TopTools_ListIteratorOfListOfShape(results) while topology_iterator.More(): - topo_entity = self.topoFactory[topoTypeB](topology_iterator.Value()) - + topo_entity = self.topology_factory[topology_type_2]( + topology_iterator.Value() + ) + topo_entity_hash_code = hash(topo_entity) # return the entity if not in set # to assure we're not returning entities several times - if not topo_entity in topo_set: + if topo_entity not in topo_set: if self.ignore_orientation: - unique = True - for i in topo_set: - if i.IsSame(topo_entity): - unique = False - break - if unique: + if topo_entity_hash_code not in topo_set_hash_codes: + topo_set_hash_codes[topo_entity_hash_code] = [topo_entity] yield topo_entity + else: + unique = not any( + i.IsSame(topo_entity) + for i in topo_set_hash_codes[topo_entity_hash_code] + ) + if unique: + topo_set_hash_codes[topo_entity_hash_code].append( + topo_entity + ) + yield topo_entity else: yield topo_entity topo_set.add(topo_entity) topology_iterator.Next() - def _number_shapes_ancestors(self, topoTypeA, topoTypeB, topologicalEntity): - '''returns the number of shape ancestors - If you want to know how many edges a faces has: - _number_shapes_ancestors(self, TopAbs_EDGE, TopAbs_FACE, edg) - will return the number of edges a faces has - @param topoTypeA: - @param topoTypeB: - @param topologicalEntity: - ''' + def get_topology_summary(self) -> Dict[str, int]: + """ + Returns a dictionary with a summary of the number of topological elements in the shape. + """ + return { + "number_of_vertices": self.number_of_vertices(), + "number_of_edges": self.number_of_edges(), + "number_of_wires": self.number_of_wires(), + "number_of_faces": self.number_of_faces(), + "number_of_shells": self.number_of_shells(), + "number_of_solids": self.number_of_solids(), + "number_of_compounds": self.number_of_compounds(), + "number_of_comp_solids": self.number_of_comp_solids(), + } + + def _number_shapes_ancestors( + self, topology_type_1, topology_type_2, topological_entity + ): + """ + Returns the number of ancestors of a given type for a topological entity. + For example, to find out how many faces an edge belongs to: + _number_shapes_ancestors(TopAbs_EDGE, TopAbs_FACE, edge) + :param topology_type_1: The TopAbs_ShapeEnum of the entity. + :param topology_type_2: The TopAbs_ShapeEnum of the ancestors to count. + :param topological_entity: The topological entity itself. + :return: The number of ancestor shapes. + """ topo_set = set() _map = TopTools_IndexedDataMapOfShapeListOfShape() - topexp_MapShapesAndAncestors(self.myShape, topoTypeA, topoTypeB, _map) - results = _map.FindFromKey(topologicalEntity) + topexp.MapShapesAndAncestors( + self.my_shape, topology_type_1, topology_type_2, _map + ) + results = _map.FindFromKey(topological_entity) if results.Size() == 0: return None topology_iterator = TopTools_ListIteratorOfListOfShape(results) @@ -342,141 +456,308 @@ def _number_shapes_ancestors(self, topoTypeA, topoTypeB, topologicalEntity): # ====================================================================== # EDGE <-> FACE # ====================================================================== - def faces_from_edge(self, edge: TopoDS_Edge): + def faces_from_edge(self, edge: TopoDS_Edge) -> Iterator[TopoDS_Face]: """ - - :param edge: - :return: + Get the faces connected to an edge. + :param edge: The edge to query. + :return: An iterator of faces connected to the edge. """ return self._map_shapes_and_ancestors(TopAbs_EDGE, TopAbs_FACE, edge) def number_of_faces_from_edge(self, edge: TopoDS_Edge) -> int: """ - - :param edge: - :return: + Get the number of faces connected to an edge. + :param edge: The edge to query. + :return: The number of faces connected to the edge. """ return self._number_shapes_ancestors(TopAbs_EDGE, TopAbs_FACE, edge) def edges_from_face(self, face: TopoDS_Face) -> Iterator[TopoDS_Edge]: """ - - :param face: - :return: + Get the edges that make up a face. + :param face: The face to query. + :return: An iterator of edges. """ return self._loop_topo(TopAbs_EDGE, face) def number_of_edges_from_face(self, face: TopoDS_Face) -> int: - cnt = 0 - for _ in self._loop_topo(TopAbs_EDGE, face): - cnt += 1 - return cnt + """ + Get the number of edges that make up a face. + :param face: The face to query. + :return: The number of edges. + """ + return sum(1 for _ in self._loop_topo(TopAbs_EDGE, face)) # ====================================================================== # VERTEX <-> EDGE # ====================================================================== def vertices_from_edge(self, edge: TopoDS_Edge) -> Iterator[TopoDS_Vertex]: + """ + Get the vertices that make up an edge. + :param edge: The edge to query. + :return: An iterator of vertices. + """ return self._loop_topo(TopAbs_VERTEX, edge) def number_of_vertices_from_edge(self, edge: TopoDS_Edge) -> int: - cnt = 0 - for _ in self._loop_topo(TopAbs_VERTEX, edge): - cnt += 1 - return cnt + """ + Get the number of vertices that make up an edge. + :param edge: The edge to query. + :return: The number of vertices. + """ + return sum(1 for _ in self._loop_topo(TopAbs_VERTEX, edge)) - def edges_from_vertex(self, vertex): + def edges_from_vertex(self, vertex: TopoDS_Vertex) -> Iterator[TopoDS_Edge]: + """ + Get the edges connected to a vertex. + :param vertex: The vertex to query. + :return: An iterator of edges connected to the vertex. + """ return self._map_shapes_and_ancestors(TopAbs_VERTEX, TopAbs_EDGE, vertex) def number_of_edges_from_vertex(self, vertex: TopoDS_Vertex) -> int: + """ + Get the number of edges connected to a vertex. + :param vertex: The vertex to query. + :return: The number of edges connected to the vertex. + """ return self._number_shapes_ancestors(TopAbs_VERTEX, TopAbs_EDGE, vertex) # ====================================================================== # WIRE <-> EDGE # ====================================================================== def edges_from_wire(self, wire: TopoDS_Wire) -> Iterator[TopoDS_Edge]: + """ + Get the edges that make up a wire. + :param wire: The wire to query. + :return: An iterator of edges. + """ return self._loop_topo(TopAbs_EDGE, wire) def number_of_edges_from_wire(self, wire: TopoDS_Wire) -> int: - cnt = 0 - for _ in self._loop_topo(TopAbs_EDGE, wire): - cnt += 1 - return cnt + """ + Get the number of edges that make up a wire. + :param wire: The wire to query. + :return: The number of edges. + """ + return sum(1 for _ in self._loop_topo(TopAbs_EDGE, wire)) - def wires_from_edge(self, edg): + def wires_from_edge(self, edg: TopoDS_Edge) -> Iterator[TopoDS_Wire]: + """ + Get the wires an edge belongs to. + :param edg: The edge to query. + :return: An iterator of wires. + """ return self._map_shapes_and_ancestors(TopAbs_EDGE, TopAbs_WIRE, edg) - def wires_from_vertex(self, edg): + def wires_from_vertex(self, edg: TopoDS_Vertex) -> Iterator[TopoDS_Wire]: + """ + Get the wires connected to a vertex. + :param edg: The vertex to query. + :return: An iterator of wires. + """ return self._map_shapes_and_ancestors(TopAbs_VERTEX, TopAbs_WIRE, edg) - def number_of_wires_from_edge(self, edg): + def number_of_wires_from_edge(self, edg: TopoDS_Edge) -> int: + """ + Get the number of wires an edge belongs to. + :param edg: The edge to query. + :return: The number of wires. + """ return self._number_shapes_ancestors(TopAbs_EDGE, TopAbs_WIRE, edg) # ====================================================================== # WIRE <-> FACE # ====================================================================== def wires_from_face(self, face: TopoDS_Face) -> Iterator[TopoDS_Wire]: + """ + Get the wires that make up a face. + :param face: The face to query. + :return: An iterator of wires. + """ return self._loop_topo(TopAbs_WIRE, face) def number_of_wires_from_face(self, face: TopoDS_Face) -> int: - cnt = 0 - for _ in self._loop_topo(TopAbs_WIRE, face): - cnt += 1 - return cnt + """ + Get the number of wires that make up a face. + :param face: The face to query. + :return: The number of wires. + """ + return sum(1 for _ in self._loop_topo(TopAbs_WIRE, face)) - def faces_from_wire(self, wire): + def faces_from_wire(self, wire: TopoDS_Wire) -> Iterator[TopoDS_Face]: + """ + Get the faces a wire belongs to. + :param wire: The wire to query. + :return: An iterator of faces. + """ return self._map_shapes_and_ancestors(TopAbs_WIRE, TopAbs_FACE, wire) - def number_of_faces_from_wires(self, wire): + def number_of_faces_from_wires(self, wire: TopoDS_Wire) -> int: + """ + Get the number of faces a wire belongs to. + :param wire: The wire to query. + :return: The number of faces. + """ return self._number_shapes_ancestors(TopAbs_WIRE, TopAbs_FACE, wire) # ====================================================================== # VERTEX <-> FACE # ====================================================================== - def faces_from_vertex(self, vertex): + def faces_from_vertex(self, vertex: TopoDS_Vertex) -> Iterator[TopoDS_Face]: + """ + Get the faces connected to a vertex. + :param vertex: The vertex to query. + :return: An iterator of faces. + """ return self._map_shapes_and_ancestors(TopAbs_VERTEX, TopAbs_FACE, vertex) - def number_of_faces_from_vertex(self, vertex): + def number_of_faces_from_vertex(self, vertex: TopoDS_Vertex) -> int: + """ + Get the number of faces connected to a vertex. + :param vertex: The vertex to query. + :return: The number of faces. + """ return self._number_shapes_ancestors(TopAbs_VERTEX, TopAbs_FACE, vertex) def vertices_from_face(self, face: TopoDS_Face) -> Iterator[TopoDS_Vertex]: + """ + Get the vertices that make up a face. + :param face: The face to query. + :return: An iterator of vertices. + """ return self._loop_topo(TopAbs_VERTEX, face) def number_of_vertices_from_face(self, face: TopoDS_Face) -> int: - cnt = 0 - for _ in self._loop_topo(TopAbs_VERTEX, face): - cnt += 1 - return cnt + """ + Get the number of vertices that make up a face. + :param face: The face to query. + :return: The number of vertices. + """ + return sum(1 for _ in self._loop_topo(TopAbs_VERTEX, face)) # ====================================================================== # FACE <-> SOLID # ====================================================================== - def solids_from_face(self, face): + def solids_from_face(self, face: TopoDS_Face) -> Iterator[TopoDS_Solid]: + """ + Get the solids a face belongs to. + :param face: The face to query. + :return: An iterator of solids. + """ return self._map_shapes_and_ancestors(TopAbs_FACE, TopAbs_SOLID, face) - def number_of_solids_from_face(self, face): + def number_of_solids_from_face(self, face: TopoDS_Face) -> int: + """ + Get the number of solids a face belongs to. + :param face: The face to query. + :return: The number of solids. + """ return self._number_shapes_ancestors(TopAbs_FACE, TopAbs_SOLID, face) def faces_from_solids(self, solid: TopoDS_Solid) -> Iterator[TopoDS_Face]: + """ + Get the faces that make up a solid. + :param solid: The solid to query. + :return: An iterator of faces. + """ return self._loop_topo(TopAbs_FACE, solid) def number_of_faces_from_solids(self, solid: TopoDS_Solid) -> int: - cnt = 0 - for _ in self._loop_topo(TopAbs_FACE, solid): - cnt += 1 - return cnt + """ + Get the number of faces that make up a solid. + :param solid: The solid to query. + :return: The number of faces. + """ + return sum(1 for _ in self._loop_topo(TopAbs_FACE, solid)) + + # ====================================================================== + # FACE <-> SHELL + # ====================================================================== + def shells_from_face(self, face: TopoDS_Face) -> Iterator[TopoDS_Shell]: + """ + Get the shells a face belongs to. + :param face: The face to query. + :return: An iterator of shells. + """ + return self._map_shapes_and_ancestors(TopAbs_FACE, TopAbs_SHELL, face) + def number_of_shells_from_face(self, face: TopoDS_Face) -> int: + """ + Get the number of shells a face belongs to. + :param face: The face to query. + :return: The number of shells. + """ + return self._number_shapes_ancestors(TopAbs_FACE, TopAbs_SHELL, face) -def dump_topology_to_string(shape: TopoDS_Shape, - level: Optional[int]=0, - buffer: Optional[str]="") -> None: + def faces_from_shell(self, shell: TopoDS_Shell) -> Iterator[TopoDS_Face]: + """ + Get the faces that make up a shell. + :param shell: The shell to query. + :return: An iterator of faces. + """ + return self._loop_topo(TopAbs_FACE, shell) + + def number_of_faces_from_shell(self, shell: TopoDS_Shell) -> int: + """ + Get the number of faces that make up a shell. + :param shell: The shell to query. + :return: The number of faces. + """ + return sum(1 for _ in self._loop_topo(TopAbs_FACE, shell)) + + # ====================================================================== + # SHELL <-> SOLID + # ====================================================================== + def solids_from_shell(self, shell: TopoDS_Shell) -> Iterator[TopoDS_Solid]: + """ + Get the solids a shell belongs to. + :param shell: The shell to query. + :return: An iterator of solids. + """ + return self._map_shapes_and_ancestors(TopAbs_SHELL, TopAbs_SOLID, shell) + + def number_of_solids_from_shell(self, shell: TopoDS_Shell) -> int: + """ + Get the number of solids a shell belongs to. + :param shell: The shell to query. + :return: The number of solids. + """ + return self._number_shapes_ancestors(TopAbs_FACE, TopAbs_SOLID, shell) + + def shells_from_solid(self, solid: TopoDS_Solid) -> Iterator[TopoDS_Shell]: + """ + Get the shells that make up a solid. + :param solid: The solid to query. + :return: An iterator of shells. + """ + return self._loop_topo(TopAbs_SHELL, solid) + + def number_of_shells_from_solid(self, solid: TopoDS_Solid) -> int: + """ + Get the number of shells that make up a solid. + :param solid: The solid to query. + :return: The number of shells. + """ + return sum(1 for _ in self._loop_topo(TopAbs_SHELL, solid)) + + +def dump_topology_to_string( + shape: TopoDS_Shape, level: Optional[int] = 0, buffer: Optional[str] = "" +) -> None: """ - Return the details of an object from the top down + Prints the topological structure of a shape to the console. + Recursively iterates through the shape's sub-shapes and prints their type and hash. + For vertices, it also prints their coordinates. + :param shape: The shape to dump. + :param level: The current recursion level, used for indentation. + :param buffer: A string buffer (not currently used). """ brt = BRep_Tool() s = shape.ShapeType() if s == TopAbs_VERTEX: - pnt = brt.Pnt(topods_Vertex(shape)) - print(".." * level + "\n" % (hash(shape), pnt.X(), pnt.Y(), pnt.Z())) + pnt = brt.Pnt(Vertex(shape)) + print(".." * level + f"\n") else: print(".." * level, end="") print(shape) @@ -486,128 +767,200 @@ def dump_topology_to_string(shape: TopoDS_Shape, it.Next() dump_topology_to_string(shp, level + 1, buffer) + # # Edge and wire discretizers # -def discretize_wire(a_topods_wire: TopoDS_Wire, deflection: Optional[int]=0.5) -> List[gp_Pnt]: - """ Returns a set of points + +def discretize_wire( + a_wire: TopoDS_Wire, + deflection: float = 0.5, + algorithm: str = "QuasiUniformDeflection", +) -> List[gp_Pnt]: """ - if not is_wire(a_topods_wire): - raise AssertionError("You must provide a TopoDS_Wire to the discretize_wire function.") - wire_explorer = WireExplorer(a_topods_wire) + Discretizes a wire into a list of points. + This function takes a TopoDS_Wire and generates a sequence of points + that approximate the wire's geometry. The precision of the discretization + is controlled by the `deflection` parameter. + :param a_wire: The wire to discretize. + :param deflection: The maximum allowed deviation between the wire and the + discretized points. A smaller value results in a more accurate + approximation and more points. Defaults to 0.5. + :param algorithm: The discretization algorithm to use. Can be one of + "UniformAbscissa", "QuasiUniformDeflection", or "UniformDeflection". + Defaults to "QuasiUniformDeflection". + :return: A list of gp_Pnt objects representing the discretized wire. + """ + if not is_wire(a_wire): + raise AssertionError( + "You must provide a TopoDS_Wire to the discretize_wire function." + ) + + if algorithm not in DISCRETIZATION_ALGORITHMS: + raise AssertionError( + f"Algorithm must be one of {list(DISCRETIZATION_ALGORITHMS.keys())}" + ) + + wire_explorer = WireExplorer(a_wire) wire_pnts = [] # loop over ordered edges for edg in wire_explorer.ordered_edges(): - edg_pnts = discretize_edge(edg, deflection) - wire_pnts += edg_pnts + edg_pnts = discretize_edge(edg, deflection, algorithm) + wire_pnts.extend(edg_pnts) return wire_pnts -def discretize_edge(a_topods_edge: TopoDS_Edge, deflection=0.2, algorithm="QuasiUniformDeflection"): - """ Take a TopoDS_Edge and returns a list of points - The more deflection is small, the more the discretization is precise, - i.e. the more points you get in the returned points - algorithm: to choose in ["UniformAbscissa", "QuasiUniformDeflection"] +def discretize_edge( + a_edge: TopoDS_Edge, + deflection: float = 0.2, + algorithm: str = "QuasiUniformDeflection", +) -> List[Tuple[float, float, float]]: """ - if not is_edge(a_topods_edge): - raise AssertionError("You must provide a TopoDS_Edge to the discretize_edge function.") - if a_topods_edge.IsNull(): - print("Warning : TopoDS_Edge is null. discretize_edge will return an empty list of points.") + Discretizes an edge into a list of points. + This function takes a TopoDS_Edge and generates a sequence of points + that approximate the edge's geometry. The precision of the discretization + is controlled by the `deflection` parameter. + :param a_edge: The edge to discretize. + :param deflection: The maximum allowed deviation between the edge and the + discretized points. A smaller value results in a more accurate + approximation and more points. Defaults to 0.2. + :param algorithm: The discretization algorithm to use. Can be one of + "UniformAbscissa", "QuasiUniformDeflection", or "UniformDeflection". + Defaults to "QuasiUniformDeflection". + :return: A list of gp_Pnt objects representing the discretized edge. + """ + if not is_edge(a_edge): + raise AssertionError( + "You must provide a TopoDS_Edge to the discretize_edge function." + ) + if a_edge.IsNull(): + print( + "Warning : TopoDS_Edge is null. discretize_edge will return an empty list of points." + ) return [] - curve_adaptator = BRepAdaptor_Curve(a_topods_edge) + if algorithm not in DISCRETIZATION_ALGORITHMS: + raise AssertionError( + f"Algorithm must be one of {list(DISCRETIZATION_ALGORITHMS.keys())}" + ) + + curve_adaptator = BRepAdaptor_Curve(a_edge) first = curve_adaptator.FirstParameter() last = curve_adaptator.LastParameter() - if algorithm == "QuasiUniformDeflection": - discretizer = GCPnts_QuasiUniformDeflection() - elif algorithm == "UniformAbscissa": - discretizer = GCPnts_UniformAbscissa() - elif algorithm == "UniformDeflection": - discretizer = GCPnts_UniformDeflection() - else: - raise AssertionError("Unknown algorithm") + discretizer_class = DISCRETIZATION_ALGORITHMS[algorithm] + discretizer = discretizer_class() discretizer.Initialize(curve_adaptator, deflection, first, last) if not discretizer.IsDone(): - raise AssertionError("Discretizer not done.") - if not discretizer.NbPoints() > 0: + raise RuntimeError("Discretizer not done.") + if discretizer.NbPoints() <= 0: raise AssertionError("Discretizer nb points not > 0.") points = [] for i in range(1, discretizer.NbPoints() + 1): p = curve_adaptator.Value(discretizer.Parameter(i)) points.append(p.Coord()) + + if a_edge.Orientation() == TopAbs_Orientation.TopAbs_REVERSED: + points.reverse() + return points + # # TopoDS_Shape type utils # -def is_vertex(topods_shape: TopoDS_Shape) -> bool: - if not hasattr(topods_shape, "ShapeType"): - return False - return topods_shape.ShapeType() == TopAbs_VERTEX +def is_vertex(shape: TopoDS_Shape) -> bool: + """Checks if a shape is a TopoDS_Vertex.""" + return hasattr(shape, "ShapeType") and shape.ShapeType() == TopAbs_VERTEX -def is_solid(topods_shape: TopoDS_Shape) -> bool: - if not hasattr(topods_shape, "ShapeType"): - return False - return topods_shape.ShapeType() == TopAbs_SOLID +def is_edge(shape: TopoDS_Shape) -> bool: + """Checks if a shape is a TopoDS_Edge.""" + return hasattr(shape, "ShapeType") and shape.ShapeType() == TopAbs_EDGE -def is_edge(topods_shape: TopoDS_Shape) -> bool: - if not hasattr(topods_shape, "ShapeType"): - return False - return topods_shape.ShapeType() == TopAbs_EDGE +def is_wire(shape: TopoDS_Shape) -> bool: + """Checks if a shape is a TopoDS_Wire.""" + return hasattr(shape, "ShapeType") and shape.ShapeType() == TopAbs_WIRE -def is_face(topods_shape: TopoDS_Shape) -> bool: - if not hasattr(topods_shape, "ShapeType"): +def is_face(shape: TopoDS_Shape) -> bool: + """Checks if a shape is a TopoDS_Face.""" + if not hasattr(shape, "ShapeType"): return False - return topods_shape.ShapeType() == TopAbs_FACE + return shape.ShapeType() == TopAbs_FACE -def is_shell(topods_shape: TopoDS_Shape) -> bool: - if not hasattr(topods_shape, "ShapeType"): - return False - return topods_shape.ShapeType() == TopAbs_SHELL +def is_shell(shape: TopoDS_Shape) -> bool: + """Checks if a shape is a TopoDS_Shell.""" + return hasattr(shape, "ShapeType") and shape.ShapeType() == TopAbs_SHELL -def is_wire(topods_shape: TopoDS_Shape) -> bool: - if not hasattr(topods_shape, "ShapeType"): +def is_solid(shape: TopoDS_Shape) -> bool: + """Checks if a shape is a TopoDS_Solid.""" + if not hasattr(shape, "ShapeType"): return False - return topods_shape.ShapeType() == TopAbs_WIRE + return shape.ShapeType() == TopAbs_SOLID -def is_compound(topods_shape: TopoDS_Shape) -> bool: - if not hasattr(topods_shape, "ShapeType"): - return False - return topods_shape.ShapeType() == TopAbs_COMPOUND +def is_compound(shape: TopoDS_Shape) -> bool: + """Checks if a shape is a TopoDS_Compound.""" + return hasattr(shape, "ShapeType") and shape.ShapeType() == TopAbs_COMPOUND -def is_compsolid(topods_shape: TopoDS_Shape) -> bool: - if not hasattr(topods_shape, "ShapeType"): - return False - return topods_shape.ShapeType() == TopAbs_COMPSOLID +def is_compsolid(shape: TopoDS_Shape) -> bool: + """Checks if a shape is a TopoDS_CompSolid.""" + return hasattr(shape, "ShapeType") and shape.ShapeType() == TopAbs_COMPSOLID -def get_type_as_string(topods_shape: TopoDS_Shape) -> str: - """ just get the type string, remove TopAbs_ and lowercas all ending letters +def get_type_as_string(shape: TopoDS_Shape) -> str: """ - types = {TopAbs_VERTEX: "Vertex", TopAbs_COMPSOLID: "CompSolid", TopAbs_FACE: "Face", - TopAbs_WIRE: "Wire", TopAbs_EDGE: "Edge", TopAbs_COMPOUND: "Compound", - TopAbs_COMPSOLID: "CompSolid", TopAbs_SOLID: "Solid"} - return types[topods_shape.ShapeType()] - - -def get_sorted_hlr_edges(topods_shape: TopoDS_Shape, - position: Optional[gp_Pnt] =gp_Pnt(), - direction: Optional[gp_Dir] = gp_Dir(), - export_hidden_edges: Optional[bool] =True) -> Tuple[List, List]: - """ Return hidden and visible edges as two lists of edges + Returns the type of a TopoDS_Shape as a string. + For example, for a TopoDS_Shape of type TopAbs_VERTEX, it returns "Vertex". + """ + types = { + TopAbs_VERTEX: "Vertex", + TopAbs_WIRE: "Wire", + TopAbs_EDGE: "Edge", + TopAbs_FACE: "Face", + TopAbs_SOLID: "Solid", + TopAbs_COMPOUND: "Compound", + TopAbs_COMPSOLID: "CompSolid", + } + return types.get(shape.ShapeType(), "Unknown") + + +def get_sorted_hlr_edges( + shape: TopoDS_Shape, + position: Optional[gp_Pnt] = None, + direction: Optional[gp_Dir] = None, + export_hidden_edges: Optional[bool] = True, +) -> Tuple[List, List]: + """ + Performs Hidden Line Removal (HLR) on a shape and returns the visible and hidden edges. + :param shape: The shape to process. + :param position: The viewpoint position for the HLR algorithm. + Defaults to the origin (0, 0, 0). + :param direction: The view direction for the HLR algorithm. + Defaults to the Z-axis (0, 0, 1). + :param export_hidden_edges: If True, the hidden edges are also computed and returned. + Defaults to True. + :return: A tuple containing two lists: the first list contains the visible edges, + and the second list contains the hidden edges. """ + if position is None: + position = gp_Pnt() + if not isinstance(position, gp_Pnt): + raise TypeError("position must be a gp_Pnt") + if direction is None: + direction = gp_Dir() + if not isinstance(direction, gp_Dir): + raise TypeError("position must be a gp_Dir") + hlr = HLRBRep_Algo() - hlr.Add(topods_shape) + hlr.Add(shape) projector = HLRAlgo_Projector(gp_Ax2(position, direction)) @@ -619,38 +972,33 @@ def get_sorted_hlr_edges(topods_shape: TopoDS_Shape, # visible edges visible = [] - visible_sharp_edges_as_compound = hlr_shapes.VCompound() - if visible_sharp_edges_as_compound: + if visible_sharp_edges_as_compound := hlr_shapes.VCompound(): visible += list(TopologyExplorer(visible_sharp_edges_as_compound).edges()) - visible_smooth_edges_as_compound = hlr_shapes.Rg1LineVCompound() - if visible_smooth_edges_as_compound: + if visible_smooth_edges_as_compound := hlr_shapes.Rg1LineVCompound(): visible += list(TopologyExplorer(visible_smooth_edges_as_compound).edges()) - #visible_sewn_edges_as_compound = hlr_shapes.RgNLineVCompound() - #if visible_sewn_edges_as_compound: - # visible += list(TopologyExplorer(visible_sewn_edges_as_compound).edges()) - visible_contour_edges_as_compound = hlr_shapes.OutLineVCompound() - if visible_contour_edges_as_compound: + if visible_contour_edges_as_compound := hlr_shapes.OutLineVCompound(): visible += list(TopologyExplorer(visible_contour_edges_as_compound).edges()) - #visible_isoparameter_edges_as_compound = hlr_shapes.IsoLineVCompound() - #if visible_isoparameter_edges_as_compound: - # visible += list(TopologyExplorer(visible_isoparameter_edges_as_compound).edges()) # hidden edges hidden = [] if export_hidden_edges: - hidden_sharp_edges_as_compound = hlr_shapes.HCompound() - if hidden_sharp_edges_as_compound: + if hidden_sharp_edges_as_compound := hlr_shapes.HCompound(): hidden += list(TopologyExplorer(hidden_sharp_edges_as_compound).edges()) - hidden_contour_edges_as_compound = hlr_shapes.OutLineHCompound() - if hidden_contour_edges_as_compound: + if hidden_contour_edges_as_compound := hlr_shapes.OutLineHCompound(): hidden += list(TopologyExplorer(hidden_contour_edges_as_compound).edges()) return visible, hidden -def list_of_shapes_to_compound(list_of_shapes: List[TopoDS_Shape]) -> Tuple[TopoDS_Compound, bool]: - """ takes a list of shape in input, gather all shapes into one compound - returns the compund and a boolean, True if all shapes were added to the compund, - False otherwise +def list_of_shapes_to_compound( + list_of_shapes: List[TopoDS_Shape], +) -> Tuple[TopoDS_Compound, bool]: + """ + Takes a list of shapes and gathers them into a single compound shape. + :param list_of_shapes: A list of TopoDS_Shape objects. + :return: A tuple containing: + - The resulting TopoDS_Compound. + - A boolean that is True if all shapes were successfully added to the compound, + and False if any of the shapes were null and could not be added. """ all_shapes_converted = True the_compound = TopoDS_Compound() @@ -661,6 +1009,5 @@ def list_of_shapes_to_compound(list_of_shapes: List[TopoDS_Shape]) -> Tuple[Topo if shp.IsNull(): all_shapes_converted = False continue - else: - the_builder.Add(the_compound, shp) + the_builder.Add(the_compound, shp) return the_compound, all_shapes_converted diff --git a/src/Extend/TopologyUtils.pyi b/src/Extend/TopologyUtils.pyi new file mode 100644 index 000000000..2ad172923 --- /dev/null +++ b/src/Extend/TopologyUtils.pyi @@ -0,0 +1,137 @@ +from typing import Dict, Iterator, List, Optional, Tuple, Type, Union + +from OCC.Core.BRepTools import BRepTools_WireExplorer +from OCC.Core.GCPnts import ( + GCPnts_QuasiUniformDeflection, + GCPnts_UniformAbscissa, + GCPnts_UniformDeflection, +) +from OCC.Core.gp import gp_Dir, gp_Pnt +from OCC.Core.TopAbs import TopAbs_ShapeEnum +from OCC.Core.TopoDS import ( + TopoDS_CompSolid, + TopoDS_Compound, + TopoDS_Edge, + TopoDS_Face, + TopoDS_Shape, + TopoDS_Shell, + TopoDS_Solid, + TopoDS_Vertex, + TopoDS_Wire, +) + +DISCRETIZATION_ALGORITHMS: Dict[ + str, + Type[ + Union[ + GCPnts_UniformAbscissa, + GCPnts_QuasiUniformDeflection, + GCPnts_UniformDeflection, + ] + ], +] + +def ordered_vertices_from_wire(wire: TopoDS_Wire) -> Iterator[TopoDS_Vertex]: ... +def ordered_edges_from_wire(wire: TopoDS_Wire) -> Iterator[TopoDS_Edge]: ... + +class WireExplorer: + wire: TopoDS_Wire + wire_explorer: BRepTools_WireExplorer + done: bool + + def __init__(self, wire: TopoDS_Wire) -> None: ... + def ordered_edges(self) -> Iterator[TopoDS_Edge]: ... + def ordered_vertices(self) -> Iterator[TopoDS_Vertex]: ... + +class TopologyExplorer: + my_shape: TopoDS_Shape + ignore_orientation: bool + topology_factory: Dict[TopAbs_ShapeEnum, Type[TopoDS_Shape]] + + def __init__( + self, my_shape: TopoDS_Shape, ignore_orientation: Optional[bool] = True + ) -> None: ... + def faces(self) -> Iterator[TopoDS_Face]: ... + def number_of_faces(self) -> int: ... + def vertices(self) -> Iterator[TopoDS_Vertex]: ... + def number_of_vertices(self) -> int: ... + def edges(self) -> Iterator[TopoDS_Edge]: ... + def number_of_edges(self) -> int: ... + def wires(self) -> Iterator[TopoDS_Wire]: ... + def number_of_wires(self) -> int: ... + def shells(self) -> Iterator[TopoDS_Shell]: ... + def number_of_shells(self) -> int: ... + def solids(self) -> Iterator[TopoDS_Solid]: ... + def number_of_solids(self) -> int: ... + def comp_solids(self) -> Iterator[TopoDS_CompSolid]: ... + def number_of_comp_solids(self) -> int: ... + def compounds(self) -> Iterator[TopoDS_Compound]: ... + def number_of_compounds(self) -> int: ... + def number_of_ordered_vertices_from_wire(self, wire: TopoDS_Wire) -> int: ... + def number_of_ordered_edges_from_wire(self, wire: TopoDS_Wire) -> int: ... + def get_topology_summary(self) -> Dict[str, int]: ... + def faces_from_edge(self, edge: TopoDS_Edge) -> Iterator[TopoDS_Face]: ... + def number_of_faces_from_edge(self, edge: TopoDS_Edge) -> int: ... + def edges_from_face(self, face: TopoDS_Face) -> Iterator[TopoDS_Edge]: ... + def number_of_edges_from_face(self, face: TopoDS_Face) -> int: ... + def vertices_from_edge(self, edge: TopoDS_Edge) -> Iterator[TopoDS_Vertex]: ... + def number_of_vertices_from_edge(self, edge: TopoDS_Edge) -> int: ... + def edges_from_vertex(self, vertex: TopoDS_Vertex) -> Iterator[TopoDS_Edge]: ... + def number_of_edges_from_vertex(self, vertex: TopoDS_Vertex) -> int: ... + def edges_from_wire(self, wire: TopoDS_Wire) -> Iterator[TopoDS_Edge]: ... + def number_of_edges_from_wire(self, wire: TopoDS_Wire) -> int: ... + def wires_from_edge(self, edg: TopoDS_Edge) -> Iterator[TopoDS_Wire]: ... + def wires_from_vertex(self, edg: TopoDS_Vertex) -> Iterator[TopoDS_Wire]: ... + def number_of_wires_from_edge(self, edg: TopoDS_Edge) -> int: ... + def wires_from_face(self, face: TopoDS_Face) -> Iterator[TopoDS_Wire]: ... + def number_of_wires_from_face(self, face: TopoDS_Face) -> int: ... + def faces_from_wire(self, wire: TopoDS_Wire) -> Iterator[TopoDS_Face]: ... + def number_of_faces_from_wires(self, wire: TopoDS_Wire) -> int: ... + def faces_from_vertex(self, vertex: TopoDS_Vertex) -> Iterator[TopoDS_Face]: ... + def number_of_faces_from_vertex(self, vertex: TopoDS_Vertex) -> int: ... + def vertices_from_face(self, face: TopoDS_Face) -> Iterator[TopoDS_Vertex]: ... + def number_of_vertices_from_face(self, face: TopoDS_Face) -> int: ... + def solids_from_face(self, face: TopoDS_Face) -> Iterator[TopoDS_Solid]: ... + def number_of_solids_from_face(self, face: TopoDS_Face) -> int: ... + def faces_from_solids(self, solid: TopoDS_Solid) -> Iterator[TopoDS_Face]: ... + def number_of_faces_from_solids(self, solid: TopoDS_Solid) -> int: ... + def shells_from_face(self, face: TopoDS_Face) -> Iterator[TopoDS_Shell]: ... + def number_of_shells_from_face(self, face: TopoDS_Face) -> int: ... + def faces_from_shell(self, shell: TopoDS_Shell) -> Iterator[TopoDS_Face]: ... + def number_of_faces_from_shell(self, shell: TopoDS_Shell) -> int: ... + def solids_from_shell(self, shell: TopoDS_Shell) -> Iterator[TopoDS_Solid]: ... + def number_of_solids_from_shell(self, shell: TopoDS_Shell) -> int: ... + def shells_from_solid(self, solid: TopoDS_Solid) -> Iterator[TopoDS_Shell]: ... + def number_of_shells_from_solid(self, solid: TopoDS_Solid) -> int: ... + +def dump_topology_to_string( + shape: TopoDS_Shape, level: Optional[int] = 0, buffer: Optional[str] = "" +) -> None: ... +def discretize_wire( + a_wire: TopoDS_Wire, + deflection: float = 0.5, + algorithm: str = "QuasiUniformDeflection", +) -> List[gp_Pnt]: ... +def discretize_edge( + a_edge: TopoDS_Edge, + deflection: float = 0.2, + algorithm: str = "QuasiUniformDeflection", +) -> List[Tuple[float, float, float]]: ... +def is_vertex(shape: TopoDS_Shape) -> bool: ... +def is_edge(shape: TopoDS_Shape) -> bool: ... +def is_wire(shape: TopoDS_Shape) -> bool: ... +def is_face(shape: TopoDS_Shape) -> bool: ... +def is_shell(shape: TopoDS_Shape) -> bool: ... +def is_solid(shape: TopoDS_Shape) -> bool: ... +def is_compound(shape: TopoDS_Shape) -> bool: ... +def is_compsolid(shape: TopoDS_Shape) -> bool: ... +def get_type_as_string(shape: TopoDS_Shape) -> str: ... +def get_sorted_hlr_edges( + shape: TopoDS_Shape, + position: Optional[gp_Pnt] = None, + direction: Optional[gp_Dir] = None, + export_hidden_edges: Optional[bool] = True, +) -> Tuple[List, List]: ... +def list_of_shapes_to_compound( + list_of_shapes: List[TopoDS_Shape], +) -> Tuple[TopoDS_Compound, bool]: ... diff --git a/src/MeshDataSource/MeshDataSource.cpp b/src/MeshDataSource/MeshDataSource.cpp new file mode 100644 index 000000000..0b88f34b2 --- /dev/null +++ b/src/MeshDataSource/MeshDataSource.cpp @@ -0,0 +1,418 @@ +#include "MeshDataSource.h" + + +IMPLEMENT_STANDARD_RTTIEXT(MeshDS_DataSource, MeshVS_DataSource) + +MeshDS_DataSource::MeshDS_DataSource(const std::vector& CoordData, const std::vector>& Ele2NodeData) +{ + InitializeFromData(CoordData, Ele2NodeData); +} + + +MeshDS_DataSource::MeshDS_DataSource(double* Vertices, const int nVerts1, const int nVerts2, int* Faces, const int nFaces1, const int nFaces2) +{ + /* + if (nVerts2 != 3 || nFaces2 != 3) { + throw std::invalid_argument("Nx3 array must be provided"); + } + + std::vector CoordData; + CoordData.resize(nVerts1); + size_t vertIDX = 0; + + for (size_t vertID = 0; vertID < nVerts1; vertID++) + { + CoordData[vertID] = gp_Pnt(Vertices[vertIDX], Vertices[vertIDX + 1], Vertices[vertIDX + 2]); + vertIDX += 3; + } + + std::vector> FVec; + FVec.resize(nFaces1); + size_t faceIDX = 0; + + for (size_t faceID = 0; faceID < nFaces1; faceID++) + { + FVec[faceID] = std::vector{ Faces[faceIDX], Faces[faceIDX + 1] ,Faces[faceIDX + 2] }; + faceIDX += 3; + } + + InitializeFromData(CoordData, FVec); + */ + + InitializeFromData(Vertices, nVerts1, nVerts2, Faces, nFaces1, nFaces2); +} + + +MeshDS_DataSource::MeshDS_DataSource(const Handle(Poly_Triangulation)& polyTri) +{ + // initialize arrays + std::vector CoordData; + std::vector> Ele2NodeData; + CoordData.resize(polyTri->NbNodes()); + Ele2NodeData.resize(polyTri->NbTriangles()); + + for (Standard_Integer nodeId=1;nodeId <= polyTri->NbNodes(); nodeId++) { + const gp_Pnt& node = polyTri->Node(nodeId).XYZ(); + CoordData[nodeId - 1] = node; + } + + // convert triangle data + const Poly_Array1OfTriangle& triangles = polyTri->Triangles(); + for (Standard_Integer ElementID = triangles.Lower(); ElementID <= triangles.Upper(); ElementID++) { + const Poly_Triangle& tri = triangles.Value(ElementID); + Ele2NodeData[ElementID - triangles.Lower()] = std::vector{ tri(1) - 1, tri(2) - 1, tri(3) - 1 }; + } + InitializeFromData(CoordData, Ele2NodeData); +} +//================================================================ +// Function : SetElemNormals +// Purpose : +//================================================================ +void MeshDS_DataSource::SetElemNormals +(const std::vector& ElemNormalsData) +{ + for (size_t ElementId = 1; ElementId <= ElemNormalsData.size(); ElementId++) + { + myElemNormals->SetValue(ElementId, 1, ElemNormalsData[ElementId - 1].X()); + myElemNormals->SetValue(ElementId, 2, ElemNormalsData[ElementId - 1].Y()); + myElemNormals->SetValue(ElementId, 3, ElemNormalsData[ElementId - 1].Z()); + } +} + +//================================================================ +// Function : SetNodeNormals +// Purpose : +//================================================================ +void MeshDS_DataSource::SetNodeNormals +(const std::vector>& NodeNormalsData) +{ + for (size_t ElementId = 1; ElementId <= myElemNodes->NbRows(); ElementId++) + { + for (Standard_Integer rankNode = 1; rankNode <= myElemNumberNodes->Value(ElementId); rankNode++) { + myNodeNormals->SetValue(ElementId, 3 * (rankNode - 1) + 1, NodeNormalsData[ElementId - 1][rankNode - 1].X()); + myNodeNormals->SetValue(ElementId, 3 * (rankNode - 1) + 2, NodeNormalsData[ElementId - 1][rankNode - 1].Y()); + myNodeNormals->SetValue(ElementId, 3 * (rankNode - 1) + 3, NodeNormalsData[ElementId - 1][rankNode - 1].Z()); + } + } +} + +//================================================================ +// Function : GetGeom +// Purpose : +//================================================================ +Standard_Boolean MeshDS_DataSource::GetGeom +(const Standard_Integer ID, const Standard_Boolean IsElement, + TColStd_Array1OfReal& Coords, Standard_Integer& NbNodes, + MeshVS_EntityType& Type) const +{ + if (IsElement) + { + if (ID >= 1 && ID <= myElements.Extent()) + { + Type = MeshVS_ET_Face; + NbNodes = myElemNumberNodes->Value(ID); + for (Standard_Integer i = 1, k = 1; i <= NbNodes; i++) + { + Standard_Integer IdxNode = myElemNodes->Value(ID, i); + for (Standard_Integer j = 1; j <= 3; j++, k++) + Coords(k) = myNodeCoords->Value(IdxNode, j); + } + return Standard_True; + } + else + return Standard_False; + } + else + if (ID >= 1 && ID <= myNodes.Extent()) + { + Type = MeshVS_ET_Node; + NbNodes = 1; + Coords(1) = myNodeCoords->Value(ID, 1); + Coords(2) = myNodeCoords->Value(ID, 2); + Coords(3) = myNodeCoords->Value(ID, 3); + return Standard_True; + } + else + return Standard_False; +} + +//================================================================ +// Function : GetGeomType +// Purpose : +//================================================================ +Standard_Boolean MeshDS_DataSource::GetGeomType +(const Standard_Integer, + const Standard_Boolean IsElement, + MeshVS_EntityType& Type) const +{ + if (IsElement) + { + Type = MeshVS_ET_Face; + return Standard_True; + } + else + { + Type = MeshVS_ET_Node; + return Standard_True; + } +} + +//================================================================ +// Function : GetAddr +// Purpose : +//================================================================ +Standard_Address MeshDS_DataSource::GetAddr +(const Standard_Integer, const Standard_Boolean) const +{ + return NULL; +} + +//================================================================ +// Function : GetNodesByElement +// Purpose : +//================================================================ +Standard_Boolean MeshDS_DataSource::GetNodesByElement +(const Standard_Integer ID, + TColStd_Array1OfInteger& theNodeIDs, + Standard_Integer& theNbNodes) const +{ + if (ID >= 1 && ID <= myElements.Extent() && theNodeIDs.Length() >= 3) + { + Standard_Integer aLow = theNodeIDs.Lower(); + theNbNodes = myElemNumberNodes->Value(ID); + for (Standard_Integer j = 1; j <= theNbNodes; j++) + { + theNodeIDs(aLow + j - 1) = myElemNodes->Value(ID, j); + } + return Standard_True; + } + return Standard_False; +} + +//================================================================ +// Function : GetAllNodes +// Purpose : +//================================================================ +const TColStd_PackedMapOfInteger& MeshDS_DataSource::GetAllNodes() const +{ + return myNodes; +} + +//================================================================ +// Function : GetAllElements +// Purpose : +//================================================================ +const TColStd_PackedMapOfInteger& MeshDS_DataSource::GetAllElements() const +{ + return myElements; +} + +//================================================================ +// Function : GetNormal +// Purpose : +//================================================================ +Standard_Boolean MeshDS_DataSource::GetNormal +(const Standard_Integer Id, const Standard_Integer Max, + Standard_Real& nx, Standard_Real& ny, Standard_Real& nz) const +{ + if (Id >= 1 && Id <= myElements.Extent() && Max >= 3) + { + nx = myElemNormals->Value(Id, 1); + ny = myElemNormals->Value(Id, 2); + nz = myElemNormals->Value(Id, 3); + return Standard_True; + } + else + return Standard_False; +} + +//================================================================ +// Function : GetNodeNormal +// Purpose : +//================================================================ +Standard_Boolean MeshDS_DataSource::GetNodeNormal +(const Standard_Integer rankNode, const Standard_Integer ElementId, + Standard_Real& nx, Standard_Real& ny, Standard_Real& nz) const +{ + if (ElementId >= 1 && ElementId <= myElements.Extent()) + { + nx = myNodeNormals->Value(ElementId, 3 * (rankNode - 1) + 1); + ny = myNodeNormals->Value(ElementId, 3 * (rankNode - 1) + 2); + nz = myNodeNormals->Value(ElementId, 3 * (rankNode - 1) + 3); + return Standard_True; + } + else + return Standard_False; +} + +//================================================================ +// Function : InitializeFromData +// Purpose : +//================================================================ +void MeshDS_DataSource::InitializeFromData +(const std::vector& CoordData, const std::vector>& Ele2NodeData) +{ + //initialize arrays + myNodeCoords = new TColStd_HArray2OfReal(1, CoordData.size(), 1, 3); + myElemNodes = new TColStd_HArray2OfInteger(1, Ele2NodeData.size(), 1, 4); + myElemNumberNodes = new TColStd_HArray1OfInteger(1, Ele2NodeData.size()); + myElemNormals = new TColStd_HArray2OfReal(1, Ele2NodeData.size(), 1, 3); + myNodeNormals = new TColStd_HArray2OfReal(1, Ele2NodeData.size(), 1, 12); + // fill node ids and coordinates + for (size_t nodeId = 1; nodeId <= CoordData.size(); nodeId++) + { + myNodes.Add(nodeId); + myNodeCoords->SetValue(nodeId, 1, CoordData[nodeId - 1].X()); + myNodeCoords->SetValue(nodeId, 2, CoordData[nodeId - 1].Y()); + myNodeCoords->SetValue(nodeId, 3, CoordData[nodeId - 1].Z()); + } + // fill element ids, number of nodes, associated node ids and normals + for (size_t ElementId = 1; ElementId <= Ele2NodeData.size(); ElementId++) + { + myElements.Add(ElementId); + myElemNumberNodes->SetValue(ElementId, std::min((size_t)4, Ele2NodeData[ElementId - 1].size())); + for (Standard_Integer rankNode = 1; rankNode <= myElemNumberNodes->Value(ElementId); rankNode++) + { + Standard_Integer nodeId = Ele2NodeData[ElementId - 1][rankNode - 1] + 1; + myElemNodes->SetValue(ElementId, rankNode, nodeId); + } + // compute face normal + const gp_Pnt aP1 = gp_Pnt(CoordData[Ele2NodeData[ElementId - 1][0]]); + const gp_Pnt aP2 = gp_Pnt(CoordData[Ele2NodeData[ElementId - 1][1]]); + const gp_Pnt aP3 = gp_Pnt(CoordData[Ele2NodeData[ElementId - 1][2]]); + gp_Vec aV1(aP1, aP2); + gp_Vec aV2(aP2, aP3); + gp_Vec aN = aV1.Crossed(aV2); + if (aN.SquareMagnitude() > Precision::SquareConfusion()) + aN.Normalize(); + else + aN.SetCoord(0.0, 0.0, 0.0); + myElemNormals->SetValue(ElementId, 1, aN.X()); + myElemNormals->SetValue(ElementId, 2, aN.Y()); + myElemNormals->SetValue(ElementId, 3, aN.Z()); + } + // compute node normal + std::vector> Node2EleData; + Node2EleData.resize(CoordData.size()); + for (size_t ElementId = 0; ElementId < Ele2NodeData.size(); ElementId++) { + for (size_t rankNode = 0; rankNode < Ele2NodeData[ElementId].size(); rankNode++) { + int nodeId = Ele2NodeData[ElementId][rankNode]; + Node2EleData[nodeId].push_back(ElementId); + } + } + std::vector nodeNormals; + nodeNormals.resize(CoordData.size()); + for (size_t nodeId = 0; nodeId < Node2EleData.size(); nodeId++) { + gp_Vec aN = gp_Vec(0, 0, 0); + for (size_t rankEle = 0; rankEle < Node2EleData[nodeId].size(); rankEle++) { + int ElementId = Node2EleData[nodeId][rankEle] + 1; + aN += gp_Vec(myElemNormals->Value(ElementId, 1), myElemNormals->Value(ElementId, 2), myElemNormals->Value(ElementId, 3)); + } + if (aN.SquareMagnitude() > Precision::SquareConfusion()) + aN.Normalize(); + else + aN.SetCoord(0.0, 0.0, 0.0); + nodeNormals[nodeId] = aN; + } + for (size_t ElementId = 0; ElementId < Ele2NodeData.size(); ElementId++) + { + for (size_t rankNode = 0; rankNode < Ele2NodeData[ElementId].size(); rankNode++) + { + int nodeId = Ele2NodeData[ElementId][rankNode]; + gp_Vec aN = nodeNormals[nodeId]; + myNodeNormals->SetValue(ElementId + 1, 3 * rankNode + 1, aN.X()); + myNodeNormals->SetValue(ElementId + 1, 3 * rankNode + 2, aN.Y()); + myNodeNormals->SetValue(ElementId + 1, 3 * rankNode + 3, aN.Z()); + } + } +} + +//================================================================ +// Function : InitializeFromData +// Purpose : Initialize from 2D Pointer Arrays, for numpy compatibility +//================================================================ +void MeshDS_DataSource::InitializeFromData +(double* Vertices, const int nVerts1, const int nVerts2, int* Faces, const int nFaces1, const int nFaces2) +{ + //initialize arrays + myNodeCoords = new TColStd_HArray2OfReal(1, nVerts1, 1, 3); + myElemNodes = new TColStd_HArray2OfInteger(1, nFaces1, 1, 4); + myElemNumberNodes = new TColStd_HArray1OfInteger(1, nFaces1); + myElemNormals = new TColStd_HArray2OfReal(1, nFaces1, 1, 3); + myNodeNormals = new TColStd_HArray2OfReal(1, nFaces1, 1, 12); + + // fill node ids and coordinates + for (size_t nodeId = 1; nodeId <= nVerts1; nodeId++) + { + size_t vertIdx = (nodeId-1) * 3; + myNodes.Add(nodeId); + myNodeCoords->SetValue(nodeId, 1, Vertices[vertIdx + 0]); + myNodeCoords->SetValue(nodeId, 2, Vertices[vertIdx + 1]); + myNodeCoords->SetValue(nodeId, 3, Vertices[vertIdx + 2]); + } + + // fill element ids, number of nodes, associated node ids and normals + for (size_t ElementId = 1; ElementId <= nFaces1; ElementId++) + { + size_t faceIdx = (ElementId-1) * 3; + int nNodes = std::min(4, nFaces2); + myElements.Add(ElementId); + myElemNumberNodes->SetValue(ElementId, nNodes); + for (Standard_Integer rankNode = 1; rankNode <= nNodes; rankNode++) + { + Standard_Integer nodeId = Faces[faceIdx + rankNode - 1] + 1; + myElemNodes->SetValue(ElementId, rankNode, nodeId); + } + // compute face normal + size_t p1Idx = Faces[faceIdx + 0] * 3; + size_t p2Idx = Faces[faceIdx + 1] * 3; + size_t p3Idx = Faces[faceIdx + 2] * 3; + const gp_Pnt aP1 = gp_Pnt(Vertices[p1Idx], Vertices[p1Idx + 1], Vertices[p1Idx + 2]); + const gp_Pnt aP2 = gp_Pnt(Vertices[p2Idx], Vertices[p2Idx + 1], Vertices[p2Idx + 2]); + const gp_Pnt aP3 = gp_Pnt(Vertices[p3Idx], Vertices[p3Idx + 1], Vertices[p3Idx + 2]); + gp_Vec aV1(aP1, aP2); + gp_Vec aV2(aP2, aP3); + gp_Vec aN = aV1.Crossed(aV2); + if (aN.SquareMagnitude() > Precision::SquareConfusion()) + aN.Normalize(); + else + aN.SetCoord(0.0, 0.0, 0.0); + myElemNormals->SetValue(ElementId, 1, aN.X()); + myElemNormals->SetValue(ElementId, 2, aN.Y()); + myElemNormals->SetValue(ElementId, 3, aN.Z()); + } + // compute node normal + std::vector> Node2EleData; + Node2EleData.resize(nVerts1); + for (size_t ElementId = 0; ElementId < nFaces1; ElementId++) { + for (size_t rankNode = 0; rankNode < nFaces2; rankNode++) { + int nodeId = Faces[ElementId * 3 + rankNode]; + Node2EleData[nodeId].push_back(ElementId); + } + } + std::vector nodeNormals; + nodeNormals.resize(nVerts1); + for (size_t nodeId = 0; nodeId < Node2EleData.size(); nodeId++) { + gp_Vec aN = gp_Vec(0, 0, 0); + for (size_t rankEle = 0; rankEle < Node2EleData[nodeId].size(); rankEle++) { + int ElementId = Node2EleData[nodeId][rankEle] + 1; + aN += gp_Vec(myElemNormals->Value(ElementId, 1), myElemNormals->Value(ElementId, 2), myElemNormals->Value(ElementId, 3)); + } + if (aN.SquareMagnitude() > Precision::SquareConfusion()) + aN.Normalize(); + else + aN.SetCoord(0.0, 0.0, 0.0); + nodeNormals[nodeId] = aN; + } + for (size_t ElementId = 0; ElementId < nFaces1; ElementId++) + { + for (size_t rankNode = 0; rankNode < nFaces2; rankNode++) + { + int nodeId = Faces[ElementId * 3 + rankNode]; + gp_Vec aN = nodeNormals[nodeId]; + myNodeNormals->SetValue(ElementId + 1, 3 * rankNode + 1, aN.X()); + myNodeNormals->SetValue(ElementId + 1, 3 * rankNode + 2, aN.Y()); + myNodeNormals->SetValue(ElementId + 1, 3 * rankNode + 3, aN.Z()); + } + } +} \ No newline at end of file diff --git a/src/MeshDataSource/MeshDataSource.h b/src/MeshDataSource/MeshDataSource.h new file mode 100644 index 000000000..12ba05cfd --- /dev/null +++ b/src/MeshDataSource/MeshDataSource.h @@ -0,0 +1,105 @@ +#if !defined __MeshDS_DataSource__ +#define __MeshDS_DataSource__ + + +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + +class MeshDS_DataSource; +DEFINE_STANDARD_HANDLE(MeshDS_DataSource, MeshVS_DataSource) + +class MeshDS_DataSource : public MeshVS_DataSource +{ +public: + + //! Initialize data source with vector of nodes and vector of elements (triangles or quadrangles) + //! Face normals are calculated using the three first nodes of each element + //! Node normals are calculated averaging the normals of the neighboring elements + MeshDS_DataSource(const std::vector& CoordData, const std::vector>& Ele2NodeData); + + MeshDS_DataSource(double* Vertices, int nVerts1, int nVerts2, int* Faces, int nFaces1, int nFaces2); + + //! Initialize data source from STL triangulation + //! Face normals are calculated using the three nodes of each element + //! Node normals are calculated averaging the normals of the neighboring elements + MeshDS_DataSource(const Handle(Poly_Triangulation)& polyTri); + + //! This method define the normal of the face for each element + void SetElemNormals(const std::vector& ElemNormalsData); + + //! This method define the normal of all nodes for each element + void SetNodeNormals(const std::vector>& NodeNormalsData); + + //! Returns geometry information about node ( if IsElement is False ) or element ( IsElement is True ) + //! by co-ordinates. For element this method must return all its nodes co-ordinates in the strict order: X, Y, Z and + //! with nodes order is the same as in wire bounding the face or link. NbNodes is number of nodes of element. + //! It is recommended to return 1 for node. Type is an element type. + Standard_Boolean GetGeom(const Standard_Integer ID, const Standard_Boolean IsElement, TColStd_Array1OfReal& Coords, Standard_Integer& NbNodes, MeshVS_EntityType& Type) const Standard_OVERRIDE; + + //! This method is similar to GetGeom, but returns only element or node type. This method is provided for + //! a fine performance. + Standard_Boolean GetGeomType(const Standard_Integer ID, const Standard_Boolean IsElement, MeshVS_EntityType& Type) const Standard_OVERRIDE; + + //! This method returns by number an address of any entity which represents element or node data structure. + Standard_Address GetAddr(const Standard_Integer ID, const Standard_Boolean IsElement) const Standard_OVERRIDE; + + //! This method returns information about what node this element consist of. + virtual Standard_Boolean GetNodesByElement(const Standard_Integer ID, TColStd_Array1OfInteger& NodeIDs, Standard_Integer& NbNodes) const Standard_OVERRIDE; + + //! This method returns map of all nodes the object consist of. + const TColStd_PackedMapOfInteger& GetAllNodes() const Standard_OVERRIDE; + + //! This method returns map of all elements the object consist of. + const TColStd_PackedMapOfInteger& GetAllElements() const Standard_OVERRIDE; + + //! This method calculates normal of face, which is using for correct reflection presentation. + //! There is default method, for advance reflection this method can be redefined. + virtual Standard_Boolean GetNormal(const Standard_Integer Id, const Standard_Integer Max, Standard_Real& nx, Standard_Real& ny, Standard_Real& nz) const Standard_OVERRIDE; + + //! This method return normal of node rankNode of face ElementId, which is using for smooth shading presentation. + //! Returns false if normal isn't defined. + virtual Standard_Boolean GetNodeNormal(const Standard_Integer rankNode, const Standard_Integer ElementId, Standard_Real& nx, Standard_Real& ny, Standard_Real& nz) const Standard_OVERRIDE; + + DEFINE_STANDARD_RTTIEXT(MeshDS_DataSource, MeshVS_DataSource) + +protected: + +private: + TColStd_PackedMapOfInteger myNodes; + TColStd_PackedMapOfInteger myElements; + Handle(TColStd_HArray2OfInteger) myElemNodes; + Handle(TColStd_HArray1OfInteger) myElemNumberNodes; + Handle(TColStd_HArray2OfReal) myNodeCoords; + Handle(TColStd_HArray2OfReal) myElemNormals; + Handle(TColStd_HArray2OfReal) myNodeNormals; + void InitializeFromData(const std::vector& CoordData, const std::vector>& Ele2NodeData); + void InitializeFromData(double* Vertices, const int nVerts1, const int nVerts2, int* Faces, const int nFaces1, const int nFaces2); +}; + +#endif diff --git a/src/PkgBase/Exception.py b/src/PkgBase/Exception.py index 4686afa13..a119fcf05 100644 --- a/src/PkgBase/Exception.py +++ b/src/PkgBase/Exception.py @@ -31,19 +31,49 @@ class A: from OCC.Core.Exception import * """ +import warnings +import functools + + class MethodNotWrappedError(BaseException): pass + class ClassNotWrappedError(BaseException): pass + def methodnotwrapped(func): def function_wrapper(*x): - raise MethodNotWrappedError('%s not wrapped' % func.__name__) + raise MethodNotWrappedError(f"{func.__name__} not wrapped") + return function_wrapper + def classnotwrapped(klass): - class NewCls(object): - def __init__(self,*args,**kwargs): - raise ClassNotWrappedError('%s not wrapped' % klass.__name__) + class NewCls: + def __init__(self, *args, **kwargs): + raise ClassNotWrappedError(f"{klass.__name__} not wrapped") + return NewCls + + +def deprecated(func): + """This is a decorator which can be used to mark functions + as deprecated. It will result in a warning being emitted + when the function is used.""" + + @functools.wraps(func) + def new_func(*args, **kwargs): + warnings.simplefilter("always", DeprecationWarning) # turn off filter + function_name = func.__name__ + function_name_to_use = ".".join(function_name.rsplit("_", 1)) + warnings.warn( + f"Call to deprecated function {function_name} since pythonocc-core 7.7.1. This function will be removed in a future release, please rather use the static method {function_name_to_use}", + category=DeprecationWarning, + stacklevel=2, + ) + warnings.simplefilter("default", DeprecationWarning) # reset filter + return func(*args, **kwargs) + + return new_func diff --git a/src/PkgBase/__init__.py b/src/PkgBase/__init__.py index e2a0e8932..d6c5e0b7e 100644 --- a/src/PkgBase/__init__.py +++ b/src/PkgBase/__init__.py @@ -1,9 +1,51 @@ +import os +from pathlib import Path +import platform + +# Version number PYTHONOCC_VERSION_MAJOR = 7 -PYTHONOCC_VERSION_MINOR = 5 +PYTHONOCC_VERSION_MINOR = 9 PYTHONOCC_VERSION_PATCH = 0 -# Empty for official releases, set to -dev, -rc1, etc for development releases -PYTHONOCC_VERSION_DEVEL = '-rc1' +# Empty for official releases, set to -dev, -rc1, etc for development releases +PYTHONOCC_VERSION_DEVEL = "" + +VERSION = f"{PYTHONOCC_VERSION_MAJOR}.{PYTHONOCC_VERSION_MINOR}.{PYTHONOCC_VERSION_PATCH}{PYTHONOCC_VERSION_DEVEL}" + + +def initialize_occt_libraries(occt_essentials_path) -> None: + """ + Initializes the OCCT libraries by adding all DLL directories to the DLL search path. + + Raises: + AssertionError: If the OCCT_ESSENTIALS_ROOT environment variable is not set. + """ + if not os.path.exists(occt_essentials_path): + raise AssertionError( + f"OCCT_ESSENTIALS_ROOT({occt_essentials_path}) is not set correctly." + ) + + for root, dirs, files in os.walk(occt_essentials_path): + if "debug" in root.lower(): + continue + for file in files: + if Path(file).suffix.lower() == ".dll": + os.add_dll_directory(root) + break + + +# on windows, see #1347 +if platform.system() == "Windows": + try: + # OCC_ESSENTIALS_ROOT was defined at build time + # and is available in config.py + from .config import OCCT_ESSENTIALS_ROOT -VERSION = "%s.%s.%s%s" % (PYTHONOCC_VERSION_MAJOR, PYTHONOCC_VERSION_MINOR, - PYTHONOCC_VERSION_PATCH, PYTHONOCC_VERSION_DEVEL) + initialize_occt_libraries(occt_essentials_path=OCCT_ESSENTIALS_ROOT) + except ( + ImportError + ): # anyway, still possible to set up the OCC_ESSENTIALS_ROOT env var + if "OCCT_ESSENTIALS_ROOT" in os.environ: + initialize_occt_libraries( + occt_essentials_path=os.environ["OCCT_ESSENTIALS_ROOT"] + ) diff --git a/src/SWIG_files/common/ArrayMacros.i b/src/SWIG_files/common/ArrayMacros.i new file mode 100644 index 000000000..250704303 --- /dev/null +++ b/src/SWIG_files/common/ArrayMacros.i @@ -0,0 +1,525 @@ +%{ +#include + +//Dependencies +#include +#include +#include +#include +#include +#include +#include +%}; +%import Standard.i +%import NCollection.i + +/* macros */ + +%define Array1ExtendIter(T) + + %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 + } + }; + +%enddef + +%define Array1NumpyTemplate(name, array_dtype, T) + + %template(name) NCollection_Array1; + + Array1ExtendIter(T) + + %extend NCollection_Array1 { + void AddDataFromNumpyArray(array_dtype* numpyArray1, int nRows1) { + for (int rowID = 0; rowID < nRows1; rowID++) + { + array_dtype v = numpyArray1[rowID]; + self->SetValue(rowID + 1, v); + } + } + + void BuildNumpyArray(array_dtype* numpyArray1Argout, int nRows1Argout) { + for (int rowID = 0; rowID < nRows1Argout; rowID++) + { + T v = self->Value(rowID + self->Lower()); + numpyArray1Argout[rowID] = v; + } + } + + %pythoncode { + @classmethod + def from_numpy_array(cls, arr): + inst = cls(1, len(arr)) + inst.AddDataFromNumpyArray(arr) + return inst + + def to_numpy_array(self): + return self.BuildNumpyArray(self.Length()) + + } + }; + +%enddef + +%define Array2NumpyTemplate(name, array_dtype, T) + + %template(name) NCollection_Array2; + + %extend NCollection_Array2 { + void AddDataFromNumpyArray(array_dtype* numpyArray2, int nRows2, int nCols2) { + int flatID = 0; + + for (int rowID = 0; rowID < nRows2; rowID++) + { + for (int colID = 0; colID < nCols2; colID++) + { + array_dtype v = numpyArray2[flatID]; + flatID += 1; + self->SetValue(rowID + 1, colID + 1, v); + } + } + } + + void BuildNumpyArray(array_dtype* numpyArray2Argout, int aSizeArgout, int nRows2Argout, int nCols2Argout) { + int flatID = 0; + + for (int rowID = 0; rowID < nRows2Argout; rowID++) + { + for (int colID = 0; colID < nCols2Argout; colID++) + { + T v = self->Value(rowID + self->LowerRow(), colID + self->LowerCol()); + numpyArray2Argout[flatID] = v; + flatID += 1; + } + } + } + + %pythoncode { + @classmethod + def from_numpy_array(cls, arr): + n_rows, n_cols = arr.shape + inst = cls(1, n_rows, 1, n_cols) + inst.AddDataFromNumpyArray(arr) + return inst + + def to_numpy_array(self): + return self.BuildNumpyArray(self.Size(), self.ColLength(), self.RowLength()).reshape(self.ColLength(), self.RowLength()) + + } + }; + +%enddef + +%define Array1Of2DNumpyTemplate(name, T) + + %template(name) NCollection_Array1; + + Array1ExtendIter(T) + + %extend NCollection_Array1 { + void AddDataFromNumpyArray(double* numpyArray2, int nRows2, int nDims2) { + double x=0., y=0.; + int flatID = 0; + + for (int rowID = 0; rowID < nRows2; rowID++) + { + x = numpyArray2[flatID]; + y = numpyArray2[flatID + 1]; + flatID += nDims2; + self->SetValue(rowID + 1, T(x, y)); + } + } + + void BuildNumpyArray(double* numpyArray2Argout, int aSizeArgout, int nRows2Argout, int nDims2Argout) { + int flatID = 0; + + for (int rowID = 0; rowID < nRows2Argout; rowID++) + { + T v = self->Value(rowID + self->Lower()); + numpyArray2Argout[flatID] = v.X(); + numpyArray2Argout[flatID + 1] = v.Y(); + flatID += nDims2Argout; + } + } + + %pythoncode { + @classmethod + def from_numpy_array(cls, arr): + inst = cls(1, len(arr)) + inst.AddDataFromNumpyArray(arr) + return inst + + def to_numpy_array(self): + return self.BuildNumpyArray(self.Size() * 2, self.Length(), 2).reshape(self.Length(), 2) + + } + }; + +%enddef + +%define Array1Of3DNumpyTemplate(name, T) + + %template(name) NCollection_Array1; + + Array1ExtendIter(T) + + %extend NCollection_Array1 { + void AddDataFromNumpyArray(double* numpyArray2, int nRows2, int nDims2) { + double x=0., y=0., z=0.; + int flatID = 0; + + for (int rowID = 0; rowID < nRows2; rowID++) + { + x = numpyArray2[flatID]; + y = numpyArray2[flatID + 1]; + z = numpyArray2[flatID + 2]; + flatID += nDims2; + self->SetValue(rowID + 1, T(x, y, z)); + } + } + + void BuildNumpyArray(double* numpyArray2Argout, int aSizeArgout, int nRows2Argout, int nDims2Argout) { + int flatID = 0; + + for (int rowID = 0; rowID < nRows2Argout; rowID++) + { + T v = self->Value(rowID + self->Lower()); + numpyArray2Argout[flatID] = v.X(); + numpyArray2Argout[flatID + 1] = v.Y(); + numpyArray2Argout[flatID + 2] = v.Z(); + flatID += nDims2Argout; + } + } + + %pythoncode { + @classmethod + def from_numpy_array(cls, arr): + inst = cls(1, len(arr)) + inst.AddDataFromNumpyArray(arr) + return inst + + def to_numpy_array(self): + return self.BuildNumpyArray(self.Size() * 3, self.Length(), 3).reshape(self.Length(), 3) + + } + }; + +%enddef + +%define Array1OfTriaNumpyTemplate(name, T) + + %template(name) NCollection_Array1; + + Array1ExtendIter(T) + + %extend NCollection_Array1 { + void AddDataFromNumpyArray(long long* numpyArray2, int nRows2, int nDims2) { + long long p1=0, p2=0, p3=0; + int flatID = 0; + + for (int rowID = 0; rowID < nRows2; rowID++) + { + p1 = numpyArray2[flatID]; + p2 = numpyArray2[flatID + 1]; + p3 = numpyArray2[flatID + 2]; + flatID += nDims2; + self->SetValue(rowID + 1, T(p1, p2, p3)); + } + } + + void BuildNumpyArray(long long* numpyArray2Argout, int aSizeArgout, int nRows2Argout, int nDims2Argout) { + int flatID = 0; + + for (int rowID = 0; rowID < nRows2Argout; rowID++) + { + T tria = self->Value(rowID + self->Lower()); + numpyArray2Argout[flatID] = tria.Value(1); + numpyArray2Argout[flatID + 1] = tria.Value(2); + numpyArray2Argout[flatID + 2] = tria.Value(3); + flatID += nDims2Argout; + } + } + + %pythoncode { + @classmethod + def from_numpy_array(cls, arr): + inst = cls(1, len(arr)) + inst.AddDataFromNumpyArray(arr) + return inst + + def to_numpy_array(self): + return self.BuildNumpyArray(self.Size() * 3, self.Length(), 3).reshape(self.Length(), 3) + + } + }; + +%enddef + +%define Array2Of2DNumpyTemplate(name, T) + + %template(name) NCollection_Array2; + + %extend NCollection_Array2 { + void AddDataFromNumpyArray(double* numpyArray3, int nRows3, int nCols3, int nDims3) { + double x=0., y=0.; + int flatID = 0; + + for (int rowID = 0; rowID < nRows3; rowID++) + { + for (int colID = 0; colID < nCols3; colID++) + { + x = numpyArray3[flatID]; + y = numpyArray3[flatID + 1]; + flatID += nDims3; + self->SetValue(rowID + 1, colID + 1, T(x, y)); + } + } + } + + void BuildNumpyArray(double* numpyArray3Argout, int aSizeArgout, int nRows3Argout, int nCols3Argout, int nDims3Argout) { + int flatID = 0; + + for (int rowID = 0; rowID < nRows3Argout; rowID++) + { + for (int colID = 0; colID < nCols3Argout; colID++) + { + T v = self->Value(rowID + self->LowerRow(), colID + self->LowerCol()); + numpyArray3Argout[flatID] = v.X(); + numpyArray3Argout[flatID + 1] = v.Y(); + flatID += nDims3Argout; + } + } + } + + %pythoncode { + @classmethod + def from_numpy_array(cls, arr): + n_rows, n_cols = arr.shape[:-1] + inst = cls(1, n_rows, 1, n_cols) + inst.AddDataFromNumpyArray(arr) + return inst + + def to_numpy_array(self): + return self.BuildNumpyArray( + self.Size() * 2, self.ColLength(), self.RowLength(), 2 + ).reshape(self.ColLength(), self.RowLength(), 2) + + } + }; + +%enddef + +%define Array2Of3DNumpyTemplate(name, T) + + %template(name) NCollection_Array2; + + %extend NCollection_Array2 { + void AddDataFromNumpyArray(double* numpyArray3, int nRows3, int nCols3, int nDims3) { + double x=0., y=0., z=0.; + int flatID = 0; + + for (int rowID = 0; rowID < nRows3; rowID++) + { + for (int colID = 0; colID < nCols3; colID++) + { + x = numpyArray3[flatID]; + y = numpyArray3[flatID + 1]; + z = numpyArray3[flatID + 2]; + flatID += nDims3; + self->SetValue(rowID + 1, colID + 1, T(x, y, z)); + } + } + } + + void BuildNumpyArray(double* numpyArray3Argout, int aSizeArgout, int nRows3Argout, int nCols3Argout, int nDims3Argout) { + int flatID = 0; + + for (int rowID = 0; rowID < nRows3Argout; rowID++) + { + for (int colID = 0; colID < nCols3Argout; colID++) + { + T v = self->Value(rowID + self->LowerRow(), colID + self->LowerCol()); + numpyArray3Argout[flatID] = v.X(); + numpyArray3Argout[flatID + 1] = v.Y(); + numpyArray3Argout[flatID + 2] = v.Z(); + flatID += nDims3Argout; + } + } + } + + %pythoncode { + @classmethod + def from_numpy_array(cls, arr): + n_rows, n_cols = arr.shape[:-1] + inst = cls(1, n_rows, 1, n_cols) + inst.AddDataFromNumpyArray(arr) + return inst + + def to_numpy_array(self): + return self.BuildNumpyArray( + self.Size() * 3, self.ColLength(), self.RowLength(), 3 + ).reshape(self.ColLength(), self.RowLength(), 3) + + } + }; + +%enddef + +%define CurveArrayEvalExtend(T) + %extend T{ + void evalNumpy(double* numpyArrayU, int nRowsU, double* numpyArrayResultArgout, int aSizeArgout, int nDimsResult) { + int flatID = 0; + + for (int rowID = 0; rowID < nRowsU; rowID++) + { + double u = numpyArrayU[rowID]; + gp_Pnt res = self->Value(u); + numpyArrayResultArgout[flatID] = res.X(); + numpyArrayResultArgout[flatID + 1] = res.Y(); + numpyArrayResultArgout[flatID + 2] = res.Z(); + flatID += nDimsResult; + } + } + + void evalDerivativeNumpy(double* numpyArrayU, int nRowsU, double* numpyArrayResultArgout, int aSizeArgout, int nDimsResult, int nU) { + int flatID = 0; + + for (int rowID = 0; rowID < nRowsU; rowID++) + { + double u = numpyArrayU[rowID]; + gp_Vec res = self->DN(u, nU); + numpyArrayResultArgout[flatID] = res.X(); + numpyArrayResultArgout[flatID + 1] = res.Y(); + numpyArrayResultArgout[flatID + 2] = res.Z(); + flatID += nDimsResult; + } + } + + %pythoncode { + def eval_numpy_array(self, u_arr): + return self.evalNumpy(u_arr, len(u_arr) * 3, 3).reshape(-1, 3) + + def eval_derivative_numpy_array(self, u_arr, n_u): + return self.evalDerivativeNumpy(u_arr, len(u_arr) * 3, 3, n_u).reshape(-1, 3) + } + + }; + +%enddef + + +%define SurfaceArrayEvalExtend(T) + %extend T{ + void evalNumpy(double* numpyArrayUV, int nRowsUV, int nColUV, double* numpyArrayResultArgout, int aSizeArgout, int nDimsResult) { + int flatID = 0; + + for (int rowID = 0; rowID < nRowsUV; rowID++) + { + double u = numpyArrayUV[rowID * nColUV]; + double v = numpyArrayUV[rowID * nColUV + 1]; + gp_Pnt res = self->Value(u, v); + numpyArrayResultArgout[flatID] = res.X(); + numpyArrayResultArgout[flatID + 1] = res.Y(); + numpyArrayResultArgout[flatID + 2] = res.Z(); + flatID += nDimsResult; + } + } + + void evalDerivativeNumpy(double* numpyArrayUV, int nRowsUV, int nColUV, double* numpyArrayResultArgout, int aSizeArgout, int nDimsResult, int nU, int nV) { + int flatID = 0; + + for (int rowID = 0; rowID < nRowsUV; rowID++) + { + double u = numpyArrayUV[rowID * nColUV]; + double v = numpyArrayUV[rowID * nColUV + 1]; + gp_Vec res = self->DN(u, v, nU, nV); + numpyArrayResultArgout[flatID] = res.X(); + numpyArrayResultArgout[flatID + 1] = res.Y(); + numpyArrayResultArgout[flatID + 2] = res.Z(); + flatID += nDimsResult; + } + } + + %pythoncode { + def eval_numpy_array(self, u_arr): + return self.evalNumpy(u_arr, len(u_arr) * 3, 3).reshape(-1, 3) + + def eval_derivative_numpy_array(self, u_arr, n_u, n_v): + return self.evalDerivativeNumpy(u_arr, len(u_arr) * 3, 3, n_u, n_v).reshape(-1, 3) + } + + }; + +%enddef + +%define Curve2dArrayEvalExtend(T) + %extend T{ + void evalNumpy(double* numpyArrayU, int nRowsU, double* numpyArrayResultArgout, int aSizeArgout, int nDimsResult) { + int flatID = 0; + + for (int rowID = 0; rowID < nRowsU; rowID++) + { + double u = numpyArrayU[rowID]; + gp_Pnt2d res = self->Value(u); + numpyArrayResultArgout[flatID] = res.X(); + numpyArrayResultArgout[flatID + 1] = res.Y(); + flatID += nDimsResult; + } + } + + void evalDerivativeNumpy(double* numpyArrayU, int nRowsU, double* numpyArrayResultArgout, int aSizeArgout, int nDimsResult, int nU) { + int flatID = 0; + + for (int rowID = 0; rowID < nRowsU; rowID++) + { + double u = numpyArrayU[rowID]; + gp_Vec2d res = self->DN(u, nU); + numpyArrayResultArgout[flatID] = res.X(); + numpyArrayResultArgout[flatID + 1] = res.Y(); + flatID += nDimsResult; + } + } + + %pythoncode { + def eval_numpy_array(self, u_arr): + return self.evalNumpy(u_arr, len(u_arr) * 2, 2).reshape(-1, 2) + + def eval_derivative_numpy_array(self, u_arr, n_u): + return self.evalDerivativeNumpy(u_arr, len(u_arr) * 2, 2, n_u).reshape(-1, 2) + } + + }; + +%enddef + +/* end macros declaration */ \ No newline at end of file diff --git a/src/SWIG_files/common/CommonIncludes.i b/src/SWIG_files/common/CommonIncludes.i index cb507208f..d08545873 100644 --- a/src/SWIG_files/common/CommonIncludes.i +++ b/src/SWIG_files/common/CommonIncludes.i @@ -23,6 +23,7 @@ along with pythonOCC. If not, see . %include cpointer.i %include carrays.i %include exception.i +%include %include %include %include diff --git a/src/SWIG_files/common/EnumTemplates.i b/src/SWIG_files/common/EnumTemplates.i new file mode 100644 index 000000000..a115ec12d --- /dev/null +++ b/src/SWIG_files/common/EnumTemplates.i @@ -0,0 +1,33 @@ +ENUM_OUTPUT_TYPEMAPS(Message_MetricType); +ENUM_OUTPUT_TYPEMAPS(Quantity_NameOfColor); +ENUM_OUTPUT_TYPEMAPS(CSLib_DerivativeStatus); +ENUM_OUTPUT_TYPEMAPS(CSLib_NormalStatus); +ENUM_OUTPUT_TYPEMAPS(TopAbs_Orientation); +ENUM_OUTPUT_TYPEMAPS(TopAbs_ShapeEnum); +ENUM_OUTPUT_TYPEMAPS(GeomAbs_Shape); +ENUM_OUTPUT_TYPEMAPS(TopAbs_State); +ENUM_OUTPUT_TYPEMAPS(TopOpeBRepDS_Kind); +ENUM_OUTPUT_TYPEMAPS(Convert_ParameterisationType); +ENUM_OUTPUT_TYPEMAPS(FairCurve_AnalysisCode); +ENUM_OUTPUT_TYPEMAPS(GccEnt_Position); +ENUM_OUTPUT_TYPEMAPS(IntCurveSurface_TransitionOnCurve); +ENUM_OUTPUT_TYPEMAPS(IntImp_ConstIsoparametric); +ENUM_OUTPUT_TYPEMAPS(Intf_PIType); +ENUM_OUTPUT_TYPEMAPS(BRepOffset_Status); +ENUM_OUTPUT_TYPEMAPS(Graphic3d_DisplayPriority); +ENUM_OUTPUT_TYPEMAPS(Graphic3d_NameOfMaterial); +ENUM_OUTPUT_TYPEMAPS(Aspect_TypeOfLine); +ENUM_OUTPUT_TYPEMAPS(PrsDim_KindOfSurface); +ENUM_OUTPUT_TYPEMAPS(DsgPrs_ArrowSide); +ENUM_OUTPUT_TYPEMAPS(V3d_TypeOfOrientation); +ENUM_OUTPUT_TYPEMAPS(MeshVS_EntityType); +ENUM_OUTPUT_TYPEMAPS(VrmlData_ErrorStatus); +ENUM_OUTPUT_TYPEMAPS(XCAFDimTolObjects_DatumModifWithValue); +ENUM_OUTPUT_TYPEMAPS(XCAFDimTolObjects_DimensionFormVariance); +ENUM_OUTPUT_TYPEMAPS(XCAFDimTolObjects_DimensionGrade); +ENUM_OUTPUT_TYPEMAPS(XCAFDimTolObjects_DatumTargetType); +ENUM_OUTPUT_TYPEMAPS(XCAFDimTolObjects_DimensionQualifier); +ENUM_OUTPUT_TYPEMAPS(XCAFDimTolObjects_DimensionType); +ENUM_OUTPUT_TYPEMAPS(XCAFDimTolObjects_GeomToleranceTypeValue); +ENUM_OUTPUT_TYPEMAPS(Interface_ParamType); +ENUM_OUTPUT_TYPEMAPS(StepData_Logical); diff --git a/src/SWIG_files/common/ExceptionCatcher.i b/src/SWIG_files/common/ExceptionCatcher.i index 866efe1f6..5104795b6 100644 --- a/src/SWIG_files/common/ExceptionCatcher.i +++ b/src/SWIG_files/common/ExceptionCatcher.i @@ -22,28 +22,145 @@ 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 %} %inline %{ -void process_exception(Standard_Failure const& error, std::string method_name, std::string class_name) { - std::string error_name = error.DynamicType()->Name(); - std::string error_message = error.GetMessageString(); - std::string message = error_name + error_message + - " raised from method " + method_name + " of class " + class_name; - PyErr_SetString(PyExc_RuntimeError, message.c_str()); + +// Configuration for debugging (can be enabled/disabled) +#ifndef PYTHONOCC_DEBUG_EXCEPTIONS +#define PYTHONOCC_DEBUG_EXCEPTIONS 0 +#endif + +// Utility function to get a readable class name +std::string get_readable_class_name(const std::string& class_name) { + if (class_name.empty() || class_name == "$parentclassname") { + return "Unknown"; + } + return class_name; } + +// Utility function to get a readable method name +std::string get_readable_method_name(const std::string& method_name) { + if (method_name.empty() || method_name == "$name") { + return "Unknown"; + } + return method_name; +} + +// Mapping OpenCASCADE exceptions to appropriate Python exceptions +PyObject* get_exception_type(const Standard_Failure& error) { + const Handle(Standard_Type)& error_type = error.DynamicType(); + const std::string type_name = error_type->Name(); + + // Specific error type mapping + if (type_name.find("OutOfRange") != std::string::npos || + type_name.find("RangeError") != std::string::npos) { + return PyExc_IndexError; + } + else if (type_name.find("OutOfMemory") != std::string::npos) { + return PyExc_MemoryError; + } + else if (type_name.find("NullObject") != std::string::npos || + type_name.find("NullValue") != std::string::npos) { + return PyExc_ValueError; + } + else if (type_name.find("TypeMismatch") != std::string::npos) { + return PyExc_TypeError; + } + else if (type_name.find("NotImplemented") != std::string::npos) { + return PyExc_NotImplementedError; + } + else if (type_name.find("NoSuchObject") != std::string::npos) { + return PyExc_KeyError; + } + else if (type_name.find("DimensionError") != std::string::npos || + type_name.find("DomainError") != std::string::npos) { + return PyExc_ValueError; + } + else if (type_name.find("NumericError") != std::string::npos || + type_name.find("Overflow") != std::string::npos || + type_name.find("Underflow") != std::string::npos) { + return PyExc_ArithmeticError; + } + else if (type_name.find("TooManyUsers") != std::string::npos) { + return PyExc_ResourceWarning; + } + + // Default to RuntimeError + return PyExc_RuntimeError; +} + +// Main function for processing OpenCASCADE exceptions +void process_opencascade_exception(const Standard_Failure& error, + const std::string& method_name, + const std::string& class_name) { + std::ostringstream oss; + + // Basic error information + const std::string error_type = error.DynamicType()->Name(); + const std::string error_message = error.GetMessageString(); + const std::string readable_class = get_readable_class_name(class_name); + const std::string readable_method = get_readable_method_name(method_name); + + // Error message construction + oss << "OpenCASCADE Error [" << error_type << "]"; + + if (!error_message.empty()) { + oss << ": " << error_message; + } + + oss << " (in " << readable_class; + if (readable_method != "Unknown") { + oss << "::" << readable_method; + } + oss << ")"; + + // Debug information if enabled + #if PYTHONOCC_DEBUG_EXCEPTIONS + std::cerr << "[pythonOCC Debug] " << oss.str() << std::endl; + #endif + + // Set Python exception with appropriate type + PyObject* exception_type = get_exception_type(error); + PyErr_SetString(exception_type, oss.str().c_str()); +} + %} +// Enhanced exception macro with hierarchical exception handling %exception { try { + // Capture system signals if macro is defined OCC_CATCH_SIGNALS $action - } - catch(Standard_Failure const& error) + } + catch(const Standard_Failure& error) + { + process_opencascade_exception(error, "$name", "$parentclassname"); + SWIG_fail; + } + catch(const std::bad_alloc& e) { - process_exception(error, "$name", "$parentclassname"); - SWIG_fail; + PyErr_SetString(PyExc_MemoryError, "Memory allocation failed in OpenCASCADE operation"); + SWIG_fail; } } diff --git a/src/SWIG_files/common/FunctionTransformers.i b/src/SWIG_files/common/FunctionTransformers.i index 50d42a99b..837fa4d86 100644 --- a/src/SWIG_files/common/FunctionTransformers.i +++ b/src/SWIG_files/common/FunctionTransformers.i @@ -21,29 +21,90 @@ along with pythonOCC. If not, see . %{ #include +#include +#include +#include %} +%include + +/* +Standard_CString parameter transformation +*/ + +%typemap(in) Standard_CString +{ + $1 = PyUnicode_AsUTF8($input); +} + +%typemap(typecheck, precedence=SWIG_TYPECHECK_INTEGER) Standard_CString { + $1 = PyUnicode_Check($input) ? 1 : 0; +} +%typemap(out) Standard_CString { + $result = PyUnicode_FromString($1); +} + +/* +TCollection_ExtendedString parameter transformation +*/ + +%typemap(in) TCollection_ExtendedString +{ + $1 = TCollection_ExtendedString(PyUnicode_AsUTF8($input), true); +} +%typemap(typecheck, precedence=SWIG_TYPECHECK_INTEGER) TCollection_ExtendedString { + $1 = PyUnicode_Check($input) ? 1 : 0; +} +%typemap(out) TCollection_ExtendedString { + // convert the TCollection_ExtendedString to TCollection_AsciiString + $result = PyUnicode_FromString(TCollection_AsciiString($1).ToCString()); +} + +/* +TCollection_AsciiString parameter transformation +*/ + +%typemap(in) TCollection_AsciiString +{ + $1 = TCollection_AsciiString(PyUnicode_AsUTF8($input)); +} +%typemap(typecheck, precedence=SWIG_TYPECHECK_INTEGER) TCollection_AsciiString { + $1 = PyUnicode_Check($input) ? 1 : 0; +} +%typemap(out) TCollection_AsciiString { + $result = PyUnicode_FromString($1.ToCString()); +} + +/* +TCollection_HAsciiString output by ref parameter transformation +*/ +%typemap(argout) opencascade::handle &OutValue { + PyObject *o = PyUnicode_FromString((*$1)->ToCString()); + $result = SWIG_AppendOutput($result, o); +} + +%typemap(in,numinputs=0) opencascade::handle &OutValue(opencascade::handle temp) { + $1 = &temp; +} + +/* +Standard_ShortReal & function transformation +*/ +%typemap(argout) Standard_ShortReal &OutValue { + PyObject *o = PyFloat_FromDouble(*$1); + $result = SWIG_AppendOutput($result, o); +} + +%typemap(in,numinputs=0) Standard_ShortReal &OutValue(Standard_ShortReal temp) { + $1 = &temp; +} + /* Standard_Real & function transformation */ %typemap(argout) Standard_Real &OutValue { - PyObject *o, *o2, *o3; - o = PyFloat_FromDouble(*$1); - if ((!$result) || ($result == Py_None)) { - $result = o; - } else { - if (!PyTuple_Check($result)) { - PyObject *o2 = $result; - $result = PyTuple_New(1); - PyTuple_SetItem($result,0,o2); - } - o3 = PyTuple_New(1); - PyTuple_SetItem(o3,0,o); - o2 = $result; - $result = PySequence_Concat(o2,o3); - Py_DECREF(o2); - Py_DECREF(o3); - } + PyObject *o = PyFloat_FromDouble(*$1); + $result = SWIG_AppendOutput($result, o); } %typemap(in,numinputs=0) Standard_Real &OutValue(Standard_Real temp) { @@ -54,23 +115,8 @@ Standard_Real & function transformation Standard_Integer & function transformation */ %typemap(argout) Standard_Integer &OutValue { - PyObject *o, *o2, *o3; - o = PyInt_FromLong(*$1); - if ((!$result) || ($result == Py_None)) { - $result = o; - } else { - if (!PyTuple_Check($result)) { - PyObject *o2 = $result; - $result = PyTuple_New(1); - PyTuple_SetItem($result,0,o2); - } - o3 = PyTuple_New(1); - PyTuple_SetItem(o3,0,o); - o2 = $result; - $result = PySequence_Concat(o2,o3); - Py_DECREF(o2); - Py_DECREF(o3); - } + PyObject *o = PyLong_FromLong(*$1); + $result = SWIG_AppendOutput($result, o); } %typemap(in,numinputs=0) Standard_Integer &OutValue(Standard_Integer temp) { @@ -81,135 +127,152 @@ Standard_Integer & function transformation Standard_Boolean & function transformation */ %typemap(argout) Standard_Boolean &OutValue { - PyObject *o, *o2, *o3; - o = PyBool_FromLong(*$1); - if ((!$result) || ($result == Py_None)) { - $result = o; - } else { - if (!PyTuple_Check($result)) { - PyObject *o2 = $result; - $result = PyTuple_New(1); - PyTuple_SetItem($result,0,o2); - } - o3 = PyTuple_New(1); - PyTuple_SetItem(o3,0,o); - o2 = $result; - $result = PySequence_Concat(o2,o3); - Py_DECREF(o2); - Py_DECREF(o3); - } + PyObject *o = PyBool_FromLong(*$1); + $result = SWIG_AppendOutput($result, o); } %typemap(in,numinputs=0) Standard_Boolean &OutValue(Standard_Boolean temp) { $1 = &temp; } -/* -FairCurve_Analysis & function transformation -*/ -%typemap(argout) FairCurve_AnalysisCode &OutValue { - PyObject *o, *o2, *o3; - o = PyInt_FromLong(*$1); - if ((!$result) || ($result == Py_None)) { - $result = o; - } else { - if (!PyTuple_Check($result)) { - PyObject *o2 = $result; - $result = PyTuple_New(1); - PyTuple_SetItem($result,0,o2); - } - o3 = PyTuple_New(1); - PyTuple_SetItem(o3,0,o); - o2 = $result; - $result = PySequence_Concat(o2,o3); - Py_DECREF(o2); - Py_DECREF(o3); - } -} - -%typemap(in,numinputs=0) FairCurve_AnalysisCode &OutValue(FairCurve_AnalysisCode temp) { - $1 = &temp; -} - %typemap(out) TopoDS_Shape { TopoDS_Shape* sh = &$1; - PyObject *resultobj = 0; if (!sh || sh->IsNull()) { - Py_RETURN_NONE; + // Use $result instead of Py_RETURN_NONE to allow SWIG cleanup code to run + $result = Py_None; + Py_INCREF(Py_None); } else { - TopAbs_ShapeEnum shape_type = sh->ShapeType(); - switch (shape_type) + switch (sh->ShapeType()) { - case TopAbs_COMPOUND: - resultobj = SWIG_NewPointerObj(new TopoDS_Compound(TopoDS::Compound(*sh)), SWIGTYPE_p_TopoDS_Compound, SWIG_POINTER_OWN | 0); + case TopAbs_COMPOUND: { + TopoDS_Compound* ptr = new TopoDS_Compound(TopoDS::Compound(*sh)); + $result = SWIG_NewPointerObj(ptr, SWIGTYPE_p_TopoDS_Compound, SWIG_POINTER_OWN | 0); + if (!$result) delete ptr; break; - case TopAbs_COMPSOLID: - resultobj = SWIG_NewPointerObj(new TopoDS_CompSolid(TopoDS::CompSolid(*sh)), SWIGTYPE_p_TopoDS_CompSolid, SWIG_POINTER_OWN | 0 ); + } + case TopAbs_COMPSOLID: { + TopoDS_CompSolid* ptr = new TopoDS_CompSolid(TopoDS::CompSolid(*sh)); + $result = SWIG_NewPointerObj(ptr, SWIGTYPE_p_TopoDS_CompSolid, SWIG_POINTER_OWN | 0 ); + if (!$result) delete ptr; break; - case TopAbs_SOLID: - resultobj = SWIG_NewPointerObj(new TopoDS_Solid(TopoDS::Solid(*sh)), SWIGTYPE_p_TopoDS_Solid, SWIG_POINTER_OWN | 0 ); + } + case TopAbs_SOLID: { + TopoDS_Solid* ptr = new TopoDS_Solid(TopoDS::Solid(*sh)); + $result = SWIG_NewPointerObj(ptr, SWIGTYPE_p_TopoDS_Solid, SWIG_POINTER_OWN | 0 ); + if (!$result) delete ptr; break; - case TopAbs_SHELL: - resultobj = SWIG_NewPointerObj(new TopoDS_Shell(TopoDS::Shell(*sh)), SWIGTYPE_p_TopoDS_Shell, SWIG_POINTER_OWN | 0 ); + } + case TopAbs_SHELL: { + TopoDS_Shell* ptr = new TopoDS_Shell(TopoDS::Shell(*sh)); + $result = SWIG_NewPointerObj(ptr, SWIGTYPE_p_TopoDS_Shell, SWIG_POINTER_OWN | 0 ); + if (!$result) delete ptr; break; - case TopAbs_FACE: - resultobj = SWIG_NewPointerObj(new TopoDS_Face(TopoDS::Face(*sh)), SWIGTYPE_p_TopoDS_Face, SWIG_POINTER_OWN | 0 ); + } + case TopAbs_FACE: { + TopoDS_Face* ptr = new TopoDS_Face(TopoDS::Face(*sh)); + $result = SWIG_NewPointerObj(ptr, SWIGTYPE_p_TopoDS_Face, SWIG_POINTER_OWN | 0 ); + if (!$result) delete ptr; break; - case TopAbs_WIRE: - resultobj = SWIG_NewPointerObj(new TopoDS_Wire(TopoDS::Wire(*sh)), SWIGTYPE_p_TopoDS_Wire, SWIG_POINTER_OWN | 0 ); + } + case TopAbs_WIRE: { + TopoDS_Wire* ptr = new TopoDS_Wire(TopoDS::Wire(*sh)); + $result = SWIG_NewPointerObj(ptr, SWIGTYPE_p_TopoDS_Wire, SWIG_POINTER_OWN | 0 ); + if (!$result) delete ptr; break; - case TopAbs_EDGE: - resultobj = SWIG_NewPointerObj(new TopoDS_Edge(TopoDS::Edge(*sh)), SWIGTYPE_p_TopoDS_Edge, SWIG_POINTER_OWN | 0 ); + } + case TopAbs_EDGE: { + TopoDS_Edge* ptr = new TopoDS_Edge(TopoDS::Edge(*sh)); + $result = SWIG_NewPointerObj(ptr, SWIGTYPE_p_TopoDS_Edge, SWIG_POINTER_OWN | 0 ); + if (!$result) delete ptr; break; - case TopAbs_VERTEX: - resultobj = SWIG_NewPointerObj(new TopoDS_Vertex(TopoDS::Vertex(*sh)), SWIGTYPE_p_TopoDS_Vertex, SWIG_POINTER_OWN | 0 ); + } + case TopAbs_VERTEX: { + TopoDS_Vertex* ptr = new TopoDS_Vertex(TopoDS::Vertex(*sh)); + $result = SWIG_NewPointerObj(ptr, SWIGTYPE_p_TopoDS_Vertex, SWIG_POINTER_OWN | 0 ); + if (!$result) delete ptr; 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; + // Use $result instead of Py_RETURN_NONE to allow SWIG cleanup code to run + $result = Py_None; + Py_INCREF(Py_None); } else { - TopAbs_ShapeEnum shape_type = sh->ShapeType(); - switch (shape_type) + switch (sh->ShapeType()) { - case TopAbs_COMPOUND: - resultobj = SWIG_NewPointerObj(new TopoDS_Compound(TopoDS::Compound(*sh)), SWIGTYPE_p_TopoDS_Compound, SWIG_POINTER_OWN | 0); + case TopAbs_COMPOUND: { + TopoDS_Compound* ptr = new TopoDS_Compound(TopoDS::Compound(*sh)); + $result = SWIG_NewPointerObj(ptr, SWIGTYPE_p_TopoDS_Compound, SWIG_POINTER_OWN | 0); + if (!$result) delete ptr; break; - case TopAbs_COMPSOLID: - resultobj = SWIG_NewPointerObj(new TopoDS_CompSolid(TopoDS::CompSolid(*sh)), SWIGTYPE_p_TopoDS_CompSolid, SWIG_POINTER_OWN | 0 ); + } + case TopAbs_COMPSOLID: { + TopoDS_CompSolid* ptr = new TopoDS_CompSolid(TopoDS::CompSolid(*sh)); + $result = SWIG_NewPointerObj(ptr, SWIGTYPE_p_TopoDS_CompSolid, SWIG_POINTER_OWN | 0 ); + if (!$result) delete ptr; break; - case TopAbs_SOLID: - resultobj = SWIG_NewPointerObj(new TopoDS_Solid(TopoDS::Solid(*sh)), SWIGTYPE_p_TopoDS_Solid, SWIG_POINTER_OWN | 0 ); + } + case TopAbs_SOLID: { + TopoDS_Solid* ptr = new TopoDS_Solid(TopoDS::Solid(*sh)); + $result = SWIG_NewPointerObj(ptr, SWIGTYPE_p_TopoDS_Solid, SWIG_POINTER_OWN | 0 ); + if (!$result) delete ptr; break; - case TopAbs_SHELL: - resultobj = SWIG_NewPointerObj(new TopoDS_Shell(TopoDS::Shell(*sh)), SWIGTYPE_p_TopoDS_Shell, SWIG_POINTER_OWN | 0 ); + } + case TopAbs_SHELL: { + TopoDS_Shell* ptr = new TopoDS_Shell(TopoDS::Shell(*sh)); + $result = SWIG_NewPointerObj(ptr, SWIGTYPE_p_TopoDS_Shell, SWIG_POINTER_OWN | 0 ); + if (!$result) delete ptr; break; - case TopAbs_FACE: - resultobj = SWIG_NewPointerObj(new TopoDS_Face(TopoDS::Face(*sh)), SWIGTYPE_p_TopoDS_Face, SWIG_POINTER_OWN | 0 ); + } + case TopAbs_FACE: { + TopoDS_Face* ptr = new TopoDS_Face(TopoDS::Face(*sh)); + $result = SWIG_NewPointerObj(ptr, SWIGTYPE_p_TopoDS_Face, SWIG_POINTER_OWN | 0 ); + if (!$result) delete ptr; break; - case TopAbs_WIRE: - resultobj = SWIG_NewPointerObj(new TopoDS_Wire(TopoDS::Wire(*sh)), SWIGTYPE_p_TopoDS_Wire, SWIG_POINTER_OWN | 0 ); + } + case TopAbs_WIRE: { + TopoDS_Wire* ptr = new TopoDS_Wire(TopoDS::Wire(*sh)); + $result = SWIG_NewPointerObj(ptr, SWIGTYPE_p_TopoDS_Wire, SWIG_POINTER_OWN | 0 ); + if (!$result) delete ptr; break; - case TopAbs_EDGE: - resultobj = SWIG_NewPointerObj(new TopoDS_Edge(TopoDS::Edge(*sh)), SWIGTYPE_p_TopoDS_Edge, SWIG_POINTER_OWN | 0 ); + } + case TopAbs_EDGE: { + TopoDS_Edge* ptr = new TopoDS_Edge(TopoDS::Edge(*sh)); + $result = SWIG_NewPointerObj(ptr, SWIGTYPE_p_TopoDS_Edge, SWIG_POINTER_OWN | 0 ); + if (!$result) delete ptr; break; - case TopAbs_VERTEX: - resultobj = SWIG_NewPointerObj(new TopoDS_Vertex(TopoDS::Vertex(*sh)), SWIGTYPE_p_TopoDS_Vertex, SWIG_POINTER_OWN | 0 ); + } + case TopAbs_VERTEX: { + TopoDS_Vertex* ptr = new TopoDS_Vertex(TopoDS::Vertex(*sh)); + $result = SWIG_NewPointerObj(ptr, SWIGTYPE_p_TopoDS_Vertex, SWIG_POINTER_OWN | 0 ); + if (!$result) delete ptr; break; + } default: break; } } - return resultobj; } + + +%define ENUM_OUTPUT_TYPEMAPS(TYPE) + +%typemap(in,numinputs=0) TYPE &OutValue(TYPE temp) { + $1 = &temp; +} + +%typemap(argout) TYPE &OutValue { + PyObject *o = PyLong_FromLong(static_cast(*$1)); + $result = SWIG_AppendOutput($result, o); +} +%enddef diff --git a/src/SWIG_files/common/IOStream.i b/src/SWIG_files/common/IOStream.i index 961bc3823..268d82414 100644 --- a/src/SWIG_files/common/IOStream.i +++ b/src/SWIG_files/common/IOStream.i @@ -1,62 +1,172 @@ /* - Copyright 2020 Thomas Paviot (tpaviot@gmail.com) - This file is part of pythonOCC. - pythonOCC is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - pythonOCC is distributed in the hope that 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 General Public License along with pythonOCC. If not, see . +Refactored for Python 3 only - No Python 2 support */ %include %include -/* -Standard_OStream & function transformation -The float number is returned in the output tuple -*/ -%typemap(argout) Standard_OStream &OutValue { - PyObject *o, *o2, *o3; - std::ostringstream *output = static_cast ($1); - o = PyString_FromString(output->str().c_str()); - if ((!$result) || ($result == Py_None)) { - $result = o; +//============================================================================= +// Input stream conversion: Python str/bytes -> std::istream& +//============================================================================= +%typemap(in) std::istream& { + if (!PyUnicode_Check($input) && !PyBytes_Check($input)) { + PyErr_SetString(PyExc_TypeError, "Expected str or bytes object"); + SWIG_fail; + } + + PyObject* encoded_bytes = nullptr; + const char* data_ptr = nullptr; + + if (PyUnicode_Check($input)) { + encoded_bytes = PyUnicode_AsEncodedString($input, "UTF-8", "strict"); + if (!encoded_bytes) { + PyErr_SetString(PyExc_UnicodeError, "Failed to encode string as UTF-8"); + SWIG_fail; + } + data_ptr = PyBytes_AsString(encoded_bytes); } else { - if (!PyTuple_Check($result)) { - PyObject *o2 = $result; - $result = PyTuple_New(1); - PyTuple_SetItem($result,0,o2); + // Input is already bytes + data_ptr = PyBytes_AsString($input); + encoded_bytes = $input; + Py_INCREF(encoded_bytes); + } + + if (!data_ptr) { + Py_XDECREF(encoded_bytes); + PyErr_SetString(PyExc_ValueError, "Failed to extract string data"); + SWIG_fail; + } + + std::string cpp_data(data_ptr); + Py_DECREF(encoded_bytes); + + std::stringstream* stream = new std::stringstream(cpp_data); + $1 = stream; +} + +%typemap(freearg) std::istream& { + delete static_cast($1); +} + +//============================================================================= +// String stream conversion: Python str/bytes -> std::stringstream& +//============================================================================= +%typemap(in) std::stringstream& { + if (!PyUnicode_Check($input) && !PyBytes_Check($input)) { + PyErr_SetString(PyExc_TypeError, "Expected str or bytes object"); + SWIG_fail; + } + + PyObject* encoded_bytes = nullptr; + const char* data_ptr = nullptr; + + if (PyUnicode_Check($input)) { + encoded_bytes = PyUnicode_AsEncodedString($input, "UTF-8", "strict"); + if (!encoded_bytes) { + PyErr_SetString(PyExc_UnicodeError, "Failed to encode string as UTF-8"); + SWIG_fail; } - o3 = PyTuple_New(1); - PyTuple_SetItem(o3,0,o); - o2 = $result; - $result = PySequence_Concat(o2,o3); - Py_DECREF(o2); - Py_DECREF(o3); + data_ptr = PyBytes_AsString(encoded_bytes); + } else { + // Input is already bytes + data_ptr = PyBytes_AsString($input); + encoded_bytes = $input; + Py_INCREF(encoded_bytes); + } + + if (!data_ptr) { + Py_XDECREF(encoded_bytes); + PyErr_SetString(PyExc_ValueError, "Failed to extract string data"); + SWIG_fail; } + + std::string cpp_data(data_ptr); + Py_DECREF(encoded_bytes); + + std::stringstream* stream = new std::stringstream(cpp_data); + $1 = stream; } -%typemap(in, numinputs=0) Standard_OStream &OutValue (std::ostringstream temp) { - $1 = &temp; +%typemap(freearg) std::stringstream& { + delete static_cast($1); } -/* -Standard_IStream & function transformation -takes a string as input -*/ -%typemap(in) Standard_IStream & { - char * in = PyString_AsString($input); - std::istringstream ss(in); - $1 = &ss; +//============================================================================= +// Output stream conversion: std::ostream& -> Python str (as return value) +//============================================================================= +%typemap(argout) std::ostream& OutValue { + // Extract content from the stringstream + std::stringstream* ss = static_cast($1); + std::string content = ss->str(); + + // Convert to Python Unicode string + PyObject* py_str = PyUnicode_FromStringAndSize(content.c_str(), content.size()); + if (!py_str) { + PyErr_SetString(PyExc_UnicodeError, "Failed to create Python string from stream content"); + SWIG_fail; + } + + // Handle return value combination + if (!$result || $result == Py_None) { + // No existing return value or None - use our string as the result + Py_XDECREF($result); + $result = py_str; + } else { + // Existing return value - combine into tuple + PyObject* current_result = $result; + + if (!PyTuple_Check(current_result)) { + // Convert single value to tuple + $result = PyTuple_New(1); + if (!$result) { + Py_DECREF(py_str); + Py_DECREF(current_result); + SWIG_fail; + } + PyTuple_SET_ITEM($result, 0, current_result); + current_result = $result; + } + + // Create new tuple with additional string + Py_ssize_t old_size = PyTuple_GET_SIZE(current_result); + PyObject* new_tuple = PyTuple_New(old_size + 1); + if (!new_tuple) { + Py_DECREF(py_str); + Py_DECREF(current_result); + SWIG_fail; + } + + // Copy existing items + for (Py_ssize_t i = 0; i < old_size; ++i) { + PyObject* item = PyTuple_GET_ITEM(current_result, i); + Py_INCREF(item); + PyTuple_SET_ITEM(new_tuple, i, item); + } + + // Add our string + PyTuple_SET_ITEM(new_tuple, old_size, py_str); + + Py_DECREF(current_result); + $result = new_tuple; + } +} + +//============================================================================= +// Output stream input parameter: Create temporary stringstream +//============================================================================= +%typemap(in, numinputs=0) std::ostream& OutValue (std::stringstream temp_stream) { + $1 = &temp_stream; } diff --git a/src/SWIG_files/common/OccHandle.i b/src/SWIG_files/common/OccHandle.i index f9f7fff32..ea52e6972 100644 --- a/src/SWIG_files/common/OccHandle.i +++ b/src/SWIG_files/common/OccHandle.i @@ -20,12 +20,12 @@ along with pythonOCC. If not, see . */ /** - * This file defined the macro wrap_handle() and make_alias() + * This file defines the macro wrap_handle() and make_alias() * - * It should be called on a OpenCASCADE Type that inherits from Standard_Transient - * i.e. a class the also has a Handle_ class. + * It should be called on an OpenCASCADE Type that inherits from Standard_Transient + * i.e. a class that also has a Handle_ class. * - * make_alias is to allow backwards compatibilty and defines a Handle_ alias to + * make_alias is to allow backwards compatibility and defines a Handle_ alias to * the non-handle version of the class. * * wrap_handle must be called before defining the class. @@ -44,7 +44,6 @@ along with pythonOCC. If not, see . */ %pythoncode { - from six import with_metaclass import warnings from OCC.Wrapper.wrapper_utils import Proxy, deprecated } @@ -56,54 +55,150 @@ template class handle{}; #define DEFINE_STANDARD_HANDLE(C1,C2) -%define WRAP_OCC_TRANSIENT(CONST, TYPE) +// global counter for dbug (enabled using DEBUG_MEMORY flag) +#ifdef DEBUG_MEMORY +%inline %{ + static int handle_creation_count = 0; + static int handle_deletion_count = 0; + + void reset_handle_counters() { + handle_creation_count = 0; + handle_deletion_count = 0; + } + + void print_handle_stats() { + printf("Handles created: %d, deleted: %d, delta: %d\n", + handle_creation_count, handle_deletion_count, + handle_creation_count - handle_deletion_count); + } +%} +#endif +%define WRAP_OCC_TRANSIENT(CONST, TYPE) %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)); + TYPE * presult = nullptr; + if (!$1.IsNull()) { + presult = $1.get(); + if (presult) { + presult->IncrementRefCounter(); +#ifdef DEBUG_MEMORY + handle_creation_count++; +#endif + } + } + PyObject * obj = SWIG_NewPointerObj(%as_voidptr(presult), $descriptor(TYPE *), SWIG_POINTER_OWN); + if (!obj && presult) { + presult->DecrementRefCounter(); + SWIG_fail; + } + %set_output(obj); } %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)); + TYPE * presult = nullptr; + if (!$1.IsNull()) { + presult = $1.get(); + if (presult) { + presult->IncrementRefCounter(); +#ifdef DEBUG_MEMORY + handle_creation_count++; +#endif + } + } + PyObject * obj = SWIG_NewPointerObj(%as_voidptr(presult), $descriptor(TYPE *), SWIG_POINTER_OWN); + if (!obj && presult) { + presult->DecrementRefCounter(); + SWIG_fail; + } + %set_output(obj); } + +// avoid useless copy for const objects %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)); + TYPE * presult = new TYPE(const_cast< CONST TYPE& >($1)); + if (presult) { + presult->IncrementRefCounter(); +#ifdef DEBUG_MEMORY + handle_creation_count++; +#endif + } + PyObject * obj = SWIG_NewPointerObj(%as_voidptr(presult), $descriptor(TYPE *), SWIG_POINTER_OWN); + if (!obj && presult) { + presult->DecrementRefCounter(); + SWIG_fail; + } + %set_output(obj); } -%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 opencascade::handle& { + TYPE * presult = nullptr; + if ($1 && !$1->IsNull()) { + presult = $1->get(); + if (presult) { + presult->IncrementRefCounter(); +#ifdef DEBUG_MEMORY + handle_creation_count++; +#endif + } + } + PyObject * obj = SWIG_NewPointerObj(%as_voidptr(presult), $descriptor(TYPE *), SWIG_POINTER_OWN); + if (!obj && presult) { + presult->DecrementRefCounter(); + SWIG_fail; + } + %set_output(obj); +} -%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 Handle_ ## TYPE& { + TYPE * presult = nullptr; + if ($1 && !$1->IsNull()) { + presult = $1->get(); + if (presult) { + presult->IncrementRefCounter(); +#ifdef DEBUG_MEMORY + handle_creation_count++; +#endif + } + } + PyObject * obj = SWIG_NewPointerObj(%as_voidptr(presult), $descriptor(TYPE *), SWIG_POINTER_OWN); + if (!obj && presult) { + presult->DecrementRefCounter(); + SWIG_fail; + } + %set_output(obj); } %typemap(out) CONST TYPE&, CONST TYPE* { - if ($1) $1->IncrementRefCounter(); - %set_output(SWIG_NewPointerObj(%as_voidptr($1), $descriptor(TYPE *), SWIG_POINTER_OWN)); + if ($1) { + // check that object is not on the stack + $1->IncrementRefCounter(); +#ifdef DEBUG_MEMORY + handle_creation_count++; +#endif + } + PyObject * obj = SWIG_NewPointerObj(%as_voidptr($1), $descriptor(TYPE *), SWIG_POINTER_OWN); + if (!obj && $1) { + $1->DecrementRefCounter(); + SWIG_fail; + } + %set_output(obj); } -%typemap(in) opencascade::handle< TYPE > (void *argp, int res = 0) { +%typemap(in) opencascade::handle (void *argp, int res = 0) { int newmem = 0; res = SWIG_ConvertPtrAndOwn($input, &argp, $descriptor(TYPE *), %convertptr_flags, &newmem); if (!SWIG_IsOK(res)) { %argument_fail(res, "$type", $symname, $argnum); } - if (argp) $1 = opencascade::handle< TYPE >(%reinterpret_cast(argp, TYPE*)); + if (argp) { + $1 = opencascade::handle< TYPE >(%reinterpret_cast(argp, TYPE*)); + } else { + $1 = opencascade::handle< TYPE >(); // explicit null Handle + } } - // shared_ptr by reference %typemap(in) opencascade::handle &(void *argp, int res = 0, $*1_ltype tempshared) { int newmem = 0; @@ -111,8 +206,12 @@ template class handle{}; if (!SWIG_IsOK(res)) { %argument_fail(res, "$type", $symname, $argnum); } - - if (argp) tempshared = opencascade::handle< TYPE >(%reinterpret_cast(argp, TYPE*)); + if (argp) { + TYPE* typed_ptr = %reinterpret_cast(argp, TYPE*); + if (typed_ptr) { + tempshared = opencascade::handle< TYPE >(typed_ptr); + } + } $1 = &tempshared; } @@ -124,10 +223,82 @@ template class handle{}; %argument_fail(res, "$type", $symname, $argnum); } - if (argp) tempshared = opencascade::handle< TYPE >(%reinterpret_cast(argp, TYPE*)); + if (argp) { + TYPE* typed_ptr = %reinterpret_cast(argp, TYPE*); + if (typed_ptr) { + tempshared = opencascade::handle< TYPE >(typed_ptr); + } + } $1 = &tempshared; } +// HANDLE REFERENCE PARAMETER HANDLING +// ==================================== +// These typemaps handle the special case where OpenCASCADE functions take +// handle& parameters that they modify in-place. In C++, these modifications +// affect the passed handle directly, but in Python we need to return the +// modified handle as a return value. +// +// Example C++ function: +// void GeomLib::ExtendCurveToPoint(opencascade::handle& Curve, ...) +// +// Desired Python interface: +// modified_curve = GeomLib_ExtendCurveToPoint(original_curve, ...) + +// CONST REFERENCE TYPEMAP - Do nothing for const references +// ---------------------------------------------------------- +// Const references cannot be modified by the function, so we don't need +// to return them. This empty typemap ensures that const handle& parameters +// are treated as input-only parameters. +// This typemap has higher priority than the non-const version below. +%typemap(argout) const opencascade::handle & { + // Intentionally empty - const references are read-only parameters + // Example: GeomAPI_Interpolate(const handle& Points, ...) + // The Points parameter is input-only and won't be returned +} + +// NON-CONST REFERENCE TYPEMAP - Return the modified handle +// --------------------------------------------------------- +// Non-const references can be modified by the function. This typemap +// extracts the modified handle and returns it to Python, replacing +// the default void return value. +%typemap(argout) opencascade::handle & { + TYPE * presult = nullptr; + + // Check if the handle is valid (not null) + if ($1 && !$1->IsNull()) { + // Extract the raw pointer from the handle using get() + // CRITICAL: We must use get() to retrieve the managed object pointer, + // not &$1 which would give us the address of the handle itself + presult = $1->get(); + + if (presult) { + // Increment reference counter to prevent the object from being + // deleted when the C++ handle goes out of scope + // This ensures Python owns a valid reference to the object + presult->IncrementRefCounter(); + +#ifdef DEBUG_MEMORY + // Track handle creation for memory debugging + handle_creation_count++; +#endif + } + } + + // Replace the default void return value with our handle + // Py_XDECREF safely decrements the reference count of the old result (if any) + Py_XDECREF($result); + + // Create a new Python object wrapping the modified handle + // SWIGTYPE_p_##TYPE is the SWIG type descriptor for this specific type + // SWIG_POINTER_OWN tells SWIG that Python owns this object and should + // decrement its reference count when the Python object is garbage collected + $result = SWIG_NewPointerObj(SWIG_as_voidptr(presult), SWIGTYPE_p_ ## TYPE, SWIG_POINTER_OWN); +} + +// Note: Similar typemaps should be added for Handle_TYPE & syntax if needed +// for backward compatibility with older OpenCASCADE code + %typemap(typecheck,precedence=SWIG_TYPECHECK_POINTER,noblock=1) TYPE CONST, TYPE CONST &, @@ -137,7 +308,8 @@ template class handle{}; CONST opencascade::handle &, CONST opencascade::handle *, CONST opencascade::handle *& { - int res = SWIG_ConvertPtr($input, 0, $descriptor(TYPE *), 0); + void *ptr = 0; + int res = SWIG_ConvertPtr($input, &ptr, $descriptor(TYPE *), 0); $1 = SWIG_CheckState(res); } @@ -154,7 +326,7 @@ class TYPE; class Handle_ ## TYPE : public opencascade::handle< TYPE >{ public: template - inline Handle_## TYPE(const T2* theOther) : Handle(TYPE)(theOther) {} \ + inline Handle_## TYPE(const T2* theOther) : opencascade::handle< TYPE >(theOther) {} }; #else typedef opencascade::handle< TYPE > Handle_ ## TYPE; @@ -169,23 +341,54 @@ typedef opencascade::handle< TYPE > Handle_ ## TYPE; WRAP_OCC_TRANSIENT(SWIGEMPTYHACK, TYPE) WRAP_OCC_TRANSIENT(const, TYPE) -%feature("unref") TYPE "if($this && $this->DecrementRefCounter()==0) delete $this;" +%feature("unref") TYPE %{ + if($this) { +#ifdef DEBUG_MEMORY + handle_deletion_count++; +#endif + if($this->DecrementRefCounter() == 0) { + $this->Delete(); + } + } +%} %inline %{ opencascade::handle Handle_ ## TYPE ## _Create() { return opencascade::handle(); } - opencascade::handle Handle_ ## TYPE ## _DownCast(const opencascade::handle& t) { - return opencascade::handle::DownCast(t); + opencascade::handle Handle_ ## TYPE ## _DownCast(const opencascade::handle& t) { + if (t.IsNull()) { + return opencascade::handle(); + } + + opencascade::handle downcasted_handle = opencascade::handle::DownCast(t); + if (downcasted_handle.IsNull()) { + // Plus d'information dans l'erreur + PyErr_Format(PyExc_TypeError, + "Failed to downcast %s to %s", + t->DynamicType()->Name(), + #TYPE); + return opencascade::handle(); + } + return downcasted_handle; } bool Handle_ ## TYPE ## _IsNull(const opencascade::handle & t) { return t.IsNull(); } + + void Handle_ ## TYPE ## _ForceRelease(opencascade::handle & t) { + t.Nullify(); + } + + int Handle_ ## TYPE ## _GetRefCount(const opencascade::handle & t) { + if (t.IsNull()) return 0; + return t->GetRefCount(); + } %} -// This two functions are just for backwards compatibilty +// These two functions are just for backwards compatibility %extend TYPE { %pythoncode { @@ -197,8 +400,6 @@ WRAP_OCC_TRANSIENT(const, TYPE) %enddef - %define %make_alias(TYPE) - +using Handle_ ## TYPE = opencascade::handle; %enddef - diff --git a/src/SWIG_files/common/numpy.i b/src/SWIG_files/common/numpy.i new file mode 100644 index 000000000..747446648 --- /dev/null +++ b/src/SWIG_files/common/numpy.i @@ -0,0 +1,2970 @@ +/* -*- C -*- (not really, but good for syntax highlighting) */ + +/* + * Copyright (c) 2005-2015, NumPy Developers. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials provided + * with the distribution. + * + * * Neither the name of the NumPy Developers nor the names of any + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#ifdef SWIGPYTHON + +%{ +#ifndef SWIG_FILE_WITH_INIT +#define NO_IMPORT_ARRAY +#endif +#include "stdio.h" +#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION +#include +%} + +/**********************************************************************/ + +%fragment("NumPy_Backward_Compatibility", "header") +{ +%#if NPY_API_VERSION < NPY_1_7_API_VERSION +%#define NPY_ARRAY_DEFAULT NPY_DEFAULT +%#define NPY_ARRAY_FARRAY NPY_FARRAY +%#define NPY_FORTRANORDER NPY_FORTRAN +%#endif +} + +/**********************************************************************/ + +/* The following code originally appeared in + * enthought/kiva/agg/src/numeric.i written by Eric Jones. It was + * translated from C++ to C by John Hunter. Bill Spotz has modified + * it to fix some minor bugs, upgrade from Numeric to numpy (all + * versions), add some comments and functionality, and convert from + * direct code insertion to SWIG fragments. + */ + +%fragment("NumPy_Macros", "header") +{ +/* Macros to extract array attributes. + */ +%#if NPY_API_VERSION < NPY_1_7_API_VERSION +%#define is_array(a) ((a) && PyArray_Check((PyArrayObject*)a)) +%#define array_type(a) (int)(PyArray_TYPE((PyArrayObject*)a)) +%#define array_numdims(a) (((PyArrayObject*)a)->nd) +%#define array_dimensions(a) (((PyArrayObject*)a)->dimensions) +%#define array_size(a,i) (((PyArrayObject*)a)->dimensions[i]) +%#define array_strides(a) (((PyArrayObject*)a)->strides) +%#define array_stride(a,i) (((PyArrayObject*)a)->strides[i]) +%#define array_data(a) (((PyArrayObject*)a)->data) +%#define array_descr(a) (((PyArrayObject*)a)->descr) +%#define array_flags(a) (((PyArrayObject*)a)->flags) +%#define array_clearflags(a,f) (((PyArrayObject*)a)->flags) &= ~f +%#define array_enableflags(a,f) (((PyArrayObject*)a)->flags) = f +%#define array_is_fortran(a) (PyArray_ISFORTRAN((PyArrayObject*)a)) +%#else +%#define is_array(a) ((a) && PyArray_Check(a)) +%#define array_type(a) PyArray_TYPE((PyArrayObject*)a) +%#define array_numdims(a) PyArray_NDIM((PyArrayObject*)a) +%#define array_dimensions(a) PyArray_DIMS((PyArrayObject*)a) +%#define array_strides(a) PyArray_STRIDES((PyArrayObject*)a) +%#define array_stride(a,i) PyArray_STRIDE((PyArrayObject*)a,i) +%#define array_size(a,i) PyArray_DIM((PyArrayObject*)a,i) +%#define array_data(a) PyArray_DATA((PyArrayObject*)a) +%#define array_descr(a) PyArray_DESCR((PyArrayObject*)a) +%#define array_flags(a) PyArray_FLAGS((PyArrayObject*)a) +%#define array_enableflags(a,f) PyArray_ENABLEFLAGS((PyArrayObject*)a,f) +%#define array_clearflags(a,f) PyArray_CLEARFLAGS((PyArrayObject*)a,f) +%#define array_is_fortran(a) (PyArray_IS_F_CONTIGUOUS((PyArrayObject*)a)) +%#endif +%#define array_is_contiguous(a) (PyArray_ISCONTIGUOUS((PyArrayObject*)a)) +%#define array_is_native(a) (PyArray_ISNOTSWAPPED((PyArrayObject*)a)) +} + +/**********************************************************************/ + +%fragment("NumPy_Utilities", + "header") +{ + /* Given a PyObject, return a string describing its type. + */ + const char* pytype_string(PyObject* py_obj) + { + if (py_obj == NULL ) return "C NULL value"; + if (py_obj == Py_None ) return "Python None" ; + if (PyCallable_Check(py_obj)) return "callable" ; + if (PyBytes_Check( py_obj)) return "string" ; + if (PyLong_Check( py_obj)) return "int" ; + if (PyFloat_Check( py_obj)) return "float" ; + if (PyDict_Check( py_obj)) return "dict" ; + if (PyList_Check( py_obj)) return "list" ; + if (PyTuple_Check( py_obj)) return "tuple" ; + + return "unknown type"; + } + + /* Given a NumPy typecode, return a string describing the type. + */ + const char* typecode_string(int typecode) + { + static const char* type_names[25] = {"bool", + "byte", + "unsigned byte", + "short", + "unsigned short", + "int", + "unsigned int", + "long", + "unsigned long", + "long long", + "unsigned long long", + "float", + "double", + "long double", + "complex float", + "complex double", + "complex long double", + "object", + "string", + "unicode", + "void", + "ntypes", + "notype", + "char", + "unknown"}; + return typecode < 24 ? type_names[typecode] : type_names[24]; + } + + /* Make sure input has correct numpy type. This now just calls + PyArray_EquivTypenums(). + */ + int type_match(int actual_type, + int desired_type) + { + return PyArray_EquivTypenums(actual_type, desired_type); + } + +void free_cap(PyObject * cap) + { + void* array = (void*) PyCapsule_GetPointer(cap,SWIGPY_CAPSULE_NAME); + if (array != NULL) free(array); + } + + +} + +/**********************************************************************/ + +%fragment("NumPy_Object_to_Array", + "header", + fragment="NumPy_Backward_Compatibility", + fragment="NumPy_Macros", + fragment="NumPy_Utilities") +{ + /* Given a PyObject pointer, cast it to a PyArrayObject pointer if + * legal. If not, set the python error string appropriately and + * return NULL. + */ + PyArrayObject* obj_to_array_no_conversion(PyObject* input, + int typecode) + { + PyArrayObject* ary = NULL; + if (is_array(input) && (typecode == NPY_NOTYPE || + PyArray_EquivTypenums(array_type(input), typecode))) + { + ary = (PyArrayObject*) input; + } + else if is_array(input) + { + const char* desired_type = typecode_string(typecode); + const char* actual_type = typecode_string(array_type(input)); + PyErr_Format(PyExc_TypeError, + "Array of type '%s' required. Array of type '%s' given", + desired_type, actual_type); + ary = NULL; + } + else + { + const char* desired_type = typecode_string(typecode); + const char* actual_type = pytype_string(input); + PyErr_Format(PyExc_TypeError, + "Array of type '%s' required. A '%s' was given", + desired_type, + actual_type); + ary = NULL; + } + return ary; + } + + /* Convert the given PyObject to a NumPy array with the given + * typecode. On success, return a valid PyArrayObject* with the + * correct type. On failure, the python error string will be set and + * the routine returns NULL. + */ + PyArrayObject* obj_to_array_allow_conversion(PyObject* input, + int typecode, + int* is_new_object) + { + PyArrayObject* ary = NULL; + PyObject* py_obj; + if (is_array(input) && (typecode == NPY_NOTYPE || + PyArray_EquivTypenums(array_type(input),typecode))) + { + ary = (PyArrayObject*) input; + *is_new_object = 0; + } + else + { + py_obj = PyArray_FROMANY(input, typecode, 0, 0, NPY_ARRAY_DEFAULT); + /* If NULL, PyArray_FromObject will have set python error value.*/ + ary = (PyArrayObject*) py_obj; + *is_new_object = 1; + } + return ary; + } + + /* Given a PyArrayObject, check to see if it is contiguous. If so, + * return the input pointer and flag it as not a new object. If it is + * not contiguous, create a new PyArrayObject using the original data, + * flag it as a new object and return the pointer. + */ + PyArrayObject* make_contiguous(PyArrayObject* ary, + int* is_new_object, + int min_dims, + int max_dims) + { + PyArrayObject* result; + if (array_is_contiguous(ary)) + { + result = ary; + *is_new_object = 0; + } + else + { + result = (PyArrayObject*) PyArray_ContiguousFromObject((PyObject*)ary, + array_type(ary), + min_dims, + max_dims); + *is_new_object = 1; + } + return result; + } + + /* Given a PyArrayObject, check to see if it is Fortran-contiguous. + * If so, return the input pointer, but do not flag it as not a new + * object. If it is not Fortran-contiguous, create a new + * PyArrayObject using the original data, flag it as a new object + * and return the pointer. + */ + PyArrayObject* make_fortran(PyArrayObject* ary, + int* is_new_object) + { + PyArrayObject* result; + if (array_is_fortran(ary)) + { + result = ary; + *is_new_object = 0; + } + else + { + Py_INCREF(array_descr(ary)); + result = (PyArrayObject*) PyArray_FromArray(ary, + array_descr(ary), +%#if NPY_API_VERSION < NPY_1_7_API_VERSION + NPY_FORTRANORDER); +%#else + NPY_ARRAY_F_CONTIGUOUS); +%#endif + *is_new_object = 1; + } + return result; + } + + /* Convert a given PyObject to a contiguous PyArrayObject of the + * specified type. If the input object is not a contiguous + * PyArrayObject, a new one will be created and the new object flag + * will be set. + */ + PyArrayObject* obj_to_array_contiguous_allow_conversion(PyObject* input, + int typecode, + int* is_new_object) + { + int is_new1 = 0; + int is_new2 = 0; + PyArrayObject* ary2; + PyArrayObject* ary1 = obj_to_array_allow_conversion(input, + typecode, + &is_new1); + if (ary1) + { + ary2 = make_contiguous(ary1, &is_new2, 0, 0); + if ( is_new1 && is_new2) + { + Py_DECREF(ary1); + } + ary1 = ary2; + } + *is_new_object = is_new1 || is_new2; + return ary1; + } + + /* Convert a given PyObject to a Fortran-ordered PyArrayObject of the + * specified type. If the input object is not a Fortran-ordered + * PyArrayObject, a new one will be created and the new object flag + * will be set. + */ + PyArrayObject* obj_to_array_fortran_allow_conversion(PyObject* input, + int typecode, + int* is_new_object) + { + int is_new1 = 0; + int is_new2 = 0; + PyArrayObject* ary2; + PyArrayObject* ary1 = obj_to_array_allow_conversion(input, + typecode, + &is_new1); + if (ary1) + { + ary2 = make_fortran(ary1, &is_new2); + if (is_new1 && is_new2) + { + Py_DECREF(ary1); + } + ary1 = ary2; + } + *is_new_object = is_new1 || is_new2; + return ary1; + } +} /* end fragment */ + +/**********************************************************************/ + +%fragment("NumPy_Array_Requirements", + "header", + fragment="NumPy_Backward_Compatibility", + fragment="NumPy_Macros") +{ + /* Test whether a python object is contiguous. If array is + * contiguous, return 1. Otherwise, set the python error string and + * return 0. + */ + int require_contiguous(PyArrayObject* ary) + { + int contiguous = 1; + if (!array_is_contiguous(ary)) + { + PyErr_SetString(PyExc_TypeError, + "Array must be contiguous. A non-contiguous array was given"); + contiguous = 0; + } + return contiguous; + } + + /* Test whether a python object is (C_ or F_) contiguous. If array is + * contiguous, return 1. Otherwise, set the python error string and + * return 0. + */ + int require_c_or_f_contiguous(PyArrayObject* ary) + { + int contiguous = 1; + if (!(array_is_contiguous(ary) || array_is_fortran(ary))) + { + PyErr_SetString(PyExc_TypeError, + "Array must be contiguous (C_ or F_). A non-contiguous array was given"); + contiguous = 0; + } + return contiguous; + } + + /* Require that a numpy array is not byte-swapped. If the array is + * not byte-swapped, return 1. Otherwise, set the python error string + * and return 0. + */ + int require_native(PyArrayObject* ary) + { + int native = 1; + if (!array_is_native(ary)) + { + PyErr_SetString(PyExc_TypeError, + "Array must have native byteorder. " + "A byte-swapped array was given"); + native = 0; + } + return native; + } + + /* Require the given PyArrayObject to have a specified number of + * dimensions. If the array has the specified number of dimensions, + * return 1. Otherwise, set the python error string and return 0. + */ + int require_dimensions(PyArrayObject* ary, + int exact_dimensions) + { + int success = 1; + if (array_numdims(ary) != exact_dimensions) + { + PyErr_Format(PyExc_TypeError, + "Array must have %d dimensions. Given array has %d dimensions", + exact_dimensions, + array_numdims(ary)); + success = 0; + } + return success; + } + + /* Require the given PyArrayObject to have one of a list of specified + * number of dimensions. If the array has one of the specified number + * of dimensions, return 1. Otherwise, set the python error string + * and return 0. + */ + int require_dimensions_n(PyArrayObject* ary, + int* exact_dimensions, + int n) + { + int success = 0; + int i; + char dims_str[255] = ""; + char s[255]; + for (i = 0; i < n && !success; i++) + { + if (array_numdims(ary) == exact_dimensions[i]) + { + success = 1; + } + } + if (!success) + { + for (i = 0; i < n-1; i++) + { + sprintf(s, "%d, ", exact_dimensions[i]); + strcat(dims_str,s); + } + sprintf(s, " or %d", exact_dimensions[n-1]); + strcat(dims_str,s); + PyErr_Format(PyExc_TypeError, + "Array must have %s dimensions. Given array has %d dimensions", + dims_str, + array_numdims(ary)); + } + return success; + } + + /* Require the given PyArrayObject to have a specified shape. If the + * array has the specified shape, return 1. Otherwise, set the python + * error string and return 0. + */ + int require_size(PyArrayObject* ary, + npy_intp* size, + int n) + { + int i; + int success = 1; + size_t len; + char desired_dims[255] = "["; + char s[255]; + char actual_dims[255] = "["; + for(i=0; i < n;i++) + { + if (size[i] != -1 && size[i] != array_size(ary,i)) + { + success = 0; + } + } + if (!success) + { + for (i = 0; i < n; i++) + { + if (size[i] == -1) + { + sprintf(s, "*,"); + } + else + { + sprintf(s, "%ld,", (long int)size[i]); + } + strcat(desired_dims,s); + } + len = strlen(desired_dims); + desired_dims[len-1] = ']'; + for (i = 0; i < n; i++) + { + sprintf(s, "%ld,", (long int)array_size(ary,i)); + strcat(actual_dims,s); + } + len = strlen(actual_dims); + actual_dims[len-1] = ']'; + PyErr_Format(PyExc_TypeError, + "Array must have shape of %s. Given array has shape of %s", + desired_dims, + actual_dims); + } + return success; + } + + /* Require the given PyArrayObject to be Fortran ordered. If the + * the PyArrayObject is already Fortran ordered, do nothing. Else, + * set the Fortran ordering flag and recompute the strides. + */ + int require_fortran(PyArrayObject* ary) + { + int success = 1; + int nd = array_numdims(ary); + int i; + npy_intp * strides = array_strides(ary); + if (array_is_fortran(ary)) return success; + int n_non_one = 0; + /* Set the Fortran ordered flag */ + const npy_intp *dims = array_dimensions(ary); + for (i=0; i < nd; ++i) + n_non_one += (dims[i] != 1) ? 1 : 0; + if (n_non_one > 1) + array_clearflags(ary,NPY_ARRAY_CARRAY); + array_enableflags(ary,NPY_ARRAY_FARRAY); + /* Recompute the strides */ + strides[0] = strides[nd-1]; + for (i=1; i < nd; ++i) + strides[i] = strides[i-1] * array_size(ary,i-1); + return success; + } +} + +/* Combine all NumPy fragments into one for convenience */ +%fragment("NumPy_Fragments", + "header", + fragment="NumPy_Backward_Compatibility", + fragment="NumPy_Macros", + fragment="NumPy_Utilities", + fragment="NumPy_Object_to_Array", + fragment="NumPy_Array_Requirements") +{ +} + +/* End John Hunter translation (with modifications by Bill Spotz) + */ + +/* %numpy_typemaps() macro + * + * This macro defines a family of 75 typemaps that allow C arguments + * of the form + * + * 1. (DATA_TYPE IN_ARRAY1[ANY]) + * 2. (DATA_TYPE* IN_ARRAY1, DIM_TYPE DIM1) + * 3. (DIM_TYPE DIM1, DATA_TYPE* IN_ARRAY1) + * + * 4. (DATA_TYPE IN_ARRAY2[ANY][ANY]) + * 5. (DATA_TYPE* IN_ARRAY2, DIM_TYPE DIM1, DIM_TYPE DIM2) + * 6. (DIM_TYPE DIM1, DIM_TYPE DIM2, DATA_TYPE* IN_ARRAY2) + * 7. (DATA_TYPE* IN_FARRAY2, DIM_TYPE DIM1, DIM_TYPE DIM2) + * 8. (DIM_TYPE DIM1, DIM_TYPE DIM2, DATA_TYPE* IN_FARRAY2) + * + * 9. (DATA_TYPE IN_ARRAY3[ANY][ANY][ANY]) + * 10. (DATA_TYPE* IN_ARRAY3, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3) + * 11. (DATA_TYPE** IN_ARRAY3, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3) + * 12. (DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DATA_TYPE* IN_ARRAY3) + * 13. (DATA_TYPE* IN_FARRAY3, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3) + * 14. (DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DATA_TYPE* IN_FARRAY3) + * + * 15. (DATA_TYPE IN_ARRAY4[ANY][ANY][ANY][ANY]) + * 16. (DATA_TYPE* IN_ARRAY4, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DIM_TYPE DIM4) + * 17. (DATA_TYPE** IN_ARRAY4, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DIM_TYPE DIM4) + * 18. (DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, , DIM_TYPE DIM4, DATA_TYPE* IN_ARRAY4) + * 19. (DATA_TYPE* IN_FARRAY4, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DIM_TYPE DIM4) + * 20. (DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DIM_TYPE DIM4, DATA_TYPE* IN_FARRAY4) + * + * 21. (DATA_TYPE INPLACE_ARRAY1[ANY]) + * 22. (DATA_TYPE* INPLACE_ARRAY1, DIM_TYPE DIM1) + * 23. (DIM_TYPE DIM1, DATA_TYPE* INPLACE_ARRAY1) + * + * 24. (DATA_TYPE INPLACE_ARRAY2[ANY][ANY]) + * 25. (DATA_TYPE* INPLACE_ARRAY2, DIM_TYPE DIM1, DIM_TYPE DIM2) + * 26. (DIM_TYPE DIM1, DIM_TYPE DIM2, DATA_TYPE* INPLACE_ARRAY2) + * 27. (DATA_TYPE* INPLACE_FARRAY2, DIM_TYPE DIM1, DIM_TYPE DIM2) + * 28. (DIM_TYPE DIM1, DIM_TYPE DIM2, DATA_TYPE* INPLACE_FARRAY2) + * + * 29. (DATA_TYPE INPLACE_ARRAY3[ANY][ANY][ANY]) + * 30. (DATA_TYPE* INPLACE_ARRAY3, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3) + * 31. (DATA_TYPE** INPLACE_ARRAY3, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3) + * 32. (DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DATA_TYPE* INPLACE_ARRAY3) + * 33. (DATA_TYPE* INPLACE_FARRAY3, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3) + * 34. (DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DATA_TYPE* INPLACE_FARRAY3) + * + * 35. (DATA_TYPE INPLACE_ARRAY4[ANY][ANY][ANY][ANY]) + * 36. (DATA_TYPE* INPLACE_ARRAY4, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DIM_TYPE DIM4) + * 37. (DATA_TYPE** INPLACE_ARRAY4, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DIM_TYPE DIM4) + * 38. (DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DIM_TYPE DIM4, DATA_TYPE* INPLACE_ARRAY4) + * 39. (DATA_TYPE* INPLACE_FARRAY4, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DIM_TYPE DIM4) + * 40. (DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DIM_TYPE DIM4, DATA_TYPE* INPLACE_FARRAY4) + * + * 41. (DATA_TYPE ARGOUT_ARRAY1[ANY]) + * 42. (DATA_TYPE* ARGOUT_ARRAY1, DIM_TYPE DIM1) + * 43. (DIM_TYPE DIM1, DATA_TYPE* ARGOUT_ARRAY1) + * + * 44. (DATA_TYPE ARGOUT_ARRAY2[ANY][ANY]) + * + * 45. (DATA_TYPE ARGOUT_ARRAY3[ANY][ANY][ANY]) + * + * 46. (DATA_TYPE ARGOUT_ARRAY4[ANY][ANY][ANY][ANY]) + * + * 47. (DATA_TYPE** ARGOUTVIEW_ARRAY1, DIM_TYPE* DIM1) + * 48. (DIM_TYPE* DIM1, DATA_TYPE** ARGOUTVIEW_ARRAY1) + * + * 49. (DATA_TYPE** ARGOUTVIEW_ARRAY2, DIM_TYPE* DIM1, DIM_TYPE* DIM2) + * 50. (DIM_TYPE* DIM1, DIM_TYPE* DIM2, DATA_TYPE** ARGOUTVIEW_ARRAY2) + * 51. (DATA_TYPE** ARGOUTVIEW_FARRAY2, DIM_TYPE* DIM1, DIM_TYPE* DIM2) + * 52. (DIM_TYPE* DIM1, DIM_TYPE* DIM2, DATA_TYPE** ARGOUTVIEW_FARRAY2) + * + * 53. (DATA_TYPE** ARGOUTVIEW_ARRAY3, DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3) + * 54. (DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3, DATA_TYPE** ARGOUTVIEW_ARRAY3) + * 55. (DATA_TYPE** ARGOUTVIEW_FARRAY3, DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3) + * 56. (DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3, DATA_TYPE** ARGOUTVIEW_FARRAY3) + * + * 57. (DATA_TYPE** ARGOUTVIEW_ARRAY4, DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3, DIM_TYPE* DIM4) + * 58. (DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3, DIM_TYPE* DIM4, DATA_TYPE** ARGOUTVIEW_ARRAY4) + * 59. (DATA_TYPE** ARGOUTVIEW_FARRAY4, DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3, DIM_TYPE* DIM4) + * 60. (DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3, DIM_TYPE* DIM4, DATA_TYPE** ARGOUTVIEW_FARRAY4) + * + * 61. (DATA_TYPE** ARGOUTVIEWM_ARRAY1, DIM_TYPE* DIM1) + * 62. (DIM_TYPE* DIM1, DATA_TYPE** ARGOUTVIEWM_ARRAY1) + * + * 63. (DATA_TYPE** ARGOUTVIEWM_ARRAY2, DIM_TYPE* DIM1, DIM_TYPE* DIM2) + * 64. (DIM_TYPE* DIM1, DIM_TYPE* DIM2, DATA_TYPE** ARGOUTVIEWM_ARRAY2) + * 65. (DATA_TYPE** ARGOUTVIEWM_FARRAY2, DIM_TYPE* DIM1, DIM_TYPE* DIM2) + * 66. (DIM_TYPE* DIM1, DIM_TYPE* DIM2, DATA_TYPE** ARGOUTVIEWM_FARRAY2) + * + * 67. (DATA_TYPE** ARGOUTVIEWM_ARRAY3, DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3) + * 68. (DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3, DATA_TYPE** ARGOUTVIEWM_ARRAY3) + * 69. (DATA_TYPE** ARGOUTVIEWM_FARRAY3, DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3) + * 70. (DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3, DATA_TYPE** ARGOUTVIEWM_FARRAY3) + * + * 71. (DATA_TYPE** ARGOUTVIEWM_ARRAY4, DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3, DIM_TYPE* DIM4) + * 72. (DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3, DIM_TYPE* DIM4, DATA_TYPE** ARGOUTVIEWM_ARRAY4) + * 73. (DATA_TYPE** ARGOUTVIEWM_FARRAY4, DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3, DIM_TYPE* DIM4) + * 74. (DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3, DIM_TYPE* DIM4, DATA_TYPE** ARGOUTVIEWM_FARRAY4) + * + * 75. (DATA_TYPE* INPLACE_ARRAY_FLAT, DIM_TYPE DIM_FLAT) + * + * where "DATA_TYPE" is any type supported by the NumPy module, and + * "DIM_TYPE" is any int-like type suitable for specifying dimensions. + * The difference between "ARRAY" typemaps and "FARRAY" typemaps is + * that the "FARRAY" typemaps expect Fortran ordering of + * multidimensional arrays. In python, the dimensions will not need + * to be specified (except for the "DATA_TYPE* ARGOUT_ARRAY1" + * typemaps). The IN_ARRAYs can be a numpy array or any sequence that + * can be converted to a numpy array of the specified type. The + * INPLACE_ARRAYs must be numpy arrays of the appropriate type. The + * ARGOUT_ARRAYs will be returned as new numpy arrays of the + * appropriate type. + * + * These typemaps can be applied to existing functions using the + * %apply directive. For example: + * + * %apply (double* IN_ARRAY1, int DIM1) {(double* series, int length)}; + * double prod(double* series, int length); + * + * %apply (int DIM1, int DIM2, double* INPLACE_ARRAY2) + * {(int rows, int cols, double* matrix )}; + * void floor(int rows, int cols, double* matrix, double f); + * + * %apply (double IN_ARRAY3[ANY][ANY][ANY]) + * {(double tensor[2][2][2] )}; + * %apply (double ARGOUT_ARRAY3[ANY][ANY][ANY]) + * {(double low[2][2][2] )}; + * %apply (double ARGOUT_ARRAY3[ANY][ANY][ANY]) + * {(double upp[2][2][2] )}; + * void luSplit(double tensor[2][2][2], + * double low[2][2][2], + * double upp[2][2][2] ); + * + * or directly with + * + * double prod(double* IN_ARRAY1, int DIM1); + * + * void floor(int DIM1, int DIM2, double* INPLACE_ARRAY2, double f); + * + * void luSplit(double IN_ARRAY3[ANY][ANY][ANY], + * double ARGOUT_ARRAY3[ANY][ANY][ANY], + * double ARGOUT_ARRAY3[ANY][ANY][ANY]); + */ + +%define %numpy_typemaps(DATA_TYPE, DATA_TYPECODE, DIM_TYPE) + +/************************/ +/* Input Array Typemaps */ +/************************/ + +/* Typemap suite for (DATA_TYPE IN_ARRAY1[ANY]) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DATA_TYPE IN_ARRAY1[ANY]) +{ + $1 = is_array($input) || PySequence_Check($input); +} +%typemap(in, + fragment="NumPy_Fragments") + (DATA_TYPE IN_ARRAY1[ANY]) + (PyArrayObject* array=NULL, int is_new_object=0) +{ + npy_intp size[1] = { $1_dim0 }; + array = obj_to_array_contiguous_allow_conversion($input, + DATA_TYPECODE, + &is_new_object); + if (!array || !require_dimensions(array, 1) || + !require_size(array, size, 1)) SWIG_fail; + $1 = ($1_ltype) array_data(array); +} +%typemap(freearg) + (DATA_TYPE IN_ARRAY1[ANY]) +{ + if (is_new_object$argnum && array$argnum) + { Py_DECREF(array$argnum); } +} + +/* Typemap suite for (DATA_TYPE* IN_ARRAY1, DIM_TYPE DIM1) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DATA_TYPE* IN_ARRAY1, DIM_TYPE DIM1) +{ + $1 = is_array($input) || PySequence_Check($input); +} +%typemap(in, + fragment="NumPy_Fragments") + (DATA_TYPE* IN_ARRAY1, DIM_TYPE DIM1) + (PyArrayObject* array=NULL, int is_new_object=0) +{ + npy_intp size[1] = { -1 }; + array = obj_to_array_contiguous_allow_conversion($input, + DATA_TYPECODE, + &is_new_object); + if (!array || !require_dimensions(array, 1) || + !require_size(array, size, 1)) SWIG_fail; + $1 = (DATA_TYPE*) array_data(array); + $2 = (DIM_TYPE) array_size(array,0); +} +%typemap(freearg) + (DATA_TYPE* IN_ARRAY1, DIM_TYPE DIM1) +{ + if (is_new_object$argnum && array$argnum) + { Py_DECREF(array$argnum); } +} + +/* Typemap suite for (DIM_TYPE DIM1, DATA_TYPE* IN_ARRAY1) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DIM_TYPE DIM1, DATA_TYPE* IN_ARRAY1) +{ + $1 = is_array($input) || PySequence_Check($input); +} +%typemap(in, + fragment="NumPy_Fragments") + (DIM_TYPE DIM1, DATA_TYPE* IN_ARRAY1) + (PyArrayObject* array=NULL, int is_new_object=0) +{ + npy_intp size[1] = {-1}; + array = obj_to_array_contiguous_allow_conversion($input, + DATA_TYPECODE, + &is_new_object); + if (!array || !require_dimensions(array, 1) || + !require_size(array, size, 1)) SWIG_fail; + $1 = (DIM_TYPE) array_size(array,0); + $2 = (DATA_TYPE*) array_data(array); +} +%typemap(freearg) + (DIM_TYPE DIM1, DATA_TYPE* IN_ARRAY1) +{ + if (is_new_object$argnum && array$argnum) + { Py_DECREF(array$argnum); } +} + +/* Typemap suite for (DATA_TYPE IN_ARRAY2[ANY][ANY]) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DATA_TYPE IN_ARRAY2[ANY][ANY]) +{ + $1 = is_array($input) || PySequence_Check($input); +} +%typemap(in, + fragment="NumPy_Fragments") + (DATA_TYPE IN_ARRAY2[ANY][ANY]) + (PyArrayObject* array=NULL, int is_new_object=0) +{ + npy_intp size[2] = { $1_dim0, $1_dim1 }; + array = obj_to_array_contiguous_allow_conversion($input, + DATA_TYPECODE, + &is_new_object); + if (!array || !require_dimensions(array, 2) || + !require_size(array, size, 2)) SWIG_fail; + $1 = ($1_ltype) array_data(array); +} +%typemap(freearg) + (DATA_TYPE IN_ARRAY2[ANY][ANY]) +{ + if (is_new_object$argnum && array$argnum) + { Py_DECREF(array$argnum); } +} + +/* Typemap suite for (DATA_TYPE* IN_ARRAY2, DIM_TYPE DIM1, DIM_TYPE DIM2) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DATA_TYPE* IN_ARRAY2, DIM_TYPE DIM1, DIM_TYPE DIM2) +{ + $1 = is_array($input) || PySequence_Check($input); +} +%typemap(in, + fragment="NumPy_Fragments") + (DATA_TYPE* IN_ARRAY2, DIM_TYPE DIM1, DIM_TYPE DIM2) + (PyArrayObject* array=NULL, int is_new_object=0) +{ + npy_intp size[2] = { -1, -1 }; + array = obj_to_array_contiguous_allow_conversion($input, DATA_TYPECODE, + &is_new_object); + if (!array || !require_dimensions(array, 2) || + !require_size(array, size, 2)) SWIG_fail; + $1 = (DATA_TYPE*) array_data(array); + $2 = (DIM_TYPE) array_size(array,0); + $3 = (DIM_TYPE) array_size(array,1); +} +%typemap(freearg) + (DATA_TYPE* IN_ARRAY2, DIM_TYPE DIM1, DIM_TYPE DIM2) +{ + if (is_new_object$argnum && array$argnum) + { Py_DECREF(array$argnum); } +} + +/* Typemap suite for (DIM_TYPE DIM1, DIM_TYPE DIM2, DATA_TYPE* IN_ARRAY2) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DIM_TYPE DIM1, DIM_TYPE DIM2, DATA_TYPE* IN_ARRAY2) +{ + $1 = is_array($input) || PySequence_Check($input); +} +%typemap(in, + fragment="NumPy_Fragments") + (DIM_TYPE DIM1, DIM_TYPE DIM2, DATA_TYPE* IN_ARRAY2) + (PyArrayObject* array=NULL, int is_new_object=0) +{ + npy_intp size[2] = { -1, -1 }; + array = obj_to_array_contiguous_allow_conversion($input, + DATA_TYPECODE, + &is_new_object); + if (!array || !require_dimensions(array, 2) || + !require_size(array, size, 2)) SWIG_fail; + $1 = (DIM_TYPE) array_size(array,0); + $2 = (DIM_TYPE) array_size(array,1); + $3 = (DATA_TYPE*) array_data(array); +} +%typemap(freearg) + (DIM_TYPE DIM1, DIM_TYPE DIM2, DATA_TYPE* IN_ARRAY2) +{ + if (is_new_object$argnum && array$argnum) + { Py_DECREF(array$argnum); } +} + +/* Typemap suite for (DATA_TYPE* IN_FARRAY2, DIM_TYPE DIM1, DIM_TYPE DIM2) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DATA_TYPE* IN_FARRAY2, DIM_TYPE DIM1, DIM_TYPE DIM2) +{ + $1 = is_array($input) || PySequence_Check($input); +} +%typemap(in, + fragment="NumPy_Fragments") + (DATA_TYPE* IN_FARRAY2, DIM_TYPE DIM1, DIM_TYPE DIM2) + (PyArrayObject* array=NULL, int is_new_object=0) +{ + npy_intp size[2] = { -1, -1 }; + array = obj_to_array_fortran_allow_conversion($input, + DATA_TYPECODE, + &is_new_object); + if (!array || !require_dimensions(array, 2) || + !require_size(array, size, 2) || !require_fortran(array)) SWIG_fail; + $1 = (DATA_TYPE*) array_data(array); + $2 = (DIM_TYPE) array_size(array,0); + $3 = (DIM_TYPE) array_size(array,1); +} +%typemap(freearg) + (DATA_TYPE* IN_FARRAY2, DIM_TYPE DIM1, DIM_TYPE DIM2) +{ + if (is_new_object$argnum && array$argnum) + { Py_DECREF(array$argnum); } +} + +/* Typemap suite for (DIM_TYPE DIM1, DIM_TYPE DIM2, DATA_TYPE* IN_FARRAY2) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DIM_TYPE DIM1, DIM_TYPE DIM2, DATA_TYPE* IN_FARRAY2) +{ + $1 = is_array($input) || PySequence_Check($input); +} +%typemap(in, + fragment="NumPy_Fragments") + (DIM_TYPE DIM1, DIM_TYPE DIM2, DATA_TYPE* IN_FARRAY2) + (PyArrayObject* array=NULL, int is_new_object=0) +{ + npy_intp size[2] = { -1, -1 }; + array = obj_to_array_fortran_allow_conversion($input, + DATA_TYPECODE, + &is_new_object); + if (!array || !require_dimensions(array, 2) || + !require_size(array, size, 2) || !require_fortran(array)) SWIG_fail; + $1 = (DIM_TYPE) array_size(array,0); + $2 = (DIM_TYPE) array_size(array,1); + $3 = (DATA_TYPE*) array_data(array); +} +%typemap(freearg) + (DIM_TYPE DIM1, DIM_TYPE DIM2, DATA_TYPE* IN_FARRAY2) +{ + if (is_new_object$argnum && array$argnum) + { Py_DECREF(array$argnum); } +} + +/* Typemap suite for (DATA_TYPE IN_ARRAY3[ANY][ANY][ANY]) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DATA_TYPE IN_ARRAY3[ANY][ANY][ANY]) +{ + $1 = is_array($input) || PySequence_Check($input); +} +%typemap(in, + fragment="NumPy_Fragments") + (DATA_TYPE IN_ARRAY3[ANY][ANY][ANY]) + (PyArrayObject* array=NULL, int is_new_object=0) +{ + npy_intp size[3] = { $1_dim0, $1_dim1, $1_dim2 }; + array = obj_to_array_contiguous_allow_conversion($input, + DATA_TYPECODE, + &is_new_object); + if (!array || !require_dimensions(array, 3) || + !require_size(array, size, 3)) SWIG_fail; + $1 = ($1_ltype) array_data(array); +} +%typemap(freearg) + (DATA_TYPE IN_ARRAY3[ANY][ANY][ANY]) +{ + if (is_new_object$argnum && array$argnum) + { Py_DECREF(array$argnum); } +} + +/* Typemap suite for (DATA_TYPE* IN_ARRAY3, DIM_TYPE DIM1, DIM_TYPE DIM2, + * DIM_TYPE DIM3) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DATA_TYPE* IN_ARRAY3, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3) +{ + $1 = is_array($input) || PySequence_Check($input); +} +%typemap(in, + fragment="NumPy_Fragments") + (DATA_TYPE* IN_ARRAY3, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3) + (PyArrayObject* array=NULL, int is_new_object=0) +{ + npy_intp size[3] = { -1, -1, -1 }; + array = obj_to_array_contiguous_allow_conversion($input, DATA_TYPECODE, + &is_new_object); + if (!array || !require_dimensions(array, 3) || + !require_size(array, size, 3)) SWIG_fail; + $1 = (DATA_TYPE*) array_data(array); + $2 = (DIM_TYPE) array_size(array,0); + $3 = (DIM_TYPE) array_size(array,1); + $4 = (DIM_TYPE) array_size(array,2); +} +%typemap(freearg) + (DATA_TYPE* IN_ARRAY3, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3) +{ + if (is_new_object$argnum && array$argnum) + { Py_DECREF(array$argnum); } +} + +/* Typemap suite for (DATA_TYPE** IN_ARRAY3, DIM_TYPE DIM1, DIM_TYPE DIM2, + * DIM_TYPE DIM3) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DATA_TYPE** IN_ARRAY3, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3) +{ + /* for now, only concerned with lists */ + $1 = PySequence_Check($input); +} +%typemap(in, + fragment="NumPy_Fragments") + (DATA_TYPE** IN_ARRAY3, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3) + (DATA_TYPE** array=NULL, PyArrayObject** object_array=NULL, int* is_new_object_array=NULL) +{ + npy_intp size[2] = { -1, -1 }; + PyArrayObject* temp_array; + Py_ssize_t i; + int is_new_object; + + /* length of the list */ + $2 = PyList_Size($input); + + /* the arrays */ + array = (DATA_TYPE **)malloc($2*sizeof(DATA_TYPE *)); + object_array = (PyArrayObject **)calloc($2,sizeof(PyArrayObject *)); + is_new_object_array = (int *)calloc($2,sizeof(int)); + + if (array == NULL || object_array == NULL || is_new_object_array == NULL) + { + SWIG_fail; + } + + for (i=0; i<$2; i++) + { + temp_array = obj_to_array_contiguous_allow_conversion(PySequence_GetItem($input,i), DATA_TYPECODE, &is_new_object); + + /* the new array must be stored so that it can be destroyed in freearg */ + object_array[i] = temp_array; + is_new_object_array[i] = is_new_object; + + if (!temp_array || !require_dimensions(temp_array, 2)) SWIG_fail; + + /* store the size of the first array in the list, then use that for comparison. */ + if (i == 0) + { + size[0] = array_size(temp_array,0); + size[1] = array_size(temp_array,1); + } + + if (!require_size(temp_array, size, 2)) SWIG_fail; + + array[i] = (DATA_TYPE*) array_data(temp_array); + } + + $1 = (DATA_TYPE**) array; + $3 = (DIM_TYPE) size[0]; + $4 = (DIM_TYPE) size[1]; +} +%typemap(freearg) + (DATA_TYPE** IN_ARRAY3, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3) +{ + Py_ssize_t i; + + if (array$argnum!=NULL) free(array$argnum); + + /*freeing the individual arrays if needed */ + if (object_array$argnum!=NULL) + { + if (is_new_object_array$argnum!=NULL) + { + for (i=0; i<$2; i++) + { + if (object_array$argnum[i] != NULL && is_new_object_array$argnum[i]) + { Py_DECREF(object_array$argnum[i]); } + } + free(is_new_object_array$argnum); + } + free(object_array$argnum); + } +} + +/* Typemap suite for (DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, + * DATA_TYPE* IN_ARRAY3) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DATA_TYPE* IN_ARRAY3) +{ + $1 = is_array($input) || PySequence_Check($input); +} +%typemap(in, + fragment="NumPy_Fragments") + (DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DATA_TYPE* IN_ARRAY3) + (PyArrayObject* array=NULL, int is_new_object=0) +{ + npy_intp size[3] = { -1, -1, -1 }; + array = obj_to_array_contiguous_allow_conversion($input, DATA_TYPECODE, + &is_new_object); + if (!array || !require_dimensions(array, 3) || + !require_size(array, size, 3)) SWIG_fail; + $1 = (DIM_TYPE) array_size(array,0); + $2 = (DIM_TYPE) array_size(array,1); + $3 = (DIM_TYPE) array_size(array,2); + $4 = (DATA_TYPE*) array_data(array); +} +%typemap(freearg) + (DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DATA_TYPE* IN_ARRAY3) +{ + if (is_new_object$argnum && array$argnum) + { Py_DECREF(array$argnum); } +} + +/* Typemap suite for (DATA_TYPE* IN_FARRAY3, DIM_TYPE DIM1, DIM_TYPE DIM2, + * DIM_TYPE DIM3) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DATA_TYPE* IN_FARRAY3, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3) +{ + $1 = is_array($input) || PySequence_Check($input); +} +%typemap(in, + fragment="NumPy_Fragments") + (DATA_TYPE* IN_FARRAY3, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3) + (PyArrayObject* array=NULL, int is_new_object=0) +{ + npy_intp size[3] = { -1, -1, -1 }; + array = obj_to_array_fortran_allow_conversion($input, DATA_TYPECODE, + &is_new_object); + if (!array || !require_dimensions(array, 3) || + !require_size(array, size, 3) | !require_fortran(array)) SWIG_fail; + $1 = (DATA_TYPE*) array_data(array); + $2 = (DIM_TYPE) array_size(array,0); + $3 = (DIM_TYPE) array_size(array,1); + $4 = (DIM_TYPE) array_size(array,2); +} +%typemap(freearg) + (DATA_TYPE* IN_FARRAY3, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3) +{ + if (is_new_object$argnum && array$argnum) + { Py_DECREF(array$argnum); } +} + +/* Typemap suite for (DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, + * DATA_TYPE* IN_FARRAY3) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DATA_TYPE* IN_FARRAY3) +{ + $1 = is_array($input) || PySequence_Check($input); +} +%typemap(in, + fragment="NumPy_Fragments") + (DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DATA_TYPE* IN_FARRAY3) + (PyArrayObject* array=NULL, int is_new_object=0) +{ + npy_intp size[3] = { -1, -1, -1 }; + array = obj_to_array_fortran_allow_conversion($input, + DATA_TYPECODE, + &is_new_object); + if (!array || !require_dimensions(array, 3) || + !require_size(array, size, 3) || !require_fortran(array)) SWIG_fail; + $1 = (DIM_TYPE) array_size(array,0); + $2 = (DIM_TYPE) array_size(array,1); + $3 = (DIM_TYPE) array_size(array,2); + $4 = (DATA_TYPE*) array_data(array); +} +%typemap(freearg) + (DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DATA_TYPE* IN_FARRAY3) +{ + if (is_new_object$argnum && array$argnum) + { Py_DECREF(array$argnum); } +} + +/* Typemap suite for (DATA_TYPE IN_ARRAY4[ANY][ANY][ANY][ANY]) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DATA_TYPE IN_ARRAY4[ANY][ANY][ANY][ANY]) +{ + $1 = is_array($input) || PySequence_Check($input); +} +%typemap(in, + fragment="NumPy_Fragments") + (DATA_TYPE IN_ARRAY4[ANY][ANY][ANY][ANY]) + (PyArrayObject* array=NULL, int is_new_object=0) +{ + npy_intp size[4] = { $1_dim0, $1_dim1, $1_dim2 , $1_dim3}; + array = obj_to_array_contiguous_allow_conversion($input, DATA_TYPECODE, + &is_new_object); + if (!array || !require_dimensions(array, 4) || + !require_size(array, size, 4)) SWIG_fail; + $1 = ($1_ltype) array_data(array); +} +%typemap(freearg) + (DATA_TYPE IN_ARRAY4[ANY][ANY][ANY][ANY]) +{ + if (is_new_object$argnum && array$argnum) + { Py_DECREF(array$argnum); } +} + +/* Typemap suite for (DATA_TYPE* IN_ARRAY4, DIM_TYPE DIM1, DIM_TYPE DIM2, + * DIM_TYPE DIM3, DIM_TYPE DIM4) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DATA_TYPE* IN_ARRAY4, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DIM_TYPE DIM4) +{ + $1 = is_array($input) || PySequence_Check($input); +} +%typemap(in, + fragment="NumPy_Fragments") + (DATA_TYPE* IN_ARRAY4, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DIM_TYPE DIM4) + (PyArrayObject* array=NULL, int is_new_object=0) +{ + npy_intp size[4] = { -1, -1, -1, -1 }; + array = obj_to_array_contiguous_allow_conversion($input, DATA_TYPECODE, + &is_new_object); + if (!array || !require_dimensions(array, 4) || + !require_size(array, size, 4)) SWIG_fail; + $1 = (DATA_TYPE*) array_data(array); + $2 = (DIM_TYPE) array_size(array,0); + $3 = (DIM_TYPE) array_size(array,1); + $4 = (DIM_TYPE) array_size(array,2); + $5 = (DIM_TYPE) array_size(array,3); +} +%typemap(freearg) + (DATA_TYPE* IN_ARRAY4, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DIM_TYPE DIM4) +{ + if (is_new_object$argnum && array$argnum) + { Py_DECREF(array$argnum); } +} + +/* Typemap suite for (DATA_TYPE** IN_ARRAY4, DIM_TYPE DIM1, DIM_TYPE DIM2, + * DIM_TYPE DIM3, DIM_TYPE DIM4) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DATA_TYPE** IN_ARRAY4, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DIM_TYPE DIM4) +{ + /* for now, only concerned with lists */ + $1 = PySequence_Check($input); +} +%typemap(in, + fragment="NumPy_Fragments") + (DATA_TYPE** IN_ARRAY4, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DIM_TYPE DIM4) + (DATA_TYPE** array=NULL, PyArrayObject** object_array=NULL, int* is_new_object_array=NULL) +{ + npy_intp size[3] = { -1, -1, -1 }; + PyArrayObject* temp_array; + Py_ssize_t i; + int is_new_object; + + /* length of the list */ + $2 = PyList_Size($input); + + /* the arrays */ + array = (DATA_TYPE **)malloc($2*sizeof(DATA_TYPE *)); + object_array = (PyArrayObject **)calloc($2,sizeof(PyArrayObject *)); + is_new_object_array = (int *)calloc($2,sizeof(int)); + + if (array == NULL || object_array == NULL || is_new_object_array == NULL) + { + SWIG_fail; + } + + for (i=0; i<$2; i++) + { + temp_array = obj_to_array_contiguous_allow_conversion(PySequence_GetItem($input,i), DATA_TYPECODE, &is_new_object); + + /* the new array must be stored so that it can be destroyed in freearg */ + object_array[i] = temp_array; + is_new_object_array[i] = is_new_object; + + if (!temp_array || !require_dimensions(temp_array, 3)) SWIG_fail; + + /* store the size of the first array in the list, then use that for comparison. */ + if (i == 0) + { + size[0] = array_size(temp_array,0); + size[1] = array_size(temp_array,1); + size[2] = array_size(temp_array,2); + } + + if (!require_size(temp_array, size, 3)) SWIG_fail; + + array[i] = (DATA_TYPE*) array_data(temp_array); + } + + $1 = (DATA_TYPE**) array; + $3 = (DIM_TYPE) size[0]; + $4 = (DIM_TYPE) size[1]; + $5 = (DIM_TYPE) size[2]; +} +%typemap(freearg) + (DATA_TYPE** IN_ARRAY4, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DIM_TYPE DIM4) +{ + Py_ssize_t i; + + if (array$argnum!=NULL) free(array$argnum); + + /*freeing the individual arrays if needed */ + if (object_array$argnum!=NULL) + { + if (is_new_object_array$argnum!=NULL) + { + for (i=0; i<$2; i++) + { + if (object_array$argnum[i] != NULL && is_new_object_array$argnum[i]) + { Py_DECREF(object_array$argnum[i]); } + } + free(is_new_object_array$argnum); + } + free(object_array$argnum); + } +} + +/* Typemap suite for (DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DIM_TYPE DIM4, + * DATA_TYPE* IN_ARRAY4) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DIM_TYPE DIM4, DATA_TYPE* IN_ARRAY4) +{ + $1 = is_array($input) || PySequence_Check($input); +} +%typemap(in, + fragment="NumPy_Fragments") + (DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DIM_TYPE DIM4, DATA_TYPE* IN_ARRAY4) + (PyArrayObject* array=NULL, int is_new_object=0) +{ + npy_intp size[4] = { -1, -1, -1 , -1}; + array = obj_to_array_contiguous_allow_conversion($input, DATA_TYPECODE, + &is_new_object); + if (!array || !require_dimensions(array, 4) || + !require_size(array, size, 4)) SWIG_fail; + $1 = (DIM_TYPE) array_size(array,0); + $2 = (DIM_TYPE) array_size(array,1); + $3 = (DIM_TYPE) array_size(array,2); + $4 = (DIM_TYPE) array_size(array,3); + $5 = (DATA_TYPE*) array_data(array); +} +%typemap(freearg) + (DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DIM_TYPE DIM4, DATA_TYPE* IN_ARRAY4) +{ + if (is_new_object$argnum && array$argnum) + { Py_DECREF(array$argnum); } +} + +/* Typemap suite for (DATA_TYPE* IN_FARRAY4, DIM_TYPE DIM1, DIM_TYPE DIM2, + * DIM_TYPE DIM3, DIM_TYPE DIM4) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DATA_TYPE* IN_FARRAY4, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DIM_TYPE DIM4) +{ + $1 = is_array($input) || PySequence_Check($input); +} +%typemap(in, + fragment="NumPy_Fragments") + (DATA_TYPE* IN_FARRAY4, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DIM_TYPE DIM4) + (PyArrayObject* array=NULL, int is_new_object=0) +{ + npy_intp size[4] = { -1, -1, -1, -1 }; + array = obj_to_array_fortran_allow_conversion($input, DATA_TYPECODE, + &is_new_object); + if (!array || !require_dimensions(array, 4) || + !require_size(array, size, 4) | !require_fortran(array)) SWIG_fail; + $1 = (DATA_TYPE*) array_data(array); + $2 = (DIM_TYPE) array_size(array,0); + $3 = (DIM_TYPE) array_size(array,1); + $4 = (DIM_TYPE) array_size(array,2); + $5 = (DIM_TYPE) array_size(array,3); +} +%typemap(freearg) + (DATA_TYPE* IN_FARRAY4, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DIM_TYPE DIM4) +{ + if (is_new_object$argnum && array$argnum) + { Py_DECREF(array$argnum); } +} + +/* Typemap suite for (DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DIM_TYPE DIM4, + * DATA_TYPE* IN_FARRAY4) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DIM_TYPE DIM4, DATA_TYPE* IN_FARRAY4) +{ + $1 = is_array($input) || PySequence_Check($input); +} +%typemap(in, + fragment="NumPy_Fragments") + (DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DIM_TYPE DIM4, DATA_TYPE* IN_FARRAY4) + (PyArrayObject* array=NULL, int is_new_object=0) +{ + npy_intp size[4] = { -1, -1, -1 , -1 }; + array = obj_to_array_fortran_allow_conversion($input, DATA_TYPECODE, + &is_new_object); + if (!array || !require_dimensions(array, 4) || + !require_size(array, size, 4) || !require_fortran(array)) SWIG_fail; + $1 = (DIM_TYPE) array_size(array,0); + $2 = (DIM_TYPE) array_size(array,1); + $3 = (DIM_TYPE) array_size(array,2); + $4 = (DIM_TYPE) array_size(array,3); + $5 = (DATA_TYPE*) array_data(array); +} +%typemap(freearg) + (DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DIM_TYPE DIM4, DATA_TYPE* IN_FARRAY4) +{ + if (is_new_object$argnum && array$argnum) + { Py_DECREF(array$argnum); } +} + +/***************************/ +/* In-Place Array Typemaps */ +/***************************/ + +/* Typemap suite for (DATA_TYPE INPLACE_ARRAY1[ANY]) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DATA_TYPE INPLACE_ARRAY1[ANY]) +{ + $1 = is_array($input) && PyArray_EquivTypenums(array_type($input), + DATA_TYPECODE); +} +%typemap(in, + fragment="NumPy_Fragments") + (DATA_TYPE INPLACE_ARRAY1[ANY]) + (PyArrayObject* array=NULL) +{ + npy_intp size[1] = { $1_dim0 }; + array = obj_to_array_no_conversion($input, DATA_TYPECODE); + if (!array || !require_dimensions(array,1) || !require_size(array, size, 1) || + !require_contiguous(array) || !require_native(array)) SWIG_fail; + $1 = ($1_ltype) array_data(array); +} + +/* Typemap suite for (DATA_TYPE* INPLACE_ARRAY1, DIM_TYPE DIM1) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DATA_TYPE* INPLACE_ARRAY1, DIM_TYPE DIM1) +{ + $1 = is_array($input) && PyArray_EquivTypenums(array_type($input), + DATA_TYPECODE); +} +%typemap(in, + fragment="NumPy_Fragments") + (DATA_TYPE* INPLACE_ARRAY1, DIM_TYPE DIM1) + (PyArrayObject* array=NULL, int i=1) +{ + array = obj_to_array_no_conversion($input, DATA_TYPECODE); + if (!array || !require_dimensions(array,1) || !require_contiguous(array) + || !require_native(array)) SWIG_fail; + $1 = (DATA_TYPE*) array_data(array); + $2 = 1; + for (i=0; i < array_numdims(array); ++i) $2 *= array_size(array,i); +} + +/* Typemap suite for (DIM_TYPE DIM1, DATA_TYPE* INPLACE_ARRAY1) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DIM_TYPE DIM1, DATA_TYPE* INPLACE_ARRAY1) +{ + $1 = is_array($input) && PyArray_EquivTypenums(array_type($input), + DATA_TYPECODE); +} +%typemap(in, + fragment="NumPy_Fragments") + (DIM_TYPE DIM1, DATA_TYPE* INPLACE_ARRAY1) + (PyArrayObject* array=NULL, int i=0) +{ + array = obj_to_array_no_conversion($input, DATA_TYPECODE); + if (!array || !require_dimensions(array,1) || !require_contiguous(array) + || !require_native(array)) SWIG_fail; + $1 = 1; + for (i=0; i < array_numdims(array); ++i) $1 *= array_size(array,i); + $2 = (DATA_TYPE*) array_data(array); +} + +/* Typemap suite for (DATA_TYPE INPLACE_ARRAY2[ANY][ANY]) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DATA_TYPE INPLACE_ARRAY2[ANY][ANY]) +{ + $1 = is_array($input) && PyArray_EquivTypenums(array_type($input), + DATA_TYPECODE); +} +%typemap(in, + fragment="NumPy_Fragments") + (DATA_TYPE INPLACE_ARRAY2[ANY][ANY]) + (PyArrayObject* array=NULL) +{ + npy_intp size[2] = { $1_dim0, $1_dim1 }; + array = obj_to_array_no_conversion($input, DATA_TYPECODE); + if (!array || !require_dimensions(array,2) || !require_size(array, size, 2) || + !require_contiguous(array) || !require_native(array)) SWIG_fail; + $1 = ($1_ltype) array_data(array); +} + +/* Typemap suite for (DATA_TYPE* INPLACE_ARRAY2, DIM_TYPE DIM1, DIM_TYPE DIM2) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DATA_TYPE* INPLACE_ARRAY2, DIM_TYPE DIM1, DIM_TYPE DIM2) +{ + $1 = is_array($input) && PyArray_EquivTypenums(array_type($input), + DATA_TYPECODE); +} +%typemap(in, + fragment="NumPy_Fragments") + (DATA_TYPE* INPLACE_ARRAY2, DIM_TYPE DIM1, DIM_TYPE DIM2) + (PyArrayObject* array=NULL) +{ + array = obj_to_array_no_conversion($input, DATA_TYPECODE); + if (!array || !require_dimensions(array,2) || !require_contiguous(array) + || !require_native(array)) SWIG_fail; + $1 = (DATA_TYPE*) array_data(array); + $2 = (DIM_TYPE) array_size(array,0); + $3 = (DIM_TYPE) array_size(array,1); +} + +/* Typemap suite for (DIM_TYPE DIM1, DIM_TYPE DIM2, DATA_TYPE* INPLACE_ARRAY2) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DIM_TYPE DIM1, DIM_TYPE DIM2, DATA_TYPE* INPLACE_ARRAY2) +{ + $1 = is_array($input) && PyArray_EquivTypenums(array_type($input), + DATA_TYPECODE); +} +%typemap(in, + fragment="NumPy_Fragments") + (DIM_TYPE DIM1, DIM_TYPE DIM2, DATA_TYPE* INPLACE_ARRAY2) + (PyArrayObject* array=NULL) +{ + array = obj_to_array_no_conversion($input, DATA_TYPECODE); + if (!array || !require_dimensions(array,2) || !require_contiguous(array) || + !require_native(array)) SWIG_fail; + $1 = (DIM_TYPE) array_size(array,0); + $2 = (DIM_TYPE) array_size(array,1); + $3 = (DATA_TYPE*) array_data(array); +} + +/* Typemap suite for (DATA_TYPE* INPLACE_FARRAY2, DIM_TYPE DIM1, DIM_TYPE DIM2) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DATA_TYPE* INPLACE_FARRAY2, DIM_TYPE DIM1, DIM_TYPE DIM2) +{ + $1 = is_array($input) && PyArray_EquivTypenums(array_type($input), + DATA_TYPECODE); +} +%typemap(in, + fragment="NumPy_Fragments") + (DATA_TYPE* INPLACE_FARRAY2, DIM_TYPE DIM1, DIM_TYPE DIM2) + (PyArrayObject* array=NULL) +{ + array = obj_to_array_no_conversion($input, DATA_TYPECODE); + if (!array || !require_dimensions(array,2) || !require_contiguous(array) + || !require_native(array) || !require_fortran(array)) SWIG_fail; + $1 = (DATA_TYPE*) array_data(array); + $2 = (DIM_TYPE) array_size(array,0); + $3 = (DIM_TYPE) array_size(array,1); +} + +/* Typemap suite for (DIM_TYPE DIM1, DIM_TYPE DIM2, DATA_TYPE* INPLACE_FARRAY2) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DIM_TYPE DIM1, DIM_TYPE DIM2, DATA_TYPE* INPLACE_FARRAY2) +{ + $1 = is_array($input) && PyArray_EquivTypenums(array_type($input), + DATA_TYPECODE); +} +%typemap(in, + fragment="NumPy_Fragments") + (DIM_TYPE DIM1, DIM_TYPE DIM2, DATA_TYPE* INPLACE_FARRAY2) + (PyArrayObject* array=NULL) +{ + array = obj_to_array_no_conversion($input, DATA_TYPECODE); + if (!array || !require_dimensions(array,2) || !require_contiguous(array) || + !require_native(array) || !require_fortran(array)) SWIG_fail; + $1 = (DIM_TYPE) array_size(array,0); + $2 = (DIM_TYPE) array_size(array,1); + $3 = (DATA_TYPE*) array_data(array); +} + +/* Typemap suite for (DATA_TYPE INPLACE_ARRAY3[ANY][ANY][ANY]) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DATA_TYPE INPLACE_ARRAY3[ANY][ANY][ANY]) +{ + $1 = is_array($input) && PyArray_EquivTypenums(array_type($input), + DATA_TYPECODE); +} +%typemap(in, + fragment="NumPy_Fragments") + (DATA_TYPE INPLACE_ARRAY3[ANY][ANY][ANY]) + (PyArrayObject* array=NULL) +{ + npy_intp size[3] = { $1_dim0, $1_dim1, $1_dim2 }; + array = obj_to_array_no_conversion($input, DATA_TYPECODE); + if (!array || !require_dimensions(array,3) || !require_size(array, size, 3) || + !require_contiguous(array) || !require_native(array)) SWIG_fail; + $1 = ($1_ltype) array_data(array); +} + +/* Typemap suite for (DATA_TYPE* INPLACE_ARRAY3, DIM_TYPE DIM1, DIM_TYPE DIM2, + * DIM_TYPE DIM3) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DATA_TYPE* INPLACE_ARRAY3, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3) +{ + $1 = is_array($input) && PyArray_EquivTypenums(array_type($input), + DATA_TYPECODE); +} +%typemap(in, + fragment="NumPy_Fragments") + (DATA_TYPE* INPLACE_ARRAY3, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3) + (PyArrayObject* array=NULL) +{ + array = obj_to_array_no_conversion($input, DATA_TYPECODE); + if (!array || !require_dimensions(array,3) || !require_contiguous(array) || + !require_native(array)) SWIG_fail; + $1 = (DATA_TYPE*) array_data(array); + $2 = (DIM_TYPE) array_size(array,0); + $3 = (DIM_TYPE) array_size(array,1); + $4 = (DIM_TYPE) array_size(array,2); +} + +/* Typemap suite for (DATA_TYPE** INPLACE_ARRAY3, DIM_TYPE DIM1, DIM_TYPE DIM2, + * DIM_TYPE DIM3) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DATA_TYPE** INPLACE_ARRAY3, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3) +{ + $1 = PySequence_Check($input); +} +%typemap(in, + fragment="NumPy_Fragments") + (DATA_TYPE** INPLACE_ARRAY3, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3) + (DATA_TYPE** array=NULL, PyArrayObject** object_array=NULL) +{ + npy_intp size[2] = { -1, -1 }; + PyArrayObject* temp_array; + Py_ssize_t i; + + /* length of the list */ + $2 = PyList_Size($input); + + /* the arrays */ + array = (DATA_TYPE **)malloc($2*sizeof(DATA_TYPE *)); + object_array = (PyArrayObject **)calloc($2,sizeof(PyArrayObject *)); + + if (array == NULL || object_array == NULL) + { + SWIG_fail; + } + + for (i=0; i<$2; i++) + { + temp_array = obj_to_array_no_conversion(PySequence_GetItem($input,i), DATA_TYPECODE); + + /* the new array must be stored so that it can be destroyed in freearg */ + object_array[i] = temp_array; + + if ( !temp_array || !require_dimensions(temp_array, 2) || + !require_contiguous(temp_array) || + !require_native(temp_array) || + !PyArray_EquivTypenums(array_type(temp_array), DATA_TYPECODE) + ) SWIG_fail; + + /* store the size of the first array in the list, then use that for comparison. */ + if (i == 0) + { + size[0] = array_size(temp_array,0); + size[1] = array_size(temp_array,1); + } + + if (!require_size(temp_array, size, 2)) SWIG_fail; + + array[i] = (DATA_TYPE*) array_data(temp_array); + } + + $1 = (DATA_TYPE**) array; + $3 = (DIM_TYPE) size[0]; + $4 = (DIM_TYPE) size[1]; +} +%typemap(freearg) + (DATA_TYPE** INPLACE_ARRAY3, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3) +{ + if (array$argnum!=NULL) free(array$argnum); + if (object_array$argnum!=NULL) free(object_array$argnum); +} + +/* Typemap suite for (DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, + * DATA_TYPE* INPLACE_ARRAY3) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DATA_TYPE* INPLACE_ARRAY3) +{ + $1 = is_array($input) && PyArray_EquivTypenums(array_type($input), + DATA_TYPECODE); +} +%typemap(in, + fragment="NumPy_Fragments") + (DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DATA_TYPE* INPLACE_ARRAY3) + (PyArrayObject* array=NULL) +{ + array = obj_to_array_no_conversion($input, DATA_TYPECODE); + if (!array || !require_dimensions(array,3) || !require_contiguous(array) + || !require_native(array)) SWIG_fail; + $1 = (DIM_TYPE) array_size(array,0); + $2 = (DIM_TYPE) array_size(array,1); + $3 = (DIM_TYPE) array_size(array,2); + $4 = (DATA_TYPE*) array_data(array); +} + +/* Typemap suite for (DATA_TYPE* INPLACE_FARRAY3, DIM_TYPE DIM1, DIM_TYPE DIM2, + * DIM_TYPE DIM3) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DATA_TYPE* INPLACE_FARRAY3, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3) +{ + $1 = is_array($input) && PyArray_EquivTypenums(array_type($input), + DATA_TYPECODE); +} +%typemap(in, + fragment="NumPy_Fragments") + (DATA_TYPE* INPLACE_FARRAY3, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3) + (PyArrayObject* array=NULL) +{ + array = obj_to_array_no_conversion($input, DATA_TYPECODE); + if (!array || !require_dimensions(array,3) || !require_contiguous(array) || + !require_native(array) || !require_fortran(array)) SWIG_fail; + $1 = (DATA_TYPE*) array_data(array); + $2 = (DIM_TYPE) array_size(array,0); + $3 = (DIM_TYPE) array_size(array,1); + $4 = (DIM_TYPE) array_size(array,2); +} + +/* Typemap suite for (DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, + * DATA_TYPE* INPLACE_FARRAY3) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DATA_TYPE* INPLACE_FARRAY3) +{ + $1 = is_array($input) && PyArray_EquivTypenums(array_type($input), + DATA_TYPECODE); +} +%typemap(in, + fragment="NumPy_Fragments") + (DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DATA_TYPE* INPLACE_FARRAY3) + (PyArrayObject* array=NULL) +{ + array = obj_to_array_no_conversion($input, DATA_TYPECODE); + if (!array || !require_dimensions(array,3) || !require_contiguous(array) + || !require_native(array) || !require_fortran(array)) SWIG_fail; + $1 = (DIM_TYPE) array_size(array,0); + $2 = (DIM_TYPE) array_size(array,1); + $3 = (DIM_TYPE) array_size(array,2); + $4 = (DATA_TYPE*) array_data(array); +} + +/* Typemap suite for (DATA_TYPE INPLACE_ARRAY4[ANY][ANY][ANY][ANY]) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DATA_TYPE INPLACE_ARRAY4[ANY][ANY][ANY][ANY]) +{ + $1 = is_array($input) && PyArray_EquivTypenums(array_type($input), + DATA_TYPECODE); +} +%typemap(in, + fragment="NumPy_Fragments") + (DATA_TYPE INPLACE_ARRAY4[ANY][ANY][ANY][ANY]) + (PyArrayObject* array=NULL) +{ + npy_intp size[4] = { $1_dim0, $1_dim1, $1_dim2 , $1_dim3 }; + array = obj_to_array_no_conversion($input, DATA_TYPECODE); + if (!array || !require_dimensions(array,4) || !require_size(array, size, 4) || + !require_contiguous(array) || !require_native(array)) SWIG_fail; + $1 = ($1_ltype) array_data(array); +} + +/* Typemap suite for (DATA_TYPE* INPLACE_ARRAY4, DIM_TYPE DIM1, DIM_TYPE DIM2, + * DIM_TYPE DIM3, DIM_TYPE DIM4) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DATA_TYPE* INPLACE_ARRAY4, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DIM_TYPE DIM4) +{ + $1 = is_array($input) && PyArray_EquivTypenums(array_type($input), + DATA_TYPECODE); +} +%typemap(in, + fragment="NumPy_Fragments") + (DATA_TYPE* INPLACE_ARRAY4, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DIM_TYPE DIM4) + (PyArrayObject* array=NULL) +{ + array = obj_to_array_no_conversion($input, DATA_TYPECODE); + if (!array || !require_dimensions(array,4) || !require_contiguous(array) || + !require_native(array)) SWIG_fail; + $1 = (DATA_TYPE*) array_data(array); + $2 = (DIM_TYPE) array_size(array,0); + $3 = (DIM_TYPE) array_size(array,1); + $4 = (DIM_TYPE) array_size(array,2); + $5 = (DIM_TYPE) array_size(array,3); +} + +/* Typemap suite for (DATA_TYPE** INPLACE_ARRAY4, DIM_TYPE DIM1, DIM_TYPE DIM2, + * DIM_TYPE DIM3, DIM_TYPE DIM4) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DATA_TYPE** INPLACE_ARRAY4, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DIM_TYPE DIM4) +{ + $1 = PySequence_Check($input); +} +%typemap(in, + fragment="NumPy_Fragments") + (DATA_TYPE** INPLACE_ARRAY4, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DIM_TYPE DIM4) + (DATA_TYPE** array=NULL, PyArrayObject** object_array=NULL) +{ + npy_intp size[3] = { -1, -1, -1 }; + PyArrayObject* temp_array; + Py_ssize_t i; + + /* length of the list */ + $2 = PyList_Size($input); + + /* the arrays */ + array = (DATA_TYPE **)malloc($2*sizeof(DATA_TYPE *)); + object_array = (PyArrayObject **)calloc($2,sizeof(PyArrayObject *)); + + if (array == NULL || object_array == NULL) + { + SWIG_fail; + } + + for (i=0; i<$2; i++) + { + temp_array = obj_to_array_no_conversion(PySequence_GetItem($input,i), DATA_TYPECODE); + + /* the new array must be stored so that it can be destroyed in freearg */ + object_array[i] = temp_array; + + if ( !temp_array || !require_dimensions(temp_array, 3) || + !require_contiguous(temp_array) || + !require_native(temp_array) || + !PyArray_EquivTypenums(array_type(temp_array), DATA_TYPECODE) + ) SWIG_fail; + + /* store the size of the first array in the list, then use that for comparison. */ + if (i == 0) + { + size[0] = array_size(temp_array,0); + size[1] = array_size(temp_array,1); + size[2] = array_size(temp_array,2); + } + + if (!require_size(temp_array, size, 3)) SWIG_fail; + + array[i] = (DATA_TYPE*) array_data(temp_array); + } + + $1 = (DATA_TYPE**) array; + $3 = (DIM_TYPE) size[0]; + $4 = (DIM_TYPE) size[1]; + $5 = (DIM_TYPE) size[2]; +} +%typemap(freearg) + (DATA_TYPE** INPLACE_ARRAY4, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DIM_TYPE DIM4) +{ + if (array$argnum!=NULL) free(array$argnum); + if (object_array$argnum!=NULL) free(object_array$argnum); +} + +/* Typemap suite for (DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DIM_TYPE DIM4, + * DATA_TYPE* INPLACE_ARRAY4) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DIM_TYPE DIM4, DATA_TYPE* INPLACE_ARRAY4) +{ + $1 = is_array($input) && PyArray_EquivTypenums(array_type($input), + DATA_TYPECODE); +} +%typemap(in, + fragment="NumPy_Fragments") + (DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DIM_TYPE DIM4, DATA_TYPE* INPLACE_ARRAY4) + (PyArrayObject* array=NULL) +{ + array = obj_to_array_no_conversion($input, DATA_TYPECODE); + if (!array || !require_dimensions(array,4) || !require_contiguous(array) + || !require_native(array)) SWIG_fail; + $1 = (DIM_TYPE) array_size(array,0); + $2 = (DIM_TYPE) array_size(array,1); + $3 = (DIM_TYPE) array_size(array,2); + $4 = (DIM_TYPE) array_size(array,3); + $5 = (DATA_TYPE*) array_data(array); +} + +/* Typemap suite for (DATA_TYPE* INPLACE_FARRAY4, DIM_TYPE DIM1, DIM_TYPE DIM2, + * DIM_TYPE DIM3, DIM_TYPE DIM4) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DATA_TYPE* INPLACE_FARRAY4, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DIM_TYPE DIM4) +{ + $1 = is_array($input) && PyArray_EquivTypenums(array_type($input), + DATA_TYPECODE); +} +%typemap(in, + fragment="NumPy_Fragments") + (DATA_TYPE* INPLACE_FARRAY4, DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DIM_TYPE DIM4) + (PyArrayObject* array=NULL) +{ + array = obj_to_array_no_conversion($input, DATA_TYPECODE); + if (!array || !require_dimensions(array,4) || !require_contiguous(array) || + !require_native(array) || !require_fortran(array)) SWIG_fail; + $1 = (DATA_TYPE*) array_data(array); + $2 = (DIM_TYPE) array_size(array,0); + $3 = (DIM_TYPE) array_size(array,1); + $4 = (DIM_TYPE) array_size(array,2); + $5 = (DIM_TYPE) array_size(array,3); +} + +/* Typemap suite for (DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, + * DATA_TYPE* INPLACE_FARRAY4) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DIM_TYPE DIM4, DATA_TYPE* INPLACE_FARRAY4) +{ + $1 = is_array($input) && PyArray_EquivTypenums(array_type($input), + DATA_TYPECODE); +} +%typemap(in, + fragment="NumPy_Fragments") + (DIM_TYPE DIM1, DIM_TYPE DIM2, DIM_TYPE DIM3, DIM_TYPE DIM4, DATA_TYPE* INPLACE_FARRAY4) + (PyArrayObject* array=NULL) +{ + array = obj_to_array_no_conversion($input, DATA_TYPECODE); + if (!array || !require_dimensions(array,4) || !require_contiguous(array) + || !require_native(array) || !require_fortran(array)) SWIG_fail; + $1 = (DIM_TYPE) array_size(array,0); + $2 = (DIM_TYPE) array_size(array,1); + $3 = (DIM_TYPE) array_size(array,2); + $4 = (DIM_TYPE) array_size(array,3); + $5 = (DATA_TYPE*) array_data(array); +} + +/*************************/ +/* Argout Array Typemaps */ +/*************************/ + +/* Typemap suite for (DATA_TYPE ARGOUT_ARRAY1[ANY]) + */ +%typemap(in,numinputs=0, + fragment="NumPy_Backward_Compatibility,NumPy_Macros") + (DATA_TYPE ARGOUT_ARRAY1[ANY]) + (PyObject* array = NULL) +{ + npy_intp dims[1] = { $1_dim0 }; + array = PyArray_SimpleNew(1, dims, DATA_TYPECODE); + if (!array) SWIG_fail; + $1 = ($1_ltype) array_data(array); +} +%typemap(argout) + (DATA_TYPE ARGOUT_ARRAY1[ANY]) +{ + $result = SWIG_AppendOutput($result,(PyObject*)array$argnum); +} + +/* Typemap suite for (DATA_TYPE* ARGOUT_ARRAY1, DIM_TYPE DIM1) + */ +%typemap(in,numinputs=1, + fragment="NumPy_Fragments") + (DATA_TYPE* ARGOUT_ARRAY1, DIM_TYPE DIM1) + (PyObject* array = NULL) +{ + npy_intp dims[1]; + if (!PyLong_Check($input)) + { + const char* typestring = pytype_string($input); + PyErr_Format(PyExc_TypeError, + "Int dimension expected. '%s' given.", + typestring); + SWIG_fail; + } + $2 = (DIM_TYPE) PyLong_AsSsize_t($input); + if ($2 == -1 && PyErr_Occurred()) SWIG_fail; + dims[0] = (npy_intp) $2; + array = PyArray_SimpleNew(1, dims, DATA_TYPECODE); + if (!array) SWIG_fail; + $1 = (DATA_TYPE*) array_data(array); +} +%typemap(argout) + (DATA_TYPE* ARGOUT_ARRAY1, DIM_TYPE DIM1) +{ + $result = SWIG_AppendOutput($result,(PyObject*)array$argnum); +} + +/* Typemap suite for (DIM_TYPE DIM1, DATA_TYPE* ARGOUT_ARRAY1) + */ +%typemap(in,numinputs=1, + fragment="NumPy_Fragments") + (DIM_TYPE DIM1, DATA_TYPE* ARGOUT_ARRAY1) + (PyObject* array = NULL) +{ + npy_intp dims[1]; + if (!PyLong_Check($input)) + { + const char* typestring = pytype_string($input); + PyErr_Format(PyExc_TypeError, + "Int dimension expected. '%s' given.", + typestring); + SWIG_fail; + } + $1 = (DIM_TYPE) PyLong_AsSsize_t($input); + if ($1 == -1 && PyErr_Occurred()) SWIG_fail; + dims[0] = (npy_intp) $1; + array = PyArray_SimpleNew(1, dims, DATA_TYPECODE); + if (!array) SWIG_fail; + $2 = (DATA_TYPE*) array_data(array); +} +%typemap(argout) + (DIM_TYPE DIM1, DATA_TYPE* ARGOUT_ARRAY1) +{ + $result = SWIG_AppendOutput($result,(PyObject*)array$argnum); +} + +/* Typemap suite for (DATA_TYPE ARGOUT_ARRAY2[ANY][ANY]) + */ +%typemap(in,numinputs=0, + fragment="NumPy_Backward_Compatibility,NumPy_Macros") + (DATA_TYPE ARGOUT_ARRAY2[ANY][ANY]) + (PyObject* array = NULL) +{ + npy_intp dims[2] = { $1_dim0, $1_dim1 }; + array = PyArray_SimpleNew(2, dims, DATA_TYPECODE); + if (!array) SWIG_fail; + $1 = ($1_ltype) array_data(array); +} +%typemap(argout) + (DATA_TYPE ARGOUT_ARRAY2[ANY][ANY]) +{ + $result = SWIG_AppendOutput($result,(PyObject*)array$argnum); +} + +/* Typemap suite for (DATA_TYPE ARGOUT_ARRAY3[ANY][ANY][ANY]) + */ +%typemap(in,numinputs=0, + fragment="NumPy_Backward_Compatibility,NumPy_Macros") + (DATA_TYPE ARGOUT_ARRAY3[ANY][ANY][ANY]) + (PyObject* array = NULL) +{ + npy_intp dims[3] = { $1_dim0, $1_dim1, $1_dim2 }; + array = PyArray_SimpleNew(3, dims, DATA_TYPECODE); + if (!array) SWIG_fail; + $1 = ($1_ltype) array_data(array); +} +%typemap(argout) + (DATA_TYPE ARGOUT_ARRAY3[ANY][ANY][ANY]) +{ + $result = SWIG_AppendOutput($result,(PyObject*)array$argnum); +} + +/* Typemap suite for (DATA_TYPE ARGOUT_ARRAY4[ANY][ANY][ANY][ANY]) + */ +%typemap(in,numinputs=0, + fragment="NumPy_Backward_Compatibility,NumPy_Macros") + (DATA_TYPE ARGOUT_ARRAY4[ANY][ANY][ANY][ANY]) + (PyObject* array = NULL) +{ + npy_intp dims[4] = { $1_dim0, $1_dim1, $1_dim2, $1_dim3 }; + array = PyArray_SimpleNew(4, dims, DATA_TYPECODE); + if (!array) SWIG_fail; + $1 = ($1_ltype) array_data(array); +} +%typemap(argout) + (DATA_TYPE ARGOUT_ARRAY4[ANY][ANY][ANY][ANY]) +{ + $result = SWIG_AppendOutput($result,(PyObject*)array$argnum); +} + +/*****************************/ +/* Argoutview Array Typemaps */ +/*****************************/ + +/* Typemap suite for (DATA_TYPE** ARGOUTVIEW_ARRAY1, DIM_TYPE* DIM1) + */ +%typemap(in,numinputs=0) + (DATA_TYPE** ARGOUTVIEW_ARRAY1, DIM_TYPE* DIM1 ) + (DATA_TYPE* data_temp = NULL , DIM_TYPE dim_temp) +{ + $1 = &data_temp; + $2 = &dim_temp; +} +%typemap(argout, + fragment="NumPy_Backward_Compatibility") + (DATA_TYPE** ARGOUTVIEW_ARRAY1, DIM_TYPE* DIM1) +{ + npy_intp dims[1] = { *$2 }; + PyObject* obj = PyArray_SimpleNewFromData(1, dims, DATA_TYPECODE, (void*)(*$1)); + PyArrayObject* array = (PyArrayObject*) obj; + + if (!array) SWIG_fail; + $result = SWIG_AppendOutput($result,obj); +} + +/* Typemap suite for (DIM_TYPE* DIM1, DATA_TYPE** ARGOUTVIEW_ARRAY1) + */ +%typemap(in,numinputs=0) + (DIM_TYPE* DIM1 , DATA_TYPE** ARGOUTVIEW_ARRAY1) + (DIM_TYPE dim_temp, DATA_TYPE* data_temp = NULL ) +{ + $1 = &dim_temp; + $2 = &data_temp; +} +%typemap(argout, + fragment="NumPy_Backward_Compatibility") + (DIM_TYPE* DIM1, DATA_TYPE** ARGOUTVIEW_ARRAY1) +{ + npy_intp dims[1] = { *$1 }; + PyObject* obj = PyArray_SimpleNewFromData(1, dims, DATA_TYPECODE, (void*)(*$2)); + PyArrayObject* array = (PyArrayObject*) obj; + + if (!array) SWIG_fail; + $result = SWIG_AppendOutput($result,obj); +} + +/* Typemap suite for (DATA_TYPE** ARGOUTVIEW_ARRAY2, DIM_TYPE* DIM1, DIM_TYPE* DIM2) + */ +%typemap(in,numinputs=0) + (DATA_TYPE** ARGOUTVIEW_ARRAY2, DIM_TYPE* DIM1 , DIM_TYPE* DIM2 ) + (DATA_TYPE* data_temp = NULL , DIM_TYPE dim1_temp, DIM_TYPE dim2_temp) +{ + $1 = &data_temp; + $2 = &dim1_temp; + $3 = &dim2_temp; +} +%typemap(argout, + fragment="NumPy_Backward_Compatibility") + (DATA_TYPE** ARGOUTVIEW_ARRAY2, DIM_TYPE* DIM1, DIM_TYPE* DIM2) +{ + npy_intp dims[2] = { *$2, *$3 }; + PyObject* obj = PyArray_SimpleNewFromData(2, dims, DATA_TYPECODE, (void*)(*$1)); + PyArrayObject* array = (PyArrayObject*) obj; + + if (!array) SWIG_fail; + $result = SWIG_AppendOutput($result,obj); +} + +/* Typemap suite for (DIM_TYPE* DIM1, DIM_TYPE* DIM2, DATA_TYPE** ARGOUTVIEW_ARRAY2) + */ +%typemap(in,numinputs=0) + (DIM_TYPE* DIM1 , DIM_TYPE* DIM2 , DATA_TYPE** ARGOUTVIEW_ARRAY2) + (DIM_TYPE dim1_temp, DIM_TYPE dim2_temp, DATA_TYPE* data_temp = NULL ) +{ + $1 = &dim1_temp; + $2 = &dim2_temp; + $3 = &data_temp; +} +%typemap(argout, + fragment="NumPy_Backward_Compatibility") + (DIM_TYPE* DIM1, DIM_TYPE* DIM2, DATA_TYPE** ARGOUTVIEW_ARRAY2) +{ + npy_intp dims[2] = { *$1, *$2 }; + PyObject* obj = PyArray_SimpleNewFromData(2, dims, DATA_TYPECODE, (void*)(*$3)); + PyArrayObject* array = (PyArrayObject*) obj; + + if (!array) SWIG_fail; + $result = SWIG_AppendOutput($result,obj); +} + +/* Typemap suite for (DATA_TYPE** ARGOUTVIEW_FARRAY2, DIM_TYPE* DIM1, DIM_TYPE* DIM2) + */ +%typemap(in,numinputs=0) + (DATA_TYPE** ARGOUTVIEW_FARRAY2, DIM_TYPE* DIM1 , DIM_TYPE* DIM2 ) + (DATA_TYPE* data_temp = NULL , DIM_TYPE dim1_temp, DIM_TYPE dim2_temp) +{ + $1 = &data_temp; + $2 = &dim1_temp; + $3 = &dim2_temp; +} +%typemap(argout, + fragment="NumPy_Backward_Compatibility,NumPy_Array_Requirements") + (DATA_TYPE** ARGOUTVIEW_FARRAY2, DIM_TYPE* DIM1, DIM_TYPE* DIM2) +{ + npy_intp dims[2] = { *$2, *$3 }; + PyObject* obj = PyArray_SimpleNewFromData(2, dims, DATA_TYPECODE, (void*)(*$1)); + PyArrayObject* array = (PyArrayObject*) obj; + + if (!array || !require_fortran(array)) SWIG_fail; + $result = SWIG_AppendOutput($result,obj); +} + +/* Typemap suite for (DIM_TYPE* DIM1, DIM_TYPE* DIM2, DATA_TYPE** ARGOUTVIEW_FARRAY2) + */ +%typemap(in,numinputs=0) + (DIM_TYPE* DIM1 , DIM_TYPE* DIM2 , DATA_TYPE** ARGOUTVIEW_FARRAY2) + (DIM_TYPE dim1_temp, DIM_TYPE dim2_temp, DATA_TYPE* data_temp = NULL ) +{ + $1 = &dim1_temp; + $2 = &dim2_temp; + $3 = &data_temp; +} +%typemap(argout, + fragment="NumPy_Backward_Compatibility,NumPy_Array_Requirements") + (DIM_TYPE* DIM1, DIM_TYPE* DIM2, DATA_TYPE** ARGOUTVIEW_FARRAY2) +{ + npy_intp dims[2] = { *$1, *$2 }; + PyObject* obj = PyArray_SimpleNewFromData(2, dims, DATA_TYPECODE, (void*)(*$3)); + PyArrayObject* array = (PyArrayObject*) obj; + + if (!array || !require_fortran(array)) SWIG_fail; + $result = SWIG_AppendOutput($result,obj); +} + +/* Typemap suite for (DATA_TYPE** ARGOUTVIEW_ARRAY3, DIM_TYPE* DIM1, DIM_TYPE* DIM2, + DIM_TYPE* DIM3) + */ +%typemap(in,numinputs=0) + (DATA_TYPE** ARGOUTVIEW_ARRAY3, DIM_TYPE* DIM1 , DIM_TYPE* DIM2 , DIM_TYPE* DIM3 ) + (DATA_TYPE* data_temp = NULL , DIM_TYPE dim1_temp, DIM_TYPE dim2_temp, DIM_TYPE dim3_temp) +{ + $1 = &data_temp; + $2 = &dim1_temp; + $3 = &dim2_temp; + $4 = &dim3_temp; +} +%typemap(argout, + fragment="NumPy_Backward_Compatibility") + (DATA_TYPE** ARGOUTVIEW_ARRAY3, DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3) +{ + npy_intp dims[3] = { *$2, *$3, *$4 }; + PyObject* obj = PyArray_SimpleNewFromData(3, dims, DATA_TYPECODE, (void*)(*$1)); + PyArrayObject* array = (PyArrayObject*) obj; + + if (!array) SWIG_fail; + $result = SWIG_AppendOutput($result,obj); +} + +/* Typemap suite for (DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3, + DATA_TYPE** ARGOUTVIEW_ARRAY3) + */ +%typemap(in,numinputs=0) + (DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3, DATA_TYPE** ARGOUTVIEW_ARRAY3) + (DIM_TYPE dim1_temp, DIM_TYPE dim2_temp, DIM_TYPE dim3_temp, DATA_TYPE* data_temp = NULL) +{ + $1 = &dim1_temp; + $2 = &dim2_temp; + $3 = &dim3_temp; + $4 = &data_temp; +} +%typemap(argout, + fragment="NumPy_Backward_Compatibility") + (DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3, DATA_TYPE** ARGOUTVIEW_ARRAY3) +{ + npy_intp dims[3] = { *$1, *$2, *$3 }; + PyObject* obj = PyArray_SimpleNewFromData(3, dims, DATA_TYPECODE, (void*)(*$4)); + PyArrayObject* array = (PyArrayObject*) obj; + + if (!array) SWIG_fail; + $result = SWIG_AppendOutput($result,obj); +} + +/* Typemap suite for (DATA_TYPE** ARGOUTVIEW_FARRAY3, DIM_TYPE* DIM1, DIM_TYPE* DIM2, + DIM_TYPE* DIM3) + */ +%typemap(in,numinputs=0) + (DATA_TYPE** ARGOUTVIEW_FARRAY3, DIM_TYPE* DIM1 , DIM_TYPE* DIM2 , DIM_TYPE* DIM3 ) + (DATA_TYPE* data_temp = NULL , DIM_TYPE dim1_temp, DIM_TYPE dim2_temp, DIM_TYPE dim3_temp) +{ + $1 = &data_temp; + $2 = &dim1_temp; + $3 = &dim2_temp; + $4 = &dim3_temp; +} +%typemap(argout, + fragment="NumPy_Backward_Compatibility,NumPy_Array_Requirements") + (DATA_TYPE** ARGOUTVIEW_FARRAY3, DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3) +{ + npy_intp dims[3] = { *$2, *$3, *$4 }; + PyObject* obj = PyArray_SimpleNewFromData(3, dims, DATA_TYPECODE, (void*)(*$1)); + PyArrayObject* array = (PyArrayObject*) obj; + + if (!array || !require_fortran(array)) SWIG_fail; + $result = SWIG_AppendOutput($result,obj); +} + +/* Typemap suite for (DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3, + DATA_TYPE** ARGOUTVIEW_FARRAY3) + */ +%typemap(in,numinputs=0) + (DIM_TYPE* DIM1 , DIM_TYPE* DIM2 , DIM_TYPE* DIM3 , DATA_TYPE** ARGOUTVIEW_FARRAY3) + (DIM_TYPE dim1_temp, DIM_TYPE dim2_temp, DIM_TYPE dim3_temp, DATA_TYPE* data_temp = NULL ) +{ + $1 = &dim1_temp; + $2 = &dim2_temp; + $3 = &dim3_temp; + $4 = &data_temp; +} +%typemap(argout, + fragment="NumPy_Backward_Compatibility,NumPy_Array_Requirements") + (DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3, DATA_TYPE** ARGOUTVIEW_FARRAY3) +{ + npy_intp dims[3] = { *$1, *$2, *$3 }; + PyObject* obj = PyArray_SimpleNewFromData(3, dims, DATA_TYPECODE, (void*)(*$4)); + PyArrayObject* array = (PyArrayObject*) obj; + + if (!array || !require_fortran(array)) SWIG_fail; + $result = SWIG_AppendOutput($result,obj); +} + +/* Typemap suite for (DATA_TYPE** ARGOUTVIEW_ARRAY4, DIM_TYPE* DIM1, DIM_TYPE* DIM2, + DIM_TYPE* DIM3, DIM_TYPE* DIM4) + */ +%typemap(in,numinputs=0) + (DATA_TYPE** ARGOUTVIEW_ARRAY4, DIM_TYPE* DIM1 , DIM_TYPE* DIM2 , DIM_TYPE* DIM3 , DIM_TYPE* DIM4 ) + (DATA_TYPE* data_temp = NULL , DIM_TYPE dim1_temp, DIM_TYPE dim2_temp, DIM_TYPE dim3_temp, DIM_TYPE dim4_temp) +{ + $1 = &data_temp; + $2 = &dim1_temp; + $3 = &dim2_temp; + $4 = &dim3_temp; + $5 = &dim4_temp; +} +%typemap(argout, + fragment="NumPy_Backward_Compatibility") + (DATA_TYPE** ARGOUTVIEW_ARRAY4, DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3, DIM_TYPE* DIM4) +{ + npy_intp dims[4] = { *$2, *$3, *$4 , *$5 }; + PyObject* obj = PyArray_SimpleNewFromData(4, dims, DATA_TYPECODE, (void*)(*$1)); + PyArrayObject* array = (PyArrayObject*) obj; + + if (!array) SWIG_fail; + $result = SWIG_AppendOutput($result,obj); +} + +/* Typemap suite for (DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3, DIM_TYPE* DIM4, + DATA_TYPE** ARGOUTVIEW_ARRAY4) + */ +%typemap(in,numinputs=0) + (DIM_TYPE* DIM1 , DIM_TYPE* DIM2 , DIM_TYPE* DIM3 , DIM_TYPE* DIM4 , DATA_TYPE** ARGOUTVIEW_ARRAY4) + (DIM_TYPE dim1_temp, DIM_TYPE dim2_temp, DIM_TYPE dim3_temp, DIM_TYPE dim4_temp, DATA_TYPE* data_temp = NULL ) +{ + $1 = &dim1_temp; + $2 = &dim2_temp; + $3 = &dim3_temp; + $4 = &dim4_temp; + $5 = &data_temp; +} +%typemap(argout, + fragment="NumPy_Backward_Compatibility") + (DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3, DIM_TYPE* DIM4, DATA_TYPE** ARGOUTVIEW_ARRAY4) +{ + npy_intp dims[4] = { *$1, *$2, *$3 , *$4 }; + PyObject* obj = PyArray_SimpleNewFromData(4, dims, DATA_TYPECODE, (void*)(*$5)); + PyArrayObject* array = (PyArrayObject*) obj; + + if (!array) SWIG_fail; + $result = SWIG_AppendOutput($result,obj); +} + +/* Typemap suite for (DATA_TYPE** ARGOUTVIEW_FARRAY4, DIM_TYPE* DIM1, DIM_TYPE* DIM2, + DIM_TYPE* DIM3, DIM_TYPE* DIM4) + */ +%typemap(in,numinputs=0) + (DATA_TYPE** ARGOUTVIEW_FARRAY4, DIM_TYPE* DIM1 , DIM_TYPE* DIM2 , DIM_TYPE* DIM3 , DIM_TYPE* DIM4 ) + (DATA_TYPE* data_temp = NULL , DIM_TYPE dim1_temp, DIM_TYPE dim2_temp, DIM_TYPE dim3_temp, DIM_TYPE dim4_temp) +{ + $1 = &data_temp; + $2 = &dim1_temp; + $3 = &dim2_temp; + $4 = &dim3_temp; + $5 = &dim4_temp; +} +%typemap(argout, + fragment="NumPy_Backward_Compatibility,NumPy_Array_Requirements") + (DATA_TYPE** ARGOUTVIEW_FARRAY4, DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3, DIM_TYPE* DIM4) +{ + npy_intp dims[4] = { *$2, *$3, *$4 , *$5 }; + PyObject* obj = PyArray_SimpleNewFromData(4, dims, DATA_TYPECODE, (void*)(*$1)); + PyArrayObject* array = (PyArrayObject*) obj; + + if (!array || !require_fortran(array)) SWIG_fail; + $result = SWIG_AppendOutput($result,obj); +} + +/* Typemap suite for (DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3, DIM_TYPE* DIM4, + DATA_TYPE** ARGOUTVIEW_FARRAY4) + */ +%typemap(in,numinputs=0) + (DIM_TYPE* DIM1 , DIM_TYPE* DIM2 , DIM_TYPE* DIM3 , DIM_TYPE* DIM4 , DATA_TYPE** ARGOUTVIEW_FARRAY4) + (DIM_TYPE dim1_temp, DIM_TYPE dim2_temp, DIM_TYPE dim3_temp, DIM_TYPE dim4_temp, DATA_TYPE* data_temp = NULL ) +{ + $1 = &dim1_temp; + $2 = &dim2_temp; + $3 = &dim3_temp; + $4 = &dim4_temp; + $5 = &data_temp; +} +%typemap(argout, + fragment="NumPy_Backward_Compatibility,NumPy_Array_Requirements") + (DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3, DIM_TYPE* DIM4, DATA_TYPE** ARGOUTVIEW_FARRAY4) +{ + npy_intp dims[4] = { *$1, *$2, *$3 , *$4 }; + PyObject* obj = PyArray_SimpleNewFromData(4, dims, DATA_TYPECODE, (void*)(*$5)); + PyArrayObject* array = (PyArrayObject*) obj; + + if (!array || !require_fortran(array)) SWIG_fail; + $result = SWIG_AppendOutput($result,obj); +} + +/*************************************/ +/* Managed Argoutview Array Typemaps */ +/*************************************/ + +/* Typemap suite for (DATA_TYPE** ARGOUTVIEWM_ARRAY1, DIM_TYPE* DIM1) + */ +%typemap(in,numinputs=0) + (DATA_TYPE** ARGOUTVIEWM_ARRAY1, DIM_TYPE* DIM1 ) + (DATA_TYPE* data_temp = NULL , DIM_TYPE dim_temp) +{ + $1 = &data_temp; + $2 = &dim_temp; +} +%typemap(argout, + fragment="NumPy_Backward_Compatibility,NumPy_Utilities") + (DATA_TYPE** ARGOUTVIEWM_ARRAY1, DIM_TYPE* DIM1) +{ + npy_intp dims[1] = { *$2 }; + PyObject* obj = PyArray_SimpleNewFromData(1, dims, DATA_TYPECODE, (void*)(*$1)); + PyArrayObject* array = (PyArrayObject*) obj; + + if (!array) SWIG_fail; + +PyObject* cap = PyCapsule_New((void*)(*$1), SWIGPY_CAPSULE_NAME, free_cap); + +%#if NPY_API_VERSION < NPY_1_7_API_VERSION + PyArray_BASE(array) = cap; +%#else + PyArray_SetBaseObject(array,cap); +%#endif + + $result = SWIG_AppendOutput($result,obj); +} + +/* Typemap suite for (DIM_TYPE* DIM1, DATA_TYPE** ARGOUTVIEWM_ARRAY1) + */ +%typemap(in,numinputs=0) + (DIM_TYPE* DIM1 , DATA_TYPE** ARGOUTVIEWM_ARRAY1) + (DIM_TYPE dim_temp, DATA_TYPE* data_temp = NULL ) +{ + $1 = &dim_temp; + $2 = &data_temp; +} +%typemap(argout, + fragment="NumPy_Backward_Compatibility,NumPy_Utilities") + (DIM_TYPE* DIM1, DATA_TYPE** ARGOUTVIEWM_ARRAY1) +{ + npy_intp dims[1] = { *$1 }; + PyObject* obj = PyArray_SimpleNewFromData(1, dims, DATA_TYPECODE, (void*)(*$2)); + PyArrayObject* array = (PyArrayObject*) obj; + + if (!array) SWIG_fail; + +PyObject* cap = PyCapsule_New((void*)(*$2), SWIGPY_CAPSULE_NAME, free_cap); + +%#if NPY_API_VERSION < NPY_1_7_API_VERSION + PyArray_BASE(array) = cap; +%#else + PyArray_SetBaseObject(array,cap); +%#endif + + $result = SWIG_AppendOutput($result,obj); +} + +/* Typemap suite for (DATA_TYPE** ARGOUTVIEWM_ARRAY2, DIM_TYPE* DIM1, DIM_TYPE* DIM2) + */ +%typemap(in,numinputs=0) + (DATA_TYPE** ARGOUTVIEWM_ARRAY2, DIM_TYPE* DIM1 , DIM_TYPE* DIM2 ) + (DATA_TYPE* data_temp = NULL , DIM_TYPE dim1_temp, DIM_TYPE dim2_temp) +{ + $1 = &data_temp; + $2 = &dim1_temp; + $3 = &dim2_temp; +} +%typemap(argout, + fragment="NumPy_Backward_Compatibility,NumPy_Utilities") + (DATA_TYPE** ARGOUTVIEWM_ARRAY2, DIM_TYPE* DIM1, DIM_TYPE* DIM2) +{ + npy_intp dims[2] = { *$2, *$3 }; + PyObject* obj = PyArray_SimpleNewFromData(2, dims, DATA_TYPECODE, (void*)(*$1)); + PyArrayObject* array = (PyArrayObject*) obj; + + if (!array) SWIG_fail; + +PyObject* cap = PyCapsule_New((void*)(*$1), SWIGPY_CAPSULE_NAME, free_cap); + +%#if NPY_API_VERSION < NPY_1_7_API_VERSION + PyArray_BASE(array) = cap; +%#else + PyArray_SetBaseObject(array,cap); +%#endif + + $result = SWIG_AppendOutput($result,obj); +} + +/* Typemap suite for (DIM_TYPE* DIM1, DIM_TYPE* DIM2, DATA_TYPE** ARGOUTVIEWM_ARRAY2) + */ +%typemap(in,numinputs=0) + (DIM_TYPE* DIM1 , DIM_TYPE* DIM2 , DATA_TYPE** ARGOUTVIEWM_ARRAY2) + (DIM_TYPE dim1_temp, DIM_TYPE dim2_temp, DATA_TYPE* data_temp = NULL ) +{ + $1 = &dim1_temp; + $2 = &dim2_temp; + $3 = &data_temp; +} +%typemap(argout, + fragment="NumPy_Backward_Compatibility,NumPy_Utilities") + (DIM_TYPE* DIM1, DIM_TYPE* DIM2, DATA_TYPE** ARGOUTVIEWM_ARRAY2) +{ + npy_intp dims[2] = { *$1, *$2 }; + PyObject* obj = PyArray_SimpleNewFromData(2, dims, DATA_TYPECODE, (void*)(*$3)); + PyArrayObject* array = (PyArrayObject*) obj; + + if (!array) SWIG_fail; + +PyObject* cap = PyCapsule_New((void*)(*$3), SWIGPY_CAPSULE_NAME, free_cap); + +%#if NPY_API_VERSION < NPY_1_7_API_VERSION + PyArray_BASE(array) = cap; +%#else + PyArray_SetBaseObject(array,cap); +%#endif + + $result = SWIG_AppendOutput($result,obj); +} + +/* Typemap suite for (DATA_TYPE** ARGOUTVIEWM_FARRAY2, DIM_TYPE* DIM1, DIM_TYPE* DIM2) + */ +%typemap(in,numinputs=0) + (DATA_TYPE** ARGOUTVIEWM_FARRAY2, DIM_TYPE* DIM1 , DIM_TYPE* DIM2 ) + (DATA_TYPE* data_temp = NULL , DIM_TYPE dim1_temp, DIM_TYPE dim2_temp) +{ + $1 = &data_temp; + $2 = &dim1_temp; + $3 = &dim2_temp; +} +%typemap(argout, + fragment="NumPy_Backward_Compatibility,NumPy_Array_Requirements,NumPy_Utilities") + (DATA_TYPE** ARGOUTVIEWM_FARRAY2, DIM_TYPE* DIM1, DIM_TYPE* DIM2) +{ + npy_intp dims[2] = { *$2, *$3 }; + PyObject* obj = PyArray_SimpleNewFromData(2, dims, DATA_TYPECODE, (void*)(*$1)); + PyArrayObject* array = (PyArrayObject*) obj; + + if (!array || !require_fortran(array)) SWIG_fail; + +PyObject* cap = PyCapsule_New((void*)(*$1), SWIGPY_CAPSULE_NAME, free_cap); + +%#if NPY_API_VERSION < NPY_1_7_API_VERSION + PyArray_BASE(array) = cap; +%#else + PyArray_SetBaseObject(array,cap); +%#endif + + $result = SWIG_AppendOutput($result,obj); +} + +/* Typemap suite for (DIM_TYPE* DIM1, DIM_TYPE* DIM2, DATA_TYPE** ARGOUTVIEWM_FARRAY2) + */ +%typemap(in,numinputs=0) + (DIM_TYPE* DIM1 , DIM_TYPE* DIM2 , DATA_TYPE** ARGOUTVIEWM_FARRAY2) + (DIM_TYPE dim1_temp, DIM_TYPE dim2_temp, DATA_TYPE* data_temp = NULL ) +{ + $1 = &dim1_temp; + $2 = &dim2_temp; + $3 = &data_temp; +} +%typemap(argout, + fragment="NumPy_Backward_Compatibility,NumPy_Array_Requirements,NumPy_Utilities") + (DIM_TYPE* DIM1, DIM_TYPE* DIM2, DATA_TYPE** ARGOUTVIEWM_FARRAY2) +{ + npy_intp dims[2] = { *$1, *$2 }; + PyObject* obj = PyArray_SimpleNewFromData(2, dims, DATA_TYPECODE, (void*)(*$3)); + PyArrayObject* array = (PyArrayObject*) obj; + + if (!array || !require_fortran(array)) SWIG_fail; + +PyObject* cap = PyCapsule_New((void*)(*$3), SWIGPY_CAPSULE_NAME, free_cap); + +%#if NPY_API_VERSION < NPY_1_7_API_VERSION + PyArray_BASE(array) = cap; +%#else + PyArray_SetBaseObject(array,cap); +%#endif + + $result = SWIG_AppendOutput($result,obj); +} + +/* Typemap suite for (DATA_TYPE** ARGOUTVIEWM_ARRAY3, DIM_TYPE* DIM1, DIM_TYPE* DIM2, + DIM_TYPE* DIM3) + */ +%typemap(in,numinputs=0) + (DATA_TYPE** ARGOUTVIEWM_ARRAY3, DIM_TYPE* DIM1 , DIM_TYPE* DIM2 , DIM_TYPE* DIM3 ) + (DATA_TYPE* data_temp = NULL , DIM_TYPE dim1_temp, DIM_TYPE dim2_temp, DIM_TYPE dim3_temp) +{ + $1 = &data_temp; + $2 = &dim1_temp; + $3 = &dim2_temp; + $4 = &dim3_temp; +} +%typemap(argout, + fragment="NumPy_Backward_Compatibility,NumPy_Utilities") + (DATA_TYPE** ARGOUTVIEWM_ARRAY3, DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3) +{ + npy_intp dims[3] = { *$2, *$3, *$4 }; + PyObject* obj = PyArray_SimpleNewFromData(3, dims, DATA_TYPECODE, (void*)(*$1)); + PyArrayObject* array = (PyArrayObject*) obj; + + if (!array) SWIG_fail; + +PyObject* cap = PyCapsule_New((void*)(*$1), SWIGPY_CAPSULE_NAME, free_cap); + +%#if NPY_API_VERSION < NPY_1_7_API_VERSION + PyArray_BASE(array) = cap; +%#else + PyArray_SetBaseObject(array,cap); +%#endif + + $result = SWIG_AppendOutput($result,obj); +} + +/* Typemap suite for (DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3, + DATA_TYPE** ARGOUTVIEWM_ARRAY3) + */ +%typemap(in,numinputs=0) + (DIM_TYPE* DIM1 , DIM_TYPE* DIM2 , DIM_TYPE* DIM3 , DATA_TYPE** ARGOUTVIEWM_ARRAY3) + (DIM_TYPE dim1_temp, DIM_TYPE dim2_temp, DIM_TYPE dim3_temp, DATA_TYPE* data_temp = NULL ) +{ + $1 = &dim1_temp; + $2 = &dim2_temp; + $3 = &dim3_temp; + $4 = &data_temp; +} +%typemap(argout, + fragment="NumPy_Backward_Compatibility,NumPy_Utilities") + (DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3, DATA_TYPE** ARGOUTVIEWM_ARRAY3) +{ + npy_intp dims[3] = { *$1, *$2, *$3 }; + PyObject* obj= PyArray_SimpleNewFromData(3, dims, DATA_TYPECODE, (void*)(*$4)); + PyArrayObject* array = (PyArrayObject*) obj; + + if (!array) SWIG_fail; + +PyObject* cap = PyCapsule_New((void*)(*$4), SWIGPY_CAPSULE_NAME, free_cap); + +%#if NPY_API_VERSION < NPY_1_7_API_VERSION + PyArray_BASE(array) = cap; +%#else + PyArray_SetBaseObject(array,cap); +%#endif + + $result = SWIG_AppendOutput($result,obj); +} + +/* Typemap suite for (DATA_TYPE** ARGOUTVIEWM_FARRAY3, DIM_TYPE* DIM1, DIM_TYPE* DIM2, + DIM_TYPE* DIM3) + */ +%typemap(in,numinputs=0) + (DATA_TYPE** ARGOUTVIEWM_FARRAY3, DIM_TYPE* DIM1 , DIM_TYPE* DIM2 , DIM_TYPE* DIM3 ) + (DATA_TYPE* data_temp = NULL , DIM_TYPE dim1_temp, DIM_TYPE dim2_temp, DIM_TYPE dim3_temp) +{ + $1 = &data_temp; + $2 = &dim1_temp; + $3 = &dim2_temp; + $4 = &dim3_temp; +} +%typemap(argout, + fragment="NumPy_Backward_Compatibility,NumPy_Array_Requirements,NumPy_Utilities") + (DATA_TYPE** ARGOUTVIEWM_FARRAY3, DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3) +{ + npy_intp dims[3] = { *$2, *$3, *$4 }; + PyObject* obj = PyArray_SimpleNewFromData(3, dims, DATA_TYPECODE, (void*)(*$1)); + PyArrayObject* array = (PyArrayObject*) obj; + + if (!array || !require_fortran(array)) SWIG_fail; + +PyObject* cap = PyCapsule_New((void*)(*$1), SWIGPY_CAPSULE_NAME, free_cap); + +%#if NPY_API_VERSION < NPY_1_7_API_VERSION + PyArray_BASE(array) = cap; +%#else + PyArray_SetBaseObject(array,cap); +%#endif + + $result = SWIG_AppendOutput($result,obj); +} + +/* Typemap suite for (DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3, + DATA_TYPE** ARGOUTVIEWM_FARRAY3) + */ +%typemap(in,numinputs=0) + (DIM_TYPE* DIM1 , DIM_TYPE* DIM2 , DIM_TYPE* DIM3 , DATA_TYPE** ARGOUTVIEWM_FARRAY3) + (DIM_TYPE dim1_temp, DIM_TYPE dim2_temp, DIM_TYPE dim3_temp, DATA_TYPE* data_temp = NULL ) +{ + $1 = &dim1_temp; + $2 = &dim2_temp; + $3 = &dim3_temp; + $4 = &data_temp; +} +%typemap(argout, + fragment="NumPy_Backward_Compatibility,NumPy_Array_Requirements,NumPy_Utilities") + (DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3, DATA_TYPE** ARGOUTVIEWM_FARRAY3) +{ + npy_intp dims[3] = { *$1, *$2, *$3 }; + PyObject* obj = PyArray_SimpleNewFromData(3, dims, DATA_TYPECODE, (void*)(*$4)); + PyArrayObject* array = (PyArrayObject*) obj; + + if (!array || !require_fortran(array)) SWIG_fail; + +PyObject* cap = PyCapsule_New((void*)(*$4), SWIGPY_CAPSULE_NAME, free_cap); + +%#if NPY_API_VERSION < NPY_1_7_API_VERSION + PyArray_BASE(array) = cap; +%#else + PyArray_SetBaseObject(array,cap); +%#endif + + $result = SWIG_AppendOutput($result,obj); +} + +/* Typemap suite for (DATA_TYPE** ARGOUTVIEWM_ARRAY4, DIM_TYPE* DIM1, DIM_TYPE* DIM2, + DIM_TYPE* DIM3, DIM_TYPE* DIM4) + */ +%typemap(in,numinputs=0) + (DATA_TYPE** ARGOUTVIEWM_ARRAY4, DIM_TYPE* DIM1 , DIM_TYPE* DIM2 , DIM_TYPE* DIM3 , DIM_TYPE* DIM4 ) + (DATA_TYPE* data_temp = NULL , DIM_TYPE dim1_temp, DIM_TYPE dim2_temp, DIM_TYPE dim3_temp, DIM_TYPE dim4_temp) +{ + $1 = &data_temp; + $2 = &dim1_temp; + $3 = &dim2_temp; + $4 = &dim3_temp; + $5 = &dim4_temp; +} +%typemap(argout, + fragment="NumPy_Backward_Compatibility,NumPy_Utilities") + (DATA_TYPE** ARGOUTVIEWM_ARRAY4, DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3, DIM_TYPE* DIM4) +{ + npy_intp dims[4] = { *$2, *$3, *$4 , *$5 }; + PyObject* obj = PyArray_SimpleNewFromData(4, dims, DATA_TYPECODE, (void*)(*$1)); + PyArrayObject* array = (PyArrayObject*) obj; + + if (!array) SWIG_fail; + +PyObject* cap = PyCapsule_New((void*)(*$1), SWIGPY_CAPSULE_NAME, free_cap); + +%#if NPY_API_VERSION < NPY_1_7_API_VERSION + PyArray_BASE(array) = cap; +%#else + PyArray_SetBaseObject(array,cap); +%#endif + + $result = SWIG_AppendOutput($result,obj); +} + +/* Typemap suite for (DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3, DIM_TYPE* DIM4, + DATA_TYPE** ARGOUTVIEWM_ARRAY4) + */ +%typemap(in,numinputs=0) + (DIM_TYPE* DIM1 , DIM_TYPE* DIM2 , DIM_TYPE* DIM3 , DIM_TYPE* DIM4 , DATA_TYPE** ARGOUTVIEWM_ARRAY4) + (DIM_TYPE dim1_temp, DIM_TYPE dim2_temp, DIM_TYPE dim3_temp, DIM_TYPE dim4_temp, DATA_TYPE* data_temp = NULL ) +{ + $1 = &dim1_temp; + $2 = &dim2_temp; + $3 = &dim3_temp; + $4 = &dim4_temp; + $5 = &data_temp; +} +%typemap(argout, + fragment="NumPy_Backward_Compatibility,NumPy_Utilities") + (DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3, DIM_TYPE* DIM4, DATA_TYPE** ARGOUTVIEWM_ARRAY4) +{ + npy_intp dims[4] = { *$1, *$2, *$3 , *$4 }; + PyObject* obj = PyArray_SimpleNewFromData(4, dims, DATA_TYPECODE, (void*)(*$5)); + PyArrayObject* array = (PyArrayObject*) obj; + + if (!array) SWIG_fail; + +PyObject* cap = PyCapsule_New((void*)(*$5), SWIGPY_CAPSULE_NAME, free_cap); + +%#if NPY_API_VERSION < NPY_1_7_API_VERSION + PyArray_BASE(array) = cap; +%#else + PyArray_SetBaseObject(array,cap); +%#endif + + $result = SWIG_AppendOutput($result,obj); +} + +/* Typemap suite for (DATA_TYPE** ARGOUTVIEWM_FARRAY4, DIM_TYPE* DIM1, DIM_TYPE* DIM2, + DIM_TYPE* DIM3, DIM_TYPE* DIM4) + */ +%typemap(in,numinputs=0) + (DATA_TYPE** ARGOUTVIEWM_FARRAY4, DIM_TYPE* DIM1 , DIM_TYPE* DIM2 , DIM_TYPE* DIM3 , DIM_TYPE* DIM4 ) + (DATA_TYPE* data_temp = NULL , DIM_TYPE dim1_temp, DIM_TYPE dim2_temp, DIM_TYPE dim3_temp, DIM_TYPE dim4_temp) +{ + $1 = &data_temp; + $2 = &dim1_temp; + $3 = &dim2_temp; + $4 = &dim3_temp; + $5 = &dim4_temp; +} +%typemap(argout, + fragment="NumPy_Backward_Compatibility,NumPy_Array_Requirements,NumPy_Utilities") + (DATA_TYPE** ARGOUTVIEWM_FARRAY4, DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3, DIM_TYPE* DIM4) +{ + npy_intp dims[4] = { *$2, *$3, *$4 , *$5 }; + PyObject* obj = PyArray_SimpleNewFromData(4, dims, DATA_TYPECODE, (void*)(*$1)); + PyArrayObject* array = (PyArrayObject*) obj; + + if (!array || !require_fortran(array)) SWIG_fail; + +PyObject* cap = PyCapsule_New((void*)(*$1), SWIGPY_CAPSULE_NAME, free_cap); + +%#if NPY_API_VERSION < NPY_1_7_API_VERSION + PyArray_BASE(array) = cap; +%#else + PyArray_SetBaseObject(array,cap); +%#endif + + $result = SWIG_AppendOutput($result,obj); +} + +/* Typemap suite for (DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3, DIM_TYPE* DIM4, + DATA_TYPE** ARGOUTVIEWM_FARRAY4) + */ +%typemap(in,numinputs=0) + (DIM_TYPE* DIM1 , DIM_TYPE* DIM2 , DIM_TYPE* DIM3 , DIM_TYPE* DIM4 , DATA_TYPE** ARGOUTVIEWM_FARRAY4) + (DIM_TYPE dim1_temp, DIM_TYPE dim2_temp, DIM_TYPE dim3_temp, DIM_TYPE dim4_temp, DATA_TYPE* data_temp = NULL ) +{ + $1 = &dim1_temp; + $2 = &dim2_temp; + $3 = &dim3_temp; + $4 = &dim4_temp; + $5 = &data_temp; +} +%typemap(argout, + fragment="NumPy_Backward_Compatibility,NumPy_Array_Requirements,NumPy_Utilities") + (DIM_TYPE* DIM1, DIM_TYPE* DIM2, DIM_TYPE* DIM3, DIM_TYPE* DIM4, DATA_TYPE** ARGOUTVIEWM_FARRAY4) +{ + npy_intp dims[4] = { *$1, *$2, *$3 , *$4 }; + PyObject* obj = PyArray_SimpleNewFromData(4, dims, DATA_TYPECODE, (void*)(*$5)); + PyArrayObject* array = (PyArrayObject*) obj; + + if (!array || !require_fortran(array)) SWIG_fail; + +PyObject* cap = PyCapsule_New((void*)(*$5), SWIGPY_CAPSULE_NAME, free_cap); + +%#if NPY_API_VERSION < NPY_1_7_API_VERSION + PyArray_BASE(array) = cap; +%#else + PyArray_SetBaseObject(array,cap); +%#endif + + $result = SWIG_AppendOutput($result,obj); +} + +/**************************************/ +/* In-Place Array Typemap - flattened */ +/**************************************/ + +/* Typemap suite for (DATA_TYPE* INPLACE_ARRAY_FLAT, DIM_TYPE DIM_FLAT) + */ +%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY, + fragment="NumPy_Macros") + (DATA_TYPE* INPLACE_ARRAY_FLAT, DIM_TYPE DIM_FLAT) +{ + $1 = is_array($input) && PyArray_EquivTypenums(array_type($input), + DATA_TYPECODE); +} +%typemap(in, + fragment="NumPy_Fragments") + (DATA_TYPE* INPLACE_ARRAY_FLAT, DIM_TYPE DIM_FLAT) + (PyArrayObject* array=NULL, int i=1) +{ + array = obj_to_array_no_conversion($input, DATA_TYPECODE); + if (!array || !require_c_or_f_contiguous(array) + || !require_native(array)) SWIG_fail; + $1 = (DATA_TYPE*) array_data(array); + $2 = 1; + for (i=0; i < array_numdims(array); ++i) $2 *= array_size(array,i); +} + +%enddef /* %numpy_typemaps() macro */ +/* *************************************************************** */ + +/* Concrete instances of the %numpy_typemaps() macro: Each invocation + * below applies all of the typemaps above to the specified data type. + */ +%numpy_typemaps(signed char , NPY_BYTE , int) +%numpy_typemaps(unsigned char , NPY_UBYTE , int) +%numpy_typemaps(short , NPY_SHORT , int) +%numpy_typemaps(unsigned short , NPY_USHORT , int) +%numpy_typemaps(int , NPY_INT , int) +%numpy_typemaps(unsigned int , NPY_UINT , int) +%numpy_typemaps(long , NPY_LONG , int) +%numpy_typemaps(unsigned long , NPY_ULONG , int) +%numpy_typemaps(long long , NPY_LONGLONG , int) +%numpy_typemaps(unsigned long long, NPY_ULONGLONG, int) +%numpy_typemaps(float , NPY_FLOAT , int) +%numpy_typemaps(double , NPY_DOUBLE , int) +%numpy_typemaps(int8_t , NPY_INT8 , int) +%numpy_typemaps(int16_t , NPY_INT16 , int) +%numpy_typemaps(int32_t , NPY_INT32 , int) +%numpy_typemaps(int64_t , NPY_INT64 , int) +%numpy_typemaps(uint8_t , NPY_UINT8 , int) +%numpy_typemaps(uint16_t , NPY_UINT16 , int) +%numpy_typemaps(uint32_t , NPY_UINT32 , int) +%numpy_typemaps(uint64_t , NPY_UINT64 , int) + + +/* *************************************************************** + * The follow macro expansion does not work, because C++ bool is 4 + * bytes and NPY_BOOL is 1 byte + * + * %numpy_typemaps(bool, NPY_BOOL, int) + */ + +/* *************************************************************** + * On my Mac, I get the following warning for this macro expansion: + * 'swig/python detected a memory leak of type 'long double *', no destructor found.' + * + * %numpy_typemaps(long double, NPY_LONGDOUBLE, int) + */ + +#ifdef __cplusplus + +%include + +%numpy_typemaps(std::complex, NPY_CFLOAT , int) +%numpy_typemaps(std::complex, NPY_CDOUBLE, int) + +#endif + +#endif /* SWIGPYTHON */ diff --git a/src/SWIG_files/headers/AIS_module.hxx b/src/SWIG_files/headers/AIS_module.hxx index c8009f384..5086accfb 100644 --- a/src/SWIG_files/headers/AIS_module.hxx +++ b/src/SWIG_files/headers/AIS_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -22,29 +22,27 @@ 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 @@ -59,25 +57,24 @@ 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 @@ -94,7 +91,7 @@ along with pythonOCC. If not, see . #include #include #include -#include +#include #include #include #include diff --git a/src/SWIG_files/headers/APIHeaderSection_module.hxx b/src/SWIG_files/headers/APIHeaderSection_module.hxx new file mode 100644 index 000000000..eb6b472a0 --- /dev/null +++ b/src/SWIG_files/headers/APIHeaderSection_module.hxx @@ -0,0 +1,25 @@ +/* +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) + +This file is part of pythonOCC. +pythonOCC is free software: you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +pythonOCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public License +along with pythonOCC. If not, see . +*/ +#ifndef APIHEADERSECTION_HXX +#define APIHEADERSECTION_HXX + + +#include +#include + +#endif // APIHEADERSECTION_HXX diff --git a/src/SWIG_files/headers/Adaptor2d_module.hxx b/src/SWIG_files/headers/Adaptor2d_module.hxx index 696bb941d..fee0b9bef 100644 --- a/src/SWIG_files/headers/Adaptor2d_module.hxx +++ b/src/SWIG_files/headers/Adaptor2d_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -20,9 +20,6 @@ along with pythonOCC. If not, see . #include -#include -#include -#include #include #include diff --git a/src/SWIG_files/headers/Adaptor3d_module.hxx b/src/SWIG_files/headers/Adaptor3d_module.hxx index c9df8127b..cfb94c851 100644 --- a/src/SWIG_files/headers/Adaptor3d_module.hxx +++ b/src/SWIG_files/headers/Adaptor3d_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -21,18 +21,11 @@ along with pythonOCC. If not, see . #include #include -#include -#include -#include -#include -#include -#include #include #include #include #include #include -#include #include #endif // ADAPTOR3D_HXX diff --git a/src/SWIG_files/headers/AdvApp2Var_module.hxx b/src/SWIG_files/headers/AdvApp2Var_module.hxx index ba654c257..ad2dc8e39 100644 --- a/src/SWIG_files/headers/AdvApp2Var_module.hxx +++ b/src/SWIG_files/headers/AdvApp2Var_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/AdvApprox_module.hxx b/src/SWIG_files/headers/AdvApprox_module.hxx index 446739209..860b42483 100644 --- a/src/SWIG_files/headers/AdvApprox_module.hxx +++ b/src/SWIG_files/headers/AdvApprox_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/AppBlend_module.hxx b/src/SWIG_files/headers/AppBlend_module.hxx index bf0d40cca..86df33fa6 100644 --- a/src/SWIG_files/headers/AppBlend_module.hxx +++ b/src/SWIG_files/headers/AppBlend_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/AppCont_module.hxx b/src/SWIG_files/headers/AppCont_module.hxx index 93e767f6e..af11e44e7 100644 --- a/src/SWIG_files/headers/AppCont_module.hxx +++ b/src/SWIG_files/headers/AppCont_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/AppDef_module.hxx b/src/SWIG_files/headers/AppDef_module.hxx index 42bcb82ee..a77b75d30 100644 --- a/src/SWIG_files/headers/AppDef_module.hxx +++ b/src/SWIG_files/headers/AppDef_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/AppParCurves_module.hxx b/src/SWIG_files/headers/AppParCurves_module.hxx index 4aa7fe8bb..0c4b6ea87 100644 --- a/src/SWIG_files/headers/AppParCurves_module.hxx +++ b/src/SWIG_files/headers/AppParCurves_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/AppStdL_module.hxx b/src/SWIG_files/headers/AppStdL_module.hxx index 95a832955..8a0f956a6 100644 --- a/src/SWIG_files/headers/AppStdL_module.hxx +++ b/src/SWIG_files/headers/AppStdL_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/AppStd_module.hxx b/src/SWIG_files/headers/AppStd_module.hxx index aded4082b..5df2e3c7d 100644 --- a/src/SWIG_files/headers/AppStd_module.hxx +++ b/src/SWIG_files/headers/AppStd_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/ApproxInt_module.hxx b/src/SWIG_files/headers/ApproxInt_module.hxx index 34ec5c987..b7b05d13c 100644 --- a/src/SWIG_files/headers/ApproxInt_module.hxx +++ b/src/SWIG_files/headers/ApproxInt_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Approx_module.hxx b/src/SWIG_files/headers/Approx_module.hxx index f3792539b..1d7183732 100644 --- a/src/SWIG_files/headers/Approx_module.hxx +++ b/src/SWIG_files/headers/Approx_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Aspect_module.hxx b/src/SWIG_files/headers/Aspect_module.hxx index 4ee2358a2..cf3ec875f 100644 --- a/src/SWIG_files/headers/Aspect_module.hxx +++ b/src/SWIG_files/headers/Aspect_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -25,7 +25,6 @@ along with pythonOCC. If not, see . #include #include #include -#include #include #include #include @@ -53,6 +52,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include @@ -71,10 +71,12 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/BOPAlgo_module.hxx b/src/SWIG_files/headers/BOPAlgo_module.hxx index 1de2701b1..1e88107b5 100644 --- a/src/SWIG_files/headers/BOPAlgo_module.hxx +++ b/src/SWIG_files/headers/BOPAlgo_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BOPDS_module.hxx b/src/SWIG_files/headers/BOPDS_module.hxx index 1012f8290..cfa08b88e 100644 --- a/src/SWIG_files/headers/BOPDS_module.hxx +++ b/src/SWIG_files/headers/BOPDS_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -47,10 +47,8 @@ along with pythonOCC. If not, see . #include #include #include -#include #include #include -#include #include #include #include diff --git a/src/SWIG_files/headers/BOPTools_module.hxx b/src/SWIG_files/headers/BOPTools_module.hxx index 487970393..80dc7b555 100644 --- a/src/SWIG_files/headers/BOPTools_module.hxx +++ b/src/SWIG_files/headers/BOPTools_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -33,6 +33,5 @@ along with pythonOCC. If not, see . #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 index c17d3378b..571c0a416 100644 --- a/src/SWIG_files/headers/BRepAdaptor_module.hxx +++ b/src/SWIG_files/headers/BRepAdaptor_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -24,10 +24,6 @@ along with pythonOCC. If not, see . #include #include #include -#include -#include -#include -#include #include #endif // BREPADAPTOR_HXX diff --git a/src/SWIG_files/headers/BRepAlgoAPI_module.hxx b/src/SWIG_files/headers/BRepAlgoAPI_module.hxx index f88d7f412..49180820f 100644 --- a/src/SWIG_files/headers/BRepAlgoAPI_module.hxx +++ b/src/SWIG_files/headers/BRepAlgoAPI_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepAlgo_module.hxx b/src/SWIG_files/headers/BRepAlgo_module.hxx index 343a52694..1ca5290c4 100644 --- a/src/SWIG_files/headers/BRepAlgo_module.hxx +++ b/src/SWIG_files/headers/BRepAlgo_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -21,16 +21,9 @@ along with pythonOCC. If not, see . #include #include -#include -#include -#include -#include #include -#include #include #include #include -#include -#include #endif // BREPALGO_HXX diff --git a/src/SWIG_files/headers/BRepApprox_module.hxx b/src/SWIG_files/headers/BRepApprox_module.hxx index 48a5b3ce7..88ba0854c 100644 --- a/src/SWIG_files/headers/BRepApprox_module.hxx +++ b/src/SWIG_files/headers/BRepApprox_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -35,6 +35,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/BRepBlend_module.hxx b/src/SWIG_files/headers/BRepBlend_module.hxx index 865072333..c6f02b55c 100644 --- a/src/SWIG_files/headers/BRepBlend_module.hxx +++ b/src/SWIG_files/headers/BRepBlend_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -25,6 +25,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include @@ -42,6 +43,8 @@ along with pythonOCC. If not, see . #include #include #include +#include +#include #include #include #include diff --git a/src/SWIG_files/headers/BRepBndLib_module.hxx b/src/SWIG_files/headers/BRepBndLib_module.hxx index 59cda5b08..2b2fc8f6b 100644 --- a/src/SWIG_files/headers/BRepBndLib_module.hxx +++ b/src/SWIG_files/headers/BRepBndLib_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepBuilderAPI_module.hxx b/src/SWIG_files/headers/BRepBuilderAPI_module.hxx index ecd46294b..326112e28 100644 --- a/src/SWIG_files/headers/BRepBuilderAPI_module.hxx +++ b/src/SWIG_files/headers/BRepBuilderAPI_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -35,6 +35,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/BRepCheck_module.hxx b/src/SWIG_files/headers/BRepCheck_module.hxx index 77b98c00a..1d098fc8f 100644 --- a/src/SWIG_files/headers/BRepCheck_module.hxx +++ b/src/SWIG_files/headers/BRepCheck_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -21,12 +21,10 @@ along with pythonOCC. If not, see . #include #include -#include -#include #include -#include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/BRepClass3d_module.hxx b/src/SWIG_files/headers/BRepClass3d_module.hxx index 73befc4a3..408664b4a 100644 --- a/src/SWIG_files/headers/BRepClass3d_module.hxx +++ b/src/SWIG_files/headers/BRepClass3d_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepClass_module.hxx b/src/SWIG_files/headers/BRepClass_module.hxx index a1be169a1..8d3b36856 100644 --- a/src/SWIG_files/headers/BRepClass_module.hxx +++ b/src/SWIG_files/headers/BRepClass_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepExtrema_module.hxx b/src/SWIG_files/headers/BRepExtrema_module.hxx index fa571a7fd..0976fe237 100644 --- a/src/SWIG_files/headers/BRepExtrema_module.hxx +++ b/src/SWIG_files/headers/BRepExtrema_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -30,6 +30,8 @@ along with pythonOCC. If not, see . #include #include #include +#include +#include #include #include #include diff --git a/src/SWIG_files/headers/BRepFeat_module.hxx b/src/SWIG_files/headers/BRepFeat_module.hxx index 14bbbf7ba..4844a0ad5 100644 --- a/src/SWIG_files/headers/BRepFeat_module.hxx +++ b/src/SWIG_files/headers/BRepFeat_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepFill_module.hxx b/src/SWIG_files/headers/BRepFill_module.hxx index 9925d507c..a73df1b08 100644 --- a/src/SWIG_files/headers/BRepFill_module.hxx +++ b/src/SWIG_files/headers/BRepFill_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -67,6 +67,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/BRepFilletAPI_module.hxx b/src/SWIG_files/headers/BRepFilletAPI_module.hxx index ec694f4fc..86ba0df3c 100644 --- a/src/SWIG_files/headers/BRepFilletAPI_module.hxx +++ b/src/SWIG_files/headers/BRepFilletAPI_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepGProp_module.hxx b/src/SWIG_files/headers/BRepGProp_module.hxx index b8a4b928c..6f40e705c 100644 --- a/src/SWIG_files/headers/BRepGProp_module.hxx +++ b/src/SWIG_files/headers/BRepGProp_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepIntCurveSurface_module.hxx b/src/SWIG_files/headers/BRepIntCurveSurface_module.hxx index 7f1d9d61c..1b46b5e1d 100644 --- a/src/SWIG_files/headers/BRepIntCurveSurface_module.hxx +++ b/src/SWIG_files/headers/BRepIntCurveSurface_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepLProp_module.hxx b/src/SWIG_files/headers/BRepLProp_module.hxx index 7d39ecaa9..5813c3f07 100644 --- a/src/SWIG_files/headers/BRepLProp_module.hxx +++ b/src/SWIG_files/headers/BRepLProp_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepLib_module.hxx b/src/SWIG_files/headers/BRepLib_module.hxx index 4062175ba..486a34e7f 100644 --- a/src/SWIG_files/headers/BRepLib_module.hxx +++ b/src/SWIG_files/headers/BRepLib_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -35,8 +35,11 @@ along with pythonOCC. If not, see . #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 index 91b306000..c7d263b2a 100644 --- a/src/SWIG_files/headers/BRepMAT2d_module.hxx +++ b/src/SWIG_files/headers/BRepMAT2d_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepMeshData_module.hxx b/src/SWIG_files/headers/BRepMeshData_module.hxx index 4cc4b4c10..19d242777 100644 --- a/src/SWIG_files/headers/BRepMeshData_module.hxx +++ b/src/SWIG_files/headers/BRepMeshData_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepMesh_module.hxx b/src/SWIG_files/headers/BRepMesh_module.hxx index 6cfa46a5c..bf9250705 100644 --- a/src/SWIG_files/headers/BRepMesh_module.hxx +++ b/src/SWIG_files/headers/BRepMesh_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -20,15 +20,20 @@ along with pythonOCC. If not, see . #include +#include #include #include #include #include +#include #include #include #include +#include #include +#include #include +#include #include #include #include @@ -43,6 +48,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include @@ -55,6 +61,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include @@ -63,7 +70,12 @@ along with pythonOCC. If not, see . #include #include #include +#include +#include #include +#include +#include +#include #include #include #include diff --git a/src/SWIG_files/headers/BRepOffsetAPI_module.hxx b/src/SWIG_files/headers/BRepOffsetAPI_module.hxx index 424364c0a..76616c959 100644 --- a/src/SWIG_files/headers/BRepOffsetAPI_module.hxx +++ b/src/SWIG_files/headers/BRepOffsetAPI_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepOffset_module.hxx b/src/SWIG_files/headers/BRepOffset_module.hxx index 010e68972..b4ca9fde3 100644 --- a/src/SWIG_files/headers/BRepOffset_module.hxx +++ b/src/SWIG_files/headers/BRepOffset_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepPrimAPI_module.hxx b/src/SWIG_files/headers/BRepPrimAPI_module.hxx index 1999c02af..a29eb1e9c 100644 --- a/src/SWIG_files/headers/BRepPrimAPI_module.hxx +++ b/src/SWIG_files/headers/BRepPrimAPI_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepPrim_module.hxx b/src/SWIG_files/headers/BRepPrim_module.hxx index 7197213d2..104ab09c9 100644 --- a/src/SWIG_files/headers/BRepPrim_module.hxx +++ b/src/SWIG_files/headers/BRepPrim_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepProj_module.hxx b/src/SWIG_files/headers/BRepProj_module.hxx index 5d834f60a..5eb8d8082 100644 --- a/src/SWIG_files/headers/BRepProj_module.hxx +++ b/src/SWIG_files/headers/BRepProj_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepSweep_module.hxx b/src/SWIG_files/headers/BRepSweep_module.hxx index 80f8eb6c2..34b5001c8 100644 --- a/src/SWIG_files/headers/BRepSweep_module.hxx +++ b/src/SWIG_files/headers/BRepSweep_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepTools_module.hxx b/src/SWIG_files/headers/BRepTools_module.hxx index ef419e32f..b7eadd536 100644 --- a/src/SWIG_files/headers/BRepTools_module.hxx +++ b/src/SWIG_files/headers/BRepTools_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -20,6 +20,7 @@ along with pythonOCC. If not, see . #include +#include #include #include #include @@ -27,6 +28,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/BRepTopAdaptor_module.hxx b/src/SWIG_files/headers/BRepTopAdaptor_module.hxx index 27b37c756..3646fb555 100644 --- a/src/SWIG_files/headers/BRepTopAdaptor_module.hxx +++ b/src/SWIG_files/headers/BRepTopAdaptor_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRep_module.hxx b/src/SWIG_files/headers/BRep_module.hxx index fd48c19c1..ef170fda5 100644 --- a/src/SWIG_files/headers/BRep_module.hxx +++ b/src/SWIG_files/headers/BRep_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BSplCLib_module.hxx b/src/SWIG_files/headers/BSplCLib_module.hxx index 0d4e1cf05..ec27fe140 100644 --- a/src/SWIG_files/headers/BSplCLib_module.hxx +++ b/src/SWIG_files/headers/BSplCLib_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BSplSLib_module.hxx b/src/SWIG_files/headers/BSplSLib_module.hxx index 9b79b0418..281d8a415 100644 --- a/src/SWIG_files/headers/BSplSLib_module.hxx +++ b/src/SWIG_files/headers/BSplSLib_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BVH_module.hxx b/src/SWIG_files/headers/BVH_module.hxx index adeab4aee..9aad1ee81 100644 --- a/src/SWIG_files/headers/BVH_module.hxx +++ b/src/SWIG_files/headers/BVH_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -26,10 +26,12 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/BiTgte_module.hxx b/src/SWIG_files/headers/BiTgte_module.hxx index b430ca053..caa343d05 100644 --- a/src/SWIG_files/headers/BiTgte_module.hxx +++ b/src/SWIG_files/headers/BiTgte_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -23,7 +23,5 @@ along with pythonOCC. If not, see . #include #include #include -#include -#include #endif // BITGTE_HXX diff --git a/src/SWIG_files/headers/BinDrivers_module.hxx b/src/SWIG_files/headers/BinDrivers_module.hxx index e16360bfa..9926a0d14 100644 --- a/src/SWIG_files/headers/BinDrivers_module.hxx +++ b/src/SWIG_files/headers/BinDrivers_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BinLDrivers_module.hxx b/src/SWIG_files/headers/BinLDrivers_module.hxx index fb9188390..92b59b16d 100644 --- a/src/SWIG_files/headers/BinLDrivers_module.hxx +++ b/src/SWIG_files/headers/BinLDrivers_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BinMDF_module.hxx b/src/SWIG_files/headers/BinMDF_module.hxx index dad70de72..bce5a2dbf 100644 --- a/src/SWIG_files/headers/BinMDF_module.hxx +++ b/src/SWIG_files/headers/BinMDF_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BinMDataStd_module.hxx b/src/SWIG_files/headers/BinMDataStd_module.hxx index 630615871..61df408d6 100644 --- a/src/SWIG_files/headers/BinMDataStd_module.hxx +++ b/src/SWIG_files/headers/BinMDataStd_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BinMDataXtd_module.hxx b/src/SWIG_files/headers/BinMDataXtd_module.hxx index c7ac7a678..bb590a3f5 100644 --- a/src/SWIG_files/headers/BinMDataXtd_module.hxx +++ b/src/SWIG_files/headers/BinMDataXtd_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BinMDocStd_module.hxx b/src/SWIG_files/headers/BinMDocStd_module.hxx index 7abfb483f..60e496ce9 100644 --- a/src/SWIG_files/headers/BinMDocStd_module.hxx +++ b/src/SWIG_files/headers/BinMDocStd_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BinMFunction_module.hxx b/src/SWIG_files/headers/BinMFunction_module.hxx index 38b291175..38b6e4f56 100644 --- a/src/SWIG_files/headers/BinMFunction_module.hxx +++ b/src/SWIG_files/headers/BinMFunction_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BinMNaming_module.hxx b/src/SWIG_files/headers/BinMNaming_module.hxx index 27e558c90..b25c9f701 100644 --- a/src/SWIG_files/headers/BinMNaming_module.hxx +++ b/src/SWIG_files/headers/BinMNaming_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BinMXCAFDoc_module.hxx b/src/SWIG_files/headers/BinMXCAFDoc_module.hxx index 2522ea3ec..597c4ac62 100644 --- a/src/SWIG_files/headers/BinMXCAFDoc_module.hxx +++ b/src/SWIG_files/headers/BinMXCAFDoc_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -26,6 +26,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/BinObjMgt_module.hxx b/src/SWIG_files/headers/BinObjMgt_module.hxx index 4b8fc0b69..bf9423988 100644 --- a/src/SWIG_files/headers/BinObjMgt_module.hxx +++ b/src/SWIG_files/headers/BinObjMgt_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -26,6 +26,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include diff --git a/src/SWIG_files/headers/BinTObjDrivers_module.hxx b/src/SWIG_files/headers/BinTObjDrivers_module.hxx index 880b4afab..874b9a8dc 100644 --- a/src/SWIG_files/headers/BinTObjDrivers_module.hxx +++ b/src/SWIG_files/headers/BinTObjDrivers_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BinTools_module.hxx b/src/SWIG_files/headers/BinTools_module.hxx index e841b1128..183bd1807 100644 --- a/src/SWIG_files/headers/BinTools_module.hxx +++ b/src/SWIG_files/headers/BinTools_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -22,9 +22,16 @@ along with pythonOCC. If not, see . #include #include #include +#include +#include #include #include +#include +#include +#include #include +#include +#include #include #endif // BINTOOLS_HXX diff --git a/src/SWIG_files/headers/BinXCAFDrivers_module.hxx b/src/SWIG_files/headers/BinXCAFDrivers_module.hxx index 2885826c4..faf1e4d7c 100644 --- a/src/SWIG_files/headers/BinXCAFDrivers_module.hxx +++ b/src/SWIG_files/headers/BinXCAFDrivers_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Bisector_module.hxx b/src/SWIG_files/headers/Bisector_module.hxx index b4cec12e2..a49d84e76 100644 --- a/src/SWIG_files/headers/Bisector_module.hxx +++ b/src/SWIG_files/headers/Bisector_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BlendFunc_module.hxx b/src/SWIG_files/headers/BlendFunc_module.hxx index 9ed46a7fb..005a74336 100644 --- a/src/SWIG_files/headers/BlendFunc_module.hxx +++ b/src/SWIG_files/headers/BlendFunc_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Blend_module.hxx b/src/SWIG_files/headers/Blend_module.hxx index 4e34cc9de..88460c92f 100644 --- a/src/SWIG_files/headers/Blend_module.hxx +++ b/src/SWIG_files/headers/Blend_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BndLib_module.hxx b/src/SWIG_files/headers/BndLib_module.hxx index 52b97eeb2..14a388b84 100644 --- a/src/SWIG_files/headers/BndLib_module.hxx +++ b/src/SWIG_files/headers/BndLib_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Bnd_module.hxx b/src/SWIG_files/headers/Bnd_module.hxx index e08f329b7..4ff07dbac 100644 --- a/src/SWIG_files/headers/Bnd_module.hxx +++ b/src/SWIG_files/headers/Bnd_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -27,7 +27,6 @@ along with pythonOCC. If not, see . #include #include #include -#include #include #include #include @@ -35,7 +34,6 @@ along with pythonOCC. If not, see . #include #include #include -#include #include #include diff --git a/src/SWIG_files/headers/CDF_module.hxx b/src/SWIG_files/headers/CDF_module.hxx index 56ad038cf..6fa21c07a 100644 --- a/src/SWIG_files/headers/CDF_module.hxx +++ b/src/SWIG_files/headers/CDF_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -24,7 +24,6 @@ along with pythonOCC. If not, see . #include #include #include -#include #include #include #include diff --git a/src/SWIG_files/headers/CDM_module.hxx b/src/SWIG_files/headers/CDM_module.hxx index 446699cb3..91fa07843 100644 --- a/src/SWIG_files/headers/CDM_module.hxx +++ b/src/SWIG_files/headers/CDM_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -23,7 +23,6 @@ along with pythonOCC. If not, see . #include #include #include -#include #include #include #include diff --git a/src/SWIG_files/headers/CPnts_module.hxx b/src/SWIG_files/headers/CPnts_module.hxx index 3d40681e1..5b1d3114b 100644 --- a/src/SWIG_files/headers/CPnts_module.hxx +++ b/src/SWIG_files/headers/CPnts_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/CSLib_module.hxx b/src/SWIG_files/headers/CSLib_module.hxx index 72a4949d3..65a93d328 100644 --- a/src/SWIG_files/headers/CSLib_module.hxx +++ b/src/SWIG_files/headers/CSLib_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/ChFi2d_module.hxx b/src/SWIG_files/headers/ChFi2d_module.hxx index a671c698a..4bc61bcc1 100644 --- a/src/SWIG_files/headers/ChFi2d_module.hxx +++ b/src/SWIG_files/headers/ChFi2d_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/ChFi3d_module.hxx b/src/SWIG_files/headers/ChFi3d_module.hxx index 49a3bfc24..aa358890e 100644 --- a/src/SWIG_files/headers/ChFi3d_module.hxx +++ b/src/SWIG_files/headers/ChFi3d_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/ChFiDS_module.hxx b/src/SWIG_files/headers/ChFiDS_module.hxx index 8b0679270..3c09c61fb 100644 --- a/src/SWIG_files/headers/ChFiDS_module.hxx +++ b/src/SWIG_files/headers/ChFiDS_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -29,7 +29,6 @@ along with pythonOCC. If not, see . #include #include #include -#include #include #include #include diff --git a/src/SWIG_files/headers/ChFiKPart_module.hxx b/src/SWIG_files/headers/ChFiKPart_module.hxx index f96f8d2b5..716a4011f 100644 --- a/src/SWIG_files/headers/ChFiKPart_module.hxx +++ b/src/SWIG_files/headers/ChFiKPart_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Contap_module.hxx b/src/SWIG_files/headers/Contap_module.hxx index 2b2fad998..2018d5b60 100644 --- a/src/SWIG_files/headers/Contap_module.hxx +++ b/src/SWIG_files/headers/Contap_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Convert_module.hxx b/src/SWIG_files/headers/Convert_module.hxx index 8d9e017a7..675b464ca 100644 --- a/src/SWIG_files/headers/Convert_module.hxx +++ b/src/SWIG_files/headers/Convert_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/DEBRepCascade_module.hxx b/src/SWIG_files/headers/DEBRepCascade_module.hxx new file mode 100644 index 000000000..3e61d1937 --- /dev/null +++ b/src/SWIG_files/headers/DEBRepCascade_module.hxx @@ -0,0 +1,25 @@ +/* +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) + +This file is part of pythonOCC. +pythonOCC is free software: you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +pythonOCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public License +along with pythonOCC. If not, see . +*/ +#ifndef DEBREPCASCADE_HXX +#define DEBREPCASCADE_HXX + + +#include +#include + +#endif // DEBREPCASCADE_HXX diff --git a/src/SWIG_files/headers/DEXCAFCascade_module.hxx b/src/SWIG_files/headers/DEXCAFCascade_module.hxx new file mode 100644 index 000000000..5444fe5da --- /dev/null +++ b/src/SWIG_files/headers/DEXCAFCascade_module.hxx @@ -0,0 +1,25 @@ +/* +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) + +This file is part of pythonOCC. +pythonOCC is free software: you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +pythonOCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public License +along with pythonOCC. If not, see . +*/ +#ifndef DEXCAFCASCADE_HXX +#define DEXCAFCASCADE_HXX + + +#include +#include + +#endif // DEXCAFCASCADE_HXX diff --git a/src/SWIG_files/headers/DE_module.hxx b/src/SWIG_files/headers/DE_module.hxx new file mode 100644 index 000000000..9295c409f --- /dev/null +++ b/src/SWIG_files/headers/DE_module.hxx @@ -0,0 +1,30 @@ +/* +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) + +This file is part of pythonOCC. +pythonOCC is free software: you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +pythonOCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public License +along with pythonOCC. If not, see . +*/ +#ifndef DE_HXX +#define DE_HXX + + +#include +#include +#include +#include +#include +#include +#include + +#endif // DE_HXX diff --git a/src/SWIG_files/headers/Draft_module.hxx b/src/SWIG_files/headers/Draft_module.hxx index 764f85c1b..dea0c512c 100644 --- a/src/SWIG_files/headers/Draft_module.hxx +++ b/src/SWIG_files/headers/Draft_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/DsgPrs_module.hxx b/src/SWIG_files/headers/DsgPrs_module.hxx index 86a3e235c..2b49cd988 100644 --- a/src/SWIG_files/headers/DsgPrs_module.hxx +++ b/src/SWIG_files/headers/DsgPrs_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/ElCLib_module.hxx b/src/SWIG_files/headers/ElCLib_module.hxx index 4d2586e6f..bcd94ce4c 100644 --- a/src/SWIG_files/headers/ElCLib_module.hxx +++ b/src/SWIG_files/headers/ElCLib_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/ElSLib_module.hxx b/src/SWIG_files/headers/ElSLib_module.hxx index a7319755f..8f8ff7f99 100644 --- a/src/SWIG_files/headers/ElSLib_module.hxx +++ b/src/SWIG_files/headers/ElSLib_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/ExprIntrp_module.hxx b/src/SWIG_files/headers/ExprIntrp_module.hxx index 78a86e4b3..7f26e8412 100644 --- a/src/SWIG_files/headers/ExprIntrp_module.hxx +++ b/src/SWIG_files/headers/ExprIntrp_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Expr_module.hxx b/src/SWIG_files/headers/Expr_module.hxx index 524a05a44..5e4ad1635 100644 --- a/src/SWIG_files/headers/Expr_module.hxx +++ b/src/SWIG_files/headers/Expr_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Extrema_module.hxx b/src/SWIG_files/headers/Extrema_module.hxx index 0ef9cec56..5058900bf 100644 --- a/src/SWIG_files/headers/Extrema_module.hxx +++ b/src/SWIG_files/headers/Extrema_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -77,7 +77,6 @@ along with pythonOCC. If not, see . #include #include #include -#include #include #include #include diff --git a/src/SWIG_files/headers/FEmTool_module.hxx b/src/SWIG_files/headers/FEmTool_module.hxx index a559dae9f..57aac3ad2 100644 --- a/src/SWIG_files/headers/FEmTool_module.hxx +++ b/src/SWIG_files/headers/FEmTool_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/FSD_module.hxx b/src/SWIG_files/headers/FSD_module.hxx index ec89eabd3..a034e9e11 100644 --- a/src/SWIG_files/headers/FSD_module.hxx +++ b/src/SWIG_files/headers/FSD_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -20,7 +20,7 @@ along with pythonOCC. If not, see . #include -#include +#include #include #include #include diff --git a/src/SWIG_files/headers/FairCurve_module.hxx b/src/SWIG_files/headers/FairCurve_module.hxx index 73845e6b4..12b052a70 100644 --- a/src/SWIG_files/headers/FairCurve_module.hxx +++ b/src/SWIG_files/headers/FairCurve_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/FilletSurf_module.hxx b/src/SWIG_files/headers/FilletSurf_module.hxx index 52137ccb2..23ae0ca4f 100644 --- a/src/SWIG_files/headers/FilletSurf_module.hxx +++ b/src/SWIG_files/headers/FilletSurf_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/GCE2d_module.hxx b/src/SWIG_files/headers/GCE2d_module.hxx index e0f945e06..5e7a48c5b 100644 --- a/src/SWIG_files/headers/GCE2d_module.hxx +++ b/src/SWIG_files/headers/GCE2d_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/GCPnts_module.hxx b/src/SWIG_files/headers/GCPnts_module.hxx index 9abf96d79..2de25d5f9 100644 --- a/src/SWIG_files/headers/GCPnts_module.hxx +++ b/src/SWIG_files/headers/GCPnts_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -26,6 +26,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/GC_module.hxx b/src/SWIG_files/headers/GC_module.hxx index d0ed2b65a..83744fd19 100644 --- a/src/SWIG_files/headers/GC_module.hxx +++ b/src/SWIG_files/headers/GC_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/GProp_module.hxx b/src/SWIG_files/headers/GProp_module.hxx index 91340f46b..b80c31e22 100644 --- a/src/SWIG_files/headers/GProp_module.hxx +++ b/src/SWIG_files/headers/GProp_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/GccAna_module.hxx b/src/SWIG_files/headers/GccAna_module.hxx index 16c3c1c31..9c54512c4 100644 --- a/src/SWIG_files/headers/GccAna_module.hxx +++ b/src/SWIG_files/headers/GccAna_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/GccEnt_module.hxx b/src/SWIG_files/headers/GccEnt_module.hxx index f76fabf89..a273fcc3b 100644 --- a/src/SWIG_files/headers/GccEnt_module.hxx +++ b/src/SWIG_files/headers/GccEnt_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/GccInt_module.hxx b/src/SWIG_files/headers/GccInt_module.hxx index b55a7e8a3..67123a8f9 100644 --- a/src/SWIG_files/headers/GccInt_module.hxx +++ b/src/SWIG_files/headers/GccInt_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Geom2dAPI_module.hxx b/src/SWIG_files/headers/Geom2dAPI_module.hxx index ea6fb271e..84295582a 100644 --- a/src/SWIG_files/headers/Geom2dAPI_module.hxx +++ b/src/SWIG_files/headers/Geom2dAPI_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Geom2dAdaptor_module.hxx b/src/SWIG_files/headers/Geom2dAdaptor_module.hxx index 408927c68..1c555589e 100644 --- a/src/SWIG_files/headers/Geom2dAdaptor_module.hxx +++ b/src/SWIG_files/headers/Geom2dAdaptor_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -21,7 +21,5 @@ along with pythonOCC. If not, see . #include #include -#include -#include #endif // GEOM2DADAPTOR_HXX diff --git a/src/SWIG_files/headers/Geom2dConvert_module.hxx b/src/SWIG_files/headers/Geom2dConvert_module.hxx index caff3fd5c..158b8fcf8 100644 --- a/src/SWIG_files/headers/Geom2dConvert_module.hxx +++ b/src/SWIG_files/headers/Geom2dConvert_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -20,9 +20,12 @@ along with pythonOCC. If not, see . #include +#include #include #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 index 36eb3a139..1c2aa19f2 100644 --- a/src/SWIG_files/headers/Geom2dEvaluator_module.hxx +++ b/src/SWIG_files/headers/Geom2dEvaluator_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Geom2dGcc_module.hxx b/src/SWIG_files/headers/Geom2dGcc_module.hxx index 1e9b8c653..75bb63c3f 100644 --- a/src/SWIG_files/headers/Geom2dGcc_module.hxx +++ b/src/SWIG_files/headers/Geom2dGcc_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Geom2dHatch_module.hxx b/src/SWIG_files/headers/Geom2dHatch_module.hxx index d89f7cb05..072b0db7d 100644 --- a/src/SWIG_files/headers/Geom2dHatch_module.hxx +++ b/src/SWIG_files/headers/Geom2dHatch_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Geom2dInt_module.hxx b/src/SWIG_files/headers/Geom2dInt_module.hxx index 012f91e11..856d0e02a 100644 --- a/src/SWIG_files/headers/Geom2dInt_module.hxx +++ b/src/SWIG_files/headers/Geom2dInt_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Geom2dLProp_module.hxx b/src/SWIG_files/headers/Geom2dLProp_module.hxx index bf75fbdb6..605578e04 100644 --- a/src/SWIG_files/headers/Geom2dLProp_module.hxx +++ b/src/SWIG_files/headers/Geom2dLProp_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Geom2d_module.hxx b/src/SWIG_files/headers/Geom2d_module.hxx index e2b6000f1..c76756530 100644 --- a/src/SWIG_files/headers/Geom2d_module.hxx +++ b/src/SWIG_files/headers/Geom2d_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/GeomAPI_module.hxx b/src/SWIG_files/headers/GeomAPI_module.hxx index 42f18c8fc..9d8c8e242 100644 --- a/src/SWIG_files/headers/GeomAPI_module.hxx +++ b/src/SWIG_files/headers/GeomAPI_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/GeomAbs_module.hxx b/src/SWIG_files/headers/GeomAbs_module.hxx index 998b0fb7d..d61bfd5d8 100644 --- a/src/SWIG_files/headers/GeomAbs_module.hxx +++ b/src/SWIG_files/headers/GeomAbs_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/GeomAdaptor_module.hxx b/src/SWIG_files/headers/GeomAdaptor_module.hxx index b04672a81..b8a188dbf 100644 --- a/src/SWIG_files/headers/GeomAdaptor_module.hxx +++ b/src/SWIG_files/headers/GeomAdaptor_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -21,12 +21,6 @@ along with pythonOCC. If not, see . #include #include -#include -#include -#include -#include -#include -#include #include #include #include diff --git a/src/SWIG_files/headers/GeomConvert_module.hxx b/src/SWIG_files/headers/GeomConvert_module.hxx index 671461c79..511927285 100644 --- a/src/SWIG_files/headers/GeomConvert_module.hxx +++ b/src/SWIG_files/headers/GeomConvert_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -28,5 +28,12 @@ along with pythonOCC. If not, see . #include #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 index 1d7334d83..d89f0988f 100644 --- a/src/SWIG_files/headers/GeomEvaluator_module.hxx +++ b/src/SWIG_files/headers/GeomEvaluator_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/GeomFill_module.hxx b/src/SWIG_files/headers/GeomFill_module.hxx index 6d7bb7efe..5af5a9e8a 100644 --- a/src/SWIG_files/headers/GeomFill_module.hxx +++ b/src/SWIG_files/headers/GeomFill_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/GeomInt_module.hxx b/src/SWIG_files/headers/GeomInt_module.hxx index 333e06199..027cd239d 100644 --- a/src/SWIG_files/headers/GeomInt_module.hxx +++ b/src/SWIG_files/headers/GeomInt_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/GeomLProp_module.hxx b/src/SWIG_files/headers/GeomLProp_module.hxx index 75cd1c9b9..6866ea5e3 100644 --- a/src/SWIG_files/headers/GeomLProp_module.hxx +++ b/src/SWIG_files/headers/GeomLProp_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/GeomLib_module.hxx b/src/SWIG_files/headers/GeomLib_module.hxx index e85d7920b..dc0908fff 100644 --- a/src/SWIG_files/headers/GeomLib_module.hxx +++ b/src/SWIG_files/headers/GeomLib_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/GeomPlate_module.hxx b/src/SWIG_files/headers/GeomPlate_module.hxx index 8d0938e14..c45175f3c 100644 --- a/src/SWIG_files/headers/GeomPlate_module.hxx +++ b/src/SWIG_files/headers/GeomPlate_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/GeomProjLib_module.hxx b/src/SWIG_files/headers/GeomProjLib_module.hxx index b8ad12305..820251347 100644 --- a/src/SWIG_files/headers/GeomProjLib_module.hxx +++ b/src/SWIG_files/headers/GeomProjLib_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/GeomToStep_module.hxx b/src/SWIG_files/headers/GeomToStep_module.hxx index 15285888b..e136f72ff 100644 --- a/src/SWIG_files/headers/GeomToStep_module.hxx +++ b/src/SWIG_files/headers/GeomToStep_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/GeomTools_module.hxx b/src/SWIG_files/headers/GeomTools_module.hxx index 06c1c892d..da2a2db6d 100644 --- a/src/SWIG_files/headers/GeomTools_module.hxx +++ b/src/SWIG_files/headers/GeomTools_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Geom_module.hxx b/src/SWIG_files/headers/Geom_module.hxx index 1c8167342..33add97ce 100644 --- a/src/SWIG_files/headers/Geom_module.hxx +++ b/src/SWIG_files/headers/Geom_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Graphic3d_module.hxx b/src/SWIG_files/headers/Graphic3d_module.hxx index cf961277c..d72e460da 100644 --- a/src/SWIG_files/headers/Graphic3d_module.hxx +++ b/src/SWIG_files/headers/Graphic3d_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -49,7 +49,6 @@ along with pythonOCC. If not, see . #include #include #include -#include #include #include #include @@ -63,17 +62,18 @@ 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 @@ -83,7 +83,6 @@ along with pythonOCC. If not, see . #include #include #include -#include #include #include #include @@ -109,6 +108,8 @@ along with pythonOCC. If not, see . #include #include #include +#include +#include #include #include #include @@ -124,6 +125,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include @@ -133,13 +135,12 @@ along with pythonOCC. If not, see . #include #include #include -#include #include +#include #include #include #include #include -#include #include #include #include diff --git a/src/SWIG_files/headers/HLRAlgo_module.hxx b/src/SWIG_files/headers/HLRAlgo_module.hxx index 227c59e1f..82cfdc469 100644 --- a/src/SWIG_files/headers/HLRAlgo_module.hxx +++ b/src/SWIG_files/headers/HLRAlgo_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -20,6 +20,7 @@ along with pythonOCC. If not, see . #include +#include #include #include #include @@ -40,6 +41,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/HLRAppli_module.hxx b/src/SWIG_files/headers/HLRAppli_module.hxx index 3c2ac3cf8..3e059ec41 100644 --- a/src/SWIG_files/headers/HLRAppli_module.hxx +++ b/src/SWIG_files/headers/HLRAppli_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/HLRBRep_module.hxx b/src/SWIG_files/headers/HLRBRep_module.hxx index bd0fb3ec6..9c1d0a919 100644 --- a/src/SWIG_files/headers/HLRBRep_module.hxx +++ b/src/SWIG_files/headers/HLRBRep_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/HLRTopoBRep_module.hxx b/src/SWIG_files/headers/HLRTopoBRep_module.hxx index a21c474b8..baf8ef63b 100644 --- a/src/SWIG_files/headers/HLRTopoBRep_module.hxx +++ b/src/SWIG_files/headers/HLRTopoBRep_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/HatchGen_module.hxx b/src/SWIG_files/headers/HatchGen_module.hxx index 4aaa8f5d9..0622bfe66 100644 --- a/src/SWIG_files/headers/HatchGen_module.hxx +++ b/src/SWIG_files/headers/HatchGen_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Hatch_module.hxx b/src/SWIG_files/headers/Hatch_module.hxx index f2e3ed259..bcd7ad077 100644 --- a/src/SWIG_files/headers/Hatch_module.hxx +++ b/src/SWIG_files/headers/Hatch_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/HeaderSection_module.hxx b/src/SWIG_files/headers/HeaderSection_module.hxx new file mode 100644 index 000000000..89b1551df --- /dev/null +++ b/src/SWIG_files/headers/HeaderSection_module.hxx @@ -0,0 +1,28 @@ +/* +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) + +This file is part of pythonOCC. +pythonOCC is free software: you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +pythonOCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public License +along with pythonOCC. If not, see . +*/ +#ifndef HEADERSECTION_HXX +#define HEADERSECTION_HXX + + +#include +#include +#include +#include +#include + +#endif // HEADERSECTION_HXX diff --git a/src/SWIG_files/headers/Hermit_module.hxx b/src/SWIG_files/headers/Hermit_module.hxx index 63ed26eb3..cde745509 100644 --- a/src/SWIG_files/headers/Hermit_module.hxx +++ b/src/SWIG_files/headers/Hermit_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IFSelect_module.hxx b/src/SWIG_files/headers/IFSelect_module.hxx index 4fc2b2700..2f653ebdf 100644 --- a/src/SWIG_files/headers/IFSelect_module.hxx +++ b/src/SWIG_files/headers/IFSelect_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IGESCAFControl_module.hxx b/src/SWIG_files/headers/IGESCAFControl_module.hxx index fbadbab6a..be9f43b81 100644 --- a/src/SWIG_files/headers/IGESCAFControl_module.hxx +++ b/src/SWIG_files/headers/IGESCAFControl_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -20,6 +20,8 @@ along with pythonOCC. If not, see . #include +#include +#include #include #include diff --git a/src/SWIG_files/headers/IGESControl_module.hxx b/src/SWIG_files/headers/IGESControl_module.hxx index d6e5bca03..3bdad8d09 100644 --- a/src/SWIG_files/headers/IGESControl_module.hxx +++ b/src/SWIG_files/headers/IGESControl_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IGESData_module.hxx b/src/SWIG_files/headers/IGESData_module.hxx index 09aacdd7d..f775b30f6 100644 --- a/src/SWIG_files/headers/IGESData_module.hxx +++ b/src/SWIG_files/headers/IGESData_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IGESToBRep_module.hxx b/src/SWIG_files/headers/IGESToBRep_module.hxx index 58f3b3df7..e02fe0620 100644 --- a/src/SWIG_files/headers/IGESToBRep_module.hxx +++ b/src/SWIG_files/headers/IGESToBRep_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IMeshData_module.hxx b/src/SWIG_files/headers/IMeshData_module.hxx index 12bf5fcd7..0cd4ae593 100644 --- a/src/SWIG_files/headers/IMeshData_module.hxx +++ b/src/SWIG_files/headers/IMeshData_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IMeshTools_module.hxx b/src/SWIG_files/headers/IMeshTools_module.hxx index 35fc228f0..1d4348ca0 100644 --- a/src/SWIG_files/headers/IMeshTools_module.hxx +++ b/src/SWIG_files/headers/IMeshTools_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IVtkOCC_module.hxx b/src/SWIG_files/headers/IVtkOCC_module.hxx index adf60a26d..a8a65232d 100644 --- a/src/SWIG_files/headers/IVtkOCC_module.hxx +++ b/src/SWIG_files/headers/IVtkOCC_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IVtkTools_module.hxx b/src/SWIG_files/headers/IVtkTools_module.hxx index 523777f8d..fc5dfd0fc 100644 --- a/src/SWIG_files/headers/IVtkTools_module.hxx +++ b/src/SWIG_files/headers/IVtkTools_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IVtkVTK_module.hxx b/src/SWIG_files/headers/IVtkVTK_module.hxx index 38b575d14..cde9d12e4 100644 --- a/src/SWIG_files/headers/IVtkVTK_module.hxx +++ b/src/SWIG_files/headers/IVtkVTK_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IVtk_module.hxx b/src/SWIG_files/headers/IVtk_module.hxx index 849f91b03..36138694d 100644 --- a/src/SWIG_files/headers/IVtk_module.hxx +++ b/src/SWIG_files/headers/IVtk_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Image_module.hxx b/src/SWIG_files/headers/Image_module.hxx index e0658786f..7880967f0 100644 --- a/src/SWIG_files/headers/Image_module.hxx +++ b/src/SWIG_files/headers/Image_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IntAna2d_module.hxx b/src/SWIG_files/headers/IntAna2d_module.hxx index e34c93394..330d8ef23 100644 --- a/src/SWIG_files/headers/IntAna2d_module.hxx +++ b/src/SWIG_files/headers/IntAna2d_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IntAna_module.hxx b/src/SWIG_files/headers/IntAna_module.hxx index 2b9551858..d027cf553 100644 --- a/src/SWIG_files/headers/IntAna_module.hxx +++ b/src/SWIG_files/headers/IntAna_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IntCurveSurface_module.hxx b/src/SWIG_files/headers/IntCurveSurface_module.hxx index 381048f4e..a5d78e488 100644 --- a/src/SWIG_files/headers/IntCurveSurface_module.hxx +++ b/src/SWIG_files/headers/IntCurveSurface_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IntCurve_module.hxx b/src/SWIG_files/headers/IntCurve_module.hxx index 3fe8e1348..efa4a042a 100644 --- a/src/SWIG_files/headers/IntCurve_module.hxx +++ b/src/SWIG_files/headers/IntCurve_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IntCurvesFace_module.hxx b/src/SWIG_files/headers/IntCurvesFace_module.hxx index ac84e2c95..d0fc6b225 100644 --- a/src/SWIG_files/headers/IntCurvesFace_module.hxx +++ b/src/SWIG_files/headers/IntCurvesFace_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IntImpParGen_module.hxx b/src/SWIG_files/headers/IntImpParGen_module.hxx index b3e15f2e5..4513ba0bf 100644 --- a/src/SWIG_files/headers/IntImpParGen_module.hxx +++ b/src/SWIG_files/headers/IntImpParGen_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IntImp_module.hxx b/src/SWIG_files/headers/IntImp_module.hxx index 9ff34d959..4efb3f846 100644 --- a/src/SWIG_files/headers/IntImp_module.hxx +++ b/src/SWIG_files/headers/IntImp_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IntPatch_module.hxx b/src/SWIG_files/headers/IntPatch_module.hxx index 6d41eaf70..f37923e0b 100644 --- a/src/SWIG_files/headers/IntPatch_module.hxx +++ b/src/SWIG_files/headers/IntPatch_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IntPolyh_module.hxx b/src/SWIG_files/headers/IntPolyh_module.hxx index 9bcfeb17a..264941b21 100644 --- a/src/SWIG_files/headers/IntPolyh_module.hxx +++ b/src/SWIG_files/headers/IntPolyh_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -27,7 +27,6 @@ along with pythonOCC. If not, see . #include #include #include -#include #include #include #include diff --git a/src/SWIG_files/headers/IntRes2d_module.hxx b/src/SWIG_files/headers/IntRes2d_module.hxx index 6199639f1..6c99c5bc1 100644 --- a/src/SWIG_files/headers/IntRes2d_module.hxx +++ b/src/SWIG_files/headers/IntRes2d_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IntStart_module.hxx b/src/SWIG_files/headers/IntStart_module.hxx index 932990475..36ab3a7bb 100644 --- a/src/SWIG_files/headers/IntStart_module.hxx +++ b/src/SWIG_files/headers/IntStart_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IntSurf_module.hxx b/src/SWIG_files/headers/IntSurf_module.hxx index 52e4a71b0..55ccd391c 100644 --- a/src/SWIG_files/headers/IntSurf_module.hxx +++ b/src/SWIG_files/headers/IntSurf_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IntTools_module.hxx b/src/SWIG_files/headers/IntTools_module.hxx index 58ec89b56..c58ea14ed 100644 --- a/src/SWIG_files/headers/IntTools_module.hxx +++ b/src/SWIG_files/headers/IntTools_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -24,15 +24,12 @@ along with pythonOCC. If not, see . #include #include #include -#include #include #include #include #include #include #include -#include -#include #include #include #include @@ -63,7 +60,6 @@ along with pythonOCC. If not, see . #include #include #include -#include #include #include #include diff --git a/src/SWIG_files/headers/IntWalk_module.hxx b/src/SWIG_files/headers/IntWalk_module.hxx index 9faacba39..fbf5e84f4 100644 --- a/src/SWIG_files/headers/IntWalk_module.hxx +++ b/src/SWIG_files/headers/IntWalk_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/InterfaceGraphic_module.hxx b/src/SWIG_files/headers/InterfaceGraphic_module.hxx index b406f41a0..79fd051c4 100644 --- a/src/SWIG_files/headers/InterfaceGraphic_module.hxx +++ b/src/SWIG_files/headers/InterfaceGraphic_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -19,6 +19,5 @@ along with pythonOCC. If not, see . #define INTERFACEGRAPHIC_HXX -#include #endif // INTERFACEGRAPHIC_HXX diff --git a/src/SWIG_files/headers/Interface_module.hxx b/src/SWIG_files/headers/Interface_module.hxx index 94cc82dda..47ab46a60 100644 --- a/src/SWIG_files/headers/Interface_module.hxx +++ b/src/SWIG_files/headers/Interface_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -60,7 +60,6 @@ along with pythonOCC. If not, see . #include #include #include -#include #include #include #include @@ -82,6 +81,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/Intf_module.hxx b/src/SWIG_files/headers/Intf_module.hxx index 9349f5446..3cbd7d001 100644 --- a/src/SWIG_files/headers/Intf_module.hxx +++ b/src/SWIG_files/headers/Intf_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Intrv_module.hxx b/src/SWIG_files/headers/Intrv_module.hxx index ea51b6db2..387954de8 100644 --- a/src/SWIG_files/headers/Intrv_module.hxx +++ b/src/SWIG_files/headers/Intrv_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/LDOM_module.hxx b/src/SWIG_files/headers/LDOM_module.hxx index 098c51450..de58b8e87 100644 --- a/src/SWIG_files/headers/LDOM_module.hxx +++ b/src/SWIG_files/headers/LDOM_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/LProp3d_module.hxx b/src/SWIG_files/headers/LProp3d_module.hxx index d842beeed..955c9fa5b 100644 --- a/src/SWIG_files/headers/LProp3d_module.hxx +++ b/src/SWIG_files/headers/LProp3d_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/LProp_module.hxx b/src/SWIG_files/headers/LProp_module.hxx index e4c7f5202..e3c1a63a5 100644 --- a/src/SWIG_files/headers/LProp_module.hxx +++ b/src/SWIG_files/headers/LProp_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Law_module.hxx b/src/SWIG_files/headers/Law_module.hxx index cdc3f96c5..61eeb83f4 100644 --- a/src/SWIG_files/headers/Law_module.hxx +++ b/src/SWIG_files/headers/Law_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/LocOpe_module.hxx b/src/SWIG_files/headers/LocOpe_module.hxx index cf0a85a3d..3939cc574 100644 --- a/src/SWIG_files/headers/LocOpe_module.hxx +++ b/src/SWIG_files/headers/LocOpe_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/LocalAnalysis_module.hxx b/src/SWIG_files/headers/LocalAnalysis_module.hxx index fcc67f30d..3a0a3cbde 100644 --- a/src/SWIG_files/headers/LocalAnalysis_module.hxx +++ b/src/SWIG_files/headers/LocalAnalysis_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/MAT2d_module.hxx b/src/SWIG_files/headers/MAT2d_module.hxx index 5939047b3..f5e9209fc 100644 --- a/src/SWIG_files/headers/MAT2d_module.hxx +++ b/src/SWIG_files/headers/MAT2d_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -38,7 +38,6 @@ along with pythonOCC. If not, see . #include #include #include -#include #include #include #include diff --git a/src/SWIG_files/headers/MAT_module.hxx b/src/SWIG_files/headers/MAT_module.hxx index d4520cc68..622f40d3c 100644 --- a/src/SWIG_files/headers/MAT_module.hxx +++ b/src/SWIG_files/headers/MAT_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Media_module.hxx b/src/SWIG_files/headers/Media_module.hxx index 05ea5a258..48d186d86 100644 --- a/src/SWIG_files/headers/Media_module.hxx +++ b/src/SWIG_files/headers/Media_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/MeshVS_module.hxx b/src/SWIG_files/headers/MeshVS_module.hxx index b45d39a1a..1a5b72535 100644 --- a/src/SWIG_files/headers/MeshVS_module.hxx +++ b/src/SWIG_files/headers/MeshVS_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -22,7 +22,6 @@ along with pythonOCC. If not, see . #include #include #include -#include #include #include #include @@ -77,9 +76,7 @@ along with pythonOCC. If not, see . #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 index 7ff302d1c..c7df23199 100644 --- a/src/SWIG_files/headers/Message_module.hxx +++ b/src/SWIG_files/headers/Message_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -32,6 +32,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/MoniTool_module.hxx b/src/SWIG_files/headers/MoniTool_module.hxx index 92d231522..ce554e5d6 100644 --- a/src/SWIG_files/headers/MoniTool_module.hxx +++ b/src/SWIG_files/headers/MoniTool_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -26,12 +26,10 @@ along with pythonOCC. If not, see . #include #include #include -#include #include #include #include #include -#include #include #include #include diff --git a/src/SWIG_files/headers/NCollection_module.hxx b/src/SWIG_files/headers/NCollection_module.hxx index 1300b6ce8..503030187 100644 --- a/src/SWIG_files/headers/NCollection_module.hxx +++ b/src/SWIG_files/headers/NCollection_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -20,32 +20,27 @@ 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 @@ -54,18 +49,23 @@ 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 diff --git a/src/SWIG_files/headers/NLPlate_module.hxx b/src/SWIG_files/headers/NLPlate_module.hxx index af5e12ce5..7e6c70913 100644 --- a/src/SWIG_files/headers/NLPlate_module.hxx +++ b/src/SWIG_files/headers/NLPlate_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/OSD_module.hxx b/src/SWIG_files/headers/OSD_module.hxx index 6744ee24b..986aa0d07 100644 --- a/src/SWIG_files/headers/OSD_module.hxx +++ b/src/SWIG_files/headers/OSD_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -20,6 +20,7 @@ along with pythonOCC. If not, see . #include +#include #include #include #include @@ -31,15 +32,7 @@ along with pythonOCC. If not, see . #include #include #include -#include -#include -#include -#include -#include -#include -#include #include -#include #include #include #include @@ -50,11 +43,14 @@ along with pythonOCC. If not, see . #include #include #include +#include +#include #include #include #include #include #include +#include #include #include #include @@ -80,6 +76,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/PCDM_module.hxx b/src/SWIG_files/headers/PCDM_module.hxx index 2e9a5e93c..e41ac2da0 100644 --- a/src/SWIG_files/headers/PCDM_module.hxx +++ b/src/SWIG_files/headers/PCDM_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -27,6 +27,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/PLib_module.hxx b/src/SWIG_files/headers/PLib_module.hxx index eb7bcb268..41120be23 100644 --- a/src/SWIG_files/headers/PLib_module.hxx +++ b/src/SWIG_files/headers/PLib_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Plate_module.hxx b/src/SWIG_files/headers/Plate_module.hxx index 8ff2ecd71..13f2fe43c 100644 --- a/src/SWIG_files/headers/Plate_module.hxx +++ b/src/SWIG_files/headers/Plate_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Plugin_module.hxx b/src/SWIG_files/headers/Plugin_module.hxx index 5a16c6b3a..769463fcd 100644 --- a/src/SWIG_files/headers/Plugin_module.hxx +++ b/src/SWIG_files/headers/Plugin_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Poly_module.hxx b/src/SWIG_files/headers/Poly_module.hxx index 7f7efc757..76017e5ca 100644 --- a/src/SWIG_files/headers/Poly_module.hxx +++ b/src/SWIG_files/headers/Poly_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -21,6 +21,8 @@ along with pythonOCC. If not, see . #include #include +#include +#include #include #include #include @@ -30,10 +32,13 @@ along with pythonOCC. If not, see . #include #include #include +#include +#include #include #include #include #include #include +#include #endif // POLY_HXX diff --git a/src/SWIG_files/headers/Precision_module.hxx b/src/SWIG_files/headers/Precision_module.hxx index e9694969e..0dfe201e8 100644 --- a/src/SWIG_files/headers/Precision_module.hxx +++ b/src/SWIG_files/headers/Precision_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/ProjLib_module.hxx b/src/SWIG_files/headers/ProjLib_module.hxx index 465df4553..ea1dfc651 100644 --- a/src/SWIG_files/headers/ProjLib_module.hxx +++ b/src/SWIG_files/headers/ProjLib_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Prs3d_module.hxx b/src/SWIG_files/headers/Prs3d_module.hxx index f5c5a8482..d21efc63d 100644 --- a/src/SWIG_files/headers/Prs3d_module.hxx +++ b/src/SWIG_files/headers/Prs3d_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/PrsDim_module.hxx b/src/SWIG_files/headers/PrsDim_module.hxx index f18195e79..95d6157a1 100644 --- a/src/SWIG_files/headers/PrsDim_module.hxx +++ b/src/SWIG_files/headers/PrsDim_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/PrsMgr_module.hxx b/src/SWIG_files/headers/PrsMgr_module.hxx index 42201865b..b7446405a 100644 --- a/src/SWIG_files/headers/PrsMgr_module.hxx +++ b/src/SWIG_files/headers/PrsMgr_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -19,6 +19,7 @@ along with pythonOCC. If not, see . #define PRSMGR_HXX +#include #include #include #include diff --git a/src/SWIG_files/headers/Quantity_module.hxx b/src/SWIG_files/headers/Quantity_module.hxx index c623e6e63..06c13ba6c 100644 --- a/src/SWIG_files/headers/Quantity_module.hxx +++ b/src/SWIG_files/headers/Quantity_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -19,98 +19,15 @@ along with pythonOCC. If not, see . #define QUANTITY_HXX -#include -#include -#include -#include -#include -#include -#include -#include #include -#include -#include -#include -#include #include -#include #include -#include -#include -#include -#include -#include -#include #include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include #include -#include -#include #include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include #include -#include -#include -#include -#include -#include -#include #endif // QUANTITY_HXX diff --git a/src/SWIG_files/headers/RWGltf_module.hxx b/src/SWIG_files/headers/RWGltf_module.hxx index 050a7c623..33d88e671 100644 --- a/src/SWIG_files/headers/RWGltf_module.hxx +++ b/src/SWIG_files/headers/RWGltf_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -21,6 +21,8 @@ along with pythonOCC. If not, see . #include #include +#include +#include #include #include #include @@ -29,6 +31,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include @@ -38,7 +41,7 @@ along with pythonOCC. If not, see . #include #include #include -#include +#include #include #include diff --git a/src/SWIG_files/headers/RWHeaderSection_module.hxx b/src/SWIG_files/headers/RWHeaderSection_module.hxx new file mode 100644 index 000000000..8148fca7c --- /dev/null +++ b/src/SWIG_files/headers/RWHeaderSection_module.hxx @@ -0,0 +1,29 @@ +/* +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) + +This file is part of pythonOCC. +pythonOCC is free software: you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +pythonOCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public License +along with pythonOCC. If not, see . +*/ +#ifndef RWHEADERSECTION_HXX +#define RWHEADERSECTION_HXX + + +#include +#include +#include +#include +#include +#include + +#endif // RWHEADERSECTION_HXX diff --git a/src/SWIG_files/headers/RWMesh_module.hxx b/src/SWIG_files/headers/RWMesh_module.hxx index a6bd88b6b..8737571b0 100644 --- a/src/SWIG_files/headers/RWMesh_module.hxx +++ b/src/SWIG_files/headers/RWMesh_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -19,11 +19,18 @@ along with pythonOCC. If not, see . #define RWMESH_HXX +#include #include #include #include +#include #include #include +#include #include +#include +#include +#include +#include #endif // RWMESH_HXX diff --git a/src/SWIG_files/headers/RWObj_module.hxx b/src/SWIG_files/headers/RWObj_module.hxx index 910cc4aae..448e00b84 100644 --- a/src/SWIG_files/headers/RWObj_module.hxx +++ b/src/SWIG_files/headers/RWObj_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -21,8 +21,13 @@ along with pythonOCC. If not, see . #include #include +#include +#include #include #include +#include +#include +#include #include #include #include diff --git a/src/SWIG_files/headers/RWPly_module.hxx b/src/SWIG_files/headers/RWPly_module.hxx new file mode 100644 index 000000000..d1fbb6761 --- /dev/null +++ b/src/SWIG_files/headers/RWPly_module.hxx @@ -0,0 +1,27 @@ +/* +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) + +This file is part of pythonOCC. +pythonOCC is free software: you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +pythonOCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public License +along with pythonOCC. If not, see . +*/ +#ifndef RWPLY_HXX +#define RWPLY_HXX + + +#include +#include +#include +#include + +#endif // RWPLY_HXX diff --git a/src/SWIG_files/headers/RWStepAP203_module.hxx b/src/SWIG_files/headers/RWStepAP203_module.hxx index 37cb09235..732863c45 100644 --- a/src/SWIG_files/headers/RWStepAP203_module.hxx +++ b/src/SWIG_files/headers/RWStepAP203_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -19,16 +19,5 @@ along with pythonOCC. If not, see . #define RWSTEPAP203_HXX -#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 index 550636949..fdf4724fa 100644 --- a/src/SWIG_files/headers/RWStepAP214_module.hxx +++ b/src/SWIG_files/headers/RWStepAP214_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -19,34 +19,5 @@ along with pythonOCC. If not, see . #define RWSTEPAP214_HXX -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include #endif // RWSTEPAP214_HXX diff --git a/src/SWIG_files/headers/RWStepAP242_module.hxx b/src/SWIG_files/headers/RWStepAP242_module.hxx index 81551ec86..e8ba84b76 100644 --- a/src/SWIG_files/headers/RWStepAP242_module.hxx +++ b/src/SWIG_files/headers/RWStepAP242_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -19,9 +19,5 @@ along with pythonOCC. If not, see . #define RWSTEPAP242_HXX -#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 index 213bedef4..a12589525 100644 --- a/src/SWIG_files/headers/RWStepBasic_module.hxx +++ b/src/SWIG_files/headers/RWStepBasic_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -19,122 +19,5 @@ along with pythonOCC. If not, see . #define RWSTEPBASIC_HXX -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#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 index 1da138062..50d1626e6 100644 --- a/src/SWIG_files/headers/RWStepDimTol_module.hxx +++ b/src/SWIG_files/headers/RWStepDimTol_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -19,54 +19,5 @@ along with pythonOCC. If not, see . #define RWSTEPDIMTOL_HXX -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include #endif // RWSTEPDIMTOL_HXX diff --git a/src/SWIG_files/headers/RWStepElement_module.hxx b/src/SWIG_files/headers/RWStepElement_module.hxx index cca4b3ef0..25356ff4d 100644 --- a/src/SWIG_files/headers/RWStepElement_module.hxx +++ b/src/SWIG_files/headers/RWStepElement_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -19,20 +19,5 @@ along with pythonOCC. If not, see . #define RWSTEPELEMENT_HXX -#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 index e0c950181..89cee62c6 100644 --- a/src/SWIG_files/headers/RWStepFEA_module.hxx +++ b/src/SWIG_files/headers/RWStepFEA_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -19,57 +19,5 @@ along with pythonOCC. If not, see . #define RWSTEPFEA_HXX -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include #endif // RWSTEPFEA_HXX diff --git a/src/SWIG_files/headers/RWStepGeom_module.hxx b/src/SWIG_files/headers/RWStepGeom_module.hxx index 2bef0e321..2adeb0054 100644 --- a/src/SWIG_files/headers/RWStepGeom_module.hxx +++ b/src/SWIG_files/headers/RWStepGeom_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -19,87 +19,5 @@ along with pythonOCC. If not, see . #define RWSTEPGEOM_HXX -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include #endif // RWSTEPGEOM_HXX diff --git a/src/SWIG_files/headers/MMgt_module.hxx b/src/SWIG_files/headers/RWStepKinematics_module.hxx similarity index 82% rename from src/SWIG_files/headers/MMgt_module.hxx rename to src/SWIG_files/headers/RWStepKinematics_module.hxx index a4fc9dfd7..428f08f97 100644 --- a/src/SWIG_files/headers/MMgt_module.hxx +++ b/src/SWIG_files/headers/RWStepKinematics_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -15,10 +15,9 @@ GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with pythonOCC. If not, see . */ -#ifndef MMGT_HXX -#define MMGT_HXX +#ifndef RWSTEPKINEMATICS_HXX +#define RWSTEPKINEMATICS_HXX -#include -#endif // MMGT_HXX +#endif // RWSTEPKINEMATICS_HXX diff --git a/src/SWIG_files/headers/RWStepRepr_module.hxx b/src/SWIG_files/headers/RWStepRepr_module.hxx index 0cf35c721..58ac1ac52 100644 --- a/src/SWIG_files/headers/RWStepRepr_module.hxx +++ b/src/SWIG_files/headers/RWStepRepr_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -19,70 +19,5 @@ along with pythonOCC. If not, see . #define RWSTEPREPR_HXX -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include #endif // RWSTEPREPR_HXX diff --git a/src/SWIG_files/headers/RWStepShape_module.hxx b/src/SWIG_files/headers/RWStepShape_module.hxx index acc15df96..89fd9cb6b 100644 --- a/src/SWIG_files/headers/RWStepShape_module.hxx +++ b/src/SWIG_files/headers/RWStepShape_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -19,96 +19,5 @@ along with pythonOCC. If not, see . #define RWSTEPSHAPE_HXX -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include #endif // RWSTEPSHAPE_HXX diff --git a/src/SWIG_files/headers/RWStepVisual_module.hxx b/src/SWIG_files/headers/RWStepVisual_module.hxx index fdcfad879..5777e583b 100644 --- a/src/SWIG_files/headers/RWStepVisual_module.hxx +++ b/src/SWIG_files/headers/RWStepVisual_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -19,84 +19,5 @@ along with pythonOCC. If not, see . #define RWSTEPVISUAL_HXX -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include #endif // RWSTEPVISUAL_HXX diff --git a/src/SWIG_files/headers/RWStl_module.hxx b/src/SWIG_files/headers/RWStl_module.hxx index 4332257dc..48aaf9378 100644 --- a/src/SWIG_files/headers/RWStl_module.hxx +++ b/src/SWIG_files/headers/RWStl_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -20,6 +20,8 @@ along with pythonOCC. If not, see . #include +#include +#include #include #endif // RWSTL_HXX diff --git a/src/SWIG_files/headers/Resource_module.hxx b/src/SWIG_files/headers/Resource_module.hxx index 2141aa7a2..ba79a8c17 100644 --- a/src/SWIG_files/headers/Resource_module.hxx +++ b/src/SWIG_files/headers/Resource_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/STEPCAFControl_module.hxx b/src/SWIG_files/headers/STEPCAFControl_module.hxx index e2b7323b3..f686d33c7 100644 --- a/src/SWIG_files/headers/STEPCAFControl_module.hxx +++ b/src/SWIG_files/headers/STEPCAFControl_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -20,6 +20,7 @@ along with pythonOCC. If not, see . #include +#include #include #include #include @@ -35,6 +36,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include diff --git a/src/SWIG_files/headers/STEPConstruct_module.hxx b/src/SWIG_files/headers/STEPConstruct_module.hxx index 358703c1a..d4037bc0a 100644 --- a/src/SWIG_files/headers/STEPConstruct_module.hxx +++ b/src/SWIG_files/headers/STEPConstruct_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -29,7 +29,6 @@ along with pythonOCC. If not, see . #include #include #include -#include #include #include #include diff --git a/src/SWIG_files/headers/STEPControl_module.hxx b/src/SWIG_files/headers/STEPControl_module.hxx index 464c25a3e..492cce2c6 100644 --- a/src/SWIG_files/headers/STEPControl_module.hxx +++ b/src/SWIG_files/headers/STEPControl_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/STEPEdit_module.hxx b/src/SWIG_files/headers/STEPEdit_module.hxx index 373cd1467..e26892895 100644 --- a/src/SWIG_files/headers/STEPEdit_module.hxx +++ b/src/SWIG_files/headers/STEPEdit_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/STEPSelections_module.hxx b/src/SWIG_files/headers/STEPSelections_module.hxx index da4da39f8..80c6d1061 100644 --- a/src/SWIG_files/headers/STEPSelections_module.hxx +++ b/src/SWIG_files/headers/STEPSelections_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Select3D_module.hxx b/src/SWIG_files/headers/Select3D_module.hxx index 561390be8..d631b1a07 100644 --- a/src/SWIG_files/headers/Select3D_module.hxx +++ b/src/SWIG_files/headers/Select3D_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -30,6 +30,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include @@ -38,6 +39,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/SelectBasics_module.hxx b/src/SWIG_files/headers/SelectBasics_module.hxx index 4d1bba83d..da3c59e91 100644 --- a/src/SWIG_files/headers/SelectBasics_module.hxx +++ b/src/SWIG_files/headers/SelectBasics_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/SelectMgr_module.hxx b/src/SWIG_files/headers/SelectMgr_module.hxx index 7fd7663ab..9b4170639 100644 --- a/src/SWIG_files/headers/SelectMgr_module.hxx +++ b/src/SWIG_files/headers/SelectMgr_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -22,8 +22,10 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include +#include #include #include #include @@ -43,9 +45,9 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include -#include #include #include #include diff --git a/src/SWIG_files/headers/ShapeAlgo_module.hxx b/src/SWIG_files/headers/ShapeAlgo_module.hxx index 8c1d1475e..b84495dcd 100644 --- a/src/SWIG_files/headers/ShapeAlgo_module.hxx +++ b/src/SWIG_files/headers/ShapeAlgo_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/ShapeAnalysis_module.hxx b/src/SWIG_files/headers/ShapeAnalysis_module.hxx index 20e70472f..ea42ea9fe 100644 --- a/src/SWIG_files/headers/ShapeAnalysis_module.hxx +++ b/src/SWIG_files/headers/ShapeAnalysis_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -21,6 +21,7 @@ along with pythonOCC. If not, see . #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/ShapeBuild_module.hxx b/src/SWIG_files/headers/ShapeBuild_module.hxx index 078514356..161fd518f 100644 --- a/src/SWIG_files/headers/ShapeBuild_module.hxx +++ b/src/SWIG_files/headers/ShapeBuild_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/ShapeConstruct_module.hxx b/src/SWIG_files/headers/ShapeConstruct_module.hxx index abd6de46e..70ca7d840 100644 --- a/src/SWIG_files/headers/ShapeConstruct_module.hxx +++ b/src/SWIG_files/headers/ShapeConstruct_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/ShapeCustom_module.hxx b/src/SWIG_files/headers/ShapeCustom_module.hxx index 87c5bbee6..e821e06e9 100644 --- a/src/SWIG_files/headers/ShapeCustom_module.hxx +++ b/src/SWIG_files/headers/ShapeCustom_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/ShapeExtend_module.hxx b/src/SWIG_files/headers/ShapeExtend_module.hxx index 3e01e7d67..b9791fe35 100644 --- a/src/SWIG_files/headers/ShapeExtend_module.hxx +++ b/src/SWIG_files/headers/ShapeExtend_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/ShapeFix_module.hxx b/src/SWIG_files/headers/ShapeFix_module.hxx index 56d7e495e..a1381777b 100644 --- a/src/SWIG_files/headers/ShapeFix_module.hxx +++ b/src/SWIG_files/headers/ShapeFix_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/ShapeProcessAPI_module.hxx b/src/SWIG_files/headers/ShapeProcessAPI_module.hxx index 69c90e146..31de1b549 100644 --- a/src/SWIG_files/headers/ShapeProcessAPI_module.hxx +++ b/src/SWIG_files/headers/ShapeProcessAPI_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/ShapeProcess_module.hxx b/src/SWIG_files/headers/ShapeProcess_module.hxx index fb58a8ce2..4d038f961 100644 --- a/src/SWIG_files/headers/ShapeProcess_module.hxx +++ b/src/SWIG_files/headers/ShapeProcess_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/ShapeUpgrade_module.hxx b/src/SWIG_files/headers/ShapeUpgrade_module.hxx index 25ff8d456..f43095772 100644 --- a/src/SWIG_files/headers/ShapeUpgrade_module.hxx +++ b/src/SWIG_files/headers/ShapeUpgrade_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -50,6 +50,7 @@ along with pythonOCC. If not, see . #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 index 5ca2382c1..3b352bad6 100644 --- a/src/SWIG_files/headers/Standard_module.hxx +++ b/src/SWIG_files/headers/Standard_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -21,7 +21,6 @@ along with pythonOCC. If not, see . #include #include -#include #include #include #include @@ -29,6 +28,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include @@ -42,11 +42,11 @@ along with pythonOCC. If not, see . #include #include #include -#include #include #include #include #include +#include #include #include #include @@ -54,9 +54,7 @@ along with pythonOCC. If not, see . #include #include #include -#include #include -#include #include #include #include @@ -84,12 +82,10 @@ along with pythonOCC. If not, see . #include #include #include -#include #include #include #include #include -#include #include #include #include @@ -97,9 +93,9 @@ along with pythonOCC. If not, see . #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 index 9074327c1..523ee2b1f 100644 --- a/src/SWIG_files/headers/StdFail_module.hxx +++ b/src/SWIG_files/headers/StdFail_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/StdPrs_module.hxx b/src/SWIG_files/headers/StdPrs_module.hxx index 11a154660..b6c3c500d 100644 --- a/src/SWIG_files/headers/StdPrs_module.hxx +++ b/src/SWIG_files/headers/StdPrs_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/StdSelect_module.hxx b/src/SWIG_files/headers/StdSelect_module.hxx index 432a3b2a1..1868bfad1 100644 --- a/src/SWIG_files/headers/StdSelect_module.hxx +++ b/src/SWIG_files/headers/StdSelect_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/StepAP203_module.hxx b/src/SWIG_files/headers/StepAP203_module.hxx index bdf16082b..557fb5bd2 100644 --- a/src/SWIG_files/headers/StepAP203_module.hxx +++ b/src/SWIG_files/headers/StepAP203_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/StepAP209_module.hxx b/src/SWIG_files/headers/StepAP209_module.hxx index 9d2b4ffed..e0004c505 100644 --- a/src/SWIG_files/headers/StepAP209_module.hxx +++ b/src/SWIG_files/headers/StepAP209_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/StepAP214_module.hxx b/src/SWIG_files/headers/StepAP214_module.hxx index 2e6a590e8..358f4d9bc 100644 --- a/src/SWIG_files/headers/StepAP214_module.hxx +++ b/src/SWIG_files/headers/StepAP214_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/StepAP242_module.hxx b/src/SWIG_files/headers/StepAP242_module.hxx index 9fec23f37..8d4aadee4 100644 --- a/src/SWIG_files/headers/StepAP242_module.hxx +++ b/src/SWIG_files/headers/StepAP242_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/StepBasic_module.hxx b/src/SWIG_files/headers/StepBasic_module.hxx index a6b2d5f45..e07286555 100644 --- a/src/SWIG_files/headers/StepBasic_module.hxx +++ b/src/SWIG_files/headers/StepBasic_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -93,6 +93,8 @@ along with pythonOCC. If not, see . #include #include #include +#include +#include #include #include #include diff --git a/src/SWIG_files/headers/StepData_module.hxx b/src/SWIG_files/headers/StepData_module.hxx index 296582123..f653a4983 100644 --- a/src/SWIG_files/headers/StepData_module.hxx +++ b/src/SWIG_files/headers/StepData_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -21,12 +21,14 @@ along with pythonOCC. If not, see . #include #include +#include #include #include #include #include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/StepDimTol_module.hxx b/src/SWIG_files/headers/StepDimTol_module.hxx index be6aa73d4..0de273262 100644 --- a/src/SWIG_files/headers/StepDimTol_module.hxx +++ b/src/SWIG_files/headers/StepDimTol_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/StepElement_module.hxx b/src/SWIG_files/headers/StepElement_module.hxx index 5702c4817..356c3b626 100644 --- a/src/SWIG_files/headers/StepElement_module.hxx +++ b/src/SWIG_files/headers/StepElement_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/StepFEA_module.hxx b/src/SWIG_files/headers/StepFEA_module.hxx index ed0aff87f..42719d085 100644 --- a/src/SWIG_files/headers/StepFEA_module.hxx +++ b/src/SWIG_files/headers/StepFEA_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/StepGeom_module.hxx b/src/SWIG_files/headers/StepGeom_module.hxx index 5b7fde054..ca4310f65 100644 --- a/src/SWIG_files/headers/StepGeom_module.hxx +++ b/src/SWIG_files/headers/StepGeom_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -112,6 +112,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/StepKinematics_module.hxx b/src/SWIG_files/headers/StepKinematics_module.hxx new file mode 100644 index 000000000..0aea07d03 --- /dev/null +++ b/src/SWIG_files/headers/StepKinematics_module.hxx @@ -0,0 +1,109 @@ +/* +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) + +This file is part of pythonOCC. +pythonOCC is free software: you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +pythonOCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public License +along with pythonOCC. If not, see . +*/ +#ifndef STEPKINEMATICS_HXX +#define STEPKINEMATICS_HXX + + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // STEPKINEMATICS_HXX diff --git a/src/SWIG_files/headers/StepRepr_module.hxx b/src/SWIG_files/headers/StepRepr_module.hxx index 4f2b53cee..f044976d2 100644 --- a/src/SWIG_files/headers/StepRepr_module.hxx +++ b/src/SWIG_files/headers/StepRepr_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -28,6 +28,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include @@ -68,6 +69,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include @@ -80,6 +82,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include @@ -88,8 +91,11 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include +#include +#include #include #include #include diff --git a/src/SWIG_files/headers/StepShape_module.hxx b/src/SWIG_files/headers/StepShape_module.hxx index fac0d0c0d..2c9ac70ff 100644 --- a/src/SWIG_files/headers/StepShape_module.hxx +++ b/src/SWIG_files/headers/StepShape_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/StepToGeom_module.hxx b/src/SWIG_files/headers/StepToGeom_module.hxx index 954fbb1e1..7da3b94b1 100644 --- a/src/SWIG_files/headers/StepToGeom_module.hxx +++ b/src/SWIG_files/headers/StepToGeom_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/StepToTopoDS_module.hxx b/src/SWIG_files/headers/StepToTopoDS_module.hxx index 5ef72de5b..3556bc7af 100644 --- a/src/SWIG_files/headers/StepToTopoDS_module.hxx +++ b/src/SWIG_files/headers/StepToTopoDS_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -20,9 +20,7 @@ along with pythonOCC. If not, see . #include -#include #include -#include #include #include #include @@ -37,9 +35,9 @@ along with pythonOCC. If not, see . #include #include #include -#include #include #include +#include #include #include #include @@ -52,6 +50,8 @@ along with pythonOCC. If not, see . #include #include #include +#include +#include #include #include #include diff --git a/src/SWIG_files/headers/StepVisual_module.hxx b/src/SWIG_files/headers/StepVisual_module.hxx index ef37f58fe..2b7e0cb54 100644 --- a/src/SWIG_files/headers/StepVisual_module.hxx +++ b/src/SWIG_files/headers/StepVisual_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -45,6 +45,8 @@ along with pythonOCC. If not, see . #include #include #include +#include +#include #include #include #include @@ -65,11 +67,15 @@ along with pythonOCC. If not, see . #include #include #include +#include +#include #include #include #include #include #include +#include +#include #include #include #include @@ -81,8 +87,10 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include +#include #include #include #include @@ -102,6 +110,8 @@ along with pythonOCC. If not, see . #include #include #include +#include +#include #include #include #include @@ -115,6 +125,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include @@ -137,6 +148,8 @@ along with pythonOCC. If not, see . #include #include #include +#include +#include #include #include #include @@ -158,15 +171,30 @@ 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 // STEPVISUAL_HXX diff --git a/src/SWIG_files/headers/StlAPI_module.hxx b/src/SWIG_files/headers/StlAPI_module.hxx index e5afc5604..daa235e39 100644 --- a/src/SWIG_files/headers/StlAPI_module.hxx +++ b/src/SWIG_files/headers/StlAPI_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Storage_module.hxx b/src/SWIG_files/headers/Storage_module.hxx index 5bdb313d7..d5886dab0 100644 --- a/src/SWIG_files/headers/Storage_module.hxx +++ b/src/SWIG_files/headers/Storage_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Sweep_module.hxx b/src/SWIG_files/headers/Sweep_module.hxx index 6cbf6dc6f..84b3f2ed2 100644 --- a/src/SWIG_files/headers/Sweep_module.hxx +++ b/src/SWIG_files/headers/Sweep_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TColGeom2d_module.hxx b/src/SWIG_files/headers/TColGeom2d_module.hxx index 6bc24814f..b958aad43 100644 --- a/src/SWIG_files/headers/TColGeom2d_module.hxx +++ b/src/SWIG_files/headers/TColGeom2d_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TColGeom_module.hxx b/src/SWIG_files/headers/TColGeom_module.hxx index 600ae5685..3682e0500 100644 --- a/src/SWIG_files/headers/TColGeom_module.hxx +++ b/src/SWIG_files/headers/TColGeom_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TColQuantity_module.hxx b/src/SWIG_files/headers/TColQuantity_module.hxx index 90e2a4678..1607b9dfd 100644 --- a/src/SWIG_files/headers/TColQuantity_module.hxx +++ b/src/SWIG_files/headers/TColQuantity_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TColStd_module.hxx b/src/SWIG_files/headers/TColStd_module.hxx index ca83b2f90..50322d3a5 100644 --- a/src/SWIG_files/headers/TColStd_module.hxx +++ b/src/SWIG_files/headers/TColStd_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -82,7 +82,6 @@ along with pythonOCC. If not, see . #include #include #include -#include #include #include #include @@ -92,8 +91,6 @@ along with pythonOCC. If not, see . #include #include #include -#include -#include #include #include #include diff --git a/src/SWIG_files/headers/TColgp_module.hxx b/src/SWIG_files/headers/TColgp_module.hxx index cae379cf8..4bc7c8415 100644 --- a/src/SWIG_files/headers/TColgp_module.hxx +++ b/src/SWIG_files/headers/TColgp_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TCollection_module.hxx b/src/SWIG_files/headers/TCollection_module.hxx index 0a6d17aaf..52aa8df1f 100644 --- a/src/SWIG_files/headers/TCollection_module.hxx +++ b/src/SWIG_files/headers/TCollection_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -21,16 +21,8 @@ along with pythonOCC. If not, see . #include #include -#include -#include -#include #include #include #include -#include -#include -#include -#include -#include #endif // TCOLLECTION_HXX diff --git a/src/SWIG_files/headers/TDF_module.hxx b/src/SWIG_files/headers/TDF_module.hxx index f86452306..231315ddf 100644 --- a/src/SWIG_files/headers/TDF_module.hxx +++ b/src/SWIG_files/headers/TDF_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -69,7 +69,6 @@ along with pythonOCC. If not, see . #include #include #include -#include #include #include #include diff --git a/src/SWIG_files/headers/TDataStd_module.hxx b/src/SWIG_files/headers/TDataStd_module.hxx index 0f80dcce8..36c99afb1 100644 --- a/src/SWIG_files/headers/TDataStd_module.hxx +++ b/src/SWIG_files/headers/TDataStd_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TDataXtd_module.hxx b/src/SWIG_files/headers/TDataXtd_module.hxx index 1bf95b876..3cd45b98f 100644 --- a/src/SWIG_files/headers/TDataXtd_module.hxx +++ b/src/SWIG_files/headers/TDataXtd_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TDocStd_module.hxx b/src/SWIG_files/headers/TDocStd_module.hxx index dea87ab58..5aad935f6 100644 --- a/src/SWIG_files/headers/TDocStd_module.hxx +++ b/src/SWIG_files/headers/TDocStd_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -26,6 +26,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/TFunction_module.hxx b/src/SWIG_files/headers/TFunction_module.hxx index 1d7715941..08f4b7265 100644 --- a/src/SWIG_files/headers/TFunction_module.hxx +++ b/src/SWIG_files/headers/TFunction_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TNaming_module.hxx b/src/SWIG_files/headers/TNaming_module.hxx index 6157a6ab0..740db670b 100644 --- a/src/SWIG_files/headers/TNaming_module.hxx +++ b/src/SWIG_files/headers/TNaming_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -45,7 +45,6 @@ along with pythonOCC. If not, see . #include #include #include -#include #include #include #include diff --git a/src/SWIG_files/headers/TObj_module.hxx b/src/SWIG_files/headers/TObj_module.hxx index c4259b8f7..bb3ae0efa 100644 --- a/src/SWIG_files/headers/TObj_module.hxx +++ b/src/SWIG_files/headers/TObj_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -22,7 +22,6 @@ along with pythonOCC. If not, see . #include #include #include -#include #include #include #include diff --git a/src/SWIG_files/headers/TPrsStd_module.hxx b/src/SWIG_files/headers/TPrsStd_module.hxx index c0ccdcaa9..554b34b9b 100644 --- a/src/SWIG_files/headers/TPrsStd_module.hxx +++ b/src/SWIG_files/headers/TPrsStd_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TShort_module.hxx b/src/SWIG_files/headers/TShort_module.hxx index af9a4caec..34721ea58 100644 --- a/src/SWIG_files/headers/TShort_module.hxx +++ b/src/SWIG_files/headers/TShort_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TopAbs_module.hxx b/src/SWIG_files/headers/TopAbs_module.hxx index 2c8f82030..ae964e530 100644 --- a/src/SWIG_files/headers/TopAbs_module.hxx +++ b/src/SWIG_files/headers/TopAbs_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TopBas_module.hxx b/src/SWIG_files/headers/TopBas_module.hxx index a8416928a..38ec4b33c 100644 --- a/src/SWIG_files/headers/TopBas_module.hxx +++ b/src/SWIG_files/headers/TopBas_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TopClass_module.hxx b/src/SWIG_files/headers/TopClass_module.hxx index 0a8ca7a43..6cf947d18 100644 --- a/src/SWIG_files/headers/TopClass_module.hxx +++ b/src/SWIG_files/headers/TopClass_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -19,6 +19,5 @@ along with pythonOCC. If not, see . #define TOPCLASS_HXX -#include #endif // TOPCLASS_HXX diff --git a/src/SWIG_files/headers/TopCnx_module.hxx b/src/SWIG_files/headers/TopCnx_module.hxx index f3d239aed..dbb7fecaa 100644 --- a/src/SWIG_files/headers/TopCnx_module.hxx +++ b/src/SWIG_files/headers/TopCnx_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TopExp_module.hxx b/src/SWIG_files/headers/TopExp_module.hxx index f07670a67..2cfe2fda8 100644 --- a/src/SWIG_files/headers/TopExp_module.hxx +++ b/src/SWIG_files/headers/TopExp_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TopLoc_module.hxx b/src/SWIG_files/headers/TopLoc_module.hxx index 001c53a5a..7720725db 100644 --- a/src/SWIG_files/headers/TopLoc_module.hxx +++ b/src/SWIG_files/headers/TopLoc_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -24,7 +24,6 @@ along with pythonOCC. If not, see . #include #include #include -#include #include #include #include diff --git a/src/SWIG_files/headers/TopOpeBRepBuild_module.hxx b/src/SWIG_files/headers/TopOpeBRepBuild_module.hxx index 89e8d88df..04c3cd8b2 100644 --- a/src/SWIG_files/headers/TopOpeBRepBuild_module.hxx +++ b/src/SWIG_files/headers/TopOpeBRepBuild_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TopOpeBRepDS_module.hxx b/src/SWIG_files/headers/TopOpeBRepDS_module.hxx index 3edfede3f..6ae7756bb 100644 --- a/src/SWIG_files/headers/TopOpeBRepDS_module.hxx +++ b/src/SWIG_files/headers/TopOpeBRepDS_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TopOpeBRepTool_module.hxx b/src/SWIG_files/headers/TopOpeBRepTool_module.hxx index e59eaf7db..e4d386b39 100644 --- a/src/SWIG_files/headers/TopOpeBRepTool_module.hxx +++ b/src/SWIG_files/headers/TopOpeBRepTool_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TopOpeBRep_module.hxx b/src/SWIG_files/headers/TopOpeBRep_module.hxx index 31a6215f2..1523312fd 100644 --- a/src/SWIG_files/headers/TopOpeBRep_module.hxx +++ b/src/SWIG_files/headers/TopOpeBRep_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TopTools_module.hxx b/src/SWIG_files/headers/TopTools_module.hxx index ebf3eb181..0db7db37e 100644 --- a/src/SWIG_files/headers/TopTools_module.hxx +++ b/src/SWIG_files/headers/TopTools_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -44,6 +44,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include @@ -64,7 +65,6 @@ along with pythonOCC. If not, see . #include #include #include -#include #include #include #include diff --git a/src/SWIG_files/headers/TopTrans_module.hxx b/src/SWIG_files/headers/TopTrans_module.hxx index 37ef64eb7..a421b860e 100644 --- a/src/SWIG_files/headers/TopTrans_module.hxx +++ b/src/SWIG_files/headers/TopTrans_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TopoDSToStep_module.hxx b/src/SWIG_files/headers/TopoDSToStep_module.hxx index a83e7db08..8b7630ac0 100644 --- a/src/SWIG_files/headers/TopoDSToStep_module.hxx +++ b/src/SWIG_files/headers/TopoDSToStep_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -36,6 +36,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/TopoDS_module.hxx b/src/SWIG_files/headers/TopoDS_module.hxx index 919e7c3eb..b89ec7813 100644 --- a/src/SWIG_files/headers/TopoDS_module.hxx +++ b/src/SWIG_files/headers/TopoDS_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TransferBRep_module.hxx b/src/SWIG_files/headers/TransferBRep_module.hxx index 5e3f3275f..a28e939df 100644 --- a/src/SWIG_files/headers/TransferBRep_module.hxx +++ b/src/SWIG_files/headers/TransferBRep_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -22,7 +22,6 @@ along with pythonOCC. If not, see . #include #include #include -#include #include #include #include diff --git a/src/SWIG_files/headers/Transfer_module.hxx b/src/SWIG_files/headers/Transfer_module.hxx index a8aab81ab..0812f7331 100644 --- a/src/SWIG_files/headers/Transfer_module.hxx +++ b/src/SWIG_files/headers/Transfer_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/UTL_module.hxx b/src/SWIG_files/headers/UTL_module.hxx index a4f99ea1d..3f4f37fbe 100644 --- a/src/SWIG_files/headers/UTL_module.hxx +++ b/src/SWIG_files/headers/UTL_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/UnitsAPI_module.hxx b/src/SWIG_files/headers/UnitsAPI_module.hxx index 4593c7177..51c7abfd1 100644 --- a/src/SWIG_files/headers/UnitsAPI_module.hxx +++ b/src/SWIG_files/headers/UnitsAPI_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/UnitsMethods_module.hxx b/src/SWIG_files/headers/UnitsMethods_module.hxx new file mode 100644 index 000000000..ea25dccb7 --- /dev/null +++ b/src/SWIG_files/headers/UnitsMethods_module.hxx @@ -0,0 +1,25 @@ +/* +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) + +This file is part of pythonOCC. +pythonOCC is free software: you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +pythonOCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public License +along with pythonOCC. If not, see . +*/ +#ifndef UNITSMETHODS_HXX +#define UNITSMETHODS_HXX + + +#include +#include + +#endif // UNITSMETHODS_HXX diff --git a/src/SWIG_files/headers/Units_module.hxx b/src/SWIG_files/headers/Units_module.hxx index 07eda4009..b4a088335 100644 --- a/src/SWIG_files/headers/Units_module.hxx +++ b/src/SWIG_files/headers/Units_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/V3d_module.hxx b/src/SWIG_files/headers/V3d_module.hxx index 7383009cb..0219ba006 100644 --- a/src/SWIG_files/headers/V3d_module.hxx +++ b/src/SWIG_files/headers/V3d_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -23,13 +23,11 @@ along with pythonOCC. If not, see . #include #include #include -#include #include #include #include #include #include -#include #include #include #include @@ -41,15 +39,11 @@ along with pythonOCC. If not, see . #include #include #include -#include -#include -#include #include #include #include #include #include -#include #include #include diff --git a/src/SWIG_files/headers/VrmlAPI_module.hxx b/src/SWIG_files/headers/VrmlAPI_module.hxx index f505408b2..9d6d54ad6 100644 --- a/src/SWIG_files/headers/VrmlAPI_module.hxx +++ b/src/SWIG_files/headers/VrmlAPI_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -20,6 +20,7 @@ along with pythonOCC. If not, see . #include +#include #include #include diff --git a/src/SWIG_files/headers/VrmlConverter_module.hxx b/src/SWIG_files/headers/VrmlConverter_module.hxx index da1b6ad42..5f68d63ce 100644 --- a/src/SWIG_files/headers/VrmlConverter_module.hxx +++ b/src/SWIG_files/headers/VrmlConverter_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/VrmlData_module.hxx b/src/SWIG_files/headers/VrmlData_module.hxx index c04677a8b..d27b84078 100644 --- a/src/SWIG_files/headers/VrmlData_module.hxx +++ b/src/SWIG_files/headers/VrmlData_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Vrml_module.hxx b/src/SWIG_files/headers/Vrml_module.hxx index 6e035bc45..fa2204e7c 100644 --- a/src/SWIG_files/headers/Vrml_module.hxx +++ b/src/SWIG_files/headers/Vrml_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -24,6 +24,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include @@ -49,6 +50,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/XBRepMesh_module.hxx b/src/SWIG_files/headers/XBRepMesh_module.hxx index a0d107082..d68c47a7b 100644 --- a/src/SWIG_files/headers/XBRepMesh_module.hxx +++ b/src/SWIG_files/headers/XBRepMesh_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/XCAFApp_module.hxx b/src/SWIG_files/headers/XCAFApp_module.hxx index 13fdd1508..c4f2d85df 100644 --- a/src/SWIG_files/headers/XCAFApp_module.hxx +++ b/src/SWIG_files/headers/XCAFApp_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/XCAFDimTolObjects_module.hxx b/src/SWIG_files/headers/XCAFDimTolObjects_module.hxx index fd5fb1741..5b060f836 100644 --- a/src/SWIG_files/headers/XCAFDimTolObjects_module.hxx +++ b/src/SWIG_files/headers/XCAFDimTolObjects_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -19,6 +19,7 @@ along with pythonOCC. If not, see . #define XCAFDIMTOLOBJECTS_HXX +#include #include #include #include diff --git a/src/SWIG_files/headers/XCAFDoc_module.hxx b/src/SWIG_files/headers/XCAFDoc_module.hxx index e91da3be6..8fa1f8961 100644 --- a/src/SWIG_files/headers/XCAFDoc_module.hxx +++ b/src/SWIG_files/headers/XCAFDoc_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -19,10 +19,14 @@ along with pythonOCC. If not, see . #define XCAFDOC_HXX +#include #include #include +#include #include #include +#include +#include #include #include #include @@ -40,6 +44,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/XCAFNoteObjects_module.hxx b/src/SWIG_files/headers/XCAFNoteObjects_module.hxx index c452a130b..c409101f1 100644 --- a/src/SWIG_files/headers/XCAFNoteObjects_module.hxx +++ b/src/SWIG_files/headers/XCAFNoteObjects_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/XCAFPrs_module.hxx b/src/SWIG_files/headers/XCAFPrs_module.hxx index 502bf7b86..5c2caa39c 100644 --- a/src/SWIG_files/headers/XCAFPrs_module.hxx +++ b/src/SWIG_files/headers/XCAFPrs_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/XCAFView_module.hxx b/src/SWIG_files/headers/XCAFView_module.hxx index 2da82a7b3..ec4df0ad6 100644 --- a/src/SWIG_files/headers/XCAFView_module.hxx +++ b/src/SWIG_files/headers/XCAFView_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/XSControl_module.hxx b/src/SWIG_files/headers/XSControl_module.hxx index 9c641f155..7b9f6d304 100644 --- a/src/SWIG_files/headers/XSControl_module.hxx +++ b/src/SWIG_files/headers/XSControl_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/XmlDrivers_module.hxx b/src/SWIG_files/headers/XmlDrivers_module.hxx index c324cb2ba..5494b7400 100644 --- a/src/SWIG_files/headers/XmlDrivers_module.hxx +++ b/src/SWIG_files/headers/XmlDrivers_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/XmlLDrivers_module.hxx b/src/SWIG_files/headers/XmlLDrivers_module.hxx index c7164b8fd..49860b6c3 100644 --- a/src/SWIG_files/headers/XmlLDrivers_module.hxx +++ b/src/SWIG_files/headers/XmlLDrivers_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/XmlMDF_module.hxx b/src/SWIG_files/headers/XmlMDF_module.hxx index cbbae4fb0..2135a79ee 100644 --- a/src/SWIG_files/headers/XmlMDF_module.hxx +++ b/src/SWIG_files/headers/XmlMDF_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/XmlMDataStd_module.hxx b/src/SWIG_files/headers/XmlMDataStd_module.hxx index ed05a60cf..214e523d6 100644 --- a/src/SWIG_files/headers/XmlMDataStd_module.hxx +++ b/src/SWIG_files/headers/XmlMDataStd_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/XmlMDataXtd_module.hxx b/src/SWIG_files/headers/XmlMDataXtd_module.hxx index c6769caeb..6d3e38a8e 100644 --- a/src/SWIG_files/headers/XmlMDataXtd_module.hxx +++ b/src/SWIG_files/headers/XmlMDataXtd_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/XmlMDocStd_module.hxx b/src/SWIG_files/headers/XmlMDocStd_module.hxx index b196f3070..db3dd59ec 100644 --- a/src/SWIG_files/headers/XmlMDocStd_module.hxx +++ b/src/SWIG_files/headers/XmlMDocStd_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/XmlMFunction_module.hxx b/src/SWIG_files/headers/XmlMFunction_module.hxx index a9967e34d..b80019198 100644 --- a/src/SWIG_files/headers/XmlMFunction_module.hxx +++ b/src/SWIG_files/headers/XmlMFunction_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/XmlMNaming_module.hxx b/src/SWIG_files/headers/XmlMNaming_module.hxx index 967dc5d72..25010679d 100644 --- a/src/SWIG_files/headers/XmlMNaming_module.hxx +++ b/src/SWIG_files/headers/XmlMNaming_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/XmlMXCAFDoc_module.hxx b/src/SWIG_files/headers/XmlMXCAFDoc_module.hxx index 4025eb115..965177368 100644 --- a/src/SWIG_files/headers/XmlMXCAFDoc_module.hxx +++ b/src/SWIG_files/headers/XmlMXCAFDoc_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -26,6 +26,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/XmlObjMgt_module.hxx b/src/SWIG_files/headers/XmlObjMgt_module.hxx index 8870f98f2..439fa7dcd 100644 --- a/src/SWIG_files/headers/XmlObjMgt_module.hxx +++ b/src/SWIG_files/headers/XmlObjMgt_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/XmlTObjDrivers_module.hxx b/src/SWIG_files/headers/XmlTObjDrivers_module.hxx index 77782d923..a843f910b 100644 --- a/src/SWIG_files/headers/XmlTObjDrivers_module.hxx +++ b/src/SWIG_files/headers/XmlTObjDrivers_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/XmlXCAFDrivers_module.hxx b/src/SWIG_files/headers/XmlXCAFDrivers_module.hxx index 774f6ae81..d25c04fa8 100644 --- a/src/SWIG_files/headers/XmlXCAFDrivers_module.hxx +++ b/src/SWIG_files/headers/XmlXCAFDrivers_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/gce_module.hxx b/src/SWIG_files/headers/gce_module.hxx index 48745e776..7992d06fe 100644 --- a/src/SWIG_files/headers/gce_module.hxx +++ b/src/SWIG_files/headers/gce_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/gp_module.hxx b/src/SWIG_files/headers/gp_module.hxx index a324b67ee..d0f66a4b4 100644 --- a/src/SWIG_files/headers/gp_module.hxx +++ b/src/SWIG_files/headers/gp_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -58,6 +58,8 @@ along with pythonOCC. If not, see . #include #include #include +#include +#include #include #include #include diff --git a/src/SWIG_files/headers/math_module.hxx b/src/SWIG_files/headers/math_module.hxx index f209290d2..7d0e677c0 100644 --- a/src/SWIG_files/headers/math_module.hxx +++ b/src/SWIG_files/headers/math_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/wrapper/AIS.i b/src/SWIG_files/wrapper/AIS.i index c9e74a085..3def7aa43 100644 --- a/src/SWIG_files/wrapper/AIS.i +++ b/src/SWIG_files/wrapper/AIS.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define AISDOCSTRING "AIS module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_ais.html" +https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_ais.html" %enddef %module (package="OCC.Core", docstring=AISDOCSTRING) AIS @@ -31,8 +31,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_ais.html" %include ../common/CommonIncludes.i %include ../common/ExceptionCatcher.i %include ../common/FunctionTransformers.i +%include ../common/EnumTemplates.i %include ../common/Operators.i %include ../common/OccHandle.i +%include ../common/IOStream.i +%include ../common/ArrayMacros.i %{ @@ -43,6 +46,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_ais.html" #include #include #include +#include #include #include #include @@ -55,11 +59,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_ais.html" #include #include #include -#include #include #include -#include #include +#include +#include #include #include #include @@ -84,6 +88,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_ais.html" %import NCollection.i %import SelectMgr.i %import Media.i +%import PrsMgr.i %import TCollection.i %import Quantity.i %import TopAbs.i @@ -96,11 +101,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_ais.html" %import Bnd.i %import gp.i %import TopLoc.i -%import PrsMgr.i %import StdSelect.i %import TColgp.i -%import Geom.i %import Select3D.i +%import SelectBasics.i +%import Geom.i %import Poly.i %import Image.i @@ -110,11 +115,41 @@ from OCC.Core.Exception import * }; /* public enums */ -enum AIS_TrihedronSelectionMode { - AIS_TrihedronSelectionMode_EntireObject = 0, - AIS_TrihedronSelectionMode_Origin = 1, - AIS_TrihedronSelectionMode_Axes = 2, - AIS_TrihedronSelectionMode_MainPlanes = 3, +enum AIS_DisplayMode { + AIS_WireFrame = 0, + AIS_Shaded = 1, +}; + +enum AIS_DragAction { + AIS_DragAction_Start = 0, + AIS_DragAction_Confirmed = 1, + AIS_DragAction_Update = 2, + AIS_DragAction_Stop = 3, + AIS_DragAction_Abort = 4, +}; + +enum AIS_KindOfInteractive { + AIS_KindOfInteractive_None = 0, + AIS_KindOfInteractive_Datum = 1, + AIS_KindOfInteractive_Shape = 2, + AIS_KindOfInteractive_Object = 3, + AIS_KindOfInteractive_Relation = 4, + AIS_KindOfInteractive_Dimension = 5, + AIS_KindOfInteractive_LightSource = 6, + AIS_KOI_None = AIS_KindOfInteractive_None, + AIS_KOI_Datum = AIS_KindOfInteractive_Datum, + AIS_KOI_Shape = AIS_KindOfInteractive_Shape, + AIS_KOI_Object = AIS_KindOfInteractive_Object, + AIS_KOI_Relation = AIS_KindOfInteractive_Relation, + AIS_KOI_Dimension = AIS_KindOfInteractive_Dimension, +}; + +enum AIS_ManipulatorMode { + AIS_MM_None = 0, + AIS_MM_Translation = 1, + AIS_MM_Rotation = 2, + AIS_MM_Scaling = 3, + AIS_MM_TranslationPlane = 4, }; enum AIS_MouseGesture { @@ -122,18 +157,83 @@ enum AIS_MouseGesture { AIS_MouseGesture_SelectRectangle = 1, AIS_MouseGesture_SelectLasso = 2, AIS_MouseGesture_Zoom = 3, - AIS_MouseGesture_ZoomWindow = 4, - AIS_MouseGesture_Pan = 5, - AIS_MouseGesture_RotateOrbit = 6, - AIS_MouseGesture_RotateView = 7, + AIS_MouseGesture_ZoomVertical = 4, + AIS_MouseGesture_ZoomWindow = 5, + AIS_MouseGesture_Pan = 6, + AIS_MouseGesture_RotateOrbit = 7, + AIS_MouseGesture_RotateView = 8, + AIS_MouseGesture_Drag = 9, +}; + +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_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_SelectStatus { + AIS_SS_Added = 0, + AIS_SS_Removed = 1, + AIS_SS_NotDone = 2, +}; + +enum AIS_SelectionModesConcurrency { + AIS_SelectionModesConcurrency_Single = 0, + AIS_SelectionModesConcurrency_GlobalOrLocal = 1, + AIS_SelectionModesConcurrency_Multiple = 2, +}; + +enum AIS_SelectionScheme { + AIS_SelectionScheme_UNKNOWN = - 1, + AIS_SelectionScheme_Replace = 0, + AIS_SelectionScheme_Add = 1, + AIS_SelectionScheme_Remove = 2, + AIS_SelectionScheme_XOR = 3, + AIS_SelectionScheme_Clear = 4, + AIS_SelectionScheme_ReplaceExtra = 5, +}; + +enum AIS_StatusOfDetection { + AIS_SOD_Error = 0, + AIS_SOD_Nothing = 1, + AIS_SOD_AllBad = 2, + AIS_SOD_Selected = 3, + AIS_SOD_OnlyOneDetected = 4, + AIS_SOD_OnlyOneGood = 5, + AIS_SOD_SeveralGood = 6, +}; + +enum AIS_StatusOfPick { + AIS_SOP_Error = 0, + AIS_SOP_NothingSelected = 1, + AIS_SOP_Removed = 2, + AIS_SOP_OneSelected = 3, + AIS_SOP_SeveralSelected = 4, }; -enum AIS_ClearMode { - AIS_CM_All = 0, - AIS_CM_Interactive = 1, - AIS_CM_Filters = 2, - AIS_CM_StandardModes = 3, - AIS_CM_TemporaryShapePrs = 4, +enum AIS_TrihedronSelectionMode { + AIS_TrihedronSelectionMode_EntireObject = 0, + AIS_TrihedronSelectionMode_Origin = 1, + AIS_TrihedronSelectionMode_Axes = 2, + AIS_TrihedronSelectionMode_MainPlanes = 3, }; enum AIS_TypeOfAttribute { @@ -155,21 +255,6 @@ enum AIS_TypeOfAttribute { AIS_TOA_ThirdAxis = 15, }; -enum AIS_KindOfInteractive { - AIS_KOI_None = 0, - AIS_KOI_Datum = 1, - AIS_KOI_Shape = 2, - AIS_KOI_Object = 3, - AIS_KOI_Relation = 4, - AIS_KOI_Dimension = 5, -}; - -enum AIS_SelectStatus { - AIS_SS_Added = 0, - AIS_SS_Removed = 1, - AIS_SS_NotDone = 2, -}; - enum AIS_TypeOfAxis { AIS_TOAX_Unknown = 0, AIS_TOAX_XAxis = 1, @@ -177,24 +262,17 @@ enum AIS_TypeOfAxis { AIS_TOAX_ZAxis = 3, }; -enum AIS_ConnectStatus { - AIS_CS_None = 0, - AIS_CS_Connection = 1, - AIS_CS_Transform = 2, - 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_TypeOfIso { + AIS_TOI_IsoU = 0, + AIS_TOI_IsoV = 1, + AIS_TOI_Both = 2, }; -enum { - AIS_RotationMode_LOWER = 0, - AIS_RotationMode_UPPER = AIS_RotationMode_BndBoxScene, +enum AIS_TypeOfPlane { + AIS_TOPL_Unknown = 0, + AIS_TOPL_XYPlane = 1, + AIS_TOPL_XZPlane = 2, + AIS_TOPL_YZPlane = 3, }; enum AIS_ViewSelectionTool { @@ -209,33 +287,6 @@ enum AIS_ViewInputBufferType { 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_StatusOfDetection { - AIS_SOD_Error = 0, - AIS_SOD_Nothing = 1, - AIS_SOD_AllBad = 2, - AIS_SOD_Selected = 3, - AIS_SOD_OnlyOneDetected = 4, - AIS_SOD_OnlyOneGood = 5, - AIS_SOD_SeveralGood = 6, -}; - enum AIS_WalkTranslation { AIS_WalkTranslation_Forward = 0, AIS_WalkTranslation_Side = 1, @@ -248,97 +299,180 @@ enum AIS_WalkRotation { 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_DisplayMode { - AIS_WireFrame = 0, - AIS_Shaded = 1, -}; - -enum AIS_StatusOfPick { - AIS_SOP_Error = 0, - AIS_SOP_NothingSelected = 1, - AIS_SOP_Removed = 2, - AIS_SOP_OneSelected = 3, - AIS_SOP_SeveralSelected = 4, -}; - -enum AIS_DragAction { - AIS_DragAction_Start = 0, - AIS_DragAction_Update = 1, - AIS_DragAction_Stop = 2, - AIS_DragAction_Abort = 3, -}; +/* end public enums declaration */ -enum AIS_TypeOfPlane { - AIS_TOPL_Unknown = 0, - AIS_TOPL_XYPlane = 1, - AIS_TOPL_XZPlane = 2, - AIS_TOPL_YZPlane = 3, -}; +/* python proxy classes for enums */ +%pythoncode { -enum AIS_DisplayStatus { - AIS_DS_Displayed = 0, - AIS_DS_Erased = 1, - AIS_DS_None = 2, -}; +class AIS_DisplayMode(IntEnum): + AIS_WireFrame = 0 + AIS_Shaded = 1 +AIS_WireFrame = AIS_DisplayMode.AIS_WireFrame +AIS_Shaded = AIS_DisplayMode.AIS_Shaded -/* end public enums declaration */ +class AIS_DragAction(IntEnum): + AIS_DragAction_Start = 0 + AIS_DragAction_Confirmed = 1 + AIS_DragAction_Update = 2 + AIS_DragAction_Stop = 3 + AIS_DragAction_Abort = 4 +AIS_DragAction_Start = AIS_DragAction.AIS_DragAction_Start +AIS_DragAction_Confirmed = AIS_DragAction.AIS_DragAction_Confirmed +AIS_DragAction_Update = AIS_DragAction.AIS_DragAction_Update +AIS_DragAction_Stop = AIS_DragAction.AIS_DragAction_Stop +AIS_DragAction_Abort = AIS_DragAction.AIS_DragAction_Abort -/* python proy classes for enums */ -%pythoncode { +class AIS_KindOfInteractive(IntEnum): + AIS_KindOfInteractive_None = 0 + AIS_KindOfInteractive_Datum = 1 + AIS_KindOfInteractive_Shape = 2 + AIS_KindOfInteractive_Object = 3 + AIS_KindOfInteractive_Relation = 4 + AIS_KindOfInteractive_Dimension = 5 + AIS_KindOfInteractive_LightSource = 6 + AIS_KOI_None = AIS_KindOfInteractive_None + AIS_KOI_Datum = AIS_KindOfInteractive_Datum + AIS_KOI_Shape = AIS_KindOfInteractive_Shape + AIS_KOI_Object = AIS_KindOfInteractive_Object + AIS_KOI_Relation = AIS_KindOfInteractive_Relation + AIS_KOI_Dimension = AIS_KindOfInteractive_Dimension +AIS_KindOfInteractive_None = AIS_KindOfInteractive.AIS_KindOfInteractive_None +AIS_KindOfInteractive_Datum = AIS_KindOfInteractive.AIS_KindOfInteractive_Datum +AIS_KindOfInteractive_Shape = AIS_KindOfInteractive.AIS_KindOfInteractive_Shape +AIS_KindOfInteractive_Object = AIS_KindOfInteractive.AIS_KindOfInteractive_Object +AIS_KindOfInteractive_Relation = AIS_KindOfInteractive.AIS_KindOfInteractive_Relation +AIS_KindOfInteractive_Dimension = AIS_KindOfInteractive.AIS_KindOfInteractive_Dimension +AIS_KindOfInteractive_LightSource = AIS_KindOfInteractive.AIS_KindOfInteractive_LightSource +AIS_KOI_None = AIS_KindOfInteractive.AIS_KOI_None +AIS_KOI_Datum = AIS_KindOfInteractive.AIS_KOI_Datum +AIS_KOI_Shape = AIS_KindOfInteractive.AIS_KOI_Shape +AIS_KOI_Object = AIS_KindOfInteractive.AIS_KOI_Object +AIS_KOI_Relation = AIS_KindOfInteractive.AIS_KOI_Relation +AIS_KOI_Dimension = AIS_KindOfInteractive.AIS_KOI_Dimension -class AIS_TrihedronSelectionMode(IntEnum): - AIS_TrihedronSelectionMode_EntireObject = 0 - AIS_TrihedronSelectionMode_Origin = 1 - AIS_TrihedronSelectionMode_Axes = 2 - AIS_TrihedronSelectionMode_MainPlanes = 3 -AIS_TrihedronSelectionMode_EntireObject = AIS_TrihedronSelectionMode.AIS_TrihedronSelectionMode_EntireObject -AIS_TrihedronSelectionMode_Origin = AIS_TrihedronSelectionMode.AIS_TrihedronSelectionMode_Origin -AIS_TrihedronSelectionMode_Axes = AIS_TrihedronSelectionMode.AIS_TrihedronSelectionMode_Axes -AIS_TrihedronSelectionMode_MainPlanes = AIS_TrihedronSelectionMode.AIS_TrihedronSelectionMode_MainPlanes +class AIS_ManipulatorMode(IntEnum): + AIS_MM_None = 0 + AIS_MM_Translation = 1 + AIS_MM_Rotation = 2 + AIS_MM_Scaling = 3 + AIS_MM_TranslationPlane = 4 +AIS_MM_None = AIS_ManipulatorMode.AIS_MM_None +AIS_MM_Translation = AIS_ManipulatorMode.AIS_MM_Translation +AIS_MM_Rotation = AIS_ManipulatorMode.AIS_MM_Rotation +AIS_MM_Scaling = AIS_ManipulatorMode.AIS_MM_Scaling +AIS_MM_TranslationPlane = AIS_ManipulatorMode.AIS_MM_TranslationPlane class AIS_MouseGesture(IntEnum): AIS_MouseGesture_NONE = 0 AIS_MouseGesture_SelectRectangle = 1 AIS_MouseGesture_SelectLasso = 2 AIS_MouseGesture_Zoom = 3 - AIS_MouseGesture_ZoomWindow = 4 - AIS_MouseGesture_Pan = 5 - AIS_MouseGesture_RotateOrbit = 6 - AIS_MouseGesture_RotateView = 7 + AIS_MouseGesture_ZoomVertical = 4 + AIS_MouseGesture_ZoomWindow = 5 + AIS_MouseGesture_Pan = 6 + AIS_MouseGesture_RotateOrbit = 7 + AIS_MouseGesture_RotateView = 8 + AIS_MouseGesture_Drag = 9 AIS_MouseGesture_NONE = AIS_MouseGesture.AIS_MouseGesture_NONE AIS_MouseGesture_SelectRectangle = AIS_MouseGesture.AIS_MouseGesture_SelectRectangle AIS_MouseGesture_SelectLasso = AIS_MouseGesture.AIS_MouseGesture_SelectLasso AIS_MouseGesture_Zoom = AIS_MouseGesture.AIS_MouseGesture_Zoom +AIS_MouseGesture_ZoomVertical = AIS_MouseGesture.AIS_MouseGesture_ZoomVertical AIS_MouseGesture_ZoomWindow = AIS_MouseGesture.AIS_MouseGesture_ZoomWindow AIS_MouseGesture_Pan = AIS_MouseGesture.AIS_MouseGesture_Pan AIS_MouseGesture_RotateOrbit = AIS_MouseGesture.AIS_MouseGesture_RotateOrbit AIS_MouseGesture_RotateView = AIS_MouseGesture.AIS_MouseGesture_RotateView +AIS_MouseGesture_Drag = AIS_MouseGesture.AIS_MouseGesture_Drag + +class AIS_NavigationMode(IntEnum): + AIS_NavigationMode_Orbit = 0 + AIS_NavigationMode_FirstPersonFlight = 1 + AIS_NavigationMode_FirstPersonWalk = 2 +AIS_NavigationMode_Orbit = AIS_NavigationMode.AIS_NavigationMode_Orbit +AIS_NavigationMode_FirstPersonFlight = AIS_NavigationMode.AIS_NavigationMode_FirstPersonFlight +AIS_NavigationMode_FirstPersonWalk = AIS_NavigationMode.AIS_NavigationMode_FirstPersonWalk + +class AIS_RotationMode(IntEnum): + AIS_RotationMode_BndBoxActive = 0 + AIS_RotationMode_PickLast = 1 + AIS_RotationMode_PickCenter = 2 + AIS_RotationMode_CameraAt = 3 + AIS_RotationMode_BndBoxScene = 4 +AIS_RotationMode_BndBoxActive = AIS_RotationMode.AIS_RotationMode_BndBoxActive +AIS_RotationMode_PickLast = AIS_RotationMode.AIS_RotationMode_PickLast +AIS_RotationMode_PickCenter = AIS_RotationMode.AIS_RotationMode_PickCenter +AIS_RotationMode_CameraAt = AIS_RotationMode.AIS_RotationMode_CameraAt +AIS_RotationMode_BndBoxScene = AIS_RotationMode.AIS_RotationMode_BndBoxScene + +class AIS_SelectStatus(IntEnum): + AIS_SS_Added = 0 + AIS_SS_Removed = 1 + AIS_SS_NotDone = 2 +AIS_SS_Added = AIS_SelectStatus.AIS_SS_Added +AIS_SS_Removed = AIS_SelectStatus.AIS_SS_Removed +AIS_SS_NotDone = AIS_SelectStatus.AIS_SS_NotDone + +class AIS_SelectionModesConcurrency(IntEnum): + AIS_SelectionModesConcurrency_Single = 0 + AIS_SelectionModesConcurrency_GlobalOrLocal = 1 + AIS_SelectionModesConcurrency_Multiple = 2 +AIS_SelectionModesConcurrency_Single = AIS_SelectionModesConcurrency.AIS_SelectionModesConcurrency_Single +AIS_SelectionModesConcurrency_GlobalOrLocal = AIS_SelectionModesConcurrency.AIS_SelectionModesConcurrency_GlobalOrLocal +AIS_SelectionModesConcurrency_Multiple = AIS_SelectionModesConcurrency.AIS_SelectionModesConcurrency_Multiple -class AIS_ClearMode(IntEnum): - AIS_CM_All = 0 - AIS_CM_Interactive = 1 - AIS_CM_Filters = 2 - AIS_CM_StandardModes = 3 - AIS_CM_TemporaryShapePrs = 4 -AIS_CM_All = AIS_ClearMode.AIS_CM_All -AIS_CM_Interactive = AIS_ClearMode.AIS_CM_Interactive -AIS_CM_Filters = AIS_ClearMode.AIS_CM_Filters -AIS_CM_StandardModes = AIS_ClearMode.AIS_CM_StandardModes -AIS_CM_TemporaryShapePrs = AIS_ClearMode.AIS_CM_TemporaryShapePrs +class AIS_SelectionScheme(IntEnum): + AIS_SelectionScheme_UNKNOWN = - 1 + AIS_SelectionScheme_Replace = 0 + AIS_SelectionScheme_Add = 1 + AIS_SelectionScheme_Remove = 2 + AIS_SelectionScheme_XOR = 3 + AIS_SelectionScheme_Clear = 4 + AIS_SelectionScheme_ReplaceExtra = 5 +AIS_SelectionScheme_UNKNOWN = AIS_SelectionScheme.AIS_SelectionScheme_UNKNOWN +AIS_SelectionScheme_Replace = AIS_SelectionScheme.AIS_SelectionScheme_Replace +AIS_SelectionScheme_Add = AIS_SelectionScheme.AIS_SelectionScheme_Add +AIS_SelectionScheme_Remove = AIS_SelectionScheme.AIS_SelectionScheme_Remove +AIS_SelectionScheme_XOR = AIS_SelectionScheme.AIS_SelectionScheme_XOR +AIS_SelectionScheme_Clear = AIS_SelectionScheme.AIS_SelectionScheme_Clear +AIS_SelectionScheme_ReplaceExtra = AIS_SelectionScheme.AIS_SelectionScheme_ReplaceExtra + +class AIS_StatusOfDetection(IntEnum): + AIS_SOD_Error = 0 + AIS_SOD_Nothing = 1 + AIS_SOD_AllBad = 2 + AIS_SOD_Selected = 3 + AIS_SOD_OnlyOneDetected = 4 + AIS_SOD_OnlyOneGood = 5 + AIS_SOD_SeveralGood = 6 +AIS_SOD_Error = AIS_StatusOfDetection.AIS_SOD_Error +AIS_SOD_Nothing = AIS_StatusOfDetection.AIS_SOD_Nothing +AIS_SOD_AllBad = AIS_StatusOfDetection.AIS_SOD_AllBad +AIS_SOD_Selected = AIS_StatusOfDetection.AIS_SOD_Selected +AIS_SOD_OnlyOneDetected = AIS_StatusOfDetection.AIS_SOD_OnlyOneDetected +AIS_SOD_OnlyOneGood = AIS_StatusOfDetection.AIS_SOD_OnlyOneGood +AIS_SOD_SeveralGood = AIS_StatusOfDetection.AIS_SOD_SeveralGood + +class AIS_StatusOfPick(IntEnum): + AIS_SOP_Error = 0 + AIS_SOP_NothingSelected = 1 + AIS_SOP_Removed = 2 + AIS_SOP_OneSelected = 3 + AIS_SOP_SeveralSelected = 4 +AIS_SOP_Error = AIS_StatusOfPick.AIS_SOP_Error +AIS_SOP_NothingSelected = AIS_StatusOfPick.AIS_SOP_NothingSelected +AIS_SOP_Removed = AIS_StatusOfPick.AIS_SOP_Removed +AIS_SOP_OneSelected = AIS_StatusOfPick.AIS_SOP_OneSelected +AIS_SOP_SeveralSelected = AIS_StatusOfPick.AIS_SOP_SeveralSelected + +class AIS_TrihedronSelectionMode(IntEnum): + AIS_TrihedronSelectionMode_EntireObject = 0 + AIS_TrihedronSelectionMode_Origin = 1 + AIS_TrihedronSelectionMode_Axes = 2 + AIS_TrihedronSelectionMode_MainPlanes = 3 +AIS_TrihedronSelectionMode_EntireObject = AIS_TrihedronSelectionMode.AIS_TrihedronSelectionMode_EntireObject +AIS_TrihedronSelectionMode_Origin = AIS_TrihedronSelectionMode.AIS_TrihedronSelectionMode_Origin +AIS_TrihedronSelectionMode_Axes = AIS_TrihedronSelectionMode.AIS_TrihedronSelectionMode_Axes +AIS_TrihedronSelectionMode_MainPlanes = AIS_TrihedronSelectionMode.AIS_TrihedronSelectionMode_MainPlanes class AIS_TypeOfAttribute(IntEnum): AIS_TOA_Line = 0 @@ -367,34 +501,12 @@ AIS_TOA_VIso = AIS_TypeOfAttribute.AIS_TOA_VIso AIS_TOA_Free = AIS_TypeOfAttribute.AIS_TOA_Free AIS_TOA_UnFree = AIS_TypeOfAttribute.AIS_TOA_UnFree AIS_TOA_Section = AIS_TypeOfAttribute.AIS_TOA_Section -AIS_TOA_Hidden = AIS_TypeOfAttribute.AIS_TOA_Hidden -AIS_TOA_Seen = AIS_TypeOfAttribute.AIS_TOA_Seen -AIS_TOA_FaceBoundary = AIS_TypeOfAttribute.AIS_TOA_FaceBoundary -AIS_TOA_FirstAxis = AIS_TypeOfAttribute.AIS_TOA_FirstAxis -AIS_TOA_SecondAxis = AIS_TypeOfAttribute.AIS_TOA_SecondAxis -AIS_TOA_ThirdAxis = AIS_TypeOfAttribute.AIS_TOA_ThirdAxis - -class AIS_KindOfInteractive(IntEnum): - AIS_KOI_None = 0 - AIS_KOI_Datum = 1 - AIS_KOI_Shape = 2 - AIS_KOI_Object = 3 - AIS_KOI_Relation = 4 - AIS_KOI_Dimension = 5 -AIS_KOI_None = AIS_KindOfInteractive.AIS_KOI_None -AIS_KOI_Datum = AIS_KindOfInteractive.AIS_KOI_Datum -AIS_KOI_Shape = AIS_KindOfInteractive.AIS_KOI_Shape -AIS_KOI_Object = AIS_KindOfInteractive.AIS_KOI_Object -AIS_KOI_Relation = AIS_KindOfInteractive.AIS_KOI_Relation -AIS_KOI_Dimension = AIS_KindOfInteractive.AIS_KOI_Dimension - -class AIS_SelectStatus(IntEnum): - AIS_SS_Added = 0 - AIS_SS_Removed = 1 - AIS_SS_NotDone = 2 -AIS_SS_Added = AIS_SelectStatus.AIS_SS_Added -AIS_SS_Removed = AIS_SelectStatus.AIS_SS_Removed -AIS_SS_NotDone = AIS_SelectStatus.AIS_SS_NotDone +AIS_TOA_Hidden = AIS_TypeOfAttribute.AIS_TOA_Hidden +AIS_TOA_Seen = AIS_TypeOfAttribute.AIS_TOA_Seen +AIS_TOA_FaceBoundary = AIS_TypeOfAttribute.AIS_TOA_FaceBoundary +AIS_TOA_FirstAxis = AIS_TypeOfAttribute.AIS_TOA_FirstAxis +AIS_TOA_SecondAxis = AIS_TypeOfAttribute.AIS_TOA_SecondAxis +AIS_TOA_ThirdAxis = AIS_TypeOfAttribute.AIS_TOA_ThirdAxis class AIS_TypeOfAxis(IntEnum): AIS_TOAX_Unknown = 0 @@ -406,27 +518,23 @@ AIS_TOAX_XAxis = AIS_TypeOfAxis.AIS_TOAX_XAxis AIS_TOAX_YAxis = AIS_TypeOfAxis.AIS_TOAX_YAxis AIS_TOAX_ZAxis = AIS_TypeOfAxis.AIS_TOAX_ZAxis -class AIS_ConnectStatus(IntEnum): - AIS_CS_None = 0 - AIS_CS_Connection = 1 - AIS_CS_Transform = 2 - AIS_CS_Both = 3 -AIS_CS_None = AIS_ConnectStatus.AIS_CS_None -AIS_CS_Connection = AIS_ConnectStatus.AIS_CS_Connection -AIS_CS_Transform = AIS_ConnectStatus.AIS_CS_Transform -AIS_CS_Both = AIS_ConnectStatus.AIS_CS_Both +class AIS_TypeOfIso(IntEnum): + AIS_TOI_IsoU = 0 + AIS_TOI_IsoV = 1 + AIS_TOI_Both = 2 +AIS_TOI_IsoU = AIS_TypeOfIso.AIS_TOI_IsoU +AIS_TOI_IsoV = AIS_TypeOfIso.AIS_TOI_IsoV +AIS_TOI_Both = AIS_TypeOfIso.AIS_TOI_Both -class AIS_RotationMode(IntEnum): - AIS_RotationMode_BndBoxActive = 0 - AIS_RotationMode_PickLast = 1 - AIS_RotationMode_PickCenter = 2 - AIS_RotationMode_CameraAt = 3 - AIS_RotationMode_BndBoxScene = 4 -AIS_RotationMode_BndBoxActive = AIS_RotationMode.AIS_RotationMode_BndBoxActive -AIS_RotationMode_PickLast = AIS_RotationMode.AIS_RotationMode_PickLast -AIS_RotationMode_PickCenter = AIS_RotationMode.AIS_RotationMode_PickCenter -AIS_RotationMode_CameraAt = AIS_RotationMode.AIS_RotationMode_CameraAt -AIS_RotationMode_BndBoxScene = AIS_RotationMode.AIS_RotationMode_BndBoxScene +class AIS_TypeOfPlane(IntEnum): + AIS_TOPL_Unknown = 0 + AIS_TOPL_XYPlane = 1 + AIS_TOPL_XZPlane = 2 + AIS_TOPL_YZPlane = 3 +AIS_TOPL_Unknown = AIS_TypeOfPlane.AIS_TOPL_Unknown +AIS_TOPL_XYPlane = AIS_TypeOfPlane.AIS_TOPL_XYPlane +AIS_TOPL_XZPlane = AIS_TypeOfPlane.AIS_TOPL_XZPlane +AIS_TOPL_YZPlane = AIS_TypeOfPlane.AIS_TOPL_YZPlane class AIS_ViewSelectionTool(IntEnum): AIS_ViewSelectionTool_Picking = 0 @@ -444,38 +552,6 @@ class AIS_ViewInputBufferType(IntEnum): AIS_ViewInputBufferType_UI = AIS_ViewInputBufferType.AIS_ViewInputBufferType_UI AIS_ViewInputBufferType_GL = AIS_ViewInputBufferType.AIS_ViewInputBufferType_GL -class AIS_NavigationMode(IntEnum): - AIS_NavigationMode_Orbit = 0 - AIS_NavigationMode_FirstPersonFlight = 1 - AIS_NavigationMode_FirstPersonWalk = 2 -AIS_NavigationMode_Orbit = AIS_NavigationMode.AIS_NavigationMode_Orbit -AIS_NavigationMode_FirstPersonFlight = AIS_NavigationMode.AIS_NavigationMode_FirstPersonFlight -AIS_NavigationMode_FirstPersonWalk = AIS_NavigationMode.AIS_NavigationMode_FirstPersonWalk - -class AIS_TypeOfIso(IntEnum): - AIS_TOI_IsoU = 0 - AIS_TOI_IsoV = 1 - AIS_TOI_Both = 2 -AIS_TOI_IsoU = AIS_TypeOfIso.AIS_TOI_IsoU -AIS_TOI_IsoV = AIS_TypeOfIso.AIS_TOI_IsoV -AIS_TOI_Both = AIS_TypeOfIso.AIS_TOI_Both - -class AIS_StatusOfDetection(IntEnum): - AIS_SOD_Error = 0 - AIS_SOD_Nothing = 1 - AIS_SOD_AllBad = 2 - AIS_SOD_Selected = 3 - AIS_SOD_OnlyOneDetected = 4 - AIS_SOD_OnlyOneGood = 5 - AIS_SOD_SeveralGood = 6 -AIS_SOD_Error = AIS_StatusOfDetection.AIS_SOD_Error -AIS_SOD_Nothing = AIS_StatusOfDetection.AIS_SOD_Nothing -AIS_SOD_AllBad = AIS_StatusOfDetection.AIS_SOD_AllBad -AIS_SOD_Selected = AIS_StatusOfDetection.AIS_SOD_Selected -AIS_SOD_OnlyOneDetected = AIS_StatusOfDetection.AIS_SOD_OnlyOneDetected -AIS_SOD_OnlyOneGood = AIS_StatusOfDetection.AIS_SOD_OnlyOneGood -AIS_SOD_SeveralGood = AIS_StatusOfDetection.AIS_SOD_SeveralGood - class AIS_WalkTranslation(IntEnum): AIS_WalkTranslation_Forward = 0 AIS_WalkTranslation_Side = 1 @@ -491,72 +567,6 @@ class AIS_WalkRotation(IntEnum): AIS_WalkRotation_Yaw = AIS_WalkRotation.AIS_WalkRotation_Yaw AIS_WalkRotation_Pitch = AIS_WalkRotation.AIS_WalkRotation_Pitch AIS_WalkRotation_Roll = AIS_WalkRotation.AIS_WalkRotation_Roll - -class AIS_ManipulatorMode(IntEnum): - AIS_MM_None = 0 - AIS_MM_Translation = 1 - AIS_MM_Rotation = 2 - AIS_MM_Scaling = 3 - AIS_MM_TranslationPlane = 4 -AIS_MM_None = AIS_ManipulatorMode.AIS_MM_None -AIS_MM_Translation = AIS_ManipulatorMode.AIS_MM_Translation -AIS_MM_Rotation = AIS_ManipulatorMode.AIS_MM_Rotation -AIS_MM_Scaling = AIS_ManipulatorMode.AIS_MM_Scaling -AIS_MM_TranslationPlane = AIS_ManipulatorMode.AIS_MM_TranslationPlane - -class AIS_SelectionModesConcurrency(IntEnum): - AIS_SelectionModesConcurrency_Single = 0 - AIS_SelectionModesConcurrency_GlobalOrLocal = 1 - AIS_SelectionModesConcurrency_Multiple = 2 -AIS_SelectionModesConcurrency_Single = AIS_SelectionModesConcurrency.AIS_SelectionModesConcurrency_Single -AIS_SelectionModesConcurrency_GlobalOrLocal = AIS_SelectionModesConcurrency.AIS_SelectionModesConcurrency_GlobalOrLocal -AIS_SelectionModesConcurrency_Multiple = AIS_SelectionModesConcurrency.AIS_SelectionModesConcurrency_Multiple - -class AIS_DisplayMode(IntEnum): - AIS_WireFrame = 0 - AIS_Shaded = 1 -AIS_WireFrame = AIS_DisplayMode.AIS_WireFrame -AIS_Shaded = AIS_DisplayMode.AIS_Shaded - -class AIS_StatusOfPick(IntEnum): - AIS_SOP_Error = 0 - AIS_SOP_NothingSelected = 1 - AIS_SOP_Removed = 2 - AIS_SOP_OneSelected = 3 - AIS_SOP_SeveralSelected = 4 -AIS_SOP_Error = AIS_StatusOfPick.AIS_SOP_Error -AIS_SOP_NothingSelected = AIS_StatusOfPick.AIS_SOP_NothingSelected -AIS_SOP_Removed = AIS_StatusOfPick.AIS_SOP_Removed -AIS_SOP_OneSelected = AIS_StatusOfPick.AIS_SOP_OneSelected -AIS_SOP_SeveralSelected = AIS_StatusOfPick.AIS_SOP_SeveralSelected - -class AIS_DragAction(IntEnum): - AIS_DragAction_Start = 0 - AIS_DragAction_Update = 1 - AIS_DragAction_Stop = 2 - AIS_DragAction_Abort = 3 -AIS_DragAction_Start = AIS_DragAction.AIS_DragAction_Start -AIS_DragAction_Update = AIS_DragAction.AIS_DragAction_Update -AIS_DragAction_Stop = AIS_DragAction.AIS_DragAction_Stop -AIS_DragAction_Abort = AIS_DragAction.AIS_DragAction_Abort - -class AIS_TypeOfPlane(IntEnum): - AIS_TOPL_Unknown = 0 - AIS_TOPL_XYPlane = 1 - AIS_TOPL_XZPlane = 2 - AIS_TOPL_YZPlane = 3 -AIS_TOPL_Unknown = AIS_TypeOfPlane.AIS_TOPL_Unknown -AIS_TOPL_XYPlane = AIS_TypeOfPlane.AIS_TOPL_XYPlane -AIS_TOPL_XZPlane = AIS_TypeOfPlane.AIS_TOPL_XZPlane -AIS_TOPL_YZPlane = AIS_TypeOfPlane.AIS_TOPL_YZPlane - -class AIS_DisplayStatus(IntEnum): - AIS_DS_Displayed = 0 - AIS_DS_Erased = 1 - AIS_DS_None = 2 -AIS_DS_Displayed = AIS_DisplayStatus.AIS_DS_Displayed -AIS_DS_Erased = AIS_DisplayStatus.AIS_DS_Erased -AIS_DS_None = AIS_DisplayStatus.AIS_DS_None }; /* end python proxy for enums */ @@ -575,8 +585,8 @@ AIS_DS_None = AIS_DisplayStatus.AIS_DS_None %wrap_handle(AIS_TrihedronOwner) %wrap_handle(AIS_TypeFilter) %wrap_handle(AIS_AnimationCamera) -%wrap_handle(AIS_AnimationObject) %wrap_handle(AIS_Axis) +%wrap_handle(AIS_BaseAnimationObject) %wrap_handle(AIS_Circle) %wrap_handle(AIS_ColorScale) %wrap_handle(AIS_ConnectedInteractive) @@ -593,27 +603,15 @@ AIS_DS_None = AIS_DisplayStatus.AIS_DS_None %wrap_handle(AIS_TextLabel) %wrap_handle(AIS_Triangulation) %wrap_handle(AIS_Trihedron) +%wrap_handle(AIS_AnimationAxisRotation) +%wrap_handle(AIS_AnimationObject) %wrap_handle(AIS_ColoredShape) %wrap_handle(AIS_TexturedShape) /* end handles declaration */ /* templates */ -%template(AIS_DataMapOfIOStatus) NCollection_DataMap,opencascade::handle,TColStd_MapTransientHasher>; +%template(AIS_DataMapOfIOStatus) NCollection_DataMap,opencascade::handle>; %template(AIS_DataMapOfShapeDrawer) NCollection_DataMap,TopTools_ShapeMapHasher>; -%template(AIS_DataMapofIntegerListOfinteractive) NCollection_DataMap; - -%extend NCollection_DataMap { - PyObject* Keys() { - PyObject *l=PyList_New(0); - for (AIS_DataMapofIntegerListOfinteractive::Iterator anIt1(*self); anIt1.More(); anIt1.Next()) { - PyObject *o = PyLong_FromLong(anIt1.Key()); - PyList_Append(l, o); - Py_DECREF(o); - } - return l; - } -}; -%template(AIS_IndexedDataMapOfOwnerPrs) NCollection_IndexedDataMap,opencascade::handle,TColStd_MapTransientHasher>; %template(AIS_ListIteratorOfListOfInteractive) NCollection_TListIterator>; %template(AIS_ListOfInteractive) NCollection_List>; @@ -621,66 +619,47 @@ AIS_DS_None = AIS_DisplayStatus.AIS_DS_None %pythoncode { def __len__(self): return self.Size() + + def __iter__(self): + it = AIS_ListIteratorOfListOfInteractive(self.this) + while it.More(): + yield it.Value() + it.Next() } }; -%template(AIS_MapOfInteractive) NCollection_Map,TColStd_MapTransientHasher>; %template(AIS_MouseGestureMap) NCollection_DataMap; +%template(AIS_MouseSelectionSchemeMap) NCollection_DataMap; +%template(AIS_NArray1OfEntityOwner) NCollection_Array1>; +Array1ExtendIter(opencascade::handle) + %template(AIS_NListOfEntityOwner) NCollection_List>; %extend NCollection_List> { %pythoncode { def __len__(self): return self.Size() - } -}; -%template(AIS_SequenceOfInteractive) NCollection_Sequence>; -%extend NCollection_Sequence> { - %pythoncode { - def __len__(self): - return self.Size() + def __iter__(self): + it = AIS_ListIteratorOfNListOfEntityOwner(self.this) + while it.More(): + yield it.Value() + it.Next() } }; /* end templates declaration */ /* typedefs */ -typedef PrsDim_AngleDimension AIS_AngleDimension; typedef Media_Timer AIS_AnimationTimer; -typedef PrsDim_Chamf2dDimension AIS_Chamf2dDimension; -typedef PrsDim_Chamf3dDimension AIS_Chamf3dDimension; -typedef PrsDim_ConcentricRelation AIS_ConcentricRelation; -typedef NCollection_DataMap, opencascade::handle, TColStd_MapTransientHasher>::Iterator AIS_DataMapIteratorOfDataMapOfIOStatus; -typedef NCollection_DataMap::Iterator AIS_DataMapIteratorOfDataMapofIntegerListOfinteractive; -typedef NCollection_DataMap, opencascade::handle, TColStd_MapTransientHasher> AIS_DataMapOfIOStatus; +typedef NCollection_DataMap, opencascade::handle>::Iterator AIS_DataMapIteratorOfDataMapOfIOStatus; +typedef NCollection_DataMap, opencascade::handle> AIS_DataMapOfIOStatus; typedef NCollection_DataMap, TopTools_ShapeMapHasher> AIS_DataMapOfShapeDrawer; -typedef NCollection_DataMap AIS_DataMapofIntegerListOfinteractive; -typedef PrsDim_DiameterDimension AIS_DiameterDimension; -typedef PrsDim_Dimension AIS_Dimension; -typedef PrsDim_DimensionOwner AIS_DimensionOwner; -typedef PrsDim_EllipseRadiusDimension AIS_EllipseRadiusDimension; -typedef PrsDim_EqualDistanceRelation AIS_EqualDistanceRelation; -typedef PrsDim_EqualRadiusRelation AIS_EqualRadiusRelation; -typedef PrsDim_FixRelation AIS_FixRelation; -typedef PrsDim_IdenticRelation AIS_IdenticRelation; -typedef NCollection_IndexedDataMap, opencascade::handle, TColStd_MapTransientHasher> AIS_IndexedDataMapOfOwnerPrs; -typedef PrsDim_LengthDimension AIS_LengthDimension; +typedef PrsMgr_DisplayStatus AIS_DisplayStatus; typedef NCollection_List>::Iterator AIS_ListIteratorOfListOfInteractive; typedef NCollection_List> AIS_ListOfInteractive; -typedef NCollection_Map, TColStd_MapTransientHasher>::Iterator AIS_MapIteratorOfMapOfInteractive; -typedef NCollection_Map, TColStd_MapTransientHasher> AIS_MapOfInteractive; -typedef PrsDim_MaxRadiusDimension AIS_MaxRadiusDimension; -typedef PrsDim_MidPointRelation AIS_MidPointRelation; -typedef PrsDim_MinRadiusDimension AIS_MinRadiusDimension; typedef NCollection_DataMap AIS_MouseGestureMap; +typedef NCollection_DataMap AIS_MouseSelectionSchemeMap; +typedef NCollection_Array1> AIS_NArray1OfEntityOwner; typedef NCollection_List> AIS_NListOfEntityOwner; -typedef PrsDim_OffsetDimension AIS_OffsetDimension; -typedef PrsDim_ParallelRelation AIS_ParallelRelation; -typedef PrsDim_PerpendicularRelation AIS_PerpendicularRelation; -typedef PrsDim_RadiusDimension AIS_RadiusDimension; -typedef PrsDim_Relation AIS_Relation; -typedef NCollection_Sequence> AIS_SequenceOfInteractive; -typedef PrsDim_SymmetricRelation AIS_SymmetricRelation; -typedef PrsDim_TangentRelation AIS_TangentRelation; /* end typedefs declaration */ /************ @@ -703,316 +682,415 @@ class AIS { **********************/ class AIS_Animation : public Standard_Transient { public: - /****************** AIS_Animation ******************/ - /**** md5 signature: 727aa36e0eb9a950096a860aa469ee16 ****/ + /****** AIS_Animation::AIS_Animation ******/ + /****** md5 signature: 727aa36e0eb9a950096a860aa469ee16 ******/ %feature("compactdefaultargs") AIS_Animation; - %feature("autodoc", "Creates empty animation. - + %feature("autodoc", " Parameters ---------- -theAnimationName: TCollection_AsciiString +theAnimationName: str -Returns +Return ------- None + +Description +----------- +Creates empty animation. ") AIS_Animation; - AIS_Animation(const TCollection_AsciiString & theAnimationName); + AIS_Animation(TCollection_AsciiString theAnimationName); - /****************** Add ******************/ - /**** md5 signature: b7202ad1c8c688e6eb7fda91d2734c8a ****/ + /****** AIS_Animation::Add ******/ + /****** md5 signature: b7202ad1c8c688e6eb7fda91d2734c8a ******/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Add single animation to the timeline. @param theanimation input animation. - + %feature("autodoc", " Parameters ---------- theAnimation: AIS_Animation -Returns +Return ------- None + +Description +----------- +Add single animation to the timeline. +Parameter theAnimation input animation. ") Add; void Add(const opencascade::handle & theAnimation); - /****************** Children ******************/ - /**** md5 signature: 4d291cae5d0ccc80f46be7cb0940bb81 ****/ + /****** AIS_Animation::Children ******/ + /****** md5 signature: 4d291cae5d0ccc80f46be7cb0940bb81 ******/ %feature("compactdefaultargs") Children; - %feature("autodoc", "Return sequence of child animations. - -Returns + %feature("autodoc", "Return ------- NCollection_Sequence> + +Description +----------- +Return sequence of child animations. ") Children; const NCollection_Sequence> & Children(); - /****************** Clear ******************/ - /**** md5 signature: ae54be580b423a6eadbe062e0bdb44c2 ****/ + /****** AIS_Animation::Clear ******/ + /****** md5 signature: ae54be580b423a6eadbe062e0bdb44c2 ******/ %feature("compactdefaultargs") Clear; - %feature("autodoc", "Clear animation timeline - remove all animations from it. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Clear animation timeline - remove all animations from it. ") Clear; void Clear(); - /****************** CopyFrom ******************/ - /**** md5 signature: 7d3ff49ce8472b7f7d11949859063cb9 ****/ + /****** AIS_Animation::CopyFrom ******/ + /****** md5 signature: 7d3ff49ce8472b7f7d11949859063cb9 ******/ %feature("compactdefaultargs") CopyFrom; - %feature("autodoc", "Clears own children and then copy child animations from another object. copy also start time and duration values. - + %feature("autodoc", " Parameters ---------- theOther: AIS_Animation -Returns +Return ------- None + +Description +----------- +Clears own children and then copy child animations from another object. Copy also Start Time and Duration values. ") CopyFrom; void CopyFrom(const opencascade::handle & theOther); - /****************** Duration ******************/ - /**** md5 signature: 06189957f640ef2ea84a8c20c3be6eb2 ****/ + /****** AIS_Animation::Duration ******/ + /****** md5 signature: 06189957f640ef2ea84a8c20c3be6eb2 ******/ %feature("compactdefaultargs") Duration; - %feature("autodoc", "Returns duration of the animation in the timeline. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Return: duration of the animation in the timeline. ") Duration; Standard_Real Duration(); - /****************** ElapsedTime ******************/ - /**** md5 signature: 70206d58970896f6b73a519322e3cb27 ****/ + /****** AIS_Animation::ElapsedTime ******/ + /****** md5 signature: 70206d58970896f6b73a519322e3cb27 ******/ %feature("compactdefaultargs") ElapsedTime; - %feature("autodoc", "Return elapsed time. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Return elapsed time. ") ElapsedTime; Standard_Real ElapsedTime(); - /****************** Find ******************/ - /**** md5 signature: 9e22b1f4cfa3ba31fa4a06fb1ca92a95 ****/ + /****** AIS_Animation::Find ******/ + /****** md5 signature: 9e22b1f4cfa3ba31fa4a06fb1ca92a95 ******/ %feature("compactdefaultargs") Find; - %feature("autodoc", "Return the child animation with the given name. - + %feature("autodoc", " Parameters ---------- -theAnimationName: TCollection_AsciiString +theAnimationName: str -Returns +Return ------- opencascade::handle + +Description +----------- +Return the child animation with the given name. ") Find; - opencascade::handle Find(const TCollection_AsciiString & theAnimationName); + opencascade::handle Find(TCollection_AsciiString theAnimationName); - /****************** HasOwnDuration ******************/ - /**** md5 signature: d56fdc215ecd1f278eef79952f8de61f ****/ + /****** AIS_Animation::HasOwnDuration ******/ + /****** md5 signature: d56fdc215ecd1f278eef79952f8de61f ******/ %feature("compactdefaultargs") HasOwnDuration; - %feature("autodoc", "Return true if duration is defined. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return true if duration is defined. ") HasOwnDuration; Standard_Boolean HasOwnDuration(); - /****************** IsStopped ******************/ - /**** md5 signature: 47d24d2d20eebce42247deefc3d90f95 ****/ + /****** AIS_Animation::IsStopped ******/ + /****** md5 signature: 47d24d2d20eebce42247deefc3d90f95 ******/ %feature("compactdefaultargs") IsStopped; - %feature("autodoc", "Check if animation is to be performed in the animation timeline. returns true if it is stopped of finished. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Check if animation is to be performed in the animation timeline. +Return: True if it is stopped of finished. ") IsStopped; bool IsStopped(); - /****************** Name ******************/ - /**** md5 signature: efed61b92683387cd746fb27e0376505 ****/ + /****** AIS_Animation::Name ******/ + /****** md5 signature: efed61b92683387cd746fb27e0376505 ******/ %feature("compactdefaultargs") Name; - %feature("autodoc", "Animation name. - -Returns + %feature("autodoc", "Return ------- TCollection_AsciiString + +Description +----------- +Animation name. ") Name; const TCollection_AsciiString & Name(); - /****************** OwnDuration ******************/ - /**** md5 signature: 91e7334f62ba03e5416b947ca9e5589c ****/ + /****** AIS_Animation::OwnDuration ******/ + /****** md5 signature: 91e7334f62ba03e5416b947ca9e5589c ******/ %feature("compactdefaultargs") OwnDuration; - %feature("autodoc", "Returns own duration of the animation in the timeline. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Return: own duration of the animation in the timeline. ") OwnDuration; Standard_Real OwnDuration(); - /****************** Pause ******************/ - /**** md5 signature: 98a33dcef2fa2a4e7461512069a3757c ****/ + /****** AIS_Animation::Pause ******/ + /****** md5 signature: 98a33dcef2fa2a4e7461512069a3757c ******/ %feature("compactdefaultargs") Pause; - %feature("autodoc", "Pause the process timeline. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Pause the process timeline. ") Pause; virtual void Pause(); - /****************** Remove ******************/ - /**** md5 signature: c2d3205baf5b26e561fca40dd748a99c ****/ + /****** AIS_Animation::Remove ******/ + /****** md5 signature: c2d3205baf5b26e561fca40dd748a99c ******/ %feature("compactdefaultargs") Remove; - %feature("autodoc", "Remove the child animation. - + %feature("autodoc", " Parameters ---------- theAnimation: AIS_Animation -Returns +Return ------- bool + +Description +----------- +Remove the child animation. ") Remove; Standard_Boolean Remove(const opencascade::handle & theAnimation); - /****************** Replace ******************/ - /**** md5 signature: 42763c45f3c3b0ec0a4cf50313c6374f ****/ + /****** AIS_Animation::Replace ******/ + /****** md5 signature: 42763c45f3c3b0ec0a4cf50313c6374f ******/ %feature("compactdefaultargs") Replace; - %feature("autodoc", "Replace the child animation. - + %feature("autodoc", " Parameters ---------- theAnimationOld: AIS_Animation theAnimationNew: AIS_Animation -Returns +Return ------- bool + +Description +----------- +Replace the child animation. ") Replace; Standard_Boolean Replace(const opencascade::handle & theAnimationOld, const opencascade::handle & theAnimationNew); - /****************** SetOwnDuration ******************/ - /**** md5 signature: 93e15a8bd1da9298f6befc23307f6a81 ****/ + /****** AIS_Animation::SetOwnDuration ******/ + /****** md5 signature: 93e15a8bd1da9298f6befc23307f6a81 ******/ %feature("compactdefaultargs") SetOwnDuration; - %feature("autodoc", "Defines duration of the animation. - + %feature("autodoc", " Parameters ---------- theDuration: float -Returns +Return ------- None + +Description +----------- +Defines duration of the animation. ") SetOwnDuration; void SetOwnDuration(const Standard_Real theDuration); - /****************** SetStartPts ******************/ - /**** md5 signature: 564ab9fb556b377ff791cc01be87d894 ****/ + /****** AIS_Animation::SetStartPts ******/ + /****** md5 signature: 564ab9fb556b377ff791cc01be87d894 ******/ %feature("compactdefaultargs") SetStartPts; - %feature("autodoc", "Sets time limits for animation in the animation timeline. - + %feature("autodoc", " Parameters ---------- thePtsStart: float -Returns +Return ------- None + +Description +----------- +Sets time limits for animation in the animation timeline. ") SetStartPts; void SetStartPts(const Standard_Real thePtsStart); - /****************** Start ******************/ - /**** md5 signature: f879b7bb1d28c81e7848195df5536432 ****/ - %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. + /****** AIS_Animation::SetTimer ******/ + /****** md5 signature: bc8c37bcd5d705b0ef533ab6789205d2 ******/ + %feature("compactdefaultargs") SetTimer; + %feature("autodoc", " +Parameters +---------- +theTimer: Media_Timer + +Return +------- +None +Description +----------- +Set playback timer. +") SetTimer; + void SetTimer(const opencascade::handle & theTimer); + + /****** AIS_Animation::Start ******/ + /****** md5 signature: f879b7bb1d28c81e7848195df5536432 ******/ + %feature("compactdefaultargs") Start; + %feature("autodoc", " Parameters ---------- theToUpdate: bool -Returns +Return ------- None + +Description +----------- +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. +Parameter theToUpdate call Update() method. ") Start; virtual void Start(const Standard_Boolean theToUpdate); - /****************** StartPts ******************/ - /**** md5 signature: a0076f268b996d9d8cca8f5b92fd5c71 ****/ + /****** AIS_Animation::StartPts ******/ + /****** md5 signature: a0076f268b996d9d8cca8f5b92fd5c71 ******/ %feature("compactdefaultargs") StartPts; - %feature("autodoc", "Returns start time of the animation in the timeline. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Return: start time of the animation in the timeline. ") StartPts; Standard_Real StartPts(); - /****************** StartTimer ******************/ - /**** md5 signature: 0f7c28567a9543eb78614de7c427983a ****/ + /****** AIS_Animation::StartTimer ******/ + /****** md5 signature: 0f7c28567a9543eb78614de7c427983a ******/ %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. - + %feature("autodoc", " Parameters ---------- theStartPts: float thePlaySpeed: float theToUpdate: bool -theToStopTimer: bool,optional - default value is Standard_False +theToStopTimer: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +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. //! +Parameter theStartPts starting timer position (presentation timestamp) +Parameter thePlaySpeed playback speed (1.0 means normal speed) +Parameter theToUpdate flag to update defined animations to specified start position +Parameter theToStopTimer flag to pause timer at the starting position. ") StartTimer; virtual void StartTimer(const Standard_Real theStartPts, const Standard_Real thePlaySpeed, const Standard_Boolean theToUpdate, const Standard_Boolean theToStopTimer = Standard_False); - /****************** Stop ******************/ - /**** md5 signature: e7291f237a00cfa5edd0b11c2d39a866 ****/ + /****** AIS_Animation::Stop ******/ + /****** md5 signature: e7291f237a00cfa5edd0b11c2d39a866 ******/ %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. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +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. ") Stop; virtual void Stop(); - /****************** Update ******************/ - /**** md5 signature: 3cb3b333871faa76cde54e56cbc9a277 ****/ - %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. + /****** AIS_Animation::Timer ******/ + /****** md5 signature: 5e95b895bb505401280421403e4d0404 ******/ + %feature("compactdefaultargs") Timer; + %feature("autodoc", "Return +------- +opencascade::handle + +Description +----------- +Return playback timer. +") Timer; + const opencascade::handle & Timer(); + /****** AIS_Animation::Update ******/ + /****** md5 signature: 3cb3b333871faa76cde54e56cbc9a277 ******/ + %feature("compactdefaultargs") Update; + %feature("autodoc", " Parameters ---------- thePts: float -Returns +Return ------- bool + +Description +----------- +Update single frame of animation, update timer state +Input parameter: thePts the time moment within [0; Duration()] +Return: True if timeline is in progress. ") Update; virtual Standard_Boolean Update(const Standard_Real thePts); - /****************** UpdateTimer ******************/ - /**** md5 signature: e7ae9d2b64379352e7169b97fceb8f0b ****/ + /****** AIS_Animation::UpdateTimer ******/ + /****** md5 signature: e7ae9d2b64379352e7169b97fceb8f0b ******/ %feature("compactdefaultargs") UpdateTimer; - %feature("autodoc", "Update single frame of animation, update timer state returns current time of timeline progress. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Update single frame of animation, update timer state +Return: current time of timeline progress. ") UpdateTimer; virtual Standard_Real UpdateTimer(); - /****************** UpdateTotalDuration ******************/ - /**** md5 signature: 93617e806beabddc226ac7dfb7d23e8a ****/ + /****** AIS_Animation::UpdateTotalDuration ******/ + /****** md5 signature: 93617e806beabddc226ac7dfb7d23e8a ******/ %feature("compactdefaultargs") UpdateTotalDuration; - %feature("autodoc", "Update total duration considering all animations on timeline. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Update total duration considering all animations on timeline. ") UpdateTotalDuration; void UpdateTotalDuration(); @@ -1032,17 +1110,16 @@ None ******************************/ class AIS_AnimationProgress { public: - float Pts; - float LocalPts; - float LocalNormalized; - /****************** AIS_AnimationProgress ******************/ - /**** md5 signature: 9e9e671b9cf6b1f96915c177eaaa8cf0 ****/ + /****** AIS_AnimationProgress::AIS_AnimationProgress ******/ + /****** md5 signature: 9e9e671b9cf6b1f96915c177eaaa8cf0 ******/ %feature("compactdefaultargs") AIS_AnimationProgress; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") AIS_AnimationProgress; AIS_AnimationProgress(); @@ -1060,133 +1137,158 @@ None ****************************/ class AIS_AttributeFilter : public SelectMgr_Filter { public: - /****************** AIS_AttributeFilter ******************/ - /**** md5 signature: efd1db0583fe2307eee29a09c901762e ****/ + /****** AIS_AttributeFilter::AIS_AttributeFilter ******/ + /****** md5 signature: efd1db0583fe2307eee29a09c901762e ******/ %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. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Constructs an empty attribute filter object. This filter object determines whether selectable interactive objects have a non-null owner. ") AIS_AttributeFilter; AIS_AttributeFilter(); - /****************** AIS_AttributeFilter ******************/ - /**** md5 signature: c9cdc1fdd6f2484c93f120e29d61460e ****/ + /****** AIS_AttributeFilter::AIS_AttributeFilter ******/ + /****** md5 signature: c9cdc1fdd6f2484c93f120e29d61460e ******/ %feature("compactdefaultargs") AIS_AttributeFilter; - %feature("autodoc", "Constructs an attribute filter object defined by the color attribute acol. - + %feature("autodoc", " Parameters ---------- aCol: Quantity_NameOfColor -Returns +Return ------- None + +Description +----------- +Constructs an attribute filter object defined by the color attribute aCol. ") AIS_AttributeFilter; AIS_AttributeFilter(const Quantity_NameOfColor aCol); - /****************** AIS_AttributeFilter ******************/ - /**** md5 signature: 2972c55c086814240c46ab438e47b674 ****/ + /****** AIS_AttributeFilter::AIS_AttributeFilter ******/ + /****** md5 signature: 2972c55c086814240c46ab438e47b674 ******/ %feature("compactdefaultargs") AIS_AttributeFilter; - %feature("autodoc", "Constructs an attribute filter object defined by the line width attribute awidth. - + %feature("autodoc", " Parameters ---------- aWidth: float -Returns +Return ------- None + +Description +----------- +Constructs an attribute filter object defined by the line width attribute aWidth. ") AIS_AttributeFilter; AIS_AttributeFilter(const Standard_Real aWidth); - /****************** HasColor ******************/ - /**** md5 signature: a769345684f55d228a3a0773ed253c2e ****/ + /****** AIS_AttributeFilter::HasColor ******/ + /****** md5 signature: f14084fe0c7674324d105b06cc1ff5b4 ******/ %feature("compactdefaultargs") HasColor; - %feature("autodoc", "Indicates that the interactive object has the color setting specified by the argument acol at construction time. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Indicates that the Interactive Object has the color setting specified by the argument aCol at construction time. ") HasColor; Standard_Boolean HasColor(); - /****************** HasWidth ******************/ - /**** md5 signature: adf8ad0ef06bcc936459a8354657697e ****/ + /****** AIS_AttributeFilter::HasWidth ******/ + /****** md5 signature: 93af72110529b1e94c6797d09cd35e15 ******/ %feature("compactdefaultargs") HasWidth; - %feature("autodoc", "Indicates that the interactive object has the width setting specified by the argument awidth at construction time. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Indicates that the Interactive Object has the width setting specified by the argument aWidth at construction time. ") HasWidth; Standard_Boolean HasWidth(); - /****************** IsOk ******************/ - /**** md5 signature: 30e74b6ea22a70db5324b6f796325694 ****/ + /****** AIS_AttributeFilter::IsOk ******/ + /****** md5 signature: 30e74b6ea22a70db5324b6f796325694 ******/ %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. - + %feature("autodoc", " Parameters ---------- anObj: SelectMgr_EntityOwner -Returns +Return ------- bool + +Description +----------- +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. ") IsOk; virtual Standard_Boolean IsOk(const opencascade::handle & anObj); - /****************** SetColor ******************/ - /**** md5 signature: a5a89259e3fdf177522ec6a45eb6b08d ****/ + /****** AIS_AttributeFilter::SetColor ******/ + /****** md5 signature: 9860b6e19b23fad901e24b0cb7a0be30 ******/ %feature("compactdefaultargs") SetColor; - %feature("autodoc", "Sets the color acol. this must be chosen from the list of colors in quantity_nameofcolor. - + %feature("autodoc", " Parameters ---------- -aCol: Quantity_NameOfColor +theCol: Quantity_NameOfColor -Returns +Return ------- None + +Description +----------- +Sets the color. ") SetColor; - void SetColor(const Quantity_NameOfColor aCol); + void SetColor(const Quantity_NameOfColor theCol); - /****************** SetWidth ******************/ - /**** md5 signature: 241a01ddb40e85ceaaa56807348390c6 ****/ + /****** AIS_AttributeFilter::SetWidth ******/ + /****** md5 signature: a388bd43f011bc773d8da404945719b5 ******/ %feature("compactdefaultargs") SetWidth; - %feature("autodoc", "Sets the line width awidth. - + %feature("autodoc", " Parameters ---------- -aWidth: float +theWidth: float -Returns +Return ------- None + +Description +----------- +Sets the line width. ") SetWidth; - void SetWidth(const Standard_Real aWidth); + void SetWidth(const Standard_Real theWidth); - /****************** UnsetColor ******************/ - /**** md5 signature: 188f0bfeebabf5f6612a608155ee828e ****/ + /****** AIS_AttributeFilter::UnsetColor ******/ + /****** md5 signature: 6e328a6dea703ee08923d991dc618e9a ******/ %feature("compactdefaultargs") UnsetColor; - %feature("autodoc", "Removes the setting for color from the filter. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Removes the setting for color from the filter. ") UnsetColor; void UnsetColor(); - /****************** UnsetWidth ******************/ - /**** md5 signature: 18cdd810cf848c52cf981cc677405046 ****/ + /****** AIS_AttributeFilter::UnsetWidth ******/ + /****** md5 signature: 4be8fdb1e151f0a55dae0f7e3762ce2f ******/ %feature("compactdefaultargs") UnsetWidth; - %feature("autodoc", "Removes the setting for width from the filter. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Removes the setting for width from the filter. ") UnsetWidth; void UnsetWidth(); @@ -1206,90 +1308,107 @@ None **************************/ class AIS_BadEdgeFilter : public SelectMgr_Filter { public: - /****************** AIS_BadEdgeFilter ******************/ - /**** md5 signature: c4f845eb6fba1f43aff9d06bfb985213 ****/ + /****** AIS_BadEdgeFilter::AIS_BadEdgeFilter ******/ + /****** md5 signature: c4f845eb6fba1f43aff9d06bfb985213 ******/ %feature("compactdefaultargs") AIS_BadEdgeFilter; - %feature("autodoc", "Constructs an empty filter object for bad edges. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Constructs an empty filter object for bad edges. ") AIS_BadEdgeFilter; AIS_BadEdgeFilter(); - /****************** ActsOn ******************/ - /**** md5 signature: 202566b6d5f020366514ab01472c39b8 ****/ + /****** AIS_BadEdgeFilter::ActsOn ******/ + /****** md5 signature: 202566b6d5f020366514ab01472c39b8 ******/ %feature("compactdefaultargs") ActsOn; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- aType: TopAbs_ShapeEnum -Returns +Return ------- bool + +Description +----------- +No available documentation. ") ActsOn; virtual Standard_Boolean ActsOn(const TopAbs_ShapeEnum aType); - /****************** AddEdge ******************/ - /**** md5 signature: 934c4e49a2ab432fcd7f7080aefadb3d ****/ + /****** AIS_BadEdgeFilter::AddEdge ******/ + /****** md5 signature: 934c4e49a2ab432fcd7f7080aefadb3d ******/ %feature("compactdefaultargs") AddEdge; - %feature("autodoc", "Adds an edge to the list of non-selectionnable edges. - + %feature("autodoc", " Parameters ---------- anEdge: TopoDS_Edge Index: int -Returns +Return ------- None + +Description +----------- +Adds an edge to the list of non-selectionnable edges. ") AddEdge; void AddEdge(const TopoDS_Edge & anEdge, const Standard_Integer Index); - /****************** IsOk ******************/ - /**** md5 signature: c2526a31eda69e8f1f4f826cf18212d8 ****/ + /****** AIS_BadEdgeFilter::IsOk ******/ + /****** md5 signature: c2526a31eda69e8f1f4f826cf18212d8 ******/ %feature("compactdefaultargs") IsOk; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- EO: SelectMgr_EntityOwner -Returns +Return ------- bool + +Description +----------- +No available documentation. ") IsOk; virtual Standard_Boolean IsOk(const opencascade::handle & EO); - /****************** RemoveEdges ******************/ - /**** md5 signature: 63ed789acf308eb7c7b33128e1a1dc4b ****/ + /****** AIS_BadEdgeFilter::RemoveEdges ******/ + /****** md5 signature: 63ed789acf308eb7c7b33128e1a1dc4b ******/ %feature("compactdefaultargs") RemoveEdges; - %feature("autodoc", "Removes from the list of non-selectionnable edges all edges in the contour . - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- None + +Description +----------- +removes from the list of non-selectionnable edges all edges in the contour . ") RemoveEdges; void RemoveEdges(const Standard_Integer Index); - /****************** SetContour ******************/ - /**** md5 signature: 5b04583b1eb841d44ea72ab6bd645066 ****/ + /****** AIS_BadEdgeFilter::SetContour ******/ + /****** md5 signature: 5b04583b1eb841d44ea72ab6bd645066 ******/ %feature("compactdefaultargs") SetContour; - %feature("autodoc", "Sets with current contour. used by isok. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- None + +Description +----------- +sets with current contour. used by IsOk. ") SetContour; void SetContour(const Standard_Integer Index); @@ -1309,48 +1428,57 @@ None *******************************/ class AIS_C0RegularityFilter : public SelectMgr_Filter { public: - /****************** AIS_C0RegularityFilter ******************/ - /**** md5 signature: 3cbcdfd2403fe0204a455ddc08350f99 ****/ + /****** AIS_C0RegularityFilter::AIS_C0RegularityFilter ******/ + /****** md5 signature: 3cbcdfd2403fe0204a455ddc08350f99 ******/ %feature("compactdefaultargs") AIS_C0RegularityFilter; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- aShape: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +No available documentation. ") AIS_C0RegularityFilter; AIS_C0RegularityFilter(const TopoDS_Shape & aShape); - /****************** ActsOn ******************/ - /**** md5 signature: 202566b6d5f020366514ab01472c39b8 ****/ + /****** AIS_C0RegularityFilter::ActsOn ******/ + /****** md5 signature: 202566b6d5f020366514ab01472c39b8 ******/ %feature("compactdefaultargs") ActsOn; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- aType: TopAbs_ShapeEnum -Returns +Return ------- bool + +Description +----------- +No available documentation. ") ActsOn; virtual Standard_Boolean ActsOn(const TopAbs_ShapeEnum aType); - /****************** IsOk ******************/ - /**** md5 signature: c2526a31eda69e8f1f4f826cf18212d8 ****/ + /****** AIS_C0RegularityFilter::IsOk ******/ + /****** md5 signature: c2526a31eda69e8f1f4f826cf18212d8 ******/ %feature("compactdefaultargs") IsOk; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- EO: SelectMgr_EntityOwner -Returns +Return ------- bool + +Description +----------- +No available documentation. ") IsOk; virtual Standard_Boolean IsOk(const opencascade::handle & EO); @@ -1370,193 +1498,223 @@ bool **************************/ class AIS_ColoredDrawer : public Prs3d_Drawer { public: - bool myIsHidden; - bool myHasOwnMaterial; - bool myHasOwnColor; - bool myHasOwnTransp; - bool myHasOwnWidth; - /****************** AIS_ColoredDrawer ******************/ - /**** md5 signature: fb206bfbdf2e0955a791e7882ddd0a6d ****/ + /****** AIS_ColoredDrawer::AIS_ColoredDrawer ******/ + /****** md5 signature: fb206bfbdf2e0955a791e7882ddd0a6d ******/ %feature("compactdefaultargs") AIS_ColoredDrawer; - %feature("autodoc", "Default constructor. - + %feature("autodoc", " Parameters ---------- theLink: Prs3d_Drawer -Returns +Return ------- None + +Description +----------- +Default constructor. ") AIS_ColoredDrawer; AIS_ColoredDrawer(const opencascade::handle & theLink); - /****************** HasOwnColor ******************/ - /**** md5 signature: c1d7c3268c360a84f320795d404c0b59 ****/ + /****** AIS_ColoredDrawer::HasOwnColor ******/ + /****** md5 signature: c1d7c3268c360a84f320795d404c0b59 ******/ %feature("compactdefaultargs") HasOwnColor; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") HasOwnColor; bool HasOwnColor(); - /****************** HasOwnMaterial ******************/ - /**** md5 signature: d79080c087fc3592869db0ed508eafbc ****/ + /****** AIS_ColoredDrawer::HasOwnMaterial ******/ + /****** md5 signature: d79080c087fc3592869db0ed508eafbc ******/ %feature("compactdefaultargs") HasOwnMaterial; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") HasOwnMaterial; bool HasOwnMaterial(); - /****************** HasOwnTransparency ******************/ - /**** md5 signature: bfa958c2a81028d8551656b0f415f2b7 ****/ + /****** AIS_ColoredDrawer::HasOwnTransparency ******/ + /****** md5 signature: bfa958c2a81028d8551656b0f415f2b7 ******/ %feature("compactdefaultargs") HasOwnTransparency; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") HasOwnTransparency; bool HasOwnTransparency(); - /****************** HasOwnWidth ******************/ - /**** md5 signature: 9f80b7b4536e979a5ec2d9011e0b5ad9 ****/ + /****** AIS_ColoredDrawer::HasOwnWidth ******/ + /****** md5 signature: 9f80b7b4536e979a5ec2d9011e0b5ad9 ******/ %feature("compactdefaultargs") HasOwnWidth; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") HasOwnWidth; bool HasOwnWidth(); - /****************** IsHidden ******************/ - /**** md5 signature: 488685d602cd739d12ad12a5304d7b3e ****/ + /****** AIS_ColoredDrawer::IsHidden ******/ + /****** md5 signature: 488685d602cd739d12ad12a5304d7b3e ******/ %feature("compactdefaultargs") IsHidden; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsHidden; bool IsHidden(); - /****************** SetHidden ******************/ - /**** md5 signature: b8fd4d1df359caf57cb2042980fb02f6 ****/ + /****** AIS_ColoredDrawer::SetHidden ******/ + /****** md5 signature: b8fd4d1df359caf57cb2042980fb02f6 ******/ %feature("compactdefaultargs") SetHidden; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theToHide: bool -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetHidden; void SetHidden(const bool theToHide); - /****************** SetOwnColor ******************/ - /**** md5 signature: 907a5bceace779e32277c3a1c2939792 ****/ + /****** AIS_ColoredDrawer::SetOwnColor ******/ + /****** md5 signature: 907a5bceace779e32277c3a1c2939792 ******/ %feature("compactdefaultargs") SetOwnColor; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- &: Quantity_Color -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetOwnColor; void SetOwnColor(const Quantity_Color &); - /****************** SetOwnMaterial ******************/ - /**** md5 signature: a9d55f286f01e4a30605f50143bdaada ****/ + /****** AIS_ColoredDrawer::SetOwnMaterial ******/ + /****** md5 signature: a9d55f286f01e4a30605f50143bdaada ******/ %feature("compactdefaultargs") SetOwnMaterial; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") SetOwnMaterial; void SetOwnMaterial(); - /****************** SetOwnTransparency ******************/ - /**** md5 signature: 785e1eb625a3adf8c2d0a175272d25b2 ****/ + /****** AIS_ColoredDrawer::SetOwnTransparency ******/ + /****** md5 signature: 785e1eb625a3adf8c2d0a175272d25b2 ******/ %feature("compactdefaultargs") SetOwnTransparency; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- : float -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetOwnTransparency; void SetOwnTransparency(Standard_Real ); - /****************** SetOwnWidth ******************/ - /**** md5 signature: b905349cdb9aa07ebf24fb1890debcd1 ****/ + /****** AIS_ColoredDrawer::SetOwnWidth ******/ + /****** md5 signature: b905349cdb9aa07ebf24fb1890debcd1 ******/ %feature("compactdefaultargs") SetOwnWidth; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Standard_Real: -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetOwnWidth; void SetOwnWidth(const Standard_Real); - /****************** UnsetOwnColor ******************/ - /**** md5 signature: 99078fba8198e7c264e3446bab64edc2 ****/ + /****** AIS_ColoredDrawer::UnsetOwnColor ******/ + /****** md5 signature: 99078fba8198e7c264e3446bab64edc2 ******/ %feature("compactdefaultargs") UnsetOwnColor; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") UnsetOwnColor; void UnsetOwnColor(); - /****************** UnsetOwnMaterial ******************/ - /**** md5 signature: 51558ef8e8f82da5e88a74b4204850af ****/ + /****** AIS_ColoredDrawer::UnsetOwnMaterial ******/ + /****** md5 signature: 51558ef8e8f82da5e88a74b4204850af ******/ %feature("compactdefaultargs") UnsetOwnMaterial; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") UnsetOwnMaterial; void UnsetOwnMaterial(); - /****************** UnsetOwnTransparency ******************/ - /**** md5 signature: 5d88cb3910be04c91a3ef80818d3b464 ****/ + /****** AIS_ColoredDrawer::UnsetOwnTransparency ******/ + /****** md5 signature: 5d88cb3910be04c91a3ef80818d3b464 ******/ %feature("compactdefaultargs") UnsetOwnTransparency; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") UnsetOwnTransparency; void UnsetOwnTransparency(); - /****************** UnsetOwnWidth ******************/ - /**** md5 signature: 9ab1ef7846eb1ab8ad2a68a36ac92341 ****/ + /****** AIS_ColoredDrawer::UnsetOwnWidth ******/ + /****** md5 signature: 9ab1ef7846eb1ab8ad2a68a36ac92341 ******/ %feature("compactdefaultargs") UnsetOwnWidth; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") UnsetOwnWidth; void UnsetOwnWidth(); @@ -1576,216 +1734,253 @@ None ****************************/ class AIS_ExclusionFilter : public SelectMgr_Filter { public: - /****************** AIS_ExclusionFilter ******************/ - /**** md5 signature: 064ab98be3c73998d458415e488fecc1 ****/ + /****** AIS_ExclusionFilter::AIS_ExclusionFilter ******/ + /****** md5 signature: 064ab98be3c73998d458415e488fecc1 ******/ %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. - + %feature("autodoc", " Parameters ---------- -ExclusionFlagOn: bool,optional - default value is Standard_True +ExclusionFlagOn: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +Constructs an empty exclusion filter object defined by the flag setting ExclusionFlagOn. By default, the flag is set to true. ") AIS_ExclusionFilter; AIS_ExclusionFilter(const Standard_Boolean ExclusionFlagOn = Standard_True); - /****************** AIS_ExclusionFilter ******************/ - /**** md5 signature: 041d0ad3434583d0c04faf66f482809a ****/ + /****** AIS_ExclusionFilter::AIS_ExclusionFilter ******/ + /****** md5 signature: 041d0ad3434583d0c04faf66f482809a ******/ %feature("compactdefaultargs") AIS_ExclusionFilter; - %feature("autodoc", "All the ais objects of will be rejected by the isok method. - + %feature("autodoc", " Parameters ---------- TypeToExclude: AIS_KindOfInteractive -ExclusionFlagOn: bool,optional - default value is Standard_True +ExclusionFlagOn: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +All the AIS objects of Will be rejected by the IsOk Method. ") AIS_ExclusionFilter; AIS_ExclusionFilter(const AIS_KindOfInteractive TypeToExclude, const Standard_Boolean ExclusionFlagOn = Standard_True); - /****************** AIS_ExclusionFilter ******************/ - /**** md5 signature: cab18768b3cb1adf8f2ba0efbbe4421f ****/ + /****** AIS_ExclusionFilter::AIS_ExclusionFilter ******/ + /****** md5 signature: cab18768b3cb1adf8f2ba0efbbe4421f ******/ %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. - + %feature("autodoc", " Parameters ---------- TypeToExclude: AIS_KindOfInteractive SignatureInType: int -ExclusionFlagOn: bool,optional - default value is Standard_True +ExclusionFlagOn: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +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. ") AIS_ExclusionFilter; AIS_ExclusionFilter(const AIS_KindOfInteractive TypeToExclude, const Standard_Integer SignatureInType, const Standard_Boolean ExclusionFlagOn = Standard_True); - /****************** Add ******************/ - /**** md5 signature: 085fb35c1492d2f8b4750399435d1aa2 ****/ + /****** AIS_ExclusionFilter::Add ******/ + /****** md5 signature: 085fb35c1492d2f8b4750399435d1aa2 ******/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Adds the type typetoexclude to the list of types. - + %feature("autodoc", " Parameters ---------- TypeToExclude: AIS_KindOfInteractive -Returns +Return ------- bool + +Description +----------- +Adds the type TypeToExclude to the list of types. ") Add; Standard_Boolean Add(const AIS_KindOfInteractive TypeToExclude); - /****************** Add ******************/ - /**** md5 signature: 86fefe7809855d68a55a9dc4b6decc4f ****/ + /****** AIS_ExclusionFilter::Add ******/ + /****** md5 signature: 86fefe7809855d68a55a9dc4b6decc4f ******/ %feature("compactdefaultargs") Add; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- TypeToExclude: AIS_KindOfInteractive SignatureInType: int -Returns +Return ------- bool + +Description +----------- +No available documentation. ") Add; Standard_Boolean Add(const AIS_KindOfInteractive TypeToExclude, const Standard_Integer SignatureInType); - /****************** Clear ******************/ - /**** md5 signature: ae54be580b423a6eadbe062e0bdb44c2 ****/ + /****** AIS_ExclusionFilter::Clear ******/ + /****** md5 signature: ae54be580b423a6eadbe062e0bdb44c2 ******/ %feature("compactdefaultargs") Clear; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") Clear; void Clear(); - /****************** IsExclusionFlagOn ******************/ - /**** md5 signature: 7fe88450ac84eb6aa148073340c9bce3 ****/ + /****** AIS_ExclusionFilter::IsExclusionFlagOn ******/ + /****** md5 signature: 8ca18384ba58f8732ba66b57719f07bf ******/ %feature("compactdefaultargs") IsExclusionFlagOn; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsExclusionFlagOn; Standard_Boolean IsExclusionFlagOn(); - /****************** IsOk ******************/ - /**** md5 signature: 30e74b6ea22a70db5324b6f796325694 ****/ + /****** AIS_ExclusionFilter::IsOk ******/ + /****** md5 signature: 30e74b6ea22a70db5324b6f796325694 ******/ %feature("compactdefaultargs") IsOk; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- anObj: SelectMgr_EntityOwner -Returns +Return ------- bool + +Description +----------- +No available documentation. ") IsOk; virtual Standard_Boolean IsOk(const opencascade::handle & anObj); - /****************** IsStored ******************/ - /**** md5 signature: bba870e74cc49817d7f7c8757cf54a8c ****/ + /****** AIS_ExclusionFilter::IsStored ******/ + /****** md5 signature: bba870e74cc49817d7f7c8757cf54a8c ******/ %feature("compactdefaultargs") IsStored; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- aType: AIS_KindOfInteractive -Returns +Return ------- bool + +Description +----------- +No available documentation. ") IsStored; Standard_Boolean IsStored(const AIS_KindOfInteractive aType); - /****************** ListOfSignature ******************/ - /**** md5 signature: 1a8fa99abcbb240a3c0dc243f15bff18 ****/ + /****** AIS_ExclusionFilter::ListOfSignature ******/ + /****** md5 signature: 1a8fa99abcbb240a3c0dc243f15bff18 ******/ %feature("compactdefaultargs") ListOfSignature; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- aType: AIS_KindOfInteractive TheStoredList: TColStd_ListOfInteger -Returns +Return ------- None + +Description +----------- +No available documentation. ") ListOfSignature; void ListOfSignature(const AIS_KindOfInteractive aType, TColStd_ListOfInteger & TheStoredList); - /****************** ListOfStoredTypes ******************/ - /**** md5 signature: 69d6ce3a47052a79b0d237bd773c8583 ****/ + /****** AIS_ExclusionFilter::ListOfStoredTypes ******/ + /****** md5 signature: 69d6ce3a47052a79b0d237bd773c8583 ******/ %feature("compactdefaultargs") ListOfStoredTypes; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- TheList: TColStd_ListOfInteger -Returns +Return ------- None + +Description +----------- +No available documentation. ") ListOfStoredTypes; void ListOfStoredTypes(TColStd_ListOfInteger & TheList); - /****************** Remove ******************/ - /**** md5 signature: 111f2ac32b46afb3d773732ee38ca94a ****/ + /****** AIS_ExclusionFilter::Remove ******/ + /****** md5 signature: 111f2ac32b46afb3d773732ee38ca94a ******/ %feature("compactdefaultargs") Remove; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- TypeToExclude: AIS_KindOfInteractive -Returns +Return ------- bool + +Description +----------- +No available documentation. ") Remove; Standard_Boolean Remove(const AIS_KindOfInteractive TypeToExclude); - /****************** Remove ******************/ - /**** md5 signature: a6c8969a5b4d28109160b0ea4cf45f3d ****/ + /****** AIS_ExclusionFilter::Remove ******/ + /****** md5 signature: a6c8969a5b4d28109160b0ea4cf45f3d ******/ %feature("compactdefaultargs") Remove; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- TypeToExclude: AIS_KindOfInteractive SignatureInType: int -Returns +Return ------- bool + +Description +----------- +No available documentation. ") Remove; Standard_Boolean Remove(const AIS_KindOfInteractive TypeToExclude, const Standard_Integer SignatureInType); - /****************** SetExclusionFlag ******************/ - /**** md5 signature: 776a282b6c6b3f5c2639bb6c16791d22 ****/ + /****** AIS_ExclusionFilter::SetExclusionFlag ******/ + /****** md5 signature: f2397263f584a343e57fbb29cc64b0e6 ******/ %feature("compactdefaultargs") SetExclusionFlag; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Status: bool +theStatus: bool -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetExclusionFlag; - void SetExclusionFlag(const Standard_Boolean Status); + void SetExclusionFlag(const Standard_Boolean theStatus); }; @@ -1803,267 +1998,222 @@ None *************************/ class AIS_GlobalStatus : public Standard_Transient { public: - /****************** AIS_GlobalStatus ******************/ - /**** md5 signature: 9c56844364db5c947daf28e63bef42e2 ****/ + /****** AIS_GlobalStatus::AIS_GlobalStatus ******/ + /****** md5 signature: 9c56844364db5c947daf28e63bef42e2 ******/ %feature("compactdefaultargs") AIS_GlobalStatus; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None -") AIS_GlobalStatus; - AIS_GlobalStatus(); - - /****************** AIS_GlobalStatus ******************/ - /**** md5 signature: 23cd32a350a0cbde82da5192eb9c1991 ****/ - %feature("compactdefaultargs") AIS_GlobalStatus; - %feature("autodoc", "No available documentation. - -Parameters ----------- -aStat: AIS_DisplayStatus -aDispMode: int -aSelMode: int -ishilighted: bool,optional - default value is Standard_False -aLayerIndex: int,optional - default value is 0 -Returns -------- -None +Description +----------- +Default constructor. ") 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); + AIS_GlobalStatus(); - /****************** AddSelectionMode ******************/ - /**** md5 signature: 8d521f67bc72d54c9e4e290d83d68ddc ****/ + /****** AIS_GlobalStatus::AddSelectionMode ******/ + /****** md5 signature: fc8df9157b3ed8a48caafbee5c741526 ******/ %feature("compactdefaultargs") AddSelectionMode; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theMode: int -Returns +Return ------- -None +bool + +Description +----------- +Add selection mode. ") AddSelectionMode; - void AddSelectionMode(const Standard_Integer theMode); + Standard_Boolean AddSelectionMode(const Standard_Integer theMode); - /****************** ClearSelectionModes ******************/ - /**** md5 signature: fd12a734ed1c8100ef06c89abfda31a4 ****/ + /****** AIS_GlobalStatus::ClearSelectionModes ******/ + /****** md5 signature: 239a6fa95794aa4d619474ae09fc6c8d ******/ %feature("compactdefaultargs") ClearSelectionModes; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Remove all selection modes. ") ClearSelectionModes; void ClearSelectionModes(); - /****************** DisplayMode ******************/ - /**** md5 signature: 87ab8eae5ccb1d4f4dfd02dc34d6febc ****/ + /****** AIS_GlobalStatus::DisplayMode ******/ + /****** md5 signature: 87ab8eae5ccb1d4f4dfd02dc34d6febc ******/ %feature("compactdefaultargs") DisplayMode; - %feature("autodoc", "Returns the display mode. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns the display mode. ") DisplayMode; Standard_Integer DisplayMode(); - /****************** GetLayerIndex ******************/ - /**** md5 signature: 7b96c91f5523916797eb6286445c0e6e ****/ - %feature("compactdefaultargs") GetLayerIndex; - %feature("autodoc", "Returns layer index. - -Returns -------- -int -") GetLayerIndex; - Standard_Integer GetLayerIndex(); - - /****************** GraphicStatus ******************/ - /**** md5 signature: ff5a84cfe20daa40af44f9889fc706ce ****/ - %feature("compactdefaultargs") GraphicStatus; - %feature("autodoc", "No available documentation. - -Returns -------- -AIS_DisplayStatus -") GraphicStatus; - AIS_DisplayStatus GraphicStatus(); - - /****************** HilightStyle ******************/ - /**** md5 signature: d17b0472c23cb74e2e63d1233b6a1355 ****/ + /****** AIS_GlobalStatus::HilightStyle ******/ + /****** md5 signature: d17b0472c23cb74e2e63d1233b6a1355 ******/ %feature("compactdefaultargs") HilightStyle; - %feature("autodoc", "Returns applied highlight style for a particular object. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns applied highlight style for a particular object. ") HilightStyle; const opencascade::handle & HilightStyle(); - /****************** IsHilighted ******************/ - /**** md5 signature: 35d1f91e445f37fcfd3bf419bad32f49 ****/ + /****** AIS_GlobalStatus::IsHilighted ******/ + /****** md5 signature: 35d1f91e445f37fcfd3bf419bad32f49 ******/ %feature("compactdefaultargs") IsHilighted; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns True if object is highlighted. ") IsHilighted; Standard_Boolean IsHilighted(); - /****************** IsSModeIn ******************/ - /**** md5 signature: ccf0fb36f839d3f90dd25d57ef7c634b ****/ + /****** AIS_GlobalStatus::IsSModeIn ******/ + /****** md5 signature: a53322586bcace0ddb4fe2232b3482bf ******/ %feature("compactdefaultargs") IsSModeIn; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -aMode: int +theMode: int -Returns +Return ------- bool + +Description +----------- +Return True if selection mode was registered. ") IsSModeIn; - Standard_Boolean IsSModeIn(const Standard_Integer aMode); + Standard_Boolean IsSModeIn(Standard_Integer theMode); - /****************** IsSubIntensityOn ******************/ - /**** md5 signature: 1df00a9c06ea8c4f5d73e211efb2c1c6 ****/ + /****** AIS_GlobalStatus::IsSubIntensityOn ******/ + /****** md5 signature: 1df00a9c06ea8c4f5d73e211efb2c1c6 ******/ %feature("compactdefaultargs") IsSubIntensityOn; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsSubIntensityOn; Standard_Boolean IsSubIntensityOn(); - /****************** RemoveSelectionMode ******************/ - /**** md5 signature: a6d4cc7f4184138d0c1e3aad4be138ba ****/ + /****** AIS_GlobalStatus::RemoveSelectionMode ******/ + /****** md5 signature: 80e1091c3c87bf86bc5b1fb90ac0860e ******/ %feature("compactdefaultargs") RemoveSelectionMode; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -aMode: int +theMode: int -Returns +Return ------- -None +bool + +Description +----------- +Remove selection mode. ") RemoveSelectionMode; - void RemoveSelectionMode(const Standard_Integer aMode); + Standard_Boolean RemoveSelectionMode(const Standard_Integer theMode); - /****************** SelectionModes ******************/ - /**** md5 signature: 908d50ed59833e1e3d8eb3eb90d6ad2c ****/ + /****** AIS_GlobalStatus::SelectionModes ******/ + /****** md5 signature: 908d50ed59833e1e3d8eb3eb90d6ad2c ******/ %feature("compactdefaultargs") SelectionModes; - %feature("autodoc", "Keeps the active selection modes of the object in the main viewer. - -Returns + %feature("autodoc", "Return ------- TColStd_ListOfInteger + +Description +----------- +Returns active selection modes of the object. ") SelectionModes; const TColStd_ListOfInteger & SelectionModes(); - /****************** SetDisplayMode ******************/ - /**** md5 signature: 2a99a6840fca4af1fbc5cc91ac2d554d ****/ + /****** AIS_GlobalStatus::SetDisplayMode ******/ + /****** md5 signature: 2a99a6840fca4af1fbc5cc91ac2d554d ******/ %feature("compactdefaultargs") SetDisplayMode; - %feature("autodoc", "Sets display mode. - + %feature("autodoc", " Parameters ---------- theMode: int -Returns +Return ------- None + +Description +----------- +Sets display mode. ") SetDisplayMode; void SetDisplayMode(const Standard_Integer theMode); - /****************** SetGraphicStatus ******************/ - /**** md5 signature: 3f1e04531cd7e5ad848d7dcea1cf9460 ****/ - %feature("compactdefaultargs") SetGraphicStatus; - %feature("autodoc", "No available documentation. - -Parameters ----------- -theStatus: AIS_DisplayStatus - -Returns -------- -None -") SetGraphicStatus; - void SetGraphicStatus(const AIS_DisplayStatus theStatus); - - /****************** SetHilightStatus ******************/ - /**** md5 signature: 32df1cc3cd232c4fb69f8546f990eb32 ****/ + /****** AIS_GlobalStatus::SetHilightStatus ******/ + /****** md5 signature: 32df1cc3cd232c4fb69f8546f990eb32 ******/ %feature("compactdefaultargs") SetHilightStatus; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theStatus: bool -Returns +Return ------- None + +Description +----------- +Sets highlighted state. ") SetHilightStatus; void SetHilightStatus(const Standard_Boolean theStatus); - /****************** SetHilightStyle ******************/ - /**** md5 signature: f245d0c0a2ce5f6a233e75a326f80a8c ****/ + /****** AIS_GlobalStatus::SetHilightStyle ******/ + /****** md5 signature: f245d0c0a2ce5f6a233e75a326f80a8c ******/ %feature("compactdefaultargs") SetHilightStyle; - %feature("autodoc", "Changes applied highlight style for a particular object. - + %feature("autodoc", " Parameters ---------- theStyle: Prs3d_Drawer -Returns +Return ------- None + +Description +----------- +Changes applied highlight style for a particular object. ") SetHilightStyle; void SetHilightStyle(const opencascade::handle & theStyle); - /****************** SetLayerIndex ******************/ - /**** md5 signature: 6425d3c907faef916eed507feced557a ****/ - %feature("compactdefaultargs") SetLayerIndex; - %feature("autodoc", "No available documentation. - + /****** AIS_GlobalStatus::SetSubIntensity ******/ + /****** md5 signature: 0f4ba431b62fe5e0935797fe9323fda7 ******/ + %feature("compactdefaultargs") SetSubIntensity; + %feature("autodoc", " Parameters ---------- -theIndex: int - -Returns -------- -None -") SetLayerIndex; - void SetLayerIndex(const Standard_Integer theIndex); - - /****************** SubIntensityOff ******************/ - /**** md5 signature: 460a3dc0927cf1132fc4383a9c3f3e8a ****/ - %feature("compactdefaultargs") SubIntensityOff; - %feature("autodoc", "No available documentation. +theIsOn: bool -Returns +Return ------- None -") SubIntensityOff; - void SubIntensityOff(); - - /****************** SubIntensityOn ******************/ - /**** md5 signature: 35338134478596b5237bbe62411f8447 ****/ - %feature("compactdefaultargs") SubIntensityOn; - %feature("autodoc", "No available documentation. -Returns -------- -None -") SubIntensityOn; - void SubIntensityOn(); +Description +----------- +No available documentation. +") SetSubIntensity; + void SetSubIntensity(Standard_Boolean theIsOn); }; @@ -2081,132 +2231,156 @@ None ************************/ class AIS_GraphicTool { public: - /****************** GetInteriorColor ******************/ - /**** md5 signature: a09776a9369f9af7c09c13e0f002bccf ****/ + /****** AIS_GraphicTool::GetInteriorColor ******/ + /****** md5 signature: a09776a9369f9af7c09c13e0f002bccf ******/ %feature("compactdefaultargs") GetInteriorColor; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- aDrawer: Prs3d_Drawer -Returns +Return ------- Quantity_NameOfColor + +Description +----------- +No available documentation. ") GetInteriorColor; static Quantity_NameOfColor GetInteriorColor(const opencascade::handle & aDrawer); - /****************** GetInteriorColor ******************/ - /**** md5 signature: ca6ae445556055bebc087f7202929ccf ****/ + /****** AIS_GraphicTool::GetInteriorColor ******/ + /****** md5 signature: ca6ae445556055bebc087f7202929ccf ******/ %feature("compactdefaultargs") GetInteriorColor; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- aDrawer: Prs3d_Drawer aColor: Quantity_Color -Returns +Return ------- None + +Description +----------- +No available documentation. ") GetInteriorColor; static void GetInteriorColor(const opencascade::handle & aDrawer, Quantity_Color & aColor); - /****************** GetLineAtt ******************/ - /**** md5 signature: ff93797c6653dc188d33c3aa89713ee0 ****/ + /****** AIS_GraphicTool::GetLineAtt ******/ + /****** md5 signature: ff93797c6653dc188d33c3aa89713ee0 ******/ %feature("compactdefaultargs") GetLineAtt; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- aDrawer: Prs3d_Drawer TheTypeOfAttributes: AIS_TypeOfAttribute -aCol: Quantity_NameOfColor -aTyp: Aspect_TypeOfLine -Returns +Return ------- +aCol: Quantity_NameOfColor aWidth: float +aTyp: Aspect_TypeOfLine + +Description +----------- +No available documentation. ") GetLineAtt; - static void GetLineAtt(const opencascade::handle & aDrawer, const AIS_TypeOfAttribute TheTypeOfAttributes, Quantity_NameOfColor & aCol, Standard_Real &OutValue, Aspect_TypeOfLine & aTyp); + static void GetLineAtt(const opencascade::handle & aDrawer, const AIS_TypeOfAttribute TheTypeOfAttributes, Quantity_NameOfColor &OutValue, Standard_Real &OutValue, Aspect_TypeOfLine &OutValue); - /****************** GetLineColor ******************/ - /**** md5 signature: eba7d0fb34c3645d05f21c7b3545cd3c ****/ + /****** AIS_GraphicTool::GetLineColor ******/ + /****** md5 signature: eba7d0fb34c3645d05f21c7b3545cd3c ******/ %feature("compactdefaultargs") GetLineColor; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- aDrawer: Prs3d_Drawer TheTypeOfAttributes: AIS_TypeOfAttribute -Returns +Return ------- Quantity_NameOfColor + +Description +----------- +No available documentation. ") GetLineColor; static Quantity_NameOfColor GetLineColor(const opencascade::handle & aDrawer, const AIS_TypeOfAttribute TheTypeOfAttributes); - /****************** GetLineColor ******************/ - /**** md5 signature: ba905e7c41f5ad7f557bf6fdd367c9fc ****/ + /****** AIS_GraphicTool::GetLineColor ******/ + /****** md5 signature: ba905e7c41f5ad7f557bf6fdd367c9fc ******/ %feature("compactdefaultargs") GetLineColor; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- aDrawer: Prs3d_Drawer TheTypeOfAttributes: AIS_TypeOfAttribute TheLineColor: Quantity_Color -Returns +Return ------- None + +Description +----------- +No available documentation. ") GetLineColor; static void GetLineColor(const opencascade::handle & aDrawer, const AIS_TypeOfAttribute TheTypeOfAttributes, Quantity_Color & TheLineColor); - /****************** GetLineType ******************/ - /**** md5 signature: 096ac584eafeaee003d7c6fee0409ae9 ****/ + /****** AIS_GraphicTool::GetLineType ******/ + /****** md5 signature: 096ac584eafeaee003d7c6fee0409ae9 ******/ %feature("compactdefaultargs") GetLineType; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- aDrawer: Prs3d_Drawer TheTypeOfAttributes: AIS_TypeOfAttribute -Returns +Return ------- Aspect_TypeOfLine + +Description +----------- +No available documentation. ") GetLineType; static Aspect_TypeOfLine GetLineType(const opencascade::handle & aDrawer, const AIS_TypeOfAttribute TheTypeOfAttributes); - /****************** GetLineWidth ******************/ - /**** md5 signature: 9598d110bfca1fc2bd93c1fc85125dbb ****/ + /****** AIS_GraphicTool::GetLineWidth ******/ + /****** md5 signature: 9598d110bfca1fc2bd93c1fc85125dbb ******/ %feature("compactdefaultargs") GetLineWidth; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- aDrawer: Prs3d_Drawer TheTypeOfAttributes: AIS_TypeOfAttribute -Returns +Return ------- float + +Description +----------- +No available documentation. ") GetLineWidth; static Standard_Real GetLineWidth(const opencascade::handle & aDrawer, const AIS_TypeOfAttribute TheTypeOfAttributes); - /****************** GetMaterial ******************/ - /**** md5 signature: 4049b89d3369ddd54ce882f6e39b1700 ****/ + /****** AIS_GraphicTool::GetMaterial ******/ + /****** md5 signature: 4049b89d3369ddd54ce882f6e39b1700 ******/ %feature("compactdefaultargs") GetMaterial; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- aDrawer: Prs3d_Drawer -Returns +Return ------- Graphic3d_MaterialAspect + +Description +----------- +No available documentation. ") GetMaterial; static Graphic3d_MaterialAspect GetMaterial(const opencascade::handle & aDrawer); @@ -2224,551 +2398,672 @@ Graphic3d_MaterialAspect *******************************/ class AIS_InteractiveContext : public Standard_Transient { public: - /****************** AIS_InteractiveContext ******************/ - /**** md5 signature: e050aa4400b6a1b1bad39801422c3f15 ****/ + /****** AIS_InteractiveContext::AIS_InteractiveContext ******/ + /****** md5 signature: e050aa4400b6a1b1bad39801422c3f15 ******/ %feature("compactdefaultargs") AIS_InteractiveContext; - %feature("autodoc", "Constructs the interactive context object defined by the principal viewer mainviewer. - + %feature("autodoc", " Parameters ---------- MainViewer: V3d_Viewer -Returns +Return ------- None + +Description +----------- +Constructs the interactive context object defined by the principal viewer MainViewer. ") AIS_InteractiveContext; AIS_InteractiveContext(const opencascade::handle & MainViewer); - /****************** Activate ******************/ - /**** md5 signature: 55fe7d0b67d661d0036919d5c5b808fe ****/ + /****** AIS_InteractiveContext::Activate ******/ + /****** md5 signature: 55fe7d0b67d661d0036919d5c5b808fe ******/ %feature("compactdefaultargs") Activate; - %feature("autodoc", "Activates the selection mode amode whose index is given, for the given interactive entity aniobj. - + %feature("autodoc", " Parameters ---------- theObj: AIS_InteractiveObject -theMode: int,optional - default value is 0 -theIsForce: bool,optional - default value is Standard_False +theMode: int (optional, default to 0) +theIsForce: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +Activates the selection mode aMode whose index is given, for the given interactive entity anIobj. ") Activate; void Activate(const opencascade::handle & theObj, const Standard_Integer theMode = 0, const Standard_Boolean theIsForce = Standard_False); - /****************** Activate ******************/ - /**** md5 signature: 8f26e8d542718dfb36634eb940fc280b ****/ + /****** AIS_InteractiveContext::Activate ******/ + /****** md5 signature: 8f26e8d542718dfb36634eb940fc280b ******/ %feature("compactdefaultargs") Activate; - %feature("autodoc", "Activates the given selection mode for the all displayed objects. - + %feature("autodoc", " Parameters ---------- theMode: int -theIsForce: bool,optional - default value is Standard_False +theIsForce: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +Activates the given selection mode for the all displayed objects. ") Activate; void Activate(const Standard_Integer theMode, const Standard_Boolean theIsForce = Standard_False); - /****************** ActivatedModes ******************/ - /**** md5 signature: 473b3a424c116d59c0cb0dea18173794 ****/ + /****** AIS_InteractiveContext::ActivatedModes ******/ + /****** md5 signature: 473b3a424c116d59c0cb0dea18173794 ******/ %feature("compactdefaultargs") ActivatedModes; - %feature("autodoc", "Returns the list of activated selection modes. - + %feature("autodoc", " Parameters ---------- anIobj: AIS_InteractiveObject theList: TColStd_ListOfInteger -Returns +Return ------- None + +Description +----------- +Returns the list of activated selection modes. ") ActivatedModes; void ActivatedModes(const opencascade::handle & anIobj, TColStd_ListOfInteger & theList); - /****************** AddFilter ******************/ - /**** md5 signature: 8f89ceb3d250cc70530e81ee261a2e71 ****/ + /****** AIS_InteractiveContext::AddFilter ******/ + /****** md5 signature: 8a902c12e6fe5b2f586f4e19c0758623 ******/ %feature("compactdefaultargs") AddFilter; - %feature("autodoc", "Allows you to add the filter. - + %feature("autodoc", " Parameters ---------- theFilter: SelectMgr_Filter -Returns +Return ------- None + +Description +----------- +Allows you to add the filter. ") AddFilter; void AddFilter(const opencascade::handle & theFilter); - /****************** AddOrRemoveCurrentObject ******************/ - /**** md5 signature: 89eb3aca1b8b6d529be5010ff461f430 ****/ + /****** AIS_InteractiveContext::AddOrRemoveCurrentObject ******/ + /****** md5 signature: 89eb3aca1b8b6d529be5010ff461f430 ******/ %feature("compactdefaultargs") AddOrRemoveCurrentObject; - %feature("autodoc", "Allows to add or remove the object given to the list of current and highlight/unhighlight it correspondingly. is valid for global context only; for local context use method addorremoveselected. since this method makes sence only for neutral point selection of a whole object, if 0 selection of the object is empty this method simply does nothing. - + %feature("autodoc", " Parameters ---------- theObj: AIS_InteractiveObject theIsToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +No available documentation. ") AddOrRemoveCurrentObject; void AddOrRemoveCurrentObject(const opencascade::handle & theObj, const Standard_Boolean theIsToUpdateViewer); - /****************** AddOrRemoveSelected ******************/ - /**** md5 signature: 1bb429ff4eafd5c81c1557e9bf7f1315 ****/ + /****** AIS_InteractiveContext::AddOrRemoveSelected ******/ + /****** md5 signature: 1bb429ff4eafd5c81c1557e9bf7f1315 ******/ %feature("compactdefaultargs") AddOrRemoveSelected; - %feature("autodoc", "Allows to highlight or unhighlight the owner given depending on its selection status. - + %feature("autodoc", " Parameters ---------- theObject: AIS_InteractiveObject theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +Allows to highlight or unhighlight the owner given depending on its selection status. ") AddOrRemoveSelected; void AddOrRemoveSelected(const opencascade::handle & theObject, const Standard_Boolean theToUpdateViewer); - /****************** AddOrRemoveSelected ******************/ - /**** md5 signature: 16190e6848910433cfb62ce0a8cd35f5 ****/ + /****** AIS_InteractiveContext::AddOrRemoveSelected ******/ + /****** md5 signature: 16190e6848910433cfb62ce0a8cd35f5 ******/ %feature("compactdefaultargs") AddOrRemoveSelected; - %feature("autodoc", "Allows to highlight or unhighlight the owner given depending on its selection status. - + %feature("autodoc", " Parameters ---------- theOwner: SelectMgr_EntityOwner theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +Allows to highlight or unhighlight the owner given depending on its selection status. ") AddOrRemoveSelected; void AddOrRemoveSelected(const opencascade::handle & theOwner, const Standard_Boolean theToUpdateViewer); - /****************** AddSelect ******************/ - /**** md5 signature: 52ea6338337a736ab508e9fc2a8879f6 ****/ + /****** AIS_InteractiveContext::AddSelect ******/ + /****** md5 signature: 52ea6338337a736ab508e9fc2a8879f6 ******/ %feature("compactdefaultargs") AddSelect; - %feature("autodoc", "Adds object in the selection. - + %feature("autodoc", " Parameters ---------- theObject: SelectMgr_EntityOwner -Returns +Return ------- AIS_StatusOfPick + +Description +----------- +Adds object in the selection. ") AddSelect; AIS_StatusOfPick AddSelect(const opencascade::handle & theObject); - /****************** AddSelect ******************/ - /**** md5 signature: 37dc4fd1f46d4797ff3f04cf30ba255c ****/ + /****** AIS_InteractiveContext::AddSelect ******/ + /****** md5 signature: 37dc4fd1f46d4797ff3f04cf30ba255c ******/ %feature("compactdefaultargs") AddSelect; - %feature("autodoc", "Adds object in the selection. - + %feature("autodoc", " Parameters ---------- theObject: AIS_InteractiveObject -Returns +Return ------- AIS_StatusOfPick + +Description +----------- +Adds object in the selection. ") AddSelect; AIS_StatusOfPick AddSelect(const opencascade::handle & theObject); - /****************** Applicative ******************/ - /**** md5 signature: d43af2e985c3a710a87f1b988ff487fb ****/ + /****** AIS_InteractiveContext::Applicative ******/ + /****** md5 signature: d43af2e985c3a710a87f1b988ff487fb ******/ %feature("compactdefaultargs") Applicative; - %feature("autodoc", "Returns selectedinteractive()->getowner(). @sa selectedowner(). - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns SelectedInteractive()->GetOwner(). +See also: SelectedOwner(). ") Applicative; opencascade::handle Applicative(); - /****************** AutomaticHilight ******************/ - /**** md5 signature: 4952888a363f75b407065ba2086186e6 ****/ + /****** AIS_InteractiveContext::AutomaticHilight ******/ + /****** md5 signature: 4952888a363f75b407065ba2086186e6 ******/ %feature("compactdefaultargs") AutomaticHilight; - %feature("autodoc", "Returns true if the automatic highlight mode is active; true by default. @sa moveto(), select(), hilightwithcolor(), unhilight(). - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns true if the automatic highlight mode is active; True by default. +See also: MoveTo(), Select(), HilightWithColor(), Unhilight(). ") AutomaticHilight; Standard_Boolean AutomaticHilight(); - /****************** BeginImmediateDraw ******************/ - /**** md5 signature: 35e8d0184dd051a6d98a100d7384205d ****/ + /****** AIS_InteractiveContext::BeginImmediateDraw ******/ + /****** md5 signature: 35e8d0184dd051a6d98a100d7384205d ******/ %feature("compactdefaultargs") BeginImmediateDraw; - %feature("autodoc", "Initializes the list of presentations to be displayed returns false if no local context is opened. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +initializes the list of presentations to be displayed returns False if no local context is opened. ") BeginImmediateDraw; Standard_Boolean BeginImmediateDraw(); - /****************** BoundingBoxOfSelection ******************/ - /**** md5 signature: 19a0242f29a43de5c30da614a02e6932 ****/ + /****** AIS_InteractiveContext::BoundingBoxOfSelection ******/ + /****** md5 signature: ce3c459b72706889de79199277654aa5 ******/ %feature("compactdefaultargs") BoundingBoxOfSelection; - %feature("autodoc", "Returns bounding box of selected objects. + %feature("autodoc", " +Parameters +---------- +theView: V3d_View + +Return +------- +Bnd_Box + +Description +----------- +Returns bounding box of selected objects. +") BoundingBoxOfSelection; + Bnd_Box BoundingBoxOfSelection(const opencascade::handle & theView); -Returns + /****** AIS_InteractiveContext::BoundingBoxOfSelection ******/ + /****** md5 signature: e06af7ec716edc2c5f5cf7203564685a ******/ + %feature("compactdefaultargs") BoundingBoxOfSelection; + %feature("autodoc", "Return ------- Bnd_Box + +Description +----------- +No available documentation. ") BoundingBoxOfSelection; Bnd_Box BoundingBoxOfSelection(); - /****************** ClearActiveSensitive ******************/ - /**** md5 signature: 81b910a4cd745e76d9d2719b0e8bc729 ****/ + /****** AIS_InteractiveContext::ClearActiveSensitive ******/ + /****** md5 signature: 81b910a4cd745e76d9d2719b0e8bc729 ******/ %feature("compactdefaultargs") ClearActiveSensitive; - %feature("autodoc", "Clear visualization of sensitives. - + %feature("autodoc", " Parameters ---------- aView: V3d_View -Returns +Return ------- None + +Description +----------- +Clear visualization of sensitives. ") ClearActiveSensitive; void ClearActiveSensitive(const opencascade::handle & aView); - /****************** ClearCurrents ******************/ - /**** md5 signature: 5a42913642e1c5502336115ec9966dde ****/ + /****** AIS_InteractiveContext::ClearCurrents ******/ + /****** md5 signature: 5a42913642e1c5502336115ec9966dde ******/ %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. - + %feature("autodoc", " Parameters ---------- theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +No available documentation. ") ClearCurrents; void ClearCurrents(const Standard_Boolean theToUpdateViewer); - /****************** ClearDetected ******************/ - /**** md5 signature: 05bcfbbe15e2a7b718c1e7367190267b ****/ + /****** AIS_InteractiveContext::ClearDetected ******/ + /****** md5 signature: 05bcfbbe15e2a7b718c1e7367190267b ******/ %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). - + %feature("autodoc", " Parameters ---------- -theToRedrawImmediate: bool,optional - default value is Standard_False +theToRedrawImmediate: bool (optional, default to Standard_False) -Returns +Return ------- bool + +Description +----------- +Clears the list of entities detected by MoveTo() and resets dynamic highlighting. +Parameter theToRedrawImmediate if True, the main Viewer will be redrawn on update +Return: True if viewer needs to be updated (e.g. there were actually dynamically highlighted entities). ") ClearDetected; Standard_Boolean ClearDetected(Standard_Boolean theToRedrawImmediate = Standard_False); - /****************** ClearPrs ******************/ - /**** md5 signature: cc651ed8024f067783d71c8717cfd6c7 ****/ + /****** AIS_InteractiveContext::ClearPrs ******/ + /****** md5 signature: cc651ed8024f067783d71c8717cfd6c7 ******/ %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. - + %feature("autodoc", " Parameters ---------- theIObj: AIS_InteractiveObject theMode: int theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +Empties the graphic presentation of the mode indexed by aMode. Warning! Removes theIObj. theIObj is still active if it was previously activated. ") ClearPrs; void ClearPrs(const opencascade::handle & theIObj, const Standard_Integer theMode, const Standard_Boolean theToUpdateViewer); - /****************** ClearSelected ******************/ - /**** md5 signature: cd9127863ce8c74cdaa3ced0018f7a26 ****/ + /****** AIS_InteractiveContext::ClearSelected ******/ + /****** md5 signature: cd9127863ce8c74cdaa3ced0018f7a26 ******/ %feature("compactdefaultargs") ClearSelected; - %feature("autodoc", "Empties previous selected objects in order to get the selected objects detected by the selector using updateselected. - + %feature("autodoc", " Parameters ---------- theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +Empties previous selected objects in order to get the selected objects detected by the selector using UpdateSelected. ") ClearSelected; void ClearSelected(const Standard_Boolean theToUpdateViewer); - /****************** Color ******************/ - /**** md5 signature: 30319ccfc0804ed2727c24b795588dd1 ****/ + /****** AIS_InteractiveContext::Color ******/ + /****** md5 signature: 30319ccfc0804ed2727c24b795588dd1 ******/ %feature("compactdefaultargs") Color; - %feature("autodoc", "Returns the color of the object in the interactive context. - + %feature("autodoc", " Parameters ---------- aniobj: AIS_InteractiveObject acolor: Quantity_Color -Returns +Return ------- None + +Description +----------- +Returns the color of the Object in the interactive context. ") Color; void Color(const opencascade::handle & aniobj, Quantity_Color & acolor); - /****************** Current ******************/ - /**** md5 signature: 306daa9a488493500027cb5d7534764b ****/ + /****** AIS_InteractiveContext::Current ******/ + /****** md5 signature: 306daa9a488493500027cb5d7534764b ******/ %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. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Current; opencascade::handle Current(); - /****************** CurrentViewer ******************/ - /**** md5 signature: c71b17a30c90b404a2fe56e1cbabac4b ****/ + /****** AIS_InteractiveContext::CurrentViewer ******/ + /****** md5 signature: c71b17a30c90b404a2fe56e1cbabac4b ******/ %feature("compactdefaultargs") CurrentViewer; - %feature("autodoc", "Returns the current viewer. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns the current viewer. ") CurrentViewer; const opencascade::handle & CurrentViewer(); - /****************** Deactivate ******************/ - /**** md5 signature: 2836d4ea8ca04a1b3dbd8159991e33e0 ****/ + /****** AIS_InteractiveContext::Deactivate ******/ + /****** md5 signature: 2836d4ea8ca04a1b3dbd8159991e33e0 ******/ %feature("compactdefaultargs") Deactivate; - %feature("autodoc", "Deactivates all the activated selection modes of an object. - + %feature("autodoc", " Parameters ---------- theObj: AIS_InteractiveObject -Returns +Return ------- None + +Description +----------- +Deactivates all the activated selection modes of an object. ") Deactivate; void Deactivate(const opencascade::handle & theObj); - /****************** Deactivate ******************/ - /**** md5 signature: a1aa11d729d351adf1e876927c761e2e ****/ + /****** AIS_InteractiveContext::Deactivate ******/ + /****** md5 signature: a1aa11d729d351adf1e876927c761e2e ******/ %feature("compactdefaultargs") Deactivate; - %feature("autodoc", "Deactivates all the activated selection modes of the interactive object aniobj with a given selection mode amode. - + %feature("autodoc", " Parameters ---------- theObj: AIS_InteractiveObject theMode: int -Returns +Return ------- None + +Description +----------- +Deactivates all the activated selection modes of the interactive object anIobj with a given selection mode aMode. ") Deactivate; void Deactivate(const opencascade::handle & theObj, const Standard_Integer theMode); - /****************** Deactivate ******************/ - /**** md5 signature: e24aebd581a35bc452696b3deee7c97a ****/ + /****** AIS_InteractiveContext::Deactivate ******/ + /****** md5 signature: e24aebd581a35bc452696b3deee7c97a ******/ %feature("compactdefaultargs") Deactivate; - %feature("autodoc", "Deactivates the given selection mode for all displayed objects. - + %feature("autodoc", " Parameters ---------- theMode: int -Returns +Return ------- None + +Description +----------- +Deactivates the given selection mode for all displayed objects. ") Deactivate; void Deactivate(const Standard_Integer theMode); - /****************** Deactivate ******************/ - /**** md5 signature: cfea69d44907bc53764978e47e0de401 ****/ + /****** AIS_InteractiveContext::Deactivate ******/ + /****** md5 signature: cfea69d44907bc53764978e47e0de401 ******/ %feature("compactdefaultargs") Deactivate; - %feature("autodoc", "Deactivates all the activated selection mode at all displayed objects. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Deactivates all the activated selection mode at all displayed objects. ") Deactivate; void Deactivate(); - /****************** DefaultDrawer ******************/ - /**** md5 signature: 14128b182687edc7e9f18d40a682f0b8 ****/ + /****** AIS_InteractiveContext::DefaultDrawer ******/ + /****** md5 signature: 14128b182687edc7e9f18d40a682f0b8 ******/ %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. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +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. ") DefaultDrawer; const opencascade::handle & DefaultDrawer(); - /****************** DetectedCurrentObject ******************/ - /**** md5 signature: db9a21d25f0bb2a34f1d9b68c667faf4 ****/ + /****** AIS_InteractiveContext::DetectedCurrentObject ******/ + /****** md5 signature: db9a21d25f0bb2a34f1d9b68c667faf4 ******/ %feature("compactdefaultargs") DetectedCurrentObject; - %feature("autodoc", "Returns current mouse-detected interactive object or null object, if there is no currently detected interactives @sa detectedcurrentowner()/initdetected()/moredetected()/nextdetected(). - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Return: current mouse-detected interactive object or null object, if there is no currently detected interactives +See also: DetectedCurrentOwner(), InitDetected(), MoreDetected(), NextDetected(). ") DetectedCurrentObject; opencascade::handle DetectedCurrentObject(); - /****************** DetectedCurrentOwner ******************/ - /**** md5 signature: f92c094b1c7835be9059494de430ed90 ****/ + /****** AIS_InteractiveContext::DetectedCurrentOwner ******/ + /****** md5 signature: f92c094b1c7835be9059494de430ed90 ******/ %feature("compactdefaultargs") DetectedCurrentOwner; - %feature("autodoc", "Returns the owner from detected list pointed by current iterator position. warning! this method is irrelevant to detectedowner() which returns last picked owner regardless of iterator position! @sa initdetected()/moredetected()/nextdetected(). - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +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! +See also: InitDetected(), MoreDetected(), NextDetected(). ") DetectedCurrentOwner; opencascade::handle DetectedCurrentOwner(); - /****************** DetectedCurrentShape ******************/ - /**** md5 signature: 89ce12168c616c9e784d18e7ee93368c ****/ + /****** AIS_InteractiveContext::DetectedCurrentShape ******/ + /****** md5 signature: 89ce12168c616c9e784d18e7ee93368c ******/ %feature("compactdefaultargs") DetectedCurrentShape; - %feature("autodoc", "Returns current mouse-detected shape or empty (null) shape, if current interactive object is not a shape (ais_shape) or there is no current mouse-detected interactive object at all. @sa detectedcurrentowner()/initdetected()/moredetected()/nextdetected(). - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +Return: 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. +See also: DetectedCurrentOwner(), InitDetected(), MoreDetected(), NextDetected(). ") DetectedCurrentShape; const TopoDS_Shape DetectedCurrentShape(); - /****************** DetectedInteractive ******************/ - /**** md5 signature: b0bed930b69f468285a023bd6f872239 ****/ + /****** AIS_InteractiveContext::DetectedInteractive ******/ + /****** md5 signature: b0bed930b69f468285a023bd6f872239 ******/ %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(). - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns the interactive objects last detected in context. In general this is just a wrapper for opencascade::handle::DownCast(DetectedOwner()->Selectable()). +See also: DetectedOwner(). ") DetectedInteractive; opencascade::handle DetectedInteractive(); - /****************** DetectedOwner ******************/ - /**** md5 signature: e2c982281c31eda113b04938de464319 ****/ + /****** AIS_InteractiveContext::DetectedOwner ******/ + /****** md5 signature: e2c982281c31eda113b04938de464319 ******/ %feature("compactdefaultargs") DetectedOwner; - %feature("autodoc", "Returns the owner of the detected sensitive primitive which is currently dynamically highlighted. warning! this method is irrelevant to initdetected()/moredetected()/nextdetected(). @sa hasdetected()/hasnextdetected()/hilightpreviousdetected()/hilightnextdetected(). - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns the owner of the detected sensitive primitive which is currently dynamically highlighted. WARNING! This method is irrelevant to InitDetected()/MoreDetected()/NextDetected(). +See also: HasDetected(), HasNextDetected(), HilightPreviousDetected(), HilightNextDetected(). ") DetectedOwner; const opencascade::handle & DetectedOwner(); - /****************** DetectedShape ******************/ - /**** md5 signature: f9c1d6b6d8e786aa2886d569920b8fa0 ****/ + /****** AIS_InteractiveContext::DetectedShape ******/ + /****** md5 signature: f9c1d6b6d8e786aa2886d569920b8fa0 ******/ %feature("compactdefaultargs") DetectedShape; - %feature("autodoc", "Returns the shape detected in local context. @sa detectedowner(). - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +Returns the shape detected in local context. +See also: DetectedOwner(). ") DetectedShape; const TopoDS_Shape DetectedShape(); - /****************** DeviationAngle ******************/ - /**** md5 signature: 508af72f994b69f958301c949bd7776d ****/ + /****** AIS_InteractiveContext::DeviationAngle ******/ + /****** md5 signature: 003652129c87707eb3add7448baffc41 ******/ %feature("compactdefaultargs") DeviationAngle; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") DeviationAngle; Standard_Real DeviationAngle(); - /****************** DeviationCoefficient ******************/ - /**** md5 signature: 9c4d7eea432c70a83c2882b4c26bcbec ****/ + /****** AIS_InteractiveContext::DeviationCoefficient ******/ + /****** md5 signature: aa403b444ce189be03dbbfdaa044ed4e ******/ %feature("compactdefaultargs") DeviationCoefficient; - %feature("autodoc", "Returns the deviation coefficient. drawings of curves or patches are made with respect to a maximal chordal deviation. a deviation coefficient is used in the shading display mode. the shape is seen decomposed into triangles. these are used to calculate reflection of light from the surface of the object. the triangles are formed from chords of the curves in the shape. the deviation coefficient gives the highest value of the angle with which a chord can deviate from a tangent to a curve. if this limit is reached, a new triangle is begun. this deviation is absolute and is set through prs3d_drawer::setmaximalchordialdeviation. the default value is 0.001. in drawing shapes, however, you are allowed to ask for a relative deviation. this deviation will be: sizeofobject * deviationcoefficient. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +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. ") DeviationCoefficient; Standard_Real DeviationCoefficient(); - /****************** DisableDrawHiddenLine ******************/ - /**** md5 signature: 3fc2c3cfd86c41638b1fc12d3405a6bc ****/ + /****** AIS_InteractiveContext::DisableDrawHiddenLine ******/ + /****** md5 signature: 6b6aa32f5adca641a6dc6a0b3f24eac5 ******/ %feature("compactdefaultargs") DisableDrawHiddenLine; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") DisableDrawHiddenLine; void DisableDrawHiddenLine(); - /****************** Disconnect ******************/ - /**** md5 signature: 528774f6c6d5fd969edecd2c6f010a95 ****/ + /****** AIS_InteractiveContext::Disconnect ******/ + /****** md5 signature: 528774f6c6d5fd969edecd2c6f010a95 ******/ %feature("compactdefaultargs") Disconnect; - %feature("autodoc", "Disconnects theobjtodisconnect from theassembly and removes dependent selection structures. - + %feature("autodoc", " Parameters ---------- theAssembly: AIS_InteractiveObject -theObjToDisconnect: AIS_InteractiveObject,optional - default value is NULL +theObjToDisconnect: AIS_InteractiveObject (optional, default to NULL) -Returns +Return ------- None + +Description +----------- +Disconnects theObjToDisconnect from theAssembly and removes dependent selection structures. ") Disconnect; void Disconnect(const opencascade::handle & theAssembly, const opencascade::handle & theObjToDisconnect = NULL); - /****************** Display ******************/ - /**** md5 signature: 884ed94525df7c45cb1fa54e5a35ba76 ****/ + /****** AIS_InteractiveContext::Display ******/ + /****** md5 signature: 884ed94525df7c45cb1fa54e5a35ba76 ******/ %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. - + %feature("autodoc", " Parameters ---------- theIObj: AIS_InteractiveObject theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +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. ") Display; void Display(const opencascade::handle & theIObj, const Standard_Boolean theToUpdateViewer); - /****************** Display ******************/ - /**** md5 signature: ef545bdb5680ab97c00d3bcc914c2f94 ****/ + /****** AIS_InteractiveContext::Display ******/ + /****** md5 signature: 4844e1a120d1763a2f1c9c28b42360f1 ******/ %feature("compactdefaultargs") Display; - %feature("autodoc", "Sets status, display mode and selection mode for specified object if theselectionmode equals -1, theiobj will not be activated: it will be displayed but will not be selectable. - + %feature("autodoc", " Parameters ---------- theIObj: AIS_InteractiveObject theDispMode: int theSelectionMode: int theToUpdateViewer: bool -theDispStatus: AIS_DisplayStatus,optional - default value is AIS_DS_None +theDispStatus: PrsMgr_DisplayStatus (optional, default to PrsMgr_DisplayStatus_None) -Returns +Return ------- None + +Description +----------- +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. ") Display; - void Display(const opencascade::handle & theIObj, const Standard_Integer theDispMode, const Standard_Integer theSelectionMode, const Standard_Boolean theToUpdateViewer, const AIS_DisplayStatus theDispStatus = AIS_DS_None); + void Display(const opencascade::handle & theIObj, const Standard_Integer theDispMode, const Standard_Integer theSelectionMode, const Standard_Boolean theToUpdateViewer, const PrsMgr_DisplayStatus theDispStatus = PrsMgr_DisplayStatus_None); - /****************** Display ******************/ - /**** md5 signature: 65b510998a253649cd991f6bf670b1e3 ****/ + /****** AIS_InteractiveContext::Display ******/ + /****** md5 signature: 3bee65d480eafecc8a7bf6cf7e559b20 ******/ %feature("compactdefaultargs") Display; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theIObj: AIS_InteractiveObject @@ -2776,1026 +3071,1260 @@ theDispMode: int theSelectionMode: int theToUpdateViewer: bool theToAllowDecomposition: bool -theDispStatus: AIS_DisplayStatus,optional - default value is AIS_DS_None +theDispStatus: PrsMgr_DisplayStatus (optional, default to PrsMgr_DisplayStatus_None) -Returns +Return ------- None + +Description +----------- +No available documentation. ") Display; - void Display(const opencascade::handle & theIObj, const Standard_Integer theDispMode, const Standard_Integer theSelectionMode, const Standard_Boolean theToUpdateViewer, const Standard_Boolean theToAllowDecomposition, const AIS_DisplayStatus theDispStatus = AIS_DS_None); + void Display(const opencascade::handle & theIObj, const Standard_Integer theDispMode, const Standard_Integer theSelectionMode, const Standard_Boolean theToUpdateViewer, const Standard_Boolean theToAllowDecomposition, const PrsMgr_DisplayStatus theDispStatus = PrsMgr_DisplayStatus_None); - /****************** DisplayActiveSensitive ******************/ - /**** md5 signature: 3e2889a461702eed5abdf967dcfcfd6c ****/ + /****** AIS_InteractiveContext::DisplayActiveSensitive ******/ + /****** md5 signature: 3e2889a461702eed5abdf967dcfcfd6c ******/ %feature("compactdefaultargs") DisplayActiveSensitive; - %feature("autodoc", "Visualization of sensitives - for debugging purposes!. - + %feature("autodoc", " Parameters ---------- aView: V3d_View -Returns +Return ------- None + +Description +----------- +Visualization of sensitives - for debugging purposes!. ") DisplayActiveSensitive; void DisplayActiveSensitive(const opencascade::handle & aView); - /****************** DisplayActiveSensitive ******************/ - /**** md5 signature: 3aede03c6608a0f4e195960113404d0e ****/ + /****** AIS_InteractiveContext::DisplayActiveSensitive ******/ + /****** md5 signature: 3aede03c6608a0f4e195960113404d0e ******/ %feature("compactdefaultargs") DisplayActiveSensitive; - %feature("autodoc", "Visualization of sensitives - for debugging purposes!. - + %feature("autodoc", " Parameters ---------- anObject: AIS_InteractiveObject aView: V3d_View -Returns +Return ------- None + +Description +----------- +Visualization of sensitives - for debugging purposes!. ") DisplayActiveSensitive; void DisplayActiveSensitive(const opencascade::handle & anObject, const opencascade::handle & aView); - /****************** DisplayAll ******************/ - /**** md5 signature: ba71b3275c7e104b6dd9f109fe7e9d88 ****/ + /****** AIS_InteractiveContext::DisplayAll ******/ + /****** md5 signature: ba71b3275c7e104b6dd9f109fe7e9d88 ******/ %feature("compactdefaultargs") DisplayAll; - %feature("autodoc", "Displays all hidden objects. - + %feature("autodoc", " Parameters ---------- theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +Displays all hidden objects. ") DisplayAll; void DisplayAll(const Standard_Boolean theToUpdateViewer); - /****************** DisplayMode ******************/ - /**** md5 signature: 87ab8eae5ccb1d4f4dfd02dc34d6febc ****/ + /****** AIS_InteractiveContext::DisplayMode ******/ + /****** md5 signature: 87ab8eae5ccb1d4f4dfd02dc34d6febc ******/ %feature("compactdefaultargs") DisplayMode; - %feature("autodoc", "Returns the display mode setting to be used by default. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns the Display Mode setting to be used by default. ") DisplayMode; Standard_Integer DisplayMode(); - /****************** DisplayPriority ******************/ - /**** md5 signature: c3d8c29f8000764afe6d1d744631698f ****/ + /****** AIS_InteractiveContext::DisplayPriority ******/ + /****** md5 signature: 5ee166e687f439119f4237cb1827925f ******/ %feature("compactdefaultargs") DisplayPriority; - %feature("autodoc", "Returns the display priority of the object. - + %feature("autodoc", " Parameters ---------- theIObj: AIS_InteractiveObject -Returns +Return ------- -int +Graphic3d_DisplayPriority + +Description +----------- +Returns the display priority of the Object. ") DisplayPriority; - Standard_Integer DisplayPriority(const opencascade::handle & theIObj); + Graphic3d_DisplayPriority DisplayPriority(const opencascade::handle & theIObj); - /****************** DisplaySelected ******************/ - /**** md5 signature: 6981bcb57104e11b8ce741613e585a41 ****/ + /****** AIS_InteractiveContext::DisplaySelected ******/ + /****** md5 signature: 6981bcb57104e11b8ce741613e585a41 ******/ %feature("compactdefaultargs") DisplaySelected; - %feature("autodoc", "Displays current objects. - + %feature("autodoc", " Parameters ---------- theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +Displays current objects. ") DisplaySelected; void DisplaySelected(const Standard_Boolean theToUpdateViewer); - /****************** DisplayStatus ******************/ - /**** md5 signature: 2c3ee8144ab209b024b7cd0ee5b3e9dc ****/ + /****** AIS_InteractiveContext::DisplayStatus ******/ + /****** md5 signature: 63fdc6587cc5281c7155ba72cfd784af ******/ %feature("compactdefaultargs") DisplayStatus; - %feature("autodoc", "Returns the display status of the entity aniobj. this will be one of the following: - ais_ds_displayed displayed in main viewer - ais_ds_erased hidden in main viewer - ais_ds_temporary temporarily displayed - ais_ds_none nowhere displayed. - + %feature("autodoc", " Parameters ---------- anIobj: AIS_InteractiveObject -Returns +Return ------- -AIS_DisplayStatus +PrsMgr_DisplayStatus + +Description +----------- +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. ") DisplayStatus; - AIS_DisplayStatus DisplayStatus(const opencascade::handle & anIobj); + PrsMgr_DisplayStatus DisplayStatus(const opencascade::handle & anIobj); - /****************** DisplayedObjects ******************/ - /**** md5 signature: 2ac371de0991b7c60d0ec9d3cdc39d6c ****/ + /****** AIS_InteractiveContext::DisplayedObjects ******/ + /****** md5 signature: 2ac371de0991b7c60d0ec9d3cdc39d6c ******/ %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. - + %feature("autodoc", " Parameters ---------- aListOfIO: AIS_ListOfInteractive -Returns +Return ------- None + +Description +----------- +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. ") DisplayedObjects; void DisplayedObjects(AIS_ListOfInteractive & aListOfIO); - /****************** DisplayedObjects ******************/ - /**** md5 signature: e13aa22fbebdae8b832b7fe1e5a85dda ****/ + /****** AIS_InteractiveContext::DisplayedObjects ******/ + /****** md5 signature: e13aa22fbebdae8b832b7fe1e5a85dda ******/ %feature("compactdefaultargs") DisplayedObjects; - %feature("autodoc", "Gives the list of displayed objects of a particular type and signature. by default, = -1 means control only on . - + %feature("autodoc", " Parameters ---------- theWhichKind: AIS_KindOfInteractive theWhichSignature: int theListOfIO: AIS_ListOfInteractive -Returns +Return ------- None + +Description +----------- +gives the list of displayed objects of a particular Type and signature. by Default, = -1 means control only on . ") DisplayedObjects; void DisplayedObjects(const AIS_KindOfInteractive theWhichKind, const Standard_Integer theWhichSignature, AIS_ListOfInteractive & theListOfIO); - /****************** DrawHiddenLine ******************/ - /**** md5 signature: ee867d8bc869aae190f7ad2dd51ea119 ****/ + /****** AIS_InteractiveContext::DrawHiddenLine ******/ + /****** md5 signature: 372ddba1ff29bf8cd686ca27ede4bc2a ******/ %feature("compactdefaultargs") DrawHiddenLine; - %feature("autodoc", "Returns standard_true if the hidden lines are to be drawn. by default the hidden lines are not drawn. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns Standard_True if the hidden lines are to be drawn. By default the hidden lines are not drawn. ") DrawHiddenLine; Standard_Boolean DrawHiddenLine(); - %feature("autodoc", "1"); - %extend{ - std::string DumpJsonToString(int depth=-1) { - std::stringstream s; - self->DumpJson(s, depth); - return s.str();} - }; - /****************** EnableDrawHiddenLine ******************/ - /**** md5 signature: 7c98158946b8428a204c851de2124594 ****/ - %feature("compactdefaultargs") EnableDrawHiddenLine; - %feature("autodoc", "No available documentation. + /****************** DumpJson ******************/ + %feature("autodoc", " +Parameters +---------- +depth: int, default=-1 + +Return +------- +str -Returns +Description +----------- +Dump the object to JSON string. +") DumpJson; + %extend{ + std::string DumpJson(int depth=-1) { + std::stringstream s; + self->DumpJson(s, depth); + return "{" + s.str() + "}" ;} + }; + /****** AIS_InteractiveContext::EnableDrawHiddenLine ******/ + /****** md5 signature: ef1c63d78ea294d9e74f6b66ff4bc5ee ******/ + %feature("compactdefaultargs") EnableDrawHiddenLine; + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") EnableDrawHiddenLine; void EnableDrawHiddenLine(); - /****************** EndImmediateDraw ******************/ - /**** md5 signature: d412b785cf73f80c6e408fe57fdcaa1e ****/ + /****** AIS_InteractiveContext::EndImmediateDraw ******/ + /****** md5 signature: d412b785cf73f80c6e408fe57fdcaa1e ******/ %feature("compactdefaultargs") EndImmediateDraw; - %feature("autodoc", "Returns true if the immediate display has been done. - + %feature("autodoc", " Parameters ---------- theView: V3d_View -Returns +Return ------- bool + +Description +----------- +returns True if the immediate display has been done. ") EndImmediateDraw; Standard_Boolean EndImmediateDraw(const opencascade::handle & theView); - /****************** EndImmediateDraw ******************/ - /**** md5 signature: 817e9310dd497bb5350d7d89a7805025 ****/ + /****** AIS_InteractiveContext::EndImmediateDraw ******/ + /****** md5 signature: 817e9310dd497bb5350d7d89a7805025 ******/ %feature("compactdefaultargs") EndImmediateDraw; - %feature("autodoc", "Uses the first active view of main viewer! returns true if the immediate display has been done. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Uses the First Active View of Main Viewer! returns True if the immediate display has been done. ") EndImmediateDraw; Standard_Boolean EndImmediateDraw(); - /****************** Erase ******************/ - /**** md5 signature: 969438c38739175fcb7c0c4c75b922fb ****/ + /****** AIS_InteractiveContext::Erase ******/ + /****** md5 signature: 969438c38739175fcb7c0c4c75b922fb ******/ %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(). - + %feature("autodoc", " Parameters ---------- theIObj: AIS_InteractiveObject theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +Hides the object. The object's presentations are simply flagged as invisible and therefore excluded from redrawing. To show hidden objects, use Display(). ") Erase; void Erase(const opencascade::handle & theIObj, const Standard_Boolean theToUpdateViewer); - /****************** EraseAll ******************/ - /**** md5 signature: 5b33d1ce278b256afd7b4948a73d39cd ****/ + /****** AIS_InteractiveContext::EraseAll ******/ + /****** md5 signature: 5b33d1ce278b256afd7b4948a73d39cd ******/ %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(). - + %feature("autodoc", " Parameters ---------- theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +Hides all objects. The object's presentations are simply flagged as invisible and therefore excluded from redrawing. To show all hidden objects, use DisplayAll(). ") EraseAll; void EraseAll(const Standard_Boolean theToUpdateViewer); - /****************** EraseSelected ******************/ - /**** md5 signature: c049d06d34cae1cc7285391e7aeb3e9b ****/ + /****** AIS_InteractiveContext::EraseSelected ******/ + /****** md5 signature: c049d06d34cae1cc7285391e7aeb3e9b ******/ %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(). - + %feature("autodoc", " Parameters ---------- theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +Hides selected objects. The object's presentations are simply flagged as invisible and therefore excluded from redrawing. To show hidden objects, use Display(). ") EraseSelected; void EraseSelected(const Standard_Boolean theToUpdateViewer); - /****************** ErasedObjects ******************/ - /**** md5 signature: fba807be656c8be6c28360b3dee631c5 ****/ + /****** AIS_InteractiveContext::ErasedObjects ******/ + /****** md5 signature: fba807be656c8be6c28360b3dee631c5 ******/ %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. - + %feature("autodoc", " Parameters ---------- theListOfIO: AIS_ListOfInteractive -Returns +Return ------- None + +Description +----------- +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. ") ErasedObjects; void ErasedObjects(AIS_ListOfInteractive & theListOfIO); - /****************** ErasedObjects ******************/ - /**** md5 signature: d02164fb2a78fbf0cad653c1922f6452 ****/ + /****** AIS_InteractiveContext::ErasedObjects ******/ + /****** md5 signature: d02164fb2a78fbf0cad653c1922f6452 ******/ %feature("compactdefaultargs") ErasedObjects; - %feature("autodoc", "Gives the list of erased objects (hidden objects) type and signature by default, = -1 means control only on . - + %feature("autodoc", " Parameters ---------- theWhichKind: AIS_KindOfInteractive theWhichSignature: int theListOfIO: AIS_ListOfInteractive -Returns +Return ------- None + +Description +----------- +gives the list of erased objects (hidden objects) Type and signature by Default, = -1 means control only on . ") ErasedObjects; void ErasedObjects(const AIS_KindOfInteractive theWhichKind, const Standard_Integer theWhichSignature, AIS_ListOfInteractive & theListOfIO); - /****************** FilterType ******************/ - /**** md5 signature: e37fce598a0b5e9b676a367504573e6c ****/ + /****** AIS_InteractiveContext::FilterType ******/ + /****** md5 signature: e37fce598a0b5e9b676a367504573e6c ******/ %feature("compactdefaultargs") FilterType; - %feature("autodoc", "Returns the context selection filter type. - -Returns + %feature("autodoc", "Return ------- SelectMgr_FilterType + +Description +----------- +Return: the context selection filter type. ") FilterType; SelectMgr_FilterType FilterType(); - /****************** Filters ******************/ - /**** md5 signature: 3fdc80dd75c17b43e3b22bec55f591f0 ****/ + /****** AIS_InteractiveContext::Filters ******/ + /****** md5 signature: 93a08b293ea4d8d9b7d3fef18387c381 ******/ %feature("compactdefaultargs") Filters; - %feature("autodoc", "Returns the list of filters active in a local context. - -Returns + %feature("autodoc", "Return ------- SelectMgr_ListOfFilter + +Description +----------- +Returns the list of filters active in a local context. ") Filters; const SelectMgr_ListOfFilter & Filters(); - /****************** FirstSelectedObject ******************/ - /**** md5 signature: b2acdd4c911cfcbaab84d9d6a86cd9a5 ****/ + /****** AIS_InteractiveContext::FirstSelectedObject ******/ + /****** md5 signature: b2acdd4c911cfcbaab84d9d6a86cd9a5 ******/ %feature("compactdefaultargs") FirstSelectedObject; - %feature("autodoc", "Returns the first selected object in the list of current selected. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns the first selected object in the list of current selected. ") FirstSelectedObject; opencascade::handle FirstSelectedObject(); - /****************** FitSelected ******************/ - /**** md5 signature: 35039067e64419ba27be322de4475534 ****/ + /****** AIS_InteractiveContext::FitSelected ******/ + /****** md5 signature: 35039067e64419ba27be322de4475534 ******/ %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. - + %feature("autodoc", " Parameters ---------- theView: V3d_View theMargin: float theToUpdate: bool -Returns +Return ------- None + +Description +----------- +Fits the view correspondingly to the bounds of selected objects. Infinite objects are ignored if infinite state of AIS_InteractiveObject is set to true. ") FitSelected; void FitSelected(const opencascade::handle & theView, const Standard_Real theMargin, const Standard_Boolean theToUpdate); - /****************** FitSelected ******************/ - /**** md5 signature: fac92c7e203e7b23d7c9d8470d938941 ****/ + /****** AIS_InteractiveContext::FitSelected ******/ + /****** md5 signature: fac92c7e203e7b23d7c9d8470d938941 ******/ %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. - + %feature("autodoc", " Parameters ---------- theView: V3d_View -Returns +Return ------- None + +Description +----------- +Fits the view correspondingly to the bounds of selected objects. Infinite objects are ignored if infinite state of AIS_InteractiveObject is set to true. ") FitSelected; void FitSelected(const opencascade::handle & theView); - /****************** GetAutoActivateSelection ******************/ - /**** md5 signature: a611232040c566e34ca8670e7ea16a71 ****/ + /****** AIS_InteractiveContext::GetAutoActivateSelection ******/ + /****** md5 signature: a611232040c566e34ca8670e7ea16a71 ******/ %feature("compactdefaultargs") GetAutoActivateSelection; - %feature("autodoc", "Manages displaying the new object should also automatically activate default selection mode; true by default. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Manages displaying the new object should also automatically activate default selection mode; True by default. ") GetAutoActivateSelection; Standard_Boolean GetAutoActivateSelection(); - /****************** GetZLayer ******************/ - /**** md5 signature: fc7034555b0d116eef6c19ec38f9deca ****/ + /****** AIS_InteractiveContext::GetZLayer ******/ + /****** md5 signature: fc7034555b0d116eef6c19ec38f9deca ******/ %feature("compactdefaultargs") GetZLayer; - %feature("autodoc", "Get z layer id set for displayed interactive object. - + %feature("autodoc", " Parameters ---------- theIObj: AIS_InteractiveObject -Returns +Return ------- Graphic3d_ZLayerId + +Description +----------- +Get Z layer id set for displayed interactive object. ") GetZLayer; Graphic3d_ZLayerId GetZLayer(const opencascade::handle & theIObj); - /****************** GravityPoint ******************/ - /**** md5 signature: 61432a855a261dfe994f834c87d91d2a ****/ - %feature("compactdefaultargs") GravityPoint; - %feature("autodoc", "Return rotation gravity point. + /****** AIS_InteractiveContext::GlobalFilter ******/ + /****** md5 signature: 06ef473f9ff7dbdffd2e783f736f69a0 ******/ + %feature("compactdefaultargs") GlobalFilter; + %feature("autodoc", "Return +------- +opencascade::handle +Description +----------- +Return: the context selection global context filter. +") GlobalFilter; + const opencascade::handle & GlobalFilter(); + + /****** AIS_InteractiveContext::GravityPoint ******/ + /****** md5 signature: 61432a855a261dfe994f834c87d91d2a ******/ + %feature("compactdefaultargs") GravityPoint; + %feature("autodoc", " Parameters ---------- theView: V3d_View -Returns +Return ------- gp_Pnt + +Description +----------- +Return rotation gravity point. ") GravityPoint; virtual gp_Pnt GravityPoint(const opencascade::handle & theView); - /****************** HasApplicative ******************/ - /**** md5 signature: 60d05f5258a04bb60710b49cfc48cf5a ****/ + /****** AIS_InteractiveContext::HasApplicative ******/ + /****** md5 signature: 60d05f5258a04bb60710b49cfc48cf5a ******/ %feature("compactdefaultargs") HasApplicative; - %feature("autodoc", "Returns selectedinteractive()->hasowner(). @sa selectedowner(). - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns SelectedInteractive()->HasOwner(). +See also: SelectedOwner(). ") HasApplicative; Standard_Boolean HasApplicative(); - /****************** HasColor ******************/ - /**** md5 signature: cc8dd25fdc35e31043976e96be57d5b9 ****/ + /****** AIS_InteractiveContext::HasColor ******/ + /****** md5 signature: cc8dd25fdc35e31043976e96be57d5b9 ******/ %feature("compactdefaultargs") HasColor; - %feature("autodoc", "Returns true if a view of the interactive object has color. - + %feature("autodoc", " Parameters ---------- aniobj: AIS_InteractiveObject -Returns +Return ------- bool + +Description +----------- +Returns true if a view of the Interactive Object has color. ") HasColor; Standard_Boolean HasColor(const opencascade::handle & aniobj); - /****************** HasDetected ******************/ - /**** md5 signature: 9784833ccfaab525e30c79edfbe72190 ****/ + /****** AIS_InteractiveContext::HasDetected ******/ + /****** md5 signature: 9784833ccfaab525e30c79edfbe72190 ******/ %feature("compactdefaultargs") HasDetected; - %feature("autodoc", "Returns true if there is a mouse-detected entity in context. @sa detectedowner()/hasnextdetected()/hilightpreviousdetected()/hilightnextdetected(). - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns true if there is a mouse-detected entity in context. +See also: DetectedOwner(), HasNextDetected(), HilightPreviousDetected(), HilightNextDetected(). ") HasDetected; Standard_Boolean HasDetected(); - /****************** HasDetectedShape ******************/ - /**** md5 signature: d2fb3a69e46a45ed0edd4bafb59b8257 ****/ + /****** AIS_InteractiveContext::HasDetectedShape ******/ + /****** md5 signature: d2fb3a69e46a45ed0edd4bafb59b8257 ******/ %feature("compactdefaultargs") HasDetectedShape; - %feature("autodoc", "Returns true if there is a detected shape in local context. @sa hasdetected()/detectedshape(). - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns true if there is a detected shape in local context. +See also: HasDetected(), DetectedShape(). ") HasDetectedShape; Standard_Boolean HasDetectedShape(); - /****************** HasLocation ******************/ - /**** md5 signature: 015cfc324c92fd00be4aef64c25f24d2 ****/ + /****** AIS_InteractiveContext::HasLocation ******/ + /****** md5 signature: 015cfc324c92fd00be4aef64c25f24d2 ******/ %feature("compactdefaultargs") HasLocation; - %feature("autodoc", "Returns true if the object has a location. - + %feature("autodoc", " Parameters ---------- theObject: AIS_InteractiveObject -Returns +Return ------- bool + +Description +----------- +Returns true if the Object has a location. ") HasLocation; Standard_Boolean HasLocation(const opencascade::handle & theObject); - /****************** HasNextDetected ******************/ - /**** md5 signature: 7a28caee8124c59c13fd939c4f7e2c47 ****/ + /****** AIS_InteractiveContext::HasNextDetected ******/ + /****** md5 signature: 7a28caee8124c59c13fd939c4f7e2c47 ******/ %feature("compactdefaultargs") HasNextDetected; - %feature("autodoc", "Returns true if other entities were detected in the last mouse detection @sa hilightpreviousdetected()/hilightnextdetected(). - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns True if other entities were detected in the last mouse detection +See also: HilightPreviousDetected(), HilightNextDetected(). ") HasNextDetected; Standard_Boolean HasNextDetected(); - /****************** HasPolygonOffsets ******************/ - /**** md5 signature: 40f0ecc7de3c38df2fa3453b26a4dff0 ****/ + /****** AIS_InteractiveContext::HasPolygonOffsets ******/ + /****** md5 signature: 40f0ecc7de3c38df2fa3453b26a4dff0 ******/ %feature("compactdefaultargs") HasPolygonOffsets; - %feature("autodoc", "Simply calls ais_interactiveobject::haspolygonoffsets(). - + %feature("autodoc", " Parameters ---------- anObj: AIS_InteractiveObject -Returns +Return ------- bool + +Description +----------- +Simply calls AIS_InteractiveObject::HasPolygonOffsets(). ") HasPolygonOffsets; Standard_Boolean HasPolygonOffsets(const opencascade::handle & anObj); - /****************** HasSelectedShape ******************/ - /**** md5 signature: 490f9e8372b8aa45e061a56a47cd4fa4 ****/ + /****** AIS_InteractiveContext::HasSelectedShape ******/ + /****** md5 signature: 490f9e8372b8aa45e061a56a47cd4fa4 ******/ %feature("compactdefaultargs") HasSelectedShape; - %feature("autodoc", "Returns true if the interactive context has a shape selected. @sa selectedshape(). - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns True if the interactive context has a shape selected. +See also: SelectedShape(). ") HasSelectedShape; Standard_Boolean HasSelectedShape(); - /****************** HiddenLineAspect ******************/ - /**** md5 signature: 2194dc9305a8d04891ff31b2c7d09c8d ****/ + /****** AIS_InteractiveContext::HiddenLineAspect ******/ + /****** md5 signature: 94d1c2a65d1f004db7812470264560c4 ******/ %feature("compactdefaultargs") HiddenLineAspect; - %feature("autodoc", "Initializes hidden line aspect in the default drawing tool, or drawer. the default values are: color: quantity_noc_yellow type of line: aspect_tol_dash width: 1. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +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. ") HiddenLineAspect; - opencascade::handle HiddenLineAspect(); + const opencascade::handle & HiddenLineAspect(); - /****************** HighlightStyle ******************/ - /**** md5 signature: 2cb78034dd0075f5760ff6947175afbf ****/ + /****** AIS_InteractiveContext::HighlightStyle ******/ + /****** md5 signature: 2cb78034dd0075f5760ff6947175afbf ******/ %feature("compactdefaultargs") HighlightStyle; - %feature("autodoc", "Returns highlight style settings. - + %feature("autodoc", " Parameters ---------- theStyleType: Prs3d_TypeOfHighlight -Returns +Return ------- opencascade::handle + +Description +----------- +Returns default highlight style settings (could be overridden by PrsMgr_PresentableObject). //! Tip: although highlighting style is defined by Prs3d_Drawer, only a small set of properties derived from it's base class Graphic3d_PresentationAttributes will be actually used in most cases. //! Default highlight style for all types is Aspect_TOHM_COLOR. Other defaults: - Prs3d_TypeOfHighlight_Dynamic * Color: Quantity_NOC_CYAN1; * Layer: Graphic3d_ZLayerId_Top, object highlighting is drawn on top of main scene within Immediate Layers, so that V3d_View::RedrawImmediate() will be enough to see update; - Prs3d_TypeOfHighlight_LocalDynamic * Color: Quantity_NOC_CYAN1; * Layer: Graphic3d_ZLayerId_Topmost, object parts highlighting is drawn on top of main scene within Immediate Layers with depth cleared (even overlapped geometry will be revealed); - Prs3d_TypeOfHighlight_Selected * Color: Quantity_NOC_GRAY80; * Layer: Graphic3d_ZLayerId_UNKNOWN, object highlighting is drawn on top of main scene within the same layer as object itself (e.g. Graphic3d_ZLayerId_Default by default) and increased priority. //! +Input parameter: theStyleType highlight style to modify +Return: drawer associated to specified highlight type //! +See also: MoveTo() using Prs3d_TypeOfHighlight_Dynamic and Prs3d_TypeOfHighlight_LocalDynamic types +See also: SelectDetected() using Prs3d_TypeOfHighlight_Selected and Prs3d_TypeOfHighlight_LocalSelected types +See also: PrsMgr_PresentableObject::DynamicHilightAttributes() overriding Prs3d_TypeOfHighlight_Dynamic and Prs3d_TypeOfHighlight_LocalDynamic defaults on object level +See also: PrsMgr_PresentableObject::HilightAttributes() overriding Prs3d_TypeOfHighlight_Selected and Prs3d_TypeOfHighlight_LocalSelected defaults on object level. ") HighlightStyle; const opencascade::handle & HighlightStyle(const Prs3d_TypeOfHighlight theStyleType); - /****************** HighlightStyle ******************/ - /**** md5 signature: a5e55eefe6df1b6a11e0c9a34f35e9be ****/ + /****** AIS_InteractiveContext::HighlightStyle ******/ + /****** md5 signature: a5e55eefe6df1b6a11e0c9a34f35e9be ******/ %feature("compactdefaultargs") HighlightStyle; - %feature("autodoc", "Returns current dynamic highlight style settings. by default: - the color of dynamic highlight is quantity_noc_cyan1; - the presentation for dynamic highlight is completely opaque; - the type of highlight is aspect_tohm_color. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns current dynamic highlight style settings corresponding to Prs3d_TypeOfHighlight_Dynamic. This is just a short-cut to HighlightStyle(Prs3d_TypeOfHighlight_Dynamic). ") HighlightStyle; const opencascade::handle & HighlightStyle(); - /****************** HighlightStyle ******************/ - /**** md5 signature: 77c11de0b93da91ba5c484b3b8f5f1ce ****/ + /****** AIS_InteractiveContext::HighlightStyle ******/ + /****** md5 signature: 77c11de0b93da91ba5c484b3b8f5f1ce ******/ %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. - + %feature("autodoc", " Parameters ---------- theObj: AIS_InteractiveObject theStyle: Prs3d_Drawer -Returns +Return ------- bool + +Description +----------- +Returns highlight style of the object if it is marked as highlighted via global status +Input parameter: theObj the object to check. ") HighlightStyle; Standard_Boolean HighlightStyle(const opencascade::handle & theObj, opencascade::handle & theStyle); - /****************** HighlightStyle ******************/ - /**** md5 signature: 67e112908a1146ebe2626616c583fce2 ****/ + /****** AIS_InteractiveContext::HighlightStyle ******/ + /****** md5 signature: 67e112908a1146ebe2626616c583fce2 ******/ %feature("compactdefaultargs") HighlightStyle; - %feature("autodoc", "Returns highlight style of the owner if it is selected @param theowner [in] the owner to check. - + %feature("autodoc", " Parameters ---------- theOwner: SelectMgr_EntityOwner theStyle: Prs3d_Drawer -Returns +Return ------- bool + +Description +----------- +Returns highlight style of the owner if it is selected +Input parameter: theOwner the owner to check. ") HighlightStyle; Standard_Boolean HighlightStyle(const opencascade::handle & theOwner, opencascade::handle & theStyle); - /****************** Hilight ******************/ - /**** md5 signature: e4baa3152e7a2a38dd2e68bd6f2939aa ****/ + /****** AIS_InteractiveContext::Hilight ******/ + /****** md5 signature: e4baa3152e7a2a38dd2e68bd6f2939aa ******/ %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. - + %feature("autodoc", " Parameters ---------- theObj: AIS_InteractiveObject theIsToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +No available documentation. ") Hilight; void Hilight(const opencascade::handle & theObj, const Standard_Boolean theIsToUpdateViewer); - /****************** HilightCurrents ******************/ - /**** md5 signature: cab78712012415a0a9c1a56c5790e3ed ****/ + /****** AIS_InteractiveContext::HilightCurrents ******/ + /****** md5 signature: cab78712012415a0a9c1a56c5790e3ed ******/ %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. - + %feature("autodoc", " Parameters ---------- theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +No available documentation. ") HilightCurrents; void HilightCurrents(const Standard_Boolean theToUpdateViewer); - /****************** HilightNextDetected ******************/ - /**** md5 signature: 9c05abb0fa3776e9813bee557372d755 ****/ + /****** AIS_InteractiveContext::HilightNextDetected ******/ + /****** md5 signature: 9c05abb0fa3776e9813bee557372d755 ******/ %feature("compactdefaultargs") HilightNextDetected; - %feature("autodoc", "If more than 1 object is detected by the selector, only the 'best' owner is hilighted at the mouse position. this method allows the user to hilight one after another the other detected entities. if the method select is called, the selected entity will be the hilighted one! warning: loop method. when all the detected entities have been hilighted, the next call will hilight the first one again. returns the rank of hilighted entity @sa hasnextdetected()/hilightpreviousdetected(). - + %feature("autodoc", " Parameters ---------- theView: V3d_View -theToRedrawImmediate: bool,optional - default value is Standard_True +theToRedrawImmediate: bool (optional, default to Standard_True) -Returns +Return ------- int + +Description +----------- +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. +Return: the Rank of hilighted entity +See also: HasNextDetected(), HilightPreviousDetected(). ") HilightNextDetected; Standard_Integer HilightNextDetected(const opencascade::handle & theView, const Standard_Boolean theToRedrawImmediate = Standard_True); - /****************** HilightPreviousDetected ******************/ - /**** md5 signature: 262cae5bc6c5467cc4d7bc8c48f38ba0 ****/ + /****** AIS_InteractiveContext::HilightPreviousDetected ******/ + /****** md5 signature: 262cae5bc6c5467cc4d7bc8c48f38ba0 ******/ %feature("compactdefaultargs") HilightPreviousDetected; - %feature("autodoc", "Same as previous methods in reverse direction. @sa hasnextdetected()/hilightnextdetected(). - + %feature("autodoc", " Parameters ---------- theView: V3d_View -theToRedrawImmediate: bool,optional - default value is Standard_True +theToRedrawImmediate: bool (optional, default to Standard_True) -Returns +Return ------- int + +Description +----------- +Same as previous methods in reverse direction. +See also: HasNextDetected(), HilightNextDetected(). ") HilightPreviousDetected; Standard_Integer HilightPreviousDetected(const opencascade::handle & theView, const Standard_Boolean theToRedrawImmediate = Standard_True); - /****************** HilightSelected ******************/ - /**** md5 signature: fbae34d3611ad95d43225055edcfeb6c ****/ + /****** AIS_InteractiveContext::HilightSelected ******/ + /****** md5 signature: fbae34d3611ad95d43225055edcfeb6c ******/ %feature("compactdefaultargs") HilightSelected; - %feature("autodoc", "Highlights selected objects. - + %feature("autodoc", " Parameters ---------- theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +Highlights selected objects. ") HilightSelected; void HilightSelected(const Standard_Boolean theToUpdateViewer); - /****************** HilightWithColor ******************/ - /**** md5 signature: 39c928c522f658b4bc35ad09476c370b ****/ + /****** AIS_InteractiveContext::HilightWithColor ******/ + /****** md5 signature: 39c928c522f658b4bc35ad09476c370b ******/ %feature("compactdefaultargs") HilightWithColor; - %feature("autodoc", "Changes the color of all the lines of the object in view. - + %feature("autodoc", " Parameters ---------- theObj: AIS_InteractiveObject theStyle: Prs3d_Drawer theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +Changes the color of all the lines of the object in view. ") HilightWithColor; void HilightWithColor(const opencascade::handle & theObj, const opencascade::handle & theStyle, const Standard_Boolean theToUpdateViewer); - /****************** ImmediateAdd ******************/ - /**** md5 signature: f1c6cfe88d67fef4d99d5d59f858679d ****/ + /****** AIS_InteractiveContext::ImmediateAdd ******/ + /****** md5 signature: f1c6cfe88d67fef4d99d5d59f858679d ******/ %feature("compactdefaultargs") ImmediateAdd; - %feature("autodoc", "Returns true if has been stored in the list. - + %feature("autodoc", " Parameters ---------- theObj: AIS_InteractiveObject -theMode: int,optional - default value is 0 +theMode: int (optional, default to 0) -Returns +Return ------- bool + +Description +----------- +returns True if has been stored in the list. ") ImmediateAdd; Standard_Boolean ImmediateAdd(const opencascade::handle & theObj, const Standard_Integer theMode = 0); - /****************** InitCurrent ******************/ - /**** md5 signature: 3be01264f20faf11fcd664c48a8a4660 ****/ + /****** AIS_InteractiveContext::InitCurrent ******/ + /****** md5 signature: 3be01264f20faf11fcd664c48a8a4660 ******/ %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. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") InitCurrent; void InitCurrent(); - /****************** InitDetected ******************/ - /**** md5 signature: c8e093453ccb47b93fdb3539272d695f ****/ + /****** AIS_InteractiveContext::InitDetected ******/ + /****** md5 signature: c8e093453ccb47b93fdb3539272d695f ******/ %feature("compactdefaultargs") InitDetected; - %feature("autodoc", "Initialization for iteration through mouse-detected objects in interactive context or in local context if it is opened. @sa detectedcurrentowner()/moredetected()/nextdetected(). - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Initialization for iteration through mouse-detected objects in interactive context or in local context if it is opened. +See also: DetectedCurrentOwner(), MoreDetected(), NextDetected(). ") InitDetected; void InitDetected(); - /****************** InitSelected ******************/ - /**** md5 signature: 5a647272f34af26ffd1cb3083091517d ****/ + /****** AIS_InteractiveContext::InitSelected ******/ + /****** md5 signature: 5a647272f34af26ffd1cb3083091517d ******/ %feature("compactdefaultargs") InitSelected; - %feature("autodoc", "Initializes a scan of the selected objects. @sa selectedowner()/moreselected()/nextselected(). - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Initializes a scan of the selected objects. +See also: SelectedOwner(), MoreSelected(), NextSelected(). ") InitSelected; void InitSelected(); - /****************** IsCurrent ******************/ - /**** md5 signature: 2c28b7fccf52ba48ec1ee035f561df97 ****/ + /****** AIS_InteractiveContext::IsCurrent ******/ + /****** md5 signature: 2c28b7fccf52ba48ec1ee035f561df97 ******/ %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. - + %feature("autodoc", " Parameters ---------- theObject: AIS_InteractiveObject -Returns +Return ------- bool + +Description +----------- +No available documentation. ") IsCurrent; Standard_Boolean IsCurrent(const opencascade::handle & theObject); - /****************** IsDisplayed ******************/ - /**** md5 signature: ecf149ce37d3b960446b93fc86709fc3 ****/ + /****** AIS_InteractiveContext::IsDisplayed ******/ + /****** md5 signature: ecf149ce37d3b960446b93fc86709fc3 ******/ %feature("compactdefaultargs") IsDisplayed; - %feature("autodoc", "Returns true if object is displayed in the interactive context. - + %feature("autodoc", " Parameters ---------- anIobj: AIS_InteractiveObject -Returns +Return ------- bool + +Description +----------- +Returns true if Object is displayed in the interactive context. ") IsDisplayed; Standard_Boolean IsDisplayed(const opencascade::handle & anIobj); - /****************** IsDisplayed ******************/ - /**** md5 signature: a1ae8679353cd72804eb499d4aee8ded ****/ + /****** AIS_InteractiveContext::IsDisplayed ******/ + /****** md5 signature: a1ae8679353cd72804eb499d4aee8ded ******/ %feature("compactdefaultargs") IsDisplayed; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- aniobj: AIS_InteractiveObject aMode: int -Returns +Return ------- bool + +Description +----------- +No available documentation. ") IsDisplayed; Standard_Boolean IsDisplayed(const opencascade::handle & aniobj, const Standard_Integer aMode); - /****************** IsHilighted ******************/ - /**** md5 signature: b43be3c44fd163fff4750f33b968090a ****/ + /****** AIS_InteractiveContext::IsHilighted ******/ + /****** md5 signature: b43be3c44fd163fff4750f33b968090a ******/ %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. - + %feature("autodoc", " Parameters ---------- theObj: AIS_InteractiveObject -Returns +Return ------- bool + +Description +----------- +Returns true if the object is marked as highlighted via its global status +Input parameter: theObj the object to check. ") IsHilighted; Standard_Boolean IsHilighted(const opencascade::handle & theObj); - /****************** IsHilighted ******************/ - /**** md5 signature: 5d7918d872a09248c3b801d85db8a988 ****/ + /****** AIS_InteractiveContext::IsHilighted ******/ + /****** md5 signature: 5d7918d872a09248c3b801d85db8a988 ******/ %feature("compactdefaultargs") IsHilighted; - %feature("autodoc", "Returns true if the owner is marked as selected @param theowner [in] the owner to check. - + %feature("autodoc", " Parameters ---------- theOwner: SelectMgr_EntityOwner -Returns +Return ------- bool + +Description +----------- +Returns true if the owner is marked as selected +Input parameter: theOwner the owner to check. ") IsHilighted; Standard_Boolean IsHilighted(const opencascade::handle & theOwner); - /****************** IsImmediateModeOn ******************/ - /**** md5 signature: 802f25d07bc3216afed5043bb5a75130 ****/ + /****** AIS_InteractiveContext::IsImmediateModeOn ******/ + /****** md5 signature: 802f25d07bc3216afed5043bb5a75130 ******/ %feature("compactdefaultargs") IsImmediateModeOn; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsImmediateModeOn; Standard_Boolean IsImmediateModeOn(); - /****************** IsSelected ******************/ - /**** md5 signature: e7bf93b9da84e840c50f69967794905c ****/ + /****** AIS_InteractiveContext::IsSelected ******/ + /****** md5 signature: e7bf93b9da84e840c50f69967794905c ******/ %feature("compactdefaultargs") IsSelected; - %feature("autodoc", "Returns true is the owner given is selected. - + %feature("autodoc", " Parameters ---------- theOwner: SelectMgr_EntityOwner -Returns +Return ------- bool + +Description +----------- +Returns true is the owner given is selected. ") IsSelected; Standard_Boolean IsSelected(const opencascade::handle & theOwner); - /****************** IsSelected ******************/ - /**** md5 signature: d7dd3e491d524a532b0124af17ea19cf ****/ + /****** AIS_InteractiveContext::IsSelected ******/ + /****** md5 signature: d7dd3e491d524a532b0124af17ea19cf ******/ %feature("compactdefaultargs") IsSelected; - %feature("autodoc", "Returns true is the object given is selected. - + %feature("autodoc", " Parameters ---------- theObj: AIS_InteractiveObject -Returns +Return ------- bool + +Description +----------- +Returns true is the object given is selected. ") IsSelected; Standard_Boolean IsSelected(const opencascade::handle & theObj); - /****************** IsoNumber ******************/ - /**** md5 signature: 67c6591eeef40686da48e9c8279f7db4 ****/ + /****** AIS_InteractiveContext::IsoNumber ******/ + /****** md5 signature: 67c6591eeef40686da48e9c8279f7db4 ******/ %feature("compactdefaultargs") IsoNumber; - %feature("autodoc", "Returns the number of u and v isoparameters displayed. - + %feature("autodoc", " Parameters ---------- -WhichIsos: AIS_TypeOfIso,optional - default value is AIS_TOI_Both +WhichIsos: AIS_TypeOfIso (optional, default to AIS_TOI_Both) -Returns +Return ------- int + +Description +----------- +Returns the number of U and V isoparameters displayed. ") IsoNumber; Standard_Integer IsoNumber(const AIS_TypeOfIso WhichIsos = AIS_TOI_Both); - /****************** IsoOnPlane ******************/ - /**** md5 signature: 44f2fd1c20ce3c1811c498bdca672c1e ****/ + /****** AIS_InteractiveContext::IsoOnPlane ******/ + /****** md5 signature: 48280fa3ffd8bf23acfa138c4eadbe98 ******/ %feature("compactdefaultargs") IsoOnPlane; - %feature("autodoc", "Returns true if drawing isoparameters on planes is enabled. - + %feature("autodoc", " Parameters ---------- -SwitchOn: bool +theToSwitchOn: bool -Returns +Return ------- None + +Description +----------- +Returns True if drawing isoparameters on planes is enabled. ") IsoOnPlane; - void IsoOnPlane(const Standard_Boolean SwitchOn); + void IsoOnPlane(const Standard_Boolean theToSwitchOn); - /****************** IsoOnPlane ******************/ - /**** md5 signature: 2399069013e2297195a97f40a31fdec3 ****/ + /****** AIS_InteractiveContext::IsoOnPlane ******/ + /****** md5 signature: 725ae5fc83d7314e8a35910b73791b5a ******/ %feature("compactdefaultargs") IsoOnPlane; - %feature("autodoc", "Returns true if drawing isoparameters on planes is enabled. if = false,. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns True if drawing isoparameters on planes is enabled. if = False,. ") IsoOnPlane; Standard_Boolean IsoOnPlane(); - /****************** IsoOnTriangulation ******************/ - /**** md5 signature: 6c6b851432f9c77e0d427b8894d13702 ****/ + /****** AIS_InteractiveContext::IsoOnTriangulation ******/ + /****** md5 signature: 6c6b851432f9c77e0d427b8894d13702 ******/ %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. - + %feature("autodoc", " Parameters ---------- theIsEnabled: bool theObject: AIS_InteractiveObject -Returns +Return ------- None + +Description +----------- +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. ") IsoOnTriangulation; void IsoOnTriangulation(const Standard_Boolean theIsEnabled, const opencascade::handle & theObject); - /****************** IsoOnTriangulation ******************/ - /**** md5 signature: 4ed3479d463d2bbfc2b72917813f3b3b ****/ + /****** AIS_InteractiveContext::IsoOnTriangulation ******/ + /****** md5 signature: 8e5ad4a63beb9c4793c9d1b96a3b51d2 ******/ %feature("compactdefaultargs") IsoOnTriangulation; - %feature("autodoc", "Enables or disables on-triangulation build for isolines for default drawer. in case if on-triangulation builder is disabled, default on-plane builder will compute isolines for the object given. - + %feature("autodoc", " Parameters ---------- theToSwitchOn: bool -Returns +Return ------- None + +Description +----------- +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. ") IsoOnTriangulation; void IsoOnTriangulation(const Standard_Boolean theToSwitchOn); - /****************** IsoOnTriangulation ******************/ - /**** md5 signature: 35291a4239d94266e0d7a4a8b135deb7 ****/ + /****** AIS_InteractiveContext::IsoOnTriangulation ******/ + /****** md5 signature: 86d0a4f726e225c8973eb7c232be52f2 ******/ %feature("compactdefaultargs") IsoOnTriangulation; - %feature("autodoc", "Returns true if drawing isolines on triangulation algorithm is enabled. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns true if drawing isolines on triangulation algorithm is enabled. ") IsoOnTriangulation; Standard_Boolean IsoOnTriangulation(); - /****************** LastActiveView ******************/ - /**** md5 signature: 917b175d2fccb1c48372a3e9d347f6f4 ****/ + /****** AIS_InteractiveContext::LastActiveView ******/ + /****** md5 signature: 917b175d2fccb1c48372a3e9d347f6f4 ******/ %feature("compactdefaultargs") LastActiveView; - %feature("autodoc", "Returns last active view (argument of moveto()/select() methods). - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns last active View (argument of MoveTo()/Select() methods). ") LastActiveView; opencascade::handle LastActiveView(); - /****************** Load ******************/ - /**** md5 signature: 1613cc105e3d94428049dd01e84bdcec ****/ + /****** AIS_InteractiveContext::Load ******/ + /****** md5 signature: 1613cc105e3d94428049dd01e84bdcec ******/ %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. - + %feature("autodoc", " Parameters ---------- theObj: AIS_InteractiveObject -theSelectionMode: int,optional - default value is -1 +theSelectionMode: int (optional, default to -1) -Returns +Return ------- None + +Description +----------- +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. ") Load; void Load(const opencascade::handle & theObj, const Standard_Integer theSelectionMode = -1); - /****************** Load ******************/ - /**** md5 signature: 4c20b3a553cb0de0cb199ecfc09410a8 ****/ + /****** AIS_InteractiveContext::Load ******/ + /****** md5 signature: 4c20b3a553cb0de0cb199ecfc09410a8 ******/ %feature("compactdefaultargs") Load; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theObj: AIS_InteractiveObject theSelectionMode: int : bool -Returns +Return ------- None + +Description +----------- +No available documentation. ") Load; void Load(const opencascade::handle & theObj, Standard_Integer theSelectionMode, Standard_Boolean ); - /****************** Location ******************/ - /**** md5 signature: e6bd8403c84dda3a7567f9c4cf6245fd ****/ + /****** AIS_InteractiveContext::Location ******/ + /****** md5 signature: e6bd8403c84dda3a7567f9c4cf6245fd ******/ %feature("compactdefaultargs") Location; - %feature("autodoc", "Returns the location of the object. - + %feature("autodoc", " Parameters ---------- theObject: AIS_InteractiveObject -Returns +Return ------- TopLoc_Location + +Description +----------- +Returns the location of the Object. ") Location; TopLoc_Location Location(const opencascade::handle & theObject); - /****************** MainPrsMgr ******************/ - /**** md5 signature: ac85fee1d90b00c3d3b7b78afe44671e ****/ + /****** AIS_InteractiveContext::MainPrsMgr ******/ + /****** md5 signature: bdc4498bf12a71cbbfdc608a2521c7ca ******/ %feature("compactdefaultargs") MainPrsMgr; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- -opencascade::handle +opencascade::handle + +Description +----------- +No available documentation. ") MainPrsMgr; - const opencascade::handle & MainPrsMgr(); + const opencascade::handle & MainPrsMgr(); - /****************** MainSelector ******************/ - /**** md5 signature: 324583e97a6b1f0d3b2bbf32bc96a6ef ****/ + /****** AIS_InteractiveContext::MainSelector ******/ + /****** md5 signature: 324583e97a6b1f0d3b2bbf32bc96a6ef ******/ %feature("compactdefaultargs") MainSelector; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") MainSelector; const opencascade::handle & MainSelector(); - /****************** MoreCurrent ******************/ - /**** md5 signature: 1a8720231c263e320b851a9c4ea2f693 ****/ + /****** AIS_InteractiveContext::MoreCurrent ******/ + /****** md5 signature: 1a8720231c263e320b851a9c4ea2f693 ******/ %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. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") MoreCurrent; Standard_Boolean MoreCurrent(); - /****************** MoreDetected ******************/ - /**** md5 signature: 07e8132e91725af6307db9bfd564c136 ****/ + /****** AIS_InteractiveContext::MoreDetected ******/ + /****** md5 signature: 07e8132e91725af6307db9bfd564c136 ******/ %feature("compactdefaultargs") MoreDetected; - %feature("autodoc", "Return true if there is more mouse-detected objects after the current one during iteration through mouse-detected interactive objects. @sa detectedcurrentowner()/initdetected()/nextdetected(). - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return True if there is more mouse-detected objects after the current one during iteration through mouse-detected interactive objects. +See also: DetectedCurrentOwner(), InitDetected(), NextDetected(). ") MoreDetected; Standard_Boolean MoreDetected(); - /****************** MoreSelected ******************/ - /**** md5 signature: 9f460e4981ece0e01fad2077174757e0 ****/ + /****** AIS_InteractiveContext::MoreSelected ******/ + /****** md5 signature: 9f460e4981ece0e01fad2077174757e0 ******/ %feature("compactdefaultargs") MoreSelected; - %feature("autodoc", "Returns true if there is another object found by the scan of the list of selected objects. @sa selectedowner()/initselected()/nextselected(). - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns true if there is another object found by the scan of the list of selected objects. +See also: SelectedOwner(), InitSelected(), NextSelected(). ") MoreSelected; Standard_Boolean MoreSelected(); - /****************** MoveTo ******************/ - /**** md5 signature: 9c6ee0b190031604e2ad3ee603a732e4 ****/ + /****** AIS_InteractiveContext::MoveTo ******/ + /****** md5 signature: 9c6ee0b190031604e2ad3ee603a732e4 ******/ %feature("compactdefaultargs") MoveTo; - %feature("autodoc", "Relays mouse position in pixels thexpix and theypix to the interactive context selectors. this is done by the view theview passing this position to the main viewer and updating it. if thetoredrawonupdate is set to false, callee should call redrawimmediate() to highlight detected object. @sa pickingstrategy(). - + %feature("autodoc", " Parameters ---------- theXPix: int @@ -3803,375 +4332,488 @@ theYPix: int theView: V3d_View theToRedrawOnUpdate: bool -Returns +Return ------- AIS_StatusOfDetection + +Description +----------- +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. +See also: PickingStrategy() +See also: HighlightStyle() defining default dynamic highlight styles of detected owners (Prs3d_TypeOfHighlight_Dynamic and Prs3d_TypeOfHighlight_LocalDynamic) +See also: PrsMgr_PresentableObject::DynamicHilightAttributes() defining per-object dynamic highlight style of detected owners (overrides defaults). ") MoveTo; AIS_StatusOfDetection MoveTo(const Standard_Integer theXPix, const Standard_Integer theYPix, const opencascade::handle & theView, const Standard_Boolean theToRedrawOnUpdate); - /****************** NbCurrents ******************/ - /**** md5 signature: 2bd21aea6055d1a4ef8d258c5b2a1542 ****/ - %feature("compactdefaultargs") NbCurrents; - %feature("autodoc", "No available documentation. + /****** AIS_InteractiveContext::MoveTo ******/ + /****** md5 signature: 2d4d11946cb3b5d59dc861dff00a7f66 ******/ + %feature("compactdefaultargs") MoveTo; + %feature("autodoc", " +Parameters +---------- +theAxis: gp_Ax1 +theView: V3d_View +theToRedrawOnUpdate: bool -Returns +Return +------- +AIS_StatusOfDetection + +Description +----------- +Relays axis theAxis to the interactive context selectors. This is done by the view theView passing this axis to the main viewer and updating it. If theToRedrawOnUpdate is set to false, callee should call RedrawImmediate() to highlight detected object. +See also: PickingStrategy(). +") MoveTo; + AIS_StatusOfDetection MoveTo(const gp_Ax1 & theAxis, const opencascade::handle & theView, const Standard_Boolean theToRedrawOnUpdate); + + /****** AIS_InteractiveContext::NbCurrents ******/ + /****** md5 signature: 2bd21aea6055d1a4ef8d258c5b2a1542 ******/ + %feature("compactdefaultargs") NbCurrents; + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbCurrents; Standard_Integer NbCurrents(); - /****************** NbSelected ******************/ - /**** md5 signature: 29cc2a3b075c044d0d4a48fbbe1b0094 ****/ + /****** AIS_InteractiveContext::NbSelected ******/ + /****** md5 signature: 29cc2a3b075c044d0d4a48fbbe1b0094 ******/ %feature("compactdefaultargs") NbSelected; - %feature("autodoc", "Count a number of selected entities using initselected()+moreselected()+nextselected() iterator. @sa selectedowner()/initselected()/moreselected()/nextselected(). - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Count a number of selected entities using InitSelected()+MoreSelected()+NextSelected() iterator. +See also: SelectedOwner(), InitSelected(), MoreSelected(), NextSelected(). ") NbSelected; Standard_Integer NbSelected(); - /****************** NextCurrent ******************/ - /**** md5 signature: d0fa06bf08aae72d9d2f78c98b20d4f9 ****/ + /****** AIS_InteractiveContext::NextCurrent ******/ + /****** md5 signature: d0fa06bf08aae72d9d2f78c98b20d4f9 ******/ %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. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") NextCurrent; void NextCurrent(); - /****************** NextDetected ******************/ - /**** md5 signature: 80e9abbe7c307e899704c0aa75085271 ****/ + /****** AIS_InteractiveContext::NextDetected ******/ + /****** md5 signature: 80e9abbe7c307e899704c0aa75085271 ******/ %feature("compactdefaultargs") NextDetected; - %feature("autodoc", "Gets next current object during iteration through mouse-detected interactive objects. @sa detectedcurrentowner()/initdetected()/moredetected(). - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Gets next current object during iteration through mouse-detected interactive objects. +See also: DetectedCurrentOwner(), InitDetected(), MoreDetected(). ") NextDetected; void NextDetected(); - /****************** NextSelected ******************/ - /**** md5 signature: b0ac689aff47b7f0c7ffd7973ff9538f ****/ + /****** AIS_InteractiveContext::NextSelected ******/ + /****** md5 signature: b0ac689aff47b7f0c7ffd7973ff9538f ******/ %feature("compactdefaultargs") NextSelected; - %feature("autodoc", "Continues the scan to the next object in the list of selected objects. @sa selectedowner()/initselected()/moreselected(). - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Continues the scan to the next object in the list of selected objects. +See also: SelectedOwner(), InitSelected(), MoreSelected(). ") NextSelected; void NextSelected(); - /****************** ObjectsByDisplayStatus ******************/ - /**** md5 signature: 4bcd63aa892c491a7896eac1ebe4c320 ****/ - %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. + /****** AIS_InteractiveContext::ObjectIterator ******/ + /****** md5 signature: 804b294e0bb2b10425cdac1f18aab7f5 ******/ + %feature("compactdefaultargs") ObjectIterator; + %feature("autodoc", "Return +------- +AIS_DataMapIteratorOfDataMapOfIOStatus + +Description +----------- +Create iterator through all objects registered in context. +") ObjectIterator; + AIS_DataMapIteratorOfDataMapOfIOStatus ObjectIterator(); + /****** AIS_InteractiveContext::ObjectsByDisplayStatus ******/ + /****** md5 signature: 51d891b3fdbc286ef0af76b239900609 ******/ + %feature("compactdefaultargs") ObjectsByDisplayStatus; + %feature("autodoc", " Parameters ---------- -theStatus: AIS_DisplayStatus +theStatus: PrsMgr_DisplayStatus theListOfIO: AIS_ListOfInteractive -Returns +Return ------- None + +Description +----------- +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. ") ObjectsByDisplayStatus; - void ObjectsByDisplayStatus(const AIS_DisplayStatus theStatus, AIS_ListOfInteractive & theListOfIO); + void ObjectsByDisplayStatus(const PrsMgr_DisplayStatus theStatus, AIS_ListOfInteractive & theListOfIO); - /****************** ObjectsByDisplayStatus ******************/ - /**** md5 signature: 2983aa8e8e07ff883ac47f17cda6d066 ****/ + /****** AIS_InteractiveContext::ObjectsByDisplayStatus ******/ + /****** md5 signature: cd9150453dc815573dc7553749c81a33 ******/ %feature("compactdefaultargs") ObjectsByDisplayStatus; - %feature("autodoc", "Gives the list of objects with indicated display status type and signature by default, = -1 means control only on . - + %feature("autodoc", " Parameters ---------- WhichKind: AIS_KindOfInteractive WhichSignature: int -theStatus: AIS_DisplayStatus +theStatus: PrsMgr_DisplayStatus theListOfIO: AIS_ListOfInteractive -Returns +Return ------- None + +Description +----------- +gives the list of objects with indicated display status Type and signature by Default, = -1 means control only on . ") ObjectsByDisplayStatus; - void ObjectsByDisplayStatus(const AIS_KindOfInteractive WhichKind, const Standard_Integer WhichSignature, const AIS_DisplayStatus theStatus, AIS_ListOfInteractive & theListOfIO); + void ObjectsByDisplayStatus(const AIS_KindOfInteractive WhichKind, const Standard_Integer WhichSignature, const PrsMgr_DisplayStatus theStatus, AIS_ListOfInteractive & theListOfIO); - /****************** ObjectsForView ******************/ - /**** md5 signature: 40843a5ed70af61c5c2068857d2e8f2d ****/ + /****** AIS_InteractiveContext::ObjectsForView ******/ + /****** md5 signature: 03db815545a73176f5e924de76ca30b2 ******/ %feature("compactdefaultargs") ObjectsForView; - %feature("autodoc", "Query objects visible or hidden in specified view due to affinity mask. - + %feature("autodoc", " Parameters ---------- theListOfIO: AIS_ListOfInteractive theView: V3d_View theIsVisibleInView: bool -theStatus: AIS_DisplayStatus,optional - default value is AIS_DS_None +theStatus: PrsMgr_DisplayStatus (optional, default to PrsMgr_DisplayStatus_None) -Returns +Return ------- None + +Description +----------- +Query objects visible or hidden in specified view due to affinity mask. ") ObjectsForView; - void ObjectsForView(AIS_ListOfInteractive & theListOfIO, const opencascade::handle & theView, const Standard_Boolean theIsVisibleInView, const AIS_DisplayStatus theStatus = AIS_DS_None); + void ObjectsForView(AIS_ListOfInteractive & theListOfIO, const opencascade::handle & theView, const Standard_Boolean theIsVisibleInView, const PrsMgr_DisplayStatus theStatus = PrsMgr_DisplayStatus_None); - /****************** ObjectsInside ******************/ - /**** md5 signature: d09ee8b48f1dd0dc665da27f01e182bd ****/ + /****** AIS_InteractiveContext::ObjectsInside ******/ + /****** md5 signature: e893957ca156ab9c1aea481eaeae6510 ******/ %feature("compactdefaultargs") ObjectsInside; - %feature("autodoc", "Fills with objects of a particular type and signature with no consideration of display status. by default, = -1 means control only on . if = ais_koi_none and = -1, all the objects are put into the list. - + %feature("autodoc", " Parameters ---------- aListOfIO: AIS_ListOfInteractive -WhichKind: AIS_KindOfInteractive,optional - default value is AIS_KOI_None -WhichSignature: int,optional - default value is -1 +WhichKind: AIS_KindOfInteractive (optional, default to AIS_KindOfInteractive_None) +WhichSignature: int (optional, default to -1) -Returns +Return ------- None + +Description +----------- +fills with objects of a particular Type and Signature with no consideration of display status. by Default, = -1 means control only on . if = AIS_KindOfInteractive_None and = -1, all the objects are put into the list. ") ObjectsInside; - void ObjectsInside(AIS_ListOfInteractive & aListOfIO, const AIS_KindOfInteractive WhichKind = AIS_KOI_None, const Standard_Integer WhichSignature = -1); + void ObjectsInside(AIS_ListOfInteractive & aListOfIO, const AIS_KindOfInteractive WhichKind = AIS_KindOfInteractive_None, const Standard_Integer WhichSignature = -1); - /****************** PickingStrategy ******************/ - /**** md5 signature: 7ec32744d1635811c168c2b831c6636a ****/ + /****** AIS_InteractiveContext::PickingStrategy ******/ + /****** md5 signature: 7ec32744d1635811c168c2b831c6636a ******/ %feature("compactdefaultargs") PickingStrategy; - %feature("autodoc", "Return picking strategy; selectmgr_pickingstrategy_firstacceptable by default. @sa moveto()/filters(). - -Returns + %feature("autodoc", "Return ------- SelectMgr_PickingStrategy + +Description +----------- +Return picking strategy; SelectMgr_PickingStrategy_FirstAcceptable by default. +See also: MoveTo(), Filters(). ") PickingStrategy; SelectMgr_PickingStrategy PickingStrategy(); - /****************** PixelTolerance ******************/ - /**** md5 signature: 8078ba0406b978ded77c2e81f2ee556f ****/ + /****** AIS_InteractiveContext::PixelTolerance ******/ + /****** md5 signature: 8078ba0406b978ded77c2e81f2ee556f ******/ %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.). - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +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.). ") PixelTolerance; Standard_Integer PixelTolerance(); - /****************** PlaneSize ******************/ - /**** md5 signature: f2c01cfa4b361519aaccdf814526ddcb ****/ + /****** AIS_InteractiveContext::PlaneSize ******/ + /****** md5 signature: f2c01cfa4b361519aaccdf814526ddcb ******/ %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. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- XSize: float YSize: float + +Description +----------- +Returns true if the length in the X direction XSize is the same as that in the Y direction YSize. ") PlaneSize; Standard_Boolean PlaneSize(Standard_Real &OutValue, Standard_Real &OutValue); - /****************** PolygonOffsets ******************/ - /**** md5 signature: c1936a0a3ad3599bb263dc0a176d83eb ****/ + /****** AIS_InteractiveContext::PolygonOffsets ******/ + /****** md5 signature: c1936a0a3ad3599bb263dc0a176d83eb ******/ %feature("compactdefaultargs") PolygonOffsets; - %feature("autodoc", "Retrieves current polygon offsets settings for object. - + %feature("autodoc", " Parameters ---------- anObj: AIS_InteractiveObject -aFactor: Standard_ShortReal -aUnits: Standard_ShortReal -Returns +Return ------- aMode: int -") PolygonOffsets; - void PolygonOffsets(const opencascade::handle & anObj, Standard_Integer &OutValue, Standard_ShortReal & aFactor, Standard_ShortReal & aUnits); +aFactor: float +aUnits: float - /****************** PurgeDisplay ******************/ - /**** md5 signature: 98035b1ff513129f455deed9d95ed3f0 ****/ - %feature("compactdefaultargs") PurgeDisplay; - %feature("autodoc", "Clears all the structures which don't belong to objects displayed at neutral point only effective when no local context is opened... returns the number of removed structures from the viewers. - -Returns -------- -int -") PurgeDisplay; - Standard_Integer PurgeDisplay(); +Description +----------- +Retrieves current polygon offsets settings for Object. +") PolygonOffsets; + void PolygonOffsets(const opencascade::handle & anObj, Standard_Integer &OutValue, Standard_ShortReal &OutValue, Standard_ShortReal &OutValue); - /****************** RebuildSelectionStructs ******************/ - /**** md5 signature: fc018c2ec4a8be467c479b724e4da811 ****/ + /****** AIS_InteractiveContext::RebuildSelectionStructs ******/ + /****** md5 signature: fc018c2ec4a8be467c479b724e4da811 ******/ %feature("compactdefaultargs") RebuildSelectionStructs; - %feature("autodoc", "Rebuilds 1st level of bvh selection forcibly. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Rebuilds 1st level of BVH selection forcibly. ") RebuildSelectionStructs; void RebuildSelectionStructs(); - /****************** RecomputePrsOnly ******************/ - /**** md5 signature: 0b528d2535c19477d902b704c03a7eec ****/ + /****** AIS_InteractiveContext::RecomputePrsOnly ******/ + /****** md5 signature: 0b528d2535c19477d902b704c03a7eec ******/ %feature("compactdefaultargs") RecomputePrsOnly; - %feature("autodoc", "Recomputes the displayed presentations, flags the others. doesn't update presentations. - + %feature("autodoc", " Parameters ---------- theIObj: AIS_InteractiveObject theToUpdateViewer: bool -theAllModes: bool,optional - default value is Standard_False +theAllModes: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +Recomputes the displayed presentations, flags the others. Doesn't update presentations. ") RecomputePrsOnly; void RecomputePrsOnly(const opencascade::handle & theIObj, const Standard_Boolean theToUpdateViewer, const Standard_Boolean theAllModes = Standard_False); - /****************** RecomputeSelectionOnly ******************/ - /**** md5 signature: e3225619e43fcc63cdd183d03946a41e ****/ + /****** AIS_InteractiveContext::RecomputeSelectionOnly ******/ + /****** md5 signature: e3225619e43fcc63cdd183d03946a41e ******/ %feature("compactdefaultargs") RecomputeSelectionOnly; - %feature("autodoc", "Recomputes the active selections, flags the others. doesn't update presentations. - + %feature("autodoc", " Parameters ---------- anIObj: AIS_InteractiveObject -Returns +Return ------- None + +Description +----------- +Recomputes the active selections, flags the others. Doesn't update presentations. ") RecomputeSelectionOnly; void RecomputeSelectionOnly(const opencascade::handle & anIObj); - /****************** Redisplay ******************/ - /**** md5 signature: 947c6a52bcfc11efad67ab17759161b7 ****/ + /****** AIS_InteractiveContext::Redisplay ******/ + /****** md5 signature: 947c6a52bcfc11efad67ab17759161b7 ******/ %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. - + %feature("autodoc", " Parameters ---------- theIObj: AIS_InteractiveObject theToUpdateViewer: bool -theAllModes: bool,optional - default value is Standard_False +theAllModes: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +Recomputes the seen parts presentation of the Object. If theAllModes equals true, all presentations are present in the object even if unseen. ") Redisplay; void Redisplay(const opencascade::handle & theIObj, const Standard_Boolean theToUpdateViewer, const Standard_Boolean theAllModes = Standard_False); - /****************** Redisplay ******************/ - /**** md5 signature: 46c62f4d2ef46f9720e84ed2470660f9 ****/ + /****** AIS_InteractiveContext::Redisplay ******/ + /****** md5 signature: 46c62f4d2ef46f9720e84ed2470660f9 ******/ %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. - + %feature("autodoc", " Parameters ---------- theTypeOfObject: AIS_KindOfInteractive theSignature: int theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +Recomputes the Prs/Selection of displayed objects of a given type and a given signature. if signature = -1 doesn't take signature criterion. ") Redisplay; void Redisplay(const AIS_KindOfInteractive theTypeOfObject, const Standard_Integer theSignature, const Standard_Boolean theToUpdateViewer); - /****************** RedrawImmediate ******************/ - /**** md5 signature: 9829a5f87a4517fdc1d9d8e6cd654438 ****/ + /****** AIS_InteractiveContext::RedrawImmediate ******/ + /****** md5 signature: 9829a5f87a4517fdc1d9d8e6cd654438 ******/ %feature("compactdefaultargs") RedrawImmediate; - %feature("autodoc", "Redraws immediate structures in all views of the viewer given taking into account its visibility. - + %feature("autodoc", " Parameters ---------- theViewer: V3d_Viewer -Returns +Return ------- None + +Description +----------- +Redraws immediate structures in all views of the viewer given taking into account its visibility. ") RedrawImmediate; void RedrawImmediate(const opencascade::handle & theViewer); - /****************** Remove ******************/ - /**** md5 signature: 65f35a6cfb567319856ce5af05c5f34a ****/ + /****** AIS_InteractiveContext::Remove ******/ + /****** md5 signature: 65f35a6cfb567319856ce5af05c5f34a ******/ %feature("compactdefaultargs") Remove; - %feature("autodoc", "Removes object from every viewer. - + %feature("autodoc", " Parameters ---------- theIObj: AIS_InteractiveObject theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +Removes Object from every viewer. ") Remove; void Remove(const opencascade::handle & theIObj, const Standard_Boolean theToUpdateViewer); - /****************** RemoveAll ******************/ - /**** md5 signature: f450dd60f2781efb4892d6321edefdc6 ****/ + /****** AIS_InteractiveContext::RemoveAll ******/ + /****** md5 signature: f450dd60f2781efb4892d6321edefdc6 ******/ %feature("compactdefaultargs") RemoveAll; - %feature("autodoc", "Removes all the objects from context. - + %feature("autodoc", " Parameters ---------- theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +Removes all the objects from Context. ") RemoveAll; void RemoveAll(const Standard_Boolean theToUpdateViewer); - /****************** RemoveFilter ******************/ - /**** md5 signature: 2a3b89c9253eed8d2e19ca8eee689bf0 ****/ + /****** AIS_InteractiveContext::RemoveFilter ******/ + /****** md5 signature: 694a9fa10d2e0617b4c8daffb2ec97d7 ******/ %feature("compactdefaultargs") RemoveFilter; - %feature("autodoc", "Removes a filter from context. - + %feature("autodoc", " Parameters ---------- theFilter: SelectMgr_Filter -Returns +Return ------- None + +Description +----------- +Removes a filter from context. ") RemoveFilter; void RemoveFilter(const opencascade::handle & theFilter); - /****************** RemoveFilters ******************/ - /**** md5 signature: c67437b03a9b7287c85294a22b5cf833 ****/ + /****** AIS_InteractiveContext::RemoveFilters ******/ + /****** md5 signature: 76b1dac56b76ef3b70fd79415970d062 ******/ %feature("compactdefaultargs") RemoveFilters; - %feature("autodoc", "Remove all filters from context. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Remove all filters from context. ") RemoveFilters; void RemoveFilters(); - /****************** ResetLocation ******************/ - /**** md5 signature: 80b2588af111ed65716dd5f1f6899724 ****/ + /****** AIS_InteractiveContext::ResetLocation ******/ + /****** md5 signature: 80b2588af111ed65716dd5f1f6899724 ******/ %feature("compactdefaultargs") ResetLocation; - %feature("autodoc", "Puts the object back into its initial position. - + %feature("autodoc", " Parameters ---------- theObject: AIS_InteractiveObject -Returns +Return ------- None + +Description +----------- +Puts the Object back into its initial position. ") ResetLocation; void ResetLocation(const opencascade::handle & theObject); - /****************** Select ******************/ - /**** md5 signature: 440778a1d119dc9eec978a78067df06f ****/ + /****** AIS_InteractiveContext::Select ******/ + /****** md5 signature: c71757aa96bd289bdb9ac82fa6981ef9 ******/ %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. + %feature("autodoc", " +Parameters +---------- +theOwners: AIS_NArray1OfEntityOwner +theSelScheme: AIS_SelectionScheme + +Return +------- +AIS_StatusOfPick + +Description +----------- +Sets list of owner selected/deselected using specified selection scheme. +Parameter theOwners owners to change selection state +Parameter theSelScheme selection scheme +Return: picking status. +") Select; + AIS_StatusOfPick Select(const AIS_NArray1OfEntityOwner & theOwners, const AIS_SelectionScheme theSelScheme); + /****** AIS_InteractiveContext::Select ******/ + /****** md5 signature: 440778a1d119dc9eec978a78067df06f ******/ + %feature("compactdefaultargs") Select; + %feature("autodoc", " Parameters ---------- theXPMin: int @@ -4181,847 +4823,1129 @@ theYPMax: int theView: V3d_View theToUpdateViewer: bool -Returns +Return ------- AIS_StatusOfPick + +Description +----------- +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. ") 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); - /****************** Select ******************/ - /**** md5 signature: 2a92ae056b4a11b086ad1207d7fea0dd ****/ + /****** AIS_InteractiveContext::Select ******/ + /****** md5 signature: 2a92ae056b4a11b086ad1207d7fea0dd ******/ %feature("compactdefaultargs") Select; - %feature("autodoc", "Polyline selection; clears the previous picked list. - + %feature("autodoc", " Parameters ---------- thePolyline: TColgp_Array1OfPnt2d theView: V3d_View theToUpdateViewer: bool -Returns +Return ------- AIS_StatusOfPick + +Description +----------- +polyline selection; clears the previous picked list. ") Select; AIS_StatusOfPick Select(const TColgp_Array1OfPnt2d & thePolyline, const opencascade::handle & theView, const Standard_Boolean theToUpdateViewer); - /****************** Select ******************/ - /**** md5 signature: e14f29de8bcca1ca7d733b513df83374 ****/ + /****** AIS_InteractiveContext::Select ******/ + /****** md5 signature: e14f29de8bcca1ca7d733b513df83374 ******/ %feature("compactdefaultargs") Select; - %feature("autodoc", "Stores and hilights the previous detected; unhilights the previous picked. @sa moveto(). - + %feature("autodoc", " Parameters ---------- theToUpdateViewer: bool -Returns +Return ------- AIS_StatusOfPick + +Description +----------- +Stores and hilights the previous detected; Unhilights the previous picked. +See also: MoveTo(). ") Select; AIS_StatusOfPick Select(const Standard_Boolean theToUpdateViewer); - /****************** SelectedInteractive ******************/ - /**** md5 signature: b6273836cee8954a2faee535a7126f4e ****/ - %feature("compactdefaultargs") SelectedInteractive; - %feature("autodoc", "Return opencascade::handle::downcast (selectedowner()->selectable()). @sa selectedowner(). + /****** AIS_InteractiveContext::SelectDetected ******/ + /****** md5 signature: 89506ff221e1c7c4fc54b977e288b0b8 ******/ + %feature("compactdefaultargs") SelectDetected; + %feature("autodoc", " +Parameters +---------- +theSelScheme: AIS_SelectionScheme (optional, default to AIS_SelectionScheme_Replace) + +Return +------- +AIS_StatusOfPick + +Description +----------- +Select and hilights the previous detected via AIS_InteractiveContext::MoveTo() method; unhilights the previous picked. Viewer should be explicitly redrawn after selection. +Input parameter: theSelScheme selection scheme +Return: picking status //! +See also: HighlightStyle() defining default highlight styles of selected owners (Prs3d_TypeOfHighlight_Selected and Prs3d_TypeOfHighlight_LocalSelected) +See also: PrsMgr_PresentableObject::HilightAttributes() defining per-object highlight style of selected owners (overrides defaults). +") SelectDetected; + AIS_StatusOfPick SelectDetected(const AIS_SelectionScheme theSelScheme = AIS_SelectionScheme_Replace); + + /****** AIS_InteractiveContext::SelectPoint ******/ + /****** md5 signature: 4544552d38230d3a0cabb487e3aaef7c ******/ + %feature("compactdefaultargs") SelectPoint; + %feature("autodoc", " +Parameters +---------- +thePnt: Graphic3d_Vec2i +theView: V3d_View +theSelScheme: AIS_SelectionScheme (optional, default to AIS_SelectionScheme_Replace) + +Return +------- +AIS_StatusOfPick + +Description +----------- +Selects the topmost object picked by the point in the view, Viewer should be explicitly redrawn after selection. +Input parameter: thePnt point pixel coordinates within the view +Input parameter: theView active view where point is defined +Input parameter: theSelScheme selection scheme +Return: picking status. +") SelectPoint; + AIS_StatusOfPick SelectPoint(const Graphic3d_Vec2i & thePnt, const opencascade::handle & theView, const AIS_SelectionScheme theSelScheme = AIS_SelectionScheme_Replace); + + /****** AIS_InteractiveContext::SelectPolygon ******/ + /****** md5 signature: da0b3aa40aa2485939f28c52c4321bc7 ******/ + %feature("compactdefaultargs") SelectPolygon; + %feature("autodoc", " +Parameters +---------- +thePolyline: TColgp_Array1OfPnt2d +theView: V3d_View +theSelScheme: AIS_SelectionScheme (optional, default to AIS_SelectionScheme_Replace) + +Return +------- +AIS_StatusOfPick + +Description +----------- +Select everything found in the polygon defined by bounding polyline. Viewer should be explicitly redrawn after selection. +Input parameter: thePolyline polyline defining polygon bounds (in pixels) +Input parameter: theView active view where polyline is defined +Input parameter: theSelScheme selection scheme +Return: picking status. +") SelectPolygon; + AIS_StatusOfPick SelectPolygon(const TColgp_Array1OfPnt2d & thePolyline, const opencascade::handle & theView, const AIS_SelectionScheme theSelScheme = AIS_SelectionScheme_Replace); + + /****** AIS_InteractiveContext::SelectRectangle ******/ + /****** md5 signature: 0f5973af0c327ca20210ac5c498ef7c0 ******/ + %feature("compactdefaultargs") SelectRectangle; + %feature("autodoc", " +Parameters +---------- +thePntMin: Graphic3d_Vec2i +thePntMax: Graphic3d_Vec2i +theView: V3d_View +theSelScheme: AIS_SelectionScheme (optional, default to AIS_SelectionScheme_Replace) + +Return +------- +AIS_StatusOfPick -Returns +Description +----------- +Selects objects within the bounding rectangle. Viewer should be explicitly redrawn after selection. +Input parameter: thePntMin rectangle lower point (in pixels) +Input parameter: thePntMax rectangle upper point (in pixels) +Input parameter: theView active view where rectangle is defined +Input parameter: theSelScheme selection scheme +Return: picking status +See also: StdSelect_ViewerSelector3d::AllowOverlapDetection(). +") SelectRectangle; + AIS_StatusOfPick SelectRectangle(const Graphic3d_Vec2i & thePntMin, const Graphic3d_Vec2i & thePntMax, const opencascade::handle & theView, const AIS_SelectionScheme theSelScheme = AIS_SelectionScheme_Replace); + + /****** AIS_InteractiveContext::SelectedInteractive ******/ + /****** md5 signature: b6273836cee8954a2faee535a7126f4e ******/ + %feature("compactdefaultargs") SelectedInteractive; + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Return opencascade::handle::DownCast (SelectedOwner()->Selectable()). +See also: SelectedOwner(). ") SelectedInteractive; opencascade::handle SelectedInteractive(); - /****************** SelectedOwner ******************/ - /**** md5 signature: 4f367f2cac81145c8b4f46a462bff157 ****/ + /****** AIS_InteractiveContext::SelectedOwner ******/ + /****** md5 signature: 4f367f2cac81145c8b4f46a462bff157 ******/ %feature("compactdefaultargs") SelectedOwner; - %feature("autodoc", "Returns the owner of the selected entity. @sa initselected()/moreselected()/nextselected(). - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns the owner of the selected entity. +See also: InitSelected(), MoreSelected(), NextSelected(). ") SelectedOwner; opencascade::handle SelectedOwner(); - /****************** SelectedShape ******************/ - /**** md5 signature: 721d3a216ce98c9b5e5e9d1b15f143f5 ****/ + /****** AIS_InteractiveContext::SelectedShape ******/ + /****** md5 signature: 721d3a216ce98c9b5e5e9d1b15f143f5 ******/ %feature("compactdefaultargs") SelectedShape; - %feature("autodoc", "Returns the selected shape. basically it is just a shape returned stored by stdselect_brepowner with graphic transformation being applied: @code const opencascade::handle abrepowner = opencascade::handle::downcast (selectedowner()); topods_shape aselshape = abrepowner->shape(); topods_shape alocatedshape = aselshape.located (abrepowner->location() * aselshape.location()); @endcode @sa selectedowner()/hasselectedshape(). - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +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 +See also: SelectedOwner(), HasSelectedShape(). ") SelectedShape; TopoDS_Shape SelectedShape(); - /****************** Selection ******************/ - /**** md5 signature: 0522c4713b6259bb252f2580882a049c ****/ + /****** AIS_InteractiveContext::Selection ******/ + /****** md5 signature: 0522c4713b6259bb252f2580882a049c ******/ %feature("compactdefaultargs") Selection; - %feature("autodoc", "Returns selection instance. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns selection instance. ") Selection; const opencascade::handle & Selection(); - /****************** SelectionManager ******************/ - /**** md5 signature: 9e4dab209ad46b3c197dda1ed7898179 ****/ + /****** AIS_InteractiveContext::SelectionManager ******/ + /****** md5 signature: 9e4dab209ad46b3c197dda1ed7898179 ******/ %feature("compactdefaultargs") SelectionManager; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") SelectionManager; const opencascade::handle & SelectionManager(); - /****************** SelectionStyle ******************/ - /**** md5 signature: 3c3ddd0e1d466df6b150cfb790baa61a ****/ + /****** AIS_InteractiveContext::SelectionStyle ******/ + /****** md5 signature: 3c3ddd0e1d466df6b150cfb790baa61a ******/ %feature("compactdefaultargs") SelectionStyle; - %feature("autodoc", "Returns current selection style settings. by default: - the color of selection is quantity_noc_gray80; - the presentation for selection is completely opaque; - the type of highlight is aspect_tohm_color. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns current selection style settings corrsponding to Prs3d_TypeOfHighlight_Selected. This is just a short-cut to HighlightStyle(Prs3d_TypeOfHighlight_Selected). ") SelectionStyle; const opencascade::handle & SelectionStyle(); - /****************** SetAngleAndDeviation ******************/ - /**** md5 signature: aa67c1520d442b18293722c76e904584 ****/ + /****** AIS_InteractiveContext::SetAngleAndDeviation ******/ + /****** md5 signature: aa67c1520d442b18293722c76e904584 ******/ %feature("compactdefaultargs") SetAngleAndDeviation; - %feature("autodoc", "Calls the ais_shape setangleanddeviation to set both angle and deviation coefficients. - + %feature("autodoc", " Parameters ---------- theIObj: AIS_InteractiveObject theAngle: float theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +Calls the AIS_Shape SetAngleAndDeviation to set both Angle and Deviation coefficients. ") SetAngleAndDeviation; void SetAngleAndDeviation(const opencascade::handle & theIObj, const Standard_Real theAngle, const Standard_Boolean theToUpdateViewer); - /****************** SetAutoActivateSelection ******************/ - /**** md5 signature: ac2e58ba6564f519e5c5ac5e3ee3092e ****/ + /****** AIS_InteractiveContext::SetAutoActivateSelection ******/ + /****** md5 signature: ac2e58ba6564f519e5c5ac5e3ee3092e ******/ %feature("compactdefaultargs") SetAutoActivateSelection; - %feature("autodoc", "Enable or disable automatic activation of default selection mode while displaying the object. - + %feature("autodoc", " Parameters ---------- theIsAuto: bool -Returns +Return ------- None + +Description +----------- +Enable or disable automatic activation of default selection mode while displaying the object. ") SetAutoActivateSelection; void SetAutoActivateSelection(const Standard_Boolean theIsAuto); - /****************** SetAutomaticHilight ******************/ - /**** md5 signature: 48f9e99b030a8eaf74f5a4bb8a4486b9 ****/ + /****** AIS_InteractiveContext::SetAutomaticHilight ******/ + /****** md5 signature: 48f9e99b030a8eaf74f5a4bb8a4486b9 ******/ %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(). - + %feature("autodoc", " Parameters ---------- theStatus: bool -Returns +Return ------- None + +Description +----------- +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. //! +See also: MoveTo(), Select(), HilightWithColor(), Unhilight(). ") SetAutomaticHilight; void SetAutomaticHilight(Standard_Boolean theStatus); - /****************** SetColor ******************/ - /**** md5 signature: f81d3ed950b395ddea6c30fdc2042201 ****/ + /****** AIS_InteractiveContext::SetColor ******/ + /****** md5 signature: f81d3ed950b395ddea6c30fdc2042201 ******/ %feature("compactdefaultargs") SetColor; - %feature("autodoc", "Sets the color of the selected entity. - + %feature("autodoc", " Parameters ---------- theIObj: AIS_InteractiveObject theColor: Quantity_Color theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +Sets the color of the selected entity. ") SetColor; void SetColor(const opencascade::handle & theIObj, const Quantity_Color & theColor, const Standard_Boolean theToUpdateViewer); - /****************** SetCurrentFacingModel ******************/ - /**** md5 signature: 6e9ce30ba43f9290ff6c58e79a404edc ****/ + /****** AIS_InteractiveContext::SetCurrentFacingModel ******/ + /****** md5 signature: 6e9ce30ba43f9290ff6c58e79a404edc ******/ %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. - + %feature("autodoc", " Parameters ---------- aniobj: AIS_InteractiveObject -aModel: Aspect_TypeOfFacingModel,optional - default value is Aspect_TOFM_BOTH_SIDE +aModel: Aspect_TypeOfFacingModel (optional, default to Aspect_TOFM_BOTH_SIDE) -Returns +Return ------- None + +Description +----------- +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. ") SetCurrentFacingModel; void SetCurrentFacingModel(const opencascade::handle & aniobj, const Aspect_TypeOfFacingModel aModel = Aspect_TOFM_BOTH_SIDE); - /****************** SetCurrentObject ******************/ - /**** md5 signature: bc6b6f7f20877e27eead8e940f0ee191 ****/ + /****** AIS_InteractiveContext::SetCurrentObject ******/ + /****** md5 signature: bc6b6f7f20877e27eead8e940f0ee191 ******/ %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. - + %feature("autodoc", " Parameters ---------- theIObj: AIS_InteractiveObject theToUpdateViewer: bool -Returns +Return +------- +None + +Description +----------- +No available documentation. +") SetCurrentObject; + void SetCurrentObject(const opencascade::handle & theIObj, const Standard_Boolean theToUpdateViewer); + + /****** AIS_InteractiveContext::SetDefaultDrawer ******/ + /****** md5 signature: fa88c8a7788e5b89033f7deefbc9be1c ******/ + %feature("compactdefaultargs") SetDefaultDrawer; + %feature("autodoc", " +Parameters +---------- +theDrawer: Prs3d_Drawer + +Return ------- None -") SetCurrentObject; - void SetCurrentObject(const opencascade::handle & theIObj, const Standard_Boolean theToUpdateViewer); - /****************** SetDeviationAngle ******************/ - /**** md5 signature: 3fa01c3e51e45d16b88cd62df5c6dba6 ****/ - %feature("compactdefaultargs") SetDeviationAngle; - %feature("autodoc", "No available documentation. +Description +----------- +Sets the default attribute manager; should be set at context creation time. Warning - this setter doesn't update links to the default drawer of already displayed objects!. +") SetDefaultDrawer; + void SetDefaultDrawer(const opencascade::handle & theDrawer); + /****** AIS_InteractiveContext::SetDeviationAngle ******/ + /****** md5 signature: 3fa01c3e51e45d16b88cd62df5c6dba6 ******/ + %feature("compactdefaultargs") SetDeviationAngle; + %feature("autodoc", " Parameters ---------- theIObj: AIS_InteractiveObject theAngle: float theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetDeviationAngle; void SetDeviationAngle(const opencascade::handle & theIObj, const Standard_Real theAngle, const Standard_Boolean theToUpdateViewer); - /****************** SetDeviationAngle ******************/ - /**** md5 signature: 373845ba63fe87edd7d9720e6aade848 ****/ + /****** AIS_InteractiveContext::SetDeviationAngle ******/ + /****** md5 signature: 57d7d8b2bbfd40492359d917f4b7c203 ******/ %feature("compactdefaultargs") SetDeviationAngle; - %feature("autodoc", "Default 20 degrees. - + %feature("autodoc", " Parameters ---------- -anAngle: float +theAngle: float -Returns +Return ------- None + +Description +----------- +default 20 degrees. ") SetDeviationAngle; - void SetDeviationAngle(const Standard_Real anAngle); + void SetDeviationAngle(const Standard_Real theAngle); - /****************** SetDeviationCoefficient ******************/ - /**** md5 signature: a869465c8496bd4f68daf77ec26ec399 ****/ + /****** AIS_InteractiveContext::SetDeviationCoefficient ******/ + /****** md5 signature: a869465c8496bd4f68daf77ec26ec399 ******/ %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. - + %feature("autodoc", " Parameters ---------- theIObj: AIS_InteractiveObject theCoefficient: float theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +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. ") SetDeviationCoefficient; void SetDeviationCoefficient(const opencascade::handle & theIObj, const Standard_Real theCoefficient, const Standard_Boolean theToUpdateViewer); - /****************** SetDeviationCoefficient ******************/ - /**** md5 signature: c876cabde5740c4ce35b0db72a481d97 ****/ + /****** AIS_InteractiveContext::SetDeviationCoefficient ******/ + /****** md5 signature: b9b6c62150e8986b2bdd5259de3558aa ******/ %feature("compactdefaultargs") SetDeviationCoefficient; - %feature("autodoc", "Sets the deviation coefficient thecoefficient. drawings of curves or patches are made with respect to a maximal chordal deviation. a deviation coefficient is used in the shading display mode. the shape is seen decomposed into triangles. these are used to calculate reflection of light from the surface of the object. the triangles are formed from chords of the curves in the shape. the deviation coefficient thecoefficient gives the highest value of the angle with which a chord can deviate from a tangent to a curve. if this limit is reached, a new triangle is begun. this deviation is absolute and is set through the method: setmaximalchordialdeviation. the default value is 0.001. in drawing shapes, however, you are allowed to ask for a relative deviation. this deviation will be: sizeofobject * deviationcoefficient. - + %feature("autodoc", " Parameters ---------- theCoefficient: float -Returns +Return ------- None + +Description +----------- +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. ") SetDeviationCoefficient; void SetDeviationCoefficient(const Standard_Real theCoefficient); - /****************** SetDisplayMode ******************/ - /**** md5 signature: 6ffe3bb5ef5970c4fcf781535ed6b3b9 ****/ + /****** AIS_InteractiveContext::SetDisplayMode ******/ + /****** md5 signature: 6ffe3bb5ef5970c4fcf781535ed6b3b9 ******/ %feature("compactdefaultargs") SetDisplayMode; - %feature("autodoc", "Sets the display mode of seen interactive objects (which have no overridden display mode). - + %feature("autodoc", " Parameters ---------- theMode: int theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +Sets the display mode of seen Interactive Objects (which have no overridden Display Mode). ") SetDisplayMode; void SetDisplayMode(const Standard_Integer theMode, const Standard_Boolean theToUpdateViewer); - /****************** SetDisplayMode ******************/ - /**** md5 signature: 8c4da4b973b38bb48138a0e5409e8fa7 ****/ + /****** AIS_InteractiveContext::SetDisplayMode ******/ + /****** md5 signature: 8c4da4b973b38bb48138a0e5409e8fa7 ******/ %feature("compactdefaultargs") SetDisplayMode; - %feature("autodoc", "Sets the display mode of seen interactive objects. themode provides the display mode index of the entity theiobj. - + %feature("autodoc", " Parameters ---------- theIObj: AIS_InteractiveObject theMode: int theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +Sets the display mode of seen Interactive Objects. theMode provides the display mode index of the entity theIObj. ") SetDisplayMode; void SetDisplayMode(const opencascade::handle & theIObj, const Standard_Integer theMode, const Standard_Boolean theToUpdateViewer); - /****************** SetDisplayPriority ******************/ - /**** md5 signature: bf4d439c11543113184d91660ddaf446 ****/ + /****** AIS_InteractiveContext::SetDisplayPriority ******/ + /****** md5 signature: 42353ccb4c6eda1cc29153e74393c82b ******/ %feature("compactdefaultargs") SetDisplayPriority; - %feature("autodoc", "Sets the display priority of the seen parts presentation of the object. + %feature("autodoc", " +Parameters +---------- +theIObj: AIS_InteractiveObject +thePriority: Graphic3d_DisplayPriority + +Return +------- +None + +Description +----------- +Sets the display priority of the seen parts presentation of the Object. +") SetDisplayPriority; + void SetDisplayPriority(const opencascade::handle & theIObj, const Graphic3d_DisplayPriority thePriority); + /****** AIS_InteractiveContext::SetDisplayPriority ******/ + /****** md5 signature: e26c06c0788dcb81557652d666d011f9 ******/ + %feature("compactdefaultargs") SetDisplayPriority; + %feature("autodoc", " Parameters ---------- theIObj: AIS_InteractiveObject thePriority: int -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetDisplayPriority; void SetDisplayPriority(const opencascade::handle & theIObj, const Standard_Integer thePriority); - /****************** SetFilterType ******************/ - /**** md5 signature: c4f32b4815b398cc3dcfa30b4c00ebdc ****/ + /****** AIS_InteractiveContext::SetFilterType ******/ + /****** md5 signature: c4f32b4815b398cc3dcfa30b4c00ebdc ******/ %feature("compactdefaultargs") SetFilterType; - %feature("autodoc", "Sets the context selection filter type. selectmgr_typefilter_or selection filter is used by default. @param thefiltertype the filter type. - + %feature("autodoc", " Parameters ---------- theFilterType: SelectMgr_FilterType -Returns +Return ------- None + +Description +----------- +Sets the context selection filter type. SelectMgr_TypeFilter_OR selection filter is used by default. +Parameter theFilterType the filter type. ") SetFilterType; void SetFilterType(const SelectMgr_FilterType theFilterType); - /****************** SetHiddenLineAspect ******************/ - /**** md5 signature: 5b46a3500446af2bbd4fd524d0b64376 ****/ + /****** AIS_InteractiveContext::SetHiddenLineAspect ******/ + /****** md5 signature: 82e7745333ec21f019200e5221b9cdcf ******/ %feature("compactdefaultargs") SetHiddenLineAspect; - %feature("autodoc", "Sets the hidden line aspect anaspect. aspect defines display attributes for hidden lines in hlr projections. - + %feature("autodoc", " Parameters ---------- -anAspect: Prs3d_LineAspect +theAspect: Prs3d_LineAspect -Returns +Return ------- None + +Description +----------- +Sets the hidden line aspect anAspect. Aspect defines display attributes for hidden lines in HLR projections. ") SetHiddenLineAspect; - void SetHiddenLineAspect(const opencascade::handle & anAspect); + void SetHiddenLineAspect(const opencascade::handle & theAspect); - /****************** SetHighlightStyle ******************/ - /**** md5 signature: 514ba754efe6d3cdef1ca1443d525348 ****/ + /****** AIS_InteractiveContext::SetHighlightStyle ******/ + /****** md5 signature: 514ba754efe6d3cdef1ca1443d525348 ******/ %feature("compactdefaultargs") SetHighlightStyle; - %feature("autodoc", "Setup highlight style settings. it is preferred modifying existing style returned by method highlightstyle() instead of creating a new drawer. //! if a new highlight style is created, its presentation zlayer should be checked, otherwise highlighting might not work as expected. default values are: - prs3d_typeofhighlight_dynamic: graphic3d_zlayerid_top, object highlighting is drawn on top of main scene within immediate layers, so that v3d_view::redrawimmediate() will be enough to see update; - prs3d_typeofhighlight_localdynamic: graphic3d_zlayerid_topmost, object parts highlighting is drawn on top of main scene within immediate layers with depth cleared (even overlapped geometry will be revealed); - prs3d_typeofhighlight_selected: graphic3d_zlayerid_unknown, object highlighting is drawn on top of main scene within the same layer as object itself (e.g. graphic3d_zlayerid_default by default) and increased priority. - + %feature("autodoc", " Parameters ---------- theStyleType: Prs3d_TypeOfHighlight theStyle: Prs3d_Drawer -Returns +Return ------- None + +Description +----------- +Setup highlight style settings. Tip: it is better modifying existing style returned by method HighlightStyle() instead of creating a new Prs3d_Drawer to avoid unexpected results due misconfiguration. //! If a new highlight style is created, its presentation Zlayer should be checked, otherwise highlighting might not work as expected. ") SetHighlightStyle; void SetHighlightStyle(const Prs3d_TypeOfHighlight theStyleType, const opencascade::handle & theStyle); - /****************** SetHighlightStyle ******************/ - /**** md5 signature: 0f582d623d586c315d681407eef8bab2 ****/ + /****** AIS_InteractiveContext::SetHighlightStyle ******/ + /****** md5 signature: 0f582d623d586c315d681407eef8bab2 ******/ %feature("compactdefaultargs") SetHighlightStyle; - %feature("autodoc", "Setup the style of dynamic highlighting. it is preferred modifying existing style returned by method highlightstyle() instead of creating a new drawer. //! if a new highlight style is created, its presentation zlayer should be checked, otherwise highlighting might not work as expected. default value is graphic3d_zlayerid_top, object highlighting is drawn on top of main scene within immediate layers, so that v3d_view::redrawimmediate() will be enough to see update;. - + %feature("autodoc", " Parameters ---------- theStyle: Prs3d_Drawer -Returns +Return ------- None + +Description +----------- +Setup the style of dynamic highlighting corrsponding to Prs3d_TypeOfHighlight_Selected. This is just a short-cut to SetHighlightStyle(Prs3d_TypeOfHighlight_Dynamic,theStyle). ") SetHighlightStyle; void SetHighlightStyle(const opencascade::handle & theStyle); - /****************** SetIsoNumber ******************/ - /**** md5 signature: 108e9a31a51c2c1be4fb2fc91b68906c ****/ + /****** AIS_InteractiveContext::SetIsoNumber ******/ + /****** md5 signature: 108e9a31a51c2c1be4fb2fc91b68906c ******/ %feature("compactdefaultargs") SetIsoNumber; - %feature("autodoc", "Sets the number of u and v isoparameters displayed. - + %feature("autodoc", " Parameters ---------- NbIsos: int -WhichIsos: AIS_TypeOfIso,optional - default value is AIS_TOI_Both +WhichIsos: AIS_TypeOfIso (optional, default to AIS_TOI_Both) -Returns +Return ------- None + +Description +----------- +Sets the number of U and V isoparameters displayed. ") SetIsoNumber; void SetIsoNumber(const Standard_Integer NbIsos, const AIS_TypeOfIso WhichIsos = AIS_TOI_Both); - /****************** SetLocalAttributes ******************/ - /**** md5 signature: 2dc75f962d027692405727903e0ef22c ****/ + /****** AIS_InteractiveContext::SetLocalAttributes ******/ + /****** md5 signature: 2dc75f962d027692405727903e0ef22c ******/ %feature("compactdefaultargs") SetLocalAttributes; - %feature("autodoc", "Sets the graphic attributes of the interactive object, such as visualization mode, color, and material. - + %feature("autodoc", " Parameters ---------- theIObj: AIS_InteractiveObject theDrawer: Prs3d_Drawer theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +Sets the graphic attributes of the interactive object, such as visualization mode, color, and material. ") SetLocalAttributes; void SetLocalAttributes(const opencascade::handle & theIObj, const opencascade::handle & theDrawer, const Standard_Boolean theToUpdateViewer); - /****************** SetLocation ******************/ - /**** md5 signature: 278570b2ad71d01112ac61ba95d92f6f ****/ + /****** AIS_InteractiveContext::SetLocation ******/ + /****** md5 signature: 278570b2ad71d01112ac61ba95d92f6f ******/ %feature("compactdefaultargs") SetLocation; - %feature("autodoc", "Puts the location on the initial graphic representation and the selection for the object. - + %feature("autodoc", " Parameters ---------- theObject: AIS_InteractiveObject theLocation: TopLoc_Location -Returns +Return ------- None + +Description +----------- +Puts the location on the initial graphic representation and the selection for the Object. ") SetLocation; void SetLocation(const opencascade::handle & theObject, const TopLoc_Location & theLocation); - /****************** SetMaterial ******************/ - /**** md5 signature: b7292556e6ed4659948c0946af2a2c88 ****/ + /****** AIS_InteractiveContext::SetMaterial ******/ + /****** md5 signature: b7292556e6ed4659948c0946af2a2c88 ******/ %feature("compactdefaultargs") SetMaterial; - %feature("autodoc", "Provides the type of material setting for the view of the object. - + %feature("autodoc", " Parameters ---------- theIObj: AIS_InteractiveObject theMaterial: Graphic3d_MaterialAspect theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +Provides the type of material setting for the view of the Object. ") SetMaterial; void SetMaterial(const opencascade::handle & theIObj, const Graphic3d_MaterialAspect & theMaterial, const Standard_Boolean theToUpdateViewer); - /****************** SetPickingStrategy ******************/ - /**** md5 signature: 7eb0b1033404a3318ec39d0b8f456b86 ****/ + /****** AIS_InteractiveContext::SetPickingStrategy ******/ + /****** md5 signature: 7eb0b1033404a3318ec39d0b8f456b86 ******/ %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. - + %feature("autodoc", " Parameters ---------- theStrategy: SelectMgr_PickingStrategy -Returns +Return ------- None + +Description +----------- +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. ") SetPickingStrategy; void SetPickingStrategy(const SelectMgr_PickingStrategy theStrategy); - /****************** SetPixelTolerance ******************/ - /**** md5 signature: 0687dc8be567f668454cb9cecd8746b3 ****/ + /****** AIS_InteractiveContext::SetPixelTolerance ******/ + /****** md5 signature: 0687dc8be567f668454cb9cecd8746b3 ******/ %feature("compactdefaultargs") SetPixelTolerance; - %feature("autodoc", "Setup pixel tolerance for moveto() operation. @sa moveto(). - + %feature("autodoc", " Parameters ---------- -thePrecision: int,optional - default value is 2 +thePrecision: int (optional, default to 2) -Returns +Return ------- None + +Description +----------- +Setup pixel tolerance for MoveTo() operation. +See also: MoveTo(). ") SetPixelTolerance; void SetPixelTolerance(const Standard_Integer thePrecision = 2); - /****************** SetPlaneSize ******************/ - /**** md5 signature: 6377ec1f2a7840f7b57b14849d1af438 ****/ + /****** AIS_InteractiveContext::SetPlaneSize ******/ + /****** md5 signature: 6377ec1f2a7840f7b57b14849d1af438 ******/ %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. - + %feature("autodoc", " Parameters ---------- theSizeX: float theSizeY: float theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +Sets the plane size defined by the length in the X direction XSize and that in the Y direction YSize. ") SetPlaneSize; void SetPlaneSize(const Standard_Real theSizeX, const Standard_Real theSizeY, const Standard_Boolean theToUpdateViewer); - /****************** SetPlaneSize ******************/ - /**** md5 signature: 8b187b41fa59677dcd33b94c60f2887e ****/ + /****** AIS_InteractiveContext::SetPlaneSize ******/ + /****** md5 signature: 8b187b41fa59677dcd33b94c60f2887e ******/ %feature("compactdefaultargs") SetPlaneSize; - %feature("autodoc", "Sets the plane size asize. - + %feature("autodoc", " Parameters ---------- theSize: float theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +Sets the plane size aSize. ") SetPlaneSize; void SetPlaneSize(const Standard_Real theSize, const Standard_Boolean theToUpdateViewer); - /****************** SetPolygonOffsets ******************/ - /**** md5 signature: f78652fe5f3334a97cfeeaf9fc53a55f ****/ + /****** AIS_InteractiveContext::SetPolygonOffsets ******/ + /****** md5 signature: f78652fe5f3334a97cfeeaf9fc53a55f ******/ %feature("compactdefaultargs") SetPolygonOffsets; - %feature("autodoc", "Sets up polygon offsets for the given ais_interactiveobject. it simply calls ais_interactiveobject::setpolygonoffsets(). - + %feature("autodoc", " Parameters ---------- theIObj: AIS_InteractiveObject theMode: int -theFactor: Standard_ShortReal -theUnits: Standard_ShortReal +theFactor: float +theUnits: float theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +Sets up polygon offsets for the given AIS_InteractiveObject. It simply calls AIS_InteractiveObject::SetPolygonOffsets(). ") SetPolygonOffsets; void SetPolygonOffsets(const opencascade::handle & theIObj, const Standard_Integer theMode, const Standard_ShortReal theFactor, const Standard_ShortReal theUnits, const Standard_Boolean theToUpdateViewer); - /****************** SetSelected ******************/ - /**** md5 signature: f0b850a3af4fe947123c9d3eafa73363 ****/ + /****** AIS_InteractiveContext::SetSelected ******/ + /****** md5 signature: f0b850a3af4fe947123c9d3eafa73363 ******/ %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. - + %feature("autodoc", " Parameters ---------- theOwners: SelectMgr_EntityOwner theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +Unhighlights previously selected owners and marks them as not selected. Marks owner given as selected and highlights it. Performs selection filters check. ") SetSelected; void SetSelected(const opencascade::handle & theOwners, const Standard_Boolean theToUpdateViewer); - /****************** SetSelected ******************/ - /**** md5 signature: 401134da5619f51956c86499d723f4be ****/ + /****** AIS_InteractiveContext::SetSelected ******/ + /****** md5 signature: 401134da5619f51956c86499d723f4be ******/ %feature("compactdefaultargs") SetSelected; - %feature("autodoc", "Puts the interactive object aniobj in the list of selected objects. performs selection filters check. - + %feature("autodoc", " Parameters ---------- theObject: AIS_InteractiveObject theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +Puts the interactive object aniObj in the list of selected objects. Performs selection filters check. ") SetSelected; void SetSelected(const opencascade::handle & theObject, const Standard_Boolean theToUpdateViewer); - /****************** SetSelectedAspect ******************/ - /**** md5 signature: a6c69f221df199d5c6401f993c6f645b ****/ + /****** AIS_InteractiveContext::SetSelectedAspect ******/ + /****** md5 signature: a6c69f221df199d5c6401f993c6f645b ******/ %feature("compactdefaultargs") SetSelectedAspect; - %feature("autodoc", "Sets the graphic basic aspect to the current presentation of all selected objects. - + %feature("autodoc", " Parameters ---------- theAspect: Prs3d_BasicAspect theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +Sets the graphic basic aspect to the current presentation of ALL selected objects. ") SetSelectedAspect; void SetSelectedAspect(const opencascade::handle & theAspect, const Standard_Boolean theToUpdateViewer); - /****************** SetSelectedState ******************/ - /**** md5 signature: d5d1f8962f9c93408e9c2ed807fb4450 ****/ + /****** AIS_InteractiveContext::SetSelectedState ******/ + /****** md5 signature: d5d1f8962f9c93408e9c2ed807fb4450 ******/ %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. - + %feature("autodoc", " Parameters ---------- theOwner: SelectMgr_EntityOwner theIsSelected: bool -Returns +Return ------- bool + +Description +----------- +Updates Selected state of specified owner without calling HilightSelected(). Has no effect if Selected state is not changed, and redirects to AddOrRemoveSelected() otherwise. +Parameter theOwner owner object to set selected state +Parameter theIsSelected new selected state +Return: True if Selected state has been changed. ") SetSelectedState; Standard_Boolean SetSelectedState(const opencascade::handle & theOwner, const Standard_Boolean theIsSelected); - /****************** SetSelection ******************/ - /**** md5 signature: 5ff5220ba2200900a533a9612db4e0bd ****/ + /****** AIS_InteractiveContext::SetSelection ******/ + /****** md5 signature: 5ff5220ba2200900a533a9612db4e0bd ******/ %feature("compactdefaultargs") SetSelection; - %feature("autodoc", "Sets selection instance to manipulate a container of selected owners @param theselection an instance of the selection. - + %feature("autodoc", " Parameters ---------- theSelection: AIS_Selection -Returns +Return ------- None + +Description +----------- +Sets selection instance to manipulate a container of selected owners +Parameter theSelection an instance of the selection. ") SetSelection; void SetSelection(const opencascade::handle & theSelection); - /****************** SetSelectionModeActive ******************/ - /**** md5 signature: 7c19717100bc0b50dcae6e86485112ab ****/ + /****** AIS_InteractiveContext::SetSelectionModeActive ******/ + /****** md5 signature: 7c19717100bc0b50dcae6e86485112ab ******/ %feature("compactdefaultargs") SetSelectionModeActive; - %feature("autodoc", "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. - + %feature("autodoc", " Parameters ---------- theObj: AIS_InteractiveObject theMode: int theToActivate: bool -theConcurrency: AIS_SelectionModesConcurrency,optional - default value is AIS_SelectionModesConcurrency_Multiple -theIsForce: bool,optional - default value is Standard_False +theConcurrency: AIS_SelectionModesConcurrency (optional, default to AIS_SelectionModesConcurrency_Multiple) +theIsForce: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +Activates or deactivates the selection mode for specified object. Has no effect if selection mode was already active/deactivated. +Parameter theObj object to activate/deactivate selection mode +Parameter 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 +Parameter theToActivate activation/deactivation flag +Parameter 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 +Parameter theIsForce when set to True, the display status will be ignored while activating selection mode. ") 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 ******************/ - /**** md5 signature: b30adbf5d1a9914b4bfcec6e22a4dc51 ****/ + /****** AIS_InteractiveContext::SetSelectionSensitivity ******/ + /****** md5 signature: b30adbf5d1a9914b4bfcec6e22a4dc51 ******/ %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. - + %feature("autodoc", " Parameters ---------- theObject: AIS_InteractiveObject theMode: int theNewSensitivity: int -Returns +Return ------- None + +Description +----------- +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. ") SetSelectionSensitivity; void SetSelectionSensitivity(const opencascade::handle & theObject, const Standard_Integer theMode, const Standard_Integer theNewSensitivity); - /****************** SetSelectionStyle ******************/ - /**** md5 signature: 93a6cf42e8daf8b20f671afa0142b5ba ****/ + /****** AIS_InteractiveContext::SetSelectionStyle ******/ + /****** md5 signature: 93a6cf42e8daf8b20f671afa0142b5ba ******/ %feature("compactdefaultargs") SetSelectionStyle; - %feature("autodoc", "Setup the style of selection highlighting. - + %feature("autodoc", " Parameters ---------- theStyle: Prs3d_Drawer -Returns +Return ------- None + +Description +----------- +Setup the style of selection highlighting. This is just a short-cut to SetHighlightStyle(Prs3d_TypeOfHighlight_Selected,theStyle). ") SetSelectionStyle; void SetSelectionStyle(const opencascade::handle & theStyle); - /****************** SetSubIntensityColor ******************/ - /**** md5 signature: efbd8ffda6a16710153bd546969c5e71 ****/ + /****** AIS_InteractiveContext::SetSubIntensityColor ******/ + /****** md5 signature: efbd8ffda6a16710153bd546969c5e71 ******/ %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. - + %feature("autodoc", " Parameters ---------- theColor: Quantity_Color -Returns +Return ------- None + +Description +----------- +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. ") SetSubIntensityColor; void SetSubIntensityColor(const Quantity_Color & theColor); - /****************** SetToHilightSelected ******************/ - /**** md5 signature: c73093a95a9778fce26b45a5b59bda90 ****/ + /****** AIS_InteractiveContext::SetToHilightSelected ******/ + /****** md5 signature: c73093a95a9778fce26b45a5b59bda90 ******/ %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(). - + %feature("autodoc", " Parameters ---------- toHilight: bool -Returns +Return ------- None + +Description +----------- +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. +See also: MoveTo(). ") SetToHilightSelected; void SetToHilightSelected(const Standard_Boolean toHilight); - /****************** SetTransformPersistence ******************/ - /**** md5 signature: 4fdb4a5c645cc9dae3adacc6cbe0332f ****/ + /****** AIS_InteractiveContext::SetTransformPersistence ******/ + /****** md5 signature: 4fdb4a5c645cc9dae3adacc6cbe0332f ******/ %feature("compactdefaultargs") SetTransformPersistence; - %feature("autodoc", "Sets transform persistence. - + %feature("autodoc", " Parameters ---------- theObject: AIS_InteractiveObject theTrsfPers: Graphic3d_TransformPers -Returns +Return ------- None -") SetTransformPersistence; - void SetTransformPersistence(const opencascade::handle & theObject, const opencascade::handle & theTrsfPers); - - /****************** SetTransformPersistence ******************/ - /**** md5 signature: 8227af0069ce6c1db420a1ae7c1520a9 ****/ - %feature("compactdefaultargs") SetTransformPersistence; - %feature("autodoc", "No available documentation. - -Parameters ----------- -theObj: AIS_InteractiveObject -theFlag: Graphic3d_TransModeFlags -thePoint: gp_Pnt,optional - default value is gp_Pnt(0.0,0.0,0.0) -Returns -------- -None +Description +----------- +Sets transform persistence. ") SetTransformPersistence; - void SetTransformPersistence(const opencascade::handle & theObj, const Graphic3d_TransModeFlags & theFlag, const gp_Pnt & thePoint = gp_Pnt(0.0,0.0,0.0)); + void SetTransformPersistence(const opencascade::handle & theObject, const opencascade::handle & theTrsfPers); - /****************** SetTransparency ******************/ - /**** md5 signature: fee820087e4dfddda2498e02179e9112 ****/ + /****** AIS_InteractiveContext::SetTransparency ******/ + /****** md5 signature: fee820087e4dfddda2498e02179e9112 ******/ %feature("compactdefaultargs") SetTransparency; - %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. - + %feature("autodoc", " Parameters ---------- theIObj: AIS_InteractiveObject theValue: float theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +Provides the transparency settings for viewing the Object. The transparency value aValue may be between 0.0, opaque, and 1.0, fully transparent. ") SetTransparency; void SetTransparency(const opencascade::handle & theIObj, const Standard_Real theValue, const Standard_Boolean theToUpdateViewer); - /****************** SetTrihedronSize ******************/ - /**** md5 signature: 5fd503409307be524e278af757eb2d24 ****/ + /****** AIS_InteractiveContext::SetTrihedronSize ******/ + /****** md5 signature: 5fd503409307be524e278af757eb2d24 ******/ %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. - + %feature("autodoc", " Parameters ---------- theSize: float theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +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. ") SetTrihedronSize; void SetTrihedronSize(const Standard_Real theSize, const Standard_Boolean theToUpdateViewer); - /****************** SetViewAffinity ******************/ - /**** md5 signature: d3189b408dddf07ef7ed75dda5761b6c ****/ + /****** AIS_InteractiveContext::SetViewAffinity ******/ + /****** md5 signature: d3189b408dddf07ef7ed75dda5761b6c ******/ %feature("compactdefaultargs") SetViewAffinity; - %feature("autodoc", "Setup object visibility in specified view. has no effect if object is not displayed in this context. - + %feature("autodoc", " Parameters ---------- theIObj: AIS_InteractiveObject theView: V3d_View theIsVisible: bool -Returns +Return ------- None + +Description +----------- +Setup object visibility in specified view. Has no effect if object is not displayed in this context. ") SetViewAffinity; void SetViewAffinity(const opencascade::handle & theIObj, const opencascade::handle & theView, const Standard_Boolean theIsVisible); - /****************** SetWidth ******************/ - /**** md5 signature: 6abf2eab4c7d3c361f6d5b684119c3cd ****/ + /****** AIS_InteractiveContext::SetWidth ******/ + /****** md5 signature: 6abf2eab4c7d3c361f6d5b684119c3cd ******/ %feature("compactdefaultargs") SetWidth; - %feature("autodoc", "Sets the width of the object. - + %feature("autodoc", " Parameters ---------- theIObj: AIS_InteractiveObject theValue: float theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +Sets the width of the Object. ") SetWidth; virtual void SetWidth(const opencascade::handle & theIObj, const Standard_Real theValue, const Standard_Boolean theToUpdateViewer); - /****************** SetZLayer ******************/ - /**** md5 signature: 9de16485878ef47171f12d852b4297c1 ****/ + /****** AIS_InteractiveContext::SetZLayer ******/ + /****** md5 signature: 9de16485878ef47171f12d852b4297c1 ******/ %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. - + %feature("autodoc", " Parameters ---------- theIObj: AIS_InteractiveObject theLayerId: int -Returns +Return ------- None + +Description +----------- +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. ") SetZLayer; void SetZLayer(const opencascade::handle & theIObj, int theLayerId); - /****************** ShiftSelect ******************/ - /**** md5 signature: 5b6572c7a2d833175cf596250c21b3d3 ****/ + /****** AIS_InteractiveContext::ShiftSelect ******/ + /****** md5 signature: 5b6572c7a2d833175cf596250c21b3d3 ******/ %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(). - + %feature("autodoc", " Parameters ---------- theToUpdateViewer: bool -Returns +Return ------- AIS_StatusOfPick + +Description +----------- +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. +See also: MoveTo(). ") ShiftSelect; AIS_StatusOfPick ShiftSelect(const Standard_Boolean theToUpdateViewer); - /****************** ShiftSelect ******************/ - /**** md5 signature: 618d73e8ab9d28f941dda9c06d7ed4b3 ****/ + /****** AIS_InteractiveContext::ShiftSelect ******/ + /****** md5 signature: 618d73e8ab9d28f941dda9c06d7ed4b3 ******/ %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. - + %feature("autodoc", " Parameters ---------- thePolyline: TColgp_Array1OfPnt2d theView: V3d_View theToUpdateViewer: bool -Returns +Return ------- AIS_StatusOfPick + +Description +----------- +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. ") ShiftSelect; AIS_StatusOfPick ShiftSelect(const TColgp_Array1OfPnt2d & thePolyline, const opencascade::handle & theView, const Standard_Boolean theToUpdateViewer); - /****************** ShiftSelect ******************/ - /**** md5 signature: cf486a7ba2130ff83344c799e272831f ****/ + /****** AIS_InteractiveContext::ShiftSelect ******/ + /****** md5 signature: cf486a7ba2130ff83344c799e272831f ******/ %feature("compactdefaultargs") ShiftSelect; - %feature("autodoc", "Rectangle of selection; adds new detected entities into the picked list, removes the detected entities that were already stored. - + %feature("autodoc", " Parameters ---------- theXPMin: int @@ -5031,284 +5955,342 @@ theYPMax: int theView: V3d_View theToUpdateViewer: bool -Returns +Return ------- AIS_StatusOfPick + +Description +----------- +Rectangle of selection; adds new detected entities into the picked list, removes the detected entities that were already stored. ") 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); - /****************** SubIntensityColor ******************/ - /**** md5 signature: e1332d593cf25efd90cc06d78287a52b ****/ + /****** AIS_InteractiveContext::SubIntensityColor ******/ + /****** md5 signature: e1332d593cf25efd90cc06d78287a52b ******/ %feature("compactdefaultargs") SubIntensityColor; - %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 returns the color of such highlighting. by default, it is quantity_noc_gray40. - -Returns + %feature("autodoc", "Return ------- Quantity_Color + +Description +----------- +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. ") SubIntensityColor; const Quantity_Color & SubIntensityColor(); - /****************** SubIntensityOff ******************/ - /**** md5 signature: 6f3475edad38e7262220fe96d88ef623 ****/ + /****** AIS_InteractiveContext::SubIntensityOff ******/ + /****** md5 signature: 6f3475edad38e7262220fe96d88ef623 ******/ %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. - + %feature("autodoc", " Parameters ---------- theIObj: AIS_InteractiveObject theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +Removes the subintensity option for the entity. If a local context is open, the presentation of the Interactive Object activates the selection mode. ") SubIntensityOff; void SubIntensityOff(const opencascade::handle & theIObj, const Standard_Boolean theToUpdateViewer); - /****************** SubIntensityOn ******************/ - /**** md5 signature: ca6236bf53cb80cdc3ebbd7e74a23daf ****/ + /****** AIS_InteractiveContext::SubIntensityOn ******/ + /****** md5 signature: ca6236bf53cb80cdc3ebbd7e74a23daf ******/ %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. - + %feature("autodoc", " Parameters ---------- theIObj: AIS_InteractiveObject theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +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. ") SubIntensityOn; void SubIntensityOn(const opencascade::handle & theIObj, const Standard_Boolean theToUpdateViewer); - /****************** ToHilightSelected ******************/ - /**** md5 signature: 988844a9d79a6fc69ac1a23fbcf496f6 ****/ + /****** AIS_InteractiveContext::ToHilightSelected ******/ + /****** md5 signature: 988844a9d79a6fc69ac1a23fbcf496f6 ******/ %feature("compactdefaultargs") ToHilightSelected; - %feature("autodoc", "Return value specified whether selected object must be hilighted when mouse cursor is moved above it @sa moveto(). - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return value specified whether selected object must be hilighted when mouse cursor is moved above it +See also: MoveTo(). ") ToHilightSelected; Standard_Boolean ToHilightSelected(); - /****************** TrihedronSize ******************/ - /**** md5 signature: 58270011eed5029f395e07a1f2596286 ****/ + /****** AIS_InteractiveContext::TrihedronSize ******/ + /****** md5 signature: 58270011eed5029f395e07a1f2596286 ******/ %feature("compactdefaultargs") TrihedronSize; - %feature("autodoc", "Returns the current value of trihedron size. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the current value of trihedron size. ") TrihedronSize; Standard_Real TrihedronSize(); - /****************** Unhilight ******************/ - /**** md5 signature: cabf4c4699cc554eccbb9ac29d71126f ****/ + /****** AIS_InteractiveContext::Unhilight ******/ + /****** md5 signature: cabf4c4699cc554eccbb9ac29d71126f ******/ %feature("compactdefaultargs") Unhilight; - %feature("autodoc", "Removes hilighting from the object. - + %feature("autodoc", " Parameters ---------- theIObj: AIS_InteractiveObject theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +Removes hilighting from the Object. ") Unhilight; void Unhilight(const opencascade::handle & theIObj, const Standard_Boolean theToUpdateViewer); - /****************** UnhilightCurrents ******************/ - /**** md5 signature: afc367d55540bdee7dc9ed2e2e3b600a ****/ + /****** AIS_InteractiveContext::UnhilightCurrents ******/ + /****** md5 signature: afc367d55540bdee7dc9ed2e2e3b600a ******/ %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. - + %feature("autodoc", " Parameters ---------- theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +No available documentation. ") UnhilightCurrents; void UnhilightCurrents(const Standard_Boolean theToUpdateViewer); - /****************** UnhilightSelected ******************/ - /**** md5 signature: 6e710c02eb430375e6fe836b6511101c ****/ + /****** AIS_InteractiveContext::UnhilightSelected ******/ + /****** md5 signature: 6e710c02eb430375e6fe836b6511101c ******/ %feature("compactdefaultargs") UnhilightSelected; - %feature("autodoc", "Removes highlighting from selected objects. - + %feature("autodoc", " Parameters ---------- theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +Removes highlighting from selected objects. ") UnhilightSelected; void UnhilightSelected(const Standard_Boolean theToUpdateViewer); - /****************** UnsetColor ******************/ - /**** md5 signature: d9da782381329c45d7b9d8caa4f3e450 ****/ + /****** AIS_InteractiveContext::UnsetColor ******/ + /****** md5 signature: d9da782381329c45d7b9d8caa4f3e450 ******/ %feature("compactdefaultargs") UnsetColor; - %feature("autodoc", "Removes the color selection for the selected entity. - + %feature("autodoc", " Parameters ---------- theIObj: AIS_InteractiveObject theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +Removes the color selection for the selected entity. ") UnsetColor; void UnsetColor(const opencascade::handle & theIObj, const Standard_Boolean theToUpdateViewer); - /****************** UnsetDisplayMode ******************/ - /**** md5 signature: 4dc58e4bf04485276a2c0182bb3dc3dc ****/ + /****** AIS_InteractiveContext::UnsetDisplayMode ******/ + /****** md5 signature: 4dc58e4bf04485276a2c0182bb3dc3dc ******/ %feature("compactdefaultargs") UnsetDisplayMode; - %feature("autodoc", "Unsets the display mode of seen interactive objects. - + %feature("autodoc", " Parameters ---------- theIObj: AIS_InteractiveObject theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +Unsets the display mode of seen Interactive Objects. ") UnsetDisplayMode; void UnsetDisplayMode(const opencascade::handle & theIObj, const Standard_Boolean theToUpdateViewer); - /****************** UnsetLocalAttributes ******************/ - /**** md5 signature: 97053ae6096b9d24699428d0ecc7f03e ****/ + /****** AIS_InteractiveContext::UnsetLocalAttributes ******/ + /****** md5 signature: 97053ae6096b9d24699428d0ecc7f03e ******/ %feature("compactdefaultargs") UnsetLocalAttributes; - %feature("autodoc", "Removes the settings for local attributes of the object and returns to defaults. - + %feature("autodoc", " Parameters ---------- theIObj: AIS_InteractiveObject theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +Removes the settings for local attributes of the Object and returns to defaults. ") UnsetLocalAttributes; void UnsetLocalAttributes(const opencascade::handle & theIObj, const Standard_Boolean theToUpdateViewer); - /****************** UnsetMaterial ******************/ - /**** md5 signature: 901ba466f5e6f9138f6e6980dbdef644 ****/ + /****** AIS_InteractiveContext::UnsetMaterial ******/ + /****** md5 signature: 901ba466f5e6f9138f6e6980dbdef644 ******/ %feature("compactdefaultargs") UnsetMaterial; - %feature("autodoc", "Removes the type of material setting for viewing the object. - + %feature("autodoc", " Parameters ---------- theIObj: AIS_InteractiveObject theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +Removes the type of material setting for viewing the Object. ") UnsetMaterial; void UnsetMaterial(const opencascade::handle & theIObj, const Standard_Boolean theToUpdateViewer); - /****************** UnsetTransparency ******************/ - /**** md5 signature: 2e8742a27916f586cc38ffc5a8e4b854 ****/ + /****** AIS_InteractiveContext::UnsetTransparency ******/ + /****** md5 signature: 2e8742a27916f586cc38ffc5a8e4b854 ******/ %feature("compactdefaultargs") UnsetTransparency; - %feature("autodoc", "Removes the transparency settings for viewing the object. - + %feature("autodoc", " Parameters ---------- theIObj: AIS_InteractiveObject theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +Removes the transparency settings for viewing the Object. ") UnsetTransparency; void UnsetTransparency(const opencascade::handle & theIObj, const Standard_Boolean theToUpdateViewer); - /****************** UnsetWidth ******************/ - /**** md5 signature: f22cfacba2c4a9f18fad46951832bd9c ****/ + /****** AIS_InteractiveContext::UnsetWidth ******/ + /****** md5 signature: f22cfacba2c4a9f18fad46951832bd9c ******/ %feature("compactdefaultargs") UnsetWidth; - %feature("autodoc", "Removes the width setting of the object. - + %feature("autodoc", " Parameters ---------- theIObj: AIS_InteractiveObject theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +Removes the width setting of the Object. ") UnsetWidth; virtual void UnsetWidth(const opencascade::handle & theIObj, const Standard_Boolean theToUpdateViewer); - /****************** Update ******************/ - /**** md5 signature: 3f42b13a11f9aa876a5b030ed18c6379 ****/ + /****** AIS_InteractiveContext::Update ******/ + /****** md5 signature: 3f42b13a11f9aa876a5b030ed18c6379 ******/ %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. - + %feature("autodoc", " Parameters ---------- theIObj: AIS_InteractiveObject theUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +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. ") Update; void Update(const opencascade::handle & theIObj, const Standard_Boolean theUpdateViewer); - /****************** UpdateCurrent ******************/ - /**** md5 signature: b0255cb4a140dfe10f31c4adcc570785 ****/ + /****** AIS_InteractiveContext::UpdateCurrent ******/ + /****** md5 signature: b0255cb4a140dfe10f31c4adcc570785 ******/ %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. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") UpdateCurrent; void UpdateCurrent(); - /****************** UpdateCurrentViewer ******************/ - /**** md5 signature: 7ec7524380aa7da52320b4262dabacd6 ****/ + /****** AIS_InteractiveContext::UpdateCurrentViewer ******/ + /****** md5 signature: 7ec7524380aa7da52320b4262dabacd6 ******/ %feature("compactdefaultargs") UpdateCurrentViewer; - %feature("autodoc", "Updates the current viewer. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Updates the current viewer. ") UpdateCurrentViewer; void UpdateCurrentViewer(); - /****************** UpdateSelected ******************/ - /**** md5 signature: addaefbb5d1e597c3e797750a2657ccc ****/ + /****** AIS_InteractiveContext::UpdateSelected ******/ + /****** md5 signature: addaefbb5d1e597c3e797750a2657ccc ******/ %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(). - + %feature("autodoc", " Parameters ---------- theToUpdateViewer: bool -Returns +Return ------- None + +Description +----------- +Updates the list of selected objects: i.e. highlights the newly selected ones and unhighlights previously selected objects. +See also: HilightSelected(). ") UpdateSelected; void UpdateSelected(Standard_Boolean theToUpdateViewer); - /****************** Width ******************/ - /**** md5 signature: 4f480dafbfc845fa7330627983f2729f ****/ + /****** AIS_InteractiveContext::Width ******/ + /****** md5 signature: 4f480dafbfc845fa7330627983f2729f ******/ %feature("compactdefaultargs") Width; - %feature("autodoc", "Returns the width of the interactive object in the interactive context. - + %feature("autodoc", " Parameters ---------- aniobj: AIS_InteractiveObject -Returns +Return ------- float + +Description +----------- +Returns the width of the Interactive Object in the interactive context. ") Width; virtual Standard_Real Width(const opencascade::handle & aniobj); @@ -5337,107 +6319,135 @@ float %nodefaultctor AIS_InteractiveObject; class AIS_InteractiveObject : public SelectMgr_SelectableObject { public: - /****************** ClearOwner ******************/ - /**** md5 signature: 8592d7a71151aca87082b1c1d7ca818c ****/ + /****** AIS_InteractiveObject::ClearOwner ******/ + /****** md5 signature: 8592d7a71151aca87082b1c1d7ca818c ******/ %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. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +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. ") ClearOwner; void ClearOwner(); - %feature("autodoc", "1"); - %extend{ - std::string DumpJsonToString(int depth=-1) { - std::stringstream s; - self->DumpJson(s, depth); - return s.str();} - }; - /****************** GetContext ******************/ - /**** md5 signature: 9141453181bb741f4971f346e5b4d4cb ****/ - %feature("compactdefaultargs") GetContext; - %feature("autodoc", "Returns the context pointer to the interactive context. + /****************** DumpJson ******************/ + %feature("autodoc", " +Parameters +---------- +depth: int, default=-1 + +Return +------- +str -Returns +Description +----------- +Dump the object to JSON string. +") DumpJson; + %extend{ + std::string DumpJson(int depth=-1) { + std::stringstream s; + self->DumpJson(s, depth); + return "{" + s.str() + "}" ;} + }; + /****** AIS_InteractiveObject::GetContext ******/ + /****** md5 signature: 9141453181bb741f4971f346e5b4d4cb ******/ + %feature("compactdefaultargs") GetContext; + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns the context pointer to the interactive context. ") GetContext; opencascade::handle GetContext(); - /****************** GetOwner ******************/ - /**** md5 signature: 269b252597829cad630a6bbf4ea69473 ****/ + /****** AIS_InteractiveObject::GetOwner ******/ + /****** md5 signature: 269b252597829cad630a6bbf4ea69473 ******/ %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. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +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. ") GetOwner; const opencascade::handle & GetOwner(); - /****************** HasInteractiveContext ******************/ - /**** md5 signature: 1314b115a1808d957f87aa1497f6ab89 ****/ + /****** AIS_InteractiveObject::HasInteractiveContext ******/ + /****** md5 signature: 1314b115a1808d957f87aa1497f6ab89 ******/ %feature("compactdefaultargs") HasInteractiveContext; - %feature("autodoc", "Indicates whether the interactive object has a pointer to an interactive context. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Indicates whether the Interactive Object has a pointer to an interactive context. ") HasInteractiveContext; Standard_Boolean HasInteractiveContext(); - /****************** HasOwner ******************/ - /**** md5 signature: 3f6ab68b2fb7c6818c3a2483804f0d62 ****/ + /****** AIS_InteractiveObject::HasOwner ******/ + /****** md5 signature: 3f6ab68b2fb7c6818c3a2483804f0d62 ******/ %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. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +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. ") HasOwner; Standard_Boolean HasOwner(); - /****************** HasPresentation ******************/ - /**** md5 signature: 2847bbb5d15f8c4b2003053a9adce753 ****/ + /****** AIS_InteractiveObject::HasPresentation ******/ + /****** md5 signature: 2847bbb5d15f8c4b2003053a9adce753 ******/ %feature("compactdefaultargs") HasPresentation; - %feature("autodoc", "Returns true when this object has a presentation in the current displaymode(). - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns True when this object has a presentation in the current DisplayMode(). ") HasPresentation; Standard_Boolean HasPresentation(); - /****************** InteractiveContext ******************/ - /**** md5 signature: 9383f882f57497c320cdfadce7894acb ****/ + /****** AIS_InteractiveObject::InteractiveContext ******/ + /****** md5 signature: 9383f882f57497c320cdfadce7894acb ******/ %feature("compactdefaultargs") InteractiveContext; - %feature("autodoc", "Returns the context pointer to the interactive context. - -Returns + %feature("autodoc", "Return ------- AIS_InteractiveContext * + +Description +----------- +Returns the context pointer to the interactive context. ") InteractiveContext; AIS_InteractiveContext * InteractiveContext(); - /****************** Presentation ******************/ - /**** md5 signature: 88be3e26e114f8c34739a306f65e267d ****/ + /****** AIS_InteractiveObject::Presentation ******/ + /****** md5 signature: 88be3e26e114f8c34739a306f65e267d ******/ %feature("compactdefaultargs") Presentation; - %feature("autodoc", "Returns the current presentation of this object according to the current displaymode(). - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns the current presentation of this object according to the current DisplayMode(). ") Presentation; opencascade::handle Presentation(); - /****************** ProcessDragging ******************/ - /**** md5 signature: f5ecfeedca2ff707ad64495902ea5569 ****/ + /****** AIS_InteractiveObject::ProcessDragging ******/ + /****** md5 signature: f5ecfeedca2ff707ad64495902ea5569 ******/ %feature("compactdefaultargs") ProcessDragging; - %feature("autodoc", "Drag object in the viewer. @param thectx [in] interactive context @param theview [in] active view @param theowner [in] the owner of detected entity @param thedragfrom [in] drag start point @param thedragto [in] drag end point @param theaction [in] drag action returns false if object rejects dragging action (e.g. ais_dragaction_start). - + %feature("autodoc", " Parameters ---------- theCtx: AIS_InteractiveContext @@ -5447,92 +6457,118 @@ theDragFrom: Graphic3d_Vec2i theDragTo: Graphic3d_Vec2i theAction: AIS_DragAction -Returns +Return ------- bool + +Description +----------- +Drag object in the viewer. +Input parameter: theCtx interactive context +Input parameter: theView active View +Input parameter: theOwner the owner of detected entity +Input parameter: theDragFrom drag start point +Input parameter: theDragTo drag end point +Input parameter: theAction drag action +Return: False if object rejects dragging action (e.g. AIS_DragAction_Start). ") ProcessDragging; virtual Standard_Boolean ProcessDragging(const opencascade::handle & theCtx, const opencascade::handle & theView, const opencascade::handle & theOwner, const Graphic3d_Vec2i & theDragFrom, const Graphic3d_Vec2i & theDragTo, const AIS_DragAction theAction); - /****************** Redisplay ******************/ - /**** md5 signature: fca7d8c34b9513257ffbe0b732493e56 ****/ + /****** AIS_InteractiveObject::Redisplay ******/ + /****** md5 signature: fca7d8c34b9513257ffbe0b732493e56 ******/ %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. - + %feature("autodoc", " Parameters ---------- -AllModes: bool,optional - default value is Standard_False +AllModes: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +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. ") Redisplay; void Redisplay(const Standard_Boolean AllModes = Standard_False); - /****************** SetAspect ******************/ - /**** md5 signature: eb261a37528b25042807667593c3b378 ****/ + /****** AIS_InteractiveObject::SetAspect ******/ + /****** md5 signature: eb261a37528b25042807667593c3b378 ******/ %feature("compactdefaultargs") SetAspect; - %feature("autodoc", "Sets the graphic basic aspect to the current presentation. - + %feature("autodoc", " Parameters ---------- anAspect: Prs3d_BasicAspect -Returns +Return ------- None + +Description +----------- +Sets the graphic basic aspect to the current presentation. ") SetAspect; void SetAspect(const opencascade::handle & anAspect); - /****************** SetContext ******************/ - /**** md5 signature: aea0f9b1ecdc3c6f470618d4f2a4757d ****/ + /****** AIS_InteractiveObject::SetContext ******/ + /****** md5 signature: aea0f9b1ecdc3c6f470618d4f2a4757d ******/ %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. - + %feature("autodoc", " Parameters ---------- aCtx: AIS_InteractiveContext -Returns +Return ------- None + +Description +----------- +Sets the interactive context aCtx and provides a link to the default drawing tool or 'Drawer' if there is none. ") SetContext; virtual void SetContext(const opencascade::handle & aCtx); - /****************** SetOwner ******************/ - /**** md5 signature: 3c9542fea45232da4a6e2ddd58ba67f4 ****/ + /****** AIS_InteractiveObject::SetOwner ******/ + /****** md5 signature: 3c9542fea45232da4a6e2ddd58ba67f4 ******/ %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. - + %feature("autodoc", " Parameters ---------- theApplicativeEntity: Standard_Transient -Returns +Return ------- None + +Description +----------- +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. ") SetOwner; void SetOwner(const opencascade::handle & theApplicativeEntity); - /****************** Signature ******************/ - /**** md5 signature: 04c50097d676454d1a64488eb69af2dc ****/ + /****** AIS_InteractiveObject::Signature ******/ + /****** md5 signature: 04c50097d676454d1a64488eb69af2dc ******/ %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. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +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. ") Signature; virtual Standard_Integer Signature(); - /****************** Type ******************/ - /**** md5 signature: 7e0280329d789210bd49ed9764da22e3 ****/ + /****** AIS_InteractiveObject::Type ******/ + /****** md5 signature: 7e0280329d789210bd49ed9764da22e3 ******/ %feature("compactdefaultargs") Type; - %feature("autodoc", "Returns the kind of interactive object; ais_koi_none by default. - -Returns + %feature("autodoc", "Return ------- AIS_KindOfInteractive + +Description +----------- +Returns the kind of Interactive Object; AIS_KindOfInteractive_None by default. ") Type; virtual AIS_KindOfInteractive Type(); @@ -5547,98 +6583,200 @@ AIS_KindOfInteractive } }; +/***************************** +* class AIS_LightSourceOwner * +*****************************/ +class AIS_LightSourceOwner : public SelectMgr_EntityOwner { + public: + /****** AIS_LightSourceOwner::AIS_LightSourceOwner ******/ + /****** md5 signature: 1a76e2e9334a0d57df383ac38fcf4ba6 ******/ + %feature("compactdefaultargs") AIS_LightSourceOwner; + %feature("autodoc", " +Parameters +---------- +theObject: AIS_LightSource +thePriority: int (optional, default to 5) + +Return +------- +None + +Description +----------- +Main constructor. +") AIS_LightSourceOwner; + AIS_LightSourceOwner(const opencascade::handle & theObject, Standard_Integer thePriority = 5); + + /****** AIS_LightSourceOwner::HandleMouseClick ******/ + /****** md5 signature: a1e0b5a1544f4c34e89ff7054f3e9da6 ******/ + %feature("compactdefaultargs") HandleMouseClick; + %feature("autodoc", " +Parameters +---------- +thePoint: Graphic3d_Vec2i +theButton: Aspect_VKeyMouse +theModifiers: Aspect_VKeyFlags +theIsDoubleClick: bool + +Return +------- +bool + +Description +----------- +Handle mouse button click event. +") HandleMouseClick; + virtual Standard_Boolean HandleMouseClick(const Graphic3d_Vec2i & thePoint, Aspect_VKeyMouse theButton, Aspect_VKeyFlags theModifiers, bool theIsDoubleClick); + + /****** AIS_LightSourceOwner::HilightWithColor ******/ + /****** md5 signature: 93589dd7f7e0570ae831db807b6e606c ******/ + %feature("compactdefaultargs") HilightWithColor; + %feature("autodoc", " +Parameters +---------- +thePrsMgr: PrsMgr_PresentationManager +theStyle: Prs3d_Drawer +theMode: int + +Return +------- +None + +Description +----------- +Highlights selectable object's presentation with display mode in presentation manager with given highlight style. Also a check for auto-highlight is performed - if selectable object manages highlighting on its own, execution will be passed to SelectMgr_SelectableObject::HilightOwnerWithColor method. +") HilightWithColor; + virtual void HilightWithColor(const opencascade::handle & thePrsMgr, const opencascade::handle & theStyle, const Standard_Integer theMode); + + /****** AIS_LightSourceOwner::IsForcedHilight ******/ + /****** md5 signature: b7e8a39578fc441f958f06f3cf923c7d ******/ + %feature("compactdefaultargs") IsForcedHilight; + %feature("autodoc", "Return +------- +bool + +Description +----------- +Always update dynamic highlighting. +") IsForcedHilight; + virtual Standard_Boolean IsForcedHilight(); + +}; + + +%extend AIS_LightSourceOwner { + %pythoncode { + __repr__ = _dumps_object + } +}; + /***************************** * class AIS_ManipulatorOwner * *****************************/ class AIS_ManipulatorOwner : public SelectMgr_EntityOwner { public: - /****************** AIS_ManipulatorOwner ******************/ - /**** md5 signature: e9149e1393505f2a15862a109e2ace43 ****/ + /****** AIS_ManipulatorOwner::AIS_ManipulatorOwner ******/ + /****** md5 signature: e9149e1393505f2a15862a109e2ace43 ******/ %feature("compactdefaultargs") AIS_ManipulatorOwner; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theSelObject: SelectMgr_SelectableObject theIndex: int theMode: AIS_ManipulatorMode -thePriority: int,optional - default value is 0 +thePriority: int (optional, default to 0) -Returns +Return ------- None + +Description +----------- +No available documentation. ") AIS_ManipulatorOwner; AIS_ManipulatorOwner(const opencascade::handle & theSelObject, const Standard_Integer theIndex, const AIS_ManipulatorMode theMode, const Standard_Integer thePriority = 0); - /****************** HilightWithColor ******************/ - /**** md5 signature: 71c328368ee46e9ee02419c61fa1b191 ****/ + /****** AIS_ManipulatorOwner::HilightWithColor ******/ + /****** md5 signature: ff872ded3a30d3b368f40f78eef3d5d8 ******/ %feature("compactdefaultargs") HilightWithColor; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -thePM: PrsMgr_PresentationManager3d +thePM: PrsMgr_PresentationManager theStyle: Prs3d_Drawer theMode: int -Returns +Return ------- None + +Description +----------- +No available documentation. ") HilightWithColor; - virtual void HilightWithColor(const opencascade::handle & thePM, const opencascade::handle & theStyle, const Standard_Integer theMode); + virtual void HilightWithColor(const opencascade::handle & thePM, const opencascade::handle & theStyle, const Standard_Integer theMode); - /****************** Index ******************/ - /**** md5 signature: 0be2d384cf83d16771bb3f9c857c6326 ****/ + /****** AIS_ManipulatorOwner::Index ******/ + /****** md5 signature: 0be2d384cf83d16771bb3f9c857c6326 ******/ %feature("compactdefaultargs") Index; - %feature("autodoc", "Returns index of manipulator axis. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Return: index of manipulator axis. ") Index; Standard_Integer Index(); - /****************** IsHilighted ******************/ - /**** md5 signature: 75ad53fe5d3fc51cf2a9dd7e62ee1347 ****/ + /****** AIS_ManipulatorOwner::IsHilighted ******/ + /****** md5 signature: 75ad53fe5d3fc51cf2a9dd7e62ee1347 ******/ %feature("compactdefaultargs") IsHilighted; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- thePM: PrsMgr_PresentationManager theMode: int -Returns +Return ------- bool + +Description +----------- +No available documentation. ") IsHilighted; Standard_Boolean IsHilighted(const opencascade::handle & thePM, const Standard_Integer theMode); - /****************** Mode ******************/ - /**** md5 signature: 185ce7f30436df2ae54dc24077fa08f1 ****/ + /****** AIS_ManipulatorOwner::Mode ******/ + /****** md5 signature: 185ce7f30436df2ae54dc24077fa08f1 ******/ %feature("compactdefaultargs") Mode; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- AIS_ManipulatorMode + +Description +----------- +No available documentation. ") Mode; AIS_ManipulatorMode Mode(); - /****************** Unhilight ******************/ - /**** md5 signature: 2c4ea7d84a1f77c1bca30641ba41616d ****/ + /****** AIS_ManipulatorOwner::Unhilight ******/ + /****** md5 signature: 2c4ea7d84a1f77c1bca30641ba41616d ******/ %feature("compactdefaultargs") Unhilight; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- thePM: PrsMgr_PresentationManager theMode: int -Returns +Return ------- None + +Description +----------- +No available documentation. ") Unhilight; virtual void Unhilight(const opencascade::handle & thePM, const Standard_Integer theMode); @@ -5658,100 +6796,118 @@ None ****************************/ class AIS_PointCloudOwner : public SelectMgr_EntityOwner { public: - /****************** AIS_PointCloudOwner ******************/ - /**** md5 signature: 670174874a27bd532f1d46109c419250 ****/ + /****** AIS_PointCloudOwner::AIS_PointCloudOwner ******/ + /****** md5 signature: 670174874a27bd532f1d46109c419250 ******/ %feature("compactdefaultargs") AIS_PointCloudOwner; - %feature("autodoc", "Main constructor. - + %feature("autodoc", " Parameters ---------- theOrigin: AIS_PointCloud -Returns +Return ------- None + +Description +----------- +Main constructor. ") AIS_PointCloudOwner; AIS_PointCloudOwner(const opencascade::handle & theOrigin); - /****************** Clear ******************/ - /**** md5 signature: 5dc5e5efb2de906b524713f5bda45e1c ****/ + /****** AIS_PointCloudOwner::Clear ******/ + /****** md5 signature: 5dc5e5efb2de906b524713f5bda45e1c ******/ %feature("compactdefaultargs") Clear; - %feature("autodoc", "Clears presentation. - + %feature("autodoc", " Parameters ---------- thePrsMgr: PrsMgr_PresentationManager theMode: int -Returns +Return ------- None + +Description +----------- +Clears presentation. ") Clear; virtual void Clear(const opencascade::handle & thePrsMgr, const Standard_Integer theMode); - /****************** DetectedPoints ******************/ - /**** md5 signature: 417e2050aa5d23f2a94aa5e022916b2d ****/ + /****** AIS_PointCloudOwner::DetectedPoints ******/ + /****** md5 signature: 417e2050aa5d23f2a94aa5e022916b2d ******/ %feature("compactdefaultargs") DetectedPoints; - %feature("autodoc", "Return last detected points. warning! indexation starts with 0 (shifted by -1 comparing to graphic3d_arrayofpoints::vertice()). - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Return last detected points. WARNING! Indexation starts with 0 (shifted by -1 comparing to Graphic3d_ArrayOfPoints::Vertice()). ") DetectedPoints; const opencascade::handle & DetectedPoints(); - /****************** HilightWithColor ******************/ - /**** md5 signature: ac1a5f13927ca247a3c85abe1279df2d ****/ + /****** AIS_PointCloudOwner::HilightWithColor ******/ + /****** md5 signature: 93589dd7f7e0570ae831db807b6e606c ******/ %feature("compactdefaultargs") HilightWithColor; - %feature("autodoc", "Handle dynamic highlighting. - + %feature("autodoc", " Parameters ---------- -thePrsMgr: PrsMgr_PresentationManager3d +thePrsMgr: PrsMgr_PresentationManager theStyle: Prs3d_Drawer theMode: int -Returns +Return ------- None + +Description +----------- +Handle dynamic highlighting. ") HilightWithColor; - virtual void HilightWithColor(const opencascade::handle & thePrsMgr, const opencascade::handle & theStyle, const Standard_Integer theMode); + virtual void HilightWithColor(const opencascade::handle & thePrsMgr, const opencascade::handle & theStyle, const Standard_Integer theMode); - /****************** IsForcedHilight ******************/ - /**** md5 signature: b7e8a39578fc441f958f06f3cf923c7d ****/ + /****** AIS_PointCloudOwner::IsForcedHilight ******/ + /****** md5 signature: b7e8a39578fc441f958f06f3cf923c7d ******/ %feature("compactdefaultargs") IsForcedHilight; - %feature("autodoc", "Always update dynamic highlighting. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Always update dynamic highlighting. ") IsForcedHilight; virtual Standard_Boolean IsForcedHilight(); - /****************** SelectedPoints ******************/ - /**** md5 signature: 2ac5ef1820739df521163373d95dceba ****/ + /****** AIS_PointCloudOwner::SelectedPoints ******/ + /****** md5 signature: 2ac5ef1820739df521163373d95dceba ******/ %feature("compactdefaultargs") SelectedPoints; - %feature("autodoc", "Return selected points. warning! indexation starts with 0 (shifted by -1 comparing to graphic3d_arrayofpoints::vertice()). - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Return selected points. WARNING! Indexation starts with 0 (shifted by -1 comparing to Graphic3d_ArrayOfPoints::Vertice()). ") SelectedPoints; const opencascade::handle & SelectedPoints(); - /****************** Unhilight ******************/ - /**** md5 signature: da660df8a6c884db0328dd60a36026ae ****/ + /****** AIS_PointCloudOwner::Unhilight ******/ + /****** md5 signature: da660df8a6c884db0328dd60a36026ae ******/ %feature("compactdefaultargs") Unhilight; - %feature("autodoc", "Removes highlighting. - + %feature("autodoc", " Parameters ---------- thePrsMgr: PrsMgr_PresentationManager theMode: int -Returns +Return ------- None + +Description +----------- +Removes highlighting. ") Unhilight; virtual void Unhilight(const opencascade::handle & thePrsMgr, const Standard_Integer theMode); @@ -5769,162 +6925,230 @@ None **********************/ class AIS_Selection : public Standard_Transient { public: - /****************** AIS_Selection ******************/ - /**** md5 signature: bd27ce322f4357aff0848195050258b2 ****/ + /****** AIS_Selection::AIS_Selection ******/ + /****** md5 signature: bd27ce322f4357aff0848195050258b2 ******/ %feature("compactdefaultargs") AIS_Selection; - %feature("autodoc", "Creates a new selection. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +creates a new selection. ") AIS_Selection; AIS_Selection(); - /****************** AddSelect ******************/ - /**** md5 signature: 935dfa1e78a7bd4bc211338bfecc5077 ****/ + /****** AIS_Selection::AddSelect ******/ + /****** md5 signature: 935dfa1e78a7bd4bc211338bfecc5077 ******/ %feature("compactdefaultargs") AddSelect; - %feature("autodoc", "The object is always add int the selection. faster when the number of objects selected is great. - + %feature("autodoc", " Parameters ---------- theObject: SelectMgr_EntityOwner -Returns +Return ------- AIS_SelectStatus + +Description +----------- +the object is always add int the selection. faster when the number of objects selected is great. ") AddSelect; virtual AIS_SelectStatus AddSelect(const opencascade::handle & theObject); - /****************** Clear ******************/ - /**** md5 signature: 1badd2d119b64dbdb177834e510c3af9 ****/ + /****** AIS_Selection::Clear ******/ + /****** md5 signature: 1badd2d119b64dbdb177834e510c3af9 ******/ %feature("compactdefaultargs") Clear; - %feature("autodoc", "Removes all the object of the selection. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +removes all the object of the selection. ") Clear; virtual void Clear(); - /****************** ClearAndSelect ******************/ - /**** md5 signature: 8b52ba2d74fab9aa0e60b9e59590b3f1 ****/ + /****** AIS_Selection::ClearAndSelect ******/ + /****** md5 signature: cd4e57dc19c491057fa2be5161ac140d ******/ %feature("compactdefaultargs") ClearAndSelect; - %feature("autodoc", "Clears the selection and adds the object in the selection. - + %feature("autodoc", " Parameters ---------- theObject: SelectMgr_EntityOwner +theFilter: SelectMgr_Filter +theIsDetected: bool -Returns +Return ------- None + +Description +----------- +clears the selection and adds the object in the selection. +Input parameter: theObject element to change selection state +Input parameter: theFilter context filter +Input parameter: theIsDetected flag of object detection. ") ClearAndSelect; - virtual void ClearAndSelect(const opencascade::handle & theObject); + virtual void ClearAndSelect(const opencascade::handle & theObject, const opencascade::handle & theFilter, const Standard_Boolean theIsDetected); - /****************** Extent ******************/ - /**** md5 signature: 19453f219e568f9c5109a0fd06459e95 ****/ + /****** AIS_Selection::Extent ******/ + /****** md5 signature: 19453f219e568f9c5109a0fd06459e95 ******/ %feature("compactdefaultargs") Extent; - %feature("autodoc", "Return the number of selected objects. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Return the number of selected objects. ") Extent; Standard_Integer Extent(); - /****************** Init ******************/ - /**** md5 signature: ca2feb116ce485f3e8278f79ba5f5d53 ****/ + /****** AIS_Selection::Init ******/ + /****** md5 signature: ca2feb116ce485f3e8278f79ba5f5d53 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "Start iteration through selected objects. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Start iteration through selected objects. ") Init; void Init(); - /****************** IsEmpty ******************/ - /**** md5 signature: d529c07ce9e12eea3222188c82b0e80b ****/ + /****** AIS_Selection::IsEmpty ******/ + /****** md5 signature: d529c07ce9e12eea3222188c82b0e80b ******/ %feature("compactdefaultargs") IsEmpty; - %feature("autodoc", "Return true if list of selected objects is empty. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return true if list of selected objects is empty. ") IsEmpty; Standard_Boolean IsEmpty(); - /****************** IsSelected ******************/ - /**** md5 signature: 5ff80b2a0592facc019e9c16f23576a9 ****/ + /****** AIS_Selection::IsSelected ******/ + /****** md5 signature: 5ff80b2a0592facc019e9c16f23576a9 ******/ %feature("compactdefaultargs") IsSelected; - %feature("autodoc", "Checks if the object is in the selection. - + %feature("autodoc", " Parameters ---------- theObject: SelectMgr_EntityOwner -Returns +Return ------- bool + +Description +----------- +checks if the object is in the selection. ") IsSelected; Standard_Boolean IsSelected(const opencascade::handle & theObject); - /****************** More ******************/ - /**** md5 signature: cff271d3b32940da94bada40648f9096 ****/ + /****** AIS_Selection::More ******/ + /****** md5 signature: cff271d3b32940da94bada40648f9096 ******/ %feature("compactdefaultargs") More; - %feature("autodoc", "Return true if iterator points to selected object. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return true if iterator points to selected object. ") More; Standard_Boolean More(); - /****************** Next ******************/ - /**** md5 signature: 1201a55f750036045cd397a65f07fc7d ****/ + /****** AIS_Selection::Next ******/ + /****** md5 signature: 1201a55f750036045cd397a65f07fc7d ******/ %feature("compactdefaultargs") Next; - %feature("autodoc", "Continue iteration through selected objects. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Continue iteration through selected objects. ") Next; void Next(); - /****************** Objects ******************/ - /**** md5 signature: cd0377eef6bd9573f695d03614c020ca ****/ + /****** AIS_Selection::Objects ******/ + /****** md5 signature: cd0377eef6bd9573f695d03614c020ca ******/ %feature("compactdefaultargs") Objects; - %feature("autodoc", "Return the list of selected objects. - -Returns + %feature("autodoc", "Return ------- AIS_NListOfEntityOwner + +Description +----------- +Return the list of selected objects. ") Objects; const AIS_NListOfEntityOwner & Objects(); - /****************** Select ******************/ - /**** md5 signature: 87943d82b4002f5fb77cbc7b75a89c73 ****/ + /****** AIS_Selection::Select ******/ + /****** md5 signature: 9f3d04aa1643cf0047c4e1b0ebeba8e9 ******/ %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. - + %feature("autodoc", " Parameters ---------- -theObject: SelectMgr_EntityOwner +theOwner: SelectMgr_EntityOwner +theFilter: SelectMgr_Filter +theSelScheme: AIS_SelectionScheme +theIsDetected: bool -Returns +Return ------- AIS_SelectStatus + +Description +----------- +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. +Input parameter: theOwner element to change selection state +Input parameter: theFilter context filter +Input parameter: theSelScheme selection scheme +Input parameter: theIsDetected flag of object detection +Return: result of selection. ") Select; - virtual AIS_SelectStatus Select(const opencascade::handle & theObject); + virtual AIS_SelectStatus Select(const opencascade::handle & theOwner, const opencascade::handle & theFilter, const AIS_SelectionScheme theSelScheme, const Standard_Boolean theIsDetected); - /****************** Value ******************/ - /**** md5 signature: af0cbe2fba1d118547342f72cf6f251c ****/ - %feature("compactdefaultargs") Value; - %feature("autodoc", "Return selected object at iterator position. + /****** AIS_Selection::SelectOwners ******/ + /****** md5 signature: ac1b8c76b8f30a86ea808928babe4605 ******/ + %feature("compactdefaultargs") SelectOwners; + %feature("autodoc", " +Parameters +---------- +thePickedOwners: AIS_NArray1OfEntityOwner +theSelScheme: AIS_SelectionScheme +theToAllowSelOverlap: bool +theFilter: SelectMgr_Filter -Returns +Return +------- +None + +Description +----------- +Select or deselect owners depending on the selection scheme. +Input parameter: thePickedOwners elements to change selection state +Input parameter: theSelScheme selection scheme, defines how owner is selected +Input parameter: theToAllowSelOverlap selection flag, if true - overlapped entities are allowed +Input parameter: theFilter context filter to skip not acceptable owners. +") SelectOwners; + virtual void SelectOwners(const AIS_NArray1OfEntityOwner & thePickedOwners, const AIS_SelectionScheme theSelScheme, const Standard_Boolean theToAllowSelOverlap, const opencascade::handle & theFilter); + + /****** AIS_Selection::Value ******/ + /****** md5 signature: af0cbe2fba1d118547342f72cf6f251c ******/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Return selected object at iterator position. ") Value; const opencascade::handle & Value(); @@ -5944,80 +7168,94 @@ opencascade::handle ***************************/ class AIS_TrihedronOwner : public SelectMgr_EntityOwner { public: - /****************** AIS_TrihedronOwner ******************/ - /**** md5 signature: 23751440812cd73da0d7efc89d2fb02c ****/ + /****** AIS_TrihedronOwner::AIS_TrihedronOwner ******/ + /****** md5 signature: 23751440812cd73da0d7efc89d2fb02c ******/ %feature("compactdefaultargs") AIS_TrihedronOwner; - %feature("autodoc", "Creates an owner of ais_trihedron object. - + %feature("autodoc", " Parameters ---------- theSelObject: SelectMgr_SelectableObject theDatumPart: Prs3d_DatumParts thePriority: int -Returns +Return ------- None + +Description +----------- +Creates an owner of AIS_Trihedron object. ") AIS_TrihedronOwner; AIS_TrihedronOwner(const opencascade::handle & theSelObject, const Prs3d_DatumParts theDatumPart, const Standard_Integer thePriority); - /****************** DatumPart ******************/ - /**** md5 signature: a41d605d3f547efa643c1327a2cc9ab2 ****/ + /****** AIS_TrihedronOwner::DatumPart ******/ + /****** md5 signature: a41d605d3f547efa643c1327a2cc9ab2 ******/ %feature("compactdefaultargs") DatumPart; - %feature("autodoc", "Returns the datum part identifier. - -Returns + %feature("autodoc", "Return ------- Prs3d_DatumParts + +Description +----------- +Returns the datum part identifier. ") DatumPart; Prs3d_DatumParts DatumPart(); - /****************** HilightWithColor ******************/ - /**** md5 signature: 71c328368ee46e9ee02419c61fa1b191 ****/ + /****** AIS_TrihedronOwner::HilightWithColor ******/ + /****** md5 signature: ff872ded3a30d3b368f40f78eef3d5d8 ******/ %feature("compactdefaultargs") HilightWithColor; - %feature("autodoc", "Highlights selectable object's presentation. - + %feature("autodoc", " Parameters ---------- -thePM: PrsMgr_PresentationManager3d +thePM: PrsMgr_PresentationManager theStyle: Prs3d_Drawer theMode: int -Returns +Return ------- None + +Description +----------- +Highlights selectable object's presentation. ") HilightWithColor; - virtual void HilightWithColor(const opencascade::handle & thePM, const opencascade::handle & theStyle, const Standard_Integer theMode); + virtual void HilightWithColor(const opencascade::handle & thePM, const opencascade::handle & theStyle, const Standard_Integer theMode); - /****************** IsHilighted ******************/ - /**** md5 signature: 75ad53fe5d3fc51cf2a9dd7e62ee1347 ****/ + /****** AIS_TrihedronOwner::IsHilighted ******/ + /****** md5 signature: 75ad53fe5d3fc51cf2a9dd7e62ee1347 ******/ %feature("compactdefaultargs") IsHilighted; - %feature("autodoc", "Returns true if the presentation manager thepm highlights selections corresponding to the selection mode amode. - + %feature("autodoc", " Parameters ---------- thePM: PrsMgr_PresentationManager theMode: int -Returns +Return ------- bool + +Description +----------- +Returns true if the presentation manager thePM highlights selections corresponding to the selection mode aMode. ") IsHilighted; Standard_Boolean IsHilighted(const opencascade::handle & thePM, const Standard_Integer theMode); - /****************** Unhilight ******************/ - /**** md5 signature: 2c4ea7d84a1f77c1bca30641ba41616d ****/ + /****** AIS_TrihedronOwner::Unhilight ******/ + /****** md5 signature: 2c4ea7d84a1f77c1bca30641ba41616d ******/ %feature("compactdefaultargs") Unhilight; - %feature("autodoc", "Removes highlighting from the owner of a detected selectable object in the presentation manager thepm. - + %feature("autodoc", " Parameters ---------- thePM: PrsMgr_PresentationManager theMode: int -Returns +Return ------- None + +Description +----------- +Removes highlighting from the owner of a detected selectable object in the presentation manager thePM. ") Unhilight; virtual void Unhilight(const opencascade::handle & thePM, const Standard_Integer theMode); @@ -6037,33 +7275,39 @@ None ***********************/ class AIS_TypeFilter : public SelectMgr_Filter { public: - /****************** AIS_TypeFilter ******************/ - /**** md5 signature: ebb79db0373d3bbba2771a109e6c7798 ****/ + /****** AIS_TypeFilter::AIS_TypeFilter ******/ + /****** md5 signature: ebb79db0373d3bbba2771a109e6c7798 ******/ %feature("compactdefaultargs") AIS_TypeFilter; - %feature("autodoc", "Initializes filter for type, agivenkind. - + %feature("autodoc", " Parameters ---------- aGivenKind: AIS_KindOfInteractive -Returns +Return ------- None + +Description +----------- +Initializes filter for type, aGivenKind. ") AIS_TypeFilter; AIS_TypeFilter(const AIS_KindOfInteractive aGivenKind); - /****************** IsOk ******************/ - /**** md5 signature: 30e74b6ea22a70db5324b6f796325694 ****/ + /****** AIS_TypeFilter::IsOk ******/ + /****** md5 signature: 30e74b6ea22a70db5324b6f796325694 ******/ %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. - + %feature("autodoc", " Parameters ---------- anobj: SelectMgr_EntityOwner -Returns +Return ------- bool + +Description +----------- +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. ") IsOk; virtual Standard_Boolean IsOk(const opencascade::handle & anobj); @@ -6081,304 +7325,270 @@ bool /*************************** * class AIS_ViewController * ***************************/ -class AIS_ViewController { +class AIS_ViewController : public Aspect_WindowInputListener { public: - /****************** AIS_ViewController ******************/ - /**** md5 signature: d17644811ddb999bc83fdf0d339ec312 ****/ + /****** AIS_ViewController::AIS_ViewController ******/ + /****** md5 signature: d17644811ddb999bc83fdf0d339ec312 ******/ %feature("compactdefaultargs") AIS_ViewController; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") AIS_ViewController; AIS_ViewController(); - /****************** AbortViewAnimation ******************/ - /**** md5 signature: 731d09b2f2102bc88821725825303c73 ****/ + /****** AIS_ViewController::AbortViewAnimation ******/ + /****** md5 signature: 731d09b2f2102bc88821725825303c73 ******/ %feature("compactdefaultargs") AbortViewAnimation; - %feature("autodoc", "Interrupt active view animation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Interrupt active view animation. ") AbortViewAnimation; void AbortViewAnimation(); - /****************** AddTouchPoint ******************/ - /**** md5 signature: 93b82d6d34eb813c208bc4163ef671c4 ****/ + /****** AIS_ViewController::AddTouchPoint ******/ + /****** md5 signature: 3bd9dbdb649487ab2275978d96667a1b ******/ %feature("compactdefaultargs") AddTouchPoint; - %feature("autodoc", "Add touch point with the given id. this method is expected to be called from ui thread. @param theid touch unique identifier @param thepnt touch coordinates @param theclearbefore if true previously registered touches will be removed. - + %feature("autodoc", " Parameters ---------- theId: Standard_Size thePnt: Graphic3d_Vec2d -theClearBefore: bool,optional - default value is false +theClearBefore: bool (optional, default to false) -Returns +Return ------- None + +Description +----------- +Add touch point with the given ID. This method is expected to be called from UI thread. +Parameter theId touch unique identifier +Parameter thePnt touch coordinates +Parameter theClearBefore if True previously registered touches will be removed. ") AddTouchPoint; virtual void AddTouchPoint(Standard_Size theId, const Graphic3d_Vec2d & thePnt, Standard_Boolean theClearBefore = false); - /****************** Change3dMouseIsNoRotate ******************/ - /**** md5 signature: b2ff1af628a01e66606ed582c146ef69 ****/ - %feature("compactdefaultargs") Change3dMouseIsNoRotate; - %feature("autodoc", "Return 3d mouse rotation axes (tilt/roll/spin) ignore flag; (false, false, false) by default. - -Returns -------- -NCollection_Vec3 -") Change3dMouseIsNoRotate; - NCollection_Vec3 & Change3dMouseIsNoRotate(); - - /****************** Change3dMouseToReverse ******************/ - /**** md5 signature: 74994d53f8199fd2049bc1854acbcdb2 ****/ - %feature("compactdefaultargs") Change3dMouseToReverse; - %feature("autodoc", "Return 3d mouse rotation axes (tilt/roll/spin) reverse flag; (true, false, false) by default. - -Returns -------- -NCollection_Vec3 -") Change3dMouseToReverse; - NCollection_Vec3 & Change3dMouseToReverse(); - - /****************** ChangeInputBuffer ******************/ - /**** md5 signature: c617c43bf721a07d3495c85c386656be ****/ + /****** AIS_ViewController::ChangeInputBuffer ******/ + /****** md5 signature: c617c43bf721a07d3495c85c386656be ******/ %feature("compactdefaultargs") ChangeInputBuffer; - %feature("autodoc", "Return input buffer. - + %feature("autodoc", " Parameters ---------- theType: AIS_ViewInputBufferType -Returns +Return ------- AIS_ViewInputBuffer + +Description +----------- +Return input buffer. ") ChangeInputBuffer; AIS_ViewInputBuffer & ChangeInputBuffer(AIS_ViewInputBufferType theType); - /****************** ChangeKeys ******************/ - /**** md5 signature: 5ba331e57bcd00b6539ab5d9145324ac ****/ - %feature("compactdefaultargs") ChangeKeys; - %feature("autodoc", "Return keyboard state. - -Returns -------- -Aspect_VKeySet -") ChangeKeys; - Aspect_VKeySet & ChangeKeys(); - - /****************** ChangeMouseGestureMap ******************/ - /**** md5 signature: f27868853ccb67e85e9cde87d79c302f ****/ + /****** AIS_ViewController::ChangeMouseGestureMap ******/ + /****** md5 signature: f27868853ccb67e85e9cde87d79c302f ******/ %feature("compactdefaultargs") ChangeMouseGestureMap; - %feature("autodoc", "Return map defining mouse gestures. - -Returns + %feature("autodoc", "Return ------- AIS_MouseGestureMap + +Description +----------- +Return map defining mouse gestures. ") ChangeMouseGestureMap; AIS_MouseGestureMap & ChangeMouseGestureMap(); - /****************** EventTime ******************/ - /**** md5 signature: 6bdc5b17561b5be0e9e4dbdd76a72ace ****/ - %feature("compactdefaultargs") EventTime; - %feature("autodoc", "Return event time (e.g. current time). - -Returns + /****** AIS_ViewController::ChangeMouseSelectionSchemes ******/ + /****** md5 signature: 80ce1bcc2c1e49f99852f20cc18b214d ******/ + %feature("compactdefaultargs") ChangeMouseSelectionSchemes; + %feature("autodoc", "Return ------- -double -") EventTime; - double EventTime(); +AIS_MouseSelectionSchemeMap - /****************** FetchNavigationKeys ******************/ - /**** md5 signature: 5b7cb763413888a54d2f8b3826e86cda ****/ - %feature("compactdefaultargs") FetchNavigationKeys; - %feature("autodoc", "Fetch active navigation actions. +Description +----------- +Return map defining mouse gestures. +") ChangeMouseSelectionSchemes; + AIS_MouseSelectionSchemeMap & ChangeMouseSelectionSchemes(); + /****** AIS_ViewController::FetchNavigationKeys ******/ + /****** md5 signature: 5b7cb763413888a54d2f8b3826e86cda ******/ + %feature("compactdefaultargs") FetchNavigationKeys; + %feature("autodoc", " Parameters ---------- theCrouchRatio: float theRunRatio: float -Returns +Return ------- AIS_WalkDelta + +Description +----------- +Fetch active navigation actions. ") FetchNavigationKeys; AIS_WalkDelta FetchNavigationKeys(Standard_Real theCrouchRatio, Standard_Real theRunRatio); - /****************** FitAllAuto ******************/ - /**** md5 signature: e1231c24d57b52a006fd8876a9bd9bb0 ****/ + /****** AIS_ViewController::FitAllAuto ******/ + /****** md5 signature: e1231c24d57b52a006fd8876a9bd9bb0 ******/ %feature("compactdefaultargs") FitAllAuto; - %feature("autodoc", "Modify view camera to fit all objects. default implementation fits either all visible and all selected objects (swapped on each call). - + %feature("autodoc", " Parameters ---------- theCtx: AIS_InteractiveContext theView: V3d_View -Returns +Return ------- None + +Description +----------- +Modify view camera to fit all objects. Default implementation fits either all visible and all selected objects (swapped on each call). ") FitAllAuto; virtual void FitAllAuto(const opencascade::handle & theCtx, const opencascade::handle & theView); - /****************** FlushViewEvents ******************/ - /**** md5 signature: a398ee112a4247b63979af70592cb6a0 ****/ + /****** AIS_ViewController::FlushViewEvents ******/ + /****** md5 signature: a398ee112a4247b63979af70592cb6a0 ******/ %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. - + %feature("autodoc", " Parameters ---------- theCtx: AIS_InteractiveContext theView: V3d_View -theToHandle: bool,optional - default value is Standard_False +theToHandle: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +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). +Parameter theCtx interactive context +Parameter theView active view +Parameter theToHandle if True, the HandleViewEvents() will be called. ") FlushViewEvents; virtual void FlushViewEvents(const opencascade::handle & theCtx, const opencascade::handle & theView, Standard_Boolean theToHandle = Standard_False); - /****************** Get3dMouseIsNoRotate ******************/ - /**** md5 signature: ae14b65261c4d2a6b12679cc1f5c5ed4 ****/ - %feature("compactdefaultargs") Get3dMouseIsNoRotate; - %feature("autodoc", "Return 3d mouse rotation axes (tilt/roll/spin) ignore flag; (false, false, false) by default. - -Returns -------- -NCollection_Vec3 -") Get3dMouseIsNoRotate; - const NCollection_Vec3 & Get3dMouseIsNoRotate(); - - /****************** Get3dMouseRotationScale ******************/ - /**** md5 signature: 6e7927184907412546b0e3bf5c131f00 ****/ - %feature("compactdefaultargs") Get3dMouseRotationScale; - %feature("autodoc", "Return acceleration ratio for rotation event; 4.0 by default. - -Returns -------- -float -") Get3dMouseRotationScale; - float Get3dMouseRotationScale(); - - /****************** Get3dMouseToReverse ******************/ - /**** md5 signature: a365f1e9e4397aece1eb44aa7383f6d5 ****/ - %feature("compactdefaultargs") Get3dMouseToReverse; - %feature("autodoc", "Return 3d mouse rotation axes (tilt/roll/spin) reverse flag; (true, false, false) by default. - -Returns -------- -NCollection_Vec3 -") Get3dMouseToReverse; - const NCollection_Vec3 & Get3dMouseToReverse(); - - /****************** Get3dMouseTranslationScale ******************/ - /**** md5 signature: f426a4558b5227de61530d9d20b93e7e ****/ - %feature("compactdefaultargs") Get3dMouseTranslationScale; - %feature("autodoc", "Return acceleration ratio for translation event; 2.0 by default. - -Returns -------- -float -") Get3dMouseTranslationScale; - float Get3dMouseTranslationScale(); - - /****************** GravityPoint ******************/ - /**** md5 signature: 8c62140d10f0624c3042ec01021f9c63 ****/ + /****** AIS_ViewController::GravityPoint ******/ + /****** md5 signature: 8c62140d10f0624c3042ec01021f9c63 ******/ %feature("compactdefaultargs") GravityPoint; - %feature("autodoc", "Compute rotation gravity center point depending on rotation mode. this method is expected to be called from rendering thread. - + %feature("autodoc", " Parameters ---------- theCtx: AIS_InteractiveContext theView: V3d_View -Returns +Return ------- gp_Pnt + +Description +----------- +Compute rotation gravity center point depending on rotation mode. This method is expected to be called from rendering thread. ") GravityPoint; virtual gp_Pnt GravityPoint(const opencascade::handle & theCtx, const opencascade::handle & theView); - /****************** HandleViewEvents ******************/ - /**** md5 signature: e3784b7efd9bd39b5d26bbf04f33ae3d ****/ + /****** AIS_ViewController::HandleViewEvents ******/ + /****** md5 signature: e3784b7efd9bd39b5d26bbf04f33ae3d ******/ %feature("compactdefaultargs") HandleViewEvents; - %feature("autodoc", "Process events within rendering thread. - + %feature("autodoc", " Parameters ---------- theCtx: AIS_InteractiveContext theView: V3d_View -Returns +Return ------- None + +Description +----------- +Process events within rendering thread. ") HandleViewEvents; virtual void HandleViewEvents(const opencascade::handle & theCtx, const opencascade::handle & theView); - /****************** HasPreviousMoveTo ******************/ - /**** md5 signature: 3d9b6ec437ae40d62db4d05a38ce3745 ****/ + /****** AIS_ViewController::HasPreviousMoveTo ******/ + /****** md5 signature: 3d9b6ec437ae40d62db4d05a38ce3745 ******/ %feature("compactdefaultargs") HasPreviousMoveTo; - %feature("autodoc", "Return true if previous position of moveto has been defined. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return True if previous position of MoveTo has been defined. ") HasPreviousMoveTo; bool HasPreviousMoveTo(); - /****************** HasTouchPoints ******************/ - /**** md5 signature: f6532233e79841283a6d00ea2e7477d5 ****/ - %feature("compactdefaultargs") HasTouchPoints; - %feature("autodoc", "Return true if touches map is not empty. - -Returns -------- -bool -") HasTouchPoints; - bool HasTouchPoints(); - - /****************** InputBuffer ******************/ - /**** md5 signature: 0e66b64ea2254057a38ac6990d92e49f ****/ + /****** AIS_ViewController::InputBuffer ******/ + /****** md5 signature: 0e66b64ea2254057a38ac6990d92e49f ******/ %feature("compactdefaultargs") InputBuffer; - %feature("autodoc", "Return input buffer. - + %feature("autodoc", " Parameters ---------- theType: AIS_ViewInputBufferType -Returns +Return ------- AIS_ViewInputBuffer + +Description +----------- +Return input buffer. ") InputBuffer; const AIS_ViewInputBuffer & InputBuffer(AIS_ViewInputBufferType theType); - /****************** KeyDown ******************/ - /**** md5 signature: e81df4f0db38c260f6d1c40efe826065 ****/ - %feature("compactdefaultargs") KeyDown; - %feature("autodoc", "Press key. @param thekey key pressed @param thetime event timestamp. + /****** AIS_ViewController::IsContinuousRedraw ******/ + /****** md5 signature: ebe0ac2e75e8c36daa1c62aa56049396 ******/ + %feature("compactdefaultargs") IsContinuousRedraw; + %feature("autodoc", "Return +------- +bool +Description +----------- +Return True if continuous redrawing is enabled; False by default. This option would request a next viewer frame to be completely redrawn right after current frame is finished. +") IsContinuousRedraw; + bool IsContinuousRedraw(); + + /****** AIS_ViewController::KeyDown ******/ + /****** md5 signature: 055381051455eb24c6769534a3ac24de ******/ + %feature("compactdefaultargs") KeyDown; + %feature("autodoc", " Parameters ---------- theKey: Aspect_VKey theTime: double -thePressure: double,optional - default value is 1.0 +thePressure: double (optional, default to 1.0) -Returns +Return ------- None + +Description +----------- +Press key. Default implementation updates internal cache. +Parameter theKey key pressed +Parameter theTime event timestamp. ") KeyDown; virtual void KeyDown(Aspect_VKey theKey, double theTime, double thePressure = 1.0); - /****************** KeyFromAxis ******************/ - /**** md5 signature: a8474160bd508215c794eb4f52308070 ****/ + /****** AIS_ViewController::KeyFromAxis ******/ + /****** md5 signature: 9ef75989fe6dc713757abf2620277306 ******/ %feature("compactdefaultargs") KeyFromAxis; - %feature("autodoc", "Simulate key up/down events from axis value. - + %feature("autodoc", " Parameters ---------- theNegative: Aspect_VKey @@ -6386,165 +7596,229 @@ thePositive: Aspect_VKey theTime: double thePressure: double -Returns +Return ------- None + +Description +----------- +Simulate key up/down events from axis value. Default implementation updates internal cache. ") KeyFromAxis; virtual void KeyFromAxis(Aspect_VKey theNegative, Aspect_VKey thePositive, double theTime, double thePressure); - /****************** KeyUp ******************/ - /**** md5 signature: 15846f68bddea480edd14c42e82a328b ****/ + /****** AIS_ViewController::KeyUp ******/ + /****** md5 signature: 62ece3de20f1bd30c606afe8dacaceb1 ******/ %feature("compactdefaultargs") KeyUp; - %feature("autodoc", "Release key. @param thekey key pressed @param thetime event timestamp. - + %feature("autodoc", " Parameters ---------- theKey: Aspect_VKey theTime: double -Returns +Return ------- None + +Description +----------- +Release key. Default implementation updates internal cache. +Parameter theKey key pressed +Parameter theTime event timestamp. ") KeyUp; virtual void KeyUp(Aspect_VKey theKey, double theTime); - /****************** Keys ******************/ - /**** md5 signature: 71088904ae13bced99cf6e1155c58478 ****/ - %feature("compactdefaultargs") Keys; - %feature("autodoc", "Return keyboard state. - -Returns -------- -Aspect_VKeySet -") Keys; - const Aspect_VKeySet & Keys(); - - /****************** LastMouseFlags ******************/ - /**** md5 signature: 891e38e0b645d78e87ef09c802ac2d63 ****/ - %feature("compactdefaultargs") LastMouseFlags; - %feature("autodoc", "Return active key modifiers passed with last mouse event. - -Returns -------- -Aspect_VKeyFlags -") LastMouseFlags; - Aspect_VKeyFlags LastMouseFlags(); - - /****************** LastMousePosition ******************/ - /**** md5 signature: 69040771a57339f922c8a0c6021122bb ****/ - %feature("compactdefaultargs") LastMousePosition; - %feature("autodoc", "Return last mouse position. - -Returns -------- -Graphic3d_Vec2i -") LastMousePosition; - const Graphic3d_Vec2i & LastMousePosition(); - - /****************** MinZoomDistance ******************/ - /**** md5 signature: 5bb7298fe9e97f5e9e5ab0365d634252 ****/ + /****** AIS_ViewController::MinZoomDistance ******/ + /****** md5 signature: 5bb7298fe9e97f5e9e5ab0365d634252 ******/ %feature("compactdefaultargs") MinZoomDistance; - %feature("autodoc", "Return minimal camera distance for zoom operation. - -Returns + %feature("autodoc", "Return ------- double + +Description +----------- +Return minimal camera distance for zoom operation. ") MinZoomDistance; double MinZoomDistance(); - /****************** MouseAcceleration ******************/ - /**** md5 signature: f265598ba72b1915cecbb49edd0a9d81 ****/ + /****** AIS_ViewController::MouseAcceleration ******/ + /****** md5 signature: f265598ba72b1915cecbb49edd0a9d81 ******/ %feature("compactdefaultargs") MouseAcceleration; - %feature("autodoc", "Return mouse input acceleration ratio in first person mode; 1.0 by default. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Return mouse input acceleration ratio in First Person mode; 1.0 by default. ") MouseAcceleration; float MouseAcceleration(); - /****************** MouseDoubleClickInterval ******************/ - /**** md5 signature: 0b1c8ccdce13f23e18102cc62c6b767a ****/ + /****** AIS_ViewController::MouseDoubleClickInterval ******/ + /****** md5 signature: 0b1c8ccdce13f23e18102cc62c6b767a ******/ %feature("compactdefaultargs") MouseDoubleClickInterval; - %feature("autodoc", "Return double click interval in seconds; 0.4 by default. - -Returns + %feature("autodoc", "Return ------- double + +Description +----------- +Return double click interval in seconds; 0.4 by default. ") MouseDoubleClickInterval; double MouseDoubleClickInterval(); - /****************** MouseGestureMap ******************/ - /**** md5 signature: 6a56ea9364a41a0bd33383ac695e295c ****/ + /****** AIS_ViewController::MouseGestureMap ******/ + /****** md5 signature: 6a56ea9364a41a0bd33383ac695e295c ******/ %feature("compactdefaultargs") MouseGestureMap; - %feature("autodoc", "Return map defining mouse gestures. - -Returns + %feature("autodoc", "Return ------- AIS_MouseGestureMap + +Description +----------- +Return map defining mouse gestures. ") MouseGestureMap; const AIS_MouseGestureMap & MouseGestureMap(); - /****************** NavigationMode ******************/ - /**** md5 signature: de20fce514777ce3a2a466778f462fc3 ****/ - %feature("compactdefaultargs") NavigationMode; - %feature("autodoc", "Return camera navigation mode; ais_navigationmode_orbit by default. + /****** AIS_ViewController::MouseSelectionSchemes ******/ + /****** md5 signature: a293a8235f2dad8699b519a19dccdf67 ******/ + %feature("compactdefaultargs") MouseSelectionSchemes; + %feature("autodoc", "Return +------- +AIS_MouseSelectionSchemeMap + +Description +----------- +Return map defining mouse selection schemes. +") MouseSelectionSchemes; + const AIS_MouseSelectionSchemeMap & MouseSelectionSchemes(); -Returns + /****** AIS_ViewController::NavigationMode ******/ + /****** md5 signature: de20fce514777ce3a2a466778f462fc3 ******/ + %feature("compactdefaultargs") NavigationMode; + %feature("autodoc", "Return ------- AIS_NavigationMode + +Description +----------- +Return camera navigation mode; AIS_NavigationMode_Orbit by default. ") NavigationMode; AIS_NavigationMode NavigationMode(); - /****************** OnObjectDragged ******************/ - /**** md5 signature: e3d03bd62923f7f609f4ff8690501efc ****/ - %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. + /****** AIS_ViewController::ObjectsAnimation ******/ + /****** md5 signature: f84f413869b6320ac0352f35312f7fc9 ******/ + %feature("compactdefaultargs") ObjectsAnimation; + %feature("autodoc", "Return +------- +opencascade::handle + +Description +----------- +Return objects animation; empty (but not NULL) animation by default. +") ObjectsAnimation; + const opencascade::handle & ObjectsAnimation(); + /****** AIS_ViewController::OnObjectDragged ******/ + /****** md5 signature: e3d03bd62923f7f609f4ff8690501efc ******/ + %feature("compactdefaultargs") OnObjectDragged; + %feature("autodoc", " Parameters ---------- theCtx: AIS_InteractiveContext theView: V3d_View theAction: AIS_DragAction -Returns +Return ------- None + +Description +----------- +Callback called by handleMoveTo() on dragging object in 3D Viewer. This method is expected to be called from rendering thread. ") OnObjectDragged; virtual void OnObjectDragged(const opencascade::handle & theCtx, const opencascade::handle & theView, AIS_DragAction theAction); - /****************** OnSelectionChanged ******************/ - /**** md5 signature: 19b94fd304dbfac300a34e45312cee94 ****/ + /****** AIS_ViewController::OnSelectionChanged ******/ + /****** md5 signature: 19b94fd304dbfac300a34e45312cee94 ******/ %feature("compactdefaultargs") OnSelectionChanged; - %feature("autodoc", "Callback called by handlemoveto() on selection in 3d viewer. this method is expected to be called from rendering thread. - + %feature("autodoc", " Parameters ---------- theCtx: AIS_InteractiveContext theView: V3d_View -Returns +Return ------- None + +Description +----------- +Callback called by handleMoveTo() on Selection in 3D Viewer. This method is expected to be called from rendering thread. ") OnSelectionChanged; virtual void OnSelectionChanged(const opencascade::handle & theCtx, const opencascade::handle & theView); - /****************** OrbitAcceleration ******************/ - /**** md5 signature: da5f202aed945c1ea0545de4854049ae ****/ - %feature("compactdefaultargs") OrbitAcceleration; - %feature("autodoc", "Return orbit rotation acceleration ratio; 1.0 by default. + /****** AIS_ViewController::OnSubviewChanged ******/ + /****** md5 signature: 164823ba5741e132455aee7ed3e0374f ******/ + %feature("compactdefaultargs") OnSubviewChanged; + %feature("autodoc", " +Parameters +---------- +theCtx: AIS_InteractiveContext +theOldView: V3d_View +theNewView: V3d_View -Returns +Return +------- +None + +Description +----------- +Callback called by HandleViewEvents() on Selection of another (sub)view. This method is expected to be called from rendering thread. +") OnSubviewChanged; + virtual void OnSubviewChanged(const opencascade::handle & theCtx, const opencascade::handle & theOldView, const opencascade::handle & theNewView); + + /****** AIS_ViewController::OrbitAcceleration ******/ + /****** md5 signature: da5f202aed945c1ea0545de4854049ae ******/ + %feature("compactdefaultargs") OrbitAcceleration; + %feature("autodoc", "Return ------- float + +Description +----------- +Return orbit rotation acceleration ratio; 1.0 by default. ") OrbitAcceleration; float OrbitAcceleration(); - /****************** PickPoint ******************/ - /**** md5 signature: f34d655153fb91f33134075ddbeb45a4 ****/ - %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. + /****** AIS_ViewController::PickAxis ******/ + /****** md5 signature: 623ae1227bd809a63fcbddc49732d262 ******/ + %feature("compactdefaultargs") PickAxis; + %feature("autodoc", " +Parameters +---------- +theTopPnt: gp_Pnt +theCtx: AIS_InteractiveContext +theView: V3d_View +theAxis: gp_Ax1 + +Return +------- +bool +Description +----------- +Pick closest point by axis. This method is expected to be called from rendering thread. @param[out] theTopPnt result point +Input parameter: theCtx interactive context +Input parameter: theView active view +Input parameter: theAxis selection axis +Return: True if result has been found. +") PickAxis; + virtual bool PickAxis(gp_Pnt & theTopPnt, const opencascade::handle & theCtx, const opencascade::handle & theView, const gp_Ax1 & theAxis); + + /****** AIS_ViewController::PickPoint ******/ + /****** md5 signature: f34d655153fb91f33134075ddbeb45a4 ******/ + %feature("compactdefaultargs") PickPoint; + %feature("autodoc", " Parameters ---------- thePnt: gp_Pnt @@ -6553,807 +7827,990 @@ theView: V3d_View theCursor: Graphic3d_Vec2i theToStickToPickRay: bool -Returns +Return ------- bool + +Description +----------- +Pick closest point under mouse cursor. This method is expected to be called from rendering thread. @param[out] thePnt result point +Input parameter: theCtx interactive context +Input parameter: theView active view +Input parameter: theCursor mouse cursor +Input parameter: theToStickToPickRay when True, the result point will lie on picking ray +Return: True if result has been found. ") PickPoint; virtual bool PickPoint(gp_Pnt & thePnt, const opencascade::handle & theCtx, const opencascade::handle & theView, const Graphic3d_Vec2i & theCursor, bool theToStickToPickRay); - /****************** PressMouseButton ******************/ - /**** md5 signature: 3011ceaa0add6213ae689425180a9aab ****/ - %feature("compactdefaultargs") PressMouseButton; - %feature("autodoc", "Handle mouse button press event. this method is expected to be called from ui thread. @param thepoint mouse cursor position @param thebutton pressed button @param themodifiers key modifiers @param theisemulated if true then mouse event comes not from real mouse but emulated from non-precise input like touch on screen returns true if view should be redrawn. + /****** AIS_ViewController::PreviousMoveTo ******/ + /****** md5 signature: 0238bfa577ed4f8d2d7e4ac20fe0c928 ******/ + %feature("compactdefaultargs") PreviousMoveTo; + %feature("autodoc", "Return +------- +Graphic3d_Vec2i -Parameters ----------- -thePoint: Graphic3d_Vec2i -theButton: Aspect_VKeyMouse -theModifiers: Aspect_VKeyFlags -theIsEmulated: bool +Description +----------- +Return previous position of MoveTo event in 3D viewer. +") PreviousMoveTo; + const Graphic3d_Vec2i & PreviousMoveTo(); -Returns + /****** AIS_ViewController::ProcessClose ******/ + /****** md5 signature: 3481c3827afdec0c5c5e91dde837b867 ******/ + %feature("compactdefaultargs") ProcessClose; + %feature("autodoc", "Return ------- -bool -") PressMouseButton; - bool PressMouseButton(const Graphic3d_Vec2i & thePoint, Aspect_VKeyMouse theButton, Aspect_VKeyFlags theModifiers, bool theIsEmulated); +None + +Description +----------- +Handle window close event. Default implementation does nothing. +") ProcessClose; + virtual void ProcessClose(); - /****************** PressedMouseButtons ******************/ - /**** md5 signature: 28ea733557be0052235dc8a7fe3ed119 ****/ - %feature("compactdefaultargs") PressedMouseButtons; - %feature("autodoc", "Return currently pressed mouse buttons. + /****** AIS_ViewController::ProcessConfigure ******/ + /****** md5 signature: fe5a0999d9281947f44acb4734142af6 ******/ + %feature("compactdefaultargs") ProcessConfigure; + %feature("autodoc", " +Parameters +---------- +theIsResized: bool -Returns +Return ------- -Aspect_VKeyMouse -") PressedMouseButtons; - Aspect_VKeyMouse PressedMouseButtons(); +None - /****************** PreviousMoveTo ******************/ - /**** md5 signature: 0238bfa577ed4f8d2d7e4ac20fe0c928 ****/ - %feature("compactdefaultargs") PreviousMoveTo; - %feature("autodoc", "Return previous position of moveto event in 3d viewer. +Description +----------- +Handle window resize event. Default implementation does nothing. +") ProcessConfigure; + virtual void ProcessConfigure(bool theIsResized); -Returns + /****** AIS_ViewController::ProcessExpose ******/ + /****** md5 signature: dc0514da1009d9a5010f9cf835c23893 ******/ + %feature("compactdefaultargs") ProcessExpose; + %feature("autodoc", "Return ------- -Graphic3d_Vec2i -") PreviousMoveTo; - const Graphic3d_Vec2i & PreviousMoveTo(); +None - /****************** ReleaseMouseButton ******************/ - /**** md5 signature: a9b43da8768564266828a78fde53802f ****/ - %feature("compactdefaultargs") ReleaseMouseButton; - %feature("autodoc", "Handle mouse button release event. this method is expected to be called from ui thread. @param thepoint mouse cursor position @param thebutton released button @param themodifiers key modifiers @param theisemulated if true then mouse event comes not from real mouse but emulated from non-precise input like touch on screen returns true if view should be redrawn. +Description +----------- +Handle expose event (window content has been invalidation and should be redrawn). Default implementation does nothing. +") ProcessExpose; + virtual void ProcessExpose(); + /****** AIS_ViewController::ProcessFocus ******/ + /****** md5 signature: ff9272136bbf3e658128b3d270a2248c ******/ + %feature("compactdefaultargs") ProcessFocus; + %feature("autodoc", " Parameters ---------- -thePoint: Graphic3d_Vec2i -theButton: Aspect_VKeyMouse -theModifiers: Aspect_VKeyFlags -theIsEmulated: bool +theIsActivated: bool -Returns +Return ------- -bool -") ReleaseMouseButton; - bool ReleaseMouseButton(const Graphic3d_Vec2i & thePoint, Aspect_VKeyMouse theButton, Aspect_VKeyFlags theModifiers, bool theIsEmulated); +None - /****************** RemoveTouchPoint ******************/ - /**** md5 signature: 45c3401339716ca58b815f7e44a3d196 ****/ - %feature("compactdefaultargs") RemoveTouchPoint; - %feature("autodoc", "Remove touch point with the given id. this method is expected to be called from ui thread. @param theid touch unique identifier @param theclearselectpnts if true will initiate clearing of selection points returns true if point has been removed. +Description +----------- +Handle focus event. Default implementation resets cached input state (pressed keys). +") ProcessFocus; + virtual void ProcessFocus(bool theIsActivated); + + /****** AIS_ViewController::ProcessInput ******/ + /****** md5 signature: 386b349f17fbbc54b1980328bb1461fc ******/ + %feature("compactdefaultargs") ProcessInput; + %feature("autodoc", "Return +------- +None +Description +----------- +Handle window input event immediately. Default implementation does nothing - input events are accumulated in internal buffer until explicit FlushViewEvents() call. +") ProcessInput; + virtual void ProcessInput(); + + /****** AIS_ViewController::RemoveTouchPoint ******/ + /****** md5 signature: 191b7bc4b1754be7fbea137e67fea68b ******/ + %feature("compactdefaultargs") RemoveTouchPoint; + %feature("autodoc", " Parameters ---------- theId: Standard_Size -theClearSelectPnts: bool,optional - default value is false +theClearSelectPnts: bool (optional, default to false) -Returns +Return ------- bool + +Description +----------- +Remove touch point with the given ID. This method is expected to be called from UI thread. +Parameter theId touch unique identifier +Parameter theClearSelectPnts if True will initiate clearing of selection points +Return: True if point has been removed. ") RemoveTouchPoint; virtual bool RemoveTouchPoint(Standard_Size theId, Standard_Boolean theClearSelectPnts = false); - /****************** ResetPreviousMoveTo ******************/ - /**** md5 signature: ff7cc9a520e1718b6fc18bc5f46cc8c2 ****/ + /****** AIS_ViewController::ResetPreviousMoveTo ******/ + /****** md5 signature: ff7cc9a520e1718b6fc18bc5f46cc8c2 ******/ %feature("compactdefaultargs") ResetPreviousMoveTo; - %feature("autodoc", "Reset previous position of moveto. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Reset previous position of MoveTo. ") ResetPreviousMoveTo; void ResetPreviousMoveTo(); - /****************** ResetViewInput ******************/ - /**** md5 signature: 62483d4c4a228ccac68e25645b87e1e9 ****/ + /****** AIS_ViewController::ResetViewInput ******/ + /****** md5 signature: 62483d4c4a228ccac68e25645b87e1e9 ******/ %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. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Reset input state (pressed keys, mouse buttons, etc.) e.g. on window focus loss. This method is expected to be called from UI thread. ") ResetViewInput; virtual void ResetViewInput(); - /****************** RotationMode ******************/ - /**** md5 signature: fe28f5b4de6b6363de3be27ba9b18699 ****/ + /****** AIS_ViewController::RotationMode ******/ + /****** md5 signature: fe28f5b4de6b6363de3be27ba9b18699 ******/ %feature("compactdefaultargs") RotationMode; - %feature("autodoc", "Return camera rotation mode, ais_rotationmode_bndboxactive by default. - -Returns + %feature("autodoc", "Return ------- AIS_RotationMode + +Description +----------- +Return camera rotation mode, AIS_RotationMode_BndBoxActive by default. ") RotationMode; AIS_RotationMode RotationMode(); - /****************** SelectInViewer ******************/ - /**** md5 signature: fb1ee6ed4cad231a75d704035cc26f17 ****/ + /****** AIS_ViewController::SelectInViewer ******/ + /****** md5 signature: 455d3e990b5174a5d49957adc7536b62 ******/ %feature("compactdefaultargs") SelectInViewer; - %feature("autodoc", "Perform selection in 3d viewer. this method is expected to be called from ui thread. @param thepnt picking point @param theisxor xor selection flag. - + %feature("autodoc", " Parameters ---------- thePnt: Graphic3d_Vec2i -theIsXOR: bool,optional - default value is false +theScheme: AIS_SelectionScheme (optional, default to AIS_SelectionScheme_Replace) -Returns +Return ------- None + +Description +----------- +Perform selection in 3D viewer. This method is expected to be called from UI thread. +Parameter thePnt picking point +Parameter theScheme selection scheme. ") SelectInViewer; - virtual void SelectInViewer(const Graphic3d_Vec2i & thePnt, const bool theIsXOR = false); + virtual void SelectInViewer(const Graphic3d_Vec2i & thePnt, const AIS_SelectionScheme theScheme = AIS_SelectionScheme_Replace); - /****************** SelectInViewer ******************/ - /**** md5 signature: e6d212ca872d2875f33a351bd67cae52 ****/ + /****** AIS_ViewController::SelectInViewer ******/ + /****** md5 signature: f9f97b8f40af10382e8032daffba1d1b ******/ %feature("compactdefaultargs") SelectInViewer; - %feature("autodoc", "Perform selection in 3d viewer. this method is expected to be called from ui thread. @param thepnts picking point @param theisxor xor selection flag. - + %feature("autodoc", " Parameters ---------- thePnts: NCollection_Sequence -theIsXOR: bool,optional - default value is false - -Returns -------- -None -") SelectInViewer; - virtual void SelectInViewer(const NCollection_Sequence & thePnts, const bool theIsXOR = false); - - /****************** Set3dMousePreciseInput ******************/ - /**** md5 signature: 0ff4172c7dce21c124fb3941d21634cd ****/ - %feature("compactdefaultargs") Set3dMousePreciseInput; - %feature("autodoc", "Set quadric acceleration flag. - -Parameters ----------- -theIsQuadric: bool - -Returns -------- -None -") Set3dMousePreciseInput; - void Set3dMousePreciseInput(bool theIsQuadric); - - /****************** Set3dMouseRotationScale ******************/ - /**** md5 signature: 26cc1d3413bc1ed0806210cb74503bf8 ****/ - %feature("compactdefaultargs") Set3dMouseRotationScale; - %feature("autodoc", "Set acceleration ratio for rotation event. +theScheme: AIS_SelectionScheme (optional, default to AIS_SelectionScheme_Replace) -Parameters ----------- -theScale: float - -Returns +Return ------- None -") Set3dMouseRotationScale; - void Set3dMouseRotationScale(float theScale); - - /****************** Set3dMouseTranslationScale ******************/ - /**** md5 signature: d66cf6c87510f4cf28118e77235f6dc1 ****/ - %feature("compactdefaultargs") Set3dMouseTranslationScale; - %feature("autodoc", "Set acceleration ratio for translation event. -Parameters ----------- -theScale: float - -Returns -------- -None -") Set3dMouseTranslationScale; - void Set3dMouseTranslationScale(float theScale); +Description +----------- +Perform selection in 3D viewer. This method is expected to be called from UI thread. +Parameter thePnts picking point +Parameter theScheme selection scheme. +") SelectInViewer; + virtual void SelectInViewer(const NCollection_Sequence & thePnts, const AIS_SelectionScheme theScheme = AIS_SelectionScheme_Replace); - /****************** SetAllowDragging ******************/ - /**** md5 signature: df0d4841ca91c4e463f1b9ff172bb5a7 ****/ + /****** AIS_ViewController::SetAllowDragging ******/ + /****** md5 signature: df0d4841ca91c4e463f1b9ff172bb5a7 ******/ %feature("compactdefaultargs") SetAllowDragging; - %feature("autodoc", "Set if dynamic highlight on mouse move is allowed. - + %feature("autodoc", " Parameters ---------- theToEnable: bool -Returns +Return ------- None + +Description +----------- +Set if dynamic highlight on mouse move is allowed. ") SetAllowDragging; void SetAllowDragging(bool theToEnable); - /****************** SetAllowHighlight ******************/ - /**** md5 signature: 6d086c23d765d930b39eb6604ea15be5 ****/ + /****** AIS_ViewController::SetAllowHighlight ******/ + /****** md5 signature: 6d086c23d765d930b39eb6604ea15be5 ******/ %feature("compactdefaultargs") SetAllowHighlight; - %feature("autodoc", "Set if dragging object is allowed. - + %feature("autodoc", " Parameters ---------- theToEnable: bool -Returns +Return ------- None + +Description +----------- +Set if dragging object is allowed. ") SetAllowHighlight; void SetAllowHighlight(bool theToEnable); - /****************** SetAllowPanning ******************/ - /**** md5 signature: aa5e493b4b9d5ca7f79b1000442d464b ****/ + /****** AIS_ViewController::SetAllowPanning ******/ + /****** md5 signature: aa5e493b4b9d5ca7f79b1000442d464b ******/ %feature("compactdefaultargs") SetAllowPanning; - %feature("autodoc", "Set if panning is allowed. - + %feature("autodoc", " Parameters ---------- theToEnable: bool -Returns +Return ------- None + +Description +----------- +Set if panning is allowed. ") SetAllowPanning; void SetAllowPanning(bool theToEnable); - /****************** SetAllowRotation ******************/ - /**** md5 signature: ac9fc6d418b04ff6ca20098169113ae9 ****/ + /****** AIS_ViewController::SetAllowRotation ******/ + /****** md5 signature: ac9fc6d418b04ff6ca20098169113ae9 ******/ %feature("compactdefaultargs") SetAllowRotation; - %feature("autodoc", "Set if camera rotation is allowed. - + %feature("autodoc", " Parameters ---------- theToEnable: bool -Returns +Return ------- None + +Description +----------- +Set if camera rotation is allowed. ") SetAllowRotation; void SetAllowRotation(bool theToEnable); - /****************** SetAllowTouchZRotation ******************/ - /**** md5 signature: 684a151d49f6470f151d7e9e10ae1b33 ****/ + /****** AIS_ViewController::SetAllowTouchZRotation ******/ + /****** md5 signature: 684a151d49f6470f151d7e9e10ae1b33 ******/ %feature("compactdefaultargs") SetAllowTouchZRotation; - %feature("autodoc", "Set if z-rotation via two-touches gesture is enabled. - + %feature("autodoc", " Parameters ---------- theToEnable: bool -Returns +Return ------- None + +Description +----------- +Set if z-rotation via two-touches gesture is enabled. ") SetAllowTouchZRotation; void SetAllowTouchZRotation(bool theToEnable); - /****************** SetAllowZFocus ******************/ - /**** md5 signature: eeb044a0780a3ac8322c4f5acfe6f70b ****/ + /****** AIS_ViewController::SetAllowZFocus ******/ + /****** md5 signature: eeb044a0780a3ac8322c4f5acfe6f70b ******/ %feature("compactdefaultargs") SetAllowZFocus; - %feature("autodoc", "Set if zfocus change is allowed. - + %feature("autodoc", " Parameters ---------- theToEnable: bool -Returns +Return ------- None + +Description +----------- +Set if ZFocus change is allowed. ") SetAllowZFocus; void SetAllowZFocus(bool theToEnable); - /****************** SetAllowZooming ******************/ - /**** md5 signature: 7baa92e6f17f9c36d0a5fa8f4ea8f5e4 ****/ + /****** AIS_ViewController::SetAllowZooming ******/ + /****** md5 signature: 7baa92e6f17f9c36d0a5fa8f4ea8f5e4 ******/ %feature("compactdefaultargs") SetAllowZooming; - %feature("autodoc", "Set if zooming is allowed. - + %feature("autodoc", " Parameters ---------- theToEnable: bool -Returns +Return ------- None + +Description +----------- +Set if zooming is allowed. ") SetAllowZooming; void SetAllowZooming(bool theToEnable); - /****************** SetDisplayXRAuxDevices ******************/ - /**** md5 signature: 135d6d3dee9bf55919790adaacc3d566 ****/ + /****** AIS_ViewController::SetContinuousRedraw ******/ + /****** md5 signature: 20b6590274368b0cc65949958df5306b ******/ + %feature("compactdefaultargs") SetContinuousRedraw; + %feature("autodoc", " +Parameters +---------- +theToEnable: bool + +Return +------- +None + +Description +----------- +Enable or disable continuous updates. +") SetContinuousRedraw; + void SetContinuousRedraw(bool theToEnable); + + /****** AIS_ViewController::SetDisplayXRAuxDevices ******/ + /****** md5 signature: 135d6d3dee9bf55919790adaacc3d566 ******/ %feature("compactdefaultargs") SetDisplayXRAuxDevices; - %feature("autodoc", "Set if auxiliary tracked xr devices should be displayed. - + %feature("autodoc", " Parameters ---------- theToDisplay: bool -Returns +Return ------- None + +Description +----------- +Set if auxiliary tracked XR devices should be displayed. ") SetDisplayXRAuxDevices; void SetDisplayXRAuxDevices(bool theToDisplay); - /****************** SetDisplayXRHands ******************/ - /**** md5 signature: 825ac296237c4a1dfc7291d638be96fb ****/ + /****** AIS_ViewController::SetDisplayXRHands ******/ + /****** md5 signature: 825ac296237c4a1dfc7291d638be96fb ******/ %feature("compactdefaultargs") SetDisplayXRHands; - %feature("autodoc", "Set if tracked xr hand controllers should be displayed. - + %feature("autodoc", " Parameters ---------- theToDisplay: bool -Returns +Return ------- None + +Description +----------- +Set if tracked XR hand controllers should be displayed. ") SetDisplayXRHands; void SetDisplayXRHands(bool theToDisplay); - /****************** SetInvertPitch ******************/ - /**** md5 signature: 337a14fda31c3ddd9f94b558761281f5 ****/ + /****** AIS_ViewController::SetInvertPitch ******/ + /****** md5 signature: 337a14fda31c3ddd9f94b558761281f5 ******/ %feature("compactdefaultargs") SetInvertPitch; - %feature("autodoc", "Set flag inverting pitch direction. - + %feature("autodoc", " Parameters ---------- theToInvert: bool -Returns +Return ------- None + +Description +----------- +Set flag inverting pitch direction. ") SetInvertPitch; void SetInvertPitch(bool theToInvert); - /****************** SetLockOrbitZUp ******************/ - /**** md5 signature: 1c3c112156d57b75190d046cf6bd0c46 ****/ + /****** AIS_ViewController::SetLockOrbitZUp ******/ + /****** md5 signature: 1c3c112156d57b75190d046cf6bd0c46 ******/ %feature("compactdefaultargs") SetLockOrbitZUp; - %feature("autodoc", "Set if camera up orientation within ais_navigationmode_orbit rotation mode should be forced z up. - + %feature("autodoc", " Parameters ---------- theToForceUp: bool -Returns +Return ------- None + +Description +----------- +Set if camera up orientation within AIS_NavigationMode_Orbit rotation mode should be forced Z up. ") SetLockOrbitZUp; void SetLockOrbitZUp(bool theToForceUp); - /****************** SetMinZoomDistance ******************/ - /**** md5 signature: 856c0547c4e27c0d164eba54a3f80e01 ****/ + /****** AIS_ViewController::SetMinZoomDistance ******/ + /****** md5 signature: 856c0547c4e27c0d164eba54a3f80e01 ******/ %feature("compactdefaultargs") SetMinZoomDistance; - %feature("autodoc", "Set minimal camera distance for zoom operation. - + %feature("autodoc", " Parameters ---------- theDist: double -Returns +Return ------- None + +Description +----------- +Set minimal camera distance for zoom operation. ") SetMinZoomDistance; void SetMinZoomDistance(double theDist); - /****************** SetMouseAcceleration ******************/ - /**** md5 signature: abc78184a58362cc1aa6587b34de644d ****/ + /****** AIS_ViewController::SetMouseAcceleration ******/ + /****** md5 signature: abc78184a58362cc1aa6587b34de644d ******/ %feature("compactdefaultargs") SetMouseAcceleration; - %feature("autodoc", "Set mouse input acceleration ratio. - + %feature("autodoc", " Parameters ---------- theRatio: float -Returns +Return ------- None + +Description +----------- +Set mouse input acceleration ratio. ") SetMouseAcceleration; void SetMouseAcceleration(float theRatio); - /****************** SetMouseDoubleClickInterval ******************/ - /**** md5 signature: 1f69fdc78277fa239a1443e52d9b3da6 ****/ + /****** AIS_ViewController::SetMouseDoubleClickInterval ******/ + /****** md5 signature: 1f69fdc78277fa239a1443e52d9b3da6 ******/ %feature("compactdefaultargs") SetMouseDoubleClickInterval; - %feature("autodoc", "Set double click interval in seconds. - + %feature("autodoc", " Parameters ---------- theSeconds: double -Returns +Return ------- None + +Description +----------- +Set double click interval in seconds. ") SetMouseDoubleClickInterval; void SetMouseDoubleClickInterval(double theSeconds); - /****************** SetNavigationMode ******************/ - /**** md5 signature: e565c8b8b89295a6fb623e32ef593592 ****/ + /****** AIS_ViewController::SetNavigationMode ******/ + /****** md5 signature: e565c8b8b89295a6fb623e32ef593592 ******/ %feature("compactdefaultargs") SetNavigationMode; - %feature("autodoc", "Set camera navigation mode. - + %feature("autodoc", " Parameters ---------- theMode: AIS_NavigationMode -Returns +Return ------- None + +Description +----------- +Set camera navigation mode. ") SetNavigationMode; void SetNavigationMode(AIS_NavigationMode theMode); - /****************** SetOrbitAcceleration ******************/ - /**** md5 signature: d9ccb4db2cbf77b5f312c630bd8dcdd6 ****/ - %feature("compactdefaultargs") SetOrbitAcceleration; - %feature("autodoc", "Set orbit rotation acceleration ratio. + /****** AIS_ViewController::SetObjectsAnimation ******/ + /****** md5 signature: 88f1b826298874a96efd29de754191e5 ******/ + %feature("compactdefaultargs") SetObjectsAnimation; + %feature("autodoc", " +Parameters +---------- +theAnimation: AIS_Animation + +Return +------- +None + +Description +----------- +Set object animation to be handled within handleViewRedraw(). +") SetObjectsAnimation; + void SetObjectsAnimation(const opencascade::handle & theAnimation); + /****** AIS_ViewController::SetOrbitAcceleration ******/ + /****** md5 signature: d9ccb4db2cbf77b5f312c630bd8dcdd6 ******/ + %feature("compactdefaultargs") SetOrbitAcceleration; + %feature("autodoc", " Parameters ---------- theRatio: float -Returns +Return ------- None + +Description +----------- +Set orbit rotation acceleration ratio. ") SetOrbitAcceleration; void SetOrbitAcceleration(float theRatio); - /****************** SetRotationMode ******************/ - /**** md5 signature: de089ee21b8924d75e03a45a58b75511 ****/ - %feature("compactdefaultargs") SetRotationMode; - %feature("autodoc", "Set camera rotation mode. + /****** AIS_ViewController::SetPauseObjectsAnimation ******/ + /****** md5 signature: 53643e467565b04cd522841842d5380d ******/ + %feature("compactdefaultargs") SetPauseObjectsAnimation; + %feature("autodoc", " +Parameters +---------- +theToPause: bool + +Return +------- +None +Description +----------- +Set if object animation should be paused on mouse click. +") SetPauseObjectsAnimation; + void SetPauseObjectsAnimation(bool theToPause); + + /****** AIS_ViewController::SetRotationMode ******/ + /****** md5 signature: de089ee21b8924d75e03a45a58b75511 ******/ + %feature("compactdefaultargs") SetRotationMode; + %feature("autodoc", " Parameters ---------- theMode: AIS_RotationMode -Returns +Return ------- None + +Description +----------- +Set camera rotation mode. ") SetRotationMode; void SetRotationMode(AIS_RotationMode theMode); - /****************** SetShowPanAnchorPoint ******************/ - /**** md5 signature: c1af13270fbfe0d32ee0d908aeb118b4 ****/ + /****** AIS_ViewController::SetShowPanAnchorPoint ******/ + /****** md5 signature: c1af13270fbfe0d32ee0d908aeb118b4 ******/ %feature("compactdefaultargs") SetShowPanAnchorPoint; - %feature("autodoc", "Set if panning anchor point within perspective projection should be displayed in 3d viewer. - + %feature("autodoc", " Parameters ---------- theToShow: bool -Returns +Return ------- None + +Description +----------- +Set if panning anchor point within perspective projection should be displayed in 3D Viewer. ") SetShowPanAnchorPoint; void SetShowPanAnchorPoint(bool theToShow); - /****************** SetShowRotateCenter ******************/ - /**** md5 signature: b6a34589631dfba5576c50d2bede4383 ****/ + /****** AIS_ViewController::SetShowRotateCenter ******/ + /****** md5 signature: b6a34589631dfba5576c50d2bede4383 ******/ %feature("compactdefaultargs") SetShowRotateCenter; - %feature("autodoc", "Set if rotation point should be displayed in 3d viewer. - + %feature("autodoc", " Parameters ---------- theToShow: bool -Returns +Return ------- None + +Description +----------- +Set if rotation point should be displayed in 3D Viewer. ") SetShowRotateCenter; void SetShowRotateCenter(bool theToShow); - /****************** SetStickToRayOnRotation ******************/ - /**** md5 signature: cf3fd759c29403514df6afecf8051399 ****/ + /****** AIS_ViewController::SetStickToRayOnRotation ******/ + /****** md5 signature: cf3fd759c29403514df6afecf8051399 ******/ %feature("compactdefaultargs") SetStickToRayOnRotation; - %feature("autodoc", "Set if picked point should be projected to picking ray on rotating around point. - + %feature("autodoc", " Parameters ---------- theToEnable: bool -Returns +Return ------- None + +Description +----------- +Set if picked point should be projected to picking ray on rotating around point. ") SetStickToRayOnRotation; void SetStickToRayOnRotation(bool theToEnable); - /****************** SetStickToRayOnZoom ******************/ - /**** md5 signature: d25c6b1a39106d29c25ccf77ad2a69b8 ****/ + /****** AIS_ViewController::SetStickToRayOnZoom ******/ + /****** md5 signature: d25c6b1a39106d29c25ccf77ad2a69b8 ******/ %feature("compactdefaultargs") SetStickToRayOnZoom; - %feature("autodoc", "Set if picked point should be projected to picking ray on zooming at point. - + %feature("autodoc", " Parameters ---------- theToEnable: bool -Returns +Return ------- None + +Description +----------- +Set if picked point should be projected to picking ray on zooming at point. ") SetStickToRayOnZoom; void SetStickToRayOnZoom(bool theToEnable); - /****************** SetThrustSpeed ******************/ - /**** md5 signature: b13ce9ef3d785307e809621923941346 ****/ + /****** AIS_ViewController::SetThrustSpeed ******/ + /****** md5 signature: b13ce9ef3d785307e809621923941346 ******/ %feature("compactdefaultargs") SetThrustSpeed; - %feature("autodoc", "Set active thrust value. - + %feature("autodoc", " Parameters ---------- theSpeed: float -Returns +Return ------- None + +Description +----------- +Set active thrust value. ") SetThrustSpeed; void SetThrustSpeed(float theSpeed); - /****************** SetTouchToleranceScale ******************/ - /**** md5 signature: f1ade41663fe131af4ad6d54d8feebdb ****/ + /****** AIS_ViewController::SetTouchToleranceScale ******/ + /****** md5 signature: f1ade41663fe131af4ad6d54d8feebdb ******/ %feature("compactdefaultargs") SetTouchToleranceScale; - %feature("autodoc", "Set scale factor for adjusting tolerances for starting multi-touch gestures. - + %feature("autodoc", " Parameters ---------- theTolerance: float -Returns +Return ------- None + +Description +----------- +Set scale factor for adjusting tolerances for starting multi-touch gestures. ") SetTouchToleranceScale; void SetTouchToleranceScale(float theTolerance); - /****************** SetViewAnimation ******************/ - /**** md5 signature: 853aa0ceb7bdaa632922e5e8afd4812f ****/ + /****** AIS_ViewController::SetViewAnimation ******/ + /****** md5 signature: 853aa0ceb7bdaa632922e5e8afd4812f ******/ %feature("compactdefaultargs") SetViewAnimation; - %feature("autodoc", "Set view animation to be handled within handleviewredraw(). - + %feature("autodoc", " Parameters ---------- theAnimation: AIS_AnimationCamera -Returns +Return ------- None + +Description +----------- +Set view animation to be handled within handleViewRedraw(). ") SetViewAnimation; void SetViewAnimation(const opencascade::handle & theAnimation); - /****************** SetWalkSpeedAbsolute ******************/ - /**** md5 signature: d26b13370b725b71536c89f45bb23923 ****/ + /****** AIS_ViewController::SetWalkSpeedAbsolute ******/ + /****** md5 signature: d26b13370b725b71536c89f45bb23923 ******/ %feature("compactdefaultargs") SetWalkSpeedAbsolute; - %feature("autodoc", "Set normal walking speed, in m/s; 1.5 by default. - + %feature("autodoc", " Parameters ---------- theSpeed: float -Returns +Return ------- None + +Description +----------- +Set normal walking speed, in m/s; 1.5 by default. ") SetWalkSpeedAbsolute; void SetWalkSpeedAbsolute(float theSpeed); - /****************** SetWalkSpeedRelative ******************/ - /**** md5 signature: c00c0ed676f960255bca7849164d38e7 ****/ + /****** AIS_ViewController::SetWalkSpeedRelative ******/ + /****** md5 signature: c00c0ed676f960255bca7849164d38e7 ******/ %feature("compactdefaultargs") SetWalkSpeedRelative; - %feature("autodoc", "Set walking speed relative to scene bounding box. - + %feature("autodoc", " Parameters ---------- theFactor: float -Returns +Return ------- None + +Description +----------- +Set walking speed relative to scene bounding box. ") SetWalkSpeedRelative; void SetWalkSpeedRelative(float theFactor); - /****************** ThrustSpeed ******************/ - /**** md5 signature: 6ebe02e681cce532322afaeb747648ca ****/ + /****** AIS_ViewController::ThrustSpeed ******/ + /****** md5 signature: 6ebe02e681cce532322afaeb747648ca ******/ %feature("compactdefaultargs") ThrustSpeed; - %feature("autodoc", "Return active thrust value; 0.0f by default. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Return active thrust value; 0.0f by default. ") ThrustSpeed; float ThrustSpeed(); - /****************** To3dMousePreciseInput ******************/ - /**** md5 signature: e7d1cbbce6f739652fb2dcffebfdc574 ****/ - %feature("compactdefaultargs") To3dMousePreciseInput; - %feature("autodoc", "Return quadric acceleration flag; true by default. - -Returns -------- -bool -") To3dMousePreciseInput; - bool To3dMousePreciseInput(); - - /****************** ToAllowDragging ******************/ - /**** md5 signature: 8a61183f21fcf283f340eec4ff8531b8 ****/ + /****** AIS_ViewController::ToAllowDragging ******/ + /****** md5 signature: 8a61183f21fcf283f340eec4ff8531b8 ******/ %feature("compactdefaultargs") ToAllowDragging; - %feature("autodoc", "Return true if dragging object is allowed; true by default. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return True if dragging object is allowed; True by default. ") ToAllowDragging; bool ToAllowDragging(); - /****************** ToAllowHighlight ******************/ - /**** md5 signature: 3e9876722280e384f00f5556d90c68eb ****/ + /****** AIS_ViewController::ToAllowHighlight ******/ + /****** md5 signature: 3e9876722280e384f00f5556d90c68eb ******/ %feature("compactdefaultargs") ToAllowHighlight; - %feature("autodoc", "Return true if dynamic highlight on mouse move is allowed; true by default. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return True if dynamic highlight on mouse move is allowed; True by default. ") ToAllowHighlight; bool ToAllowHighlight(); - /****************** ToAllowPanning ******************/ - /**** md5 signature: d8724d20df71f79fe860bda14e35bbb5 ****/ + /****** AIS_ViewController::ToAllowPanning ******/ + /****** md5 signature: d8724d20df71f79fe860bda14e35bbb5 ******/ %feature("compactdefaultargs") ToAllowPanning; - %feature("autodoc", "Return true if panning is allowed; true by default. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return True if panning is allowed; True by default. ") ToAllowPanning; bool ToAllowPanning(); - /****************** ToAllowRotation ******************/ - /**** md5 signature: a1bcfb6f1a894b15467dc8feabcaa19b ****/ + /****** AIS_ViewController::ToAllowRotation ******/ + /****** md5 signature: a1bcfb6f1a894b15467dc8feabcaa19b ******/ %feature("compactdefaultargs") ToAllowRotation; - %feature("autodoc", "Return true if camera rotation is allowed; true by default. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return True if camera rotation is allowed; True by default. ") ToAllowRotation; bool ToAllowRotation(); - /****************** ToAllowTouchZRotation ******************/ - /**** md5 signature: 7b12f77923cf330922234a4f6873992c ****/ + /****** AIS_ViewController::ToAllowTouchZRotation ******/ + /****** md5 signature: 7b12f77923cf330922234a4f6873992c ******/ %feature("compactdefaultargs") ToAllowTouchZRotation; - %feature("autodoc", "Return true if z-rotation via two-touches gesture is enabled; false by default. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return True if z-rotation via two-touches gesture is enabled; False by default. ") ToAllowTouchZRotation; bool ToAllowTouchZRotation(); - /****************** ToAllowZFocus ******************/ - /**** md5 signature: 4988d4b63afb784a57e53295d9a3de30 ****/ + /****** AIS_ViewController::ToAllowZFocus ******/ + /****** md5 signature: 4988d4b63afb784a57e53295d9a3de30 ******/ %feature("compactdefaultargs") ToAllowZFocus; - %feature("autodoc", "Return true if zfocus change is allowed; true by default. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return True if ZFocus change is allowed; True by default. ") ToAllowZFocus; bool ToAllowZFocus(); - /****************** ToAllowZooming ******************/ - /**** md5 signature: ca4ee2f5af27be92a7253af8446350d8 ****/ + /****** AIS_ViewController::ToAllowZooming ******/ + /****** md5 signature: ca4ee2f5af27be92a7253af8446350d8 ******/ %feature("compactdefaultargs") ToAllowZooming; - %feature("autodoc", "Return true if zooming is allowed; true by default. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return True if zooming is allowed; True by default. ") ToAllowZooming; bool ToAllowZooming(); - /****************** ToDisplayXRAuxDevices ******************/ - /**** md5 signature: e137eeb702d3133925ef9a160665f27c ****/ + /****** AIS_ViewController::ToDisplayXRAuxDevices ******/ + /****** md5 signature: e137eeb702d3133925ef9a160665f27c ******/ %feature("compactdefaultargs") ToDisplayXRAuxDevices; - %feature("autodoc", "Return true to display auxiliary tracked xr devices (like tracking stations). - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return True to display auxiliary tracked XR devices (like tracking stations). ") ToDisplayXRAuxDevices; bool ToDisplayXRAuxDevices(); - /****************** ToDisplayXRHands ******************/ - /**** md5 signature: 32934f4d9a3a4c676a42438dfb298124 ****/ + /****** AIS_ViewController::ToDisplayXRHands ******/ + /****** md5 signature: 32934f4d9a3a4c676a42438dfb298124 ******/ %feature("compactdefaultargs") ToDisplayXRHands; - %feature("autodoc", "Return true to display xr hand controllers. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return True to display XR hand controllers. ") ToDisplayXRHands; bool ToDisplayXRHands(); - /****************** ToInvertPitch ******************/ - /**** md5 signature: 624a70a882a963f2b6dcf003ebe66984 ****/ + /****** AIS_ViewController::ToInvertPitch ******/ + /****** md5 signature: 624a70a882a963f2b6dcf003ebe66984 ******/ %feature("compactdefaultargs") ToInvertPitch; - %feature("autodoc", "Return true if pitch direction should be inverted while processing aspect_vkey_navlookup/aspect_vkey_navlookdown; false by default. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return True if pitch direction should be inverted while processing Aspect_VKey_NavLookUp/Aspect_VKey_NavLookDown; False by default. ") ToInvertPitch; bool ToInvertPitch(); - /****************** ToLockOrbitZUp ******************/ - /**** md5 signature: 98161f7200cec34fa1a5e0418649145f ****/ + /****** AIS_ViewController::ToLockOrbitZUp ******/ + /****** md5 signature: 98161f7200cec34fa1a5e0418649145f ******/ %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. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return True if camera up orientation within AIS_NavigationMode_Orbit rotation mode should be forced Z up; False by default. ") ToLockOrbitZUp; bool ToLockOrbitZUp(); - /****************** ToShowPanAnchorPoint ******************/ - /**** md5 signature: 20019a5af0a5a60f6ba338d642a2d2b0 ****/ - %feature("compactdefaultargs") ToShowPanAnchorPoint; - %feature("autodoc", "Return true if panning anchor point within perspective projection should be displayed in 3d viewer; true by default. + /****** AIS_ViewController::ToPauseObjectsAnimation ******/ + /****** md5 signature: 9eebb76fd53450abfb9c1f0883f9c02a ******/ + %feature("compactdefaultargs") ToPauseObjectsAnimation; + %feature("autodoc", "Return +------- +bool -Returns +Description +----------- +Return True if object animation should be paused on mouse click; False by default. +") ToPauseObjectsAnimation; + bool ToPauseObjectsAnimation(); + + /****** AIS_ViewController::ToShowPanAnchorPoint ******/ + /****** md5 signature: 20019a5af0a5a60f6ba338d642a2d2b0 ******/ + %feature("compactdefaultargs") ToShowPanAnchorPoint; + %feature("autodoc", "Return ------- bool + +Description +----------- +Return True if panning anchor point within perspective projection should be displayed in 3D Viewer; True by default. ") ToShowPanAnchorPoint; bool ToShowPanAnchorPoint(); - /****************** ToShowRotateCenter ******************/ - /**** md5 signature: afbcbc8bef4febc944526842afc0655f ****/ + /****** AIS_ViewController::ToShowRotateCenter ******/ + /****** md5 signature: afbcbc8bef4febc944526842afc0655f ******/ %feature("compactdefaultargs") ToShowRotateCenter; - %feature("autodoc", "Return true if rotation point should be displayed in 3d viewer; true by default. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return True if rotation point should be displayed in 3D Viewer; True by default. ") ToShowRotateCenter; bool ToShowRotateCenter(); - /****************** ToStickToRayOnRotation ******************/ - /**** md5 signature: dadbc81c3708872fefe8c3ec144bd235 ****/ + /****** AIS_ViewController::ToStickToRayOnRotation ******/ + /****** md5 signature: dadbc81c3708872fefe8c3ec144bd235 ******/ %feature("compactdefaultargs") ToStickToRayOnRotation; - %feature("autodoc", "Return true if picked point should be projected to picking ray on rotating around point; true by default. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return True if picked point should be projected to picking ray on rotating around point; True by default. ") ToStickToRayOnRotation; bool ToStickToRayOnRotation(); - /****************** ToStickToRayOnZoom ******************/ - /**** md5 signature: eaf01e1ef26d6069928f6489ab0a8c8b ****/ + /****** AIS_ViewController::ToStickToRayOnZoom ******/ + /****** md5 signature: eaf01e1ef26d6069928f6489ab0a8c8b ******/ %feature("compactdefaultargs") ToStickToRayOnZoom; - %feature("autodoc", "Return true if picked point should be projected to picking ray on zooming at point; true by default. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return True if picked point should be projected to picking ray on zooming at point; True by default. ") ToStickToRayOnZoom; bool ToStickToRayOnZoom(); - /****************** TouchToleranceScale ******************/ - /**** md5 signature: 2f6188968f83596542ec90be7549c9c6 ****/ + /****** AIS_ViewController::TouchToleranceScale ******/ + /****** md5 signature: 2f6188968f83596542ec90be7549c9c6 ******/ %feature("compactdefaultargs") TouchToleranceScale; - %feature("autodoc", "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. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +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. ") TouchToleranceScale; float TouchToleranceScale(); - /****************** Update3dMouse ******************/ - /**** md5 signature: 1814989e207401f76efb8f1dd3375f84 ****/ + /****** AIS_ViewController::Update3dMouse ******/ + /****** md5 signature: 38284aace0b4c5126a95024b97bd63b9 ******/ %feature("compactdefaultargs") Update3dMouse; - %feature("autodoc", "Process 3d mouse input event (redirects to translation, rotation and keys). - + %feature("autodoc", " Parameters ---------- theEvent: WNT_HIDSpaceMouse -Returns +Return ------- bool + +Description +----------- +Process 3d mouse input event (redirects to translation, rotation and keys). ") Update3dMouse; virtual bool Update3dMouse(const WNT_HIDSpaceMouse & theEvent); - /****************** UpdateMouseButtons ******************/ - /**** md5 signature: 9ccfebb398dffcbca649cfaf245931da ****/ + /****** AIS_ViewController::UpdateMouseButtons ******/ + /****** md5 signature: 81da55faf2bb0988a1f62ddfcbad1a8e ******/ %feature("compactdefaultargs") UpdateMouseButtons; - %feature("autodoc", "Handle mouse button press/release event. this method is expected to be called from ui thread. @param thepoint mouse cursor position @param thebuttons pressed buttons @param themodifiers key modifiers @param theisemulated if true then mouse event comes not from real mouse but emulated from non-precise input like touch on screen returns true if view should be redrawn. - + %feature("autodoc", " Parameters ---------- thePoint: Graphic3d_Vec2i @@ -7361,17 +8818,25 @@ theButtons: Aspect_VKeyMouse theModifiers: Aspect_VKeyFlags theIsEmulated: bool -Returns +Return ------- bool + +Description +----------- +Handle mouse button press/release event. This method is expected to be called from UI thread. +Parameter thePoint mouse cursor position +Parameter theButtons pressed buttons +Parameter theModifiers key modifiers +Parameter theIsEmulated if True then mouse event comes NOT from real mouse but emulated from non-precise input like touch on screen +Return: True if View should be redrawn. ") UpdateMouseButtons; virtual bool UpdateMouseButtons(const Graphic3d_Vec2i & thePoint, Aspect_VKeyMouse theButtons, Aspect_VKeyFlags theModifiers, bool theIsEmulated); - /****************** UpdateMouseClick ******************/ - /**** md5 signature: aafb990cc843bb6cd39d762419c4af3c ****/ + /****** AIS_ViewController::UpdateMouseClick ******/ + /****** md5 signature: aafb990cc843bb6cd39d762419c4af3c ******/ %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. - + %feature("autodoc", " Parameters ---------- thePoint: Graphic3d_Vec2i @@ -7379,17 +8844,25 @@ theButton: Aspect_VKeyMouse theModifiers: Aspect_VKeyFlags theIsDoubleClick: bool -Returns +Return ------- bool + +Description +----------- +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. +Parameter thePoint mouse cursor position +Parameter theButton clicked button +Parameter theModifiers key modifiers +Parameter theIsDoubleClick flag indicating double mouse click +Return: True if View should be redrawn. ") UpdateMouseClick; virtual bool UpdateMouseClick(const Graphic3d_Vec2i & thePoint, Aspect_VKeyMouse theButton, Aspect_VKeyFlags theModifiers, bool theIsDoubleClick); - /****************** UpdateMousePosition ******************/ - /**** md5 signature: 24ca41a825cf87f54a5d2e38aaedf170 ****/ + /****** AIS_ViewController::UpdateMousePosition ******/ + /****** md5 signature: 55ab6f867342193c0763bd3dcd7312a7 ******/ %feature("compactdefaultargs") UpdateMousePosition; - %feature("autodoc", "Handle mouse cursor movement event. this method is expected to be called from ui thread. @param thepoint mouse cursor position @param thebuttons pressed buttons @param themodifiers key modifiers @param theisemulated if true then mouse event comes not from real mouse but emulated from non-precise input like touch on screen returns true if view should be redrawn. - + %feature("autodoc", " Parameters ---------- thePoint: Graphic3d_Vec2i @@ -7397,274 +8870,343 @@ theButtons: Aspect_VKeyMouse theModifiers: Aspect_VKeyFlags theIsEmulated: bool -Returns +Return ------- bool + +Description +----------- +Handle mouse cursor movement event. This method is expected to be called from UI thread. +Parameter thePoint mouse cursor position +Parameter theButtons pressed buttons +Parameter theModifiers key modifiers +Parameter theIsEmulated if True then mouse event comes NOT from real mouse but emulated from non-precise input like touch on screen +Return: True if View should be redrawn. ") UpdateMousePosition; virtual bool UpdateMousePosition(const Graphic3d_Vec2i & thePoint, Aspect_VKeyMouse theButtons, Aspect_VKeyFlags theModifiers, bool theIsEmulated); - /****************** UpdateMouseScroll ******************/ - /**** md5 signature: 9112a58a31d222aaaaca5bc7dadc5e9d ****/ + /****** AIS_ViewController::UpdateMouseScroll ******/ + /****** md5 signature: f9e0dee1b2f1434abd34279261af844a ******/ %feature("compactdefaultargs") UpdateMouseScroll; - %feature("autodoc", "Update mouse scroll event; redirects to updatezoom by default. this method is expected to be called from ui thread. @param thedelta mouse cursor position and delta returns true if new event has been created or false if existing one has been updated. - + %feature("autodoc", " Parameters ---------- theDelta: Aspect_ScrollDelta -Returns +Return ------- bool + +Description +----------- +Update mouse scroll event; redirects to UpdateZoom by default. This method is expected to be called from UI thread. +Parameter theDelta mouse cursor position and delta +Return: True if new event has been created or False if existing one has been updated. ") UpdateMouseScroll; virtual bool UpdateMouseScroll(const Aspect_ScrollDelta & theDelta); - /****************** UpdatePolySelection ******************/ - /**** md5 signature: a7b21ea05bd9285ae2d4ae90cff07198 ****/ + /****** AIS_ViewController::UpdatePolySelection ******/ + /****** md5 signature: a7b21ea05bd9285ae2d4ae90cff07198 ******/ %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. - + %feature("autodoc", " Parameters ---------- thePnt: Graphic3d_Vec2i theToAppend: bool -Returns +Return ------- None + +Description +----------- +Update polygonal selection tool. This method is expected to be called from UI thread. +Parameter thePnt new point to add to polygon +Parameter theToAppend append new point or update the last point. ") UpdatePolySelection; virtual void UpdatePolySelection(const Graphic3d_Vec2i & thePnt, bool theToAppend); - /****************** UpdateRubberBand ******************/ - /**** md5 signature: 669fce723d95f678c15282bbb1bd3c7a ****/ + /****** AIS_ViewController::UpdateRubberBand ******/ + /****** md5 signature: 4b67e635d5f36e38ae0f2474b56c3748 ******/ %feature("compactdefaultargs") UpdateRubberBand; - %feature("autodoc", "Update rectangle selection tool. this method is expected to be called from ui thread. @param thepntfrom rectangle first corner @param thepntto rectangle another corner @param theisxor xor selection flag. - + %feature("autodoc", " Parameters ---------- thePntFrom: Graphic3d_Vec2i thePntTo: Graphic3d_Vec2i -theIsXOR: bool,optional - default value is false -Returns +Return ------- None + +Description +----------- +Update rectangle selection tool. This method is expected to be called from UI thread. +Parameter thePntFrom rectangle first corner +Parameter thePntTo rectangle another corner. ") UpdateRubberBand; - virtual void UpdateRubberBand(const Graphic3d_Vec2i & thePntFrom, const Graphic3d_Vec2i & thePntTo, const bool theIsXOR = false); + virtual void UpdateRubberBand(const Graphic3d_Vec2i & thePntFrom, const Graphic3d_Vec2i & thePntTo); - /****************** UpdateTouchPoint ******************/ - /**** md5 signature: 32b5b3a5782487b44b49157cf52c6e04 ****/ + /****** AIS_ViewController::UpdateTouchPoint ******/ + /****** md5 signature: 208f103531c9da20b09298d16f2dec41 ******/ %feature("compactdefaultargs") UpdateTouchPoint; - %feature("autodoc", "Update touch point with the given id. if point with specified id was not registered before, it will be added. this method is expected to be called from ui thread. @param theid touch unique identifier @param thepnt touch coordinates. - + %feature("autodoc", " Parameters ---------- theId: Standard_Size thePnt: Graphic3d_Vec2d -Returns +Return ------- None + +Description +----------- +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. +Parameter theId touch unique identifier +Parameter thePnt touch coordinates. ") UpdateTouchPoint; virtual void UpdateTouchPoint(Standard_Size theId, const Graphic3d_Vec2d & thePnt); - /****************** UpdateViewOrientation ******************/ - /**** md5 signature: ee43c806e8949e02b969471967206777 ****/ + /****** AIS_ViewController::UpdateViewOrientation ******/ + /****** md5 signature: ee43c806e8949e02b969471967206777 ******/ %feature("compactdefaultargs") UpdateViewOrientation; - %feature("autodoc", "Reset view orientation. this method is expected to be called from ui thread. - + %feature("autodoc", " Parameters ---------- theOrientation: V3d_TypeOfOrientation theToFitAll: bool -Returns +Return ------- None + +Description +----------- +Reset view orientation. This method is expected to be called from UI thread. ") UpdateViewOrientation; virtual void UpdateViewOrientation(V3d_TypeOfOrientation theOrientation, bool theToFitAll); - /****************** UpdateZRotation ******************/ - /**** md5 signature: 49c10fcd9e41eb2b1119a794084480d6 ****/ + /****** AIS_ViewController::UpdateZRotation ******/ + /****** md5 signature: 49c10fcd9e41eb2b1119a794084480d6 ******/ %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. - + %feature("autodoc", " Parameters ---------- theAngle: double -Returns +Return ------- bool + +Description +----------- +Update Z rotation event. +Parameter theAngle rotation angle, in radians. +Return: True if new zoom event has been created or False if existing one has been updated. ") UpdateZRotation; virtual bool UpdateZRotation(double theAngle); - /****************** UpdateZoom ******************/ - /**** md5 signature: 3705bb839abd1b717b4e19145bbe8168 ****/ + /****** AIS_ViewController::UpdateZoom ******/ + /****** md5 signature: 3705bb839abd1b717b4e19145bbe8168 ******/ %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. - + %feature("autodoc", " Parameters ---------- theDelta: Aspect_ScrollDelta -Returns +Return ------- bool + +Description +----------- +Update zoom event (e.g. from mouse scroll). This method is expected to be called from UI thread. +Parameter theDelta mouse cursor position to zoom at and zoom delta +Return: True if new zoom event has been created or False if existing one has been updated. ") UpdateZoom; virtual bool UpdateZoom(const Aspect_ScrollDelta & theDelta); - /****************** ViewAnimation ******************/ - /**** md5 signature: 7a7517bd1c0e55fdc5279dc1aefd5047 ****/ + /****** AIS_ViewController::ViewAnimation ******/ + /****** md5 signature: 7a7517bd1c0e55fdc5279dc1aefd5047 ******/ %feature("compactdefaultargs") ViewAnimation; - %feature("autodoc", "Return view animation; empty (but not null) animation by default. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Return view animation; empty (but not NULL) animation by default. ") ViewAnimation; const opencascade::handle & ViewAnimation(); - /****************** WalkSpeedAbsolute ******************/ - /**** md5 signature: 63209822e3eecea23c4ff51f6e7af537 ****/ + /****** AIS_ViewController::WalkSpeedAbsolute ******/ + /****** md5 signature: 63209822e3eecea23c4ff51f6e7af537 ******/ %feature("compactdefaultargs") WalkSpeedAbsolute; - %feature("autodoc", "Return normal walking speed, in m/s; 1.5 by default. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Return normal walking speed, in m/s; 1.5 by default. ") WalkSpeedAbsolute; float WalkSpeedAbsolute(); - /****************** WalkSpeedRelative ******************/ - /**** md5 signature: 907dc8d9c54a4795e102f9cf3c6361ac ****/ + /****** AIS_ViewController::WalkSpeedRelative ******/ + /****** md5 signature: 907dc8d9c54a4795e102f9cf3c6361ac ******/ %feature("compactdefaultargs") WalkSpeedRelative; - %feature("autodoc", "Return walking speed relative to scene bounding box; 0.1 by default. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Return walking speed relative to scene bounding box; 0.1 by default. ") WalkSpeedRelative; float WalkSpeedRelative(); - /****************** handleCameraActions ******************/ - /**** md5 signature: e26067a98b91986866681c1bcad0d809 ****/ + /****** AIS_ViewController::handleCameraActions ******/ + /****** md5 signature: e26067a98b91986866681c1bcad0d809 ******/ %feature("compactdefaultargs") handleCameraActions; - %feature("autodoc", "Perform immediate camera actions (rotate/zoom/pan) on gesture progress. this method is expected to be called from rendering thread. - + %feature("autodoc", " Parameters ---------- theCtx: AIS_InteractiveContext theView: V3d_View theWalk: AIS_WalkDelta -Returns +Return ------- None + +Description +----------- +Perform immediate camera actions (rotate/zoom/pan) on gesture progress. This method is expected to be called from rendering thread. ") handleCameraActions; virtual void handleCameraActions(const opencascade::handle & theCtx, const opencascade::handle & theView, const AIS_WalkDelta & theWalk); - /****************** handleMoveTo ******************/ - /**** md5 signature: bd30701597ebc33e344bb6c177211a48 ****/ + /****** AIS_ViewController::handleMoveTo ******/ + /****** md5 signature: bd30701597ebc33e344bb6c177211a48 ******/ %feature("compactdefaultargs") handleMoveTo; - %feature("autodoc", "Perform moveto/selection/dragging. this method is expected to be called from rendering thread. - + %feature("autodoc", " Parameters ---------- theCtx: AIS_InteractiveContext theView: V3d_View -Returns +Return ------- None + +Description +----------- +Perform moveto/selection/dragging. This method is expected to be called from rendering thread. ") handleMoveTo; virtual void handleMoveTo(const opencascade::handle & theCtx, const opencascade::handle & theView); - /****************** handleNavigationKeys ******************/ - /**** md5 signature: feb7561777c3adef83227bc5f492cd66 ****/ + /****** AIS_ViewController::handleNavigationKeys ******/ + /****** md5 signature: feb7561777c3adef83227bc5f492cd66 ******/ %feature("compactdefaultargs") handleNavigationKeys; - %feature("autodoc", "Perform navigation (aspect_vkey_navforward and similar keys). this method is expected to be called from rendering thread. - + %feature("autodoc", " Parameters ---------- theCtx: AIS_InteractiveContext theView: V3d_View -Returns +Return ------- AIS_WalkDelta + +Description +----------- +Perform navigation (Aspect_VKey_NavForward and similar keys). This method is expected to be called from rendering thread. ") handleNavigationKeys; virtual AIS_WalkDelta handleNavigationKeys(const opencascade::handle & theCtx, const opencascade::handle & theView); - /****************** handleOrbitRotation ******************/ - /**** md5 signature: fdc3bbd840949a270881f6aa0f2931a7 ****/ + /****** AIS_ViewController::handleOrbitRotation ******/ + /****** md5 signature: fdc3bbd840949a270881f6aa0f2931a7 ******/ %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). - + %feature("autodoc", " Parameters ---------- theView: V3d_View thePnt: gp_Pnt theToLockZUp: bool -Returns +Return ------- None + +Description +----------- +Handle orbital rotation events myGL.OrbitRotation. +Parameter theView view to modify +Parameter thePnt 3D point to rotate around +Parameter theToLockZUp amend camera to exclude roll angle (put camera Up vector to plane containing global Z and view direction). ") handleOrbitRotation; virtual void handleOrbitRotation(const opencascade::handle & theView, const gp_Pnt & thePnt, bool theToLockZUp); - /****************** handlePanning ******************/ - /**** md5 signature: 5887c49a23a711bd97b00a82a72bab5a ****/ + /****** AIS_ViewController::handlePanning ******/ + /****** md5 signature: 5887c49a23a711bd97b00a82a72bab5a ******/ %feature("compactdefaultargs") handlePanning; - %feature("autodoc", "Handle panning event mygl.panning. - + %feature("autodoc", " Parameters ---------- theView: V3d_View -Returns +Return ------- None + +Description +----------- +Handle panning event myGL.Panning. ") handlePanning; virtual void handlePanning(const opencascade::handle & theView); - /****************** handleViewOrientationKeys ******************/ - /**** md5 signature: fc827e821ed2c2644d0bb5ebfb306f4c ****/ + /****** AIS_ViewController::handleViewOrientationKeys ******/ + /****** md5 signature: fc827e821ed2c2644d0bb5ebfb306f4c ******/ %feature("compactdefaultargs") handleViewOrientationKeys; - %feature("autodoc", "Handle hot-keys defining new camera orientation (aspect_vkey_viewtop and similar keys). default implementation starts an animated transaction from the current to the target camera orientation, when specific action key was pressed. this method is expected to be called from rendering thread. - + %feature("autodoc", " Parameters ---------- theCtx: AIS_InteractiveContext theView: V3d_View -Returns +Return ------- None + +Description +----------- +Handle hot-keys defining new camera orientation (Aspect_VKey_ViewTop and similar keys). Default implementation starts an animated transaction from the current to the target camera orientation, when specific action key was pressed. This method is expected to be called from rendering thread. ") handleViewOrientationKeys; virtual void handleViewOrientationKeys(const opencascade::handle & theCtx, const opencascade::handle & theView); - /****************** handleViewRedraw ******************/ - /**** md5 signature: 6fd13d07572584fe70e21b27775870be ****/ + /****** AIS_ViewController::handleViewRedraw ******/ + /****** md5 signature: 6fd13d07572584fe70e21b27775870be ******/ %feature("compactdefaultargs") handleViewRedraw; - %feature("autodoc", "Handle view redraw. this method is expected to be called from rendering thread. - + %feature("autodoc", " Parameters ---------- theCtx: AIS_InteractiveContext theView: V3d_View -Returns +Return ------- None + +Description +----------- +Handle view redraw. This method is expected to be called from rendering thread. ") handleViewRedraw; virtual void handleViewRedraw(const opencascade::handle & theCtx, const opencascade::handle & theView); - /****************** handleViewRotation ******************/ - /**** md5 signature: f2f90628551efd3f46dcbe83213380f1 ****/ + /****** AIS_ViewController::handleViewRotation ******/ + /****** md5 signature: f2f90628551efd3f46dcbe83213380f1 ******/ %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. - + %feature("autodoc", " Parameters ---------- theView: V3d_View @@ -7673,50 +9215,64 @@ thePitchExtra: double theRoll: double theToRestartOnIncrement: bool -Returns +Return ------- None + +Description +----------- +Handle view direction rotation events myGL.ViewRotation. This method is expected to be called from rendering thread. +Parameter theView camera to modify +Parameter theYawExtra extra yaw increment +Parameter thePitchExtra extra pitch increment +Parameter theRoll roll value +Parameter theToRestartOnIncrement flag indicating flight mode. ") handleViewRotation; virtual void handleViewRotation(const opencascade::handle & theView, double theYawExtra, double thePitchExtra, double theRoll, bool theToRestartOnIncrement); - /****************** handleXRHighlight ******************/ - /**** md5 signature: 8a713c5e7e4c6abab9d9e3fae9bcf71f ****/ + /****** AIS_ViewController::handleXRHighlight ******/ + /****** md5 signature: 8a713c5e7e4c6abab9d9e3fae9bcf71f ******/ %feature("compactdefaultargs") handleXRHighlight; - %feature("autodoc", "Perform dynamic highlighting for active hand. - + %feature("autodoc", " Parameters ---------- theCtx: AIS_InteractiveContext theView: V3d_View -Returns +Return ------- None + +Description +----------- +Perform dynamic highlighting for active hand. ") handleXRHighlight; virtual void handleXRHighlight(const opencascade::handle & theCtx, const opencascade::handle & theView); - /****************** handleXRInput ******************/ - /**** md5 signature: 1e6d90c7e0207002712ad7ee00652514 ****/ + /****** AIS_ViewController::handleXRInput ******/ + /****** md5 signature: 1e6d90c7e0207002712ad7ee00652514 ******/ %feature("compactdefaultargs") handleXRInput; - %feature("autodoc", "Perform xr input. this method is expected to be called from rendering thread. - + %feature("autodoc", " Parameters ---------- theCtx: AIS_InteractiveContext theView: V3d_View theWalk: AIS_WalkDelta -Returns +Return ------- None + +Description +----------- +Perform XR input. This method is expected to be called from rendering thread. ") handleXRInput; virtual void handleXRInput(const opencascade::handle & theCtx, const opencascade::handle & theView, const AIS_WalkDelta & theWalk); - /****************** handleXRMoveTo ******************/ - /**** md5 signature: 6e29fe2637a7185008931ac4a920d6f4 ****/ + /****** AIS_ViewController::handleXRMoveTo ******/ + /****** md5 signature: 6e29fe2637a7185008931ac4a920d6f4 ******/ %feature("compactdefaultargs") handleXRMoveTo; - %feature("autodoc", "Perform picking with/without dynamic highlighting for xr pose. - + %feature("autodoc", " Parameters ---------- theCtx: AIS_InteractiveContext @@ -7724,233 +9280,224 @@ theView: V3d_View thePose: gp_Trsf theToHighlight: bool -Returns +Return ------- int + +Description +----------- +Perform picking with/without dynamic highlighting for XR pose. ") handleXRMoveTo; virtual Standard_Integer handleXRMoveTo(const opencascade::handle & theCtx, const opencascade::handle & theView, const gp_Trsf & thePose, const Standard_Boolean theToHighlight); - /****************** handleXRPicking ******************/ - /**** md5 signature: 222444cb5c4cdef1d3a6bfb12966c890 ****/ + /****** AIS_ViewController::handleXRPicking ******/ + /****** md5 signature: 222444cb5c4cdef1d3a6bfb12966c890 ******/ %feature("compactdefaultargs") handleXRPicking; - %feature("autodoc", "Handle picking on trigger click. - + %feature("autodoc", " Parameters ---------- theCtx: AIS_InteractiveContext theView: V3d_View -Returns +Return ------- None + +Description +----------- +Handle picking on trigger click. ") handleXRPicking; virtual void handleXRPicking(const opencascade::handle & theCtx, const opencascade::handle & theView); - /****************** handleXRPresentations ******************/ - /**** md5 signature: efc9157b2e2753d08637e420750d902a ****/ + /****** AIS_ViewController::handleXRPresentations ******/ + /****** md5 signature: efc9157b2e2753d08637e420750d902a ******/ %feature("compactdefaultargs") handleXRPresentations; - %feature("autodoc", "Display auxiliary xr presentations. - + %feature("autodoc", " Parameters ---------- theCtx: AIS_InteractiveContext theView: V3d_View -Returns +Return ------- None + +Description +----------- +Display auxiliary XR presentations. ") handleXRPresentations; virtual void handleXRPresentations(const opencascade::handle & theCtx, const opencascade::handle & theView); - /****************** handleXRTeleport ******************/ - /**** md5 signature: b4e260f3ccbacea0758813222d07c62e ****/ + /****** AIS_ViewController::handleXRTeleport ******/ + /****** md5 signature: b4e260f3ccbacea0758813222d07c62e ******/ %feature("compactdefaultargs") handleXRTeleport; - %feature("autodoc", "Handle trackpad teleportation action. - + %feature("autodoc", " Parameters ---------- theCtx: AIS_InteractiveContext theView: V3d_View -Returns +Return ------- None + +Description +----------- +Handle trackpad teleportation action. ") handleXRTeleport; virtual void handleXRTeleport(const opencascade::handle & theCtx, const opencascade::handle & theView); - /****************** handleXRTurnPad ******************/ - /**** md5 signature: e830480d597b887ce8a335727dbd86c7 ****/ + /****** AIS_ViewController::handleXRTurnPad ******/ + /****** md5 signature: e830480d597b887ce8a335727dbd86c7 ******/ %feature("compactdefaultargs") handleXRTurnPad; - %feature("autodoc", "Handle trackpad view turn action. - + %feature("autodoc", " Parameters ---------- theCtx: AIS_InteractiveContext theView: V3d_View -Returns +Return ------- None + +Description +----------- +Handle trackpad view turn action. ") handleXRTurnPad; virtual void handleXRTurnPad(const opencascade::handle & theCtx, const opencascade::handle & theView); - /****************** handleZFocusScroll ******************/ - /**** md5 signature: 4d7ba821266f7b764f51666a67a2da46 ****/ + /****** AIS_ViewController::handleZFocusScroll ******/ + /****** md5 signature: 4d7ba821266f7b764f51666a67a2da46 ******/ %feature("compactdefaultargs") handleZFocusScroll; - %feature("autodoc", "Handle zscroll event mygl.zoomactions. this method is expected to be called from rendering thread. - + %feature("autodoc", " Parameters ---------- theView: V3d_View theParams: Aspect_ScrollDelta -Returns +Return ------- None + +Description +----------- +Handle ZScroll event myGL.ZoomActions. This method is expected to be called from rendering thread. ") handleZFocusScroll; virtual void handleZFocusScroll(const opencascade::handle & theView, const Aspect_ScrollDelta & theParams); - /****************** handleZRotate ******************/ - /**** md5 signature: 4a013b1ad2e9ee9774ef44523b4a6532 ****/ + /****** AIS_ViewController::handleZRotate ******/ + /****** md5 signature: 4a013b1ad2e9ee9774ef44523b4a6532 ******/ %feature("compactdefaultargs") handleZRotate; - %feature("autodoc", "Handle z rotation event mygl.zrotate. - + %feature("autodoc", " Parameters ---------- theView: V3d_View -Returns +Return ------- None + +Description +----------- +Handle Z rotation event myGL.ZRotate. ") handleZRotate; virtual void handleZRotate(const opencascade::handle & theView); - /****************** handleZoom ******************/ - /**** md5 signature: 0e123a7c7df5a4e2cce136990e950a04 ****/ + /****** AIS_ViewController::handleZoom ******/ + /****** md5 signature: 0e123a7c7df5a4e2cce136990e950a04 ******/ %feature("compactdefaultargs") handleZoom; - %feature("autodoc", "Handle zoom event mygl.zoomactions. this method is expected to be called from rendering thread. - + %feature("autodoc", " Parameters ---------- theView: V3d_View theParams: Aspect_ScrollDelta thePnt: gp_Pnt * -Returns +Return ------- None + +Description +----------- +Handle zoom event myGL.ZoomActions. This method is expected to be called from rendering thread. ") handleZoom; virtual void handleZoom(const opencascade::handle & theView, const Aspect_ScrollDelta & theParams, const gp_Pnt * thePnt); - /****************** hasPanningAnchorPoint ******************/ - /**** md5 signature: 5a5940ea0f0577e425c4d053777baccb ****/ + /****** AIS_ViewController::hasPanningAnchorPoint ******/ + /****** md5 signature: 5a5940ea0f0577e425c4d053777baccb ******/ %feature("compactdefaultargs") hasPanningAnchorPoint; - %feature("autodoc", "Return if panning anchor point has been defined. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return if panning anchor point has been defined. ") hasPanningAnchorPoint; bool hasPanningAnchorPoint(); - /****************** panningAnchorPoint ******************/ - /**** md5 signature: ba684401aa2b89569090e3ad13f4834f ****/ + /****** AIS_ViewController::panningAnchorPoint ******/ + /****** md5 signature: ba684401aa2b89569090e3ad13f4834f ******/ %feature("compactdefaultargs") panningAnchorPoint; - %feature("autodoc", "Return active panning anchor point. - -Returns + %feature("autodoc", "Return ------- gp_Pnt + +Description +----------- +Return active panning anchor point. ") panningAnchorPoint; const gp_Pnt panningAnchorPoint(); - /****************** setAskNextFrame ******************/ - /**** md5 signature: 6d19af3a6c77b607b1f07eb2f7996578 ****/ + /****** AIS_ViewController::setAskNextFrame ******/ + /****** md5 signature: 6d19af3a6c77b607b1f07eb2f7996578 ******/ %feature("compactdefaultargs") setAskNextFrame; - %feature("autodoc", "Set if another frame should be drawn right after this one. - + %feature("autodoc", " Parameters ---------- -theToDraw: bool,optional - default value is true +theToDraw: bool (optional, default to true) -Returns +Return ------- None + +Description +----------- +Set if another frame should be drawn right after this one. ") setAskNextFrame; void setAskNextFrame(bool theToDraw = true); - /****************** setPanningAnchorPoint ******************/ - /**** md5 signature: b7553988e5fbf0f722b71d831535f2ef ****/ + /****** AIS_ViewController::setPanningAnchorPoint ******/ + /****** md5 signature: b7553988e5fbf0f722b71d831535f2ef ******/ %feature("compactdefaultargs") setPanningAnchorPoint; - %feature("autodoc", "Set active panning anchor point. - + %feature("autodoc", " Parameters ---------- thePnt: gp_Pnt -Returns +Return ------- None + +Description +----------- +Set active panning anchor point. ") setPanningAnchorPoint; void setPanningAnchorPoint(const gp_Pnt & thePnt); - /****************** toAskNextFrame ******************/ - /**** md5 signature: d01248dd29bfdaa729f5199d74c25787 ****/ + /****** AIS_ViewController::toAskNextFrame ******/ + /****** md5 signature: d01248dd29bfdaa729f5199d74c25787 ******/ %feature("compactdefaultargs") toAskNextFrame; - %feature("autodoc", "Return true if another frame should be drawn right after this one. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return True if another frame should be drawn right after this one. ") toAskNextFrame; bool toAskNextFrame(); - /****************** update3dMouseKeys ******************/ - /**** md5 signature: 7068d4e0858b2659de00f111094ecc7f ****/ - %feature("compactdefaultargs") update3dMouseKeys; - %feature("autodoc", "Process 3d mouse input keys event. - -Parameters ----------- -theEvent: WNT_HIDSpaceMouse - -Returns -------- -bool -") update3dMouseKeys; - virtual bool update3dMouseKeys(const WNT_HIDSpaceMouse & theEvent); - - /****************** update3dMouseRotation ******************/ - /**** md5 signature: 0e88dd09859b6f02e48c9b73ec73f69b ****/ - %feature("compactdefaultargs") update3dMouseRotation; - %feature("autodoc", "Process 3d mouse input rotation event. - -Parameters ----------- -theEvent: WNT_HIDSpaceMouse - -Returns -------- -bool -") update3dMouseRotation; - virtual bool update3dMouseRotation(const WNT_HIDSpaceMouse & theEvent); - - /****************** update3dMouseTranslation ******************/ - /**** md5 signature: c826319c70a567fbe2c3401c0a5c2471 ****/ - %feature("compactdefaultargs") update3dMouseTranslation; - %feature("autodoc", "Process 3d mouse input translation event. - -Parameters ----------- -theEvent: WNT_HIDSpaceMouse - -Returns -------- -bool -") update3dMouseTranslation; - virtual bool update3dMouseTranslation(const WNT_HIDSpaceMouse & theEvent); - }; @@ -7965,29 +9512,30 @@ bool **************************/ class AIS_ViewCubeOwner : public SelectMgr_EntityOwner { public: - /****************** AIS_ViewCubeOwner ******************/ - /**** md5 signature: 36978750a4457ecd3b36a6a3432d9241 ****/ + /****** AIS_ViewCubeOwner::AIS_ViewCubeOwner ******/ + /****** md5 signature: 36978750a4457ecd3b36a6a3432d9241 ******/ %feature("compactdefaultargs") AIS_ViewCubeOwner; - %feature("autodoc", "Main constructor. - + %feature("autodoc", " Parameters ---------- theObject: AIS_ViewCube theOrient: V3d_TypeOfOrientation -thePriority: int,optional - default value is 5 +thePriority: int (optional, default to 5) -Returns +Return ------- None + +Description +----------- +Main constructor. ") AIS_ViewCubeOwner; AIS_ViewCubeOwner(const opencascade::handle & theObject, V3d_TypeOfOrientation theOrient, Standard_Integer thePriority = 5); - /****************** HandleMouseClick ******************/ - /**** md5 signature: c9960462cd9c8c10b47ef70eec4e28e3 ****/ + /****** AIS_ViewCubeOwner::HandleMouseClick ******/ + /****** md5 signature: c9960462cd9c8c10b47ef70eec4e28e3 ******/ %feature("compactdefaultargs") HandleMouseClick; - %feature("autodoc", "Handle mouse button click event. - + %feature("autodoc", " Parameters ---------- thePoint: Graphic3d_Vec2i @@ -7995,31 +9543,39 @@ theButton: Aspect_VKeyMouse theModifiers: Aspect_VKeyFlags theIsDoubleClick: bool -Returns +Return ------- bool + +Description +----------- +Handle mouse button click event. ") HandleMouseClick; virtual Standard_Boolean HandleMouseClick(const Graphic3d_Vec2i & thePoint, Aspect_VKeyMouse theButton, Aspect_VKeyFlags theModifiers, bool theIsDoubleClick); - /****************** IsForcedHilight ******************/ - /**** md5 signature: dba960b87733b88665f100db30e7dd77 ****/ + /****** AIS_ViewCubeOwner::IsForcedHilight ******/ + /****** md5 signature: dba960b87733b88665f100db30e7dd77 ******/ %feature("compactdefaultargs") IsForcedHilight; - %feature("autodoc", "Returns true. this owner will always call method hilight for its selectable object when the owner is detected. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return: True. This owner will always call method Hilight for its Selectable Object when the owner is detected. ") IsForcedHilight; virtual Standard_Boolean IsForcedHilight(); - /****************** MainOrientation ******************/ - /**** md5 signature: 7d1d15cbf0063e6e41d7faee8d9ffb0a ****/ + /****** AIS_ViewCubeOwner::MainOrientation ******/ + /****** md5 signature: 7d1d15cbf0063e6e41d7faee8d9ffb0a ******/ %feature("compactdefaultargs") MainOrientation; - %feature("autodoc", "Return new orientation to set. - -Returns + %feature("autodoc", "Return ------- V3d_TypeOfOrientation + +Description +----------- +Return new orientation to set. ") MainOrientation; V3d_TypeOfOrientation MainOrientation(); @@ -8032,6 +9588,58 @@ V3d_TypeOfOrientation } }; +/****************************** +* class AIS_ViewCubeSensitive * +******************************/ +class AIS_ViewCubeSensitive : public Select3D_SensitivePrimitiveArray { + public: + /****** AIS_ViewCubeSensitive::AIS_ViewCubeSensitive ******/ + /****** md5 signature: e45652d05a411666b6fb202a054d81ef ******/ + %feature("compactdefaultargs") AIS_ViewCubeSensitive; + %feature("autodoc", " +Parameters +---------- +theOwner: SelectMgr_EntityOwner +theTris: Graphic3d_ArrayOfTriangles + +Return +------- +None + +Description +----------- +Constructor. +") AIS_ViewCubeSensitive; + AIS_ViewCubeSensitive(const opencascade::handle & theOwner, const opencascade::handle & theTris); + + /****** AIS_ViewCubeSensitive::Matches ******/ + /****** md5 signature: 9840986fdc32d0b45aedaac5faa8bc9b ******/ + %feature("compactdefaultargs") Matches; + %feature("autodoc", " +Parameters +---------- +theMgr: SelectBasics_SelectingVolumeManager +thePickResult: SelectBasics_PickResult + +Return +------- +bool + +Description +----------- +Checks whether element overlaps current selecting volume. +") Matches; + virtual Standard_Boolean Matches(SelectBasics_SelectingVolumeManager & theMgr, SelectBasics_PickResult & thePickResult); + +}; + + +%extend AIS_ViewCubeSensitive { + %pythoncode { + __repr__ = _dumps_object + } +}; + /**************************** * class AIS_ViewInputBuffer * ****************************/ @@ -8045,35 +9653,29 @@ class AIS_ViewInputBuffer { 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 ******************/ - /**** md5 signature: 745d73c10e784c3d8e971b2aac633943 ****/ + /****** AIS_ViewInputBuffer::AIS_ViewInputBuffer ******/ + /****** md5 signature: 745d73c10e784c3d8e971b2aac633943 ******/ %feature("compactdefaultargs") AIS_ViewInputBuffer; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") AIS_ViewInputBuffer; AIS_ViewInputBuffer(); - /****************** Reset ******************/ - /**** md5 signature: e3081050d274769a1cd4a93969da94c6 ****/ + /****** AIS_ViewInputBuffer::Reset ******/ + /****** md5 signature: e3081050d274769a1cd4a93969da94c6 ******/ %feature("compactdefaultargs") Reset; - %feature("autodoc", "Reset events buffer. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Reset events buffer. ") Reset; void Reset(); @@ -8091,125 +9693,179 @@ None **********************/ class AIS_WalkDelta { public: - /****************** AIS_WalkDelta ******************/ - /**** md5 signature: 78d0e66f1b9582c94cc5e1325ffc1ece ****/ + /****** AIS_WalkDelta::AIS_WalkDelta ******/ + /****** md5 signature: 78d0e66f1b9582c94cc5e1325ffc1ece ******/ %feature("compactdefaultargs") AIS_WalkDelta; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") AIS_WalkDelta; AIS_WalkDelta(); - /****************** IsCrouching ******************/ - /**** md5 signature: 9edc9fe6122620d3da7900016c4dd274 ****/ + /****** AIS_WalkDelta::IsCrouching ******/ + /****** md5 signature: 9edc9fe6122620d3da7900016c4dd274 ******/ %feature("compactdefaultargs") IsCrouching; - %feature("autodoc", "Return crouching state. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return crouching state. ") IsCrouching; bool IsCrouching(); - /****************** IsEmpty ******************/ - /**** md5 signature: 70a41d5fe65955a28167088305fc6991 ****/ - %feature("compactdefaultargs") IsEmpty; - %feature("autodoc", "Return true when both rotation and translation deltas are empty. + /****** AIS_WalkDelta::IsDefined ******/ + /****** md5 signature: b70d5071bbde3aa553369be83e08074a ******/ + %feature("compactdefaultargs") IsDefined; + %feature("autodoc", "Return +------- +bool + +Description +----------- +Return True if navigation keys are pressed even if delta from the previous frame is empty. +") IsDefined; + bool IsDefined(); -Returns + /****** AIS_WalkDelta::IsEmpty ******/ + /****** md5 signature: 70a41d5fe65955a28167088305fc6991 ******/ + %feature("compactdefaultargs") IsEmpty; + %feature("autodoc", "Return ------- bool + +Description +----------- +Return True when both Rotation and Translation deltas are empty. ") IsEmpty; bool IsEmpty(); - /****************** IsJumping ******************/ - /**** md5 signature: d4be653fde273b1c6b730a0da8c487b6 ****/ + /****** AIS_WalkDelta::IsJumping ******/ + /****** md5 signature: d4be653fde273b1c6b730a0da8c487b6 ******/ %feature("compactdefaultargs") IsJumping; - %feature("autodoc", "Return jumping state. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return jumping state. ") IsJumping; bool IsJumping(); - /****************** IsRunning ******************/ - /**** md5 signature: fb4df305f3df2579c794552bb89356af ****/ + /****** AIS_WalkDelta::IsRunning ******/ + /****** md5 signature: fb4df305f3df2579c794552bb89356af ******/ %feature("compactdefaultargs") IsRunning; - %feature("autodoc", "Return running state. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return running state. ") IsRunning; bool IsRunning(); - /****************** SetCrouching ******************/ - /**** md5 signature: 5eceefece527a932b4edfcab57edade2 ****/ + /****** AIS_WalkDelta::SetCrouching ******/ + /****** md5 signature: 5eceefece527a932b4edfcab57edade2 ******/ %feature("compactdefaultargs") SetCrouching; - %feature("autodoc", "Set crouching state. - + %feature("autodoc", " Parameters ---------- theIsCrouching: bool -Returns +Return +------- +None + +Description +----------- +Set crouching state. +") SetCrouching; + void SetCrouching(bool theIsCrouching); + + /****** AIS_WalkDelta::SetDefined ******/ + /****** md5 signature: b71ec8fb76b263547fd8c33a97753c6c ******/ + %feature("compactdefaultargs") SetDefined; + %feature("autodoc", " +Parameters +---------- +theIsDefined: bool + +Return ------- None -") SetCrouching; - void SetCrouching(bool theIsCrouching); - /****************** SetJumping ******************/ - /**** md5 signature: 3b746ded8c228237e58bdc8b95def62f ****/ - %feature("compactdefaultargs") SetJumping; - %feature("autodoc", "Set jumping state. +Description +----------- +Set if any navigation key is pressed. +") SetDefined; + void SetDefined(bool theIsDefined); + /****** AIS_WalkDelta::SetJumping ******/ + /****** md5 signature: 3b746ded8c228237e58bdc8b95def62f ******/ + %feature("compactdefaultargs") SetJumping; + %feature("autodoc", " Parameters ---------- theIsJumping: bool -Returns +Return ------- None + +Description +----------- +Set jumping state. ") SetJumping; void SetJumping(bool theIsJumping); - /****************** SetRunning ******************/ - /**** md5 signature: 9e52f30649e18f8ab29d5958a3d4ded2 ****/ + /****** AIS_WalkDelta::SetRunning ******/ + /****** md5 signature: 9e52f30649e18f8ab29d5958a3d4ded2 ******/ %feature("compactdefaultargs") SetRunning; - %feature("autodoc", "Set running state. - + %feature("autodoc", " Parameters ---------- theIsRunning: bool -Returns +Return ------- None + +Description +----------- +Set running state. ") SetRunning; void SetRunning(bool theIsRunning); - /****************** ToMove ******************/ - /**** md5 signature: 7b66cd6cf6a1dd37a403775814652db7 ****/ + /****** AIS_WalkDelta::ToMove ******/ + /****** md5 signature: 7b66cd6cf6a1dd37a403775814652db7 ******/ %feature("compactdefaultargs") ToMove; - %feature("autodoc", "Return true if translation delta is defined. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return True if translation delta is defined. ") ToMove; bool ToMove(); - /****************** ToRotate ******************/ - /**** md5 signature: fcc05bcbce9d2e30ba46ffee48a00dd8 ****/ + /****** AIS_WalkDelta::ToRotate ******/ + /****** md5 signature: fcc05bcbce9d2e30ba46ffee48a00dd8 ******/ %feature("compactdefaultargs") ToRotate; - %feature("autodoc", "Return true if rotation delta is defined. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return True if rotation delta is defined. ") ToRotate; bool ToRotate(); @@ -8227,28 +9883,29 @@ bool *********************/ class AIS_WalkPart { public: - float Value; - float Pressure; - float Duration; - /****************** AIS_WalkPart ******************/ - /**** md5 signature: 5e3a0f6962670df498761fa44109c312 ****/ + /****** AIS_WalkPart::AIS_WalkPart ******/ + /****** md5 signature: 5e3a0f6962670df498761fa44109c312 ******/ %feature("compactdefaultargs") AIS_WalkPart; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") AIS_WalkPart; AIS_WalkPart(); - /****************** IsEmpty ******************/ - /**** md5 signature: 70a41d5fe65955a28167088305fc6991 ****/ + /****** AIS_WalkPart::IsEmpty ******/ + /****** md5 signature: 70a41d5fe65955a28167088305fc6991 ******/ %feature("compactdefaultargs") IsEmpty; - %feature("autodoc", "Return true if delta is empty. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return True if delta is empty. ") IsEmpty; bool IsEmpty(); @@ -8266,97 +9923,115 @@ bool ****************************/ class AIS_AnimationCamera : public AIS_Animation { public: - /****************** AIS_AnimationCamera ******************/ - /**** md5 signature: 8ff92abae4b3ac909180f754a717bd23 ****/ + /****** AIS_AnimationCamera::AIS_AnimationCamera ******/ + /****** md5 signature: 8ff92abae4b3ac909180f754a717bd23 ******/ %feature("compactdefaultargs") AIS_AnimationCamera; - %feature("autodoc", "Main constructor. - + %feature("autodoc", " Parameters ---------- -theAnimationName: TCollection_AsciiString +theAnimationName: str theView: V3d_View -Returns +Return ------- None + +Description +----------- +Main constructor. ") AIS_AnimationCamera; - AIS_AnimationCamera(const TCollection_AsciiString & theAnimationName, const opencascade::handle & theView); + AIS_AnimationCamera(TCollection_AsciiString theAnimationName, const opencascade::handle & theView); - /****************** CameraEnd ******************/ - /**** md5 signature: b01b09ea2b055e00cd1afbc9547d1944 ****/ + /****** AIS_AnimationCamera::CameraEnd ******/ + /****** md5 signature: b01b09ea2b055e00cd1afbc9547d1944 ******/ %feature("compactdefaultargs") CameraEnd; - %feature("autodoc", "Return camera end position. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Return camera end position. ") CameraEnd; const opencascade::handle & CameraEnd(); - /****************** CameraStart ******************/ - /**** md5 signature: d6ebd288f132ab4ec611acad6908ce38 ****/ + /****** AIS_AnimationCamera::CameraStart ******/ + /****** md5 signature: d6ebd288f132ab4ec611acad6908ce38 ******/ %feature("compactdefaultargs") CameraStart; - %feature("autodoc", "Return camera start position. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Return camera start position. ") CameraStart; const opencascade::handle & CameraStart(); - /****************** SetCameraEnd ******************/ - /**** md5 signature: 75679516df27f3c84a21aa3e0909ecf2 ****/ + /****** AIS_AnimationCamera::SetCameraEnd ******/ + /****** md5 signature: 75679516df27f3c84a21aa3e0909ecf2 ******/ %feature("compactdefaultargs") SetCameraEnd; - %feature("autodoc", "Define camera end position. - + %feature("autodoc", " Parameters ---------- theCameraEnd: Graphic3d_Camera -Returns +Return ------- None + +Description +----------- +Define camera end position. ") SetCameraEnd; void SetCameraEnd(const opencascade::handle & theCameraEnd); - /****************** SetCameraStart ******************/ - /**** md5 signature: 32b740e9f4a21c3ee69c1acc0dfa9c67 ****/ + /****** AIS_AnimationCamera::SetCameraStart ******/ + /****** md5 signature: 32b740e9f4a21c3ee69c1acc0dfa9c67 ******/ %feature("compactdefaultargs") SetCameraStart; - %feature("autodoc", "Define camera start position. - + %feature("autodoc", " Parameters ---------- theCameraStart: Graphic3d_Camera -Returns +Return ------- None + +Description +----------- +Define camera start position. ") SetCameraStart; void SetCameraStart(const opencascade::handle & theCameraStart); - /****************** SetView ******************/ - /**** md5 signature: 0584fa04772f11b6b4dc66d41a80a5f7 ****/ + /****** AIS_AnimationCamera::SetView ******/ + /****** md5 signature: 0584fa04772f11b6b4dc66d41a80a5f7 ******/ %feature("compactdefaultargs") SetView; - %feature("autodoc", "Set target view. - + %feature("autodoc", " Parameters ---------- theView: V3d_View -Returns +Return ------- None + +Description +----------- +Set target view. ") SetView; void SetView(const opencascade::handle & theView); - /****************** View ******************/ - /**** md5 signature: 592d26a27bd3a7b6180f94a10b60dfb1 ****/ + /****** AIS_AnimationCamera::View ******/ + /****** md5 signature: 592d26a27bd3a7b6180f94a10b60dfb1 ******/ %feature("compactdefaultargs") View; - %feature("autodoc", "Return the target view. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Return the target view. ") View; const opencascade::handle & View(); @@ -8371,283 +10046,333 @@ opencascade::handle } }; -/**************************** -* class AIS_AnimationObject * -****************************/ -class AIS_AnimationObject : public AIS_Animation { - public: - /****************** AIS_AnimationObject ******************/ - /**** md5 signature: c16e60828b420c37f86bd653dd4d9c04 ****/ - %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. - -Parameters ----------- -theAnimationName: TCollection_AsciiString -theContext: AIS_InteractiveContext -theObject: AIS_InteractiveObject -theTrsfStart: gp_Trsf -theTrsfEnd: gp_Trsf - -Returns -------- -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); - -}; - - -%make_alias(AIS_AnimationObject) - -%extend AIS_AnimationObject { - %pythoncode { - __repr__ = _dumps_object - } -}; - /***************** * class AIS_Axis * *****************/ class AIS_Axis : public AIS_InteractiveObject { public: - /****************** AIS_Axis ******************/ - /**** md5 signature: 496908e4e4a697e3d91ac63063fecdfc ****/ + /****** AIS_Axis::AIS_Axis ******/ + /****** md5 signature: 496908e4e4a697e3d91ac63063fecdfc ******/ %feature("compactdefaultargs") AIS_Axis; - %feature("autodoc", "Initializes the line acomponent. - + %feature("autodoc", " Parameters ---------- aComponent: Geom_Line -Returns +Return ------- None + +Description +----------- +Initializes the line aComponent. ") AIS_Axis; AIS_Axis(const opencascade::handle & aComponent); - /****************** AIS_Axis ******************/ - /**** md5 signature: e18674f14ec23c9de38d04b4c4849317 ****/ + /****** AIS_Axis::AIS_Axis ******/ + /****** md5 signature: e18674f14ec23c9de38d04b4c4849317 ******/ %feature("compactdefaultargs") AIS_Axis; - %feature("autodoc", "Initializes the axis2 position acomponent. the coordinate system used is right-handed. - + %feature("autodoc", " Parameters ---------- aComponent: Geom_Axis2Placement anAxisType: AIS_TypeOfAxis -Returns +Return ------- None + +Description +----------- +initializes the axis2 position aComponent. The coordinate system used is right-handed. ") AIS_Axis; AIS_Axis(const opencascade::handle & aComponent, const AIS_TypeOfAxis anAxisType); - /****************** AIS_Axis ******************/ - /**** md5 signature: 7521b6e648a3b47e5909b08aca72ee84 ****/ + /****** AIS_Axis::AIS_Axis ******/ + /****** md5 signature: 7521b6e648a3b47e5909b08aca72ee84 ******/ %feature("compactdefaultargs") AIS_Axis; - %feature("autodoc", "Initializes the axis1 position anaxis. - + %feature("autodoc", " Parameters ---------- anAxis: Geom_Axis1Placement -Returns +Return ------- None + +Description +----------- +Initializes the axis1 position anAxis. ") AIS_Axis; AIS_Axis(const opencascade::handle & anAxis); - /****************** AcceptDisplayMode ******************/ - /**** md5 signature: 4b2dbc71bc9796a113d83252030ddc96 ****/ - %feature("compactdefaultargs") AcceptDisplayMode; - %feature("autodoc", "Returns true if the interactive object accepts the display mode amode. + /****** AIS_Axis::AIS_Axis ******/ + /****** md5 signature: c934eb8339507f1bfcee85301548abec ******/ + %feature("compactdefaultargs") AIS_Axis; + %feature("autodoc", " +Parameters +---------- +theAxis: gp_Ax1 +theLength: float (optional, default to -1) + +Return +------- +None + +Description +----------- +Initializes the ray as axis with start point and direction +Input parameter: theAxis Start point and direction of the ray +Input parameter: theLength Optional length of the ray (ray is infinite by default). +") AIS_Axis; + AIS_Axis(const gp_Ax1 & theAxis, const Standard_Real theLength = -1); + /****** AIS_Axis::AcceptDisplayMode ******/ + /****** md5 signature: 4b2dbc71bc9796a113d83252030ddc96 ******/ + %feature("compactdefaultargs") AcceptDisplayMode; + %feature("autodoc", " Parameters ---------- aMode: int -Returns +Return ------- bool + +Description +----------- +Returns true if the interactive object accepts the display mode aMode. ") AcceptDisplayMode; Standard_Boolean AcceptDisplayMode(const Standard_Integer aMode); - /****************** Axis2Placement ******************/ - /**** md5 signature: 1eb7fb00f1ddac7348881c96ee090d62 ****/ + /****** AIS_Axis::Axis2Placement ******/ + /****** md5 signature: 1eb7fb00f1ddac7348881c96ee090d62 ******/ %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. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +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. ") Axis2Placement; const opencascade::handle & Axis2Placement(); - /****************** Component ******************/ - /**** md5 signature: f69e55b36337e553cef8f7f1128a7e5d ****/ + /****** AIS_Axis::Component ******/ + /****** md5 signature: f69e55b36337e553cef8f7f1128a7e5d ******/ %feature("compactdefaultargs") Component; - %feature("autodoc", "Returns the axis entity acomponent and identifies it as a component of a shape. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns the axis entity aComponent and identifies it as a component of a shape. ") Component; const opencascade::handle & Component(); - /****************** IsXYZAxis ******************/ - /**** md5 signature: 1d85f51d36d0ae430b9a865d101c9dcf ****/ + /****** AIS_Axis::IsXYZAxis ******/ + /****** md5 signature: 1d85f51d36d0ae430b9a865d101c9dcf ******/ %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. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns a signature of 2 for axis datums. When you activate mode 2 by a signature, you pick AIS objects of type AIS_Axis. ") IsXYZAxis; Standard_Boolean IsXYZAxis(); - /****************** SetAxis1Placement ******************/ - /**** md5 signature: 8c0fc181857403a46c591ffe5130de85 ****/ + /****** AIS_Axis::SetAxis1Placement ******/ + /****** md5 signature: 8c0fc181857403a46c591ffe5130de85 ******/ %feature("compactdefaultargs") SetAxis1Placement; - %feature("autodoc", "Constructs a new line to serve as the axis anaxis in 3d space. - + %feature("autodoc", " Parameters ---------- anAxis: Geom_Axis1Placement -Returns +Return ------- None + +Description +----------- +Constructs a new line to serve as the axis anAxis in 3D space. ") SetAxis1Placement; void SetAxis1Placement(const opencascade::handle & anAxis); - /****************** SetAxis2Placement ******************/ - /**** md5 signature: acd86dedac2b089c67648b84cfc69afd ****/ + /****** AIS_Axis::SetAxis2Placement ******/ + /****** md5 signature: acd86dedac2b089c67648b84cfc69afd ******/ %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. - + %feature("autodoc", " Parameters ---------- aComponent: Geom_Axis2Placement anAxisType: AIS_TypeOfAxis -Returns +Return ------- None + +Description +----------- +Allows you to provide settings for aComponent:the position and direction of an axis in 3D space. The coordinate system used is right-handed. ") SetAxis2Placement; void SetAxis2Placement(const opencascade::handle & aComponent, const AIS_TypeOfAxis anAxisType); - /****************** SetColor ******************/ - /**** md5 signature: 6b2b764a1e8ffb5d1aa4218d6218005c ****/ + /****** AIS_Axis::SetColor ******/ + /****** md5 signature: 6b2b764a1e8ffb5d1aa4218d6218005c ******/ %feature("compactdefaultargs") SetColor; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- aColor: Quantity_Color -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetColor; void SetColor(const Quantity_Color & aColor); - /****************** SetComponent ******************/ - /**** md5 signature: a13f4f5c2d68a8a72653cf5c30dc559b ****/ + /****** AIS_Axis::SetComponent ******/ + /****** md5 signature: a13f4f5c2d68a8a72653cf5c30dc559b ******/ %feature("compactdefaultargs") SetComponent; - %feature("autodoc", "Sets the coordinates of the lin acomponent. - + %feature("autodoc", " Parameters ---------- aComponent: Geom_Line -Returns +Return ------- None + +Description +----------- +Sets the coordinates of the lin aComponent. ") SetComponent; void SetComponent(const opencascade::handle & aComponent); - /****************** SetTypeOfAxis ******************/ - /**** md5 signature: 020f7cadcbe397a98ebb13acd7bdc321 ****/ - %feature("compactdefaultargs") SetTypeOfAxis; - %feature("autodoc", "Constructs the entity thetypeaxis to stock information concerning type of axis. + /****** AIS_Axis::SetDisplayAspect ******/ + /****** md5 signature: fbb9dcc512474594bfb63a46987619d6 ******/ + %feature("compactdefaultargs") SetDisplayAspect; + %feature("autodoc", " +Parameters +---------- +theNewDatumAspect: Prs3d_LineAspect + +Return +------- +None +Description +----------- +Set required visualization parameters. +") SetDisplayAspect; + void SetDisplayAspect(const opencascade::handle & theNewDatumAspect); + + /****** AIS_Axis::SetTypeOfAxis ******/ + /****** md5 signature: 020f7cadcbe397a98ebb13acd7bdc321 ******/ + %feature("compactdefaultargs") SetTypeOfAxis; + %feature("autodoc", " Parameters ---------- theTypeAxis: AIS_TypeOfAxis -Returns +Return ------- None + +Description +----------- +Constructs the entity theTypeAxis to stock information concerning type of axis. ") SetTypeOfAxis; void SetTypeOfAxis(const AIS_TypeOfAxis theTypeAxis); - /****************** SetWidth ******************/ - /**** md5 signature: 9d813a0ff21da5ccb02e00971f20abed ****/ + /****** AIS_Axis::SetWidth ******/ + /****** md5 signature: 9d813a0ff21da5ccb02e00971f20abed ******/ %feature("compactdefaultargs") SetWidth; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- aValue: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetWidth; void SetWidth(const Standard_Real aValue); - /****************** Signature ******************/ - /**** md5 signature: 4e037e01ba764fd5d5261e3d9ba6557d ****/ + /****** AIS_Axis::Signature ******/ + /****** md5 signature: 4e037e01ba764fd5d5261e3d9ba6557d ******/ %feature("compactdefaultargs") Signature; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") Signature; virtual Standard_Integer Signature(); - /****************** Type ******************/ - /**** md5 signature: bf4aea6b24d0b584b57c781f208134ec ****/ + /****** AIS_Axis::Type ******/ + /****** md5 signature: bf4aea6b24d0b584b57c781f208134ec ******/ %feature("compactdefaultargs") Type; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- AIS_KindOfInteractive + +Description +----------- +No available documentation. ") Type; virtual AIS_KindOfInteractive Type(); - /****************** TypeOfAxis ******************/ - /**** md5 signature: 9f9988d6567e5e10c79eb93ead9bc6e5 ****/ + /****** AIS_Axis::TypeOfAxis ******/ + /****** md5 signature: 9f9988d6567e5e10c79eb93ead9bc6e5 ******/ %feature("compactdefaultargs") TypeOfAxis; - %feature("autodoc", "Returns the type of axis. - -Returns + %feature("autodoc", "Return ------- AIS_TypeOfAxis + +Description +----------- +Returns the type of axis. ") TypeOfAxis; AIS_TypeOfAxis TypeOfAxis(); - /****************** UnsetColor ******************/ - /**** md5 signature: 305de4c541ce8067f3ff456f9ec26b55 ****/ + /****** AIS_Axis::UnsetColor ******/ + /****** md5 signature: 305de4c541ce8067f3ff456f9ec26b55 ******/ %feature("compactdefaultargs") UnsetColor; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") UnsetColor; void UnsetColor(); - /****************** UnsetWidth ******************/ - /**** md5 signature: a9083157cc12b18148f87c7816510f28 ****/ + /****** AIS_Axis::UnsetWidth ******/ + /****** md5 signature: a9083157cc12b18148f87c7816510f28 ******/ %feature("compactdefaultargs") UnsetWidth; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") UnsetWidth; void UnsetWidth(); @@ -8662,6 +10387,23 @@ None } }; +/******************************** +* class AIS_BaseAnimationObject * +********************************/ +%nodefaultctor AIS_BaseAnimationObject; +class AIS_BaseAnimationObject : public AIS_Animation { + public: +}; + + +%make_alias(AIS_BaseAnimationObject) + +%extend AIS_BaseAnimationObject { + %pythoncode { + __repr__ = _dumps_object + } +}; + /************************** * class AIS_CameraFrustum * **************************/ @@ -8675,7 +10417,7 @@ enum SelectionMode { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class SelectionMode(IntEnum): @@ -8686,81 +10428,96 @@ SelectionMode_Volume = SelectionMode.SelectionMode_Volume }; /* end python proxy for enums */ - /****************** AIS_CameraFrustum ******************/ - /**** md5 signature: 150818eb23cd3e2e2db0bb6db4cf94d7 ****/ + /****** AIS_CameraFrustum::AIS_CameraFrustum ******/ + /****** md5 signature: 150818eb23cd3e2e2db0bb6db4cf94d7 ******/ %feature("compactdefaultargs") AIS_CameraFrustum; - %feature("autodoc", "Constructs camera frustum with default configuration. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Constructs camera frustum with default configuration. ") AIS_CameraFrustum; AIS_CameraFrustum(); - /****************** AcceptDisplayMode ******************/ - /**** md5 signature: 73e6b64240388c9f5967edd29a7d922a ****/ + /****** AIS_CameraFrustum::AcceptDisplayMode ******/ + /****** md5 signature: 73e6b64240388c9f5967edd29a7d922a ******/ %feature("compactdefaultargs") AcceptDisplayMode; - %feature("autodoc", "Return true if specified display mode is supported. - + %feature("autodoc", " Parameters ---------- theMode: int -Returns +Return ------- bool + +Description +----------- +Return true if specified display mode is supported. ") AcceptDisplayMode; virtual Standard_Boolean AcceptDisplayMode(const Standard_Integer theMode); - /****************** SetCameraFrustum ******************/ - /**** md5 signature: d196fc8b383c2d94bbf20ae29d0720c5 ****/ + /****** AIS_CameraFrustum::SetCameraFrustum ******/ + /****** md5 signature: d196fc8b383c2d94bbf20ae29d0720c5 ******/ %feature("compactdefaultargs") SetCameraFrustum; - %feature("autodoc", "Sets camera frustum. - + %feature("autodoc", " Parameters ---------- theCamera: Graphic3d_Camera -Returns +Return ------- None + +Description +----------- +Sets camera frustum. ") SetCameraFrustum; void SetCameraFrustum(const opencascade::handle & theCamera); - /****************** SetColor ******************/ - /**** md5 signature: 259272248bacb2cef242adbc667f0ef9 ****/ + /****** AIS_CameraFrustum::SetColor ******/ + /****** md5 signature: 259272248bacb2cef242adbc667f0ef9 ******/ %feature("compactdefaultargs") SetColor; - %feature("autodoc", "Setup custom color. - + %feature("autodoc", " Parameters ---------- theColor: Quantity_Color -Returns +Return ------- None + +Description +----------- +Setup custom color. ") SetColor; virtual void SetColor(const Quantity_Color & theColor); - /****************** UnsetColor ******************/ - /**** md5 signature: 2da7e2ed6a63f7c70c36c2a82118a7ec ****/ + /****** AIS_CameraFrustum::UnsetColor ******/ + /****** md5 signature: 2da7e2ed6a63f7c70c36c2a82118a7ec ******/ %feature("compactdefaultargs") UnsetColor; - %feature("autodoc", "Restore default color. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Restore default color. ") UnsetColor; virtual void UnsetColor(); - /****************** UnsetTransparency ******************/ - /**** md5 signature: bdf34ac27dd66c689517e7b105e66cb2 ****/ + /****** AIS_CameraFrustum::UnsetTransparency ******/ + /****** md5 signature: bdf34ac27dd66c689517e7b105e66cb2 ******/ %feature("compactdefaultargs") UnsetTransparency; - %feature("autodoc", "Restore transparency setting. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Restore transparency setting. ") UnsetTransparency; virtual void UnsetTransparency(); @@ -8778,208 +10535,246 @@ None *******************/ class AIS_Circle : public AIS_InteractiveObject { public: - /****************** AIS_Circle ******************/ - /**** md5 signature: 7840debc97d471b60b1bd796a31a034f ****/ + /****** AIS_Circle::AIS_Circle ******/ + /****** md5 signature: 7840debc97d471b60b1bd796a31a034f ******/ %feature("compactdefaultargs") AIS_Circle; - %feature("autodoc", "Initializes this algorithm for constructing ais circle datums initializes the circle acircle. - + %feature("autodoc", " Parameters ---------- aCircle: Geom_Circle -Returns +Return ------- None + +Description +----------- +Initializes this algorithm for constructing AIS circle datums initializes the circle aCircle. ") AIS_Circle; AIS_Circle(const opencascade::handle & aCircle); - /****************** AIS_Circle ******************/ - /**** md5 signature: 27923ecaf8cbe2d56e0129b466ec95f1 ****/ + /****** AIS_Circle::AIS_Circle ******/ + /****** md5 signature: 27923ecaf8cbe2d56e0129b466ec95f1 ******/ %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. - + %feature("autodoc", " Parameters ---------- theCircle: Geom_Circle theUStart: float theUEnd: float -theIsFilledCircleSens: bool,optional - default value is Standard_False +theIsFilledCircleSens: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +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. ") AIS_Circle; AIS_Circle(const opencascade::handle & theCircle, const Standard_Real theUStart, const Standard_Real theUEnd, const Standard_Boolean theIsFilledCircleSens = Standard_False); - /****************** Circle ******************/ - /**** md5 signature: dca94d5c17b802a2d82f4b02016fcaa0 ****/ + /****** AIS_Circle::Circle ******/ + /****** md5 signature: dca94d5c17b802a2d82f4b02016fcaa0 ******/ %feature("compactdefaultargs") Circle; - %feature("autodoc", "Returns the circle component defined in setcircle. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns the circle component defined in SetCircle. ") Circle; const opencascade::handle & Circle(); - /****************** IsFilledCircleSens ******************/ - /**** md5 signature: ddaea116033193620f481ab3c97bd9d0 ****/ + /****** AIS_Circle::IsFilledCircleSens ******/ + /****** md5 signature: ddaea116033193620f481ab3c97bd9d0 ******/ %feature("compactdefaultargs") IsFilledCircleSens; - %feature("autodoc", "Returns the type of sensitivity for the circle;. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns the type of sensitivity for the circle;. ") IsFilledCircleSens; Standard_Boolean IsFilledCircleSens(); - /****************** Parameters ******************/ - /**** md5 signature: 6bfe2bdfa8f1f8a9a2b0d2ddbe974b6b ****/ + /****** AIS_Circle::Parameters ******/ + /****** md5 signature: 6bfe2bdfa8f1f8a9a2b0d2ddbe974b6b ******/ %feature("compactdefaultargs") Parameters; - %feature("autodoc", "Constructs instances of the starting point and the end point parameters, theu1 and theu2. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- theU1: float theU2: float + +Description +----------- +Constructs instances of the starting point and the end point parameters, theU1 and theU2. ") Parameters; void Parameters(Standard_Real &OutValue, Standard_Real &OutValue); - /****************** SetCircle ******************/ - /**** md5 signature: 96449d53f84bdc37171b080fcbaf229f ****/ + /****** AIS_Circle::SetCircle ******/ + /****** md5 signature: 96449d53f84bdc37171b080fcbaf229f ******/ %feature("compactdefaultargs") SetCircle; - %feature("autodoc", "Allows you to provide settings for the circle datum acircle. - + %feature("autodoc", " Parameters ---------- theCircle: Geom_Circle -Returns +Return ------- None + +Description +----------- +Allows you to provide settings for the circle datum aCircle. ") SetCircle; void SetCircle(const opencascade::handle & theCircle); - /****************** SetColor ******************/ - /**** md5 signature: 6b2b764a1e8ffb5d1aa4218d6218005c ****/ + /****** AIS_Circle::SetColor ******/ + /****** md5 signature: 6b2b764a1e8ffb5d1aa4218d6218005c ******/ %feature("compactdefaultargs") SetColor; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- aColor: Quantity_Color -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetColor; void SetColor(const Quantity_Color & aColor); - /****************** SetFilledCircleSens ******************/ - /**** md5 signature: a806a83742b7e68ae11b365ebebc7a53 ****/ + /****** AIS_Circle::SetFilledCircleSens ******/ + /****** md5 signature: a806a83742b7e68ae11b365ebebc7a53 ******/ %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. - + %feature("autodoc", " Parameters ---------- theIsFilledCircleSens: bool -Returns +Return ------- None + +Description +----------- +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. ") SetFilledCircleSens; void SetFilledCircleSens(const Standard_Boolean theIsFilledCircleSens); - /****************** SetFirstParam ******************/ - /**** md5 signature: 30825c81f464c29337e52ffb7bc42de8 ****/ + /****** AIS_Circle::SetFirstParam ******/ + /****** md5 signature: 30825c81f464c29337e52ffb7bc42de8 ******/ %feature("compactdefaultargs") SetFirstParam; - %feature("autodoc", "Allows you to set the parameter theu for the starting point of an arc. - + %feature("autodoc", " Parameters ---------- theU: float -Returns +Return ------- None + +Description +----------- +Allows you to set the parameter theU for the starting point of an arc. ") SetFirstParam; void SetFirstParam(const Standard_Real theU); - /****************** SetLastParam ******************/ - /**** md5 signature: 618bfebbc085b09013b19573c3f2c3ba ****/ + /****** AIS_Circle::SetLastParam ******/ + /****** md5 signature: 618bfebbc085b09013b19573c3f2c3ba ******/ %feature("compactdefaultargs") SetLastParam; - %feature("autodoc", "Allows you to provide the parameter theu for the end point of an arc. - + %feature("autodoc", " Parameters ---------- theU: float -Returns +Return ------- None + +Description +----------- +Allows you to provide the parameter theU for the end point of an arc. ") SetLastParam; void SetLastParam(const Standard_Real theU); - /****************** SetWidth ******************/ - /**** md5 signature: 9d813a0ff21da5ccb02e00971f20abed ****/ + /****** AIS_Circle::SetWidth ******/ + /****** md5 signature: 9d813a0ff21da5ccb02e00971f20abed ******/ %feature("compactdefaultargs") SetWidth; - %feature("autodoc", "Assigns the width avalue to the solid line boundary of the circle datum. - + %feature("autodoc", " Parameters ---------- aValue: float -Returns +Return ------- None + +Description +----------- +Assigns the width aValue to the solid line boundary of the circle datum. ") SetWidth; void SetWidth(const Standard_Real aValue); - /****************** Signature ******************/ - /**** md5 signature: 4e037e01ba764fd5d5261e3d9ba6557d ****/ + /****** AIS_Circle::Signature ******/ + /****** md5 signature: 4e037e01ba764fd5d5261e3d9ba6557d ******/ %feature("compactdefaultargs") Signature; - %feature("autodoc", "Returns index 6 by default. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns index 6 by default. ") Signature; virtual Standard_Integer Signature(); - /****************** Type ******************/ - /**** md5 signature: bf4aea6b24d0b584b57c781f208134ec ****/ + /****** AIS_Circle::Type ******/ + /****** md5 signature: bf4aea6b24d0b584b57c781f208134ec ******/ %feature("compactdefaultargs") Type; - %feature("autodoc", "Indicates that the type of interactive object is a datum. - -Returns + %feature("autodoc", "Return ------- AIS_KindOfInteractive + +Description +----------- +Indicates that the type of Interactive Object is a datum. ") Type; virtual AIS_KindOfInteractive Type(); - /****************** UnsetColor ******************/ - /**** md5 signature: 305de4c541ce8067f3ff456f9ec26b55 ****/ + /****** AIS_Circle::UnsetColor ******/ + /****** md5 signature: 305de4c541ce8067f3ff456f9ec26b55 ******/ %feature("compactdefaultargs") UnsetColor; - %feature("autodoc", "Removes color from the solid line boundary of the circle datum. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Removes color from the solid line boundary of the circle datum. ") UnsetColor; void UnsetColor(); - /****************** UnsetWidth ******************/ - /**** md5 signature: a9083157cc12b18148f87c7816510f28 ****/ + /****** AIS_Circle::UnsetWidth ******/ + /****** md5 signature: a9083157cc12b18148f87c7816510f28 ******/ %feature("compactdefaultargs") UnsetWidth; - %feature("autodoc", "Removes width settings from the solid line boundary of the circle datum. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Removes width settings from the solid line boundary of the circle datum. ") UnsetWidth; void UnsetWidth(); @@ -8999,86 +10794,99 @@ None ***********************/ class AIS_ColorScale : public AIS_InteractiveObject { public: - /****************** AIS_ColorScale ******************/ - /**** md5 signature: f743d580a5e9c57906d990bffe1e305b ****/ + /****** AIS_ColorScale::AIS_ColorScale ******/ + /****** md5 signature: f743d580a5e9c57906d990bffe1e305b ******/ %feature("compactdefaultargs") AIS_ColorScale; - %feature("autodoc", "Default constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Default constructor. ") AIS_ColorScale; AIS_ColorScale(); - /****************** AcceptDisplayMode ******************/ - /**** md5 signature: 4c81f1c2cfc05fd196e1c09a383a3455 ****/ + /****** AIS_ColorScale::AcceptDisplayMode ******/ + /****** md5 signature: 4c81f1c2cfc05fd196e1c09a383a3455 ******/ %feature("compactdefaultargs") AcceptDisplayMode; - %feature("autodoc", "Return true if specified display mode is supported. - + %feature("autodoc", " Parameters ---------- theMode: int -Returns +Return ------- bool + +Description +----------- +Return true if specified display mode is supported. ") AcceptDisplayMode; virtual Standard_Boolean AcceptDisplayMode(const Standard_Integer theMode); - /****************** ColorRange ******************/ - /**** md5 signature: 09c7c44e660693a064e563e79c9b2177 ****/ + /****** AIS_ColorScale::ColorRange ******/ + /****** md5 signature: 09c7c44e660693a064e563e79c9b2177 ******/ %feature("compactdefaultargs") ColorRange; - %feature("autodoc", "Returns color range corresponding to minimum and maximum values, blue to red by default. - + %feature("autodoc", " Parameters ---------- theMinColor: Quantity_Color theMaxColor: Quantity_Color -Returns +Return ------- None + +Description +----------- +Returns color range corresponding to minimum and maximum values, blue to red by default. ") ColorRange; void ColorRange(Quantity_Color & theMinColor, Quantity_Color & theMaxColor); - /****************** Compute ******************/ - /**** md5 signature: b5355a3b64ac692f9073af0b450bf918 ****/ + /****** AIS_ColorScale::Compute ******/ + /****** md5 signature: 2211827d8c388dd82f20241aba38e7b4 ******/ %feature("compactdefaultargs") Compute; - %feature("autodoc", "Compute presentation. - + %feature("autodoc", " Parameters ---------- -thePresentationManager: PrsMgr_PresentationManager3d +thePrsMgr: PrsMgr_PresentationManager thePresentation: Prs3d_Presentation theMode: int -Returns +Return ------- None + +Description +----------- +Compute presentation. ") Compute; - virtual void Compute(const opencascade::handle & thePresentationManager, const opencascade::handle & thePresentation, const Standard_Integer theMode); + virtual void Compute(const opencascade::handle & thePrsMgr, const opencascade::handle & thePresentation, const Standard_Integer theMode); - /****************** ComputeSelection ******************/ - /**** md5 signature: cebd8858c299db78edb7052c49348937 ****/ + /****** AIS_ColorScale::ComputeSelection ******/ + /****** md5 signature: cebd8858c299db78edb7052c49348937 ******/ %feature("compactdefaultargs") ComputeSelection; - %feature("autodoc", "Compute selection - not implemented for color scale. - + %feature("autodoc", " Parameters ---------- &: SelectMgr_Selection Standard_Integer: -Returns +Return ------- None + +Description +----------- +Compute selection - not implemented for color scale. ") ComputeSelection; virtual void ComputeSelection(const opencascade::handle &, const Standard_Integer); - /****************** FindColor ******************/ - /**** md5 signature: 45503e79acd0e8e9e8f6cbed02ec31bf ****/ + /****** AIS_ColorScale::FindColor ******/ + /****** md5 signature: 45503e79acd0e8e9e8f6cbed02ec31bf ******/ %feature("compactdefaultargs") FindColor; - %feature("autodoc", "Calculate color according passed value; returns true if value is in range or false, if isn't. - + %feature("autodoc", " Parameters ---------- theValue: float @@ -9089,17 +10897,20 @@ theColorHlsMin: Graphic3d_Vec3d theColorHlsMax: Graphic3d_Vec3d theColor: Quantity_Color -Returns +Return ------- bool + +Description +----------- +Calculate color according passed value; returns true if value is in range or false, if isn't. ") 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 ******************/ - /**** md5 signature: 8d3344b8104a62193a16e135eb078b3d ****/ + /****** AIS_ColorScale::FindColor ******/ + /****** md5 signature: 8d3344b8104a62193a16e135eb078b3d ******/ %feature("compactdefaultargs") FindColor; - %feature("autodoc", "Calculate color according passed value; returns true if value is in range or false, if isn't. - + %feature("autodoc", " Parameters ---------- theValue: float @@ -9108,406 +10919,482 @@ theMax: float theColorsCount: int theColor: Quantity_Color -Returns +Return ------- bool + +Description +----------- +Calculate color according passed value; returns true if value is in range or false, if isn't. ") 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 ******************/ - /**** md5 signature: 9abe0c7448de981f5c28d49fc8e91980 ****/ + /****** AIS_ColorScale::FindColor ******/ + /****** md5 signature: 9abe0c7448de981f5c28d49fc8e91980 ******/ %feature("compactdefaultargs") FindColor; - %feature("autodoc", "Calculate color according passed value; returns true if value is in range or false, if isn't. - + %feature("autodoc", " Parameters ---------- theValue: float theColor: Quantity_Color -Returns +Return ------- bool + +Description +----------- +Calculate color according passed value; returns true if value is in range or false, if isn't. ") FindColor; Standard_Boolean FindColor(const Standard_Real theValue, Quantity_Color & theColor); - /****************** Format ******************/ - /**** md5 signature: e9d46855e7e702fd9247d888cb57d283 ****/ + /****** AIS_ColorScale::Format ******/ + /****** md5 signature: e9d46855e7e702fd9247d888cb57d283 ******/ %feature("compactdefaultargs") Format; - %feature("autodoc", "Returns the format of text. - -Returns + %feature("autodoc", "Return ------- TCollection_AsciiString + +Description +----------- +Returns the format of text. ") Format; const TCollection_AsciiString & Format(); - /****************** GetBreadth ******************/ - /**** md5 signature: 60c66494a66bb8b81538e217bbd69f0f ****/ + /****** AIS_ColorScale::GetBreadth ******/ + /****** md5 signature: 60c66494a66bb8b81538e217bbd69f0f ******/ %feature("compactdefaultargs") GetBreadth; - %feature("autodoc", "Returns the breadth of color bar, 0 by default (e.g. should be set by user explicitly before displaying). - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns the breadth of color bar, 0 by default (e.g. should be set by user explicitly before displaying). ") GetBreadth; Standard_Integer GetBreadth(); - /****************** GetColorType ******************/ - /**** md5 signature: 74ef7f5246b762298ca7fb66001ffb68 ****/ + /****** AIS_ColorScale::GetColorType ******/ + /****** md5 signature: 74ef7f5246b762298ca7fb66001ffb68 ******/ %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. - -Returns + %feature("autodoc", "Return ------- Aspect_TypeOfColorScaleData + +Description +----------- +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. ") GetColorType; Aspect_TypeOfColorScaleData GetColorType(); - /****************** GetColors ******************/ - /**** md5 signature: 4eac91b266fb62448dfee88590d32204 ****/ + /****** AIS_ColorScale::GetColors ******/ + /****** md5 signature: 4eac91b266fb62448dfee88590d32204 ******/ %feature("compactdefaultargs") GetColors; - %feature("autodoc", "Returns the user specified colors. - + %feature("autodoc", " Parameters ---------- theColors: Aspect_SequenceOfColor -Returns +Return ------- None + +Description +----------- +Returns the user specified colors. ") GetColors; void GetColors(Aspect_SequenceOfColor & theColors); - /****************** GetColors ******************/ - /**** md5 signature: 9dd2da5a85896576f1b8faa51824613e ****/ + /****** AIS_ColorScale::GetColors ******/ + /****** md5 signature: 9dd2da5a85896576f1b8faa51824613e ******/ %feature("compactdefaultargs") GetColors; - %feature("autodoc", "Returns the user specified colors. - -Returns + %feature("autodoc", "Return ------- Aspect_SequenceOfColor + +Description +----------- +Returns the user specified colors. ") GetColors; const Aspect_SequenceOfColor & GetColors(); - /****************** GetFormat ******************/ - /**** md5 signature: 54c7ef0bc14e2d3ab1ecb4d4d0c39e35 ****/ + /****** AIS_ColorScale::GetFormat ******/ + /****** md5 signature: 54c7ef0bc14e2d3ab1ecb4d4d0c39e35 ******/ %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;. - -Returns + %feature("autodoc", "Return ------- TCollection_AsciiString + +Description +----------- +Returns the format for numbers, '%.4g' by default. The same like format for function printf(). Used if GetLabelType() is TOCSD_AUTO;. ") GetFormat; const TCollection_AsciiString & GetFormat(); - /****************** GetHeight ******************/ - /**** md5 signature: f73bd370be1a33627722a97ab21a3944 ****/ + /****** AIS_ColorScale::GetHeight ******/ + /****** md5 signature: f73bd370be1a33627722a97ab21a3944 ******/ %feature("compactdefaultargs") GetHeight; - %feature("autodoc", "Returns the height of color bar, 0 by default (e.g. should be set by user explicitly before displaying). - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns the height of color bar, 0 by default (e.g. should be set by user explicitly before displaying). ") GetHeight; Standard_Integer GetHeight(); - /****************** GetIntervalColor ******************/ - /**** md5 signature: 9fe0281a4a2854a52a01e0ad862b76c8 ****/ + /****** AIS_ColorScale::GetIntervalColor ******/ + /****** md5 signature: 9fe0281a4a2854a52a01e0ad862b76c8 ******/ %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. - + %feature("autodoc", " Parameters ---------- theIndex: int -Returns +Return ------- Quantity_Color + +Description +----------- +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. ") GetIntervalColor; Quantity_Color GetIntervalColor(const Standard_Integer theIndex); - /****************** GetLabel ******************/ - /**** md5 signature: 209ac05f071e491f772f57146e650b94 ****/ + /****** AIS_ColorScale::GetLabel ******/ + /****** md5 signature: 209ac05f071e491f772f57146e650b94 ******/ %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. - + %feature("autodoc", " Parameters ---------- theIndex: int -Returns +Return ------- TCollection_ExtendedString + +Description +----------- +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. ") GetLabel; TCollection_ExtendedString GetLabel(const Standard_Integer theIndex); - /****************** GetLabelPosition ******************/ - /**** md5 signature: 88288ffee0ed0f8d63549846a0f422d4 ****/ + /****** AIS_ColorScale::GetLabelPosition ******/ + /****** md5 signature: 88288ffee0ed0f8d63549846a0f422d4 ******/ %feature("compactdefaultargs") GetLabelPosition; - %feature("autodoc", "Returns the position of labels concerning color filled rectangles, aspect_tocsp_right by default. - -Returns + %feature("autodoc", "Return ------- Aspect_TypeOfColorScalePosition + +Description +----------- +Returns the position of labels concerning color filled rectangles, Aspect_TOCSP_RIGHT by default. ") GetLabelPosition; Aspect_TypeOfColorScalePosition GetLabelPosition(); - /****************** GetLabelType ******************/ - /**** md5 signature: a0a0539f49a2cced1489ebfe193b2cbf ****/ + /****** AIS_ColorScale::GetLabelType ******/ + /****** md5 signature: a0a0539f49a2cced1489ebfe193b2cbf ******/ %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. - -Returns + %feature("autodoc", "Return ------- Aspect_TypeOfColorScaleData + +Description +----------- +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. ") GetLabelType; Aspect_TypeOfColorScaleData GetLabelType(); - /****************** GetLabels ******************/ - /**** md5 signature: b61c0c474dbe12a38ad32ccf53629f06 ****/ + /****** AIS_ColorScale::GetLabels ******/ + /****** md5 signature: b61c0c474dbe12a38ad32ccf53629f06 ******/ %feature("compactdefaultargs") GetLabels; - %feature("autodoc", "Returns the user specified labels. - + %feature("autodoc", " Parameters ---------- theLabels: TColStd_SequenceOfExtendedString -Returns +Return ------- None + +Description +----------- +Returns the user specified labels. ") GetLabels; void GetLabels(TColStd_SequenceOfExtendedString & theLabels); - /****************** GetMax ******************/ - /**** md5 signature: 6dbd6ddcdeb1e84f290e8ef25a18ec36 ****/ + /****** AIS_ColorScale::GetMax ******/ + /****** md5 signature: 6dbd6ddcdeb1e84f290e8ef25a18ec36 ******/ %feature("compactdefaultargs") GetMax; - %feature("autodoc", "Returns maximal value of color scale, 1.0 by default. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns maximal value of color scale, 1.0 by default. ") GetMax; Standard_Real GetMax(); - /****************** GetMin ******************/ - /**** md5 signature: 012840e577d48b8e93dc4b2ebfe7fab8 ****/ + /****** AIS_ColorScale::GetMin ******/ + /****** md5 signature: 012840e577d48b8e93dc4b2ebfe7fab8 ******/ %feature("compactdefaultargs") GetMin; - %feature("autodoc", "Returns minimal value of color scale, 0.0 by default. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns minimal value of color scale, 0.0 by default. ") GetMin; Standard_Real GetMin(); - /****************** GetNumberOfIntervals ******************/ - /**** md5 signature: 7a45275605944756fb48c569f3216264 ****/ + /****** AIS_ColorScale::GetNumberOfIntervals ******/ + /****** md5 signature: 7a45275605944756fb48c569f3216264 ******/ %feature("compactdefaultargs") GetNumberOfIntervals; - %feature("autodoc", "Returns the number of color scale intervals, 10 by default. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns the number of color scale intervals, 10 by default. ") GetNumberOfIntervals; Standard_Integer GetNumberOfIntervals(); - /****************** GetPosition ******************/ - /**** md5 signature: 34da0784d19f0c8adbfc5576fc684578 ****/ + /****** AIS_ColorScale::GetPosition ******/ + /****** md5 signature: 34da0784d19f0c8adbfc5576fc684578 ******/ %feature("compactdefaultargs") GetPosition; - %feature("autodoc", "Returns the bottom-left position of color scale, 0x0 by default. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- theX: float theY: float + +Description +----------- +Returns the bottom-left position of color scale, 0x0 by default. ") GetPosition; void GetPosition(Standard_Real &OutValue, Standard_Real &OutValue); - /****************** GetRange ******************/ - /**** md5 signature: 2b2ba75ae145a171d46ddece662d6e49 ****/ + /****** AIS_ColorScale::GetRange ******/ + /****** md5 signature: 2b2ba75ae145a171d46ddece662d6e49 ******/ %feature("compactdefaultargs") GetRange; - %feature("autodoc", "Returns minimal and maximal values of color scale, 0.0 to 1.0 by default. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- theMin: float theMax: float + +Description +----------- +Returns minimal and maximal values of color scale, 0.0 to 1.0 by default. ") GetRange; void GetRange(Standard_Real &OutValue, Standard_Real &OutValue); - /****************** GetSize ******************/ - /**** md5 signature: bda5f3873fc73f6ed83df761bd931364 ****/ + /****** AIS_ColorScale::GetSize ******/ + /****** md5 signature: bda5f3873fc73f6ed83df761bd931364 ******/ %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). - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- theBreadth: int theHeight: int + +Description +----------- +Returns the size of color bar, 0 and 0 by default (e.g. should be set by user explicitly before displaying). ") GetSize; void GetSize(Standard_Integer &OutValue, Standard_Integer &OutValue); - /****************** GetTextHeight ******************/ - /**** md5 signature: 56193ab0dbdc23a7fce07b41f86aef1c ****/ + /****** AIS_ColorScale::GetTextHeight ******/ + /****** md5 signature: 56193ab0dbdc23a7fce07b41f86aef1c ******/ %feature("compactdefaultargs") GetTextHeight; - %feature("autodoc", "Returns the font height of text labels, 20 by default. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns the font height of text labels, 20 by default. ") GetTextHeight; Standard_Integer GetTextHeight(); - /****************** GetTitle ******************/ - /**** md5 signature: a72936ae7a819e87d6c110c7a97925c7 ****/ + /****** AIS_ColorScale::GetTitle ******/ + /****** md5 signature: a72936ae7a819e87d6c110c7a97925c7 ******/ %feature("compactdefaultargs") GetTitle; - %feature("autodoc", "Returns the color scale title string, empty string by default. - -Returns + %feature("autodoc", "Return ------- TCollection_ExtendedString + +Description +----------- +Returns the color scale title string, empty string by default. ") GetTitle; const TCollection_ExtendedString & GetTitle(); - /****************** GetTitlePosition ******************/ - /**** md5 signature: 6653dc38f69098958c96501f1a02b184 ****/ + /****** AIS_ColorScale::GetTitlePosition ******/ + /****** md5 signature: 6653dc38f69098958c96501f1a02b184 ******/ %feature("compactdefaultargs") GetTitlePosition; - %feature("autodoc", "Returns the position of color scale title, aspect_tocsp_left by default. - -Returns + %feature("autodoc", "Return ------- Aspect_TypeOfColorScalePosition + +Description +----------- +Returns the position of color scale title, Aspect_TOCSP_LEFT by default. ") GetTitlePosition; Aspect_TypeOfColorScalePosition GetTitlePosition(); - /****************** GetXPosition ******************/ - /**** md5 signature: 5d6923c1ea08e8ed4c013d7b9f0f3965 ****/ + /****** AIS_ColorScale::GetXPosition ******/ + /****** md5 signature: 5d6923c1ea08e8ed4c013d7b9f0f3965 ******/ %feature("compactdefaultargs") GetXPosition; - %feature("autodoc", "Returns the left position of color scale, 0 by default. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns the left position of color scale, 0 by default. ") GetXPosition; Standard_Integer GetXPosition(); - /****************** GetYPosition ******************/ - /**** md5 signature: 7cc4007da07d7e3f6d724dca71e8398d ****/ + /****** AIS_ColorScale::GetYPosition ******/ + /****** md5 signature: 7cc4007da07d7e3f6d724dca71e8398d ******/ %feature("compactdefaultargs") GetYPosition; - %feature("autodoc", "Returns the bottom position of color scale, 0 by default. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns the bottom position of color scale, 0 by default. ") GetYPosition; Standard_Integer GetYPosition(); - /****************** HueMax ******************/ - /**** md5 signature: e7799f032906a869b978e479658db84b ****/ + /****** AIS_ColorScale::HueMax ******/ + /****** md5 signature: e7799f032906a869b978e479658db84b ******/ %feature("compactdefaultargs") HueMax; - %feature("autodoc", "Returns the hue angle corresponding to maximum value, 0 by default (red). - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the hue angle corresponding to maximum value, 0 by default (red). ") HueMax; Standard_Real HueMax(); - /****************** HueMin ******************/ - /**** md5 signature: 345bd0e79609339522ded27cde082f7c ****/ + /****** AIS_ColorScale::HueMin ******/ + /****** md5 signature: 345bd0e79609339522ded27cde082f7c ******/ %feature("compactdefaultargs") HueMin; - %feature("autodoc", "Returns the hue angle corresponding to minimum value, 230 by default (blue). - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the hue angle corresponding to minimum value, 230 by default (blue). ") HueMin; Standard_Real HueMin(); - /****************** HueRange ******************/ - /**** md5 signature: b7bf861498dcd72e2e9e1407ed935519 ****/ + /****** AIS_ColorScale::HueRange ******/ + /****** md5 signature: b7bf861498dcd72e2e9e1407ed935519 ******/ %feature("compactdefaultargs") HueRange; - %feature("autodoc", "Returns the hue angle range corresponding to minimum and maximum values, 230 to 0 by default (blue to red). - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- theMinAngle: float theMaxAngle: float + +Description +----------- +Returns the hue angle range corresponding to minimum and maximum values, 230 to 0 by default (blue to red). ") HueRange; void HueRange(Standard_Real &OutValue, Standard_Real &OutValue); - /****************** IsLabelAtBorder ******************/ - /**** md5 signature: e70dd3577bdc0d8d3eeffd5bc40cf067 ****/ + /****** AIS_ColorScale::IsLabelAtBorder ******/ + /****** md5 signature: e70dd3577bdc0d8d3eeffd5bc40cf067 ******/ %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). - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +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). ") IsLabelAtBorder; Standard_Boolean IsLabelAtBorder(); - /****************** IsLogarithmic ******************/ - /**** md5 signature: 206c126d3c03062d4da3f5821d473f35 ****/ + /****** AIS_ColorScale::IsLogarithmic ******/ + /****** md5 signature: 206c126d3c03062d4da3f5821d473f35 ******/ %feature("compactdefaultargs") IsLogarithmic; - %feature("autodoc", "Returns true if the color scale has logarithmic intervals, false by default. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns True if the color scale has logarithmic intervals, False by default. ") IsLogarithmic; Standard_Boolean IsLogarithmic(); - /****************** IsReversed ******************/ - /**** md5 signature: fc4392faff5ff74541d64e131a69df7d ****/ + /****** AIS_ColorScale::IsReversed ******/ + /****** md5 signature: fc4392faff5ff74541d64e131a69df7d ******/ %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. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +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. ") IsReversed; Standard_Boolean IsReversed(); - /****************** IsSmoothTransition ******************/ - /**** md5 signature: 948f5603b0f0b0b71079796c742b4a27 ****/ + /****** AIS_ColorScale::IsSmoothTransition ******/ + /****** md5 signature: 948f5603b0f0b0b71079796c742b4a27 ******/ %feature("compactdefaultargs") IsSmoothTransition; - %feature("autodoc", "Return true if color transition between neighbor intervals should be linearly interpolated, false by default. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return True if color transition between neighbor intervals should be linearly interpolated, False by default. ") IsSmoothTransition; Standard_Boolean IsSmoothTransition(); - /****************** Labels ******************/ - /**** md5 signature: ba9d9d591e9b7d0404c8a268dba1ff46 ****/ + /****** AIS_ColorScale::Labels ******/ + /****** md5 signature: ba9d9d591e9b7d0404c8a268dba1ff46 ******/ %feature("compactdefaultargs") Labels; - %feature("autodoc", "Returns the user specified labels. - -Returns + %feature("autodoc", "Return ------- TColStd_SequenceOfExtendedString + +Description +----------- +Returns the user specified labels. ") Labels; const TColStd_SequenceOfExtendedString & Labels(); - /****************** MakeUniformColors ******************/ - /**** md5 signature: c5509db5ca86935ada0aa1098b2c5016 ****/ + /****** AIS_ColorScale::MakeUniformColors ******/ + /****** md5 signature: c5509db5ca86935ada0aa1098b2c5016 ******/ %feature("compactdefaultargs") MakeUniformColors; - %feature("autodoc", "Generates sequence of colors of the same lightness value in cie lch color space (see #quantity_toc_cielch), with hue values in the specified range. the colors are distributed across the range such as to have perceptually same difference between neighbour colors. for each color, maximal chroma value fitting in srgb gamut is used. //! @param thenbcolors - number of colors to generate @param thelightness - lightness to be used (0 is black, 100 is white, 32 is lightness of pure blue) @param thehuefrom - hue value at the start of the scale @param thehueto - hue value defining the end of the scale hue value can be out of the range [0, 360], interpreted as modulo 360. the colors of the scale will be in the order of increasing hue if thehueto > thehuefrom, and decreasing otherwise. - + %feature("autodoc", " Parameters ---------- theNbColors: int @@ -9515,501 +11402,611 @@ theLightness: float theHueFrom: float theHueTo: float -Returns +Return ------- Aspect_SequenceOfColor + +Description +----------- +Generates sequence of colors of the same lightness value in CIE Lch color space (see #Quantity_TOC_CIELch), with hue values in the specified range. The colors are distributed across the range such as to have perceptually same difference between neighbour colors. For each color, maximal chroma value fitting in sRGB gamut is used. //! +Parameter theNbColors - number of colors to generate +Parameter theLightness - lightness to be used (0 is black, 100 is white, 32 is lightness of pure blue) +Parameter theHueFrom - hue value at the start of the scale +Parameter theHueTo - hue value defining the end of the scale //! Hue value can be out of the range [0, 360], interpreted as modulo 360. The colors of the scale will be in the order of increasing hue if theHueTo > theHueFrom, and decreasing otherwise. ") MakeUniformColors; static Aspect_SequenceOfColor MakeUniformColors(Standard_Integer theNbColors, Standard_Real theLightness, Standard_Real theHueFrom, Standard_Real theHueTo); - /****************** SetBreadth ******************/ - /**** md5 signature: b169d0a06d61cdb70c75cd65cf142545 ****/ + /****** AIS_ColorScale::SetBreadth ******/ + /****** md5 signature: b169d0a06d61cdb70c75cd65cf142545 ******/ %feature("compactdefaultargs") SetBreadth; - %feature("autodoc", "Sets the width of color bar. - + %feature("autodoc", " Parameters ---------- theBreadth: int -Returns +Return ------- None + +Description +----------- +Sets the width of color bar. ") SetBreadth; void SetBreadth(const Standard_Integer theBreadth); - /****************** SetColorRange ******************/ - /**** md5 signature: 3483915ea52d4e4643411a8644762be9 ****/ + /****** AIS_ColorScale::SetColorRange ******/ + /****** md5 signature: 3483915ea52d4e4643411a8644762be9 ******/ %feature("compactdefaultargs") SetColorRange; - %feature("autodoc", "Sets color range corresponding to minimum and maximum values. - + %feature("autodoc", " Parameters ---------- theMinColor: Quantity_Color theMaxColor: Quantity_Color -Returns +Return ------- None + +Description +----------- +Sets color range corresponding to minimum and maximum values. ") SetColorRange; void SetColorRange(const Quantity_Color & theMinColor, const Quantity_Color & theMaxColor); - /****************** SetColorType ******************/ - /**** md5 signature: ccb79408e792e85c00c45c6bb9b717ac ****/ + /****** AIS_ColorScale::SetColorType ******/ + /****** md5 signature: ccb79408e792e85c00c45c6bb9b717ac ******/ %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. - + %feature("autodoc", " Parameters ---------- theType: Aspect_TypeOfColorScaleData -Returns +Return ------- None + +Description +----------- +Sets the type of colors. Aspect_TOCSD_AUTO - value between Red and Blue Aspect_TOCSD_USER - user specified color from color map. ") SetColorType; void SetColorType(const Aspect_TypeOfColorScaleData theType); - /****************** SetColors ******************/ - /**** md5 signature: 053f2a7e1146c7ff1caaf50c036ddd26 ****/ + /****** AIS_ColorScale::SetColors ******/ + /****** md5 signature: 053f2a7e1146c7ff1caaf50c036ddd26 ******/ %feature("compactdefaultargs") SetColors; - %feature("autodoc", "Sets the color scale colors. the length of the sequence should be equal to getnumberofintervals(). - + %feature("autodoc", " Parameters ---------- theSeq: Aspect_SequenceOfColor -Returns +Return ------- None + +Description +----------- +Sets the color scale colors. The length of the sequence should be equal to GetNumberOfIntervals(). ") SetColors; void SetColors(const Aspect_SequenceOfColor & theSeq); - /****************** SetFormat ******************/ - /**** md5 signature: db500bbac847facf0570542df6d698c0 ****/ + /****** AIS_ColorScale::SetFormat ******/ + /****** md5 signature: db500bbac847facf0570542df6d698c0 ******/ %feature("compactdefaultargs") SetFormat; - %feature("autodoc", "Sets the color scale auto label format specification. - + %feature("autodoc", " Parameters ---------- -theFormat: TCollection_AsciiString +theFormat: str -Returns +Return ------- None + +Description +----------- +Sets the color scale auto label format specification. ") SetFormat; - void SetFormat(const TCollection_AsciiString & theFormat); + void SetFormat(TCollection_AsciiString theFormat); - /****************** SetHeight ******************/ - /**** md5 signature: e32aa97606dad72235a0a6b4a7c46ba6 ****/ + /****** AIS_ColorScale::SetHeight ******/ + /****** md5 signature: e32aa97606dad72235a0a6b4a7c46ba6 ******/ %feature("compactdefaultargs") SetHeight; - %feature("autodoc", "Sets the height of color bar. - + %feature("autodoc", " Parameters ---------- theHeight: int -Returns +Return ------- None + +Description +----------- +Sets the height of color bar. ") SetHeight; void SetHeight(const Standard_Integer theHeight); - /****************** SetHueRange ******************/ - /**** md5 signature: f87adea70a6ccfaf228d21ab54a0cb26 ****/ + /****** AIS_ColorScale::SetHueRange ******/ + /****** md5 signature: f87adea70a6ccfaf228d21ab54a0cb26 ******/ %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. - + %feature("autodoc", " Parameters ---------- theMinAngle: float theMaxAngle: float -Returns +Return ------- None + +Description +----------- +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. ") SetHueRange; void SetHueRange(const Standard_Real theMinAngle, const Standard_Real theMaxAngle); - /****************** SetIntervalColor ******************/ - /**** md5 signature: 754d258b8a860b7f9a3fdd24835d1977 ****/ + /****** AIS_ColorScale::SetIntervalColor ******/ + /****** md5 signature: 754d258b8a860b7f9a3fdd24835d1977 ******/ %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. - + %feature("autodoc", " Parameters ---------- theColor: Quantity_Color theIndex: int -Returns +Return ------- None + +Description +----------- +Sets the color of the specified interval. Note that list is automatically resized to include specified index. +Parameter theColor color value to set +Parameter theIndex index in range [1, GetNumberOfIntervals()]; appended to the end of list if -1 is specified. ") SetIntervalColor; void SetIntervalColor(const Quantity_Color & theColor, const Standard_Integer theIndex); - /****************** SetLabel ******************/ - /**** md5 signature: cfbcf70c0fd3a5586d1e2aa40a279820 ****/ + /****** AIS_ColorScale::SetLabel ******/ + /****** md5 signature: cfbcf70c0fd3a5586d1e2aa40a279820 ******/ %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. - + %feature("autodoc", " Parameters ---------- -theLabel: TCollection_ExtendedString +theLabel: str theIndex: int -Returns +Return ------- None + +Description +----------- +Sets the color scale label at index. Note that list is automatically resized to include specified index. +Parameter theLabel new label text +Parameter 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. ") SetLabel; - void SetLabel(const TCollection_ExtendedString & theLabel, const Standard_Integer theIndex); + void SetLabel(TCollection_ExtendedString theLabel, const Standard_Integer theIndex); - /****************** SetLabelAtBorder ******************/ - /**** md5 signature: 2e74089f2855b82e157ab10779d34d9a ****/ + /****** AIS_ColorScale::SetLabelAtBorder ******/ + /****** md5 signature: 2e74089f2855b82e157ab10779d34d9a ******/ %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. - + %feature("autodoc", " Parameters ---------- theOn: bool -Returns +Return ------- None + +Description +----------- +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. ") SetLabelAtBorder; void SetLabelAtBorder(const Standard_Boolean theOn); - /****************** SetLabelPosition ******************/ - /**** md5 signature: f2079deb9de667b1bdebac8fa78780a5 ****/ + /****** AIS_ColorScale::SetLabelPosition ******/ + /****** md5 signature: f2079deb9de667b1bdebac8fa78780a5 ******/ %feature("compactdefaultargs") SetLabelPosition; - %feature("autodoc", "Sets the color scale labels position relative to color bar. - + %feature("autodoc", " Parameters ---------- thePos: Aspect_TypeOfColorScalePosition -Returns +Return ------- None + +Description +----------- +Sets the color scale labels position relative to color bar. ") SetLabelPosition; void SetLabelPosition(const Aspect_TypeOfColorScalePosition thePos); - /****************** SetLabelType ******************/ - /**** md5 signature: 25ca56d3438d8f07cae52daa92e3c673 ****/ + /****** AIS_ColorScale::SetLabelType ******/ + /****** md5 signature: 25ca56d3438d8f07cae52daa92e3c673 ******/ %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. - + %feature("autodoc", " Parameters ---------- theType: Aspect_TypeOfColorScaleData -Returns +Return ------- None + +Description +----------- +Sets the type of labels. Aspect_TOCSD_AUTO - labels as boundary values for intervals Aspect_TOCSD_USER - user specified label is used. ") SetLabelType; void SetLabelType(const Aspect_TypeOfColorScaleData theType); - /****************** SetLabels ******************/ - /**** md5 signature: bfef69cf016bddb79975f840b471e057 ****/ + /****** AIS_ColorScale::SetLabels ******/ + /****** md5 signature: bfef69cf016bddb79975f840b471e057 ******/ %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). - + %feature("autodoc", " Parameters ---------- theSeq: TColStd_SequenceOfExtendedString -Returns +Return ------- None + +Description +----------- +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). ") SetLabels; void SetLabels(const TColStd_SequenceOfExtendedString & theSeq); - /****************** SetLogarithmic ******************/ - /**** md5 signature: 1aa9b8cbb29d4a6b236745d92f8bbb26 ****/ + /****** AIS_ColorScale::SetLogarithmic ******/ + /****** md5 signature: 1aa9b8cbb29d4a6b236745d92f8bbb26 ******/ %feature("compactdefaultargs") SetLogarithmic; - %feature("autodoc", "Sets true if the color scale has logarithmic intervals. - + %feature("autodoc", " Parameters ---------- isLogarithmic: bool -Returns +Return ------- None + +Description +----------- +Sets true if the color scale has logarithmic intervals. ") SetLogarithmic; void SetLogarithmic(const Standard_Boolean isLogarithmic); - /****************** SetMax ******************/ - /**** md5 signature: 4c20d3fea95945d42f75fa966f2ad673 ****/ + /****** AIS_ColorScale::SetMax ******/ + /****** md5 signature: 4c20d3fea95945d42f75fa966f2ad673 ******/ %feature("compactdefaultargs") SetMax; - %feature("autodoc", "Sets the maximal value of color scale. - + %feature("autodoc", " Parameters ---------- theMax: float -Returns +Return ------- None + +Description +----------- +Sets the maximal value of color scale. ") SetMax; void SetMax(const Standard_Real theMax); - /****************** SetMin ******************/ - /**** md5 signature: 6921ecfd3ae542273e85c8630eea2b3b ****/ + /****** AIS_ColorScale::SetMin ******/ + /****** md5 signature: 6921ecfd3ae542273e85c8630eea2b3b ******/ %feature("compactdefaultargs") SetMin; - %feature("autodoc", "Sets the minimal value of color scale. - + %feature("autodoc", " Parameters ---------- theMin: float -Returns +Return ------- None + +Description +----------- +Sets the minimal value of color scale. ") SetMin; void SetMin(const Standard_Real theMin); - /****************** SetNumberOfIntervals ******************/ - /**** md5 signature: a481601d8f65c5086c8cf8207d34c5e2 ****/ + /****** AIS_ColorScale::SetNumberOfIntervals ******/ + /****** md5 signature: a481601d8f65c5086c8cf8207d34c5e2 ******/ %feature("compactdefaultargs") SetNumberOfIntervals; - %feature("autodoc", "Sets the number of color scale intervals. - + %feature("autodoc", " Parameters ---------- theNum: int -Returns +Return ------- None + +Description +----------- +Sets the number of color scale intervals. ") SetNumberOfIntervals; void SetNumberOfIntervals(const Standard_Integer theNum); - /****************** SetPosition ******************/ - /**** md5 signature: c59d56150ba74cb250a9febbb8af984d ****/ + /****** AIS_ColorScale::SetPosition ******/ + /****** md5 signature: c59d56150ba74cb250a9febbb8af984d ******/ %feature("compactdefaultargs") SetPosition; - %feature("autodoc", "Sets the position of color scale. - + %feature("autodoc", " Parameters ---------- theX: int theY: int -Returns +Return ------- None + +Description +----------- +Sets the position of color scale. ") SetPosition; void SetPosition(const Standard_Integer theX, const Standard_Integer theY); - /****************** SetRange ******************/ - /**** md5 signature: 447e6555076e1c4cb2530ad76fe5dd51 ****/ + /****** AIS_ColorScale::SetRange ******/ + /****** md5 signature: 447e6555076e1c4cb2530ad76fe5dd51 ******/ %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. - + %feature("autodoc", " Parameters ---------- theMin: float theMax: float -Returns +Return ------- None + +Description +----------- +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. ") SetRange; void SetRange(const Standard_Real theMin, const Standard_Real theMax); - /****************** SetReversed ******************/ - /**** md5 signature: 76e30efca3b6a2aa0c8a38b4b2cb3c1f ****/ + /****** AIS_ColorScale::SetReversed ******/ + /****** md5 signature: 76e30efca3b6a2aa0c8a38b4b2cb3c1f ******/ %feature("compactdefaultargs") SetReversed; - %feature("autodoc", "Sets true if the labels and colors used in reversed order. - + %feature("autodoc", " Parameters ---------- theReverse: bool -Returns +Return ------- None + +Description +----------- +Sets true if the labels and colors used in reversed order. ") SetReversed; void SetReversed(const Standard_Boolean theReverse); - /****************** SetSize ******************/ - /**** md5 signature: cffb0141a67df2198798e06d0162c5fa ****/ + /****** AIS_ColorScale::SetSize ******/ + /****** md5 signature: cffb0141a67df2198798e06d0162c5fa ******/ %feature("compactdefaultargs") SetSize; - %feature("autodoc", "Sets the size of color bar. - + %feature("autodoc", " Parameters ---------- theBreadth: int theHeight: int -Returns +Return ------- None + +Description +----------- +Sets the size of color bar. ") SetSize; void SetSize(const Standard_Integer theBreadth, const Standard_Integer theHeight); - /****************** SetSmoothTransition ******************/ - /**** md5 signature: 2f4cc203f3ce19aa09e9aa11dc5041b3 ****/ + /****** AIS_ColorScale::SetSmoothTransition ******/ + /****** md5 signature: 2f4cc203f3ce19aa09e9aa11dc5041b3 ******/ %feature("compactdefaultargs") SetSmoothTransition; - %feature("autodoc", "Setup smooth color transition. - + %feature("autodoc", " Parameters ---------- theIsSmooth: bool -Returns +Return ------- None + +Description +----------- +Setup smooth color transition. ") SetSmoothTransition; void SetSmoothTransition(const Standard_Boolean theIsSmooth); - /****************** SetTextHeight ******************/ - /**** md5 signature: 376d7cbb786e7d59161a71cca5489791 ****/ + /****** AIS_ColorScale::SetTextHeight ******/ + /****** md5 signature: 376d7cbb786e7d59161a71cca5489791 ******/ %feature("compactdefaultargs") SetTextHeight; - %feature("autodoc", "Sets the height of text of color scale. - + %feature("autodoc", " Parameters ---------- theHeight: int -Returns +Return ------- None + +Description +----------- +Sets the height of text of color scale. ") SetTextHeight; void SetTextHeight(const Standard_Integer theHeight); - /****************** SetTitle ******************/ - /**** md5 signature: 1858779efdb47aad84406fafb11b64f2 ****/ + /****** AIS_ColorScale::SetTitle ******/ + /****** md5 signature: 1858779efdb47aad84406fafb11b64f2 ******/ %feature("compactdefaultargs") SetTitle; - %feature("autodoc", "Sets the color scale title string. - + %feature("autodoc", " Parameters ---------- -theTitle: TCollection_ExtendedString +theTitle: str -Returns +Return ------- None + +Description +----------- +Sets the color scale title string. ") SetTitle; - void SetTitle(const TCollection_ExtendedString & theTitle); + void SetTitle(TCollection_ExtendedString theTitle); - /****************** SetTitlePosition ******************/ - /**** md5 signature: ffb68e1026952762986ee0e118b51626 ****/ + /****** AIS_ColorScale::SetTitlePosition ******/ + /****** md5 signature: ffb68e1026952762986ee0e118b51626 ******/ %feature("compactdefaultargs") SetTitlePosition; - %feature("autodoc", "Sets the color scale title position. - + %feature("autodoc", " Parameters ---------- thePos: Aspect_TypeOfColorScalePosition -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetTitlePosition; void SetTitlePosition(const Aspect_TypeOfColorScalePosition thePos); - /****************** SetUniformColors ******************/ - /**** md5 signature: 643a34948e3de542baf241bb7740e782 ****/ + /****** AIS_ColorScale::SetUniformColors ******/ + /****** md5 signature: 643a34948e3de542baf241bb7740e782 ******/ %feature("compactdefaultargs") SetUniformColors; - %feature("autodoc", "Populates colors scale by colors of the same lightness value in cie lch color space, distributed by hue, with perceptually uniform differences between consequent colors. see makeuniformcolors() for description of parameters. - + %feature("autodoc", " Parameters ---------- theLightness: float theHueFrom: float theHueTo: float -Returns +Return ------- None + +Description +----------- +Populates colors scale by colors of the same lightness value in CIE Lch color space, distributed by hue, with perceptually uniform differences between consequent colors. See MakeUniformColors() for description of parameters. ") SetUniformColors; void SetUniformColors(Standard_Real theLightness, Standard_Real theHueFrom, Standard_Real theHueTo); - /****************** SetXPosition ******************/ - /**** md5 signature: a0e6df9560ed6e5302a5d7db2ecacdf8 ****/ + /****** AIS_ColorScale::SetXPosition ******/ + /****** md5 signature: a0e6df9560ed6e5302a5d7db2ecacdf8 ******/ %feature("compactdefaultargs") SetXPosition; - %feature("autodoc", "Sets the left position of color scale. - + %feature("autodoc", " Parameters ---------- theX: int -Returns +Return ------- None + +Description +----------- +Sets the left position of color scale. ") SetXPosition; void SetXPosition(const Standard_Integer theX); - /****************** SetYPosition ******************/ - /**** md5 signature: c54835c4c8e01730d64532eb5a13a6e2 ****/ + /****** AIS_ColorScale::SetYPosition ******/ + /****** md5 signature: c54835c4c8e01730d64532eb5a13a6e2 ******/ %feature("compactdefaultargs") SetYPosition; - %feature("autodoc", "Sets the bottom position of color scale. - + %feature("autodoc", " Parameters ---------- theY: int -Returns +Return ------- None + +Description +----------- +Sets the bottom position of color scale. ") SetYPosition; void SetYPosition(const Standard_Integer theY); - /****************** TextHeight ******************/ - /**** md5 signature: f1b1fbe39606e457f13a36a5111da3f5 ****/ + /****** AIS_ColorScale::TextHeight ******/ + /****** md5 signature: f1b1fbe39606e457f13a36a5111da3f5 ******/ %feature("compactdefaultargs") TextHeight; - %feature("autodoc", "Returns the height of text. @param thetext [in] the text of which to calculate height. - + %feature("autodoc", " Parameters ---------- -theText: TCollection_ExtendedString +theText: str -Returns +Return ------- int + +Description +----------- +Returns the height of text. +Input parameter: theText the text of which to calculate height. ") TextHeight; - Standard_Integer TextHeight(const TCollection_ExtendedString & theText); + Standard_Integer TextHeight(TCollection_ExtendedString theText); - /****************** TextSize ******************/ - /**** md5 signature: df57c5cfbbb6f8f9a5d75ce1943f61ab ****/ + /****** AIS_ColorScale::TextSize ******/ + /****** md5 signature: df57c5cfbbb6f8f9a5d75ce1943f61ab ******/ %feature("compactdefaultargs") TextSize; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -theText: TCollection_ExtendedString +theText: str theHeight: int -Returns +Return ------- theWidth: int theAscent: int theDescent: int + +Description +----------- +No available documentation. ") TextSize; - void TextSize(const TCollection_ExtendedString & theText, const Standard_Integer theHeight, Standard_Integer &OutValue, Standard_Integer &OutValue, Standard_Integer &OutValue); + void TextSize(TCollection_ExtendedString theText, const Standard_Integer theHeight, Standard_Integer &OutValue, Standard_Integer &OutValue, Standard_Integer &OutValue); - /****************** TextWidth ******************/ - /**** md5 signature: ef6e59d61da317f2087b0778bbc36b23 ****/ + /****** AIS_ColorScale::TextWidth ******/ + /****** md5 signature: ef6e59d61da317f2087b0778bbc36b23 ******/ %feature("compactdefaultargs") TextWidth; - %feature("autodoc", "Returns the width of text. @param thetext [in] the text of which to calculate width. - + %feature("autodoc", " Parameters ---------- -theText: TCollection_ExtendedString +theText: str -Returns +Return ------- int + +Description +----------- +Returns the width of text. +Input parameter: theText the text of which to calculate width. ") TextWidth; - Standard_Integer TextWidth(const TCollection_ExtendedString & theText); + Standard_Integer TextWidth(TCollection_ExtendedString theText); - /****************** hueToValidRange ******************/ - /**** md5 signature: f60f245014fce41540c5cd6f560cd4ad ****/ + /****** AIS_ColorScale::hueToValidRange ******/ + /****** md5 signature: f60f245014fce41540c5cd6f560cd4ad ******/ %feature("compactdefaultargs") hueToValidRange; - %feature("autodoc", "Shift hue into valid range. lightness and saturation should be specified in valid range [0.0, 1.0], however hue might be given out of quantity_color range to specify desired range for interpolation. - + %feature("autodoc", " Parameters ---------- theHue: float -Returns +Return ------- float + +Description +----------- +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. ") hueToValidRange; static Standard_Real hueToValidRange(const Standard_Real theHue); @@ -10029,156 +12026,631 @@ float *********************************/ class AIS_ConnectedInteractive : public AIS_InteractiveObject { public: - /****************** AIS_ConnectedInteractive ******************/ - /**** md5 signature: 377e611268f08de16ae81b87c0243098 ****/ + /****** AIS_ConnectedInteractive::AIS_ConnectedInteractive ******/ + /****** md5 signature: 377e611268f08de16ae81b87c0243098 ******/ %feature("compactdefaultargs") AIS_ConnectedInteractive; - %feature("autodoc", "Disconnects the previous view and sets highlight mode to 0. this highlights the wireframe presentation atypeofpresentation3d. top_allview deactivates hidden line removal. - + %feature("autodoc", " Parameters ---------- -aTypeOfPresentation3d: PrsMgr_TypeOfPresentation3d,optional - default value is PrsMgr_TOP_AllView +aTypeOfPresentation3d: PrsMgr_TypeOfPresentation3d (optional, default to PrsMgr_TOP_AllView) -Returns +Return ------- None + +Description +----------- +Disconnects the previous view and sets highlight mode to 0. This highlights the wireframe presentation aTypeOfPresentation3d. Top_AllView deactivates hidden line removal. ") AIS_ConnectedInteractive; AIS_ConnectedInteractive(const PrsMgr_TypeOfPresentation3d aTypeOfPresentation3d = PrsMgr_TOP_AllView); - /****************** AcceptDisplayMode ******************/ - /**** md5 signature: 4c81f1c2cfc05fd196e1c09a383a3455 ****/ + /****** AIS_ConnectedInteractive::AcceptDisplayMode ******/ + /****** md5 signature: 4c81f1c2cfc05fd196e1c09a383a3455 ******/ %feature("compactdefaultargs") AcceptDisplayMode; - %feature("autodoc", "Return true if reference presentation accepts specified display mode. - + %feature("autodoc", " Parameters ---------- theMode: int -Returns +Return ------- bool + +Description +----------- +Return true if reference presentation accepts specified display mode. ") AcceptDisplayMode; virtual Standard_Boolean AcceptDisplayMode(const Standard_Integer theMode); - /****************** AcceptShapeDecomposition ******************/ - /**** md5 signature: 9203a7c0dd9eda460f91938a68e9d24e ****/ + /****** AIS_ConnectedInteractive::AcceptShapeDecomposition ******/ + /****** md5 signature: 9203a7c0dd9eda460f91938a68e9d24e ******/ %feature("compactdefaultargs") AcceptShapeDecomposition; - %feature("autodoc", "Informs the graphic context that the interactive object may be decomposed into sub-shapes for dynamic selection. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Informs the graphic context that the interactive Object may be decomposed into sub-shapes for dynamic selection. ") AcceptShapeDecomposition; virtual Standard_Boolean AcceptShapeDecomposition(); - /****************** Connect ******************/ - /**** md5 signature: 76ce604e5db4b247a8706638259ec61c ****/ + /****** AIS_ConnectedInteractive::Connect ******/ + /****** md5 signature: 76ce604e5db4b247a8706638259ec61c ******/ %feature("compactdefaultargs") Connect; - %feature("autodoc", "Establishes the connection between the connected interactive object, anotheriobj, and its reference. - + %feature("autodoc", " Parameters ---------- theAnotherObj: AIS_InteractiveObject -Returns +Return ------- None + +Description +----------- +Establishes the connection between the Connected Interactive Object, anotherIobj, and its reference. ") Connect; void Connect(const opencascade::handle & theAnotherObj); - /****************** Connect ******************/ - /**** md5 signature: 966dfec391c604c7ae9629c925cdd1c4 ****/ + /****** AIS_ConnectedInteractive::Connect ******/ + /****** md5 signature: 966dfec391c604c7ae9629c925cdd1c4 ******/ %feature("compactdefaultargs") Connect; - %feature("autodoc", "Establishes the connection between the connected interactive object, anotheriobj, and its reference. locates instance in alocation. - + %feature("autodoc", " Parameters ---------- theAnotherObj: AIS_InteractiveObject theLocation: gp_Trsf -Returns +Return ------- None + +Description +----------- +Establishes the connection between the Connected Interactive Object, anotherIobj, and its reference. Locates instance in aLocation. ") Connect; void Connect(const opencascade::handle & theAnotherObj, const gp_Trsf & theLocation); - /****************** Connect ******************/ - /**** md5 signature: 418505c88f7f147f47107d38894767f1 ****/ + /****** AIS_ConnectedInteractive::Connect ******/ + /****** md5 signature: 418505c88f7f147f47107d38894767f1 ******/ %feature("compactdefaultargs") Connect; - %feature("autodoc", "Establishes the connection between the connected interactive object, anotheriobj, and its reference. locates instance in alocation. - + %feature("autodoc", " Parameters ---------- theAnotherObj: AIS_InteractiveObject theLocation: TopLoc_Datum3D -Returns +Return ------- None + +Description +----------- +Establishes the connection between the Connected Interactive Object, anotherIobj, and its reference. Locates instance in aLocation. ") Connect; void Connect(const opencascade::handle & theAnotherObj, const opencascade::handle & theLocation); - /****************** ConnectedTo ******************/ - /**** md5 signature: 1541a2cb7b3a6f95f8064287356a8f2c ****/ + /****** AIS_ConnectedInteractive::ConnectedTo ******/ + /****** md5 signature: 1541a2cb7b3a6f95f8064287356a8f2c ******/ %feature("compactdefaultargs") ConnectedTo; - %feature("autodoc", "Returns the connection with the reference interactive object. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns the connection with the reference Interactive Object. ") ConnectedTo; const opencascade::handle & ConnectedTo(); - /****************** Disconnect ******************/ - /**** md5 signature: 3c68b068054eba545e5aa24799ed950d ****/ + /****** AIS_ConnectedInteractive::Disconnect ******/ + /****** md5 signature: 3c68b068054eba545e5aa24799ed950d ******/ %feature("compactdefaultargs") Disconnect; - %feature("autodoc", "Clears the connection with a source reference. the presentation will no longer be displayed. warning must be done before deleting the presentation. + %feature("autodoc", "Return +------- +None + +Description +----------- +Clears the connection with a source reference. The presentation will no longer be displayed. Warning Must be done before deleting the presentation. +") Disconnect; + void Disconnect(); + + /****** AIS_ConnectedInteractive::HasConnection ******/ + /****** md5 signature: e23c7e5e57b8a56096bab865a5988291 ******/ + %feature("compactdefaultargs") HasConnection; + %feature("autodoc", "Return +------- +bool + +Description +----------- +Returns true if there is a connection established between the presentation and its source reference. +") HasConnection; + Standard_Boolean HasConnection(); + + /****** AIS_ConnectedInteractive::Signature ******/ + /****** md5 signature: 4e037e01ba764fd5d5261e3d9ba6557d ******/ + %feature("compactdefaultargs") Signature; + %feature("autodoc", "Return +------- +int + +Description +----------- +Returns 0. +") Signature; + virtual Standard_Integer Signature(); + + /****** AIS_ConnectedInteractive::Type ******/ + /****** md5 signature: bf4aea6b24d0b584b57c781f208134ec ******/ + %feature("compactdefaultargs") Type; + %feature("autodoc", "Return +------- +AIS_KindOfInteractive + +Description +----------- +Returns KOI_Object. +") Type; + virtual AIS_KindOfInteractive Type(); + +}; + + +%make_alias(AIS_ConnectedInteractive) + +%extend AIS_ConnectedInteractive { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/************************ +* class AIS_LightSource * +************************/ +class AIS_LightSource : public AIS_InteractiveObject { + public: + /****** AIS_LightSource::AIS_LightSource ******/ + /****** md5 signature: 0052d1e81d2de0d4f85d4355071d4c6e ******/ + %feature("compactdefaultargs") AIS_LightSource; + %feature("autodoc", " +Parameters +---------- +theLightSource: Graphic3d_CLight + +Return +------- +None + +Description +----------- +Initializes the light source by copying Graphic3d_CLight settings. +") AIS_LightSource; + AIS_LightSource(const opencascade::handle & theLightSource); + + /****** AIS_LightSource::ArcSize ******/ + /****** md5 signature: 51ce064e7920840d08ae5330358aab35 ******/ + %feature("compactdefaultargs") ArcSize; + %feature("autodoc", "Return +------- +int + +Description +----------- +Returns Sensitive sphere arc size in pixels; 20 by default. +") ArcSize; + Standard_Integer ArcSize(); + + /****** AIS_LightSource::IsZoomable ******/ + /****** md5 signature: 0e11552facaac98faf2474f0071c0b9d ******/ + %feature("compactdefaultargs") IsZoomable; + %feature("autodoc", "Return +------- +bool + +Description +----------- +Returns True if transform-persistence is allowed; True by default for Ambient and Directional lights and False by default for Positional and Spot lights. +") IsZoomable; + bool IsZoomable(); + + /****** AIS_LightSource::Light ******/ + /****** md5 signature: 214a553f85b1ef4686d7ae852494295b ******/ + %feature("compactdefaultargs") Light; + %feature("autodoc", "Return +------- +opencascade::handle + +Description +----------- +Returns the light. +") Light; + const opencascade::handle & Light(); + + /****** AIS_LightSource::MarkerImage ******/ + /****** md5 signature: 9fa6877c3a5222f7e4f2cd4481cff78c ******/ + %feature("compactdefaultargs") MarkerImage; + %feature("autodoc", " +Parameters +---------- +theIsEnabled: bool + +Return +------- +opencascade::handle + +Description +----------- +Returns light source icon. +Input parameter: theIsEnabled marker index for enabled/disabled light source states. +") MarkerImage; + const opencascade::handle & MarkerImage(bool theIsEnabled); + + /****** AIS_LightSource::MarkerType ******/ + /****** md5 signature: 9dc5f63506bba9b44b67e3b05b759d65 ******/ + %feature("compactdefaultargs") MarkerType; + %feature("autodoc", " +Parameters +---------- +theIsEnabled: bool + +Return +------- +Aspect_TypeOfMarker + +Description +----------- +Returns light source icon. +Input parameter: theIsEnabled marker index for enabled/disabled light source states. +") MarkerType; + Aspect_TypeOfMarker MarkerType(bool theIsEnabled); + + /****** AIS_LightSource::NbArrows ******/ + /****** md5 signature: 08e533c060d75469cc6a758b3bf99584 ******/ + %feature("compactdefaultargs") NbArrows; + %feature("autodoc", "Return +------- +int + +Description +----------- +Returns a number of directional light arrows to display; 5 by default. +") NbArrows; + Standard_Integer NbArrows(); + + /****** AIS_LightSource::NbSplitsArrow ******/ + /****** md5 signature: 6f408c367866603aaf9e7027b91d3783 ******/ + %feature("compactdefaultargs") NbSplitsArrow; + %feature("autodoc", "Return +------- +int + +Description +----------- +Returns tessellation level for arrows; 20 by default. +") NbSplitsArrow; + Standard_Integer NbSplitsArrow(); + + /****** AIS_LightSource::NbSplitsQuadric ******/ + /****** md5 signature: 3307810c4e75bc09a5065f7d61b55f0d ******/ + %feature("compactdefaultargs") NbSplitsQuadric; + %feature("autodoc", "Return +------- +int + +Description +----------- +Returns tessellation level for quadric surfaces; 30 by default. +") NbSplitsQuadric; + Standard_Integer NbSplitsQuadric(); + + /****** AIS_LightSource::SetArcSize ******/ + /****** md5 signature: 5a3d58d9a58774a120f81b4638e45506 ******/ + %feature("compactdefaultargs") SetArcSize; + %feature("autodoc", " +Parameters +---------- +theSize: int + +Return +------- +None + +Description +----------- +Sets the size of sensitive sphere arc. +") SetArcSize; + void SetArcSize(Standard_Integer theSize); + + /****** AIS_LightSource::SetDisplayName ******/ + /****** md5 signature: 0df1158ac90d9de14d12ea49eb28b523 ******/ + %feature("compactdefaultargs") SetDisplayName; + %feature("autodoc", " +Parameters +---------- +theToDisplay: bool + +Return +------- +None + +Description +----------- +Show/hide light source name. +") SetDisplayName; + void SetDisplayName(Standard_Boolean theToDisplay); + + /****** AIS_LightSource::SetDisplayRange ******/ + /****** md5 signature: 0bd5c9f32b785f6e95c9c58405178361 ******/ + %feature("compactdefaultargs") SetDisplayRange; + %feature("autodoc", " +Parameters +---------- +theToDisplay: bool + +Return +------- +None + +Description +----------- +Show/hide light source range shaded presentation. +") SetDisplayRange; + void SetDisplayRange(Standard_Boolean theToDisplay); + + /****** AIS_LightSource::SetDraggable ******/ + /****** md5 signature: 5d216231b8eb7eb27307d5eb7408eefb ******/ + %feature("compactdefaultargs") SetDraggable; + %feature("autodoc", " +Parameters +---------- +theIsDraggable: bool + +Return +------- +None + +Description +----------- +Sets if dragging is allowed. +") SetDraggable; + void SetDraggable(bool theIsDraggable); + + /****** AIS_LightSource::SetLight ******/ + /****** md5 signature: ce31662804605d4873b310f2a6d763c9 ******/ + %feature("compactdefaultargs") SetLight; + %feature("autodoc", " +Parameters +---------- +theLight: Graphic3d_CLight + +Return +------- +None + +Description +----------- +Set the light. +") SetLight; + void SetLight(const opencascade::handle & theLight); + + /****** AIS_LightSource::SetMarkerImage ******/ + /****** md5 signature: dc256bfcd47e005efd4fe7461270e9e3 ******/ + %feature("compactdefaultargs") SetMarkerImage; + %feature("autodoc", " +Parameters +---------- +theImage: Graphic3d_MarkerImage +theIsEnabled: bool + +Return +------- +None + +Description +----------- +Sets custom icon to light source. +") SetMarkerImage; + void SetMarkerImage(const opencascade::handle & theImage, bool theIsEnabled); + + /****** AIS_LightSource::SetMarkerType ******/ + /****** md5 signature: 3f31956a7405775b0ff57aeb49f530f4 ******/ + %feature("compactdefaultargs") SetMarkerType; + %feature("autodoc", " +Parameters +---------- +theType: Aspect_TypeOfMarker +theIsEnabled: bool + +Return +------- +None + +Description +----------- +Sets standard icon to light source. +") SetMarkerType; + void SetMarkerType(Aspect_TypeOfMarker theType, bool theIsEnabled); + + /****** AIS_LightSource::SetNbArrows ******/ + /****** md5 signature: 1241cb37383b0436b58b3aa64c069a40 ******/ + %feature("compactdefaultargs") SetNbArrows; + %feature("autodoc", " +Parameters +---------- +theNbArrows: int + +Return +------- +None + +Description +----------- +Returns a number of directional light arrows to display (supported values: 1, 3, 5, 9). +") SetNbArrows; + void SetNbArrows(Standard_Integer theNbArrows); + + /****** AIS_LightSource::SetNbSplitsArrow ******/ + /****** md5 signature: a3e56a773947a88b8ca4621a18b95941 ******/ + %feature("compactdefaultargs") SetNbSplitsArrow; + %feature("autodoc", " +Parameters +---------- +theNbSplits: int + +Return +------- +None + +Description +----------- +Sets tessellation level for arrows. +") SetNbSplitsArrow; + void SetNbSplitsArrow(Standard_Integer theNbSplits); + + /****** AIS_LightSource::SetNbSplitsQuadric ******/ + /****** md5 signature: b7536ec764c87e16c01603c3fbc174f8 ******/ + %feature("compactdefaultargs") SetNbSplitsQuadric; + %feature("autodoc", " +Parameters +---------- +theNbSplits: int + +Return +------- +None + +Description +----------- +Sets tessellation level for quadric surfaces. +") SetNbSplitsQuadric; + void SetNbSplitsQuadric(Standard_Integer theNbSplits); + + /****** AIS_LightSource::SetSize ******/ + /****** md5 signature: c110f2a475d2740bb05e539d92d74946 ******/ + %feature("compactdefaultargs") SetSize; + %feature("autodoc", " +Parameters +---------- +theSize: float + +Return +------- +None + +Description +----------- +Sets the size of presentation. +") SetSize; + void SetSize(Standard_Real theSize); + + /****** AIS_LightSource::SetSwitchOnClick ******/ + /****** md5 signature: 97b94ff7d25449db3028d59cb20146de ******/ + %feature("compactdefaultargs") SetSwitchOnClick; + %feature("autodoc", " +Parameters +---------- +theToHandle: bool + +Return +------- +None + +Description +----------- +Sets if mouse click should turn light on/off. +") SetSwitchOnClick; + void SetSwitchOnClick(bool theToHandle); + + /****** AIS_LightSource::SetZoomable ******/ + /****** md5 signature: 97ffe04fce7ef540e2fce9a76dd33eaa ******/ + %feature("compactdefaultargs") SetZoomable; + %feature("autodoc", " +Parameters +---------- +theIsZoomable: bool + +Return +------- +None + +Description +----------- +Sets if transform-persistence is allowed. +") SetZoomable; + void SetZoomable(bool theIsZoomable); + + /****** AIS_LightSource::Size ******/ + /****** md5 signature: 0113d47673ecbdcb4822fb85c27ac0c5 ******/ + %feature("compactdefaultargs") Size; + %feature("autodoc", "Return +------- +float + +Description +----------- +Returns the size of presentation; 50 by default. +") Size; + Standard_Real Size(); -Returns + /****** AIS_LightSource::ToDisplayName ******/ + /****** md5 signature: 017d2ca9b70c34687c2520bc2f6310a7 ******/ + %feature("compactdefaultargs") ToDisplayName; + %feature("autodoc", "Return ------- -None -") Disconnect; - void Disconnect(); +bool - /****************** HasConnection ******************/ - /**** md5 signature: e23c7e5e57b8a56096bab865a5988291 ****/ - %feature("compactdefaultargs") HasConnection; - %feature("autodoc", "Returns true if there is a connection established between the presentation and its source reference. +Description +----------- +Returns True if the light source name should be displayed; True by default. +") ToDisplayName; + Standard_Boolean ToDisplayName(); -Returns + /****** AIS_LightSource::ToDisplayRange ******/ + /****** md5 signature: d8300aa4d3867fb20b32d03da894e242 ******/ + %feature("compactdefaultargs") ToDisplayRange; + %feature("autodoc", "Return ------- bool -") HasConnection; - Standard_Boolean HasConnection(); - /****************** Signature ******************/ - /**** md5 signature: 4e037e01ba764fd5d5261e3d9ba6557d ****/ - %feature("compactdefaultargs") Signature; - %feature("autodoc", "Returns 0. +Description +----------- +Returns True to display light source range as sphere (positional light) or cone (spot light); True by default. Has no effect for non-zoomable presentation. +") ToDisplayRange; + Standard_Boolean ToDisplayRange(); -Returns + /****** AIS_LightSource::ToSwitchOnClick ******/ + /****** md5 signature: ecdef05201eb6d53f5b9f95f9a193655 ******/ + %feature("compactdefaultargs") ToSwitchOnClick; + %feature("autodoc", "Return ------- -int -") Signature; - virtual Standard_Integer Signature(); +bool - /****************** Type ******************/ - /**** md5 signature: bf4aea6b24d0b584b57c781f208134ec ****/ - %feature("compactdefaultargs") Type; - %feature("autodoc", "Returns koi_object. +Description +----------- +Returns True if mouse click will turn light on/off; True by default. +") ToSwitchOnClick; + bool ToSwitchOnClick(); -Returns + /****** AIS_LightSource::Type ******/ + /****** md5 signature: bf4aea6b24d0b584b57c781f208134ec ******/ + %feature("compactdefaultargs") Type; + %feature("autodoc", "Return ------- AIS_KindOfInteractive + +Description +----------- +Returns kind of the object. ") Type; virtual AIS_KindOfInteractive Type(); }; -%make_alias(AIS_ConnectedInteractive) - -%extend AIS_ConnectedInteractive { +%extend AIS_LightSource { %pythoncode { __repr__ = _dumps_object } @@ -10189,166 +12661,197 @@ AIS_KindOfInteractive *****************/ class AIS_Line : public AIS_InteractiveObject { public: - /****************** AIS_Line ******************/ - /**** md5 signature: 8bbcd784a7e573aad13b95eda3357ac2 ****/ + /****** AIS_Line::AIS_Line ******/ + /****** md5 signature: 8bbcd784a7e573aad13b95eda3357ac2 ******/ %feature("compactdefaultargs") AIS_Line; - %feature("autodoc", "Initializes the line aline. - + %feature("autodoc", " Parameters ---------- aLine: Geom_Line -Returns +Return ------- None + +Description +----------- +Initializes the line aLine. ") AIS_Line; AIS_Line(const opencascade::handle & aLine); - /****************** AIS_Line ******************/ - /**** md5 signature: 2068a18405f77f106bfd8618f346ed47 ****/ + /****** AIS_Line::AIS_Line ******/ + /****** md5 signature: 2068a18405f77f106bfd8618f346ed47 ******/ %feature("compactdefaultargs") AIS_Line; - %feature("autodoc", "Initializes a starting point astartpoint and a finishing point aendpoint for the line. - + %feature("autodoc", " Parameters ---------- aStartPoint: Geom_Point aEndPoint: Geom_Point -Returns +Return ------- None + +Description +----------- +Initializes a starting point aStartPoint and a finishing point aEndPoint for the line. ") AIS_Line; AIS_Line(const opencascade::handle & aStartPoint, const opencascade::handle & aEndPoint); - /****************** Line ******************/ - /**** md5 signature: 3abeaae7f4e4373ddc51d06b177bee17 ****/ + /****** AIS_Line::Line ******/ + /****** md5 signature: 3abeaae7f4e4373ddc51d06b177bee17 ******/ %feature("compactdefaultargs") Line; - %feature("autodoc", "Constructs an infinite line. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Constructs an infinite line. ") Line; const opencascade::handle & Line(); - /****************** Points ******************/ - /**** md5 signature: 4980115aa3f0510a68a255ca82f83258 ****/ + /****** AIS_Line::Points ******/ + /****** md5 signature: 4980115aa3f0510a68a255ca82f83258 ******/ %feature("compactdefaultargs") Points; - %feature("autodoc", "Returns the starting point thepstart and the end point thepend of the line set by setpoints. - + %feature("autodoc", " Parameters ---------- thePStart: Geom_Point thePEnd: Geom_Point -Returns +Return ------- None + +Description +----------- +Returns the starting point thePStart and the end point thePEnd of the line set by SetPoints. ") Points; void Points(opencascade::handle & thePStart, opencascade::handle & thePEnd); - /****************** SetColor ******************/ - /**** md5 signature: 6b2b764a1e8ffb5d1aa4218d6218005c ****/ + /****** AIS_Line::SetColor ******/ + /****** md5 signature: 6b2b764a1e8ffb5d1aa4218d6218005c ******/ %feature("compactdefaultargs") SetColor; - %feature("autodoc", "Provides a new color setting acolor for the line in the drawing tool, or 'drawer'. - + %feature("autodoc", " Parameters ---------- aColor: Quantity_Color -Returns +Return ------- None + +Description +----------- +Provides a new color setting aColor for the line in the drawing tool, or 'Drawer'. ") SetColor; void SetColor(const Quantity_Color & aColor); - /****************** SetLine ******************/ - /**** md5 signature: 1110fcc783ccf875a09ba25ff81a4115 ****/ + /****** AIS_Line::SetLine ******/ + /****** md5 signature: 1110fcc783ccf875a09ba25ff81a4115 ******/ %feature("compactdefaultargs") SetLine; - %feature("autodoc", "Instantiates an infinite line. - + %feature("autodoc", " Parameters ---------- theLine: Geom_Line -Returns +Return ------- None + +Description +----------- +instantiates an infinite line. ") SetLine; void SetLine(const opencascade::handle & theLine); - /****************** SetPoints ******************/ - /**** md5 signature: ce5646c69ff404ac863ce5401ebb4524 ****/ + /****** AIS_Line::SetPoints ******/ + /****** md5 signature: ce5646c69ff404ac863ce5401ebb4524 ******/ %feature("compactdefaultargs") SetPoints; - %feature("autodoc", "Sets the starting point thepstart and ending point thepend of the infinite line to create a finite line segment. - + %feature("autodoc", " Parameters ---------- thePStart: Geom_Point thePEnd: Geom_Point -Returns +Return ------- None + +Description +----------- +Sets the starting point thePStart and ending point thePEnd of the infinite line to create a finite line segment. ") SetPoints; void SetPoints(const opencascade::handle & thePStart, const opencascade::handle & thePEnd); - /****************** SetWidth ******************/ - /**** md5 signature: 9d813a0ff21da5ccb02e00971f20abed ****/ + /****** AIS_Line::SetWidth ******/ + /****** md5 signature: 9d813a0ff21da5ccb02e00971f20abed ******/ %feature("compactdefaultargs") SetWidth; - %feature("autodoc", "Provides the new width setting avalue for the line in the drawing tool, or 'drawer'. - + %feature("autodoc", " Parameters ---------- aValue: float -Returns +Return ------- None + +Description +----------- +Provides the new width setting aValue for the line in the drawing tool, or 'Drawer'. ") SetWidth; void SetWidth(const Standard_Real aValue); - /****************** Signature ******************/ - /**** md5 signature: 4e037e01ba764fd5d5261e3d9ba6557d ****/ + /****** AIS_Line::Signature ******/ + /****** md5 signature: 4e037e01ba764fd5d5261e3d9ba6557d ******/ %feature("compactdefaultargs") Signature; - %feature("autodoc", "Returns the signature 5. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns the signature 5. ") Signature; virtual Standard_Integer Signature(); - /****************** Type ******************/ - /**** md5 signature: bf4aea6b24d0b584b57c781f208134ec ****/ + /****** AIS_Line::Type ******/ + /****** md5 signature: bf4aea6b24d0b584b57c781f208134ec ******/ %feature("compactdefaultargs") Type; - %feature("autodoc", "Returns the type datum. - -Returns + %feature("autodoc", "Return ------- AIS_KindOfInteractive + +Description +----------- +Returns the type Datum. ") Type; virtual AIS_KindOfInteractive Type(); - /****************** UnsetColor ******************/ - /**** md5 signature: 305de4c541ce8067f3ff456f9ec26b55 ****/ + /****** AIS_Line::UnsetColor ******/ + /****** md5 signature: 305de4c541ce8067f3ff456f9ec26b55 ******/ %feature("compactdefaultargs") UnsetColor; - %feature("autodoc", "Removes the color setting and returns the original color. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Removes the color setting and returns the original color. ") UnsetColor; void UnsetColor(); - /****************** UnsetWidth ******************/ - /**** md5 signature: a9083157cc12b18148f87c7816510f28 ****/ + /****** AIS_Line::UnsetWidth ******/ + /****** md5 signature: a9083157cc12b18148f87c7816510f28 ******/ %feature("compactdefaultargs") UnsetWidth; - %feature("autodoc", "Removes the width setting and returns the original width. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Removes the width setting and returns the original width. ") UnsetWidth; void UnsetWidth(); @@ -10376,289 +12879,357 @@ class AIS_Manipulator : public AIS_InteractiveObject { class Cube {}; class Sector {}; class Axis {}; - /****************** AIS_Manipulator ******************/ - /**** md5 signature: d6d73953b5293a4bb9f85d59f84e4550 ****/ - %feature("compactdefaultargs") AIS_Manipulator; - %feature("autodoc", "Constructs a manipulator object with default placement and all parts to be displayed. +/* public enums */ +enum ManipulatorSkin { + ManipulatorSkin_Shaded = 0, + ManipulatorSkin_Flat = 1, +}; + +/* end public enums declaration */ + +/* python proxy classes for enums */ +%pythoncode { + +class ManipulatorSkin(IntEnum): + ManipulatorSkin_Shaded = 0 + ManipulatorSkin_Flat = 1 +ManipulatorSkin_Shaded = ManipulatorSkin.ManipulatorSkin_Shaded +ManipulatorSkin_Flat = ManipulatorSkin.ManipulatorSkin_Flat +}; +/* end python proxy for enums */ -Returns + /****** AIS_Manipulator::AIS_Manipulator ******/ + /****** md5 signature: d6d73953b5293a4bb9f85d59f84e4550 ******/ + %feature("compactdefaultargs") AIS_Manipulator; + %feature("autodoc", "Return ------- None + +Description +----------- +Constructs a manipulator object with default placement and all parts to be displayed. ") AIS_Manipulator; AIS_Manipulator(); - /****************** AIS_Manipulator ******************/ - /**** md5 signature: a673beebf1686d05fab2c9b57d63a9d3 ****/ + /****** AIS_Manipulator::AIS_Manipulator ******/ + /****** md5 signature: a673beebf1686d05fab2c9b57d63a9d3 ******/ %feature("compactdefaultargs") AIS_Manipulator; - %feature("autodoc", "Constructs a manipulator object with input location and positions of axes and all parts to be displayed. - + %feature("autodoc", " Parameters ---------- thePosition: gp_Ax2 -Returns +Return ------- None + +Description +----------- +Constructs a manipulator object with input location and positions of axes and all parts to be displayed. ") AIS_Manipulator; AIS_Manipulator(const gp_Ax2 & thePosition); - /****************** ActiveAxisIndex ******************/ - /**** md5 signature: 5ed7eebd650705cec16cd7895f75e029 ****/ + /****** AIS_Manipulator::ActiveAxisIndex ******/ + /****** md5 signature: 5ed7eebd650705cec16cd7895f75e029 ******/ %feature("compactdefaultargs") ActiveAxisIndex; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") ActiveAxisIndex; Standard_Integer ActiveAxisIndex(); - /****************** ActiveMode ******************/ - /**** md5 signature: 518316bdc464c63b5a1ab2fd9b9e2cb2 ****/ + /****** AIS_Manipulator::ActiveMode ******/ + /****** md5 signature: 518316bdc464c63b5a1ab2fd9b9e2cb2 ******/ %feature("compactdefaultargs") ActiveMode; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- AIS_ManipulatorMode + +Description +----------- +No available documentation. ") ActiveMode; AIS_ManipulatorMode ActiveMode(); - /****************** Attach ******************/ - /**** md5 signature: 7d386f66b57656d8a31beb14cb6ab6be ****/ + /****** AIS_Manipulator::Attach ******/ + /****** md5 signature: 7d386f66b57656d8a31beb14cb6ab6be ******/ %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. - + %feature("autodoc", " Parameters ---------- theObject: AIS_InteractiveObject -theOptions: OptionsForAttach,optional - default value is OptionsForAttach() +theOptions: OptionsForAttach (optional, default to OptionsForAttach()) -Returns +Return ------- None + +Description +----------- +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. ") Attach; void Attach(const opencascade::handle & theObject, OptionsForAttach theOptions = OptionsForAttach()); - /****************** Attach ******************/ - /**** md5 signature: 832dc115dea47eb279f6ed86e41ac087 ****/ + /****** AIS_Manipulator::Attach ******/ + /****** md5 signature: 832dc115dea47eb279f6ed86e41ac087 ******/ %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. - + %feature("autodoc", " Parameters ---------- theObject: AIS_ManipulatorObjectSequence -theOptions: OptionsForAttach,optional - default value is OptionsForAttach() +theOptions: OptionsForAttach (optional, default to OptionsForAttach()) -Returns +Return ------- None + +Description +----------- +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. ") Attach; void Attach(const opencascade::handle & theObject, OptionsForAttach theOptions = OptionsForAttach()); - /****************** ClearSelected ******************/ - /**** md5 signature: 3aaae3eac8509b6abfc3ffd58cbe26e1 ****/ + /****** AIS_Manipulator::ClearSelected ******/ + /****** md5 signature: 3aaae3eac8509b6abfc3ffd58cbe26e1 ******/ %feature("compactdefaultargs") ClearSelected; - %feature("autodoc", "Method which clear all selected owners belonging to this selectable object ( for fast presentation draw ). - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Method which clear all selected owners belonging to this selectable object ( for fast presentation draw ). ") ClearSelected; virtual void ClearSelected(); - /****************** Compute ******************/ - /**** md5 signature: 1bb1940ebb02c69fcdc59de667417f7b ****/ + /****** AIS_Manipulator::Compute ******/ + /****** md5 signature: 5d0087b3c43a18eabfc5a74a27907c07 ******/ %feature("compactdefaultargs") Compute; - %feature("autodoc", "Fills presentation. @note manipulator presentation does not use display mode and for all modes has the same presentation. - + %feature("autodoc", " Parameters ---------- -thePrsMgr: PrsMgr_PresentationManager3d +thePrsMgr: PrsMgr_PresentationManager thePrs: Prs3d_Presentation -theMode: int,optional - default value is 0 +theMode: int (optional, default to 0) -Returns +Return ------- None + +Description +----------- +Fills presentation. @note Manipulator presentation does not use display mode and for all modes has the same presentation. ") Compute; - virtual void Compute(const opencascade::handle & thePrsMgr, const opencascade::handle & thePrs, const Standard_Integer theMode = 0); + virtual void Compute(const opencascade::handle & thePrsMgr, const opencascade::handle & thePrs, const Standard_Integer theMode = 0); - /****************** ComputeSelection ******************/ - /**** md5 signature: 0ee36b1ad2a8a3c1bbb813dfdb1d40ae ****/ + /****** AIS_Manipulator::ComputeSelection ******/ + /****** md5 signature: 0ee36b1ad2a8a3c1bbb813dfdb1d40ae ******/ %feature("compactdefaultargs") ComputeSelection; - %feature("autodoc", "Computes selection sensitive zones (triangulation) for manipulator. @param thenode [in] selection mode that is treated as transformation mode. - + %feature("autodoc", " Parameters ---------- theSelection: SelectMgr_Selection theMode: int -Returns +Return ------- None + +Description +----------- +Computes selection sensitive zones (triangulation) for manipulator. +Input parameter: theNode Selection mode that is treated as transformation mode. ") ComputeSelection; virtual void ComputeSelection(const opencascade::handle & theSelection, const Standard_Integer theMode); - /****************** DeactivateCurrentMode ******************/ - /**** md5 signature: 9f9d413f44f19c0e451cbd2d4a724668 ****/ + /****** AIS_Manipulator::DeactivateCurrentMode ******/ + /****** md5 signature: 9f9d413f44f19c0e451cbd2d4a724668 ******/ %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(). - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Make inactive the current selected manipulator part and reset current axis index and current mode. After its call HasActiveMode() returns false. +See also: HasActiveMode(). ") DeactivateCurrentMode; void DeactivateCurrentMode(); - /****************** Detach ******************/ - /**** md5 signature: 7ff09e11641571ebd32a8aea4ee5c9d7 ****/ + /****** AIS_Manipulator::Detach ******/ + /****** md5 signature: 7ff09e11641571ebd32a8aea4ee5c9d7 ******/ %feature("compactdefaultargs") Detach; - %feature("autodoc", "Detaches himself from the owner object, and removes itself from context. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Detaches himself from the owner object, and removes itself from context. ") Detach; void Detach(); - /****************** EnableMode ******************/ - /**** md5 signature: ed430e32069c676de349fa1b988e84c2 ****/ + /****** AIS_Manipulator::EnableMode ******/ + /****** md5 signature: ed430e32069c676de349fa1b988e84c2 ******/ %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. - + %feature("autodoc", " Parameters ---------- theMode: AIS_ManipulatorMode -Returns +Return ------- None + +Description +----------- +Enable manipualtion mode. @warning It activates selection mode in the current context. If manipulator is not displayed, no mode will be activated. ") EnableMode; void EnableMode(const AIS_ManipulatorMode theMode); - /****************** HasActiveMode ******************/ - /**** md5 signature: f43eeb7b2b47c07afce90de1cbb74ff9 ****/ + /****** AIS_Manipulator::HasActiveMode ******/ + /****** md5 signature: f43eeb7b2b47c07afce90de1cbb74ff9 ******/ %feature("compactdefaultargs") HasActiveMode; - %feature("autodoc", "Returns true if some part of manipulator is selected (transformation mode is active, and owning object can be transformed). - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return: true if some part of manipulator is selected (transformation mode is active, and owning object can be transformed). ") HasActiveMode; Standard_Boolean HasActiveMode(); - /****************** HasActiveTransformation ******************/ - /**** md5 signature: 743e5698ac61066f8b7d495ae7359262 ****/ + /****** AIS_Manipulator::HasActiveTransformation ******/ + /****** md5 signature: 743e5698ac61066f8b7d495ae7359262 ******/ %feature("compactdefaultargs") HasActiveTransformation; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") HasActiveTransformation; Standard_Boolean HasActiveTransformation(); - /****************** HilightOwnerWithColor ******************/ - /**** md5 signature: 59e159c706312ffbc3fbab59d0e52b8c ****/ + /****** AIS_Manipulator::HilightOwnerWithColor ******/ + /****** md5 signature: 55b3be7a2ac03a5f834f6d8c95996212 ******/ %feature("compactdefaultargs") HilightOwnerWithColor; - %feature("autodoc", "Method which hilight an owner belonging to this selectable object ( for fast presentation draw ). - + %feature("autodoc", " Parameters ---------- -thePM: PrsMgr_PresentationManager3d +thePM: PrsMgr_PresentationManager theStyle: Prs3d_Drawer theOwner: SelectMgr_EntityOwner -Returns +Return ------- None + +Description +----------- +Method which hilight an owner belonging to this selectable object ( for fast presentation draw ). ") HilightOwnerWithColor; - virtual void HilightOwnerWithColor(const opencascade::handle & thePM, const opencascade::handle & theStyle, const opencascade::handle & theOwner); + virtual void HilightOwnerWithColor(const opencascade::handle & thePM, const opencascade::handle & theStyle, const opencascade::handle & theOwner); - /****************** HilightSelected ******************/ - /**** md5 signature: 51adc22064d394c9bf0b2f20ae0065c3 ****/ + /****** AIS_Manipulator::HilightSelected ******/ + /****** md5 signature: b1fc27c909de3a5e8e70f8fe74bf4101 ******/ %feature("compactdefaultargs") HilightSelected; - %feature("autodoc", "Method which draws selected owners ( for fast presentation draw ). - + %feature("autodoc", " Parameters ---------- -thePM: PrsMgr_PresentationManager3d +thePM: PrsMgr_PresentationManager theSeq: SelectMgr_SequenceOfOwner -Returns +Return ------- None + +Description +----------- +Method which draws selected owners ( for fast presentation draw ). ") HilightSelected; - virtual void HilightSelected(const opencascade::handle & thePM, const SelectMgr_SequenceOfOwner & theSeq); + virtual void HilightSelected(const opencascade::handle & thePM, const SelectMgr_SequenceOfOwner & theSeq); - /****************** IsAttached ******************/ - /**** md5 signature: f05a2e5d0a5e075997cd6dc06d401426 ****/ + /****** AIS_Manipulator::IsAttached ******/ + /****** md5 signature: f05a2e5d0a5e075997cd6dc06d401426 ******/ %feature("compactdefaultargs") IsAttached; - %feature("autodoc", "Returns true if manipulator is attached to some interactive object (has owning object). - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return: true if manipulator is attached to some interactive object (has owning object). ") IsAttached; Standard_Boolean IsAttached(); - /****************** IsAutoHilight ******************/ - /**** md5 signature: d08251e65bb2038174f4c2dab73d34c9 ****/ + /****** AIS_Manipulator::IsAutoHilight ******/ + /****** md5 signature: d08251e65bb2038174f4c2dab73d34c9 ******/ %feature("compactdefaultargs") IsAutoHilight; - %feature("autodoc", "Disables auto highlighting to use hilightselected() and hilightownerwithcolor() overridden methods. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Disables auto highlighting to use HilightSelected() and HilightOwnerWithColor() overridden methods. ") IsAutoHilight; virtual Standard_Boolean IsAutoHilight(); - /****************** IsModeActivationOnDetection ******************/ - /**** md5 signature: 2af8fa23d5c9b0d15190f17af70b9283 ****/ + /****** AIS_Manipulator::IsModeActivationOnDetection ******/ + /****** md5 signature: 2af8fa23d5c9b0d15190f17af70b9283 ******/ %feature("compactdefaultargs") IsModeActivationOnDetection; - %feature("autodoc", "Returns true if manual mode activation is enabled. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return: true if manual mode activation is enabled. ") IsModeActivationOnDetection; Standard_Boolean IsModeActivationOnDetection(); - /****************** Object ******************/ - /**** md5 signature: 7f1f823e7838d5f1ace29947c6685976 ****/ + /****** AIS_Manipulator::Object ******/ + /****** md5 signature: 7f1f823e7838d5f1ace29947c6685976 ******/ %feature("compactdefaultargs") Object; - %feature("autodoc", "Returns the first (leading) object of the owning objects. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Return: the first (leading) object of the owning objects. ") Object; opencascade::handle Object(); - /****************** Object ******************/ - /**** md5 signature: e539c0d3d9f8c83a7da6513e8f5ba4f9 ****/ + /****** AIS_Manipulator::Object ******/ + /****** md5 signature: e539c0d3d9f8c83a7da6513e8f5ba4f9 ******/ %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. - + %feature("autodoc", " Parameters ---------- theIndex: int -Returns +Return ------- opencascade::handle + +Description +----------- +Return: one of the owning objects. @warning raises program error if theIndex is more than owning objects count or less than 1. ") Object; opencascade::handle Object(const Standard_Integer theIndex); - /****************** ObjectTransformation ******************/ - /**** md5 signature: e6857da7c59a18275835c532be288e72 ****/ + /****** AIS_Manipulator::ObjectTransformation ******/ + /****** md5 signature: e6857da7c59a18275835c532be288e72 ******/ %feature("compactdefaultargs") ObjectTransformation; - %feature("autodoc", "Computes transformation of parent object according to the active mode and input motion vector. you can use this method to get object transformation according to current mode or use own algorithm to implement any other tranformation for modes. returns transformation of parent object. - + %feature("autodoc", " Parameters ---------- theX: int @@ -10666,39 +13237,47 @@ theY: int theView: V3d_View theTrsf: gp_Trsf -Returns +Return ------- bool + +Description +----------- +Computes transformation of parent object according to the active mode and input motion vector. You can use this method to get object transformation according to current mode or use own algorithm to implement any other transformation for modes. +Return: transformation of parent object. ") ObjectTransformation; Standard_Boolean ObjectTransformation(const Standard_Integer theX, const Standard_Integer theY, const opencascade::handle & theView, gp_Trsf & theTrsf); - /****************** Objects ******************/ - /**** md5 signature: 6f9e402610564bdab86e777db82db8cf ****/ + /****** AIS_Manipulator::Objects ******/ + /****** md5 signature: 6f9e402610564bdab86e777db82db8cf ******/ %feature("compactdefaultargs") Objects; - %feature("autodoc", "Returns all owning objects. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Return: all owning objects. ") Objects; opencascade::handle Objects(); - /****************** Position ******************/ - /**** md5 signature: 0919c787263d4f8ff9c1e18688f5d16c ****/ + /****** AIS_Manipulator::Position ******/ + /****** md5 signature: 0919c787263d4f8ff9c1e18688f5d16c ******/ %feature("compactdefaultargs") Position; - %feature("autodoc", "Returns poition of manipulator interactive object. - -Returns + %feature("autodoc", "Return ------- gp_Ax2 + +Description +----------- +Return: poition of manipulator interactive object. ") Position; const gp_Ax2 Position(); - /****************** ProcessDragging ******************/ - /**** md5 signature: b945957f65b997bcf6b4a92cefdcd430 ****/ + /****** AIS_Manipulator::ProcessDragging ******/ + /****** md5 signature: b945957f65b997bcf6b4a92cefdcd430 ******/ %feature("compactdefaultargs") ProcessDragging; - %feature("autodoc", "Drag object in the viewer. @param thectx [in] interactive context @param theview [in] active view @param theowner [in] the owner of detected entity @param thedragfrom [in] drag start point @param thedragto [in] drag end point @param theaction [in] drag action returns false if object rejects dragging action (e.g. ais_dragaction_start). - + %feature("autodoc", " Parameters ---------- theCtx: AIS_InteractiveContext @@ -10708,245 +13287,369 @@ theDragFrom: Graphic3d_Vec2i theDragTo: Graphic3d_Vec2i theAction: AIS_DragAction -Returns +Return ------- bool + +Description +----------- +Drag object in the viewer. +Input parameter: theCtx interactive context +Input parameter: theView active View +Input parameter: theOwner the owner of detected entity +Input parameter: theDragFrom drag start point +Input parameter: theDragTo drag end point +Input parameter: theAction drag action +Return: False if object rejects dragging action (e.g. AIS_DragAction_Start). ") ProcessDragging; virtual Standard_Boolean ProcessDragging(const opencascade::handle & theCtx, const opencascade::handle & theView, const opencascade::handle & theOwner, const Graphic3d_Vec2i & theDragFrom, const Graphic3d_Vec2i & theDragTo, const AIS_DragAction theAction); - /****************** SetGap ******************/ - /**** md5 signature: 93bbf4c4c799016d4246a94510cb49b4 ****/ - %feature("compactdefaultargs") SetGap; - %feature("autodoc", "Sets gaps between translator, scaler and rotator sub-presentations. + /****** AIS_Manipulator::RecomputeSelection ******/ + /****** md5 signature: 25d3db43686d21021cd3d58d65eb3a05 ******/ + %feature("compactdefaultargs") RecomputeSelection; + %feature("autodoc", " +Parameters +---------- +theMode: AIS_ManipulatorMode + +Return +------- +None +Description +----------- +Recomputes sensitive primitives for the given selection mode. +Parameter theMode selection mode to recompute sensitive primitives. +") RecomputeSelection; + void RecomputeSelection(const AIS_ManipulatorMode theMode); + + /****** AIS_Manipulator::RecomputeTransformation ******/ + /****** md5 signature: ad861420f0798665e2a57dd4c406d4bd ******/ + %feature("compactdefaultargs") RecomputeTransformation; + %feature("autodoc", " +Parameters +---------- +theCamera: Graphic3d_Camera + +Return +------- +None + +Description +----------- +Apply camera transformation to flat skin manipulator. +") RecomputeTransformation; + void RecomputeTransformation(const opencascade::handle & theCamera); + + /****** AIS_Manipulator::SetGap ******/ + /****** md5 signature: 93bbf4c4c799016d4246a94510cb49b4 ******/ + %feature("compactdefaultargs") SetGap; + %feature("autodoc", " Parameters ---------- -theValue: Standard_ShortReal +theValue: float -Returns +Return ------- None + +Description +----------- +Sets gaps between translator, scaler and rotator sub-presentations. ") SetGap; void SetGap(const Standard_ShortReal theValue); - /****************** SetModeActivationOnDetection ******************/ - /**** md5 signature: 74d02205a7664eb45a83e6f9f91b1cfb ****/ + /****** AIS_Manipulator::SetModeActivationOnDetection ******/ + /****** md5 signature: 74d02205a7664eb45a83e6f9f91b1cfb ******/ %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. - + %feature("autodoc", " Parameters ---------- theToEnable: bool -Returns +Return ------- None + +Description +----------- +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. ") SetModeActivationOnDetection; void SetModeActivationOnDetection(const Standard_Boolean theToEnable); - /****************** SetPart ******************/ - /**** md5 signature: 684caeb3d3c62fad166a3ed99df49f70 ****/ + /****** AIS_Manipulator::SetPart ******/ + /****** md5 signature: 684caeb3d3c62fad166a3ed99df49f70 ******/ %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. - + %feature("autodoc", " Parameters ---------- theAxisIndex: int theMode: AIS_ManipulatorMode theIsEnabled: bool -Returns +Return ------- None + +Description +----------- +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. ") SetPart; void SetPart(const Standard_Integer theAxisIndex, const AIS_ManipulatorMode theMode, const Standard_Boolean theIsEnabled); - /****************** SetPart ******************/ - /**** md5 signature: 86d1cc4e648095a53a2accd8505ecc4b ****/ + /****** AIS_Manipulator::SetPart ******/ + /****** md5 signature: 86d1cc4e648095a53a2accd8505ecc4b ******/ %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. - + %feature("autodoc", " Parameters ---------- theMode: AIS_ManipulatorMode theIsEnabled: bool -Returns +Return ------- None + +Description +----------- +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. ") SetPart; void SetPart(const AIS_ManipulatorMode theMode, const Standard_Boolean theIsEnabled); - /****************** SetPosition ******************/ - /**** md5 signature: 3065dca0a8eb5a2b508f4791a4ae43c1 ****/ + /****** AIS_Manipulator::SetPosition ******/ + /****** md5 signature: 3065dca0a8eb5a2b508f4791a4ae43c1 ******/ %feature("compactdefaultargs") SetPosition; - %feature("autodoc", "Sets position of the manipulator object. - + %feature("autodoc", " Parameters ---------- thePosition: gp_Ax2 -Returns +Return ------- None + +Description +----------- +Sets position of the manipulator object. ") SetPosition; void SetPosition(const gp_Ax2 & thePosition); - /****************** SetSize ******************/ - /**** md5 signature: 490bc744a2d34e53e9d07eaab52ec139 ****/ + /****** AIS_Manipulator::SetSize ******/ + /****** md5 signature: 490bc744a2d34e53e9d07eaab52ec139 ******/ %feature("compactdefaultargs") SetSize; - %feature("autodoc", "Sets size (length of side of the manipulator cubic bounding box. - + %feature("autodoc", " Parameters ---------- -theSideLength: Standard_ShortReal +theSideLength: float -Returns +Return ------- None + +Description +----------- +Sets size (length of side of the manipulator cubic bounding box. ") SetSize; void SetSize(const Standard_ShortReal theSideLength); - /****************** SetTransformPersistence ******************/ - /**** md5 signature: 55e7ba0326b97d41dc89997ba6b5628e ****/ - %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. + /****** AIS_Manipulator::SetSkinMode ******/ + /****** md5 signature: 54ec9dc8d4d778610619c493ddb68c31 ******/ + %feature("compactdefaultargs") SetSkinMode; + %feature("autodoc", " +Parameters +---------- +theSkinMode: ManipulatorSkin + +Return +------- +None +Description +----------- +Sets skin mode for the manipulator. +") SetSkinMode; + void SetSkinMode(ManipulatorSkin theSkinMode); + + /****** AIS_Manipulator::SetTransformPersistence ******/ + /****** md5 signature: 55e7ba0326b97d41dc89997ba6b5628e ******/ + %feature("compactdefaultargs") SetTransformPersistence; + %feature("autodoc", " Parameters ---------- theTrsfPers: Graphic3d_TransformPers -Returns +Return ------- None + +Description +----------- +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. ") SetTransformPersistence; virtual void SetTransformPersistence(const opencascade::handle & theTrsfPers); - /****************** SetZoomPersistence ******************/ - /**** md5 signature: 6d63f55bd881baa9dbefc2bc469583f4 ****/ + /****** AIS_Manipulator::SetZoomPersistence ******/ + /****** md5 signature: 6d63f55bd881baa9dbefc2bc469583f4 ******/ %feature("compactdefaultargs") SetZoomPersistence; - %feature("autodoc", "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. - + %feature("autodoc", " Parameters ---------- theToEnable: bool -Returns +Return ------- None + +Description +----------- +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. ") SetZoomPersistence; void SetZoomPersistence(const Standard_Boolean theToEnable); - /****************** Size ******************/ - /**** md5 signature: 2fb6b7fb424bb2bf67b8cf866a5ce3c3 ****/ + /****** AIS_Manipulator::Size ******/ + /****** md5 signature: 2fb6b7fb424bb2bf67b8cf866a5ce3c3 ******/ %feature("compactdefaultargs") Size; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- -Standard_ShortReal +float + +Description +----------- +No available documentation. ") Size; Standard_ShortReal Size(); - /****************** StartTransform ******************/ - /**** md5 signature: 0e42457948e68fa72b81e5837dd4f985 ****/ - %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. + /****** AIS_Manipulator::SkinMode ******/ + /****** md5 signature: 688c8135f1ec26fffa795d0d9d9cd548 ******/ + %feature("compactdefaultargs") SkinMode; + %feature("autodoc", "Return +------- +AIS_Manipulator::ManipulatorSkin +Description +----------- +Return: current manipulator skin mode. +") SkinMode; + AIS_Manipulator::ManipulatorSkin SkinMode(); + + /****** AIS_Manipulator::StartTransform ******/ + /****** md5 signature: 0e42457948e68fa72b81e5837dd4f985 ******/ + %feature("compactdefaultargs") StartTransform; + %feature("autodoc", " Parameters ---------- theX: int theY: int theView: V3d_View -Returns +Return ------- None + +Description +----------- +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. ") StartTransform; void StartTransform(const Standard_Integer theX, const Standard_Integer theY, const opencascade::handle & theView); - /****************** StartTransformation ******************/ - /**** md5 signature: 8eb6cc7b893f18d392ff6c57e93767a3 ****/ + /****** AIS_Manipulator::StartTransformation ******/ + /****** md5 signature: 8eb6cc7b893f18d392ff6c57e93767a3 ******/ %feature("compactdefaultargs") StartTransformation; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Trsf + +Description +----------- +No available documentation. ") StartTransformation; gp_Trsf StartTransformation(); - /****************** StartTransformation ******************/ - /**** md5 signature: ecdcc1a23c08b016547c467ef2b958df ****/ + /****** AIS_Manipulator::StartTransformation ******/ + /****** md5 signature: ecdcc1a23c08b016547c467ef2b958df ******/ %feature("compactdefaultargs") StartTransformation; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theIndex: int -Returns +Return ------- gp_Trsf + +Description +----------- +No available documentation. ") StartTransformation; gp_Trsf StartTransformation(Standard_Integer theIndex); - /****************** StopTransform ******************/ - /**** md5 signature: a1d35931e335de8d202014fd19f22a34 ****/ + /****** AIS_Manipulator::StopTransform ******/ + /****** md5 signature: a1d35931e335de8d202014fd19f22a34 ******/ %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. - + %feature("autodoc", " Parameters ---------- -theToApply: bool,optional - default value is Standard_True +theToApply: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +Reset start (reference) transformation. +Input parameter: theToApply 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. ") StopTransform; void StopTransform(const Standard_Boolean theToApply = Standard_True); - /****************** Transform ******************/ - /**** md5 signature: 70cd3856c03eefd4d3419cd64304b204 ****/ + /****** AIS_Manipulator::Transform ******/ + /****** md5 signature: 70cd3856c03eefd4d3419cd64304b204 ******/ %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). - + %feature("autodoc", " Parameters ---------- aTrsf: gp_Trsf -Returns +Return ------- None + +Description +----------- +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). ") Transform; void Transform(const gp_Trsf & aTrsf); - /****************** Transform ******************/ - /**** md5 signature: 7b80f6f8c56072806fdc079cea756bd9 ****/ + /****** AIS_Manipulator::Transform ******/ + /****** md5 signature: 7b80f6f8c56072806fdc079cea756bd9 ******/ %feature("compactdefaultargs") Transform; - %feature("autodoc", "Apply transformation made from mouse moving from start position (save on the first tranform() call and reset on deactivatecurrentmode() call.) to the in/out mouse position (thex, they). - + %feature("autodoc", " Parameters ---------- theX: int theY: int theView: V3d_View -Returns +Return ------- gp_Trsf + +Description +----------- +Apply transformation made from mouse moving from start position (save on the first Transform() call and reset on DeactivateCurrentMode() call.) to the in/out mouse position (theX, theY). ") Transform; gp_Trsf Transform(const Standard_Integer theX, const Standard_Integer theY, const opencascade::handle & theView); - /****************** ZoomPersistence ******************/ - /**** md5 signature: 26783ffb6600049d444313c048467f7d ****/ + /****** AIS_Manipulator::ZoomPersistence ******/ + /****** md5 signature: 26783ffb6600049d444313c048467f7d ******/ %feature("compactdefaultargs") ZoomPersistence; - %feature("autodoc", "Returns state of zoom persistence mode, whether it turned on or off. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns state of zoom persistence mode, whether it turned on or off. ") ZoomPersistence; Standard_Boolean ZoomPersistence(); @@ -10978,106 +13681,125 @@ bool ************************/ class AIS_MediaPlayer : public AIS_InteractiveObject { public: - /****************** AIS_MediaPlayer ******************/ - /**** md5 signature: 0446d23899803b089df6bd8d6821c9e2 ****/ + /****** AIS_MediaPlayer::AIS_MediaPlayer ******/ + /****** md5 signature: 0446d23899803b089df6bd8d6821c9e2 ******/ %feature("compactdefaultargs") AIS_MediaPlayer; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") AIS_MediaPlayer; AIS_MediaPlayer(); - /****************** Duration ******************/ - /**** md5 signature: 7dbbe5f7e0b63b92819c252fd1239f67 ****/ + /****** AIS_MediaPlayer::Duration ******/ + /****** md5 signature: 7dbbe5f7e0b63b92819c252fd1239f67 ******/ %feature("compactdefaultargs") Duration; - %feature("autodoc", "Return duration. - -Returns + %feature("autodoc", "Return ------- double + +Description +----------- +Return duration. ") Duration; double Duration(); - /****************** OpenInput ******************/ - /**** md5 signature: 860c3b6e78ac92cbd8cf0044e55bef88 ****/ + /****** AIS_MediaPlayer::OpenInput ******/ + /****** md5 signature: 860c3b6e78ac92cbd8cf0044e55bef88 ******/ %feature("compactdefaultargs") OpenInput; - %feature("autodoc", "Open specified file. - + %feature("autodoc", " Parameters ---------- -thePath: TCollection_AsciiString +thePath: str theToWait: bool -Returns +Return ------- None + +Description +----------- +Open specified file. ") OpenInput; - void OpenInput(const TCollection_AsciiString & thePath, Standard_Boolean theToWait); + void OpenInput(TCollection_AsciiString thePath, Standard_Boolean theToWait); - /****************** PlayPause ******************/ - /**** md5 signature: 811ffa83708da2acdc8d22e930c8cece ****/ + /****** AIS_MediaPlayer::PlayPause ******/ + /****** md5 signature: 811ffa83708da2acdc8d22e930c8cece ******/ %feature("compactdefaultargs") PlayPause; - %feature("autodoc", "Switch playback state. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Switch playback state. ") PlayPause; void PlayPause(); - /****************** PlayerContext ******************/ - /**** md5 signature: 5fc0e0cbec11700279e3e8631feee60b ****/ + /****** AIS_MediaPlayer::PlayerContext ******/ + /****** md5 signature: 5fc0e0cbec11700279e3e8631feee60b ******/ %feature("compactdefaultargs") PlayerContext; - %feature("autodoc", "Return player context. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Return player context. ") PlayerContext; const opencascade::handle & PlayerContext(); - /****************** PresentFrame ******************/ - /**** md5 signature: 7d26f4d44c79f3dff718eeaf121837ff ****/ + /****** AIS_MediaPlayer::PresentFrame ******/ + /****** md5 signature: 7d26f4d44c79f3dff718eeaf121837ff ******/ %feature("compactdefaultargs") PresentFrame; - %feature("autodoc", "Display new frame. - + %feature("autodoc", " Parameters ---------- theLeftCorner: Graphic3d_Vec2i theMaxSize: Graphic3d_Vec2i -Returns +Return ------- bool + +Description +----------- +Display new frame. ") PresentFrame; bool PresentFrame(const Graphic3d_Vec2i & theLeftCorner, const Graphic3d_Vec2i & theMaxSize); - /****************** SetCallback ******************/ - /**** md5 signature: 6e4600666f30d884b42d87dfd0954e3a ****/ + /****** AIS_MediaPlayer::SetCallback ******/ + /****** md5 signature: 6e4600666f30d884b42d87dfd0954e3a ******/ %feature("compactdefaultargs") SetCallback; - %feature("autodoc", "Setup callback to be called on queue progress (e.g. when new frame should be displayed). - + %feature("autodoc", " Parameters ---------- theCallbackFunction: Graphic3d_MediaTextureSet::CallbackOnUpdate_t theCallbackUserPtr: void * -Returns +Return ------- None + +Description +----------- +Setup callback to be called on queue progress (e.g. when new frame should be displayed). ") SetCallback; void SetCallback(Graphic3d_MediaTextureSet::CallbackOnUpdate_t theCallbackFunction, void * theCallbackUserPtr); - /****************** SetClosePlayer ******************/ - /**** md5 signature: 3032f6e42b741faba7f30fd3218ff7e7 ****/ + /****** AIS_MediaPlayer::SetClosePlayer ******/ + /****** md5 signature: 3032f6e42b741faba7f30fd3218ff7e7 ******/ %feature("compactdefaultargs") SetClosePlayer; - %feature("autodoc", "Schedule player to be closed. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Schedule player to be closed. ") SetClosePlayer; void SetClosePlayer(); @@ -11095,204 +13817,224 @@ None *****************************************/ class AIS_MultipleConnectedInteractive : public AIS_InteractiveObject { public: - /****************** AIS_MultipleConnectedInteractive ******************/ - /**** md5 signature: fba70400b7faac2115b274698220e2c9 ****/ + /****** AIS_MultipleConnectedInteractive::AIS_MultipleConnectedInteractive ******/ + /****** md5 signature: fba70400b7faac2115b274698220e2c9 ******/ %feature("compactdefaultargs") AIS_MultipleConnectedInteractive; - %feature("autodoc", "Initializes the interactive object with multiple connections to ais_interactive objects. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Initializes the Interactive Object with multiple connections to AIS_Interactive objects. ") AIS_MultipleConnectedInteractive; AIS_MultipleConnectedInteractive(); - /****************** AcceptShapeDecomposition ******************/ - /**** md5 signature: f0c4d1bd14b4f64b202098891add7268 ****/ + /****** AIS_MultipleConnectedInteractive::AcceptShapeDecomposition ******/ + /****** md5 signature: f0c4d1bd14b4f64b202098891add7268 ******/ %feature("compactdefaultargs") AcceptShapeDecomposition; - %feature("autodoc", "Informs the graphic context that the interactive object may be decomposed into sub-shapes for dynamic selection. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Informs the graphic context that the interactive Object may be decomposed into sub-shapes for dynamic selection. ") AcceptShapeDecomposition; virtual Standard_Boolean AcceptShapeDecomposition(); - /****************** Connect ******************/ - /**** md5 signature: 9456f753f89ea1d3d12e6c7e4b293e0f ****/ + /****** AIS_MultipleConnectedInteractive::Connect ******/ + /****** md5 signature: 9456f753f89ea1d3d12e6c7e4b293e0f ******/ %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", " Parameters ---------- theAnotherObj: AIS_InteractiveObject theLocation: TopLoc_Datum3D theTrsfPers: Graphic3d_TransformPers -Returns +Return ------- opencascade::handle + +Description +----------- +Establishes the connection between the Connected Interactive Object, theInteractive, and its reference. Locates instance in theLocation and applies specified transformation persistence mode. +Return: created instance object (AIS_ConnectedInteractive or AIS_MultipleConnectedInteractive). ") Connect; opencascade::handle Connect(const opencascade::handle & theAnotherObj, const opencascade::handle & theLocation, const opencascade::handle & theTrsfPers); - /****************** Connect ******************/ - /**** md5 signature: d10a69c61a6c9d8b102edd8739b7f2b4 ****/ + /****** AIS_MultipleConnectedInteractive::Connect ******/ + /****** md5 signature: d10a69c61a6c9d8b102edd8739b7f2b4 ******/ %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", " Parameters ---------- theAnotherObj: AIS_InteractiveObject -Returns +Return ------- opencascade::handle + +Description +----------- +Establishes the connection between the Connected Interactive Object, theInteractive, and its reference. Copies local transformation and transformation persistence mode from theInteractive. +Return: created instance object (AIS_ConnectedInteractive or AIS_MultipleConnectedInteractive). ") Connect; opencascade::handle Connect(const opencascade::handle & theAnotherObj); - /****************** Connect ******************/ - /**** md5 signature: 99ccdf3ecba8a64760230d69d1f05173 ****/ + /****** AIS_MultipleConnectedInteractive::Connect ******/ + /****** md5 signature: 99ccdf3ecba8a64760230d69d1f05173 ******/ %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", " Parameters ---------- theAnotherObj: AIS_InteractiveObject theLocation: gp_Trsf -Returns +Return ------- opencascade::handle + +Description +----------- +Establishes the connection between the Connected Interactive Object, theInteractive, and its reference. Locates instance in theLocation and copies transformation persistence mode from theInteractive. +Return: created instance object (AIS_ConnectedInteractive or AIS_MultipleConnectedInteractive). ") Connect; opencascade::handle Connect(const opencascade::handle & theAnotherObj, const gp_Trsf & theLocation); - /****************** Connect ******************/ - /**** md5 signature: fe47f9ee36bde7f16ff1155bf0cfd849 ****/ + /****** AIS_MultipleConnectedInteractive::Connect ******/ + /****** md5 signature: fe47f9ee36bde7f16ff1155bf0cfd849 ******/ %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", " Parameters ---------- theAnotherObj: AIS_InteractiveObject theLocation: gp_Trsf theTrsfPers: Graphic3d_TransformPers -Returns +Return ------- opencascade::handle -") Connect; - opencascade::handle Connect(const opencascade::handle & theAnotherObj, const gp_Trsf & theLocation, const opencascade::handle & theTrsfPers); - - /****************** Connect ******************/ - /**** md5 signature: 2770be8a578431190d56c454749b76eb ****/ - %feature("compactdefaultargs") Connect; - %feature("autodoc", "No available documentation. - -Parameters ----------- -theInteractive: AIS_InteractiveObject -theLocation: gp_Trsf -theTrsfPersFlag: Graphic3d_TransModeFlags -theTrsfPersPoint: gp_Pnt -Returns -------- -opencascade::handle +Description +----------- +Establishes the connection between the Connected Interactive Object, theInteractive, and its reference. Locates instance in theLocation and applies specified transformation persistence mode. +Return: created instance object (AIS_ConnectedInteractive or AIS_MultipleConnectedInteractive). ") Connect; - opencascade::handle Connect(const opencascade::handle & theInteractive, const gp_Trsf & theLocation, const Graphic3d_TransModeFlags & theTrsfPersFlag, const gp_Pnt & theTrsfPersPoint); + opencascade::handle Connect(const opencascade::handle & theAnotherObj, const gp_Trsf & theLocation, const opencascade::handle & theTrsfPers); - /****************** Disconnect ******************/ - /**** md5 signature: 8baee36d436931ddbde7f0643b9e8f4a ****/ + /****** AIS_MultipleConnectedInteractive::Disconnect ******/ + /****** md5 signature: 8baee36d436931ddbde7f0643b9e8f4a ******/ %feature("compactdefaultargs") Disconnect; - %feature("autodoc", "Removes the connection with theinteractive. - + %feature("autodoc", " Parameters ---------- theInteractive: AIS_InteractiveObject -Returns +Return ------- None + +Description +----------- +Removes the connection with theInteractive. ") Disconnect; void Disconnect(const opencascade::handle & theInteractive); - /****************** DisconnectAll ******************/ - /**** md5 signature: 6ff75930eb4fe3a9d24be8bb57ecbce1 ****/ + /****** AIS_MultipleConnectedInteractive::DisconnectAll ******/ + /****** md5 signature: 6ff75930eb4fe3a9d24be8bb57ecbce1 ******/ %feature("compactdefaultargs") DisconnectAll; - %feature("autodoc", "Clears all the connections to objects. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Clears all the connections to objects. ") DisconnectAll; void DisconnectAll(); - /****************** GetAssemblyOwner ******************/ - /**** md5 signature: fdcc25b4af0825772c906148415cbc13 ****/ + /****** AIS_MultipleConnectedInteractive::GetAssemblyOwner ******/ + /****** md5 signature: fdcc25b4af0825772c906148415cbc13 ******/ %feature("compactdefaultargs") GetAssemblyOwner; - %feature("autodoc", "Returns common entity owner if the object is an assembly. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns common entity owner if the object is an assembly. ") GetAssemblyOwner; virtual const opencascade::handle & GetAssemblyOwner(); - /****************** GlobalSelOwner ******************/ - /**** md5 signature: 4b6aea62676c6d618f2db36c62ce24fb ****/ + /****** AIS_MultipleConnectedInteractive::GlobalSelOwner ******/ + /****** md5 signature: 4b6aea62676c6d618f2db36c62ce24fb ******/ %feature("compactdefaultargs") GlobalSelOwner; - %feature("autodoc", "Returns the owner of mode for selection of object as a whole. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns the owner of mode for selection of object as a whole. ") GlobalSelOwner; virtual opencascade::handle GlobalSelOwner(); - /****************** HasConnection ******************/ - /**** md5 signature: c342aa32a45245fb748ee5398c1c4a5a ****/ + /****** AIS_MultipleConnectedInteractive::HasConnection ******/ + /****** md5 signature: c342aa32a45245fb748ee5398c1c4a5a ******/ %feature("compactdefaultargs") HasConnection; - %feature("autodoc", "Returns true if the object is connected to others. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns true if the object is connected to others. ") HasConnection; Standard_Boolean HasConnection(); - /****************** SetContext ******************/ - /**** md5 signature: af12f571fad40e135e056476329514e6 ****/ + /****** AIS_MultipleConnectedInteractive::SetContext ******/ + /****** md5 signature: af12f571fad40e135e056476329514e6 ******/ %feature("compactdefaultargs") SetContext; - %feature("autodoc", "Assigns interactive context. - + %feature("autodoc", " Parameters ---------- theCtx: AIS_InteractiveContext -Returns +Return ------- None + +Description +----------- +Assigns interactive context. ") SetContext; virtual void SetContext(const opencascade::handle & theCtx); - /****************** Signature ******************/ - /**** md5 signature: 81eb93a6a9075273e61be0bf8e0d1a46 ****/ + /****** AIS_MultipleConnectedInteractive::Signature ******/ + /****** md5 signature: 4e037e01ba764fd5d5261e3d9ba6557d ******/ %feature("compactdefaultargs") Signature; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") Signature; virtual Standard_Integer Signature(); - /****************** Type ******************/ - /**** md5 signature: dd06dc48aefe8f5e4fea271bcf932271 ****/ + /****** AIS_MultipleConnectedInteractive::Type ******/ + /****** md5 signature: bf4aea6b24d0b584b57c781f208134ec ******/ %feature("compactdefaultargs") Type; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- AIS_KindOfInteractive + +Description +----------- +No available documentation. ") Type; virtual AIS_KindOfInteractive Type(); @@ -11312,181 +14054,219 @@ AIS_KindOfInteractive ******************/ class AIS_Plane : public AIS_InteractiveObject { public: - /****************** AIS_Plane ******************/ - /**** md5 signature: 3c342f25630d9581d2c70a369facc359 ****/ + /****** AIS_Plane::AIS_Plane ******/ + /****** md5 signature: 3c342f25630d9581d2c70a369facc359 ******/ %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", " Parameters ---------- aComponent: Geom_Plane -aCurrentMode: bool,optional - default value is Standard_False +aCurrentMode: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +initializes the plane aComponent. If the mode aCurrentMode equals true, the drawing tool, 'Drawer' is not initialized. ") AIS_Plane; AIS_Plane(const opencascade::handle & aComponent, const Standard_Boolean aCurrentMode = Standard_False); - /****************** AIS_Plane ******************/ - /**** md5 signature: 6b93dc858ae0d4c7f57fed9860708802 ****/ + /****** AIS_Plane::AIS_Plane ******/ + /****** md5 signature: 6b93dc858ae0d4c7f57fed9860708802 ******/ %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. - + %feature("autodoc", " Parameters ---------- aComponent: Geom_Plane aCenter: gp_Pnt -aCurrentMode: bool,optional - default value is Standard_False +aCurrentMode: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +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. ") AIS_Plane; AIS_Plane(const opencascade::handle & aComponent, const gp_Pnt & aCenter, const Standard_Boolean aCurrentMode = Standard_False); - /****************** AIS_Plane ******************/ - /**** md5 signature: 05bf8980d9c4c3df365fa7712ba217b6 ****/ + /****** AIS_Plane::AIS_Plane ******/ + /****** md5 signature: 05bf8980d9c4c3df365fa7712ba217b6 ******/ %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. - + %feature("autodoc", " Parameters ---------- aComponent: Geom_Plane aCenter: gp_Pnt aPmin: gp_Pnt aPmax: gp_Pnt -aCurrentMode: bool,optional - default value is Standard_False +aCurrentMode: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 9edc05a5ec11fbc531da5dd401280271 ****/ + /****** AIS_Plane::AIS_Plane ******/ + /****** md5 signature: 9edc05a5ec11fbc531da5dd401280271 ******/ %feature("compactdefaultargs") AIS_Plane; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- aComponent: Geom_Axis2Placement aPlaneType: AIS_TypeOfPlane -aCurrentMode: bool,optional - default value is Standard_False +aCurrentMode: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +No available documentation. ") AIS_Plane; AIS_Plane(const opencascade::handle & aComponent, const AIS_TypeOfPlane aPlaneType, const Standard_Boolean aCurrentMode = Standard_False); - /****************** AcceptDisplayMode ******************/ - /**** md5 signature: 16fc40475e94b16a496778d86dfb4fec ****/ + /****** AIS_Plane::AcceptDisplayMode ******/ + /****** md5 signature: 16fc40475e94b16a496778d86dfb4fec ******/ %feature("compactdefaultargs") AcceptDisplayMode; - %feature("autodoc", "Returns true if the display mode selected, amode, is valid for planes. - + %feature("autodoc", " Parameters ---------- aMode: int -Returns +Return ------- bool + +Description +----------- +Returns true if the display mode selected, aMode, is valid for planes. ") AcceptDisplayMode; virtual Standard_Boolean AcceptDisplayMode(const Standard_Integer aMode); - /****************** Axis2Placement ******************/ - /**** md5 signature: 37877c5e97ab627517b822b230b8b22b ****/ + /****** AIS_Plane::Axis2Placement ******/ + /****** md5 signature: 37877c5e97ab627517b822b230b8b22b ******/ %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. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +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. ") Axis2Placement; opencascade::handle Axis2Placement(); - /****************** Center ******************/ - /**** md5 signature: 76b3760b23b8ce2c654d603f295e0c0d ****/ + /****** AIS_Plane::Center ******/ + /****** md5 signature: 76b3760b23b8ce2c654d603f295e0c0d ******/ %feature("compactdefaultargs") Center; - %feature("autodoc", "Returns the coordinates of the center point. - -Returns + %feature("autodoc", "Return ------- gp_Pnt + +Description +----------- +Returns the coordinates of the center point. ") Center; const gp_Pnt Center(); - /****************** Component ******************/ - /**** md5 signature: 303a9682f54bbdacc71e8f17577c38b3 ****/ + /****** AIS_Plane::Component ******/ + /****** md5 signature: 303a9682f54bbdacc71e8f17577c38b3 ******/ %feature("compactdefaultargs") Component; - %feature("autodoc", "Returns the component specified in setcomponent. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns the component specified in SetComponent. ") Component; const opencascade::handle & Component(); - /****************** ComputeSelection ******************/ - /**** md5 signature: 0ee36b1ad2a8a3c1bbb813dfdb1d40ae ****/ + /****** AIS_Plane::ComputeSelection ******/ + /****** md5 signature: 0ee36b1ad2a8a3c1bbb813dfdb1d40ae ******/ %feature("compactdefaultargs") ComputeSelection; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theSelection: SelectMgr_Selection theMode: int -Returns +Return ------- None + +Description +----------- +No available documentation. ") ComputeSelection; virtual void ComputeSelection(const opencascade::handle & theSelection, const Standard_Integer theMode); - /****************** CurrentMode ******************/ - /**** md5 signature: 063a9db1602f7bac1a4e0fa8301ae9a8 ****/ + /****** AIS_Plane::CurrentMode ******/ + /****** md5 signature: 063a9db1602f7bac1a4e0fa8301ae9a8 ******/ %feature("compactdefaultargs") CurrentMode; - %feature("autodoc", "Returns the non-default current display mode set by setcurrentmode. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns the non-default current display mode set by SetCurrentMode. ") CurrentMode; Standard_Boolean CurrentMode(); - /****************** HasOwnSize ******************/ - /**** md5 signature: e915e28bcd0aa89fd85e56d0cb0fab71 ****/ - %feature("compactdefaultargs") HasOwnSize; - %feature("autodoc", "No available documentation. + /****** AIS_Plane::HasMinimumSize ******/ + /****** md5 signature: a365edd1b21418e01a2b57e9636bca4f ******/ + %feature("compactdefaultargs") HasMinimumSize; + %feature("autodoc", "Return +------- +bool + +Description +----------- +Returns true if transform persistence for zoom is set. +") HasMinimumSize; + Standard_Boolean HasMinimumSize(); -Returns + /****** AIS_Plane::HasOwnSize ******/ + /****** md5 signature: e915e28bcd0aa89fd85e56d0cb0fab71 ******/ + %feature("compactdefaultargs") HasOwnSize; + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") HasOwnSize; Standard_Boolean HasOwnSize(); - /****************** IsXYZPlane ******************/ - /**** md5 signature: a306d22b0be3b8b20d3c93daeae452c2 ****/ + /****** AIS_Plane::IsXYZPlane ******/ + /****** md5 signature: a306d22b0be3b8b20d3c93daeae452c2 ******/ %feature("compactdefaultargs") IsXYZPlane; - %feature("autodoc", "Returns the type of plane - xy, yz, or xz. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns the type of plane - xy, yz, or xz. ") IsXYZPlane; Standard_Boolean IsXYZPlane(); - /****************** PlaneAttributes ******************/ - /**** md5 signature: 222046c8756742783a17e4ea27163ab2 ****/ + /****** AIS_Plane::PlaneAttributes ******/ + /****** md5 signature: 222046c8756742783a17e4ea27163ab2 ******/ %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", " Parameters ---------- aComponent: Geom_Plane @@ -11494,108 +14274,147 @@ aCenter: gp_Pnt aPmin: gp_Pnt aPmax: gp_Pnt -Returns +Return ------- bool + +Description +----------- +Returns the settings for the selected plane aComponent, provided in SetPlaneAttributes. These include the points aCenter, aPmin, and aPmax. ") PlaneAttributes; Standard_Boolean PlaneAttributes(opencascade::handle & aComponent, gp_Pnt & aCenter, gp_Pnt & aPmin, gp_Pnt & aPmax); - /****************** SetAxis2Placement ******************/ - /**** md5 signature: d73d8eb41254415fddcc962ddec5e469 ****/ + /****** AIS_Plane::SetAxis2Placement ******/ + /****** md5 signature: d73d8eb41254415fddcc962ddec5e469 ******/ %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}. - + %feature("autodoc", " Parameters ---------- aComponent: Geom_Axis2Placement aPlaneType: AIS_TypeOfPlane -Returns +Return ------- None + +Description +----------- +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}. ") SetAxis2Placement; void SetAxis2Placement(const opencascade::handle & aComponent, const AIS_TypeOfPlane aPlaneType); - /****************** SetCenter ******************/ - /**** md5 signature: ecf3b6f0e545b80cc6040218013c7da9 ****/ + /****** AIS_Plane::SetCenter ******/ + /****** md5 signature: ecf3b6f0e545b80cc6040218013c7da9 ******/ %feature("compactdefaultargs") SetCenter; - %feature("autodoc", "Provides settings for the center thecenter other than (0, 0, 0). - + %feature("autodoc", " Parameters ---------- theCenter: gp_Pnt -Returns +Return ------- None + +Description +----------- +Provides settings for the center theCenter other than (0, 0, 0). ") SetCenter; void SetCenter(const gp_Pnt & theCenter); - /****************** SetColor ******************/ - /**** md5 signature: 6b2b764a1e8ffb5d1aa4218d6218005c ****/ + /****** AIS_Plane::SetColor ******/ + /****** md5 signature: 6b2b764a1e8ffb5d1aa4218d6218005c ******/ %feature("compactdefaultargs") SetColor; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- aColor: Quantity_Color -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetColor; void SetColor(const Quantity_Color & aColor); - /****************** SetComponent ******************/ - /**** md5 signature: cabe0299a719dc64171b081f75779f2e ****/ + /****** AIS_Plane::SetComponent ******/ + /****** md5 signature: cabe0299a719dc64171b081f75779f2e ******/ %feature("compactdefaultargs") SetComponent; - %feature("autodoc", "Creates an instance of the plane acomponent. - + %feature("autodoc", " Parameters ---------- aComponent: Geom_Plane -Returns +Return ------- None + +Description +----------- +Creates an instance of the plane aComponent. ") SetComponent; void SetComponent(const opencascade::handle & aComponent); - /****************** SetContext ******************/ - /**** md5 signature: bade88f85081ac1317d21b16677f9862 ****/ + /****** AIS_Plane::SetContext ******/ + /****** md5 signature: bade88f85081ac1317d21b16677f9862 ******/ %feature("compactdefaultargs") SetContext; - %feature("autodoc", "Connection to default drawer implies a recomputation of frame values. - + %feature("autodoc", " Parameters ---------- aCtx: AIS_InteractiveContext -Returns +Return ------- None + +Description +----------- +connection to default drawer implies a recomputation of Frame values. ") SetContext; virtual void SetContext(const opencascade::handle & aCtx); - /****************** SetCurrentMode ******************/ - /**** md5 signature: 52128d8f940c1aad39994637a332dfae ****/ + /****** AIS_Plane::SetCurrentMode ******/ + /****** md5 signature: 52128d8f940c1aad39994637a332dfae ******/ %feature("compactdefaultargs") SetCurrentMode; - %feature("autodoc", "Allows you to provide settings for a non-default current display mode. - + %feature("autodoc", " Parameters ---------- theCurrentMode: bool -Returns +Return ------- None + +Description +----------- +Allows you to provide settings for a non-default current display mode. ") SetCurrentMode; void SetCurrentMode(const Standard_Boolean theCurrentMode); - /****************** SetPlaneAttributes ******************/ - /**** md5 signature: fcab47c7809627db9a9877e1b1b1ecfc ****/ - %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. + /****** AIS_Plane::SetMinimumSize ******/ + /****** md5 signature: b30f135ff9e397ec4e41d915825ab7d0 ******/ + %feature("compactdefaultargs") SetMinimumSize; + %feature("autodoc", " +Parameters +---------- +theValue: float + +Return +------- +None + +Description +----------- +Sets transform persistence for zoom with value of minimum size. +") SetMinimumSize; + void SetMinimumSize(const Standard_Real theValue); + /****** AIS_Plane::SetPlaneAttributes ******/ + /****** md5 signature: fcab47c7809627db9a9877e1b1b1ecfc ******/ + %feature("compactdefaultargs") SetPlaneAttributes; + %feature("autodoc", " Parameters ---------- aComponent: Geom_Plane @@ -11603,136 +14422,177 @@ aCenter: gp_Pnt aPmin: gp_Pnt aPmax: gp_Pnt -Returns +Return ------- None + +Description +----------- +Allows you to provide settings other than default ones for the selected plane. These include: center point aCenter, maximum aPmax and minimum aPmin. ") SetPlaneAttributes; void SetPlaneAttributes(const opencascade::handle & aComponent, const gp_Pnt & aCenter, const gp_Pnt & aPmin, const gp_Pnt & aPmax); - /****************** SetSize ******************/ - /**** md5 signature: c65fe36c41e6254ef40d079d847a39ba ****/ + /****** AIS_Plane::SetSize ******/ + /****** md5 signature: c65fe36c41e6254ef40d079d847a39ba ******/ %feature("compactdefaultargs") SetSize; - %feature("autodoc", "Same value for x and y directions. - + %feature("autodoc", " Parameters ---------- aValue: float -Returns +Return ------- None + +Description +----------- +Same value for x and y directions. ") SetSize; void SetSize(const Standard_Real aValue); - /****************** SetSize ******************/ - /**** md5 signature: 62b5a679beaf40fe5973c710160a59dc ****/ + /****** AIS_Plane::SetSize ******/ + /****** md5 signature: 62b5a679beaf40fe5973c710160a59dc ******/ %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. - + %feature("autodoc", " Parameters ---------- Xval: float YVal: float -Returns +Return ------- None + +Description +----------- +Sets the size defined by the length along the X axis XVal and the length along the Y axis YVal. ") SetSize; void SetSize(const Standard_Real Xval, const Standard_Real YVal); - /****************** SetTypeOfSensitivity ******************/ - /**** md5 signature: 0961922ef3f5c20bfe8405bc7846dadb ****/ + /****** AIS_Plane::SetTypeOfSensitivity ******/ + /****** md5 signature: 0961922ef3f5c20bfe8405bc7846dadb ******/ %feature("compactdefaultargs") SetTypeOfSensitivity; - %feature("autodoc", "Sets the type of sensitivity for the plane. - + %feature("autodoc", " Parameters ---------- theTypeOfSensitivity: Select3D_TypeOfSensitivity -Returns +Return ------- None + +Description +----------- +Sets the type of sensitivity for the plane. ") SetTypeOfSensitivity; void SetTypeOfSensitivity(Select3D_TypeOfSensitivity theTypeOfSensitivity); - /****************** Signature ******************/ - /**** md5 signature: 81eb93a6a9075273e61be0bf8e0d1a46 ****/ + /****** AIS_Plane::Signature ******/ + /****** md5 signature: 4e037e01ba764fd5d5261e3d9ba6557d ******/ %feature("compactdefaultargs") Signature; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") Signature; virtual Standard_Integer Signature(); - /****************** Size ******************/ - /**** md5 signature: c55e2744a8e0a499ff417b8524bf3c2d ****/ + /****** AIS_Plane::Size ******/ + /****** md5 signature: c55e2744a8e0a499ff417b8524bf3c2d ******/ %feature("compactdefaultargs") Size; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- X: float Y: float + +Description +----------- +No available documentation. ") Size; Standard_Boolean Size(Standard_Real &OutValue, Standard_Real &OutValue); - /****************** Type ******************/ - /**** md5 signature: dd06dc48aefe8f5e4fea271bcf932271 ****/ + /****** AIS_Plane::Type ******/ + /****** md5 signature: bf4aea6b24d0b584b57c781f208134ec ******/ %feature("compactdefaultargs") Type; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- AIS_KindOfInteractive + +Description +----------- +No available documentation. ") Type; virtual AIS_KindOfInteractive Type(); - /****************** TypeOfPlane ******************/ - /**** md5 signature: b5d4b79d2d9f478b8bfb8f6f08aeff9a ****/ + /****** AIS_Plane::TypeOfPlane ******/ + /****** md5 signature: b5d4b79d2d9f478b8bfb8f6f08aeff9a ******/ %feature("compactdefaultargs") TypeOfPlane; - %feature("autodoc", "Returns the type of plane - xy, yz, xz or unknown. - -Returns + %feature("autodoc", "Return ------- AIS_TypeOfPlane + +Description +----------- +Returns the type of plane - xy, yz, xz or unknown. ") TypeOfPlane; AIS_TypeOfPlane TypeOfPlane(); - /****************** TypeOfSensitivity ******************/ - /**** md5 signature: c53b1e467cd6a018aa2a82b303f3ed51 ****/ + /****** AIS_Plane::TypeOfSensitivity ******/ + /****** md5 signature: c53b1e467cd6a018aa2a82b303f3ed51 ******/ %feature("compactdefaultargs") TypeOfSensitivity; - %feature("autodoc", "Returns the type of sensitivity for the plane;. - -Returns + %feature("autodoc", "Return ------- Select3D_TypeOfSensitivity + +Description +----------- +Returns the type of sensitivity for the plane;. ") TypeOfSensitivity; Select3D_TypeOfSensitivity TypeOfSensitivity(); - /****************** UnsetColor ******************/ - /**** md5 signature: 305de4c541ce8067f3ff456f9ec26b55 ****/ + /****** AIS_Plane::UnsetColor ******/ + /****** md5 signature: 305de4c541ce8067f3ff456f9ec26b55 ******/ %feature("compactdefaultargs") UnsetColor; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") UnsetColor; void UnsetColor(); - /****************** UnsetSize ******************/ - /**** md5 signature: 01e2703c873bbcb3ae46d4b247bdacb6 ****/ - %feature("compactdefaultargs") UnsetSize; - %feature("autodoc", "No available documentation. + /****** AIS_Plane::UnsetMinimumSize ******/ + /****** md5 signature: 455188e1c9c74ff00306b83f10dccb0d ******/ + %feature("compactdefaultargs") UnsetMinimumSize; + %feature("autodoc", "Return +------- +None + +Description +----------- +Unsets transform persistence zoom. +") UnsetMinimumSize; + void UnsetMinimumSize(); -Returns + /****** AIS_Plane::UnsetSize ******/ + /****** md5 signature: 01e2703c873bbcb3ae46d4b247bdacb6 ******/ + %feature("compactdefaultargs") UnsetSize; + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") UnsetSize; void UnsetSize(); @@ -11752,185 +14612,220 @@ None ***************************/ class AIS_PlaneTrihedron : public AIS_InteractiveObject { public: - /****************** AIS_PlaneTrihedron ******************/ - /**** md5 signature: ae783f3a176a7a2444c5f23672eaf5c5 ****/ + /****** AIS_PlaneTrihedron::AIS_PlaneTrihedron ******/ + /****** md5 signature: ae783f3a176a7a2444c5f23672eaf5c5 ******/ %feature("compactdefaultargs") AIS_PlaneTrihedron; - %feature("autodoc", "Initializes the plane aplane. the plane trihedron is constructed from this and an axis. - + %feature("autodoc", " Parameters ---------- aPlane: Geom_Plane -Returns +Return ------- None + +Description +----------- +Initializes the plane aPlane. The plane trihedron is constructed from this and an axis. ") AIS_PlaneTrihedron; AIS_PlaneTrihedron(const opencascade::handle & aPlane); - /****************** AcceptDisplayMode ******************/ - /**** md5 signature: 4b2dbc71bc9796a113d83252030ddc96 ****/ + /****** AIS_PlaneTrihedron::AcceptDisplayMode ******/ + /****** md5 signature: 4b2dbc71bc9796a113d83252030ddc96 ******/ %feature("compactdefaultargs") AcceptDisplayMode; - %feature("autodoc", "Returns true if the display mode selected, amode, is valid. - + %feature("autodoc", " Parameters ---------- aMode: int -Returns +Return ------- bool + +Description +----------- +Returns true if the display mode selected, aMode, is valid. ") AcceptDisplayMode; Standard_Boolean AcceptDisplayMode(const Standard_Integer aMode); - /****************** Component ******************/ - /**** md5 signature: e2c0d02519a70a2ebf4ac43e0b834b9e ****/ + /****** AIS_PlaneTrihedron::Component ******/ + /****** md5 signature: e2c0d02519a70a2ebf4ac43e0b834b9e ******/ %feature("compactdefaultargs") Component; - %feature("autodoc", "Returns the component specified in setcomponent. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns the component specified in SetComponent. ") Component; opencascade::handle Component(); - /****************** GetLength ******************/ - /**** md5 signature: 9390a920d888683f8b474026b2d95a49 ****/ + /****** AIS_PlaneTrihedron::GetLength ******/ + /****** md5 signature: 9390a920d888683f8b474026b2d95a49 ******/ %feature("compactdefaultargs") GetLength; - %feature("autodoc", "Returns the length of x and y axes. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the length of X and Y axes. ") GetLength; Standard_Real GetLength(); - /****************** Position ******************/ - /**** md5 signature: 7d9aba563ce6c4534b6f60ef5450366a ****/ + /****** AIS_PlaneTrihedron::Position ******/ + /****** md5 signature: 7d9aba563ce6c4534b6f60ef5450366a ******/ %feature("compactdefaultargs") Position; - %feature("autodoc", "Returns the point of origin of the plane trihedron. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns the point of origin of the plane trihedron. ") Position; opencascade::handle Position(); - /****************** SetColor ******************/ - /**** md5 signature: 259272248bacb2cef242adbc667f0ef9 ****/ + /****** AIS_PlaneTrihedron::SetColor ******/ + /****** md5 signature: 259272248bacb2cef242adbc667f0ef9 ******/ %feature("compactdefaultargs") SetColor; - %feature("autodoc", "Allows you to provide settings for the color acolor. - + %feature("autodoc", " Parameters ---------- theColor: Quantity_Color -Returns +Return ------- None + +Description +----------- +Allows you to provide settings for the color aColor. ") SetColor; virtual void SetColor(const Quantity_Color & theColor); - /****************** SetComponent ******************/ - /**** md5 signature: 1bca8d1d2d75bebfbc41ee846bfa84a1 ****/ + /****** AIS_PlaneTrihedron::SetComponent ******/ + /****** md5 signature: 1bca8d1d2d75bebfbc41ee846bfa84a1 ******/ %feature("compactdefaultargs") SetComponent; - %feature("autodoc", "Creates an instance of the component object aplane. - + %feature("autodoc", " Parameters ---------- aPlane: Geom_Plane -Returns +Return ------- None + +Description +----------- +Creates an instance of the component object aPlane. ") SetComponent; void SetComponent(const opencascade::handle & aPlane); - /****************** SetLength ******************/ - /**** md5 signature: 8666b48a650ccc14efb217be9a1a2a9d ****/ + /****** AIS_PlaneTrihedron::SetLength ******/ + /****** md5 signature: 8666b48a650ccc14efb217be9a1a2a9d ******/ %feature("compactdefaultargs") SetLength; - %feature("autodoc", "Sets the length of the x and y axes. - + %feature("autodoc", " Parameters ---------- theLength: float -Returns +Return ------- None + +Description +----------- +Sets the length of the X and Y axes. ") SetLength; void SetLength(const Standard_Real theLength); - /****************** SetXLabel ******************/ - /**** md5 signature: 77db9994f4c4890941ca57fa8eb88e9a ****/ + /****** AIS_PlaneTrihedron::SetXLabel ******/ + /****** md5 signature: 77db9994f4c4890941ca57fa8eb88e9a ******/ %feature("compactdefaultargs") SetXLabel; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -theLabel: TCollection_AsciiString +theLabel: str -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetXLabel; - void SetXLabel(const TCollection_AsciiString & theLabel); + void SetXLabel(TCollection_AsciiString theLabel); - /****************** SetYLabel ******************/ - /**** md5 signature: 8fe68a257c14798d817c0a27a82042b8 ****/ + /****** AIS_PlaneTrihedron::SetYLabel ******/ + /****** md5 signature: 8fe68a257c14798d817c0a27a82042b8 ******/ %feature("compactdefaultargs") SetYLabel; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -theLabel: TCollection_AsciiString +theLabel: str -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetYLabel; - void SetYLabel(const TCollection_AsciiString & theLabel); + void SetYLabel(TCollection_AsciiString theLabel); - /****************** Signature ******************/ - /**** md5 signature: 4e037e01ba764fd5d5261e3d9ba6557d ****/ + /****** AIS_PlaneTrihedron::Signature ******/ + /****** md5 signature: 4e037e01ba764fd5d5261e3d9ba6557d ******/ %feature("compactdefaultargs") Signature; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") Signature; virtual Standard_Integer Signature(); - /****************** Type ******************/ - /**** md5 signature: bf4aea6b24d0b584b57c781f208134ec ****/ + /****** AIS_PlaneTrihedron::Type ******/ + /****** md5 signature: bf4aea6b24d0b584b57c781f208134ec ******/ %feature("compactdefaultargs") Type; - %feature("autodoc", "Returns datum as the type of interactive object. - -Returns + %feature("autodoc", "Return ------- AIS_KindOfInteractive + +Description +----------- +Returns datum as the type of Interactive Object. ") Type; virtual AIS_KindOfInteractive Type(); - /****************** XAxis ******************/ - /**** md5 signature: e4128aaf660a4951e55140d350cd10f9 ****/ + /****** AIS_PlaneTrihedron::XAxis ******/ + /****** md5 signature: e4128aaf660a4951e55140d350cd10f9 ******/ %feature("compactdefaultargs") XAxis; - %feature("autodoc", "Returns the 'xaxis'. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns the 'XAxis'. ") XAxis; opencascade::handle XAxis(); - /****************** YAxis ******************/ - /**** md5 signature: 0a267871ff2869b09e2a9b41404ae03b ****/ + /****** AIS_PlaneTrihedron::YAxis ******/ + /****** md5 signature: 0a267871ff2869b09e2a9b41404ae03b ******/ %feature("compactdefaultargs") YAxis; - %feature("autodoc", "Returns the 'yaxis'. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns the 'YAxis'. ") YAxis; opencascade::handle YAxis(); @@ -11950,155 +14845,184 @@ opencascade::handle ******************/ class AIS_Point : public AIS_InteractiveObject { public: - /****************** AIS_Point ******************/ - /**** md5 signature: 2f1f87ccd8789d1b41f61f012d372bc1 ****/ + /****** AIS_Point::AIS_Point ******/ + /****** md5 signature: 2f1f87ccd8789d1b41f61f012d372bc1 ******/ %feature("compactdefaultargs") AIS_Point; - %feature("autodoc", "Initializes the point acomponent from which the point datum will be built. - + %feature("autodoc", " Parameters ---------- aComponent: Geom_Point -Returns +Return ------- None + +Description +----------- +Initializes the point aComponent from which the point datum will be built. ") AIS_Point; AIS_Point(const opencascade::handle & aComponent); - /****************** AcceptDisplayMode ******************/ - /**** md5 signature: 4b2dbc71bc9796a113d83252030ddc96 ****/ + /****** AIS_Point::AcceptDisplayMode ******/ + /****** md5 signature: 4b2dbc71bc9796a113d83252030ddc96 ******/ %feature("compactdefaultargs") AcceptDisplayMode; - %feature("autodoc", "Returns true if the display mode selected is valid for point datums. - + %feature("autodoc", " Parameters ---------- aMode: int -Returns +Return ------- bool + +Description +----------- +Returns true if the display mode selected is valid for point datums. ") AcceptDisplayMode; Standard_Boolean AcceptDisplayMode(const Standard_Integer aMode); - /****************** Component ******************/ - /**** md5 signature: 04da78de5b13e434be2216d44998d0e9 ****/ + /****** AIS_Point::Component ******/ + /****** md5 signature: 04da78de5b13e434be2216d44998d0e9 ******/ %feature("compactdefaultargs") Component; - %feature("autodoc", "Returns the component specified in setcomponent. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns the component specified in SetComponent. ") Component; opencascade::handle Component(); - /****************** HasMarker ******************/ - /**** md5 signature: 7622325081b114c983e5a28bc511c5cc ****/ + /****** AIS_Point::HasMarker ******/ + /****** md5 signature: 7622325081b114c983e5a28bc511c5cc ******/ %feature("compactdefaultargs") HasMarker; - %feature("autodoc", "Returns true if the point datum has a marker. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns true if the point datum has a marker. ") HasMarker; Standard_Boolean HasMarker(); - /****************** SetColor ******************/ - /**** md5 signature: 259272248bacb2cef242adbc667f0ef9 ****/ + /****** AIS_Point::SetColor ******/ + /****** md5 signature: 259272248bacb2cef242adbc667f0ef9 ******/ %feature("compactdefaultargs") SetColor; - %feature("autodoc", "Allows you to provide settings for the color. - + %feature("autodoc", " Parameters ---------- theColor: Quantity_Color -Returns +Return ------- None + +Description +----------- +Allows you to provide settings for the Color. ") SetColor; virtual void SetColor(const Quantity_Color & theColor); - /****************** SetComponent ******************/ - /**** md5 signature: e1a4992bb046aba80ac5162deb11429f ****/ + /****** AIS_Point::SetComponent ******/ + /****** md5 signature: e1a4992bb046aba80ac5162deb11429f ******/ %feature("compactdefaultargs") SetComponent; - %feature("autodoc", "Constructs an instance of the point acomponent. - + %feature("autodoc", " Parameters ---------- aComponent: Geom_Point -Returns +Return ------- None + +Description +----------- +Constructs an instance of the point aComponent. ") SetComponent; void SetComponent(const opencascade::handle & aComponent); - /****************** SetMarker ******************/ - /**** md5 signature: 53b11e7f18efb0f33c0075851766f7e8 ****/ + /****** AIS_Point::SetMarker ******/ + /****** md5 signature: 53b11e7f18efb0f33c0075851766f7e8 ******/ %feature("compactdefaultargs") SetMarker; - %feature("autodoc", "Allows you to provide settings for a marker. these include - type of marker, - marker color, - scale factor. - + %feature("autodoc", " Parameters ---------- aType: Aspect_TypeOfMarker -Returns +Return ------- None + +Description +----------- +Allows you to provide settings for a marker. These include - type of marker, - marker color, - scale factor. ") SetMarker; void SetMarker(const Aspect_TypeOfMarker aType); - /****************** Signature ******************/ - /**** md5 signature: 4e037e01ba764fd5d5261e3d9ba6557d ****/ + /****** AIS_Point::Signature ******/ + /****** md5 signature: 4e037e01ba764fd5d5261e3d9ba6557d ******/ %feature("compactdefaultargs") Signature; - %feature("autodoc", "Returns index 1, the default index for a point. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns index 1, the default index for a point. ") Signature; virtual Standard_Integer Signature(); - /****************** Type ******************/ - /**** md5 signature: bf4aea6b24d0b584b57c781f208134ec ****/ + /****** AIS_Point::Type ******/ + /****** md5 signature: bf4aea6b24d0b584b57c781f208134ec ******/ %feature("compactdefaultargs") Type; - %feature("autodoc", "Indicates that a point is a datum. - -Returns + %feature("autodoc", "Return ------- AIS_KindOfInteractive + +Description +----------- +Indicates that a point is a datum. ") Type; virtual AIS_KindOfInteractive Type(); - /****************** UnsetColor ******************/ - /**** md5 signature: 2da7e2ed6a63f7c70c36c2a82118a7ec ****/ + /****** AIS_Point::UnsetColor ******/ + /****** md5 signature: 2da7e2ed6a63f7c70c36c2a82118a7ec ******/ %feature("compactdefaultargs") UnsetColor; - %feature("autodoc", "Allows you to remove color settings. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Allows you to remove color settings. ") UnsetColor; virtual void UnsetColor(); - /****************** UnsetMarker ******************/ - /**** md5 signature: df2d21daa9af0f066f37782351572702 ****/ + /****** AIS_Point::UnsetMarker ******/ + /****** md5 signature: df2d21daa9af0f066f37782351572702 ******/ %feature("compactdefaultargs") UnsetMarker; - %feature("autodoc", "Removes the marker settings. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Removes the marker settings. ") UnsetMarker; void UnsetMarker(); - /****************** Vertex ******************/ - /**** md5 signature: f00980db3d22a7e6d7f5f1300940ccaa ****/ + /****** AIS_Point::Vertex ******/ + /****** md5 signature: f00980db3d22a7e6d7f5f1300940ccaa ******/ %feature("compactdefaultargs") Vertex; - %feature("autodoc", "Converts a point into a vertex. - -Returns + %feature("autodoc", "Return ------- TopoDS_Vertex + +Description +----------- +Converts a point into a vertex. ") Vertex; TopoDS_Vertex Vertex(); @@ -12132,7 +15056,7 @@ enum SelectionMode { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class DisplayMode(IntEnum): @@ -12151,122 +15075,147 @@ SM_BndBox = SelectionMode.SM_BndBox }; /* end python proxy for enums */ - /****************** AIS_PointCloud ******************/ - /**** md5 signature: a48e67fa09efde4b134cc4b5e5b4ca47 ****/ + /****** AIS_PointCloud::AIS_PointCloud ******/ + /****** md5 signature: a48e67fa09efde4b134cc4b5e5b4ca47 ******/ %feature("compactdefaultargs") AIS_PointCloud; - %feature("autodoc", "Constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Constructor. ") AIS_PointCloud; AIS_PointCloud(); - /****************** GetBoundingBox ******************/ - /**** md5 signature: c776ca3f9f7d80c6934fc1b6003552bc ****/ + /****** AIS_PointCloud::GetBoundingBox ******/ + /****** md5 signature: c776ca3f9f7d80c6934fc1b6003552bc ******/ %feature("compactdefaultargs") GetBoundingBox; - %feature("autodoc", "Get bounding box for presentation. - -Returns + %feature("autodoc", "Return ------- Bnd_Box + +Description +----------- +Get bounding box for presentation. ") GetBoundingBox; virtual Bnd_Box GetBoundingBox(); - /****************** GetPoints ******************/ - /**** md5 signature: e4eda70415581cdfb96fa049a3263656 ****/ + /****** AIS_PointCloud::GetPoints ******/ + /****** md5 signature: e4eda70415581cdfb96fa049a3263656 ******/ %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. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Get the points array. Method might be overridden to fill in points array dynamically from application data structures. +Return: the array of points. ") GetPoints; virtual const opencascade::handle GetPoints(); - /****************** SetColor ******************/ - /**** md5 signature: 259272248bacb2cef242adbc667f0ef9 ****/ + /****** AIS_PointCloud::SetColor ******/ + /****** md5 signature: 259272248bacb2cef242adbc667f0ef9 ******/ %feature("compactdefaultargs") SetColor; - %feature("autodoc", "Setup custom color. affects presentation only when no per-point color attribute has been assigned. - + %feature("autodoc", " Parameters ---------- theColor: Quantity_Color -Returns +Return ------- None + +Description +----------- +Setup custom color. Affects presentation only when no per-point color attribute has been assigned. ") SetColor; virtual void SetColor(const Quantity_Color & theColor); - /****************** SetMaterial ******************/ - /**** md5 signature: 2361a3d4a6a38f1663c4f2b668f1199e ****/ + /****** AIS_PointCloud::SetMaterial ******/ + /****** md5 signature: 2361a3d4a6a38f1663c4f2b668f1199e ******/ %feature("compactdefaultargs") SetMaterial; - %feature("autodoc", "Setup custom material. affects presentation only when normals are defined. - + %feature("autodoc", " Parameters ---------- theMat: Graphic3d_MaterialAspect -Returns +Return ------- None + +Description +----------- +Setup custom material. Affects presentation only when normals are defined. ") SetMaterial; virtual void SetMaterial(const Graphic3d_MaterialAspect & theMat); - /****************** SetPoints ******************/ - /**** md5 signature: 0b6a2d7fb3cf24bd7f5f4e81bd82b008 ****/ + /****** AIS_PointCloud::SetPoints ******/ + /****** md5 signature: 0b6a2d7fb3cf24bd7f5f4e81bd82b008 ******/ %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. - + %feature("autodoc", " Parameters ---------- thePoints: Graphic3d_ArrayOfPoints -Returns +Return ------- None + +Description +----------- +Sets the points from array of points. Method will not copy the input data - array will be stored as handle. +Input parameter: thePoints the array of points. ") SetPoints; virtual void SetPoints(const opencascade::handle & thePoints); - /****************** SetPoints ******************/ - /**** md5 signature: a5e4149d123953f4aa31667666e721d4 ****/ + /****** AIS_PointCloud::SetPoints ******/ + /****** md5 signature: a5e4149d123953f4aa31667666e721d4 ******/ %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. - + %feature("autodoc", " Parameters ---------- theCoords: TColgp_HArray1OfPnt -theColors: Quantity_HArray1OfColor,optional - default value is NULL -theNormals: TColgp_HArray1OfDir,optional - default value is NULL +theColors: Quantity_HArray1OfColor (optional, default to NULL) +theNormals: TColgp_HArray1OfDir (optional, default to NULL) -Returns +Return ------- None + +Description +----------- +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. +Input parameter: theCoords the array of coordinates +Input parameter: theColors optional array of colors +Input parameter: theNormals optional array of normals. ") SetPoints; virtual void SetPoints(const opencascade::handle & theCoords, const opencascade::handle & theColors = NULL, const opencascade::handle & theNormals = NULL); - /****************** UnsetColor ******************/ - /**** md5 signature: 2da7e2ed6a63f7c70c36c2a82118a7ec ****/ + /****** AIS_PointCloud::UnsetColor ******/ + /****** md5 signature: 2da7e2ed6a63f7c70c36c2a82118a7ec ******/ %feature("compactdefaultargs") UnsetColor; - %feature("autodoc", "Restore default color. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Restore default color. ") UnsetColor; virtual void UnsetColor(); - /****************** UnsetMaterial ******************/ - /**** md5 signature: 0a051ddc9f5267e24615c6f3dfd30498 ****/ + /****** AIS_PointCloud::UnsetMaterial ******/ + /****** md5 signature: 0a051ddc9f5267e24615c6f3dfd30498 ******/ %feature("compactdefaultargs") UnsetMaterial; - %feature("autodoc", "Restore default material. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Restore default material. ") UnsetMaterial; virtual void UnsetMaterial(); @@ -12286,311 +15235,373 @@ None ***********************/ class AIS_RubberBand : public AIS_InteractiveObject { public: - /****************** AIS_RubberBand ******************/ - /**** md5 signature: 830a722d349851c570ded7e3f3ebacf8 ****/ + /****** AIS_RubberBand::AIS_RubberBand ******/ + /****** md5 signature: 830a722d349851c570ded7e3f3ebacf8 ******/ %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. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Constructs rubber band with default configuration: empty filling and white solid lines. @warning It binds this object with Graphic3d_ZLayerId_TopOSD layer. ") AIS_RubberBand; AIS_RubberBand(); - /****************** AIS_RubberBand ******************/ - /**** md5 signature: f206c8224cee53d31fb6bb8cc43bef8e ****/ + /****** AIS_RubberBand::AIS_RubberBand ******/ + /****** md5 signature: f206c8224cee53d31fb6bb8cc43bef8e ******/ %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. - + %feature("autodoc", " Parameters ---------- theLineColor: Quantity_Color theType: Aspect_TypeOfLine -theLineWidth: float,optional - default value is 1.0 -theIsPolygonClosed: bool,optional - default value is Standard_True +theLineWidth: float (optional, default to 1.0) +theIsPolygonClosed: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +Constructs the rubber band with empty filling and defined line style. +Input parameter: theLineColor color of rubber band lines +Input parameter: theType type of rubber band lines +Input parameter: theLineWidth width of rubber band line. By default it is 1. @warning It binds this object with Graphic3d_ZLayerId_TopOSD layer. ") 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 ******************/ - /**** md5 signature: 89e6e93566c08dfc9ed6bc2ca57390a0 ****/ + /****** AIS_RubberBand::AIS_RubberBand ******/ + /****** md5 signature: 89e6e93566c08dfc9ed6bc2ca57390a0 ******/ %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. - + %feature("autodoc", " Parameters ---------- theLineColor: Quantity_Color theType: Aspect_TypeOfLine theFillColor: Quantity_Color -theTransparency: float,optional - default value is 1.0 -theLineWidth: float,optional - default value is 1.0 -theIsPolygonClosed: bool,optional - default value is Standard_True +theTransparency: float (optional, default to 1.0) +theLineWidth: float (optional, default to 1.0) +theIsPolygonClosed: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +Constructs the rubber band with defined filling and line parameters. +Input parameter: theLineColor color of rubber band lines +Input parameter: theType type of rubber band lines +Input parameter: theFillColor color of rubber band filling +Input parameter: theTransparency transparency of the filling. 0 is for opaque filling. By default it is transparent. +Input parameter: theLineWidth width of rubber band line. By default it is 1. @warning It binds this object with Graphic3d_ZLayerId_TopOSD layer. ") 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 ******************/ - /**** md5 signature: 42c27bcd3e0ab815d6401243fb685b51 ****/ + /****** AIS_RubberBand::AddPoint ******/ + /****** md5 signature: 42c27bcd3e0ab815d6401243fb685b51 ******/ %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(). - + %feature("autodoc", " Parameters ---------- thePoint: Graphic3d_Vec2i -Returns +Return ------- None + +Description +----------- +Adds last point to the list of points. They are used to build polygon for rubber band. +See also: RemoveLastPoint(), GetPoints(). ") AddPoint; void AddPoint(const Graphic3d_Vec2i & thePoint); - /****************** ClearPoints ******************/ - /**** md5 signature: 666d63d9f2a8b4f033341bec50a0bbe5 ****/ + /****** AIS_RubberBand::ClearPoints ******/ + /****** md5 signature: 666d63d9f2a8b4f033341bec50a0bbe5 ******/ %feature("compactdefaultargs") ClearPoints; - %feature("autodoc", "Remove all points for the rubber band polygon. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Remove all points for the rubber band polygon. ") ClearPoints; void ClearPoints(); - /****************** FillColor ******************/ - /**** md5 signature: ffbf8b528d2e8dbd58b3fdc84942a96d ****/ + /****** AIS_RubberBand::FillColor ******/ + /****** md5 signature: ffbf8b528d2e8dbd58b3fdc84942a96d ******/ %feature("compactdefaultargs") FillColor; - %feature("autodoc", "Returns the color of rubber band filling. - -Returns + %feature("autodoc", "Return ------- Quantity_Color + +Description +----------- +Return: the color of rubber band filling. ") FillColor; Quantity_Color FillColor(); - /****************** FillTransparency ******************/ - /**** md5 signature: 0c352e3dbfa6432d72d8ec9221d3015d ****/ + /****** AIS_RubberBand::FillTransparency ******/ + /****** md5 signature: 0c352e3dbfa6432d72d8ec9221d3015d ******/ %feature("compactdefaultargs") FillTransparency; - %feature("autodoc", "Returns fill transparency. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Return: fill transparency. ") FillTransparency; Standard_Real FillTransparency(); - /****************** IsFilling ******************/ - /**** md5 signature: 91fdd2021ff1fad726886b499424ccdd ****/ + /****** AIS_RubberBand::IsFilling ******/ + /****** md5 signature: 91fdd2021ff1fad726886b499424ccdd ******/ %feature("compactdefaultargs") IsFilling; - %feature("autodoc", "Returns true if filling of rubber band is enabled. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return: true if filling of rubber band is enabled. ") IsFilling; Standard_Boolean IsFilling(); - /****************** IsPolygonClosed ******************/ - /**** md5 signature: deeb710d374819fbf6ad38f62a301293 ****/ + /****** AIS_RubberBand::IsPolygonClosed ******/ + /****** md5 signature: deeb710d374819fbf6ad38f62a301293 ******/ %feature("compactdefaultargs") IsPolygonClosed; - %feature("autodoc", "Returns true if automatic closing of rubber band is enabled. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return: true if automatic closing of rubber band is enabled. ") IsPolygonClosed; Standard_Boolean IsPolygonClosed(); - /****************** LineColor ******************/ - /**** md5 signature: 287d3db7c040dbd903ae9bab4775434d ****/ + /****** AIS_RubberBand::LineColor ******/ + /****** md5 signature: 287d3db7c040dbd903ae9bab4775434d ******/ %feature("compactdefaultargs") LineColor; - %feature("autodoc", "Returns the color attributes. - -Returns + %feature("autodoc", "Return ------- Quantity_Color + +Description +----------- +Return: the Color attributes. ") LineColor; Quantity_Color LineColor(); - /****************** LineType ******************/ - /**** md5 signature: 0f99f64671ffab5d520407d1f66ce563 ****/ + /****** AIS_RubberBand::LineType ******/ + /****** md5 signature: 0f99f64671ffab5d520407d1f66ce563 ******/ %feature("compactdefaultargs") LineType; - %feature("autodoc", "Returns type of lines. - -Returns + %feature("autodoc", "Return ------- Aspect_TypeOfLine + +Description +----------- +Return: type of lines. ") LineType; Aspect_TypeOfLine LineType(); - /****************** LineWidth ******************/ - /**** md5 signature: 7028be9a1a0deda89ceb2ccd30bda317 ****/ + /****** AIS_RubberBand::LineWidth ******/ + /****** md5 signature: 7028be9a1a0deda89ceb2ccd30bda317 ******/ %feature("compactdefaultargs") LineWidth; - %feature("autodoc", "Returns width of lines. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Return: width of lines. ") LineWidth; Standard_Real LineWidth(); - /****************** Points ******************/ - /**** md5 signature: f9612ca729b2bdd863061545066ec5cc ****/ + /****** AIS_RubberBand::Points ******/ + /****** md5 signature: f9612ca729b2bdd863061545066ec5cc ******/ %feature("compactdefaultargs") Points; - %feature("autodoc", "Returns points for the rubber band polygon. - -Returns + %feature("autodoc", "Return ------- NCollection_Sequence + +Description +----------- +Return: points for the rubber band polygon. ") Points; const NCollection_Sequence & Points(); - /****************** RemoveLastPoint ******************/ - /**** md5 signature: 90c19d859f20a83ceba67713ab84917b ****/ + /****** AIS_RubberBand::RemoveLastPoint ******/ + /****** md5 signature: 90c19d859f20a83ceba67713ab84917b ******/ %feature("compactdefaultargs") RemoveLastPoint; - %feature("autodoc", "Remove last point from the list of points for the rubber band polygon. @sa addpoint(), getpoints(). - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Remove last point from the list of points for the rubber band polygon. +See also: AddPoint(), GetPoints(). ") RemoveLastPoint; void RemoveLastPoint(); - /****************** SetFillColor ******************/ - /**** md5 signature: a05c06141e0ede7ccc6b1d79a19ece27 ****/ + /****** AIS_RubberBand::SetFillColor ******/ + /****** md5 signature: a05c06141e0ede7ccc6b1d79a19ece27 ******/ %feature("compactdefaultargs") SetFillColor; - %feature("autodoc", "Sets color of rubber band filling. - + %feature("autodoc", " Parameters ---------- theColor: Quantity_Color -Returns +Return ------- None + +Description +----------- +Sets color of rubber band filling. ") SetFillColor; void SetFillColor(const Quantity_Color & theColor); - /****************** SetFillTransparency ******************/ - /**** md5 signature: 483f815d00ddd65d253b43360b4b15a1 ****/ + /****** AIS_RubberBand::SetFillTransparency ******/ + /****** md5 signature: 483f815d00ddd65d253b43360b4b15a1 ******/ %feature("compactdefaultargs") SetFillTransparency; - %feature("autodoc", "Sets fill transparency. @param thevalue [in] the transparency value. 1.0 is for transparent background. - + %feature("autodoc", " Parameters ---------- theValue: float -Returns +Return ------- None + +Description +----------- +Sets fill transparency. +Input parameter: theValue the transparency value. 1.0 is for transparent background. ") SetFillTransparency; void SetFillTransparency(const Standard_Real theValue); - /****************** SetFilling ******************/ - /**** md5 signature: df4f622ce4ceece864cea55c7c7d5893 ****/ + /****** AIS_RubberBand::SetFilling ******/ + /****** md5 signature: df4f622ce4ceece864cea55c7c7d5893 ******/ %feature("compactdefaultargs") SetFilling; - %feature("autodoc", "Enable or disable filling of rubber band. - + %feature("autodoc", " Parameters ---------- theIsFilling: bool -Returns +Return ------- None + +Description +----------- +Enable or disable filling of rubber band. ") SetFilling; void SetFilling(const Standard_Boolean theIsFilling); - /****************** SetFilling ******************/ - /**** md5 signature: 0bb022730b6fdadb73a8f3e7920af24e ****/ + /****** AIS_RubberBand::SetFilling ******/ + /****** md5 signature: 0bb022730b6fdadb73a8f3e7920af24e ******/ %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. - + %feature("autodoc", " Parameters ---------- theColor: Quantity_Color theTransparency: float -Returns +Return ------- None + +Description +----------- +Enable filling of rubber band with defined parameters. +Input parameter: theColor color of filling +Input parameter: theTransparency transparency of the filling. 0 is for opaque filling. ") SetFilling; void SetFilling(const Quantity_Color theColor, const Standard_Real theTransparency); - /****************** SetLineColor ******************/ - /**** md5 signature: cda5d06f471777b34354dd1e594e9ba9 ****/ + /****** AIS_RubberBand::SetLineColor ******/ + /****** md5 signature: cda5d06f471777b34354dd1e594e9ba9 ******/ %feature("compactdefaultargs") SetLineColor; - %feature("autodoc", "Sets color of lines for rubber band presentation. - + %feature("autodoc", " Parameters ---------- theColor: Quantity_Color -Returns +Return ------- None + +Description +----------- +Sets color of lines for rubber band presentation. ") SetLineColor; void SetLineColor(const Quantity_Color & theColor); - /****************** SetLineType ******************/ - /**** md5 signature: ad6a901b16ac578c15dc18e99302b01e ****/ + /****** AIS_RubberBand::SetLineType ******/ + /****** md5 signature: ad6a901b16ac578c15dc18e99302b01e ******/ %feature("compactdefaultargs") SetLineType; - %feature("autodoc", "Sets type of line for rubber band presentation. - + %feature("autodoc", " Parameters ---------- theType: Aspect_TypeOfLine -Returns +Return ------- None + +Description +----------- +Sets type of line for rubber band presentation. ") SetLineType; void SetLineType(const Aspect_TypeOfLine theType); - /****************** SetLineWidth ******************/ - /**** md5 signature: b8f442f2ffcdc567b7bd62c5c4cdd45f ****/ + /****** AIS_RubberBand::SetLineWidth ******/ + /****** md5 signature: b8f442f2ffcdc567b7bd62c5c4cdd45f ******/ %feature("compactdefaultargs") SetLineWidth; - %feature("autodoc", "Sets width of line for rubber band presentation. - + %feature("autodoc", " Parameters ---------- theWidth: float -Returns +Return ------- None + +Description +----------- +Sets width of line for rubber band presentation. ") SetLineWidth; void SetLineWidth(const Standard_Real theWidth); - /****************** SetPolygonClosed ******************/ - /**** md5 signature: e051ee25b6bcca4aadc4fd8abe7e174a ****/ + /****** AIS_RubberBand::SetPolygonClosed ******/ + /****** md5 signature: e051ee25b6bcca4aadc4fd8abe7e174a ******/ %feature("compactdefaultargs") SetPolygonClosed; - %feature("autodoc", "Automatically create an additional line connecting the first and the last screen points to close the boundary polyline. - + %feature("autodoc", " Parameters ---------- theIsPolygonClosed: bool -Returns +Return ------- None + +Description +----------- +Automatically create an additional line connecting the first and the last screen points to close the boundary polyline. ") SetPolygonClosed; void SetPolygonClosed(Standard_Boolean theIsPolygonClosed); - /****************** SetRectangle ******************/ - /**** md5 signature: a10c4a7ba9e0ff374fd3fd9a26e1088a ****/ + /****** AIS_RubberBand::SetRectangle ******/ + /****** md5 signature: a10c4a7ba9e0ff374fd3fd9a26e1088a ******/ %feature("compactdefaultargs") SetRectangle; - %feature("autodoc", "Sets rectangle bounds. - + %feature("autodoc", " Parameters ---------- theMinX: int @@ -12598,9 +15609,13 @@ theMinY: int theMaxX: int theMaxY: int -Returns +Return ------- None + +Description +----------- +Sets rectangle bounds. ") SetRectangle; void SetRectangle(const Standard_Integer theMinX, const Standard_Integer theMinY, const Standard_Integer theMaxX, const Standard_Integer theMaxY); @@ -12620,518 +15635,625 @@ None ******************/ class AIS_Shape : public AIS_InteractiveObject { public: - /****************** AIS_Shape ******************/ - /**** md5 signature: 676def0e267dd9cfd41b78bdeb64a3a6 ****/ + /****** AIS_Shape::AIS_Shape ******/ + /****** md5 signature: 676def0e267dd9cfd41b78bdeb64a3a6 ******/ %feature("compactdefaultargs") AIS_Shape; - %feature("autodoc", "Initializes construction of the shape shap from wires, edges and vertices. - + %feature("autodoc", " Parameters ---------- shap: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Initializes construction of the shape shap from wires, edges and vertices. ") AIS_Shape; AIS_Shape(const TopoDS_Shape & shap); - /****************** AcceptDisplayMode ******************/ - /**** md5 signature: 4c81f1c2cfc05fd196e1c09a383a3455 ****/ + /****** AIS_Shape::AcceptDisplayMode ******/ + /****** md5 signature: 4c81f1c2cfc05fd196e1c09a383a3455 ******/ %feature("compactdefaultargs") AcceptDisplayMode; - %feature("autodoc", "Return true if specified display mode is supported. - + %feature("autodoc", " Parameters ---------- theMode: int -Returns +Return ------- bool + +Description +----------- +Return true if specified display mode is supported. ") AcceptDisplayMode; virtual Standard_Boolean AcceptDisplayMode(const Standard_Integer theMode); - /****************** AcceptShapeDecomposition ******************/ - /**** md5 signature: 9203a7c0dd9eda460f91938a68e9d24e ****/ + /****** AIS_Shape::AcceptShapeDecomposition ******/ + /****** md5 signature: 9203a7c0dd9eda460f91938a68e9d24e ******/ %feature("compactdefaultargs") AcceptShapeDecomposition; - %feature("autodoc", "Returns true if the interactive object accepts shape decomposition. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns true if the Interactive Object accepts shape decomposition. ") AcceptShapeDecomposition; virtual Standard_Boolean AcceptShapeDecomposition(); - /****************** BoundingBox ******************/ - /**** md5 signature: c5ba355b93437b89fc95a23246eabd6a ****/ + /****** AIS_Shape::BoundingBox ******/ + /****** md5 signature: c5ba355b93437b89fc95a23246eabd6a ******/ %feature("compactdefaultargs") BoundingBox; - %feature("autodoc", "Constructs a bounding box with which to reconstruct compound topological shapes for presentation. - -Returns + %feature("autodoc", "Return ------- Bnd_Box + +Description +----------- +Constructs a bounding box with which to reconstruct compound topological shapes for presentation. ") BoundingBox; virtual const Bnd_Box & BoundingBox(); - /****************** Color ******************/ - /**** md5 signature: 1982b45d283b92077c1723466ec20a14 ****/ + /****** AIS_Shape::Color ******/ + /****** md5 signature: 1982b45d283b92077c1723466ec20a14 ******/ %feature("compactdefaultargs") Color; - %feature("autodoc", "Returns the color attributes of the shape accordingly to the current facing model;. - + %feature("autodoc", " Parameters ---------- aColor: Quantity_Color -Returns +Return ------- None + +Description +----------- +Returns the Color attributes of the shape accordingly to the current facing model;. ") Color; virtual void Color(Quantity_Color & aColor); - %feature("autodoc", "1"); - %extend{ - std::string DumpJsonToString(int depth=-1) { - std::stringstream s; - self->DumpJson(s, depth); - return s.str();} - }; - /****************** Material ******************/ - /**** md5 signature: bd49ae260cc3f6209d9618dfc722ced2 ****/ - %feature("compactdefaultargs") Material; - %feature("autodoc", "Returns the nameofmaterial attributes of the shape accordingly to the current facing model;. + /****************** DumpJson ******************/ + %feature("autodoc", " +Parameters +---------- +depth: int, default=-1 + +Return +------- +str -Returns +Description +----------- +Dump the object to JSON string. +") DumpJson; + %extend{ + std::string DumpJson(int depth=-1) { + std::stringstream s; + self->DumpJson(s, depth); + return "{" + s.str() + "}" ;} + }; + /****** AIS_Shape::Material ******/ + /****** md5 signature: bd49ae260cc3f6209d9618dfc722ced2 ******/ + %feature("compactdefaultargs") Material; + %feature("autodoc", "Return ------- Graphic3d_NameOfMaterial + +Description +----------- +Returns the NameOfMaterial attributes of the shape accordingly to the current facing model;. ") Material; virtual Graphic3d_NameOfMaterial Material(); - /****************** OwnDeviationAngle ******************/ - /**** md5 signature: 40e9067bc6e61f75e42a502bd518a070 ****/ + /****** AIS_Shape::OwnDeviationAngle ******/ + /****** md5 signature: 40e9067bc6e61f75e42a502bd518a070 ******/ %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. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- anAngle: float aPreviousAngle: float + +Description +----------- +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. ") OwnDeviationAngle; Standard_Boolean OwnDeviationAngle(Standard_Real &OutValue, Standard_Real &OutValue); - /****************** OwnDeviationCoefficient ******************/ - /**** md5 signature: 37b33b79d8eb25faa0a3dd31519d110a ****/ + /****** AIS_Shape::OwnDeviationCoefficient ******/ + /****** md5 signature: 37b33b79d8eb25faa0a3dd31519d110a ******/ %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. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- aCoefficient: float aPreviousCoefficient: float + +Description +----------- +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. ") OwnDeviationCoefficient; Standard_Boolean OwnDeviationCoefficient(Standard_Real &OutValue, Standard_Real &OutValue); - /****************** SelectionMode ******************/ - /**** md5 signature: 4a947460fc181fe83e633a9f49d508dd ****/ + /****** AIS_Shape::SelectionMode ******/ + /****** md5 signature: 4a947460fc181fe83e633a9f49d508dd ******/ %feature("compactdefaultargs") SelectionMode; - %feature("autodoc", "Return selection mode for specified shape type. - + %feature("autodoc", " Parameters ---------- theShapeType: TopAbs_ShapeEnum -Returns +Return ------- int + +Description +----------- +Return selection mode for specified shape type. ") SelectionMode; static Standard_Integer SelectionMode(const TopAbs_ShapeEnum theShapeType); - /****************** SelectionType ******************/ - /**** md5 signature: 3418b538998473b7ebfd408f8153924e ****/ + /****** AIS_Shape::SelectionType ******/ + /****** md5 signature: 3418b538998473b7ebfd408f8153924e ******/ %feature("compactdefaultargs") SelectionType; - %feature("autodoc", "Return shape type for specified selection mode. - + %feature("autodoc", " Parameters ---------- theSelMode: int -Returns +Return ------- TopAbs_ShapeEnum + +Description +----------- +Return shape type for specified selection mode. ") SelectionType; static TopAbs_ShapeEnum SelectionType(const Standard_Integer theSelMode); - /****************** Set ******************/ - /**** md5 signature: 51503ed05940c30aefe5458efb0529e5 ****/ + /****** AIS_Shape::Set ******/ + /****** md5 signature: 51503ed05940c30aefe5458efb0529e5 ******/ %feature("compactdefaultargs") Set; - %feature("autodoc", "Alias for ::setshape(). - + %feature("autodoc", " Parameters ---------- theShape: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Alias for ::SetShape(). ") Set; void Set(const TopoDS_Shape & theShape); - /****************** SetAngleAndDeviation ******************/ - /**** md5 signature: 3f26a06c2a928474bccaea0ef6a5a4cd ****/ + /****** AIS_Shape::SetAngleAndDeviation ******/ + /****** md5 signature: 3f26a06c2a928474bccaea0ef6a5a4cd ******/ %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. - + %feature("autodoc", " Parameters ---------- anAngle: float -Returns +Return ------- None + +Description +----------- +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. ") SetAngleAndDeviation; void SetAngleAndDeviation(const Standard_Real anAngle); - /****************** SetColor ******************/ - /**** md5 signature: 259272248bacb2cef242adbc667f0ef9 ****/ + /****** AIS_Shape::SetColor ******/ + /****** md5 signature: 259272248bacb2cef242adbc667f0ef9 ******/ %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. - + %feature("autodoc", " Parameters ---------- theColor: Quantity_Color -Returns +Return ------- None + +Description +----------- +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. ") SetColor; virtual void SetColor(const Quantity_Color & theColor); - /****************** SetMaterial ******************/ - /**** md5 signature: cc1b64cc41c0ecb4b453d96f4996d469 ****/ + /****** AIS_Shape::SetMaterial ******/ + /****** md5 signature: cc1b64cc41c0ecb4b453d96f4996d469 ******/ %feature("compactdefaultargs") SetMaterial; - %feature("autodoc", "Allows you to provide settings for the material aname in the reconstructed compound shape. - + %feature("autodoc", " Parameters ---------- aName: Graphic3d_MaterialAspect -Returns +Return ------- None + +Description +----------- +Allows you to provide settings for the material aName in the reconstructed compound shape. ") SetMaterial; virtual void SetMaterial(const Graphic3d_MaterialAspect & aName); - /****************** SetOwnDeviationAngle ******************/ - /**** md5 signature: aec2fb5ac4ce30b0f41b58af1d45999f ****/ + /****** AIS_Shape::SetOwnDeviationAngle ******/ + /****** md5 signature: aec2fb5ac4ce30b0f41b58af1d45999f ******/ %feature("compactdefaultargs") SetOwnDeviationAngle; - %feature("autodoc", "Sets a local value for deviation angle for this specific shape. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Sets a local value for deviation angle for this specific shape. ") SetOwnDeviationAngle; Standard_Boolean SetOwnDeviationAngle(); - /****************** SetOwnDeviationAngle ******************/ - /**** md5 signature: 3061c55552c128f703fa14901147c62a ****/ + /****** AIS_Shape::SetOwnDeviationAngle ******/ + /****** md5 signature: 3061c55552c128f703fa14901147c62a ******/ %feature("compactdefaultargs") SetOwnDeviationAngle; - %feature("autodoc", "Sets myowndeviationangle field in prs3d_drawer & recomputes presentation. - + %feature("autodoc", " Parameters ---------- anAngle: float -Returns +Return ------- None + +Description +----------- +sets myOwnDeviationAngle field in Prs3d_Drawer & recomputes presentation. ") SetOwnDeviationAngle; void SetOwnDeviationAngle(const Standard_Real anAngle); - /****************** SetOwnDeviationCoefficient ******************/ - /**** md5 signature: 1c85ce58334056121dacea2a7d566b14 ****/ + /****** AIS_Shape::SetOwnDeviationCoefficient ******/ + /****** md5 signature: 1c85ce58334056121dacea2a7d566b14 ******/ %feature("compactdefaultargs") SetOwnDeviationCoefficient; - %feature("autodoc", "Sets a local value for deviation coefficient for this specific shape. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Sets a local value for deviation coefficient for this specific shape. ") SetOwnDeviationCoefficient; Standard_Boolean SetOwnDeviationCoefficient(); - /****************** SetOwnDeviationCoefficient ******************/ - /**** md5 signature: 75d3daa7bdb95da77761e0553fc0712d ****/ + /****** AIS_Shape::SetOwnDeviationCoefficient ******/ + /****** md5 signature: 75d3daa7bdb95da77761e0553fc0712d ******/ %feature("compactdefaultargs") SetOwnDeviationCoefficient; - %feature("autodoc", "Sets a local value for deviation coefficient for this specific shape. - + %feature("autodoc", " Parameters ---------- aCoefficient: float -Returns +Return ------- None + +Description +----------- +Sets a local value for deviation coefficient for this specific shape. ") SetOwnDeviationCoefficient; void SetOwnDeviationCoefficient(const Standard_Real aCoefficient); - /****************** SetShape ******************/ - /**** md5 signature: 927e2ebe2fb5354dfb3da3c53e512cad ****/ + /****** AIS_Shape::SetShape ******/ + /****** md5 signature: 927e2ebe2fb5354dfb3da3c53e512cad ******/ %feature("compactdefaultargs") SetShape; - %feature("autodoc", "Constructs an instance of the shape object theshape. - + %feature("autodoc", " Parameters ---------- theShape: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Constructs an instance of the shape object theShape. ") SetShape; void SetShape(const TopoDS_Shape & theShape); - /****************** SetTextureOriginUV ******************/ - /**** md5 signature: ef6ae799011e0e64c5951dbb75a0bbf3 ****/ + /****** AIS_Shape::SetTextureOriginUV ******/ + /****** md5 signature: ef6ae799011e0e64c5951dbb75a0bbf3 ******/ %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()). - + %feature("autodoc", " Parameters ---------- theOriginUV: gp_Pnt2d -Returns +Return ------- None + +Description +----------- +Use this method to change the origin of the texture. The texel (0,0) will be mapped to the surface (myUVOrigin.X(), myUVOrigin.Y()). ") SetTextureOriginUV; void SetTextureOriginUV(const gp_Pnt2d & theOriginUV); - /****************** SetTextureRepeatUV ******************/ - /**** md5 signature: 25b37b340fee812ff2a622d745958d59 ****/ + /****** AIS_Shape::SetTextureRepeatUV ******/ + /****** md5 signature: 25b37b340fee812ff2a622d745958d59 ******/ %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). - + %feature("autodoc", " Parameters ---------- theRepeatUV: gp_Pnt2d -Returns +Return ------- None + +Description +----------- +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). ") SetTextureRepeatUV; void SetTextureRepeatUV(const gp_Pnt2d & theRepeatUV); - /****************** SetTextureScaleUV ******************/ - /**** md5 signature: ec42ab71903fb0177a6a0aa0ee8187f9 ****/ + /****** AIS_Shape::SetTextureScaleUV ******/ + /****** md5 signature: ec42ab71903fb0177a6a0aa0ee8187f9 ******/ %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. - + %feature("autodoc", " Parameters ---------- theScaleUV: gp_Pnt2d -Returns +Return ------- None + +Description +----------- +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. ") SetTextureScaleUV; void SetTextureScaleUV(const gp_Pnt2d & theScaleUV); - /****************** SetTransparency ******************/ - /**** md5 signature: 92324fa31dc7752e99539d3b250e4522 ****/ + /****** AIS_Shape::SetTransparency ******/ + /****** md5 signature: 92324fa31dc7752e99539d3b250e4522 ******/ %feature("compactdefaultargs") SetTransparency; - %feature("autodoc", "Sets the value avalue for transparency in the reconstructed compound shape. - + %feature("autodoc", " Parameters ---------- -aValue: float,optional - default value is 0.6 +aValue: float (optional, default to 0.6) -Returns +Return ------- None + +Description +----------- +Sets the value aValue for transparency in the reconstructed compound shape. ") SetTransparency; virtual void SetTransparency(const Standard_Real aValue = 0.6); - /****************** SetTypeOfHLR ******************/ - /**** md5 signature: f05d013edd687a2ace45302343607b0d ****/ + /****** AIS_Shape::SetTypeOfHLR ******/ + /****** md5 signature: f05d013edd687a2ace45302343607b0d ******/ %feature("compactdefaultargs") SetTypeOfHLR; - %feature("autodoc", "Sets the type of hlr algorithm used by the shape. - + %feature("autodoc", " Parameters ---------- theTypeOfHLR: Prs3d_TypeOfHLR -Returns +Return ------- None + +Description +----------- +Sets the type of HLR algorithm used by the shape. ") SetTypeOfHLR; void SetTypeOfHLR(const Prs3d_TypeOfHLR theTypeOfHLR); - /****************** SetWidth ******************/ - /**** md5 signature: e7615096a848f5015090af1e7028d21b ****/ + /****** AIS_Shape::SetWidth ******/ + /****** md5 signature: e7615096a848f5015090af1e7028d21b ******/ %feature("compactdefaultargs") SetWidth; - %feature("autodoc", "Sets the value avalue for line width in the reconstructed compound shape. changes line aspects for lines presentation. - + %feature("autodoc", " Parameters ---------- aValue: float -Returns +Return ------- None + +Description +----------- +Sets the value aValue for line width in the reconstructed compound shape. Changes line aspects for lines presentation. ") SetWidth; virtual void SetWidth(const Standard_Real aValue); - /****************** Shape ******************/ - /**** md5 signature: 1058569f5d639354fedf11e73741b7df ****/ + /****** AIS_Shape::Shape ******/ + /****** md5 signature: 1058569f5d639354fedf11e73741b7df ******/ %feature("compactdefaultargs") Shape; - %feature("autodoc", "Returns this shape object. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +Returns this shape object. ") Shape; const TopoDS_Shape Shape(); - /****************** Signature ******************/ - /**** md5 signature: 4e037e01ba764fd5d5261e3d9ba6557d ****/ + /****** AIS_Shape::Signature ******/ + /****** md5 signature: 4e037e01ba764fd5d5261e3d9ba6557d ******/ %feature("compactdefaultargs") Signature; - %feature("autodoc", "Returns index 0. this value refers to shape from topabs_shapeenum. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns index 0. This value refers to SHAPE from TopAbs_ShapeEnum. ") Signature; virtual Standard_Integer Signature(); - /****************** TextureOriginUV ******************/ - /**** md5 signature: c2e574654e7fff1283a776325c9d03eb ****/ + /****** AIS_Shape::TextureOriginUV ******/ + /****** md5 signature: c2e574654e7fff1283a776325c9d03eb ******/ %feature("compactdefaultargs") TextureOriginUV; - %feature("autodoc", "Return texture origin uv position; (0, 0) by default. - -Returns + %feature("autodoc", "Return ------- gp_Pnt2d + +Description +----------- +Return texture origin UV position; (0, 0) by default. ") TextureOriginUV; const gp_Pnt2d TextureOriginUV(); - /****************** TextureRepeatUV ******************/ - /**** md5 signature: de849df2f2a78aabc5d59235e4643811 ****/ + /****** AIS_Shape::TextureRepeatUV ******/ + /****** md5 signature: de849df2f2a78aabc5d59235e4643811 ******/ %feature("compactdefaultargs") TextureRepeatUV; - %feature("autodoc", "Return texture repeat uv values; (1, 1) by default. - -Returns + %feature("autodoc", "Return ------- gp_Pnt2d + +Description +----------- +Return texture repeat UV values; (1, 1) by default. ") TextureRepeatUV; const gp_Pnt2d TextureRepeatUV(); - /****************** TextureScaleUV ******************/ - /**** md5 signature: 4a631ef97f685c7cc9ee0c3ecef81321 ****/ + /****** AIS_Shape::TextureScaleUV ******/ + /****** md5 signature: 4a631ef97f685c7cc9ee0c3ecef81321 ******/ %feature("compactdefaultargs") TextureScaleUV; - %feature("autodoc", "Return scale factor for uv coordinates; (1, 1) by default. - -Returns + %feature("autodoc", "Return ------- gp_Pnt2d + +Description +----------- +Return scale factor for UV coordinates; (1, 1) by default. ") TextureScaleUV; const gp_Pnt2d TextureScaleUV(); - /****************** Transparency ******************/ - /**** md5 signature: bfa77aad49dcd61a1bc27d8c82087538 ****/ + /****** AIS_Shape::Transparency ******/ + /****** md5 signature: bfa77aad49dcd61a1bc27d8c82087538 ******/ %feature("compactdefaultargs") Transparency; - %feature("autodoc", "Returns the transparency attributes of the shape accordingly to the current facing model;. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the transparency attributes of the shape accordingly to the current facing model;. ") Transparency; virtual Standard_Real Transparency(); - /****************** Type ******************/ - /**** md5 signature: bf4aea6b24d0b584b57c781f208134ec ****/ + /****** AIS_Shape::Type ******/ + /****** md5 signature: bf4aea6b24d0b584b57c781f208134ec ******/ %feature("compactdefaultargs") Type; - %feature("autodoc", "Returns object as the type of interactive object. - -Returns + %feature("autodoc", "Return ------- AIS_KindOfInteractive + +Description +----------- +Returns Object as the type of Interactive Object. ") Type; virtual AIS_KindOfInteractive Type(); - /****************** TypeOfHLR ******************/ - /**** md5 signature: 6e7597badcbcce7d92e2fcaa7413af66 ****/ + /****** AIS_Shape::TypeOfHLR ******/ + /****** md5 signature: 6e7597badcbcce7d92e2fcaa7413af66 ******/ %feature("compactdefaultargs") TypeOfHLR; - %feature("autodoc", "Gets the type of hlr algorithm. - -Returns + %feature("autodoc", "Return ------- Prs3d_TypeOfHLR + +Description +----------- +Gets the type of HLR algorithm. ") TypeOfHLR; Prs3d_TypeOfHLR TypeOfHLR(); - /****************** UnsetColor ******************/ - /**** md5 signature: 2da7e2ed6a63f7c70c36c2a82118a7ec ****/ + /****** AIS_Shape::UnsetColor ******/ + /****** md5 signature: 2da7e2ed6a63f7c70c36c2a82118a7ec ******/ %feature("compactdefaultargs") UnsetColor; - %feature("autodoc", "Removes settings for color in the reconstructed compound shape. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Removes settings for color in the reconstructed compound shape. ") UnsetColor; virtual void UnsetColor(); - /****************** UnsetMaterial ******************/ - /**** md5 signature: 0a051ddc9f5267e24615c6f3dfd30498 ****/ + /****** AIS_Shape::UnsetMaterial ******/ + /****** md5 signature: 0a051ddc9f5267e24615c6f3dfd30498 ******/ %feature("compactdefaultargs") UnsetMaterial; - %feature("autodoc", "Removes settings for material in the reconstructed compound shape. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Removes settings for material in the reconstructed compound shape. ") UnsetMaterial; virtual void UnsetMaterial(); - /****************** UnsetTransparency ******************/ - /**** md5 signature: bdf34ac27dd66c689517e7b105e66cb2 ****/ + /****** AIS_Shape::UnsetTransparency ******/ + /****** md5 signature: bdf34ac27dd66c689517e7b105e66cb2 ******/ %feature("compactdefaultargs") UnsetTransparency; - %feature("autodoc", "Removes the setting for transparency in the reconstructed compound shape. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Removes the setting for transparency in the reconstructed compound shape. ") UnsetTransparency; virtual void UnsetTransparency(); - /****************** UnsetWidth ******************/ - /**** md5 signature: f4f13d47402fae34af3d548b3b62cf10 ****/ + /****** AIS_Shape::UnsetWidth ******/ + /****** md5 signature: f4f13d47402fae34af3d548b3b62cf10 ******/ %feature("compactdefaultargs") UnsetWidth; - %feature("autodoc", "Removes the setting for line width in the reconstructed compound shape. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Removes the setting for line width in the reconstructed compound shape. ") UnsetWidth; virtual void UnsetWidth(); - /****************** UserAngle ******************/ - /**** md5 signature: edce4b4e5010ac8160b607ac8192497e ****/ + /****** AIS_Shape::UserAngle ******/ + /****** md5 signature: edce4b4e5010ac8160b607ac8192497e ******/ %feature("compactdefaultargs") UserAngle; - %feature("autodoc", "Gives back the angle initial value put by the user. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +gives back the angle initial value put by the User. ") UserAngle; Standard_Real UserAngle(); - /****************** computeHlrPresentation ******************/ - /**** md5 signature: 2c89e1d02192d3494845e204cf0b751c ****/ + /****** AIS_Shape::computeHlrPresentation ******/ + /****** md5 signature: 2c89e1d02192d3494845e204cf0b751c ******/ %feature("compactdefaultargs") computeHlrPresentation; - %feature("autodoc", "Compute hlr presentation for specified shape. - + %feature("autodoc", " Parameters ---------- theProjector: Graphic3d_Camera @@ -13139,9 +16261,13 @@ thePrs: Prs3d_Presentation theShape: TopoDS_Shape theDrawer: Prs3d_Drawer -Returns +Return ------- None + +Description +----------- +Compute HLR presentation for specified shape. ") computeHlrPresentation; static void computeHlrPresentation(const opencascade::handle & theProjector, const opencascade::handle & thePrs, const TopoDS_Shape & theShape, const opencascade::handle & theDrawer); @@ -13161,34 +16287,40 @@ None ****************************/ class AIS_SignatureFilter : public AIS_TypeFilter { public: - /****************** AIS_SignatureFilter ******************/ - /**** md5 signature: 57bfd47e3c0b858781c37970ccb12c16 ****/ + /****** AIS_SignatureFilter::AIS_SignatureFilter ******/ + /****** md5 signature: 57bfd47e3c0b858781c37970ccb12c16 ******/ %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", " Parameters ---------- aGivenKind: AIS_KindOfInteractive aGivenSignature: int -Returns +Return ------- None + +Description +----------- +Initializes the signature filter, adding the signature specification, aGivenSignature, to that for type, aGivenKind, in AIS_TypeFilter. ") AIS_SignatureFilter; AIS_SignatureFilter(const AIS_KindOfInteractive aGivenKind, const Standard_Integer aGivenSignature); - /****************** IsOk ******************/ - /**** md5 signature: 22a33e4e2022519dc44ef8862044fea0 ****/ + /****** AIS_SignatureFilter::IsOk ******/ + /****** md5 signature: 22a33e4e2022519dc44ef8862044fea0 ******/ %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... - + %feature("autodoc", " Parameters ---------- anobj: SelectMgr_EntityOwner -Returns +Return ------- bool + +Description +----------- +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; Standard_Boolean IsOk(const opencascade::handle & anobj); @@ -13208,420 +16340,501 @@ bool **********************/ class AIS_TextLabel : public AIS_InteractiveObject { public: - /****************** AIS_TextLabel ******************/ - /**** md5 signature: ea29765f87567cd9f618ee169e658a97 ****/ + /****** AIS_TextLabel::AIS_TextLabel ******/ + /****** md5 signature: ea29765f87567cd9f618ee169e658a97 ******/ %feature("compactdefaultargs") AIS_TextLabel; - %feature("autodoc", "Default constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Default constructor. ") AIS_TextLabel; AIS_TextLabel(); - /****************** AcceptDisplayMode ******************/ - /**** md5 signature: 4c81f1c2cfc05fd196e1c09a383a3455 ****/ + /****** AIS_TextLabel::AcceptDisplayMode ******/ + /****** md5 signature: 4c81f1c2cfc05fd196e1c09a383a3455 ******/ %feature("compactdefaultargs") AcceptDisplayMode; - %feature("autodoc", "Return true for supported display mode. - + %feature("autodoc", " Parameters ---------- theMode: int -Returns +Return ------- bool + +Description +----------- +Return True for supported display mode. ") AcceptDisplayMode; virtual Standard_Boolean AcceptDisplayMode(const Standard_Integer theMode); - /****************** FontAspect ******************/ - /**** md5 signature: 6949367e7841153f9bf40dc3c8ceebde ****/ + /****** AIS_TextLabel::FontAspect ******/ + /****** md5 signature: 6949367e7841153f9bf40dc3c8ceebde ******/ %feature("compactdefaultargs") FontAspect; - %feature("autodoc", "Returns the font aspect of the label text. - -Returns + %feature("autodoc", "Return ------- Font_FontAspect + +Description +----------- +Returns the font aspect of the label text. ") FontAspect; Font_FontAspect FontAspect(); - /****************** FontName ******************/ - /**** md5 signature: 2c67f4ccf190033bd2df359b02c80019 ****/ + /****** AIS_TextLabel::FontName ******/ + /****** md5 signature: 2c67f4ccf190033bd2df359b02c80019 ******/ %feature("compactdefaultargs") FontName; - %feature("autodoc", "Returns the font of the label text. - -Returns + %feature("autodoc", "Return ------- TCollection_AsciiString + +Description +----------- +Returns the font of the label text. ") FontName; const TCollection_AsciiString & FontName(); - /****************** HasFlipping ******************/ - /**** md5 signature: e5aa6181c813315a6f4edf94cdb0e9ac ****/ + /****** AIS_TextLabel::HasFlipping ******/ + /****** md5 signature: e5aa6181c813315a6f4edf94cdb0e9ac ******/ %feature("compactdefaultargs") HasFlipping; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") HasFlipping; Standard_Boolean HasFlipping(); - /****************** HasOrientation3D ******************/ - /**** md5 signature: 32890c1ea6df573c66760af44025329e ****/ + /****** AIS_TextLabel::HasOrientation3D ******/ + /****** md5 signature: 32890c1ea6df573c66760af44025329e ******/ %feature("compactdefaultargs") HasOrientation3D; - %feature("autodoc", "Returns true if the current text placement mode uses text orientation in the model 3d space. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns true if the current text placement mode uses text orientation in the model 3D space. ") HasOrientation3D; Standard_Boolean HasOrientation3D(); - /****************** HasOwnAnchorPoint ******************/ - /**** md5 signature: e37194a0a04c6cfedb999cfbbcc9f46f ****/ + /****** AIS_TextLabel::HasOwnAnchorPoint ******/ + /****** md5 signature: e37194a0a04c6cfedb999cfbbcc9f46f ******/ %feature("compactdefaultargs") HasOwnAnchorPoint; - %feature("autodoc", "Returns flag if text uses position as point of attach. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns flag if text uses position as point of attach. ") HasOwnAnchorPoint; Standard_Boolean HasOwnAnchorPoint(); - /****************** Orientation3D ******************/ - /**** md5 signature: 59c12b43a793dfc418565149b93d1848 ****/ + /****** AIS_TextLabel::Orientation3D ******/ + /****** md5 signature: 59c12b43a793dfc418565149b93d1848 ******/ %feature("compactdefaultargs") Orientation3D; - %feature("autodoc", "Returns label orientation in the model 3d space. - -Returns + %feature("autodoc", "Return ------- gp_Ax2 + +Description +----------- +Returns label orientation in the model 3D space. ") Orientation3D; const gp_Ax2 Orientation3D(); - /****************** Position ******************/ - /**** md5 signature: b397668de8ab55c0ba7dba3385ed76d0 ****/ + /****** AIS_TextLabel::Position ******/ + /****** md5 signature: b397668de8ab55c0ba7dba3385ed76d0 ******/ %feature("compactdefaultargs") Position; - %feature("autodoc", "Returns position. - -Returns + %feature("autodoc", "Return ------- gp_Pnt + +Description +----------- +Returns position. ") Position; const gp_Pnt Position(); - /****************** SetAngle ******************/ - /**** md5 signature: dd6cdd7e9c31b2b6461d8a3e1df2d0ba ****/ + /****** AIS_TextLabel::SetAngle ******/ + /****** md5 signature: dd6cdd7e9c31b2b6461d8a3e1df2d0ba ******/ %feature("compactdefaultargs") SetAngle; - %feature("autodoc", "Setup angle. - + %feature("autodoc", " Parameters ---------- theAngle: float -Returns +Return ------- None + +Description +----------- +Setup angle. ") SetAngle; void SetAngle(const Standard_Real theAngle); - /****************** SetColor ******************/ - /**** md5 signature: 259272248bacb2cef242adbc667f0ef9 ****/ + /****** AIS_TextLabel::SetColor ******/ + /****** md5 signature: 259272248bacb2cef242adbc667f0ef9 ******/ %feature("compactdefaultargs") SetColor; - %feature("autodoc", "Setup color of entire text. - + %feature("autodoc", " Parameters ---------- theColor: Quantity_Color -Returns +Return ------- None + +Description +----------- +Setup color of entire text. ") SetColor; virtual void SetColor(const Quantity_Color & theColor); - /****************** SetColorSubTitle ******************/ - /**** md5 signature: 86b27f31504d545b35f6d527a8614032 ****/ + /****** AIS_TextLabel::SetColorSubTitle ******/ + /****** md5 signature: 86b27f31504d545b35f6d527a8614032 ******/ %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. - + %feature("autodoc", " Parameters ---------- theColor: Quantity_Color -Returns +Return ------- None + +Description +----------- +Modifies the colour of the subtitle for the TODT_SUBTITLE TextDisplayType and the colour of backgroubd for the TODT_DEKALE TextDisplayType. ") SetColorSubTitle; void SetColorSubTitle(const Quantity_Color & theColor); - /****************** SetDisplayType ******************/ - /**** md5 signature: 841f090e5b526ffb97840b2c0b5ccf62 ****/ + /****** AIS_TextLabel::SetDisplayType ******/ + /****** md5 signature: 841f090e5b526ffb97840b2c0b5ccf62 ******/ %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. - + %feature("autodoc", " Parameters ---------- theDisplayType: Aspect_TypeOfDisplayText -Returns +Return ------- None + +Description +----------- +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. ") SetDisplayType; void SetDisplayType(const Aspect_TypeOfDisplayText theDisplayType); - /****************** SetFlipping ******************/ - /**** md5 signature: 63ae61d2bbfa473697ae5bde51aa1b85 ****/ + /****** AIS_TextLabel::SetFlipping ******/ + /****** md5 signature: 63ae61d2bbfa473697ae5bde51aa1b85 ******/ %feature("compactdefaultargs") SetFlipping; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theIsFlipping: bool -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetFlipping; void SetFlipping(const Standard_Boolean theIsFlipping); - /****************** SetFont ******************/ - /**** md5 signature: d9bf22282bf38a81d5b21c8bf460eabf ****/ + /****** AIS_TextLabel::SetFont ******/ + /****** md5 signature: d9bf22282bf38a81d5b21c8bf460eabf ******/ %feature("compactdefaultargs") SetFont; - %feature("autodoc", "Setup font. - + %feature("autodoc", " Parameters ---------- -theFont: char * +theFont: str -Returns +Return ------- None + +Description +----------- +Setup font. ") SetFont; - void SetFont(const char * theFont); + void SetFont(Standard_CString theFont); - /****************** SetFontAspect ******************/ - /**** md5 signature: 5c2494c796ae98d97b009a2fec1f0d8d ****/ + /****** AIS_TextLabel::SetFontAspect ******/ + /****** md5 signature: 5c2494c796ae98d97b009a2fec1f0d8d ******/ %feature("compactdefaultargs") SetFontAspect; - %feature("autodoc", "Setup font aspect. - + %feature("autodoc", " Parameters ---------- theFontAspect: Font_FontAspect -Returns +Return ------- None + +Description +----------- +Setup font aspect. ") SetFontAspect; void SetFontAspect(const Font_FontAspect theFontAspect); - /****************** SetHJustification ******************/ - /**** md5 signature: 222b316fbe2b20961d17c752ca22f482 ****/ + /****** AIS_TextLabel::SetHJustification ******/ + /****** md5 signature: 222b316fbe2b20961d17c752ca22f482 ******/ %feature("compactdefaultargs") SetHJustification; - %feature("autodoc", "Setup horizontal justification. - + %feature("autodoc", " Parameters ---------- theHJust: Graphic3d_HorizontalTextAlignment -Returns +Return ------- None + +Description +----------- +Setup horizontal justification. ") SetHJustification; void SetHJustification(const Graphic3d_HorizontalTextAlignment theHJust); - /****************** SetHeight ******************/ - /**** md5 signature: 805878ad5815242d668f44db87535707 ****/ + /****** AIS_TextLabel::SetHeight ******/ + /****** md5 signature: 805878ad5815242d668f44db87535707 ******/ %feature("compactdefaultargs") SetHeight; - %feature("autodoc", "Setup height. - + %feature("autodoc", " Parameters ---------- theHeight: float -Returns +Return ------- None + +Description +----------- +Setup height. ") SetHeight; void SetHeight(const Standard_Real theHeight); - /****************** SetMaterial ******************/ - /**** md5 signature: 66ca7d2e5ce9f246d7fa85fd0d49ef24 ****/ + /****** AIS_TextLabel::SetMaterial ******/ + /****** md5 signature: 66ca7d2e5ce9f246d7fa85fd0d49ef24 ******/ %feature("compactdefaultargs") SetMaterial; - %feature("autodoc", "Material has no effect for text label. - + %feature("autodoc", " Parameters ---------- &: Graphic3d_MaterialAspect -Returns +Return ------- None + +Description +----------- +Material has no effect for text label. ") SetMaterial; virtual void SetMaterial(const Graphic3d_MaterialAspect &); - /****************** SetOrientation3D ******************/ - /**** md5 signature: 495ee926ccc07e7eec3f148e71ebe0e0 ****/ + /****** AIS_TextLabel::SetOrientation3D ******/ + /****** md5 signature: 495ee926ccc07e7eec3f148e71ebe0e0 ******/ %feature("compactdefaultargs") SetOrientation3D; - %feature("autodoc", "Setup label orientation in the model 3d space. - + %feature("autodoc", " Parameters ---------- theOrientation: gp_Ax2 -Returns +Return ------- None + +Description +----------- +Setup label orientation in the model 3D space. ") SetOrientation3D; void SetOrientation3D(const gp_Ax2 & theOrientation); - /****************** SetOwnAnchorPoint ******************/ - /**** md5 signature: 4420b2820f2b347d958d5ff71cef8f14 ****/ + /****** AIS_TextLabel::SetOwnAnchorPoint ******/ + /****** md5 signature: 4420b2820f2b347d958d5ff71cef8f14 ******/ %feature("compactdefaultargs") SetOwnAnchorPoint; - %feature("autodoc", "Set flag if text uses position as point of attach. - + %feature("autodoc", " Parameters ---------- theOwnAnchorPoint: bool -Returns +Return ------- None + +Description +----------- +Set flag if text uses position as point of attach. ") SetOwnAnchorPoint; void SetOwnAnchorPoint(const Standard_Boolean theOwnAnchorPoint); - /****************** SetPosition ******************/ - /**** md5 signature: 6cd7cdcecb59ee7f74eb9c342f464f4d ****/ + /****** AIS_TextLabel::SetPosition ******/ + /****** md5 signature: 6cd7cdcecb59ee7f74eb9c342f464f4d ******/ %feature("compactdefaultargs") SetPosition; - %feature("autodoc", "Setup position. - + %feature("autodoc", " Parameters ---------- thePosition: gp_Pnt -Returns +Return ------- None + +Description +----------- +Setup position. ") SetPosition; void SetPosition(const gp_Pnt & thePosition); - /****************** SetText ******************/ - /**** md5 signature: 4a1b137668607e74e5fd1c9c0ecf6bb3 ****/ + /****** AIS_TextLabel::SetText ******/ + /****** md5 signature: 4a1b137668607e74e5fd1c9c0ecf6bb3 ******/ %feature("compactdefaultargs") SetText; - %feature("autodoc", "Setup text. - + %feature("autodoc", " Parameters ---------- -theText: TCollection_ExtendedString +theText: str -Returns +Return ------- None + +Description +----------- +Setup text. ") SetText; - void SetText(const TCollection_ExtendedString & theText); + void SetText(TCollection_ExtendedString theText); - /****************** SetTextFormatter ******************/ - /**** md5 signature: 69d92dbd5b2f2ec93859c8dcc0b4f585 ****/ + /****** AIS_TextLabel::SetTextFormatter ******/ + /****** md5 signature: 69d92dbd5b2f2ec93859c8dcc0b4f585 ******/ %feature("compactdefaultargs") SetTextFormatter; - %feature("autodoc", "Setup text formatter for presentation. it's empty by default. - + %feature("autodoc", " Parameters ---------- theFormatter: Font_TextFormatter -Returns +Return ------- None + +Description +----------- +Setup text formatter for presentation. It's empty by default. ") SetTextFormatter; void SetTextFormatter(const opencascade::handle & theFormatter); - /****************** SetTransparency ******************/ - /**** md5 signature: ba76d0fd3455858ee750a8806e400e81 ****/ + /****** AIS_TextLabel::SetTransparency ******/ + /****** md5 signature: ba76d0fd3455858ee750a8806e400e81 ******/ %feature("compactdefaultargs") SetTransparency; - %feature("autodoc", "Setup transparency within [0, 1] range. - + %feature("autodoc", " Parameters ---------- theValue: float -Returns +Return ------- None + +Description +----------- +Setup transparency within [0, 1] range. ") SetTransparency; virtual void SetTransparency(const Standard_Real theValue); - /****************** SetVJustification ******************/ - /**** md5 signature: 74811ea56e21f5af22a1b17013352e38 ****/ + /****** AIS_TextLabel::SetVJustification ******/ + /****** md5 signature: 74811ea56e21f5af22a1b17013352e38 ******/ %feature("compactdefaultargs") SetVJustification; - %feature("autodoc", "Setup vertical justification. - + %feature("autodoc", " Parameters ---------- theVJust: Graphic3d_VerticalTextAlignment -Returns +Return ------- None + +Description +----------- +Setup vertical justification. ") SetVJustification; void SetVJustification(const Graphic3d_VerticalTextAlignment theVJust); - /****************** SetZoomable ******************/ - /**** md5 signature: f87b964084e353bb6b380aea2cc4a4d0 ****/ + /****** AIS_TextLabel::SetZoomable ******/ + /****** md5 signature: f87b964084e353bb6b380aea2cc4a4d0 ******/ %feature("compactdefaultargs") SetZoomable; - %feature("autodoc", "Setup zoomable property. - + %feature("autodoc", " Parameters ---------- theIsZoomable: bool -Returns +Return ------- None + +Description +----------- +Setup zoomable property. ") SetZoomable; void SetZoomable(const Standard_Boolean theIsZoomable); - /****************** Text ******************/ - /**** md5 signature: 72bf6306b0638727f5e5c6cb054bb79f ****/ + /****** AIS_TextLabel::Text ******/ + /****** md5 signature: 72bf6306b0638727f5e5c6cb054bb79f ******/ %feature("compactdefaultargs") Text; - %feature("autodoc", "Returns the label text. - -Returns + %feature("autodoc", "Return ------- TCollection_ExtendedString + +Description +----------- +Returns the label text. ") Text; const TCollection_ExtendedString & Text(); - /****************** TextFormatter ******************/ - /**** md5 signature: 8f3bf7d01406c07afa85cad5f2782460 ****/ + /****** AIS_TextLabel::TextFormatter ******/ + /****** md5 signature: 8f3bf7d01406c07afa85cad5f2782460 ******/ %feature("compactdefaultargs") TextFormatter; - %feature("autodoc", "Returns text presentation formatter; null by default, which means standard text formatter will be used. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns text presentation formatter; NULL by default, which means standard text formatter will be used. ") TextFormatter; const opencascade::handle & TextFormatter(); - /****************** UnsetOrientation3D ******************/ - /**** md5 signature: 493fe411e83a69dc26417de323100db9 ****/ + /****** AIS_TextLabel::UnsetOrientation3D ******/ + /****** md5 signature: 493fe411e83a69dc26417de323100db9 ******/ %feature("compactdefaultargs") UnsetOrientation3D; - %feature("autodoc", "Reset label orientation in the model 3d space. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Reset label orientation in the model 3D space. ") UnsetOrientation3D; void UnsetOrientation3D(); - /****************** UnsetTransparency ******************/ - /**** md5 signature: d5dc50ef874a9e0fcbfa62da4cd73b8f ****/ + /****** AIS_TextLabel::UnsetTransparency ******/ + /****** md5 signature: d5dc50ef874a9e0fcbfa62da4cd73b8f ******/ %feature("compactdefaultargs") UnsetTransparency; - %feature("autodoc", "Removes the transparency setting. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Removes the transparency setting. ") UnsetTransparency; virtual void UnsetTransparency(); @@ -13641,108 +16854,127 @@ None **************************/ class AIS_Triangulation : public AIS_InteractiveObject { public: - /****************** AIS_Triangulation ******************/ - /**** md5 signature: b1f39d13206b79ed4e26675482c469c3 ****/ + /****** AIS_Triangulation::AIS_Triangulation ******/ + /****** md5 signature: b1f39d13206b79ed4e26675482c469c3 ******/ %feature("compactdefaultargs") AIS_Triangulation; - %feature("autodoc", "Constructs the triangulation display object. - + %feature("autodoc", " Parameters ---------- aTriangulation: Poly_Triangulation -Returns +Return ------- None + +Description +----------- +Constructs the Triangulation display object. ") AIS_Triangulation; AIS_Triangulation(const opencascade::handle & aTriangulation); - /****************** GetColors ******************/ - /**** md5 signature: 02261cc1c013e697d82f9d79c04e76d7 ****/ + /****** AIS_Triangulation::GetColors ******/ + /****** md5 signature: 02261cc1c013e697d82f9d79c04e76d7 ******/ %feature("compactdefaultargs") GetColors; - %feature("autodoc", "Get the color for each node. each 32-bit color is alpha << 24 + blue << 16 + green << 8 + red. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Get the color for each node. Each 32-bit color is Alpha << 24 + Blue << 16 + Green << 8 + Red. ") GetColors; opencascade::handle GetColors(); - /****************** GetTriangulation ******************/ - /**** md5 signature: 43bd327b5645ba0da5653a0bd81a9f5b ****/ + /****** AIS_Triangulation::GetTriangulation ******/ + /****** md5 signature: 43bd327b5645ba0da5653a0bd81a9f5b ******/ %feature("compactdefaultargs") GetTriangulation; - %feature("autodoc", "Returns poly_triangulation . - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns Poly_Triangulation . ") GetTriangulation; opencascade::handle GetTriangulation(); - /****************** HasVertexColors ******************/ - /**** md5 signature: fa868ff9e1fa2eafb8056b01f75d6453 ****/ + /****** AIS_Triangulation::HasVertexColors ******/ + /****** md5 signature: fa868ff9e1fa2eafb8056b01f75d6453 ******/ %feature("compactdefaultargs") HasVertexColors; - %feature("autodoc", "Returns true if triangulation has vertex colors. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns true if triangulation has vertex colors. ") HasVertexColors; Standard_Boolean HasVertexColors(); - /****************** SetColors ******************/ - /**** md5 signature: 0a92a5615736d146ffd88ca378dd2d45 ****/ + /****** AIS_Triangulation::SetColors ******/ + /****** md5 signature: 0a92a5615736d146ffd88ca378dd2d45 ******/ %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. - + %feature("autodoc", " Parameters ---------- aColor: TColStd_HArray1OfInteger -Returns +Return ------- None + +Description +----------- +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. ") SetColors; void SetColors(const opencascade::handle & aColor); - /****************** SetTransparency ******************/ - /**** md5 signature: 92324fa31dc7752e99539d3b250e4522 ****/ + /****** AIS_Triangulation::SetTransparency ******/ + /****** md5 signature: 92324fa31dc7752e99539d3b250e4522 ******/ %feature("compactdefaultargs") SetTransparency; - %feature("autodoc", "Sets the value avalue for transparency in the reconstructed compound shape. - + %feature("autodoc", " Parameters ---------- -aValue: float,optional - default value is 0.6 +aValue: float (optional, default to 0.6) -Returns +Return ------- None + +Description +----------- +Sets the value aValue for transparency in the reconstructed compound shape. ") SetTransparency; virtual void SetTransparency(const Standard_Real aValue = 0.6); - /****************** SetTriangulation ******************/ - /**** md5 signature: 5958e531c24aa9ebf5d35ea3895b63dd ****/ + /****** AIS_Triangulation::SetTriangulation ******/ + /****** md5 signature: 5958e531c24aa9ebf5d35ea3895b63dd ******/ %feature("compactdefaultargs") SetTriangulation; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- aTriangulation: Poly_Triangulation -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetTriangulation; void SetTriangulation(const opencascade::handle & aTriangulation); - /****************** UnsetTransparency ******************/ - /**** md5 signature: bdf34ac27dd66c689517e7b105e66cb2 ****/ + /****** AIS_Triangulation::UnsetTransparency ******/ + /****** md5 signature: bdf34ac27dd66c689517e7b105e66cb2 ******/ %feature("compactdefaultargs") UnsetTransparency; - %feature("autodoc", "Removes the setting for transparency in the reconstructed compound shape. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Removes the setting for transparency in the reconstructed compound shape. ") UnsetTransparency; virtual void UnsetTransparency(); @@ -13762,478 +16994,607 @@ None **********************/ class AIS_Trihedron : public AIS_InteractiveObject { public: - /****************** AIS_Trihedron ******************/ - /**** md5 signature: 7abadf81ecefbae170558dec5a045471 ****/ + /****** AIS_Trihedron::AIS_Trihedron ******/ + /****** md5 signature: 7abadf81ecefbae170558dec5a045471 ******/ %feature("compactdefaultargs") AIS_Trihedron; - %feature("autodoc", "Initializes a trihedron entity. - + %feature("autodoc", " Parameters ---------- theComponent: Geom_Axis2Placement -Returns +Return ------- None + +Description +----------- +Initializes a trihedron entity. ") AIS_Trihedron; AIS_Trihedron(const opencascade::handle & theComponent); - /****************** AcceptDisplayMode ******************/ - /**** md5 signature: 4c81f1c2cfc05fd196e1c09a383a3455 ****/ + /****** AIS_Trihedron::AcceptDisplayMode ******/ + /****** md5 signature: 4c81f1c2cfc05fd196e1c09a383a3455 ******/ %feature("compactdefaultargs") AcceptDisplayMode; - %feature("autodoc", "Returns true if the display mode selected, amode, is valid for trihedron datums. - + %feature("autodoc", " Parameters ---------- theMode: int -Returns +Return ------- bool + +Description +----------- +Returns true if the display mode selected, aMode, is valid for trihedron datums. ") AcceptDisplayMode; virtual Standard_Boolean AcceptDisplayMode(const Standard_Integer theMode); - /****************** ArrowColor ******************/ - /**** md5 signature: 4fc33e4156a708bf068aa14dcdd1f4ea ****/ + /****** AIS_Trihedron::ArrowColor ******/ + /****** md5 signature: 4fc33e4156a708bf068aa14dcdd1f4ea ******/ %feature("compactdefaultargs") ArrowColor; - %feature("autodoc", "Returns trihedron arrow color. - -Returns + %feature("autodoc", "Return ------- Quantity_Color + +Description +----------- +Returns trihedron arrow color. ") ArrowColor; Quantity_Color ArrowColor(); - /****************** ClearSelected ******************/ - /**** md5 signature: 3aaae3eac8509b6abfc3ffd58cbe26e1 ****/ + /****** AIS_Trihedron::ClearSelected ******/ + /****** md5 signature: 3aaae3eac8509b6abfc3ffd58cbe26e1 ******/ %feature("compactdefaultargs") ClearSelected; - %feature("autodoc", "Method which clear all selected owners belonging to this selectable object ( for fast presentation draw ). - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Method which clear all selected owners belonging to this selectable object ( for fast presentation draw ). ") ClearSelected; virtual void ClearSelected(); - /****************** Component ******************/ - /**** md5 signature: 1234d8906c95cc001e4c962cd9c4933b ****/ + /****** AIS_Trihedron::Component ******/ + /****** md5 signature: 1234d8906c95cc001e4c962cd9c4933b ******/ %feature("compactdefaultargs") Component; - %feature("autodoc", "Returns the right-handed coordinate system set in setcomponent. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns the right-handed coordinate system set in SetComponent. ") Component; const opencascade::handle & Component(); - /****************** DatumDisplayMode ******************/ - /**** md5 signature: 85349bc7830d85b4d93f109c8361b6bf ****/ + /****** AIS_Trihedron::DatumDisplayMode ******/ + /****** md5 signature: 85349bc7830d85b4d93f109c8361b6bf ******/ %feature("compactdefaultargs") DatumDisplayMode; - %feature("autodoc", "Returns datum display mode. - -Returns + %feature("autodoc", "Return ------- Prs3d_DatumMode + +Description +----------- +Returns datum display mode. ") DatumDisplayMode; Prs3d_DatumMode DatumDisplayMode(); - /****************** DatumPartColor ******************/ - /**** md5 signature: 6085d0ed60102d6ed078723a4a105a8f ****/ + /****** AIS_Trihedron::DatumPartColor ******/ + /****** md5 signature: 6085d0ed60102d6ed078723a4a105a8f ******/ %feature("compactdefaultargs") DatumPartColor; - %feature("autodoc", "Returns color of datum part: origin or some of trihedron axes. - + %feature("autodoc", " Parameters ---------- thePart: Prs3d_DatumParts -Returns +Return ------- Quantity_Color + +Description +----------- +Returns color of datum part: origin or some of trihedron axes. ") DatumPartColor; Quantity_Color DatumPartColor(Prs3d_DatumParts thePart); - /****************** HasArrowColor ******************/ - /**** md5 signature: 752dadd6593a80c09907199cd16ef4e8 ****/ + /****** AIS_Trihedron::HasArrowColor ******/ + /****** md5 signature: 752dadd6593a80c09907199cd16ef4e8 ******/ %feature("compactdefaultargs") HasArrowColor; - %feature("autodoc", "Returns true if trihedron has own arrow color. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns true if trihedron has own arrow color. ") HasArrowColor; Standard_Boolean HasArrowColor(); - /****************** HasOwnSize ******************/ - /**** md5 signature: e915e28bcd0aa89fd85e56d0cb0fab71 ****/ + /****** AIS_Trihedron::HasOwnSize ******/ + /****** md5 signature: e915e28bcd0aa89fd85e56d0cb0fab71 ******/ %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. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns true if the trihedron object has a size other than the default size of 100 mm. along each axis. ") HasOwnSize; Standard_Boolean HasOwnSize(); - /****************** HasTextColor ******************/ - /**** md5 signature: cace4b0f1dd5ef05d295a303f4b6e82b ****/ + /****** AIS_Trihedron::HasTextColor ******/ + /****** md5 signature: cace4b0f1dd5ef05d295a303f4b6e82b ******/ %feature("compactdefaultargs") HasTextColor; - %feature("autodoc", "Returns true if trihedron has own text color. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns true if trihedron has own text color. ") HasTextColor; Standard_Boolean HasTextColor(); - /****************** HilightOwnerWithColor ******************/ - /**** md5 signature: 59e159c706312ffbc3fbab59d0e52b8c ****/ + /****** AIS_Trihedron::HilightOwnerWithColor ******/ + /****** md5 signature: 55b3be7a2ac03a5f834f6d8c95996212 ******/ %feature("compactdefaultargs") HilightOwnerWithColor; - %feature("autodoc", "Method which hilight an owner belonging to this selectable object ( for fast presentation draw ). - + %feature("autodoc", " Parameters ---------- -thePM: PrsMgr_PresentationManager3d +thePM: PrsMgr_PresentationManager theStyle: Prs3d_Drawer theOwner: SelectMgr_EntityOwner -Returns +Return ------- None + +Description +----------- +Method which hilight an owner belonging to this selectable object ( for fast presentation draw ). ") HilightOwnerWithColor; - virtual void HilightOwnerWithColor(const opencascade::handle & thePM, const opencascade::handle & theStyle, const opencascade::handle & theOwner); + virtual void HilightOwnerWithColor(const opencascade::handle & thePM, const opencascade::handle & theStyle, const opencascade::handle & theOwner); - /****************** HilightSelected ******************/ - /**** md5 signature: bf8a0c8dc2d6626609da91792dd9d611 ****/ + /****** AIS_Trihedron::HilightSelected ******/ + /****** md5 signature: 5b1feef80cfa0a6159413c3c4ca13941 ******/ %feature("compactdefaultargs") HilightSelected; - %feature("autodoc", "Method which draws selected owners ( for fast presentation draw ). - + %feature("autodoc", " Parameters ---------- -thePM: PrsMgr_PresentationManager3d +thePM: PrsMgr_PresentationManager theOwners: SelectMgr_SequenceOfOwner -Returns +Return ------- None + +Description +----------- +Method which draws selected owners ( for fast presentation draw ). ") HilightSelected; - virtual void HilightSelected(const opencascade::handle & thePM, const SelectMgr_SequenceOfOwner & theOwners); + virtual void HilightSelected(const opencascade::handle & thePM, const SelectMgr_SequenceOfOwner & theOwners); - /****************** Label ******************/ - /**** md5 signature: cd3b87f754f01f91f4db0b402e5a6620 ****/ + /****** AIS_Trihedron::Label ******/ + /****** md5 signature: cd3b87f754f01f91f4db0b402e5a6620 ******/ %feature("compactdefaultargs") Label; - %feature("autodoc", "Returns text of axis. parameter thepart should be xaxis, yaxis or zaxis. - + %feature("autodoc", " Parameters ---------- thePart: Prs3d_DatumParts -Returns +Return ------- TCollection_ExtendedString + +Description +----------- +Returns text of axis. Parameter thePart should be XAxis, YAxis or ZAxis. ") Label; const TCollection_ExtendedString & Label(Prs3d_DatumParts thePart); - /****************** SelectionPriority ******************/ - /**** md5 signature: c7f76247dd6ec404acc1afff52e95917 ****/ + /****** AIS_Trihedron::SelectionPriority ******/ + /****** md5 signature: c7f76247dd6ec404acc1afff52e95917 ******/ %feature("compactdefaultargs") SelectionPriority; - %feature("autodoc", "Sets priority of selection for owner of the given type. - + %feature("autodoc", " Parameters ---------- thePart: Prs3d_DatumParts -Returns +Return ------- int + +Description +----------- +Returns priority of selection for owner of the given type. ") SelectionPriority; Standard_Integer SelectionPriority(Prs3d_DatumParts thePart); - /****************** SetArrowColor ******************/ - /**** md5 signature: b033462aa3dce4543ee90b2ffdc498cd ****/ + /****** AIS_Trihedron::SetArrowColor ******/ + /****** md5 signature: b033462aa3dce4543ee90b2ffdc498cd ******/ %feature("compactdefaultargs") SetArrowColor; - %feature("autodoc", "Sets color of arrow of trihedron axes. used only in wireframe mode. - + %feature("autodoc", " Parameters ---------- theColor: Quantity_Color -Returns +Return ------- None + +Description +----------- +Sets color of arrow of trihedron axes. ") SetArrowColor; void SetArrowColor(const Quantity_Color & theColor); - /****************** SetAxisColor ******************/ - /**** md5 signature: 5414b36e056312b5d2ce5a3255bab6e0 ****/ - %feature("compactdefaultargs") SetAxisColor; - %feature("autodoc", "Sets color of z-axis. //standard_deprecated('this method is deprecated - setcolor() should be called instead'). + /****** AIS_Trihedron::SetArrowColor ******/ + /****** md5 signature: eed1ac90c97ed266f836f961bb20ebcd ******/ + %feature("compactdefaultargs") SetArrowColor; + %feature("autodoc", " +Parameters +---------- +thePart: Prs3d_DatumParts +theColor: Quantity_Color + +Return +------- +None + +Description +----------- +Sets color of arrow of trihedron axes. +") SetArrowColor; + void SetArrowColor(const Prs3d_DatumParts thePart, const Quantity_Color & theColor); + /****** AIS_Trihedron::SetAxisColor ******/ + /****** md5 signature: 5414b36e056312b5d2ce5a3255bab6e0 ******/ + %feature("compactdefaultargs") SetAxisColor; + %feature("autodoc", " Parameters ---------- theColor: Quantity_Color -Returns +Return ------- None + +Description +----------- +Sets color of z-axis. //Standard_DEPRECATED(//DEPRECATION_WARNING). ") SetAxisColor; void SetAxisColor(const Quantity_Color & theColor); - /****************** SetColor ******************/ - /**** md5 signature: 7e02f3e04e30cfab690f414e5d7614ca ****/ + /****** AIS_Trihedron::SetColor ******/ + /****** md5 signature: 259272248bacb2cef242adbc667f0ef9 ******/ %feature("compactdefaultargs") SetColor; - %feature("autodoc", "Sets the color thecolor for this trihedron object, it changes color of axes. - + %feature("autodoc", " Parameters ---------- theColor: Quantity_Color -Returns +Return ------- None + +Description +----------- +Sets the color theColor for this trihedron object, it changes color of axes. ") SetColor; - void SetColor(const Quantity_Color & theColor); + virtual void SetColor(const Quantity_Color & theColor); - /****************** SetComponent ******************/ - /**** md5 signature: 0cb02d582043f1733c1764c1c909a674 ****/ + /****** AIS_Trihedron::SetComponent ******/ + /****** md5 signature: 0cb02d582043f1733c1764c1c909a674 ******/ %feature("compactdefaultargs") SetComponent; - %feature("autodoc", "Constructs the right-handed coordinate system acomponent. - + %feature("autodoc", " Parameters ---------- theComponent: Geom_Axis2Placement -Returns +Return ------- None + +Description +----------- +Constructs the right-handed coordinate system aComponent. ") SetComponent; void SetComponent(const opencascade::handle & theComponent); - /****************** SetDatumDisplayMode ******************/ - /**** md5 signature: 9f6d65070e9826102aec9979c024ba74 ****/ + /****** AIS_Trihedron::SetDatumDisplayMode ******/ + /****** md5 signature: 9f6d65070e9826102aec9979c024ba74 ******/ %feature("compactdefaultargs") SetDatumDisplayMode; - %feature("autodoc", "Sets shading or wireframe display mode, triangle or segment graphic group is used relatively. - + %feature("autodoc", " Parameters ---------- theMode: Prs3d_DatumMode -Returns +Return ------- None + +Description +----------- +Sets Shading or Wireframe display mode, triangle or segment graphic group is used relatively. ") SetDatumDisplayMode; void SetDatumDisplayMode(Prs3d_DatumMode theMode); - /****************** SetDatumPartColor ******************/ - /**** md5 signature: bac1c795a4dc41baab0e0761fbd4adfa ****/ + /****** AIS_Trihedron::SetDatumPartColor ******/ + /****** md5 signature: bac1c795a4dc41baab0e0761fbd4adfa ******/ %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. - + %feature("autodoc", " Parameters ---------- thePart: Prs3d_DatumParts theColor: Quantity_Color -Returns +Return ------- None + +Description +----------- +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. ") SetDatumPartColor; void SetDatumPartColor(const Prs3d_DatumParts thePart, const Quantity_Color & theColor); - /****************** SetDrawArrows ******************/ - /**** md5 signature: fb1a2bd859e154964e1a124af5e1fb01 ****/ + /****** AIS_Trihedron::SetDrawArrows ******/ + /****** md5 signature: fb1a2bd859e154964e1a124af5e1fb01 ******/ %feature("compactdefaultargs") SetDrawArrows; - %feature("autodoc", "Sets whether to draw the arrows in visualization. - + %feature("autodoc", " Parameters ---------- theToDraw: bool -Returns +Return ------- None + +Description +----------- +Sets whether to draw the arrows in visualization. ") SetDrawArrows; void SetDrawArrows(const Standard_Boolean theToDraw); - /****************** SetLabel ******************/ - /**** md5 signature: 849b28153ab6d0762b12767c5f379ce7 ****/ + /****** AIS_Trihedron::SetLabel ******/ + /****** md5 signature: f46fc70422e44644cfd6260e70ed55d0 ******/ %feature("compactdefaultargs") SetLabel; - %feature("autodoc", "Sets text label for trihedron axis. parameter thepart should be xaxis, yaxis or zaxis. - + %feature("autodoc", " Parameters ---------- thePart: Prs3d_DatumParts -thePriority: TCollection_ExtendedString +theName: str -Returns +Return ------- None + +Description +----------- +Sets text label for trihedron axis. Parameter thePart should be XAxis, YAxis or ZAxis. ") SetLabel; - void SetLabel(const Prs3d_DatumParts thePart, const TCollection_ExtendedString & thePriority); + void SetLabel(const Prs3d_DatumParts thePart, TCollection_ExtendedString theName); - /****************** SetOriginColor ******************/ - /**** md5 signature: 1017d076464e72d0a5e64feb3baf458f ****/ + /****** AIS_Trihedron::SetOriginColor ******/ + /****** md5 signature: 1017d076464e72d0a5e64feb3baf458f ******/ %feature("compactdefaultargs") SetOriginColor; - %feature("autodoc", "Sets color of origin. //standard_deprecated('this method is deprecated - setcolor() should be called instead'). - + %feature("autodoc", " Parameters ---------- theColor: Quantity_Color -Returns +Return ------- None + +Description +----------- +Sets color of origin. //Standard_DEPRECATED(//DEPRECATION_WARNING). ") SetOriginColor; void SetOriginColor(const Quantity_Color & theColor); - /****************** SetSelectionPriority ******************/ - /**** md5 signature: a3572d43d4d834b85a5686dc7ffb301b ****/ + /****** AIS_Trihedron::SetSelectionPriority ******/ + /****** md5 signature: a3572d43d4d834b85a5686dc7ffb301b ******/ %feature("compactdefaultargs") SetSelectionPriority; - %feature("autodoc", "Sets priority of selection for owner of the given type. - + %feature("autodoc", " Parameters ---------- thePart: Prs3d_DatumParts thePriority: int -Returns +Return ------- None + +Description +----------- +Sets priority of selection for owner of the given type. ") SetSelectionPriority; void SetSelectionPriority(Prs3d_DatumParts thePart, Standard_Integer thePriority); - /****************** SetSize ******************/ - /**** md5 signature: 4ddd2387ee49354c88a5763d724abf32 ****/ + /****** AIS_Trihedron::SetSize ******/ + /****** md5 signature: 4ddd2387ee49354c88a5763d724abf32 ******/ %feature("compactdefaultargs") SetSize; - %feature("autodoc", "Sets the size avalue for the trihedron object. the default value is 100 mm. - + %feature("autodoc", " Parameters ---------- theValue: float -Returns +Return ------- None + +Description +----------- +Sets the size of trihedron object. ") SetSize; void SetSize(const Standard_Real theValue); - /****************** SetTextColor ******************/ - /**** md5 signature: c4c1e2b86d1c9f306c0090e96309e623 ****/ + /****** AIS_Trihedron::SetTextColor ******/ + /****** md5 signature: c4c1e2b86d1c9f306c0090e96309e623 ******/ %feature("compactdefaultargs") SetTextColor; - %feature("autodoc", "Sets color of label of trihedron axes. - + %feature("autodoc", " Parameters ---------- theColor: Quantity_Color -Returns +Return ------- None + +Description +----------- +Sets color of label of trihedron axes. ") SetTextColor; void SetTextColor(const Quantity_Color & theColor); - /****************** SetXAxisColor ******************/ - /**** md5 signature: ed9ab965e65191191a7681d47d2ec159 ****/ - %feature("compactdefaultargs") SetXAxisColor; - %feature("autodoc", "Sets color of x-axis. //standard_deprecated('this method is deprecated - setcolor() should be called instead'). + /****** AIS_Trihedron::SetTextColor ******/ + /****** md5 signature: bdaf05bdad9bcc4e0cbdf6a0d46642a3 ******/ + %feature("compactdefaultargs") SetTextColor; + %feature("autodoc", " +Parameters +---------- +thePart: Prs3d_DatumParts +theColor: Quantity_Color + +Return +------- +None +Description +----------- +Sets color of label of trihedron axis. +") SetTextColor; + void SetTextColor(const Prs3d_DatumParts thePart, const Quantity_Color & theColor); + + /****** AIS_Trihedron::SetXAxisColor ******/ + /****** md5 signature: ed9ab965e65191191a7681d47d2ec159 ******/ + %feature("compactdefaultargs") SetXAxisColor; + %feature("autodoc", " Parameters ---------- theColor: Quantity_Color -Returns +Return ------- None + +Description +----------- +Sets color of x-axis. //Standard_DEPRECATED(//DEPRECATION_WARNING). ") SetXAxisColor; void SetXAxisColor(const Quantity_Color & theColor); - /****************** SetYAxisColor ******************/ - /**** md5 signature: 3d9f763d5f18d448930e3a455d43081f ****/ + /****** AIS_Trihedron::SetYAxisColor ******/ + /****** md5 signature: 3d9f763d5f18d448930e3a455d43081f ******/ %feature("compactdefaultargs") SetYAxisColor; - %feature("autodoc", "Sets color of y-axis. //standard_deprecated('this method is deprecated - setcolor() should be called instead'). - + %feature("autodoc", " Parameters ---------- theColor: Quantity_Color -Returns +Return ------- None + +Description +----------- +Sets color of y-axis. //Standard_DEPRECATED(//DEPRECATION_WARNING). ") SetYAxisColor; void SetYAxisColor(const Quantity_Color & theColor); - /****************** Signature ******************/ - /**** md5 signature: 4e037e01ba764fd5d5261e3d9ba6557d ****/ + /****** AIS_Trihedron::Signature ******/ + /****** md5 signature: 4e037e01ba764fd5d5261e3d9ba6557d ******/ %feature("compactdefaultargs") Signature; - %feature("autodoc", "Returns index 3, selection of the planes xoy, yoz, xoz. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns index 3, selection of the planes XOY, YOZ, XOZ. ") Signature; virtual Standard_Integer Signature(); - /****************** Size ******************/ - /**** md5 signature: a8e9905382c3964d697ee929ccdb9562 ****/ + /****** AIS_Trihedron::Size ******/ + /****** md5 signature: a8e9905382c3964d697ee929ccdb9562 ******/ %feature("compactdefaultargs") Size; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the size of trihedron object; 100.0 by DEFAULT. ") Size; Standard_Real Size(); - /****************** TextColor ******************/ - /**** md5 signature: 44826bd1a0a47517f0715e047eb767ed ****/ + /****** AIS_Trihedron::TextColor ******/ + /****** md5 signature: 44826bd1a0a47517f0715e047eb767ed ******/ %feature("compactdefaultargs") TextColor; - %feature("autodoc", "Returns trihedron text color. - -Returns + %feature("autodoc", "Return ------- Quantity_Color + +Description +----------- +Returns trihedron text color. ") TextColor; Quantity_Color TextColor(); - /****************** ToDrawArrows ******************/ - /**** md5 signature: d43d54fb812974eaf7cf90303f961bff ****/ + /****** AIS_Trihedron::ToDrawArrows ******/ + /****** md5 signature: d43d54fb812974eaf7cf90303f961bff ******/ %feature("compactdefaultargs") ToDrawArrows; - %feature("autodoc", "Returns true if arrows are to be drawn. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns true if arrows are to be drawn. ") ToDrawArrows; Standard_Boolean ToDrawArrows(); - /****************** Type ******************/ - /**** md5 signature: bf4aea6b24d0b584b57c781f208134ec ****/ + /****** AIS_Trihedron::Type ******/ + /****** md5 signature: bf4aea6b24d0b584b57c781f208134ec ******/ %feature("compactdefaultargs") Type; - %feature("autodoc", "Indicates that the type of interactive object is datum. - -Returns + %feature("autodoc", "Return ------- AIS_KindOfInteractive + +Description +----------- +Indicates that the type of Interactive Object is datum. ") Type; virtual AIS_KindOfInteractive Type(); - /****************** UnsetColor ******************/ - /**** md5 signature: 2da7e2ed6a63f7c70c36c2a82118a7ec ****/ + /****** AIS_Trihedron::UnsetColor ******/ + /****** md5 signature: 2da7e2ed6a63f7c70c36c2a82118a7ec ******/ %feature("compactdefaultargs") UnsetColor; - %feature("autodoc", "Removes the settings for color. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Removes the settings for color. ") UnsetColor; virtual void UnsetColor(); - /****************** UnsetSize ******************/ - /**** md5 signature: 01e2703c873bbcb3ae46d4b247bdacb6 ****/ + /****** AIS_Trihedron::UnsetSize ******/ + /****** md5 signature: 01e2703c873bbcb3ae46d4b247bdacb6 ******/ %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. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +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. ") UnsetSize; void UnsetSize(); @@ -14253,1118 +17614,1343 @@ None *********************/ class AIS_ViewCube : public AIS_InteractiveObject { public: - class IntegerHasher {}; - /****************** AIS_ViewCube ******************/ - /**** md5 signature: 582207f6972f9893779647b1bc5ed072 ****/ + /****** AIS_ViewCube::AIS_ViewCube ******/ + /****** md5 signature: 582207f6972f9893779647b1bc5ed072 ******/ %feature("compactdefaultargs") AIS_ViewCube; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") AIS_ViewCube; AIS_ViewCube(); - /****************** AcceptDisplayMode ******************/ - /**** md5 signature: 4c81f1c2cfc05fd196e1c09a383a3455 ****/ + /****** AIS_ViewCube::AcceptDisplayMode ******/ + /****** md5 signature: 4c81f1c2cfc05fd196e1c09a383a3455 ******/ %feature("compactdefaultargs") AcceptDisplayMode; - %feature("autodoc", "Return true for supported display mode. - + %feature("autodoc", " Parameters ---------- theMode: int -Returns +Return ------- bool + +Description +----------- +Return True for supported display mode. ") AcceptDisplayMode; virtual Standard_Boolean AcceptDisplayMode(const Standard_Integer theMode); - /****************** AxesConeRadius ******************/ - /**** md5 signature: 23e3bc06f9ef74bf1f32dddb0a5141c6 ****/ + /****** AIS_ViewCube::AxesConeRadius ******/ + /****** md5 signature: 23e3bc06f9ef74bf1f32dddb0a5141c6 ******/ %feature("compactdefaultargs") AxesConeRadius; - %feature("autodoc", "Returns radius of cone of axes of the trihedron; 3.0 by default. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns radius of cone of axes of the trihedron; 3.0 by default. ") AxesConeRadius; Standard_Real AxesConeRadius(); - /****************** AxesPadding ******************/ - /**** md5 signature: c7cf9c49ac3b2ff7007839a7a4e35f25 ****/ + /****** AIS_ViewCube::AxesPadding ******/ + /****** md5 signature: c7cf9c49ac3b2ff7007839a7a4e35f25 ******/ %feature("compactdefaultargs") AxesPadding; - %feature("autodoc", "Return padding between axes and 3d part (box); 10 by default. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Return padding between axes and 3D part (box); 10 by default. ") AxesPadding; Standard_Real AxesPadding(); - /****************** AxesRadius ******************/ - /**** md5 signature: e0e9b4d6d2ce901288b78fae1c0e1957 ****/ + /****** AIS_ViewCube::AxesRadius ******/ + /****** md5 signature: e0e9b4d6d2ce901288b78fae1c0e1957 ******/ %feature("compactdefaultargs") AxesRadius; - %feature("autodoc", "Returns radius of axes of the trihedron; 1.0 by default. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns radius of axes of the trihedron; 1.0 by default. ") AxesRadius; Standard_Real AxesRadius(); - /****************** AxesSphereRadius ******************/ - /**** md5 signature: b34ec1288e6549c6a7cc3dbf4283a8c3 ****/ + /****** AIS_ViewCube::AxesSphereRadius ******/ + /****** md5 signature: b34ec1288e6549c6a7cc3dbf4283a8c3 ******/ %feature("compactdefaultargs") AxesSphereRadius; - %feature("autodoc", "Returns radius of sphere (central point) of the trihedron; 4.0 by default. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns radius of sphere (central point) of the trihedron; 4.0 by default. ") AxesSphereRadius; Standard_Real AxesSphereRadius(); - /****************** AxisLabel ******************/ - /**** md5 signature: 5de552dbd8b43895a1c56ff8429a7ff8 ****/ + /****** AIS_ViewCube::AxisLabel ******/ + /****** md5 signature: 5de552dbd8b43895a1c56ff8429a7ff8 ******/ %feature("compactdefaultargs") AxisLabel; - %feature("autodoc", "Return axes labels or empty string if undefined. default labels: x, y, z. - + %feature("autodoc", " Parameters ---------- theAxis: Prs3d_DatumParts -Returns +Return ------- TCollection_AsciiString + +Description +----------- +Return axes labels or empty string if undefined. Default labels: X, Y, Z. ") AxisLabel; TCollection_AsciiString AxisLabel(Prs3d_DatumParts theAxis); - /****************** BoxColor ******************/ - /**** md5 signature: 50e147884653441e4200c687eaac0698 ****/ + /****** AIS_ViewCube::BoxColor ******/ + /****** md5 signature: 50e147884653441e4200c687eaac0698 ******/ %feature("compactdefaultargs") BoxColor; - %feature("autodoc", "Return value of front color for the 3d part of object. - -Returns + %feature("autodoc", "Return ------- Quantity_Color + +Description +----------- +Return value of front color for the 3D part of object. ") BoxColor; const Quantity_Color & BoxColor(); - /****************** BoxCornerMinSize ******************/ - /**** md5 signature: cafaf934eb4662e014c49d3919a5ce75 ****/ + /****** AIS_ViewCube::BoxCornerMinSize ******/ + /****** md5 signature: cafaf934eb4662e014c49d3919a5ce75 ******/ %feature("compactdefaultargs") BoxCornerMinSize; - %feature("autodoc", "Return minimal size of box corner; 2 by default. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Return minimal size of box corner; 2 by default. ") BoxCornerMinSize; Standard_Real BoxCornerMinSize(); - /****************** BoxCornerStyle ******************/ - /**** md5 signature: fd4fc1c3355e14afdded11cd3419cf7a ****/ + /****** AIS_ViewCube::BoxCornerStyle ******/ + /****** md5 signature: fd4fc1c3355e14afdded11cd3419cf7a ******/ %feature("compactdefaultargs") BoxCornerStyle; - %feature("autodoc", "Return shading style of box corners. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Return shading style of box corners. ") BoxCornerStyle; const opencascade::handle & BoxCornerStyle(); - /****************** BoxEdgeGap ******************/ - /**** md5 signature: 67480960a2f50fb564f93a6c1b577c13 ****/ + /****** AIS_ViewCube::BoxEdgeGap ******/ + /****** md5 signature: 67480960a2f50fb564f93a6c1b577c13 ******/ %feature("compactdefaultargs") BoxEdgeGap; - %feature("autodoc", "Return gap between box edges and box sides; 0 by default. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Return gap between box edges and box sides; 0 by default. ") BoxEdgeGap; Standard_Real BoxEdgeGap(); - /****************** BoxEdgeMinSize ******************/ - /**** md5 signature: 9b8c3f97bde852c0a0b85f3805feb5aa ****/ + /****** AIS_ViewCube::BoxEdgeMinSize ******/ + /****** md5 signature: 9b8c3f97bde852c0a0b85f3805feb5aa ******/ %feature("compactdefaultargs") BoxEdgeMinSize; - %feature("autodoc", "Return minimal size of box edge; 2 by default. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Return minimal size of box edge; 2 by default. ") BoxEdgeMinSize; Standard_Real BoxEdgeMinSize(); - /****************** BoxEdgeStyle ******************/ - /**** md5 signature: 5e9bce8c10e662a32cada7316ea97356 ****/ + /****** AIS_ViewCube::BoxEdgeStyle ******/ + /****** md5 signature: 5e9bce8c10e662a32cada7316ea97356 ******/ %feature("compactdefaultargs") BoxEdgeStyle; - %feature("autodoc", "Return shading style of box edges. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Return shading style of box edges. ") BoxEdgeStyle; const opencascade::handle & BoxEdgeStyle(); - /****************** BoxFacetExtension ******************/ - /**** md5 signature: 63868a40e6236808acfc797143f8d7d3 ****/ + /****** AIS_ViewCube::BoxFacetExtension ******/ + /****** md5 signature: 63868a40e6236808acfc797143f8d7d3 ******/ %feature("compactdefaultargs") BoxFacetExtension; - %feature("autodoc", "Return box facet extension to edge/corner facet split; 10 by default. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Return box facet extension to edge/corner facet split; 10 by default. ") BoxFacetExtension; Standard_Real BoxFacetExtension(); - /****************** BoxSideLabel ******************/ - /**** md5 signature: a97bf5fe626f7488166a6ec22c6801dd ****/ + /****** AIS_ViewCube::BoxSideLabel ******/ + /****** md5 signature: a97bf5fe626f7488166a6ec22c6801dd ******/ %feature("compactdefaultargs") BoxSideLabel; - %feature("autodoc", "Return box side label or empty string if undefined. default labels: front, back, left, right, top, bottom. - + %feature("autodoc", " Parameters ---------- theSide: V3d_TypeOfOrientation -Returns +Return ------- TCollection_AsciiString + +Description +----------- +Return box side label or empty string if undefined. Default labels: FRONT, BACK, LEFT, RIGHT, TOP, BOTTOM. ") BoxSideLabel; TCollection_AsciiString BoxSideLabel(V3d_TypeOfOrientation theSide); - /****************** BoxSideStyle ******************/ - /**** md5 signature: a46fcc5ed6922015f07f2f9b6adb0b29 ****/ + /****** AIS_ViewCube::BoxSideStyle ******/ + /****** md5 signature: a46fcc5ed6922015f07f2f9b6adb0b29 ******/ %feature("compactdefaultargs") BoxSideStyle; - %feature("autodoc", "Return shading style of box sides. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Return shading style of box sides. ") BoxSideStyle; const opencascade::handle & BoxSideStyle(); - /****************** BoxTransparency ******************/ - /**** md5 signature: 35032e2c2d21ffedb0b966bdeec6d019 ****/ + /****** AIS_ViewCube::BoxTransparency ******/ + /****** md5 signature: 35032e2c2d21ffedb0b966bdeec6d019 ******/ %feature("compactdefaultargs") BoxTransparency; - %feature("autodoc", "Return transparency for 3d part of object. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Return transparency for 3D part of object. ") BoxTransparency; Standard_Real BoxTransparency(); - /****************** ClearSelected ******************/ - /**** md5 signature: 407e8a534dc8fd5986c54ff8c078ba6d ****/ + /****** AIS_ViewCube::ClearSelected ******/ + /****** md5 signature: 407e8a534dc8fd5986c54ff8c078ba6d ******/ %feature("compactdefaultargs") ClearSelected; - %feature("autodoc", "Method which clear all selected owners belonging to this selectable object. @warning this object does not support selection. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Method which clear all selected owners belonging to this selectable object. @warning this object does not support selection. ") ClearSelected; virtual void ClearSelected(); - /****************** Compute ******************/ - /**** md5 signature: 1bb1940ebb02c69fcdc59de667417f7b ****/ + /****** AIS_ViewCube::Compute ******/ + /****** md5 signature: 5d0087b3c43a18eabfc5a74a27907c07 ******/ %feature("compactdefaultargs") Compute; - %feature("autodoc", "Compute 3d part of view cube. @param theprsmgr [in] presentation manager. @param theprs [in] input presentation that is to be filled with flat presentation primitives. @param themode [in] display mode. @warning this object accept only 0 display mode. - + %feature("autodoc", " Parameters ---------- -thePrsMgr: PrsMgr_PresentationManager3d +thePrsMgr: PrsMgr_PresentationManager thePrs: Prs3d_Presentation -theMode: int,optional - default value is 0 +theMode: int (optional, default to 0) -Returns +Return ------- None + +Description +----------- +Compute 3D part of View Cube. +Input parameter: thePrsMgr presentation manager. +Input parameter: thePrs input presentation that is to be filled with flat presentation primitives. +Input parameter: theMode display mode. @warning this object accept only 0 display mode. ") Compute; - virtual void Compute(const opencascade::handle & thePrsMgr, const opencascade::handle & thePrs, const Standard_Integer theMode = 0); + virtual void Compute(const opencascade::handle & thePrsMgr, const opencascade::handle & thePrs, const Standard_Integer theMode = 0); - /****************** ComputeSelection ******************/ - /**** md5 signature: 0ee36b1ad2a8a3c1bbb813dfdb1d40ae ****/ + /****** AIS_ViewCube::ComputeSelection ******/ + /****** md5 signature: 0ee36b1ad2a8a3c1bbb813dfdb1d40ae ******/ %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. - + %feature("autodoc", " Parameters ---------- theSelection: SelectMgr_Selection theMode: int -Returns +Return ------- None + +Description +----------- +Redefine computing of sensitive entities for View Cube. +Input parameter: theSelection input selection object that is to be filled with sensitive entities. +Input parameter: theMode selection mode. @warning object accepts only 0 selection mode. ") ComputeSelection; virtual void ComputeSelection(const opencascade::handle & theSelection, const Standard_Integer theMode); - /****************** Duration ******************/ - /**** md5 signature: cd23e793a0fab00473e0b8c81979e62b ****/ + /****** AIS_ViewCube::Duration ******/ + /****** md5 signature: cd23e793a0fab00473e0b8c81979e62b ******/ %feature("compactdefaultargs") Duration; - %feature("autodoc", "Return duration of animation in seconds; 0.5 sec by default. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Return duration of animation in seconds; 0.5 sec by default. ") Duration; Standard_Real Duration(); - /****************** Font ******************/ - /**** md5 signature: 246154ff4659a4acf077229295e5855e ****/ + /****** AIS_ViewCube::Font ******/ + /****** md5 signature: 246154ff4659a4acf077229295e5855e ******/ %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. - -Returns + %feature("autodoc", "Return ------- TCollection_AsciiString + +Description +----------- +Return font name that is used for displaying of sides and axes text. Alias for: @code Attributes()->TextAspect()->Aspect()->SetFont() @endcode. ") Font; const TCollection_AsciiString & Font(); - /****************** FontHeight ******************/ - /**** md5 signature: f8ae02fac55647c17230ba644edd4c2a ****/ + /****** AIS_ViewCube::FontHeight ******/ + /****** md5 signature: f8ae02fac55647c17230ba644edd4c2a ******/ %feature("compactdefaultargs") FontHeight; - %feature("autodoc", "Return height of font. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Return height of font. ") FontHeight; Standard_Real FontHeight(); - /****************** GlobalSelOwner ******************/ - /**** md5 signature: 4b6aea62676c6d618f2db36c62ce24fb ****/ + /****** AIS_ViewCube::GlobalSelOwner ******/ + /****** md5 signature: 4b6aea62676c6d618f2db36c62ce24fb ******/ %feature("compactdefaultargs") GlobalSelOwner; - %feature("autodoc", "Global selection has no meaning for this class. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Global selection has no meaning for this class. ") GlobalSelOwner; virtual opencascade::handle GlobalSelOwner(); - /****************** HandleClick ******************/ - /**** md5 signature: 233cc95372f82b5f942da4a36a76df2e ****/ + /****** AIS_ViewCube::HandleClick ******/ + /****** md5 signature: 233cc95372f82b5f942da4a36a76df2e ******/ %feature("compactdefaultargs") HandleClick; - %feature("autodoc", "Perform camera transformation corresponding to the input detected owner. - + %feature("autodoc", " Parameters ---------- theOwner: AIS_ViewCubeOwner -Returns +Return ------- None + +Description +----------- +Perform camera transformation corresponding to the input detected owner. ") HandleClick; virtual void HandleClick(const opencascade::handle & theOwner); - /****************** HasAnimation ******************/ - /**** md5 signature: ea8e65091e3937097b9cc6944fb87e34 ****/ + /****** AIS_ViewCube::HasAnimation ******/ + /****** md5 signature: ea8e65091e3937097b9cc6944fb87e34 ******/ %feature("compactdefaultargs") HasAnimation; - %feature("autodoc", "Returns true if view cube has unfinished animation of view camera. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return: True if View Cube has unfinished animation of view camera. ") HasAnimation; Standard_Boolean HasAnimation(); - /****************** HilightOwnerWithColor ******************/ - /**** md5 signature: 59e159c706312ffbc3fbab59d0e52b8c ****/ + /****** AIS_ViewCube::HilightOwnerWithColor ******/ + /****** md5 signature: 55b3be7a2ac03a5f834f6d8c95996212 ******/ %feature("compactdefaultargs") HilightOwnerWithColor; - %feature("autodoc", "Method which highlights input owner belonging to this selectable object. @param thepm [in] presentation manager @param thestyle [in] style for dynamic highlighting. @param theowner [in] input entity owner. - + %feature("autodoc", " Parameters ---------- -thePM: PrsMgr_PresentationManager3d +thePM: PrsMgr_PresentationManager theStyle: Prs3d_Drawer theOwner: SelectMgr_EntityOwner -Returns +Return ------- None + +Description +----------- +Method which highlights input owner belonging to this selectable object. +Input parameter: thePM presentation manager +Input parameter: theStyle style for dynamic highlighting. +Input parameter: theOwner input entity owner. ") HilightOwnerWithColor; - virtual void HilightOwnerWithColor(const opencascade::handle & thePM, const opencascade::handle & theStyle, const opencascade::handle & theOwner); + virtual void HilightOwnerWithColor(const opencascade::handle & thePM, const opencascade::handle & theStyle, const opencascade::handle & theOwner); - /****************** HilightSelected ******************/ - /**** md5 signature: 51adc22064d394c9bf0b2f20ae0065c3 ****/ + /****** AIS_ViewCube::HilightSelected ******/ + /****** md5 signature: b1fc27c909de3a5e8e70f8fe74bf4101 ******/ %feature("compactdefaultargs") HilightSelected; - %feature("autodoc", "Method which draws selected owners. - + %feature("autodoc", " Parameters ---------- -thePM: PrsMgr_PresentationManager3d +thePM: PrsMgr_PresentationManager theSeq: SelectMgr_SequenceOfOwner -Returns +Return ------- None + +Description +----------- +Method which draws selected owners. ") HilightSelected; - virtual void HilightSelected(const opencascade::handle & thePM, const SelectMgr_SequenceOfOwner & theSeq); + virtual void HilightSelected(const opencascade::handle & thePM, const SelectMgr_SequenceOfOwner & theSeq); - /****************** InnerColor ******************/ - /**** md5 signature: 14a7d761b72d032118329dab4a717cc8 ****/ + /****** AIS_ViewCube::InnerColor ******/ + /****** md5 signature: 14a7d761b72d032118329dab4a717cc8 ******/ %feature("compactdefaultargs") InnerColor; - %feature("autodoc", "Return color of sides back material. - -Returns + %feature("autodoc", "Return ------- Quantity_Color + +Description +----------- +Return color of sides back material. ") InnerColor; const Quantity_Color & InnerColor(); - /****************** IsAutoHilight ******************/ - /**** md5 signature: d08251e65bb2038174f4c2dab73d34c9 ****/ + /****** AIS_ViewCube::IsAutoHilight ******/ + /****** md5 signature: d08251e65bb2038174f4c2dab73d34c9 ******/ %feature("compactdefaultargs") IsAutoHilight; - %feature("autodoc", "Disables auto highlighting to use hilightselected() and hilightownerwithcolor() overridden methods. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Disables auto highlighting to use HilightSelected() and HilightOwnerWithColor() overridden methods. ") IsAutoHilight; virtual Standard_Boolean IsAutoHilight(); - /****************** IsBoxCorner ******************/ - /**** md5 signature: 75fe36b27e987c1abfb32a08311b0265 ****/ + /****** AIS_ViewCube::IsBoxCorner ******/ + /****** md5 signature: 75fe36b27e987c1abfb32a08311b0265 ******/ %feature("compactdefaultargs") IsBoxCorner; - %feature("autodoc", "Return true if specified orientation belongs to box corner (vertex). - + %feature("autodoc", " Parameters ---------- theOrient: V3d_TypeOfOrientation -Returns +Return ------- bool + +Description +----------- +Return True if specified orientation belongs to box corner (vertex). ") IsBoxCorner; static bool IsBoxCorner(V3d_TypeOfOrientation theOrient); - /****************** IsBoxEdge ******************/ - /**** md5 signature: dea43b60f7436844e12040dd2b97a04c ****/ + /****** AIS_ViewCube::IsBoxEdge ******/ + /****** md5 signature: dea43b60f7436844e12040dd2b97a04c ******/ %feature("compactdefaultargs") IsBoxEdge; - %feature("autodoc", "Return true if specified orientation belongs to box edge. - + %feature("autodoc", " Parameters ---------- theOrient: V3d_TypeOfOrientation -Returns +Return ------- bool + +Description +----------- +Return True if specified orientation belongs to box edge. ") IsBoxEdge; static bool IsBoxEdge(V3d_TypeOfOrientation theOrient); - /****************** IsBoxSide ******************/ - /**** md5 signature: f20117775f8e7e897cd2c7de0f3999b8 ****/ + /****** AIS_ViewCube::IsBoxSide ******/ + /****** md5 signature: f20117775f8e7e897cd2c7de0f3999b8 ******/ %feature("compactdefaultargs") IsBoxSide; - %feature("autodoc", "Return true if specified orientation belongs to box side. - + %feature("autodoc", " Parameters ---------- theOrient: V3d_TypeOfOrientation -Returns +Return ------- bool + +Description +----------- +Return True if specified orientation belongs to box side. ") IsBoxSide; static bool IsBoxSide(V3d_TypeOfOrientation theOrient); - /****************** IsFixedAnimationLoop ******************/ - /**** md5 signature: 9a52eb355318c2784667b23e102c4d58 ****/ + /****** AIS_ViewCube::IsFixedAnimationLoop ******/ + /****** md5 signature: 9a52eb355318c2784667b23e102c4d58 ******/ %feature("compactdefaultargs") IsFixedAnimationLoop; - %feature("autodoc", "Return true if camera animation should be done in uninterruptible loop; true by default. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return True if camera animation should be done in uninterruptible loop; True by default. ") IsFixedAnimationLoop; Standard_Boolean IsFixedAnimationLoop(); - /****************** IsYup ******************/ - /**** md5 signature: 0258bf2f11be77e639c0e89833b4fb7d ****/ + /****** AIS_ViewCube::IsYup ******/ + /****** md5 signature: 0258bf2f11be77e639c0e89833b4fb7d ******/ %feature("compactdefaultargs") IsYup; - %feature("autodoc", "Return true if application expects y-up viewer orientation instead of z-up; false by default. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return True if application expects Y-up viewer orientation instead of Z-up; False by default. ") IsYup; Standard_Boolean IsYup(); - /****************** ResetStyles ******************/ - /**** md5 signature: 1f06b68deac4bd647a9e560e0db0ee77 ****/ + /****** AIS_ViewCube::ResetStyles ******/ + /****** md5 signature: 1f06b68deac4bd647a9e560e0db0ee77 ******/ %feature("compactdefaultargs") ResetStyles; - %feature("autodoc", "Reset all size and style parameters to default. @warning it doesn't reset position of view cube. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Reset all size and style parameters to default. @warning It doesn't reset position of View Cube. ") ResetStyles; void ResetStyles(); - /****************** RoundRadius ******************/ - /**** md5 signature: b765e7492bbb4ae2e6ea2c63b8a106ee ****/ + /****** AIS_ViewCube::RoundRadius ******/ + /****** md5 signature: b765e7492bbb4ae2e6ea2c63b8a106ee ******/ %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(). - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +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(). ") RoundRadius; Standard_Real RoundRadius(); - /****************** SetAutoStartAnimation ******************/ - /**** md5 signature: 8a1b8c856a96bad116e83f4b7a7dfe16 ****/ + /****** AIS_ViewCube::SetAutoStartAnimation ******/ + /****** md5 signature: 8a1b8c856a96bad116e83f4b7a7dfe16 ******/ %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). - + %feature("autodoc", " Parameters ---------- theToEnable: bool -Returns +Return ------- None + +Description +----------- +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). ") SetAutoStartAnimation; void SetAutoStartAnimation(bool theToEnable); - /****************** SetAxesConeRadius ******************/ - /**** md5 signature: 5b9982593302c2edb4cbf267b741048d ****/ + /****** AIS_ViewCube::SetAxesConeRadius ******/ + /****** md5 signature: 5b9982593302c2edb4cbf267b741048d ******/ %feature("compactdefaultargs") SetAxesConeRadius; - %feature("autodoc", "Sets radius of cone of axes of the trihedron. - + %feature("autodoc", " Parameters ---------- theRadius: float -Returns +Return ------- None + +Description +----------- +Sets radius of cone of axes of the trihedron. ") SetAxesConeRadius; void SetAxesConeRadius(Standard_Real theRadius); - /****************** SetAxesLabels ******************/ - /**** md5 signature: e0b70137acafbab1dfb0049c9b2302e4 ****/ + /****** AIS_ViewCube::SetAxesLabels ******/ + /****** md5 signature: e0b70137acafbab1dfb0049c9b2302e4 ******/ %feature("compactdefaultargs") SetAxesLabels; - %feature("autodoc", "Set axes labels. - + %feature("autodoc", " Parameters ---------- -theX: TCollection_AsciiString -theY: TCollection_AsciiString -theZ: TCollection_AsciiString +theX: str +theY: str +theZ: str -Returns +Return ------- None + +Description +----------- +Set axes labels. ") SetAxesLabels; - void SetAxesLabels(const TCollection_AsciiString & theX, const TCollection_AsciiString & theY, const TCollection_AsciiString & theZ); + void SetAxesLabels(TCollection_AsciiString theX, TCollection_AsciiString theY, TCollection_AsciiString theZ); - /****************** SetAxesPadding ******************/ - /**** md5 signature: bda467829db54201ecc24927f31793c3 ****/ + /****** AIS_ViewCube::SetAxesPadding ******/ + /****** md5 signature: bda467829db54201ecc24927f31793c3 ******/ %feature("compactdefaultargs") SetAxesPadding; - %feature("autodoc", "Set new value of padding between axes and 3d part (box). - + %feature("autodoc", " Parameters ---------- theValue: float -Returns +Return ------- None + +Description +----------- +Set new value of padding between axes and 3D part (box). ") SetAxesPadding; void SetAxesPadding(Standard_Real theValue); - /****************** SetAxesRadius ******************/ - /**** md5 signature: aab4f5bcdcec373e5a8868efe5c50aaa ****/ + /****** AIS_ViewCube::SetAxesRadius ******/ + /****** md5 signature: aab4f5bcdcec373e5a8868efe5c50aaa ******/ %feature("compactdefaultargs") SetAxesRadius; - %feature("autodoc", "Sets radius of axes of the trihedron. - + %feature("autodoc", " Parameters ---------- theRadius: float -Returns +Return ------- None + +Description +----------- +Sets radius of axes of the trihedron. ") SetAxesRadius; void SetAxesRadius(const Standard_Real theRadius); - /****************** SetAxesSphereRadius ******************/ - /**** md5 signature: 7180a507b86f2297dbefdcf2ccccf86e ****/ + /****** AIS_ViewCube::SetAxesSphereRadius ******/ + /****** md5 signature: 7180a507b86f2297dbefdcf2ccccf86e ******/ %feature("compactdefaultargs") SetAxesSphereRadius; - %feature("autodoc", "Sets radius of sphere (central point) of the trihedron. - + %feature("autodoc", " Parameters ---------- theRadius: float -Returns +Return ------- None + +Description +----------- +Sets radius of sphere (central point) of the trihedron. ") SetAxesSphereRadius; void SetAxesSphereRadius(Standard_Real theRadius); - /****************** SetBoxColor ******************/ - /**** md5 signature: 88db23bbfdea3bc42a298167dbc484b3 ****/ + /****** AIS_ViewCube::SetBoxColor ******/ + /****** md5 signature: 88db23bbfdea3bc42a298167dbc484b3 ******/ %feature("compactdefaultargs") SetBoxColor; - %feature("autodoc", "Set new value of front color for the 3d part of object. @param thecolor [in] input color value. - + %feature("autodoc", " Parameters ---------- theColor: Quantity_Color -Returns +Return ------- None + +Description +----------- +Set new value of front color for the 3D part of object. +Input parameter: theColor input color value. ") SetBoxColor; void SetBoxColor(const Quantity_Color & theColor); - /****************** SetBoxCornerMinSize ******************/ - /**** md5 signature: 9d13ba003e1e5abf276c1861755ae870 ****/ + /****** AIS_ViewCube::SetBoxCornerMinSize ******/ + /****** md5 signature: 9d13ba003e1e5abf276c1861755ae870 ******/ %feature("compactdefaultargs") SetBoxCornerMinSize; - %feature("autodoc", "Set new value of box corner minimal size. - + %feature("autodoc", " Parameters ---------- theValue: float -Returns +Return ------- None + +Description +----------- +Set new value of box corner minimal size. ") SetBoxCornerMinSize; void SetBoxCornerMinSize(Standard_Real theValue); - /****************** SetBoxEdgeGap ******************/ - /**** md5 signature: 509bab1cb550227d5b9ef2b8b06b8857 ****/ + /****** AIS_ViewCube::SetBoxEdgeGap ******/ + /****** md5 signature: 509bab1cb550227d5b9ef2b8b06b8857 ******/ %feature("compactdefaultargs") SetBoxEdgeGap; - %feature("autodoc", "Set new value of box edges gap. - + %feature("autodoc", " Parameters ---------- theValue: float -Returns +Return ------- None + +Description +----------- +Set new value of box edges gap. ") SetBoxEdgeGap; void SetBoxEdgeGap(Standard_Real theValue); - /****************** SetBoxEdgeMinSize ******************/ - /**** md5 signature: 5ebb8cd58ee33cd5b2d5938d1345e440 ****/ + /****** AIS_ViewCube::SetBoxEdgeMinSize ******/ + /****** md5 signature: 5ebb8cd58ee33cd5b2d5938d1345e440 ******/ %feature("compactdefaultargs") SetBoxEdgeMinSize; - %feature("autodoc", "Set new value of box edge minimal size. - + %feature("autodoc", " Parameters ---------- theValue: float -Returns +Return ------- None + +Description +----------- +Set new value of box edge minimal size. ") SetBoxEdgeMinSize; void SetBoxEdgeMinSize(Standard_Real theValue); - /****************** SetBoxFacetExtension ******************/ - /**** md5 signature: 098f3a467ddf8cf6716c6347bad9ca5c ****/ + /****** AIS_ViewCube::SetBoxFacetExtension ******/ + /****** md5 signature: 098f3a467ddf8cf6716c6347bad9ca5c ******/ %feature("compactdefaultargs") SetBoxFacetExtension; - %feature("autodoc", "Set new value of box facet extension. - + %feature("autodoc", " Parameters ---------- theValue: float -Returns +Return ------- None + +Description +----------- +Set new value of box facet extension. ") SetBoxFacetExtension; void SetBoxFacetExtension(Standard_Real theValue); - /****************** SetBoxSideLabel ******************/ - /**** md5 signature: afb875f447d85dddc5aecae5535def86 ****/ + /****** AIS_ViewCube::SetBoxSideLabel ******/ + /****** md5 signature: afb875f447d85dddc5aecae5535def86 ******/ %feature("compactdefaultargs") SetBoxSideLabel; - %feature("autodoc", "Set box side label. - + %feature("autodoc", " Parameters ---------- theSide: V3d_TypeOfOrientation -theLabel: TCollection_AsciiString +theLabel: str -Returns +Return ------- None + +Description +----------- +Set box side label. ") SetBoxSideLabel; - void SetBoxSideLabel(const V3d_TypeOfOrientation theSide, const TCollection_AsciiString & theLabel); + void SetBoxSideLabel(const V3d_TypeOfOrientation theSide, TCollection_AsciiString theLabel); - /****************** SetBoxTransparency ******************/ - /**** md5 signature: 7b1db2c489dae836412f459804ab26de ****/ + /****** AIS_ViewCube::SetBoxTransparency ******/ + /****** md5 signature: 7b1db2c489dae836412f459804ab26de ******/ %feature("compactdefaultargs") SetBoxTransparency; - %feature("autodoc", "Set new value of transparency for 3d part of object. @param thevalue [in] input transparency value. - + %feature("autodoc", " Parameters ---------- theValue: float -Returns +Return ------- None + +Description +----------- +Set new value of transparency for 3D part of object. +Input parameter: theValue input transparency value. ") SetBoxTransparency; void SetBoxTransparency(Standard_Real theValue); - /****************** SetColor ******************/ - /**** md5 signature: 8b05a1176e8ea8308341667f45b45c55 ****/ + /****** AIS_ViewCube::SetColor ******/ + /****** md5 signature: 8b05a1176e8ea8308341667f45b45c55 ******/ %feature("compactdefaultargs") SetColor; - %feature("autodoc", "Set new value of color for the whole object. @param thecolor [in] input color value. - + %feature("autodoc", " Parameters ---------- theColor: Quantity_Color -Returns +Return ------- None + +Description +----------- +Set new value of color for the whole object. +Input parameter: theColor input color value. ") SetColor; virtual void SetColor(const Quantity_Color & theColor); - /****************** SetDrawAxes ******************/ - /**** md5 signature: 6d8a79f10109d6e330c2252fb0788a3a ****/ + /****** AIS_ViewCube::SetDrawAxes ******/ + /****** md5 signature: 6d8a79f10109d6e330c2252fb0788a3a ******/ %feature("compactdefaultargs") SetDrawAxes; - %feature("autodoc", "Enable/disable drawing of trihedron. - + %feature("autodoc", " Parameters ---------- theValue: bool -Returns +Return ------- None + +Description +----------- +Enable/disable drawing of trihedron. ") SetDrawAxes; void SetDrawAxes(Standard_Boolean theValue); - /****************** SetDrawEdges ******************/ - /**** md5 signature: 561c086bdeef81fcce791ab36dd58d37 ****/ + /****** AIS_ViewCube::SetDrawEdges ******/ + /****** md5 signature: 561c086bdeef81fcce791ab36dd58d37 ******/ %feature("compactdefaultargs") SetDrawEdges; - %feature("autodoc", "Enable/disable drawing of edges of view cube. - + %feature("autodoc", " Parameters ---------- theValue: bool -Returns +Return ------- None + +Description +----------- +Enable/disable drawing of edges of View Cube. ") SetDrawEdges; void SetDrawEdges(Standard_Boolean theValue); - /****************** SetDrawVertices ******************/ - /**** md5 signature: 7620542fa225287ee76a8ccf14ea2d2f ****/ + /****** AIS_ViewCube::SetDrawVertices ******/ + /****** md5 signature: 7620542fa225287ee76a8ccf14ea2d2f ******/ %feature("compactdefaultargs") SetDrawVertices; - %feature("autodoc", "Enable/disable drawing of vertices (corners) of view cube. - + %feature("autodoc", " Parameters ---------- theValue: bool -Returns +Return ------- None + +Description +----------- +Enable/disable drawing of vertices (corners) of View Cube. ") SetDrawVertices; void SetDrawVertices(Standard_Boolean theValue); - /****************** SetDuration ******************/ - /**** md5 signature: 77de8062b463afd09fa32f19d1f28c85 ****/ + /****** AIS_ViewCube::SetDuration ******/ + /****** md5 signature: 77de8062b463afd09fa32f19d1f28c85 ******/ %feature("compactdefaultargs") SetDuration; - %feature("autodoc", "Set duration of animation. @param thevalue [in] input value of duration in seconds. - + %feature("autodoc", " Parameters ---------- theValue: float -Returns +Return ------- None + +Description +----------- +Set duration of animation. +Input parameter: theValue input value of duration in seconds. ") SetDuration; void SetDuration(Standard_Real theValue); - /****************** SetFitSelected ******************/ - /**** md5 signature: 8d3243804e683621aa021dc968363a29 ****/ + /****** AIS_ViewCube::SetFitSelected ******/ + /****** md5 signature: 8d3243804e683621aa021dc968363a29 ******/ %feature("compactdefaultargs") SetFitSelected; - %feature("autodoc", "Set if animation should fit selected objects or to fit entire scene. - + %feature("autodoc", " Parameters ---------- theToFitSelected: bool -Returns +Return ------- None + +Description +----------- +Set if animation should fit selected objects or to fit entire scene. ") SetFitSelected; void SetFitSelected(Standard_Boolean theToFitSelected); - /****************** SetFixedAnimationLoop ******************/ - /**** md5 signature: f081ff0fc52eba4baf015d8e1c8d3cf9 ****/ + /****** AIS_ViewCube::SetFixedAnimationLoop ******/ + /****** md5 signature: f081ff0fc52eba4baf015d8e1c8d3cf9 ******/ %feature("compactdefaultargs") SetFixedAnimationLoop; - %feature("autodoc", "Set if camera animation should be done in uninterruptible loop. - + %feature("autodoc", " Parameters ---------- theToEnable: bool -Returns +Return ------- None + +Description +----------- +Set if camera animation should be done in uninterruptible loop. ") SetFixedAnimationLoop; void SetFixedAnimationLoop(bool theToEnable); - /****************** SetFont ******************/ - /**** md5 signature: 7f2969793d80ece6d22485bcb15f06b4 ****/ + /****** AIS_ViewCube::SetFont ******/ + /****** md5 signature: 7f2969793d80ece6d22485bcb15f06b4 ******/ %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. - + %feature("autodoc", " Parameters ---------- -theFont: TCollection_AsciiString +theFont: str -Returns +Return ------- None + +Description +----------- +Set font name that is used for displaying of sides and axes text. Alias for: @code Attributes()->TextAspect()->SetFont() @endcode. ") SetFont; - void SetFont(const TCollection_AsciiString & theFont); + void SetFont(TCollection_AsciiString theFont); - /****************** SetFontHeight ******************/ - /**** md5 signature: 88c3666178019f6b9e8629cb7bd9166f ****/ + /****** AIS_ViewCube::SetFontHeight ******/ + /****** md5 signature: 88c3666178019f6b9e8629cb7bd9166f ******/ %feature("compactdefaultargs") SetFontHeight; - %feature("autodoc", "Change font height. alias for: @code attributes()->textaspect()->setheight() @endcode. - + %feature("autodoc", " Parameters ---------- theValue: float -Returns +Return ------- None + +Description +----------- +Change font height. Alias for: @code Attributes()->TextAspect()->SetHeight() @endcode. ") SetFontHeight; void SetFontHeight(Standard_Real theValue); - /****************** SetInnerColor ******************/ - /**** md5 signature: c006b72a08a2372175b589ace45abf78 ****/ + /****** AIS_ViewCube::SetInnerColor ******/ + /****** md5 signature: c006b72a08a2372175b589ace45abf78 ******/ %feature("compactdefaultargs") SetInnerColor; - %feature("autodoc", "Set color of sides back material. alias for: @code attributes()->shadingaspect()->aspect()->changebackmaterial().setcolor() @endcode. - + %feature("autodoc", " Parameters ---------- theColor: Quantity_Color -Returns +Return ------- None + +Description +----------- +Set color of sides back material. Alias for: @code Attributes()->ShadingAspect()->Aspect()->ChangeBackMaterial().SetColor() @endcode. ") SetInnerColor; void SetInnerColor(const Quantity_Color & theColor); - /****************** SetMaterial ******************/ - /**** md5 signature: ee0a196604d70f5cc8455b24228bcaef ****/ + /****** AIS_ViewCube::SetMaterial ******/ + /****** md5 signature: ee0a196604d70f5cc8455b24228bcaef ******/ %feature("compactdefaultargs") SetMaterial; - %feature("autodoc", "Sets the material for the interactive object. - + %feature("autodoc", " Parameters ---------- theMat: Graphic3d_MaterialAspect -Returns +Return ------- None + +Description +----------- +Sets the material for the interactive object. ") SetMaterial; virtual void SetMaterial(const Graphic3d_MaterialAspect & theMat); - /****************** SetResetCamera ******************/ - /**** md5 signature: 5f322fdd51d73afcfa771ed706e084e8 ****/ + /****** AIS_ViewCube::SetResetCamera ******/ + /****** md5 signature: 5f322fdd51d73afcfa771ed706e084e8 ******/ %feature("compactdefaultargs") SetResetCamera; - %feature("autodoc", "Set if new camera up direction should be always set to default value for a new camera direction. - + %feature("autodoc", " Parameters ---------- theToReset: bool -Returns +Return ------- None + +Description +----------- +Set if new camera Up direction should be always set to default value for a new camera Direction. ") SetResetCamera; void SetResetCamera(Standard_Boolean theToReset); - /****************** SetRoundRadius ******************/ - /**** md5 signature: 3f1472c692ca705e2555a28d216862a0 ****/ + /****** AIS_ViewCube::SetRoundRadius ******/ + /****** md5 signature: 3f1472c692ca705e2555a28d216862a0 ******/ %feature("compactdefaultargs") SetRoundRadius; - %feature("autodoc", "Set relative radius of view cube sides corners (round rectangle). the value should be within [0, 0.5] range. - + %feature("autodoc", " Parameters ---------- theValue: float -Returns +Return ------- None + +Description +----------- +Set relative radius of View Cube sides corners (round rectangle). The value should be within [0, 0.5] range. ") SetRoundRadius; void SetRoundRadius(const Standard_Real theValue); - /****************** SetSize ******************/ - /**** md5 signature: 5baa016955736829fa7e1f0badc0d106 ****/ + /****** AIS_ViewCube::SetSize ******/ + /****** md5 signature: 5baa016955736829fa7e1f0badc0d106 ******/ %feature("compactdefaultargs") SetSize; - %feature("autodoc", "Sets size (width and height) of view cube sides. @param thetoadaptanother if true, then other parameters will be adapted to specified size. - + %feature("autodoc", " Parameters ---------- theValue: float -theToAdaptAnother: bool,optional - default value is true +theToAdaptAnother: bool (optional, default to true) -Returns +Return ------- None + +Description +----------- +Sets size (width and height) of View cube sides. +Parameter theToAdaptAnother if True, then other parameters will be adapted to specified size. ") SetSize; void SetSize(Standard_Real theValue, Standard_Boolean theToAdaptAnother = true); - /****************** SetTextColor ******************/ - /**** md5 signature: f1aa114965e956f094c13e5b3ae0dc42 ****/ + /****** AIS_ViewCube::SetTextColor ******/ + /****** md5 signature: f1aa114965e956f094c13e5b3ae0dc42 ******/ %feature("compactdefaultargs") SetTextColor; - %feature("autodoc", "Set color of text labels on box sides. alias for: @code attributes()->textaspect()->setcolor() @endcode. - + %feature("autodoc", " Parameters ---------- theColor: Quantity_Color -Returns +Return ------- None + +Description +----------- +Set color of text labels on box sides. Alias for: @code Attributes()->TextAspect()->SetColor() @endcode. ") SetTextColor; void SetTextColor(const Quantity_Color & theColor); - /****************** SetTransparency ******************/ - /**** md5 signature: dd8539d90dbe5b5ee6a12b8b3e461ecb ****/ + /****** AIS_ViewCube::SetTransparency ******/ + /****** md5 signature: dd8539d90dbe5b5ee6a12b8b3e461ecb ******/ %feature("compactdefaultargs") SetTransparency; - %feature("autodoc", "Set new value of transparency for the whole object. @param thevalue [in] input transparency value. - + %feature("autodoc", " Parameters ---------- theValue: float -Returns +Return ------- None + +Description +----------- +Set new value of transparency for the whole object. +Input parameter: theValue input transparency value. ") SetTransparency; virtual void SetTransparency(const Standard_Real theValue); - /****************** SetViewAnimation ******************/ - /**** md5 signature: 853aa0ceb7bdaa632922e5e8afd4812f ****/ + /****** AIS_ViewCube::SetViewAnimation ******/ + /****** md5 signature: 853aa0ceb7bdaa632922e5e8afd4812f ******/ %feature("compactdefaultargs") SetViewAnimation; - %feature("autodoc", "Set view animation. - + %feature("autodoc", " Parameters ---------- theAnimation: AIS_AnimationCamera -Returns +Return ------- None + +Description +----------- +Set view animation. ") SetViewAnimation; void SetViewAnimation(const opencascade::handle & theAnimation); - /****************** SetYup ******************/ - /**** md5 signature: 042b2f912421f1ec215a2aee204101be ****/ + /****** AIS_ViewCube::SetYup ******/ + /****** md5 signature: 042b2f912421f1ec215a2aee204101be ******/ %feature("compactdefaultargs") SetYup; - %feature("autodoc", "Set if application expects y-up viewer orientation instead of z-up. - + %feature("autodoc", " Parameters ---------- theIsYup: bool -theToUpdateLabels: bool,optional - default value is Standard_True +theToUpdateLabels: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +Set if application expects Y-up viewer orientation instead of Z-up. ") SetYup; void SetYup(Standard_Boolean theIsYup, Standard_Boolean theToUpdateLabels = Standard_True); - /****************** Size ******************/ - /**** md5 signature: 0113d47673ecbdcb4822fb85c27ac0c5 ****/ + /****** AIS_ViewCube::Size ******/ + /****** md5 signature: 0113d47673ecbdcb4822fb85c27ac0c5 ******/ %feature("compactdefaultargs") Size; - %feature("autodoc", "Returns size (width and height) of view cube sides; 100 by default. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Return: size (width and height) of View cube sides; 100 by default. ") Size; Standard_Real Size(); - /****************** StartAnimation ******************/ - /**** md5 signature: e11ccac5a43cc784cce774de19a1f2f9 ****/ + /****** AIS_ViewCube::StartAnimation ******/ + /****** md5 signature: e11ccac5a43cc784cce774de19a1f2f9 ******/ %feature("compactdefaultargs") StartAnimation; - %feature("autodoc", "Start camera transformation corresponding to the input detected owner. @param theowner [in] detected owner. - + %feature("autodoc", " Parameters ---------- theOwner: AIS_ViewCubeOwner -Returns +Return ------- None + +Description +----------- +Start camera transformation corresponding to the input detected owner. +Input parameter: theOwner detected owner. ") StartAnimation; virtual void StartAnimation(const opencascade::handle & theOwner); - /****************** TextColor ******************/ - /**** md5 signature: 92b8584a07bd8f0e0e3839a819e74e79 ****/ + /****** AIS_ViewCube::TextColor ******/ + /****** md5 signature: 92b8584a07bd8f0e0e3839a819e74e79 ******/ %feature("compactdefaultargs") TextColor; - %feature("autodoc", "Return text color of labels of box sides; black by default. - -Returns + %feature("autodoc", "Return ------- Quantity_Color + +Description +----------- +Return text color of labels of box sides; BLACK by default. ") TextColor; const Quantity_Color & TextColor(); - /****************** ToAutoStartAnimation ******************/ - /**** md5 signature: 173be5b407140d752a33eecf77a56b09 ****/ + /****** AIS_ViewCube::ToAutoStartAnimation ******/ + /****** md5 signature: 173be5b407140d752a33eecf77a56b09 ******/ %feature("compactdefaultargs") ToAutoStartAnimation; - %feature("autodoc", "Return true if automatic camera transformation on selection (highlighting) is enabled; true by default. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return True if automatic camera transformation on selection (highlighting) is enabled; True by default. ") ToAutoStartAnimation; Standard_Boolean ToAutoStartAnimation(); - /****************** ToDrawAxes ******************/ - /**** md5 signature: cf79dcc6451b48c9e4ca8d3f257bcc8d ****/ + /****** AIS_ViewCube::ToDrawAxes ******/ + /****** md5 signature: cf79dcc6451b48c9e4ca8d3f257bcc8d ******/ %feature("compactdefaultargs") ToDrawAxes; - %feature("autodoc", "Returns true if trihedron is drawn; true by default. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return: True if trihedron is drawn; True by default. ") ToDrawAxes; Standard_Boolean ToDrawAxes(); - /****************** ToDrawEdges ******************/ - /**** md5 signature: 04159a85d23312a120a98b95966f1e8d ****/ + /****** AIS_ViewCube::ToDrawEdges ******/ + /****** md5 signature: 04159a85d23312a120a98b95966f1e8d ******/ %feature("compactdefaultargs") ToDrawEdges; - %feature("autodoc", "Returns true if edges of view cube is drawn; true by default. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return: True if edges of View Cube is drawn; True by default. ") ToDrawEdges; Standard_Boolean ToDrawEdges(); - /****************** ToDrawVertices ******************/ - /**** md5 signature: 71770068df79467e3f52c43f268b446f ****/ + /****** AIS_ViewCube::ToDrawVertices ******/ + /****** md5 signature: 71770068df79467e3f52c43f268b446f ******/ %feature("compactdefaultargs") ToDrawVertices; - %feature("autodoc", "Return true if vertices (vertex) of view cube is drawn; true by default. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return True if vertices (vertex) of View Cube is drawn; True by default. ") ToDrawVertices; Standard_Boolean ToDrawVertices(); - /****************** ToFitSelected ******************/ - /**** md5 signature: ca2e1783e415345ec5dde27605ce5511 ****/ + /****** AIS_ViewCube::ToFitSelected ******/ + /****** md5 signature: ca2e1783e415345ec5dde27605ce5511 ******/ %feature("compactdefaultargs") ToFitSelected; - %feature("autodoc", "Return true if animation should fit selected objects and false to fit entire scene; true by default. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return True if animation should fit selected objects and False to fit entire scene; True by default. ") ToFitSelected; Standard_Boolean ToFitSelected(); - /****************** ToResetCameraUp ******************/ - /**** md5 signature: 8126147cfb93a6867ff8d666dce509ea ****/ + /****** AIS_ViewCube::ToResetCameraUp ******/ + /****** md5 signature: 8126147cfb93a6867ff8d666dce509ea ******/ %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. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +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. ") ToResetCameraUp; Standard_Boolean ToResetCameraUp(); - /****************** UnsetAttributes ******************/ - /**** md5 signature: f3893ef8c4b0f7748ca4fdf6a6ba4ae8 ****/ + /****** AIS_ViewCube::UnsetAttributes ******/ + /****** md5 signature: f3893ef8c4b0f7748ca4fdf6a6ba4ae8 ******/ %feature("compactdefaultargs") UnsetAttributes; - %feature("autodoc", "Set default parameters for visual attributes @sa attributes(). - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Set default parameters for visual attributes +See also: Attributes(). ") UnsetAttributes; virtual void UnsetAttributes(); - /****************** UnsetColor ******************/ - /**** md5 signature: 543a55646b9732434a34cda0626c7ae0 ****/ + /****** AIS_ViewCube::UnsetColor ******/ + /****** md5 signature: 543a55646b9732434a34cda0626c7ae0 ******/ %feature("compactdefaultargs") UnsetColor; - %feature("autodoc", "Reset color for the whole object. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Reset color for the whole object. ") UnsetColor; virtual void UnsetColor(); - /****************** UnsetHilightAttributes ******************/ - /**** md5 signature: cdbaa046fa84db348b32f4063de97507 ****/ + /****** AIS_ViewCube::UnsetHilightAttributes ******/ + /****** md5 signature: cdbaa046fa84db348b32f4063de97507 ******/ %feature("compactdefaultargs") UnsetHilightAttributes; - %feature("autodoc", "Set default parameters for dynamic highlighting attributes, reset highlight attributes. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Set default parameters for dynamic highlighting attributes, reset highlight attributes. ") UnsetHilightAttributes; virtual void UnsetHilightAttributes(); - /****************** UnsetMaterial ******************/ - /**** md5 signature: fd222a04e009fb71173291d494b57fbe ****/ + /****** AIS_ViewCube::UnsetMaterial ******/ + /****** md5 signature: fd222a04e009fb71173291d494b57fbe ******/ %feature("compactdefaultargs") UnsetMaterial; - %feature("autodoc", "Sets the material for the interactive object. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Sets the material for the interactive object. ") UnsetMaterial; virtual void UnsetMaterial(); - /****************** UnsetTransparency ******************/ - /**** md5 signature: d5dc50ef874a9e0fcbfa62da4cd73b8f ****/ + /****** AIS_ViewCube::UnsetTransparency ******/ + /****** md5 signature: d5dc50ef874a9e0fcbfa62da4cd73b8f ******/ %feature("compactdefaultargs") UnsetTransparency; - %feature("autodoc", "Reset transparency for the whole object. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Reset transparency for the whole object. ") UnsetTransparency; virtual void UnsetTransparency(); - /****************** UpdateAnimation ******************/ - /**** md5 signature: 1cd4b6447fb9ee386d69db232b771bf6 ****/ + /****** AIS_ViewCube::UpdateAnimation ******/ + /****** md5 signature: 1cd4b6447fb9ee386d69db232b771bf6 ******/ %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. - + %feature("autodoc", " Parameters ---------- theToUpdate: bool -Returns +Return ------- bool + +Description +----------- +Perform one step of current camera transformation. theToUpdate[in] enable/disable update of view. +Return: True if animation is not stopped. ") UpdateAnimation; virtual Standard_Boolean UpdateAnimation(const Standard_Boolean theToUpdate); - /****************** ViewAnimation ******************/ - /**** md5 signature: 7a7517bd1c0e55fdc5279dc1aefd5047 ****/ + /****** AIS_ViewCube::ViewAnimation ******/ + /****** md5 signature: 7a7517bd1c0e55fdc5279dc1aefd5047 ******/ %feature("compactdefaultargs") ViewAnimation; - %feature("autodoc", "Return view animation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Return view animation. ") ViewAnimation; const opencascade::handle & ViewAnimation(); @@ -15382,134 +18968,159 @@ opencascade::handle ****************************/ class AIS_XRTrackedDevice : public AIS_InteractiveObject { public: - /****************** AIS_XRTrackedDevice ******************/ - /**** md5 signature: 73db88b212ab4ea311f2c54259f77263 ****/ + /****** AIS_XRTrackedDevice::AIS_XRTrackedDevice ******/ + /****** md5 signature: 73db88b212ab4ea311f2c54259f77263 ******/ %feature("compactdefaultargs") AIS_XRTrackedDevice; - %feature("autodoc", "Main constructor. - + %feature("autodoc", " Parameters ---------- theTris: Graphic3d_ArrayOfTriangles theTexture: Image_Texture -Returns +Return ------- None + +Description +----------- +Main constructor. ") AIS_XRTrackedDevice; AIS_XRTrackedDevice(const opencascade::handle & theTris, const opencascade::handle & theTexture); - /****************** AIS_XRTrackedDevice ******************/ - /**** md5 signature: 81dc9375bb8ceba5f8e13cdae8ed699d ****/ + /****** AIS_XRTrackedDevice::AIS_XRTrackedDevice ******/ + /****** md5 signature: 81dc9375bb8ceba5f8e13cdae8ed699d ******/ %feature("compactdefaultargs") AIS_XRTrackedDevice; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") AIS_XRTrackedDevice; AIS_XRTrackedDevice(); - /****************** LaserColor ******************/ - /**** md5 signature: 3764f0787105c7ac66e6b31a8f2890b8 ****/ + /****** AIS_XRTrackedDevice::LaserColor ******/ + /****** md5 signature: 3764f0787105c7ac66e6b31a8f2890b8 ******/ %feature("compactdefaultargs") LaserColor; - %feature("autodoc", "Return laser color. - -Returns + %feature("autodoc", "Return ------- Quantity_Color + +Description +----------- +Return laser color. ") LaserColor; const Quantity_Color & LaserColor(); - /****************** LaserLength ******************/ - /**** md5 signature: a1c42ebb70645a086f015598d7a3f880 ****/ + /****** AIS_XRTrackedDevice::LaserLength ******/ + /****** md5 signature: a1c42ebb70645a086f015598d7a3f880 ******/ %feature("compactdefaultargs") LaserLength; - %feature("autodoc", "Return laser length. - -Returns + %feature("autodoc", "Return ------- -Standard_ShortReal +float + +Description +----------- +Return laser length. ") LaserLength; Standard_ShortReal LaserLength(); - /****************** Role ******************/ - /**** md5 signature: 9ca69fc1cf78226378dfe201ccd20d67 ****/ + /****** AIS_XRTrackedDevice::Role ******/ + /****** md5 signature: 9ca69fc1cf78226378dfe201ccd20d67 ******/ %feature("compactdefaultargs") Role; - %feature("autodoc", "Return device role. - -Returns + %feature("autodoc", "Return ------- Aspect_XRTrackedDeviceRole + +Description +----------- +Return device role. ") Role; Aspect_XRTrackedDeviceRole Role(); - /****************** SetLaserColor ******************/ - /**** md5 signature: 6c097047fce7892b381ebd56a66e83cc ****/ + /****** AIS_XRTrackedDevice::SetLaserColor ******/ + /****** md5 signature: 6c097047fce7892b381ebd56a66e83cc ******/ %feature("compactdefaultargs") SetLaserColor; - %feature("autodoc", "Set laser color. - + %feature("autodoc", " Parameters ---------- theColor: Quantity_Color -Returns +Return ------- None + +Description +----------- +Set laser color. ") SetLaserColor; void SetLaserColor(const Quantity_Color & theColor); - /****************** SetLaserLength ******************/ - /**** md5 signature: 43d0febcaf31d7623acf48aa12a5ca5b ****/ + /****** AIS_XRTrackedDevice::SetLaserLength ******/ + /****** md5 signature: 43d0febcaf31d7623acf48aa12a5ca5b ******/ %feature("compactdefaultargs") SetLaserLength; - %feature("autodoc", "Set laser length. - + %feature("autodoc", " Parameters ---------- -theLength: Standard_ShortReal +theLength: float -Returns +Return ------- None + +Description +----------- +Set laser length. ") SetLaserLength; void SetLaserLength(Standard_ShortReal theLength); - /****************** SetRole ******************/ - /**** md5 signature: 327a00be1fb4288d5cf8731991db2478 ****/ + /****** AIS_XRTrackedDevice::SetRole ******/ + /****** md5 signature: 327a00be1fb4288d5cf8731991db2478 ******/ %feature("compactdefaultargs") SetRole; - %feature("autodoc", "Set device role. - + %feature("autodoc", " Parameters ---------- theRole: Aspect_XRTrackedDeviceRole -Returns +Return ------- None + +Description +----------- +Set device role. ") SetRole; void SetRole(Aspect_XRTrackedDeviceRole theRole); - /****************** SetUnitFactor ******************/ - /**** md5 signature: 8af5f076041e3e6f73d217280b2545fb ****/ + /****** AIS_XRTrackedDevice::SetUnitFactor ******/ + /****** md5 signature: 8af5f076041e3e6f73d217280b2545fb ******/ %feature("compactdefaultargs") SetUnitFactor; - %feature("autodoc", "Set unit scale factor. - + %feature("autodoc", " Parameters ---------- -theFactor: Standard_ShortReal +theFactor: float -Returns +Return ------- None + +Description +----------- +Set unit scale factor. ") SetUnitFactor; void SetUnitFactor(Standard_ShortReal theFactor); - /****************** UnitFactor ******************/ - /**** md5 signature: 86bfa16b9e53c2b7bd0c03986ad464d6 ****/ + /****** AIS_XRTrackedDevice::UnitFactor ******/ + /****** md5 signature: 86bfa16b9e53c2b7bd0c03986ad464d6 ******/ %feature("compactdefaultargs") UnitFactor; - %feature("autodoc", "Return unit scale factor. - -Returns + %feature("autodoc", "Return ------- -Standard_ShortReal +float + +Description +----------- +Return unit scale factor. ") UnitFactor; Standard_ShortReal UnitFactor(); @@ -15522,233 +19133,364 @@ Standard_ShortReal } }; +/********************************** +* class AIS_AnimationAxisRotation * +**********************************/ +class AIS_AnimationAxisRotation : public AIS_BaseAnimationObject { + public: + /****** AIS_AnimationAxisRotation::AIS_AnimationAxisRotation ******/ + /****** md5 signature: 819427e2c422233cc067da4633992952 ******/ + %feature("compactdefaultargs") AIS_AnimationAxisRotation; + %feature("autodoc", " +Parameters +---------- +theAnimationName: str +theContext: AIS_InteractiveContext +theObject: AIS_InteractiveObject +theAxis: gp_Ax1 +theAngleStart: float +theAngleEnd: float + +Return +------- +None + +Description +----------- +Constructor with initialization. +Input parameter: theAnimationName animation identifier +Input parameter: theContext interactive context where object have been displayed +Input parameter: theObject object to apply rotation +Input parameter: theAxis rotation axis +Input parameter: theAngleStart rotation angle at the start of animation +Input parameter: theAngleEnd rotation angle at the end of animation. +") AIS_AnimationAxisRotation; + AIS_AnimationAxisRotation(TCollection_AsciiString theAnimationName, const opencascade::handle & theContext, const opencascade::handle & theObject, const gp_Ax1 & theAxis, const Standard_Real theAngleStart, const Standard_Real theAngleEnd); + +}; + + +%make_alias(AIS_AnimationAxisRotation) + +%extend AIS_AnimationAxisRotation { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/**************************** +* class AIS_AnimationObject * +****************************/ +class AIS_AnimationObject : public AIS_BaseAnimationObject { + public: + /****** AIS_AnimationObject::AIS_AnimationObject ******/ + /****** md5 signature: c16e60828b420c37f86bd653dd4d9c04 ******/ + %feature("compactdefaultargs") AIS_AnimationObject; + %feature("autodoc", " +Parameters +---------- +theAnimationName: str +theContext: AIS_InteractiveContext +theObject: AIS_InteractiveObject +theTrsfStart: gp_Trsf +theTrsfEnd: gp_Trsf + +Return +------- +None + +Description +----------- +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. +Input parameter: theAnimationName animation identifier +Input parameter: theContext interactive context where object have been displayed +Input parameter: theObject object to apply local transformation +Input parameter: theTrsfStart local transformation at the start of animation (e.g. theObject->LocalTransformation()) +Input parameter: theTrsfEnd local transformation at the end of animation. +") AIS_AnimationObject; + AIS_AnimationObject(TCollection_AsciiString theAnimationName, const opencascade::handle & theContext, const opencascade::handle & theObject, const gp_Trsf & theTrsfStart, const gp_Trsf & theTrsfEnd); + +}; + + +%make_alias(AIS_AnimationObject) + +%extend AIS_AnimationObject { + %pythoncode { + __repr__ = _dumps_object + } +}; + /************************* * class AIS_ColoredShape * *************************/ class AIS_ColoredShape : public AIS_Shape { public: - /****************** AIS_ColoredShape ******************/ - /**** md5 signature: fb3b55130e0ac29dc003b42df171867f ****/ + /****** AIS_ColoredShape::AIS_ColoredShape ******/ + /****** md5 signature: fb3b55130e0ac29dc003b42df171867f ******/ %feature("compactdefaultargs") AIS_ColoredShape; - %feature("autodoc", "Default constructor. - + %feature("autodoc", " Parameters ---------- theShape: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Default constructor. ") AIS_ColoredShape; AIS_ColoredShape(const TopoDS_Shape & theShape); - /****************** AIS_ColoredShape ******************/ - /**** md5 signature: 57d5a885b365bbdae440a6669a47baaf ****/ + /****** AIS_ColoredShape::AIS_ColoredShape ******/ + /****** md5 signature: 57d5a885b365bbdae440a6669a47baaf ******/ %feature("compactdefaultargs") AIS_ColoredShape; - %feature("autodoc", "Copy constructor. - + %feature("autodoc", " Parameters ---------- theShape: AIS_Shape -Returns +Return ------- None + +Description +----------- +Copy constructor. ") AIS_ColoredShape; AIS_ColoredShape(const opencascade::handle & theShape); - /****************** ChangeCustomAspectsMap ******************/ - /**** md5 signature: 2476431f03a5311f849b8058f8394850 ****/ + /****** AIS_ColoredShape::ChangeCustomAspectsMap ******/ + /****** md5 signature: 2476431f03a5311f849b8058f8394850 ******/ %feature("compactdefaultargs") ChangeCustomAspectsMap; - %feature("autodoc", "Return the map of custom aspects. - -Returns + %feature("autodoc", "Return ------- AIS_DataMapOfShapeDrawer + +Description +----------- +Return the map of custom aspects. ") ChangeCustomAspectsMap; AIS_DataMapOfShapeDrawer & ChangeCustomAspectsMap(); - /****************** ClearCustomAspects ******************/ - /**** md5 signature: fc6f686010bc49df004ff6cccab2c0a6 ****/ + /****** AIS_ColoredShape::ClearCustomAspects ******/ + /****** md5 signature: fc6f686010bc49df004ff6cccab2c0a6 ******/ %feature("compactdefaultargs") ClearCustomAspects; - %feature("autodoc", "Reset the map of custom sub-shape aspects. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Reset the map of custom sub-shape aspects. ") ClearCustomAspects; virtual void ClearCustomAspects(); - /****************** CustomAspects ******************/ - /**** md5 signature: 23e6d1633ab573a66905b41e46a87dae ****/ + /****** AIS_ColoredShape::CustomAspects ******/ + /****** md5 signature: 23e6d1633ab573a66905b41e46a87dae ******/ %feature("compactdefaultargs") CustomAspects; - %feature("autodoc", "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. - + %feature("autodoc", " Parameters ---------- theShape: TopoDS_Shape -Returns +Return ------- opencascade::handle + +Description +----------- +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. ") CustomAspects; virtual opencascade::handle CustomAspects(const TopoDS_Shape & theShape); - /****************** CustomAspectsMap ******************/ - /**** md5 signature: 47035b68a9196eeabf7efbd351c7543e ****/ + /****** AIS_ColoredShape::CustomAspectsMap ******/ + /****** md5 signature: 47035b68a9196eeabf7efbd351c7543e ******/ %feature("compactdefaultargs") CustomAspectsMap; - %feature("autodoc", "Return the map of custom aspects. - -Returns + %feature("autodoc", "Return ------- AIS_DataMapOfShapeDrawer + +Description +----------- +Return the map of custom aspects. ") CustomAspectsMap; const AIS_DataMapOfShapeDrawer & CustomAspectsMap(); - /****************** SetColor ******************/ - /**** md5 signature: 259272248bacb2cef242adbc667f0ef9 ****/ + /****** AIS_ColoredShape::SetColor ******/ + /****** md5 signature: 259272248bacb2cef242adbc667f0ef9 ******/ %feature("compactdefaultargs") SetColor; - %feature("autodoc", "Setup color of entire shape. - + %feature("autodoc", " Parameters ---------- theColor: Quantity_Color -Returns +Return ------- None + +Description +----------- +Setup color of entire shape. ") SetColor; virtual void SetColor(const Quantity_Color & theColor); - /****************** SetCustomColor ******************/ - /**** md5 signature: 6e83a5131df277baf8e10888e6a04420 ****/ + /****** AIS_ColoredShape::SetCustomColor ******/ + /****** md5 signature: 6e83a5131df277baf8e10888e6a04420 ******/ %feature("compactdefaultargs") SetCustomColor; - %feature("autodoc", "Customize color of specified sub-shape. - + %feature("autodoc", " Parameters ---------- theShape: TopoDS_Shape theColor: Quantity_Color -Returns +Return ------- None + +Description +----------- +Customize color of specified sub-shape. ") SetCustomColor; void SetCustomColor(const TopoDS_Shape & theShape, const Quantity_Color & theColor); - /****************** SetCustomTransparency ******************/ - /**** md5 signature: 8d33038bdbc2ac4fcd98bb4df4850d0d ****/ + /****** AIS_ColoredShape::SetCustomTransparency ******/ + /****** md5 signature: 8d33038bdbc2ac4fcd98bb4df4850d0d ******/ %feature("compactdefaultargs") SetCustomTransparency; - %feature("autodoc", "Customize transparency of specified sub-shape. - + %feature("autodoc", " Parameters ---------- theShape: TopoDS_Shape theTransparency: float -Returns +Return ------- None + +Description +----------- +Customize transparency of specified sub-shape. ") SetCustomTransparency; void SetCustomTransparency(const TopoDS_Shape & theShape, Standard_Real theTransparency); - /****************** SetCustomWidth ******************/ - /**** md5 signature: ecca2ec2322496495b6873213e79a4c4 ****/ + /****** AIS_ColoredShape::SetCustomWidth ******/ + /****** md5 signature: ecca2ec2322496495b6873213e79a4c4 ******/ %feature("compactdefaultargs") SetCustomWidth; - %feature("autodoc", "Customize line width of specified sub-shape. - + %feature("autodoc", " Parameters ---------- theShape: TopoDS_Shape theLineWidth: float -Returns +Return ------- None + +Description +----------- +Customize line width of specified sub-shape. ") SetCustomWidth; void SetCustomWidth(const TopoDS_Shape & theShape, const Standard_Real theLineWidth); - /****************** SetMaterial ******************/ - /**** md5 signature: 027cc7416eed42a51ff9f029065484ce ****/ + /****** AIS_ColoredShape::SetMaterial ******/ + /****** md5 signature: 027cc7416eed42a51ff9f029065484ce ******/ %feature("compactdefaultargs") SetMaterial; - %feature("autodoc", "Sets the material aspect. - + %feature("autodoc", " Parameters ---------- theAspect: Graphic3d_MaterialAspect -Returns +Return ------- None + +Description +----------- +Sets the material aspect. ") SetMaterial; virtual void SetMaterial(const Graphic3d_MaterialAspect & theAspect); - /****************** SetTransparency ******************/ - /**** md5 signature: ba76d0fd3455858ee750a8806e400e81 ****/ + /****** AIS_ColoredShape::SetTransparency ******/ + /****** md5 signature: ba76d0fd3455858ee750a8806e400e81 ******/ %feature("compactdefaultargs") SetTransparency; - %feature("autodoc", "Sets transparency value. - + %feature("autodoc", " Parameters ---------- theValue: float -Returns +Return ------- None + +Description +----------- +Sets transparency value. ") SetTransparency; virtual void SetTransparency(const Standard_Real theValue); - /****************** SetWidth ******************/ - /**** md5 signature: 57b7c9277a0da4b605caca1f2d04261e ****/ + /****** AIS_ColoredShape::SetWidth ******/ + /****** md5 signature: 57b7c9277a0da4b605caca1f2d04261e ******/ %feature("compactdefaultargs") SetWidth; - %feature("autodoc", "Setup line width of entire shape. - + %feature("autodoc", " Parameters ---------- theLineWidth: float -Returns +Return ------- None + +Description +----------- +Setup line width of entire shape. ") SetWidth; virtual void SetWidth(const Standard_Real theLineWidth); - /****************** UnsetCustomAspects ******************/ - /**** md5 signature: c6fa220c089211fa5af52ae527cd7403 ****/ + /****** AIS_ColoredShape::UnsetCustomAspects ******/ + /****** md5 signature: c6fa220c089211fa5af52ae527cd7403 ******/ %feature("compactdefaultargs") UnsetCustomAspects; - %feature("autodoc", "Reset custom properties of specified sub-shape. @param thetounregister unregister or not sub-shape from the map. - + %feature("autodoc", " Parameters ---------- theShape: TopoDS_Shape -theToUnregister: bool,optional - default value is Standard_False +theToUnregister: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +Reset custom properties of specified sub-shape. +Parameter theToUnregister unregister or not sub-shape from the map. ") UnsetCustomAspects; void UnsetCustomAspects(const TopoDS_Shape & theShape, const Standard_Boolean theToUnregister = Standard_False); - /****************** UnsetTransparency ******************/ - /**** md5 signature: bdf34ac27dd66c689517e7b105e66cb2 ****/ + /****** AIS_ColoredShape::UnsetTransparency ******/ + /****** md5 signature: bdf34ac27dd66c689517e7b105e66cb2 ******/ %feature("compactdefaultargs") UnsetTransparency; - %feature("autodoc", "Removes the setting for transparency in the reconstructed compound shape. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Removes the setting for transparency in the reconstructed compound shape. ") UnsetTransparency; virtual void UnsetTransparency(); - /****************** UnsetWidth ******************/ - /**** md5 signature: f4f13d47402fae34af3d548b3b62cf10 ****/ + /****** AIS_ColoredShape::UnsetWidth ******/ + /****** md5 signature: f4f13d47402fae34af3d548b3b62cf10 ******/ %feature("compactdefaultargs") UnsetWidth; - %feature("autodoc", "Setup line width of entire shape. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Setup line width of entire shape. ") UnsetWidth; virtual void UnsetWidth(); @@ -15768,370 +19510,431 @@ None **************************/ class AIS_TexturedShape : public AIS_Shape { public: - /****************** AIS_TexturedShape ******************/ - /**** md5 signature: 7b5e3f67785ea4fff1a50e2a26f126ec ****/ + /****** AIS_TexturedShape::AIS_TexturedShape ******/ + /****** md5 signature: 7b5e3f67785ea4fff1a50e2a26f126ec ******/ %feature("compactdefaultargs") AIS_TexturedShape; - %feature("autodoc", "Initializes the textured shape. - + %feature("autodoc", " Parameters ---------- theShape: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Initializes the textured shape. ") AIS_TexturedShape; AIS_TexturedShape(const TopoDS_Shape & theShape); - /****************** AcceptDisplayMode ******************/ - /**** md5 signature: 4c81f1c2cfc05fd196e1c09a383a3455 ****/ + /****** AIS_TexturedShape::AcceptDisplayMode ******/ + /****** md5 signature: 4c81f1c2cfc05fd196e1c09a383a3455 ******/ %feature("compactdefaultargs") AcceptDisplayMode; - %feature("autodoc", "Return true if specified display mode is supported (extends ais_shape with display mode 3). - + %feature("autodoc", " Parameters ---------- theMode: int -Returns +Return ------- bool + +Description +----------- +Return true if specified display mode is supported (extends AIS_Shape with Display Mode 3). ") AcceptDisplayMode; virtual Standard_Boolean AcceptDisplayMode(const Standard_Integer theMode); - /****************** DisableTextureModulate ******************/ - /**** md5 signature: 97c815d24c97b655242a724b8bf1b6c6 ****/ + /****** AIS_TexturedShape::DisableTextureModulate ******/ + /****** md5 signature: 97c815d24c97b655242a724b8bf1b6c6 ******/ %feature("compactdefaultargs") DisableTextureModulate; - %feature("autodoc", "Disables texture modulation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Disables texture modulation. ") DisableTextureModulate; void DisableTextureModulate(); - /****************** EnableTextureModulate ******************/ - /**** md5 signature: 6079501117720843b340d16a5a6761c6 ****/ + /****** AIS_TexturedShape::EnableTextureModulate ******/ + /****** md5 signature: 6079501117720843b340d16a5a6761c6 ******/ %feature("compactdefaultargs") EnableTextureModulate; - %feature("autodoc", "Enables texture modulation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Enables texture modulation. ") EnableTextureModulate; void EnableTextureModulate(); - /****************** SetColor ******************/ - /**** md5 signature: 259272248bacb2cef242adbc667f0ef9 ****/ + /****** AIS_TexturedShape::SetColor ******/ + /****** md5 signature: 259272248bacb2cef242adbc667f0ef9 ******/ %feature("compactdefaultargs") SetColor; - %feature("autodoc", "Sets the color. - + %feature("autodoc", " Parameters ---------- theColor: Quantity_Color -Returns +Return ------- None + +Description +----------- +Sets the color. ") SetColor; virtual void SetColor(const Quantity_Color & theColor); - /****************** SetMaterial ******************/ - /**** md5 signature: 027cc7416eed42a51ff9f029065484ce ****/ + /****** AIS_TexturedShape::SetMaterial ******/ + /****** md5 signature: 027cc7416eed42a51ff9f029065484ce ******/ %feature("compactdefaultargs") SetMaterial; - %feature("autodoc", "Sets the material aspect. - + %feature("autodoc", " Parameters ---------- theAspect: Graphic3d_MaterialAspect -Returns +Return ------- None + +Description +----------- +Sets the material aspect. ") SetMaterial; virtual void SetMaterial(const Graphic3d_MaterialAspect & theAspect); - /****************** SetTextureFileName ******************/ - /**** md5 signature: 15c6241ea9acf77eec1dd78180a11112 ****/ + /****** AIS_TexturedShape::SetTextureFileName ******/ + /****** md5 signature: 15c6241ea9acf77eec1dd78180a11112 ******/ %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). - + %feature("autodoc", " Parameters ---------- -theTextureFileName: TCollection_AsciiString +theTextureFileName: str -Returns +Return ------- None + +Description +----------- +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). ") SetTextureFileName; - virtual void SetTextureFileName(const TCollection_AsciiString & theTextureFileName); + virtual void SetTextureFileName(TCollection_AsciiString theTextureFileName); - /****************** SetTextureMapOff ******************/ - /**** md5 signature: 63364859b184736648b21d705a82db43 ****/ + /****** AIS_TexturedShape::SetTextureMapOff ******/ + /****** md5 signature: 63364859b184736648b21d705a82db43 ******/ %feature("compactdefaultargs") SetTextureMapOff; - %feature("autodoc", "Disables texture mapping. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Disables texture mapping. ") SetTextureMapOff; void SetTextureMapOff(); - /****************** SetTextureMapOn ******************/ - /**** md5 signature: 61746e3f31a504b75cfbd53d8aff65e6 ****/ + /****** AIS_TexturedShape::SetTextureMapOn ******/ + /****** md5 signature: 61746e3f31a504b75cfbd53d8aff65e6 ******/ %feature("compactdefaultargs") SetTextureMapOn; - %feature("autodoc", "Enables texture mapping. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Enables texture mapping. ") SetTextureMapOn; void SetTextureMapOn(); - /****************** SetTextureOrigin ******************/ - /**** md5 signature: 376433b22adc598ae979b2689aa06720 ****/ + /****** AIS_TexturedShape::SetTextureOrigin ******/ + /****** md5 signature: 376433b22adc598ae979b2689aa06720 ******/ %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). - + %feature("autodoc", " Parameters ---------- theToSetTextureOrigin: bool -theUOrigin: float,optional - default value is 0.0 -theVOrigin: float,optional - default value is 0.0 +theUOrigin: float (optional, default to 0.0) +theVOrigin: float (optional, default to 0.0) -Returns +Return ------- None + +Description +----------- +Use this method to change the origin of the texture. The texel (0,0) will be mapped to the surface (UOrigin,VOrigin). ") SetTextureOrigin; void SetTextureOrigin(const Standard_Boolean theToSetTextureOrigin, const Standard_Real theUOrigin = 0.0, const Standard_Real theVOrigin = 0.0); - /****************** SetTexturePixMap ******************/ - /**** md5 signature: 94f1328e4794c7fc34b1026e594da246 ****/ + /****** AIS_TexturedShape::SetTexturePixMap ******/ + /****** md5 signature: 94f1328e4794c7fc34b1026e594da246 ******/ %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). - + %feature("autodoc", " Parameters ---------- theTexturePixMap: Image_PixMap -Returns +Return ------- None + +Description +----------- +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). ") SetTexturePixMap; virtual void SetTexturePixMap(const opencascade::handle & theTexturePixMap); - /****************** SetTextureRepeat ******************/ - /**** md5 signature: bfbb34918c9be619b4b0aa3c7926bce9 ****/ + /****** AIS_TexturedShape::SetTextureRepeat ******/ + /****** md5 signature: bfbb34918c9be619b4b0aa3c7926bce9 ******/ %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", " Parameters ---------- theToRepeat: bool -theURepeat: float,optional - default value is 1.0 -theVRepeat: float,optional - default value is 1.0 +theURepeat: float (optional, default to 1.0) +theVRepeat: float (optional, default to 1.0) -Returns +Return ------- None + +Description +----------- +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. ") SetTextureRepeat; void SetTextureRepeat(const Standard_Boolean theToRepeat, const Standard_Real theURepeat = 1.0, const Standard_Real theVRepeat = 1.0); - /****************** SetTextureScale ******************/ - /**** md5 signature: 400d25195a4dd51c58b863f68c159841 ****/ + /****** AIS_TexturedShape::SetTextureScale ******/ + /****** md5 signature: 400d25195a4dd51c58b863f68c159841 ******/ %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. - + %feature("autodoc", " Parameters ---------- theToSetTextureScale: bool -theScaleU: float,optional - default value is 1.0 -theScaleV: float,optional - default value is 1.0 +theScaleU: float (optional, default to 1.0) +theScaleV: float (optional, default to 1.0) -Returns +Return ------- None + +Description +----------- +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. ") SetTextureScale; void SetTextureScale(const Standard_Boolean theToSetTextureScale, const Standard_Real theScaleU = 1.0, const Standard_Real theScaleV = 1.0); - /****************** TextureFile ******************/ - /**** md5 signature: 9a6c79cb2b482678f5b7c07b954ecea9 ****/ + /****** AIS_TexturedShape::TextureFile ******/ + /****** md5 signature: 9a6c79cb2b482678f5b7c07b954ecea9 ******/ %feature("compactdefaultargs") TextureFile; - %feature("autodoc", "Returns path to the texture file. - -Returns + %feature("autodoc", "Return ------- -char * +str + +Description +----------- +Return: path to the texture file. ") TextureFile; - const char * TextureFile(); + Standard_CString TextureFile(); - /****************** TextureMapState ******************/ - /**** md5 signature: 383404f1553dcde6191be859120a79f5 ****/ + /****** AIS_TexturedShape::TextureMapState ******/ + /****** md5 signature: 383404f1553dcde6191be859120a79f5 ******/ %feature("compactdefaultargs") TextureMapState; - %feature("autodoc", "Returns flag to control texture mapping (for presentation mode 3). - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return: flag to control texture mapping (for presentation mode 3). ") TextureMapState; Standard_Boolean TextureMapState(); - /****************** TextureModulate ******************/ - /**** md5 signature: c5f30284076b9848b41b3650d0b61253 ****/ + /****** AIS_TexturedShape::TextureModulate ******/ + /****** md5 signature: c5f30284076b9848b41b3650d0b61253 ******/ %feature("compactdefaultargs") TextureModulate; - %feature("autodoc", "Returns true if texture color modulation is turned on. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return: true if texture color modulation is turned on. ") TextureModulate; Standard_Boolean TextureModulate(); - /****************** TextureOrigin ******************/ - /**** md5 signature: 38e250787d2ff1326d55f0160476e4ca ****/ + /****** AIS_TexturedShape::TextureOrigin ******/ + /****** md5 signature: 38e250787d2ff1326d55f0160476e4ca ******/ %feature("compactdefaultargs") TextureOrigin; - %feature("autodoc", "Returns true if texture uv origin has been modified. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return: true if texture UV origin has been modified. ") TextureOrigin; Standard_Boolean TextureOrigin(); - /****************** TexturePixMap ******************/ - /**** md5 signature: f87f144c3a04ccf005ab0fc99e7fbfed ****/ + /****** AIS_TexturedShape::TexturePixMap ******/ + /****** md5 signature: f87f144c3a04ccf005ab0fc99e7fbfed ******/ %feature("compactdefaultargs") TexturePixMap; - %feature("autodoc", "Returns the source pixmap for texture map. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Return: the source pixmap for texture map. ") TexturePixMap; const opencascade::handle & TexturePixMap(); - /****************** TextureRepeat ******************/ - /**** md5 signature: 212d7df9500adb68a80d8f2b3bc7a27c ****/ + /****** AIS_TexturedShape::TextureRepeat ******/ + /****** md5 signature: 212d7df9500adb68a80d8f2b3bc7a27c ******/ %feature("compactdefaultargs") TextureRepeat; - %feature("autodoc", "Returns texture repeat flag. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return: texture repeat flag. ") TextureRepeat; Standard_Boolean TextureRepeat(); - /****************** TextureScale ******************/ - /**** md5 signature: e5d81624609f681f147a099328454b07 ****/ + /****** AIS_TexturedShape::TextureScale ******/ + /****** md5 signature: e5d81624609f681f147a099328454b07 ******/ %feature("compactdefaultargs") TextureScale; - %feature("autodoc", "Returns true if scale factor should be applied to texture mapping. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return: true if scale factor should be applied to texture mapping. ") TextureScale; Standard_Boolean TextureScale(); - /****************** TextureScaleU ******************/ - /**** md5 signature: 9776950f41e75a5c7d44cfe89127a0c3 ****/ + /****** AIS_TexturedShape::TextureScaleU ******/ + /****** md5 signature: 9776950f41e75a5c7d44cfe89127a0c3 ******/ %feature("compactdefaultargs") TextureScaleU; - %feature("autodoc", "Returns scale factor for u coordinate (1.0 by default). - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Return: scale factor for U coordinate (1.0 by default). ") TextureScaleU; Standard_Real TextureScaleU(); - /****************** TextureScaleV ******************/ - /**** md5 signature: 6fb743bea73c852a9e3e1e56c8c43b08 ****/ + /****** AIS_TexturedShape::TextureScaleV ******/ + /****** md5 signature: 6fb743bea73c852a9e3e1e56c8c43b08 ******/ %feature("compactdefaultargs") TextureScaleV; - %feature("autodoc", "Returns scale factor for v coordinate (1.0 by default). - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Return: scale factor for V coordinate (1.0 by default). ") TextureScaleV; Standard_Real TextureScaleV(); - /****************** TextureUOrigin ******************/ - /**** md5 signature: 10ef3372c0fb41b7da97ce782d879adc ****/ + /****** AIS_TexturedShape::TextureUOrigin ******/ + /****** md5 signature: 10ef3372c0fb41b7da97ce782d879adc ******/ %feature("compactdefaultargs") TextureUOrigin; - %feature("autodoc", "Returns texture origin u position (0.0 by default). - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Return: texture origin U position (0.0 by default). ") TextureUOrigin; Standard_Real TextureUOrigin(); - /****************** TextureVOrigin ******************/ - /**** md5 signature: 42004987cc3ad144bf2d27aa57e01071 ****/ + /****** AIS_TexturedShape::TextureVOrigin ******/ + /****** md5 signature: 42004987cc3ad144bf2d27aa57e01071 ******/ %feature("compactdefaultargs") TextureVOrigin; - %feature("autodoc", "Returns texture origin v position (0.0 by default). - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Return: texture origin V position (0.0 by default). ") TextureVOrigin; Standard_Real TextureVOrigin(); - /****************** URepeat ******************/ - /**** md5 signature: 404b02720a20f2fc3eb85deed39ca11b ****/ + /****** AIS_TexturedShape::URepeat ******/ + /****** md5 signature: 404b02720a20f2fc3eb85deed39ca11b ******/ %feature("compactdefaultargs") URepeat; - %feature("autodoc", "Returns texture repeat u value. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Return: texture repeat U value. ") URepeat; Standard_Real URepeat(); - /****************** UnsetColor ******************/ - /**** md5 signature: 2da7e2ed6a63f7c70c36c2a82118a7ec ****/ + /****** AIS_TexturedShape::UnsetColor ******/ + /****** md5 signature: 2da7e2ed6a63f7c70c36c2a82118a7ec ******/ %feature("compactdefaultargs") UnsetColor; - %feature("autodoc", "Removes settings for the color. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Removes settings for the color. ") UnsetColor; virtual void UnsetColor(); - /****************** UnsetMaterial ******************/ - /**** md5 signature: 0a051ddc9f5267e24615c6f3dfd30498 ****/ + /****** AIS_TexturedShape::UnsetMaterial ******/ + /****** md5 signature: 0a051ddc9f5267e24615c6f3dfd30498 ******/ %feature("compactdefaultargs") UnsetMaterial; - %feature("autodoc", "Removes settings for material aspect. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Removes settings for material aspect. ") UnsetMaterial; virtual void UnsetMaterial(); - /****************** UpdateAttributes ******************/ - /**** md5 signature: 334c979de66ee04703d34c5c9478d7f3 ****/ + /****** AIS_TexturedShape::UpdateAttributes ******/ + /****** md5 signature: 334c979de66ee04703d34c5c9478d7f3 ******/ %feature("compactdefaultargs") UpdateAttributes; - %feature("autodoc", "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. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +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. ") UpdateAttributes; void UpdateAttributes(); - /****************** VRepeat ******************/ - /**** md5 signature: 397e3c09b7e7140fac90dda021680f8d ****/ + /****** AIS_TexturedShape::VRepeat ******/ + /****** md5 signature: 397e3c09b7e7140fac90dda021680f8d ******/ %feature("compactdefaultargs") VRepeat; - %feature("autodoc", "Returns texture repeat v value. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Return: texture repeat V value. ") VRepeat; Standard_Real VRepeat(); @@ -16156,4 +19959,80 @@ float /* class aliases */ %pythoncode { AIS_AnimationTimer=OCC.Core.Media.Media_Timer +AIS_DisplayStatus=OCC.Core.PrsMgr.PrsMgr_DisplayStatus +} +/* deprecated methods */ +%pythoncode { +@deprecated +def AIS_GraphicTool_GetInteriorColor(*args): + return AIS_GraphicTool.GetInteriorColor(*args) + +@deprecated +def AIS_GraphicTool_GetInteriorColor(*args): + return AIS_GraphicTool.GetInteriorColor(*args) + +@deprecated +def AIS_GraphicTool_GetLineAtt(*args): + return AIS_GraphicTool.GetLineAtt(*args) + +@deprecated +def AIS_GraphicTool_GetLineColor(*args): + return AIS_GraphicTool.GetLineColor(*args) + +@deprecated +def AIS_GraphicTool_GetLineColor(*args): + return AIS_GraphicTool.GetLineColor(*args) + +@deprecated +def AIS_GraphicTool_GetLineType(*args): + return AIS_GraphicTool.GetLineType(*args) + +@deprecated +def AIS_GraphicTool_GetLineWidth(*args): + return AIS_GraphicTool.GetLineWidth(*args) + +@deprecated +def AIS_GraphicTool_GetMaterial(*args): + return AIS_GraphicTool.GetMaterial(*args) + +@deprecated +def AIS_ColorScale_FindColor(*args): + return AIS_ColorScale.FindColor(*args) + +@deprecated +def AIS_ColorScale_FindColor(*args): + return AIS_ColorScale.FindColor(*args) + +@deprecated +def AIS_ColorScale_MakeUniformColors(*args): + return AIS_ColorScale.MakeUniformColors(*args) + +@deprecated +def AIS_ColorScale_hueToValidRange(*args): + return AIS_ColorScale.hueToValidRange(*args) + +@deprecated +def AIS_Shape_SelectionMode(*args): + return AIS_Shape.SelectionMode(*args) + +@deprecated +def AIS_Shape_SelectionType(*args): + return AIS_Shape.SelectionType(*args) + +@deprecated +def AIS_Shape_computeHlrPresentation(*args): + return AIS_Shape.computeHlrPresentation(*args) + +@deprecated +def AIS_ViewCube_IsBoxCorner(*args): + return AIS_ViewCube.IsBoxCorner(*args) + +@deprecated +def AIS_ViewCube_IsBoxEdge(*args): + return AIS_ViewCube.IsBoxEdge(*args) + +@deprecated +def AIS_ViewCube_IsBoxSide(*args): + return AIS_ViewCube.IsBoxSide(*args) + } diff --git a/src/SWIG_files/wrapper/AIS.pyi b/src/SWIG_files/wrapper/AIS.pyi index 54a16e8a5..759caa82a 100644 --- a/src/SWIG_files/wrapper/AIS.pyi +++ b/src/SWIG_files/wrapper/AIS.pyi @@ -5,6 +5,7 @@ from OCC.Core.Standard import * from OCC.Core.NCollection import * from OCC.Core.SelectMgr import * from OCC.Core.Media import * +from OCC.Core.PrsMgr import * from OCC.Core.TCollection import * from OCC.Core.Quantity import * from OCC.Core.TopAbs import * @@ -17,145 +18,290 @@ from OCC.Core.V3d import * from OCC.Core.Bnd import * from OCC.Core.gp import * from OCC.Core.TopLoc import * -from OCC.Core.PrsMgr import * from OCC.Core.StdSelect import * from OCC.Core.TColgp import * -from OCC.Core.Geom import * from OCC.Core.Select3D import * +from OCC.Core.SelectBasics import * +from OCC.Core.Geom import * from OCC.Core.Poly import * from OCC.Core.Image import * -AIS_AngleDimension = NewType('AIS_AngleDimension', PrsDim_AngleDimension) -AIS_AnimationTimer = NewType('AIS_AnimationTimer', Media_Timer) -AIS_Chamf2dDimension = NewType('AIS_Chamf2dDimension', PrsDim_Chamf2dDimension) -AIS_Chamf3dDimension = NewType('AIS_Chamf3dDimension', PrsDim_Chamf3dDimension) -AIS_ConcentricRelation = NewType('AIS_ConcentricRelation', PrsDim_ConcentricRelation) -AIS_DiameterDimension = NewType('AIS_DiameterDimension', PrsDim_DiameterDimension) -AIS_Dimension = NewType('AIS_Dimension', PrsDim_Dimension) -AIS_DimensionOwner = NewType('AIS_DimensionOwner', PrsDim_DimensionOwner) -AIS_EllipseRadiusDimension = NewType('AIS_EllipseRadiusDimension', PrsDim_EllipseRadiusDimension) -AIS_EqualDistanceRelation = NewType('AIS_EqualDistanceRelation', PrsDim_EqualDistanceRelation) -AIS_EqualRadiusRelation = NewType('AIS_EqualRadiusRelation', PrsDim_EqualRadiusRelation) -AIS_FixRelation = NewType('AIS_FixRelation', PrsDim_FixRelation) -AIS_IdenticRelation = NewType('AIS_IdenticRelation', PrsDim_IdenticRelation) -#the following typedef cannot be wrapped as is -AIS_IndexedDataMapOfOwnerPrs = NewType('AIS_IndexedDataMapOfOwnerPrs', Any) -AIS_LengthDimension = NewType('AIS_LengthDimension', PrsDim_LengthDimension) -#the following typedef cannot be wrapped as is -AIS_MapIteratorOfMapOfInteractive = NewType('AIS_MapIteratorOfMapOfInteractive', Any) -#the following typedef cannot be wrapped as is -AIS_MapOfInteractive = NewType('AIS_MapOfInteractive', Any) -AIS_MaxRadiusDimension = NewType('AIS_MaxRadiusDimension', PrsDim_MaxRadiusDimension) -AIS_MidPointRelation = NewType('AIS_MidPointRelation', PrsDim_MidPointRelation) -AIS_MinRadiusDimension = NewType('AIS_MinRadiusDimension', PrsDim_MinRadiusDimension) -AIS_OffsetDimension = NewType('AIS_OffsetDimension', PrsDim_OffsetDimension) -AIS_ParallelRelation = NewType('AIS_ParallelRelation', PrsDim_ParallelRelation) -AIS_PerpendicularRelation = NewType('AIS_PerpendicularRelation', PrsDim_PerpendicularRelation) -AIS_RadiusDimension = NewType('AIS_RadiusDimension', PrsDim_RadiusDimension) -AIS_Relation = NewType('AIS_Relation', PrsDim_Relation) -AIS_SymmetricRelation = NewType('AIS_SymmetricRelation', PrsDim_SymmetricRelation) -AIS_TangentRelation = NewType('AIS_TangentRelation', PrsDim_TangentRelation) +AIS_AnimationTimer = NewType("AIS_AnimationTimer", Media_Timer) +AIS_DisplayStatus = NewType("AIS_DisplayStatus", PrsMgr_DisplayStatus) class AIS_ListOfInteractive: - def __init__(self) -> None: ... - def __len__(self) -> int: ... - def Size(self) -> int: ... + def Append(self, theItem: False) -> False: ... + def Assign(self, theItem: AIS_ListOfInteractive) -> AIS_ListOfInteractive: ... def Clear(self) -> None: ... def First(self) -> False: ... def Last(self) -> False: ... - def Append(self, theItem: False) -> False: ... def Prepend(self, theItem: False) -> False: ... def RemoveFirst(self) -> None: ... def Reverse(self) -> None: ... - def Value(self, theIndex: int) -> False: ... - def SetValue(self, theIndex: int, theValue: False) -> None: ... + def Size(self) -> int: ... + def __init__(self) -> None: ... + def __len__(self) -> int: ... + def __iter__(self) -> False: ... -class AIS_NListOfEntityOwner: +class AIS_NArray1OfEntityOwner: + @overload def __init__(self) -> None: ... + @overload + def __init__(self, theLower: int, theUpper: int) -> None: ... + def __getitem__(self, index: int) -> False: ... + def __setitem__(self, index: int, value: False) -> None: ... def __len__(self) -> int: ... + def __iter__(self) -> Iterator[False]: ... + def next(self) -> False: ... + __next__ = next + def Init(self, theValue: False) -> None: ... def Size(self) -> int: ... - def Clear(self) -> None: ... + def Length(self) -> int: ... + def IsEmpty(self) -> bool: ... + def Lower(self) -> int: ... + def Upper(self) -> int: ... + def IsDetectable(self) -> bool: ... + def IsAllocated(self) -> bool: ... def First(self) -> False: ... def Last(self) -> False: ... - def Append(self, theItem: False) -> False: ... - def Prepend(self, theItem: False) -> False: ... - def RemoveFirst(self) -> None: ... - def Reverse(self) -> None: ... def Value(self, theIndex: int) -> False: ... def SetValue(self, theIndex: int, theValue: False) -> None: ... -class AIS_SequenceOfInteractive: - def __init__(self) -> None: ... - def __len__(self) -> int: ... - def Size(self) -> int: ... +class AIS_NListOfEntityOwner: + def Append(self, theItem: False) -> False: ... + def Assign(self, theItem: AIS_NListOfEntityOwner) -> AIS_NListOfEntityOwner: ... def Clear(self) -> None: ... def First(self) -> False: ... def Last(self) -> False: ... - def Length(self) -> int: ... - def Append(self, theItem: False) -> False: ... def Prepend(self, theItem: False) -> False: ... def RemoveFirst(self) -> None: ... def Reverse(self) -> None: ... - def Value(self, theIndex: int) -> False: ... - def SetValue(self, theIndex: int, theValue: False) -> None: ... + def Size(self) -> int: ... + def __init__(self) -> None: ... + def __len__(self) -> int: ... + def __iter__(self) -> False: ... -class AIS_TrihedronSelectionMode(IntEnum): - AIS_TrihedronSelectionMode_EntireObject: int = ... - AIS_TrihedronSelectionMode_Origin: int = ... - AIS_TrihedronSelectionMode_Axes: int = ... - AIS_TrihedronSelectionMode_MainPlanes: int = ... -AIS_TrihedronSelectionMode_EntireObject = AIS_TrihedronSelectionMode.AIS_TrihedronSelectionMode_EntireObject -AIS_TrihedronSelectionMode_Origin = AIS_TrihedronSelectionMode.AIS_TrihedronSelectionMode_Origin -AIS_TrihedronSelectionMode_Axes = AIS_TrihedronSelectionMode.AIS_TrihedronSelectionMode_Axes -AIS_TrihedronSelectionMode_MainPlanes = AIS_TrihedronSelectionMode.AIS_TrihedronSelectionMode_MainPlanes +class AIS_DisplayMode(IntEnum): + AIS_WireFrame: int = ... + AIS_Shaded: int = ... + +AIS_WireFrame = AIS_DisplayMode.AIS_WireFrame +AIS_Shaded = AIS_DisplayMode.AIS_Shaded + +class AIS_DragAction(IntEnum): + AIS_DragAction_Start: int = ... + AIS_DragAction_Confirmed: int = ... + AIS_DragAction_Update: int = ... + AIS_DragAction_Stop: int = ... + AIS_DragAction_Abort: int = ... + +AIS_DragAction_Start = AIS_DragAction.AIS_DragAction_Start +AIS_DragAction_Confirmed = AIS_DragAction.AIS_DragAction_Confirmed +AIS_DragAction_Update = AIS_DragAction.AIS_DragAction_Update +AIS_DragAction_Stop = AIS_DragAction.AIS_DragAction_Stop +AIS_DragAction_Abort = AIS_DragAction.AIS_DragAction_Abort + +class AIS_KindOfInteractive(IntEnum): + AIS_KindOfInteractive_None: int = ... + AIS_KindOfInteractive_Datum: int = ... + AIS_KindOfInteractive_Shape: int = ... + AIS_KindOfInteractive_Object: int = ... + AIS_KindOfInteractive_Relation: int = ... + AIS_KindOfInteractive_Dimension: int = ... + AIS_KindOfInteractive_LightSource: int = ... + AIS_KOI_None: int = ... + AIS_KOI_Datum: int = ... + AIS_KOI_Shape: int = ... + AIS_KOI_Object: int = ... + AIS_KOI_Relation: int = ... + AIS_KOI_Dimension: int = ... + +AIS_KindOfInteractive_None = AIS_KindOfInteractive.AIS_KindOfInteractive_None +AIS_KindOfInteractive_Datum = AIS_KindOfInteractive.AIS_KindOfInteractive_Datum +AIS_KindOfInteractive_Shape = AIS_KindOfInteractive.AIS_KindOfInteractive_Shape +AIS_KindOfInteractive_Object = AIS_KindOfInteractive.AIS_KindOfInteractive_Object +AIS_KindOfInteractive_Relation = AIS_KindOfInteractive.AIS_KindOfInteractive_Relation +AIS_KindOfInteractive_Dimension = AIS_KindOfInteractive.AIS_KindOfInteractive_Dimension +AIS_KindOfInteractive_LightSource = ( + AIS_KindOfInteractive.AIS_KindOfInteractive_LightSource +) +AIS_KOI_None = AIS_KindOfInteractive.AIS_KOI_None +AIS_KOI_Datum = AIS_KindOfInteractive.AIS_KOI_Datum +AIS_KOI_Shape = AIS_KindOfInteractive.AIS_KOI_Shape +AIS_KOI_Object = AIS_KindOfInteractive.AIS_KOI_Object +AIS_KOI_Relation = AIS_KindOfInteractive.AIS_KOI_Relation +AIS_KOI_Dimension = AIS_KindOfInteractive.AIS_KOI_Dimension + +class AIS_ManipulatorMode(IntEnum): + AIS_MM_None: int = ... + AIS_MM_Translation: int = ... + AIS_MM_Rotation: int = ... + AIS_MM_Scaling: int = ... + AIS_MM_TranslationPlane: int = ... + +AIS_MM_None = AIS_ManipulatorMode.AIS_MM_None +AIS_MM_Translation = AIS_ManipulatorMode.AIS_MM_Translation +AIS_MM_Rotation = AIS_ManipulatorMode.AIS_MM_Rotation +AIS_MM_Scaling = AIS_ManipulatorMode.AIS_MM_Scaling +AIS_MM_TranslationPlane = AIS_ManipulatorMode.AIS_MM_TranslationPlane class AIS_MouseGesture(IntEnum): - AIS_MouseGesture_NONE: int = ... - AIS_MouseGesture_SelectRectangle: int = ... - AIS_MouseGesture_SelectLasso: int = ... - AIS_MouseGesture_Zoom: int = ... - AIS_MouseGesture_ZoomWindow: int = ... - AIS_MouseGesture_Pan: int = ... - AIS_MouseGesture_RotateOrbit: int = ... - AIS_MouseGesture_RotateView: int = ... + AIS_MouseGesture_NONE: int = ... + AIS_MouseGesture_SelectRectangle: int = ... + AIS_MouseGesture_SelectLasso: int = ... + AIS_MouseGesture_Zoom: int = ... + AIS_MouseGesture_ZoomVertical: int = ... + AIS_MouseGesture_ZoomWindow: int = ... + AIS_MouseGesture_Pan: int = ... + AIS_MouseGesture_RotateOrbit: int = ... + AIS_MouseGesture_RotateView: int = ... + AIS_MouseGesture_Drag: int = ... + AIS_MouseGesture_NONE = AIS_MouseGesture.AIS_MouseGesture_NONE AIS_MouseGesture_SelectRectangle = AIS_MouseGesture.AIS_MouseGesture_SelectRectangle AIS_MouseGesture_SelectLasso = AIS_MouseGesture.AIS_MouseGesture_SelectLasso AIS_MouseGesture_Zoom = AIS_MouseGesture.AIS_MouseGesture_Zoom +AIS_MouseGesture_ZoomVertical = AIS_MouseGesture.AIS_MouseGesture_ZoomVertical AIS_MouseGesture_ZoomWindow = AIS_MouseGesture.AIS_MouseGesture_ZoomWindow AIS_MouseGesture_Pan = AIS_MouseGesture.AIS_MouseGesture_Pan AIS_MouseGesture_RotateOrbit = AIS_MouseGesture.AIS_MouseGesture_RotateOrbit AIS_MouseGesture_RotateView = AIS_MouseGesture.AIS_MouseGesture_RotateView +AIS_MouseGesture_Drag = AIS_MouseGesture.AIS_MouseGesture_Drag + +class AIS_NavigationMode(IntEnum): + AIS_NavigationMode_Orbit: int = ... + AIS_NavigationMode_FirstPersonFlight: int = ... + AIS_NavigationMode_FirstPersonWalk: int = ... -class AIS_ClearMode(IntEnum): - AIS_CM_All: int = ... - AIS_CM_Interactive: int = ... - AIS_CM_Filters: int = ... - AIS_CM_StandardModes: int = ... - AIS_CM_TemporaryShapePrs: int = ... -AIS_CM_All = AIS_ClearMode.AIS_CM_All -AIS_CM_Interactive = AIS_ClearMode.AIS_CM_Interactive -AIS_CM_Filters = AIS_ClearMode.AIS_CM_Filters -AIS_CM_StandardModes = AIS_ClearMode.AIS_CM_StandardModes -AIS_CM_TemporaryShapePrs = AIS_ClearMode.AIS_CM_TemporaryShapePrs +AIS_NavigationMode_Orbit = AIS_NavigationMode.AIS_NavigationMode_Orbit +AIS_NavigationMode_FirstPersonFlight = ( + AIS_NavigationMode.AIS_NavigationMode_FirstPersonFlight +) +AIS_NavigationMode_FirstPersonWalk = ( + AIS_NavigationMode.AIS_NavigationMode_FirstPersonWalk +) + +class AIS_RotationMode(IntEnum): + AIS_RotationMode_BndBoxActive: int = ... + AIS_RotationMode_PickLast: int = ... + AIS_RotationMode_PickCenter: int = ... + AIS_RotationMode_CameraAt: int = ... + AIS_RotationMode_BndBoxScene: int = ... + +AIS_RotationMode_BndBoxActive = AIS_RotationMode.AIS_RotationMode_BndBoxActive +AIS_RotationMode_PickLast = AIS_RotationMode.AIS_RotationMode_PickLast +AIS_RotationMode_PickCenter = AIS_RotationMode.AIS_RotationMode_PickCenter +AIS_RotationMode_CameraAt = AIS_RotationMode.AIS_RotationMode_CameraAt +AIS_RotationMode_BndBoxScene = AIS_RotationMode.AIS_RotationMode_BndBoxScene + +class AIS_SelectStatus(IntEnum): + AIS_SS_Added: int = ... + AIS_SS_Removed: int = ... + AIS_SS_NotDone: int = ... + +AIS_SS_Added = AIS_SelectStatus.AIS_SS_Added +AIS_SS_Removed = AIS_SelectStatus.AIS_SS_Removed +AIS_SS_NotDone = AIS_SelectStatus.AIS_SS_NotDone + +class AIS_SelectionModesConcurrency(IntEnum): + AIS_SelectionModesConcurrency_Single: int = ... + AIS_SelectionModesConcurrency_GlobalOrLocal: int = ... + AIS_SelectionModesConcurrency_Multiple: int = ... + +AIS_SelectionModesConcurrency_Single = ( + AIS_SelectionModesConcurrency.AIS_SelectionModesConcurrency_Single +) +AIS_SelectionModesConcurrency_GlobalOrLocal = ( + AIS_SelectionModesConcurrency.AIS_SelectionModesConcurrency_GlobalOrLocal +) +AIS_SelectionModesConcurrency_Multiple = ( + AIS_SelectionModesConcurrency.AIS_SelectionModesConcurrency_Multiple +) + +class AIS_SelectionScheme(IntEnum): + AIS_SelectionScheme_UNKNOWN: int = ... + AIS_SelectionScheme_Replace: int = ... + AIS_SelectionScheme_Add: int = ... + AIS_SelectionScheme_Remove: int = ... + AIS_SelectionScheme_XOR: int = ... + AIS_SelectionScheme_Clear: int = ... + AIS_SelectionScheme_ReplaceExtra: int = ... + +AIS_SelectionScheme_UNKNOWN = AIS_SelectionScheme.AIS_SelectionScheme_UNKNOWN +AIS_SelectionScheme_Replace = AIS_SelectionScheme.AIS_SelectionScheme_Replace +AIS_SelectionScheme_Add = AIS_SelectionScheme.AIS_SelectionScheme_Add +AIS_SelectionScheme_Remove = AIS_SelectionScheme.AIS_SelectionScheme_Remove +AIS_SelectionScheme_XOR = AIS_SelectionScheme.AIS_SelectionScheme_XOR +AIS_SelectionScheme_Clear = AIS_SelectionScheme.AIS_SelectionScheme_Clear +AIS_SelectionScheme_ReplaceExtra = AIS_SelectionScheme.AIS_SelectionScheme_ReplaceExtra + +class AIS_StatusOfDetection(IntEnum): + AIS_SOD_Error: int = ... + AIS_SOD_Nothing: int = ... + AIS_SOD_AllBad: int = ... + AIS_SOD_Selected: int = ... + AIS_SOD_OnlyOneDetected: int = ... + AIS_SOD_OnlyOneGood: int = ... + AIS_SOD_SeveralGood: int = ... + +AIS_SOD_Error = AIS_StatusOfDetection.AIS_SOD_Error +AIS_SOD_Nothing = AIS_StatusOfDetection.AIS_SOD_Nothing +AIS_SOD_AllBad = AIS_StatusOfDetection.AIS_SOD_AllBad +AIS_SOD_Selected = AIS_StatusOfDetection.AIS_SOD_Selected +AIS_SOD_OnlyOneDetected = AIS_StatusOfDetection.AIS_SOD_OnlyOneDetected +AIS_SOD_OnlyOneGood = AIS_StatusOfDetection.AIS_SOD_OnlyOneGood +AIS_SOD_SeveralGood = AIS_StatusOfDetection.AIS_SOD_SeveralGood + +class AIS_StatusOfPick(IntEnum): + AIS_SOP_Error: int = ... + AIS_SOP_NothingSelected: int = ... + AIS_SOP_Removed: int = ... + AIS_SOP_OneSelected: int = ... + AIS_SOP_SeveralSelected: int = ... + +AIS_SOP_Error = AIS_StatusOfPick.AIS_SOP_Error +AIS_SOP_NothingSelected = AIS_StatusOfPick.AIS_SOP_NothingSelected +AIS_SOP_Removed = AIS_StatusOfPick.AIS_SOP_Removed +AIS_SOP_OneSelected = AIS_StatusOfPick.AIS_SOP_OneSelected +AIS_SOP_SeveralSelected = AIS_StatusOfPick.AIS_SOP_SeveralSelected + +class AIS_TrihedronSelectionMode(IntEnum): + AIS_TrihedronSelectionMode_EntireObject: int = ... + AIS_TrihedronSelectionMode_Origin: int = ... + AIS_TrihedronSelectionMode_Axes: int = ... + AIS_TrihedronSelectionMode_MainPlanes: int = ... + +AIS_TrihedronSelectionMode_EntireObject = ( + AIS_TrihedronSelectionMode.AIS_TrihedronSelectionMode_EntireObject +) +AIS_TrihedronSelectionMode_Origin = ( + AIS_TrihedronSelectionMode.AIS_TrihedronSelectionMode_Origin +) +AIS_TrihedronSelectionMode_Axes = ( + AIS_TrihedronSelectionMode.AIS_TrihedronSelectionMode_Axes +) +AIS_TrihedronSelectionMode_MainPlanes = ( + AIS_TrihedronSelectionMode.AIS_TrihedronSelectionMode_MainPlanes +) class AIS_TypeOfAttribute(IntEnum): - AIS_TOA_Line: int = ... - AIS_TOA_Dimension: int = ... - AIS_TOA_Wire: int = ... - AIS_TOA_Plane: int = ... - AIS_TOA_Vector: int = ... - AIS_TOA_UIso: int = ... - AIS_TOA_VIso: int = ... - AIS_TOA_Free: int = ... - AIS_TOA_UnFree: int = ... - AIS_TOA_Section: int = ... - AIS_TOA_Hidden: int = ... - AIS_TOA_Seen: int = ... - AIS_TOA_FaceBoundary: int = ... - AIS_TOA_FirstAxis: int = ... - AIS_TOA_SecondAxis: int = ... - AIS_TOA_ThirdAxis: int = ... + AIS_TOA_Line: int = ... + AIS_TOA_Dimension: int = ... + AIS_TOA_Wire: int = ... + AIS_TOA_Plane: int = ... + AIS_TOA_Vector: int = ... + AIS_TOA_UIso: int = ... + AIS_TOA_VIso: int = ... + AIS_TOA_Free: int = ... + AIS_TOA_UnFree: int = ... + AIS_TOA_Section: int = ... + AIS_TOA_Hidden: int = ... + AIS_TOA_Seen: int = ... + AIS_TOA_FaceBoundary: int = ... + AIS_TOA_FirstAxis: int = ... + AIS_TOA_SecondAxis: int = ... + AIS_TOA_ThirdAxis: int = ... + AIS_TOA_Line = AIS_TypeOfAttribute.AIS_TOA_Line AIS_TOA_Dimension = AIS_TypeOfAttribute.AIS_TOA_Dimension AIS_TOA_Wire = AIS_TypeOfAttribute.AIS_TOA_Wire @@ -173,1448 +319,2147 @@ AIS_TOA_FirstAxis = AIS_TypeOfAttribute.AIS_TOA_FirstAxis AIS_TOA_SecondAxis = AIS_TypeOfAttribute.AIS_TOA_SecondAxis AIS_TOA_ThirdAxis = AIS_TypeOfAttribute.AIS_TOA_ThirdAxis -class AIS_KindOfInteractive(IntEnum): - AIS_KOI_None: int = ... - AIS_KOI_Datum: int = ... - AIS_KOI_Shape: int = ... - AIS_KOI_Object: int = ... - AIS_KOI_Relation: int = ... - AIS_KOI_Dimension: int = ... -AIS_KOI_None = AIS_KindOfInteractive.AIS_KOI_None -AIS_KOI_Datum = AIS_KindOfInteractive.AIS_KOI_Datum -AIS_KOI_Shape = AIS_KindOfInteractive.AIS_KOI_Shape -AIS_KOI_Object = AIS_KindOfInteractive.AIS_KOI_Object -AIS_KOI_Relation = AIS_KindOfInteractive.AIS_KOI_Relation -AIS_KOI_Dimension = AIS_KindOfInteractive.AIS_KOI_Dimension - -class AIS_SelectStatus(IntEnum): - AIS_SS_Added: int = ... - AIS_SS_Removed: int = ... - AIS_SS_NotDone: int = ... -AIS_SS_Added = AIS_SelectStatus.AIS_SS_Added -AIS_SS_Removed = AIS_SelectStatus.AIS_SS_Removed -AIS_SS_NotDone = AIS_SelectStatus.AIS_SS_NotDone - class AIS_TypeOfAxis(IntEnum): - AIS_TOAX_Unknown: int = ... - AIS_TOAX_XAxis: int = ... - AIS_TOAX_YAxis: int = ... - AIS_TOAX_ZAxis: int = ... + AIS_TOAX_Unknown: int = ... + AIS_TOAX_XAxis: int = ... + AIS_TOAX_YAxis: int = ... + AIS_TOAX_ZAxis: int = ... + AIS_TOAX_Unknown = AIS_TypeOfAxis.AIS_TOAX_Unknown AIS_TOAX_XAxis = AIS_TypeOfAxis.AIS_TOAX_XAxis AIS_TOAX_YAxis = AIS_TypeOfAxis.AIS_TOAX_YAxis AIS_TOAX_ZAxis = AIS_TypeOfAxis.AIS_TOAX_ZAxis -class AIS_ConnectStatus(IntEnum): - AIS_CS_None: int = ... - AIS_CS_Connection: int = ... - AIS_CS_Transform: int = ... - AIS_CS_Both: int = ... -AIS_CS_None = AIS_ConnectStatus.AIS_CS_None -AIS_CS_Connection = AIS_ConnectStatus.AIS_CS_Connection -AIS_CS_Transform = AIS_ConnectStatus.AIS_CS_Transform -AIS_CS_Both = AIS_ConnectStatus.AIS_CS_Both +class AIS_TypeOfIso(IntEnum): + AIS_TOI_IsoU: int = ... + AIS_TOI_IsoV: int = ... + AIS_TOI_Both: int = ... -class AIS_RotationMode(IntEnum): - AIS_RotationMode_BndBoxActive: int = ... - AIS_RotationMode_PickLast: int = ... - AIS_RotationMode_PickCenter: int = ... - AIS_RotationMode_CameraAt: int = ... - AIS_RotationMode_BndBoxScene: int = ... -AIS_RotationMode_BndBoxActive = AIS_RotationMode.AIS_RotationMode_BndBoxActive -AIS_RotationMode_PickLast = AIS_RotationMode.AIS_RotationMode_PickLast -AIS_RotationMode_PickCenter = AIS_RotationMode.AIS_RotationMode_PickCenter -AIS_RotationMode_CameraAt = AIS_RotationMode.AIS_RotationMode_CameraAt -AIS_RotationMode_BndBoxScene = AIS_RotationMode.AIS_RotationMode_BndBoxScene +AIS_TOI_IsoU = AIS_TypeOfIso.AIS_TOI_IsoU +AIS_TOI_IsoV = AIS_TypeOfIso.AIS_TOI_IsoV +AIS_TOI_Both = AIS_TypeOfIso.AIS_TOI_Both + +class AIS_TypeOfPlane(IntEnum): + AIS_TOPL_Unknown: int = ... + AIS_TOPL_XYPlane: int = ... + AIS_TOPL_XZPlane: int = ... + AIS_TOPL_YZPlane: int = ... + +AIS_TOPL_Unknown = AIS_TypeOfPlane.AIS_TOPL_Unknown +AIS_TOPL_XYPlane = AIS_TypeOfPlane.AIS_TOPL_XYPlane +AIS_TOPL_XZPlane = AIS_TypeOfPlane.AIS_TOPL_XZPlane +AIS_TOPL_YZPlane = AIS_TypeOfPlane.AIS_TOPL_YZPlane class AIS_ViewSelectionTool(IntEnum): - AIS_ViewSelectionTool_Picking: int = ... - AIS_ViewSelectionTool_RubberBand: int = ... - AIS_ViewSelectionTool_Polygon: int = ... - AIS_ViewSelectionTool_ZoomWindow: int = ... + AIS_ViewSelectionTool_Picking: int = ... + AIS_ViewSelectionTool_RubberBand: int = ... + AIS_ViewSelectionTool_Polygon: int = ... + AIS_ViewSelectionTool_ZoomWindow: int = ... + AIS_ViewSelectionTool_Picking = AIS_ViewSelectionTool.AIS_ViewSelectionTool_Picking -AIS_ViewSelectionTool_RubberBand = AIS_ViewSelectionTool.AIS_ViewSelectionTool_RubberBand +AIS_ViewSelectionTool_RubberBand = ( + AIS_ViewSelectionTool.AIS_ViewSelectionTool_RubberBand +) AIS_ViewSelectionTool_Polygon = AIS_ViewSelectionTool.AIS_ViewSelectionTool_Polygon -AIS_ViewSelectionTool_ZoomWindow = AIS_ViewSelectionTool.AIS_ViewSelectionTool_ZoomWindow +AIS_ViewSelectionTool_ZoomWindow = ( + AIS_ViewSelectionTool.AIS_ViewSelectionTool_ZoomWindow +) class AIS_ViewInputBufferType(IntEnum): - AIS_ViewInputBufferType_UI: int = ... - AIS_ViewInputBufferType_GL: int = ... + AIS_ViewInputBufferType_UI: int = ... + AIS_ViewInputBufferType_GL: int = ... + AIS_ViewInputBufferType_UI = AIS_ViewInputBufferType.AIS_ViewInputBufferType_UI AIS_ViewInputBufferType_GL = AIS_ViewInputBufferType.AIS_ViewInputBufferType_GL -class AIS_NavigationMode(IntEnum): - AIS_NavigationMode_Orbit: int = ... - AIS_NavigationMode_FirstPersonFlight: int = ... - AIS_NavigationMode_FirstPersonWalk: int = ... -AIS_NavigationMode_Orbit = AIS_NavigationMode.AIS_NavigationMode_Orbit -AIS_NavigationMode_FirstPersonFlight = AIS_NavigationMode.AIS_NavigationMode_FirstPersonFlight -AIS_NavigationMode_FirstPersonWalk = AIS_NavigationMode.AIS_NavigationMode_FirstPersonWalk - -class AIS_TypeOfIso(IntEnum): - AIS_TOI_IsoU: int = ... - AIS_TOI_IsoV: int = ... - AIS_TOI_Both: int = ... -AIS_TOI_IsoU = AIS_TypeOfIso.AIS_TOI_IsoU -AIS_TOI_IsoV = AIS_TypeOfIso.AIS_TOI_IsoV -AIS_TOI_Both = AIS_TypeOfIso.AIS_TOI_Both - -class AIS_StatusOfDetection(IntEnum): - AIS_SOD_Error: int = ... - AIS_SOD_Nothing: int = ... - AIS_SOD_AllBad: int = ... - AIS_SOD_Selected: int = ... - AIS_SOD_OnlyOneDetected: int = ... - AIS_SOD_OnlyOneGood: int = ... - AIS_SOD_SeveralGood: int = ... -AIS_SOD_Error = AIS_StatusOfDetection.AIS_SOD_Error -AIS_SOD_Nothing = AIS_StatusOfDetection.AIS_SOD_Nothing -AIS_SOD_AllBad = AIS_StatusOfDetection.AIS_SOD_AllBad -AIS_SOD_Selected = AIS_StatusOfDetection.AIS_SOD_Selected -AIS_SOD_OnlyOneDetected = AIS_StatusOfDetection.AIS_SOD_OnlyOneDetected -AIS_SOD_OnlyOneGood = AIS_StatusOfDetection.AIS_SOD_OnlyOneGood -AIS_SOD_SeveralGood = AIS_StatusOfDetection.AIS_SOD_SeveralGood - class AIS_WalkTranslation(IntEnum): - AIS_WalkTranslation_Forward: int = ... - AIS_WalkTranslation_Side: int = ... - AIS_WalkTranslation_Up: int = ... + AIS_WalkTranslation_Forward: int = ... + AIS_WalkTranslation_Side: int = ... + AIS_WalkTranslation_Up: int = ... + AIS_WalkTranslation_Forward = AIS_WalkTranslation.AIS_WalkTranslation_Forward AIS_WalkTranslation_Side = AIS_WalkTranslation.AIS_WalkTranslation_Side AIS_WalkTranslation_Up = AIS_WalkTranslation.AIS_WalkTranslation_Up class AIS_WalkRotation(IntEnum): - AIS_WalkRotation_Yaw: int = ... - AIS_WalkRotation_Pitch: int = ... - AIS_WalkRotation_Roll: int = ... + AIS_WalkRotation_Yaw: int = ... + AIS_WalkRotation_Pitch: int = ... + AIS_WalkRotation_Roll: int = ... + AIS_WalkRotation_Yaw = AIS_WalkRotation.AIS_WalkRotation_Yaw AIS_WalkRotation_Pitch = AIS_WalkRotation.AIS_WalkRotation_Pitch AIS_WalkRotation_Roll = AIS_WalkRotation.AIS_WalkRotation_Roll -class AIS_ManipulatorMode(IntEnum): - AIS_MM_None: int = ... - AIS_MM_Translation: int = ... - AIS_MM_Rotation: int = ... - AIS_MM_Scaling: int = ... - AIS_MM_TranslationPlane: int = ... -AIS_MM_None = AIS_ManipulatorMode.AIS_MM_None -AIS_MM_Translation = AIS_ManipulatorMode.AIS_MM_Translation -AIS_MM_Rotation = AIS_ManipulatorMode.AIS_MM_Rotation -AIS_MM_Scaling = AIS_ManipulatorMode.AIS_MM_Scaling -AIS_MM_TranslationPlane = AIS_ManipulatorMode.AIS_MM_TranslationPlane - -class AIS_SelectionModesConcurrency(IntEnum): - AIS_SelectionModesConcurrency_Single: int = ... - AIS_SelectionModesConcurrency_GlobalOrLocal: int = ... - AIS_SelectionModesConcurrency_Multiple: int = ... -AIS_SelectionModesConcurrency_Single = AIS_SelectionModesConcurrency.AIS_SelectionModesConcurrency_Single -AIS_SelectionModesConcurrency_GlobalOrLocal = AIS_SelectionModesConcurrency.AIS_SelectionModesConcurrency_GlobalOrLocal -AIS_SelectionModesConcurrency_Multiple = AIS_SelectionModesConcurrency.AIS_SelectionModesConcurrency_Multiple - -class AIS_DisplayMode(IntEnum): - AIS_WireFrame: int = ... - AIS_Shaded: int = ... -AIS_WireFrame = AIS_DisplayMode.AIS_WireFrame -AIS_Shaded = AIS_DisplayMode.AIS_Shaded - -class AIS_StatusOfPick(IntEnum): - AIS_SOP_Error: int = ... - AIS_SOP_NothingSelected: int = ... - AIS_SOP_Removed: int = ... - AIS_SOP_OneSelected: int = ... - AIS_SOP_SeveralSelected: int = ... -AIS_SOP_Error = AIS_StatusOfPick.AIS_SOP_Error -AIS_SOP_NothingSelected = AIS_StatusOfPick.AIS_SOP_NothingSelected -AIS_SOP_Removed = AIS_StatusOfPick.AIS_SOP_Removed -AIS_SOP_OneSelected = AIS_StatusOfPick.AIS_SOP_OneSelected -AIS_SOP_SeveralSelected = AIS_StatusOfPick.AIS_SOP_SeveralSelected - -class AIS_DragAction(IntEnum): - AIS_DragAction_Start: int = ... - AIS_DragAction_Update: int = ... - AIS_DragAction_Stop: int = ... - AIS_DragAction_Abort: int = ... -AIS_DragAction_Start = AIS_DragAction.AIS_DragAction_Start -AIS_DragAction_Update = AIS_DragAction.AIS_DragAction_Update -AIS_DragAction_Stop = AIS_DragAction.AIS_DragAction_Stop -AIS_DragAction_Abort = AIS_DragAction.AIS_DragAction_Abort - -class AIS_TypeOfPlane(IntEnum): - AIS_TOPL_Unknown: int = ... - AIS_TOPL_XYPlane: int = ... - AIS_TOPL_XZPlane: int = ... - AIS_TOPL_YZPlane: int = ... -AIS_TOPL_Unknown = AIS_TypeOfPlane.AIS_TOPL_Unknown -AIS_TOPL_XYPlane = AIS_TypeOfPlane.AIS_TOPL_XYPlane -AIS_TOPL_XZPlane = AIS_TypeOfPlane.AIS_TOPL_XZPlane -AIS_TOPL_YZPlane = AIS_TypeOfPlane.AIS_TOPL_YZPlane - -class AIS_DisplayStatus(IntEnum): - AIS_DS_Displayed: int = ... - AIS_DS_Erased: int = ... - AIS_DS_None: int = ... -AIS_DS_Displayed = AIS_DisplayStatus.AIS_DS_Displayed -AIS_DS_Erased = AIS_DisplayStatus.AIS_DS_Erased -AIS_DS_None = AIS_DisplayStatus.AIS_DS_None - class ais: - pass + pass class AIS_Animation(Standard_Transient): - def __init__(self, theAnimationName: TCollection_AsciiString) -> None: ... - def Add(self, theAnimation: AIS_Animation) -> None: ... - def Children(self) -> False: ... - def Clear(self) -> None: ... - def CopyFrom(self, theOther: AIS_Animation) -> None: ... - def Duration(self) -> float: ... - def ElapsedTime(self) -> float: ... - def Find(self, theAnimationName: TCollection_AsciiString) -> AIS_Animation: ... - def HasOwnDuration(self) -> bool: ... - def IsStopped(self) -> False: ... - def Name(self) -> TCollection_AsciiString: ... - def OwnDuration(self) -> float: ... - def Pause(self) -> None: ... - def Remove(self, theAnimation: AIS_Animation) -> bool: ... - def Replace(self, theAnimationOld: AIS_Animation, theAnimationNew: AIS_Animation) -> bool: ... - def SetOwnDuration(self, theDuration: float) -> None: ... - def SetStartPts(self, thePtsStart: float) -> None: ... - def Start(self, theToUpdate: bool) -> None: ... - def StartPts(self) -> float: ... - def StartTimer(self, theStartPts: float, thePlaySpeed: float, theToUpdate: bool, theToStopTimer: Optional[bool] = False) -> None: ... - def Stop(self) -> None: ... - def Update(self, thePts: float) -> bool: ... - def UpdateTimer(self) -> float: ... - def UpdateTotalDuration(self) -> None: ... + def __init__(self, theAnimationName: str) -> None: ... + def Add(self, theAnimation: AIS_Animation) -> None: ... + def Children(self) -> False: ... + def Clear(self) -> None: ... + def CopyFrom(self, theOther: AIS_Animation) -> None: ... + def Duration(self) -> float: ... + def ElapsedTime(self) -> float: ... + def Find(self, theAnimationName: str) -> AIS_Animation: ... + def HasOwnDuration(self) -> bool: ... + def IsStopped(self) -> bool: ... + def Name(self) -> str: ... + def OwnDuration(self) -> float: ... + def Pause(self) -> None: ... + def Remove(self, theAnimation: AIS_Animation) -> bool: ... + def Replace( + self, theAnimationOld: AIS_Animation, theAnimationNew: AIS_Animation + ) -> bool: ... + def SetOwnDuration(self, theDuration: float) -> None: ... + def SetStartPts(self, thePtsStart: float) -> None: ... + def SetTimer(self, theTimer: Media_Timer) -> None: ... + def Start(self, theToUpdate: bool) -> None: ... + def StartPts(self) -> float: ... + def StartTimer( + self, + theStartPts: float, + thePlaySpeed: float, + theToUpdate: bool, + theToStopTimer: Optional[bool] = False, + ) -> None: ... + def Stop(self) -> None: ... + def Timer(self) -> Media_Timer: ... + def Update(self, thePts: float) -> bool: ... + def UpdateTimer(self) -> float: ... + def UpdateTotalDuration(self) -> None: ... class AIS_AnimationProgress: - def __init__(self) -> None: ... + def __init__(self) -> None: ... class AIS_AttributeFilter(SelectMgr_Filter): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, aCol: Quantity_NameOfColor) -> None: ... - @overload - def __init__(self, aWidth: float) -> None: ... - def HasColor(self) -> bool: ... - def HasWidth(self) -> bool: ... - def IsOk(self, anObj: SelectMgr_EntityOwner) -> bool: ... - def SetColor(self, aCol: Quantity_NameOfColor) -> None: ... - def SetWidth(self, aWidth: float) -> None: ... - def UnsetColor(self) -> None: ... - def UnsetWidth(self) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, aCol: Quantity_NameOfColor) -> None: ... + @overload + def __init__(self, aWidth: float) -> None: ... + def HasColor(self) -> bool: ... + def HasWidth(self) -> bool: ... + def IsOk(self, anObj: SelectMgr_EntityOwner) -> bool: ... + def SetColor(self, theCol: Quantity_NameOfColor) -> None: ... + def SetWidth(self, theWidth: float) -> None: ... + def UnsetColor(self) -> None: ... + def UnsetWidth(self) -> None: ... class AIS_BadEdgeFilter(SelectMgr_Filter): - def __init__(self) -> None: ... - def ActsOn(self, aType: TopAbs_ShapeEnum) -> bool: ... - def AddEdge(self, anEdge: TopoDS_Edge, Index: int) -> None: ... - def IsOk(self, EO: SelectMgr_EntityOwner) -> bool: ... - def RemoveEdges(self, Index: int) -> None: ... - def SetContour(self, Index: int) -> None: ... + def __init__(self) -> None: ... + def ActsOn(self, aType: TopAbs_ShapeEnum) -> bool: ... + def AddEdge(self, anEdge: TopoDS_Edge, Index: int) -> None: ... + def IsOk(self, EO: SelectMgr_EntityOwner) -> bool: ... + def RemoveEdges(self, Index: int) -> None: ... + def SetContour(self, Index: int) -> None: ... class AIS_C0RegularityFilter(SelectMgr_Filter): - def __init__(self, aShape: TopoDS_Shape) -> None: ... - def ActsOn(self, aType: TopAbs_ShapeEnum) -> bool: ... - def IsOk(self, EO: SelectMgr_EntityOwner) -> bool: ... + def __init__(self, aShape: TopoDS_Shape) -> None: ... + def ActsOn(self, aType: TopAbs_ShapeEnum) -> bool: ... + def IsOk(self, EO: SelectMgr_EntityOwner) -> bool: ... class AIS_ColoredDrawer(Prs3d_Drawer): - def __init__(self, theLink: Prs3d_Drawer) -> None: ... - def HasOwnColor(self) -> False: ... - def HasOwnMaterial(self) -> False: ... - def HasOwnTransparency(self) -> False: ... - def HasOwnWidth(self) -> False: ... - def IsHidden(self) -> False: ... - def SetOwnMaterial(self) -> None: ... - def SetOwnTransparency(self, x: float) -> None: ... - def UnsetOwnColor(self) -> None: ... - def UnsetOwnMaterial(self) -> None: ... - def UnsetOwnTransparency(self) -> None: ... - def UnsetOwnWidth(self) -> None: ... + def __init__(self, theLink: Prs3d_Drawer) -> None: ... + def HasOwnColor(self) -> bool: ... + def HasOwnMaterial(self) -> bool: ... + def HasOwnTransparency(self) -> bool: ... + def HasOwnWidth(self) -> bool: ... + def IsHidden(self) -> bool: ... + def SetHidden(self, theToHide: bool) -> None: ... + def SetOwnMaterial(self) -> None: ... + def UnsetOwnColor(self) -> None: ... + def UnsetOwnMaterial(self) -> None: ... + def UnsetOwnTransparency(self) -> None: ... + def UnsetOwnWidth(self) -> None: ... class AIS_ExclusionFilter(SelectMgr_Filter): - @overload - def __init__(self, ExclusionFlagOn: Optional[bool] = True) -> None: ... - @overload - def __init__(self, TypeToExclude: AIS_KindOfInteractive, ExclusionFlagOn: Optional[bool] = True) -> None: ... - @overload - def __init__(self, TypeToExclude: AIS_KindOfInteractive, SignatureInType: int, ExclusionFlagOn: Optional[bool] = True) -> None: ... - @overload - def Add(self, TypeToExclude: AIS_KindOfInteractive) -> bool: ... - @overload - def Add(self, TypeToExclude: AIS_KindOfInteractive, SignatureInType: int) -> bool: ... - def Clear(self) -> None: ... - def IsExclusionFlagOn(self) -> bool: ... - def IsOk(self, anObj: SelectMgr_EntityOwner) -> bool: ... - def IsStored(self, aType: AIS_KindOfInteractive) -> bool: ... - def ListOfSignature(self, aType: AIS_KindOfInteractive, TheStoredList: TColStd_ListOfInteger) -> None: ... - def ListOfStoredTypes(self, TheList: TColStd_ListOfInteger) -> None: ... - @overload - def Remove(self, TypeToExclude: AIS_KindOfInteractive) -> bool: ... - @overload - def Remove(self, TypeToExclude: AIS_KindOfInteractive, SignatureInType: int) -> bool: ... - def SetExclusionFlag(self, Status: bool) -> None: ... + @overload + def __init__(self, ExclusionFlagOn: Optional[bool] = True) -> None: ... + @overload + def __init__( + self, + TypeToExclude: AIS_KindOfInteractive, + ExclusionFlagOn: Optional[bool] = True, + ) -> None: ... + @overload + def __init__( + self, + TypeToExclude: AIS_KindOfInteractive, + SignatureInType: int, + ExclusionFlagOn: Optional[bool] = True, + ) -> None: ... + @overload + def Add(self, TypeToExclude: AIS_KindOfInteractive) -> bool: ... + @overload + def Add( + self, TypeToExclude: AIS_KindOfInteractive, SignatureInType: int + ) -> bool: ... + def Clear(self) -> None: ... + def IsExclusionFlagOn(self) -> bool: ... + def IsOk(self, anObj: SelectMgr_EntityOwner) -> bool: ... + def IsStored(self, aType: AIS_KindOfInteractive) -> bool: ... + def ListOfSignature( + self, aType: AIS_KindOfInteractive, TheStoredList: TColStd_ListOfInteger + ) -> None: ... + def ListOfStoredTypes(self, TheList: TColStd_ListOfInteger) -> None: ... + @overload + def Remove(self, TypeToExclude: AIS_KindOfInteractive) -> bool: ... + @overload + def Remove( + self, TypeToExclude: AIS_KindOfInteractive, SignatureInType: int + ) -> bool: ... + def SetExclusionFlag(self, theStatus: bool) -> None: ... class AIS_GlobalStatus(Standard_Transient): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, aStat: AIS_DisplayStatus, aDispMode: int, aSelMode: int, ishilighted: Optional[bool] = False, aLayerIndex: Optional[int] = 0) -> None: ... - def AddSelectionMode(self, theMode: int) -> None: ... - def ClearSelectionModes(self) -> None: ... - def DisplayMode(self) -> int: ... - def GetLayerIndex(self) -> int: ... - def GraphicStatus(self) -> AIS_DisplayStatus: ... - def HilightStyle(self) -> Prs3d_Drawer: ... - def IsHilighted(self) -> bool: ... - def IsSModeIn(self, aMode: int) -> bool: ... - def IsSubIntensityOn(self) -> bool: ... - def RemoveSelectionMode(self, aMode: int) -> None: ... - def SelectionModes(self) -> TColStd_ListOfInteger: ... - def SetDisplayMode(self, theMode: int) -> None: ... - def SetGraphicStatus(self, theStatus: AIS_DisplayStatus) -> None: ... - def SetHilightStatus(self, theStatus: bool) -> None: ... - def SetHilightStyle(self, theStyle: Prs3d_Drawer) -> None: ... - def SetLayerIndex(self, theIndex: int) -> None: ... - def SubIntensityOff(self) -> None: ... - def SubIntensityOn(self) -> None: ... + def __init__(self) -> None: ... + def AddSelectionMode(self, theMode: int) -> bool: ... + def ClearSelectionModes(self) -> None: ... + def DisplayMode(self) -> int: ... + def HilightStyle(self) -> Prs3d_Drawer: ... + def IsHilighted(self) -> bool: ... + def IsSModeIn(self, theMode: int) -> bool: ... + def IsSubIntensityOn(self) -> bool: ... + def RemoveSelectionMode(self, theMode: int) -> bool: ... + def SelectionModes(self) -> TColStd_ListOfInteger: ... + def SetDisplayMode(self, theMode: int) -> None: ... + def SetHilightStatus(self, theStatus: bool) -> None: ... + def SetHilightStyle(self, theStyle: Prs3d_Drawer) -> None: ... + def SetSubIntensity(self, theIsOn: bool) -> None: ... class AIS_GraphicTool: - @overload - @staticmethod - def GetInteriorColor(aDrawer: Prs3d_Drawer) -> Quantity_NameOfColor: ... - @overload - @staticmethod - def GetInteriorColor(aDrawer: Prs3d_Drawer, aColor: Quantity_Color) -> None: ... - @staticmethod - def GetLineAtt(aDrawer: Prs3d_Drawer, TheTypeOfAttributes: AIS_TypeOfAttribute, aCol: Quantity_NameOfColor, aTyp: Aspect_TypeOfLine) -> float: ... - @overload - @staticmethod - def GetLineColor(aDrawer: Prs3d_Drawer, TheTypeOfAttributes: AIS_TypeOfAttribute) -> Quantity_NameOfColor: ... - @overload - @staticmethod - def GetLineColor(aDrawer: Prs3d_Drawer, TheTypeOfAttributes: AIS_TypeOfAttribute, TheLineColor: Quantity_Color) -> None: ... - @staticmethod - def GetLineType(aDrawer: Prs3d_Drawer, TheTypeOfAttributes: AIS_TypeOfAttribute) -> Aspect_TypeOfLine: ... - @staticmethod - def GetLineWidth(aDrawer: Prs3d_Drawer, TheTypeOfAttributes: AIS_TypeOfAttribute) -> float: ... - @staticmethod - def GetMaterial(aDrawer: Prs3d_Drawer) -> Graphic3d_MaterialAspect: ... + @overload + @staticmethod + def GetInteriorColor(aDrawer: Prs3d_Drawer) -> Quantity_NameOfColor: ... + @overload + @staticmethod + def GetInteriorColor(aDrawer: Prs3d_Drawer, aColor: Quantity_Color) -> None: ... + @staticmethod + def GetLineAtt( + aDrawer: Prs3d_Drawer, TheTypeOfAttributes: AIS_TypeOfAttribute + ) -> Tuple[Quantity_NameOfColor, float, Aspect_TypeOfLine]: ... + @overload + @staticmethod + def GetLineColor( + aDrawer: Prs3d_Drawer, TheTypeOfAttributes: AIS_TypeOfAttribute + ) -> Quantity_NameOfColor: ... + @overload + @staticmethod + def GetLineColor( + aDrawer: Prs3d_Drawer, + TheTypeOfAttributes: AIS_TypeOfAttribute, + TheLineColor: Quantity_Color, + ) -> None: ... + @staticmethod + def GetLineType( + aDrawer: Prs3d_Drawer, TheTypeOfAttributes: AIS_TypeOfAttribute + ) -> Aspect_TypeOfLine: ... + @staticmethod + def GetLineWidth( + aDrawer: Prs3d_Drawer, TheTypeOfAttributes: AIS_TypeOfAttribute + ) -> float: ... + @staticmethod + def GetMaterial(aDrawer: Prs3d_Drawer) -> Graphic3d_MaterialAspect: ... class AIS_InteractiveContext(Standard_Transient): - def __init__(self, MainViewer: V3d_Viewer) -> None: ... - @overload - def Activate(self, theObj: AIS_InteractiveObject, theMode: Optional[int] = 0, theIsForce: Optional[bool] = False) -> None: ... - @overload - def Activate(self, theMode: int, theIsForce: Optional[bool] = False) -> None: ... - def ActivatedModes(self, anIobj: AIS_InteractiveObject, theList: TColStd_ListOfInteger) -> None: ... - def AddFilter(self, theFilter: SelectMgr_Filter) -> None: ... - def AddOrRemoveCurrentObject(self, theObj: AIS_InteractiveObject, theIsToUpdateViewer: bool) -> None: ... - @overload - def AddOrRemoveSelected(self, theObject: AIS_InteractiveObject, theToUpdateViewer: bool) -> None: ... - @overload - def AddOrRemoveSelected(self, theOwner: SelectMgr_EntityOwner, theToUpdateViewer: bool) -> None: ... - @overload - def AddSelect(self, theObject: SelectMgr_EntityOwner) -> AIS_StatusOfPick: ... - @overload - def AddSelect(self, theObject: AIS_InteractiveObject) -> AIS_StatusOfPick: ... - def Applicative(self) -> Standard_Transient: ... - def AutomaticHilight(self) -> bool: ... - def BeginImmediateDraw(self) -> bool: ... - def BoundingBoxOfSelection(self) -> Bnd_Box: ... - def ClearActiveSensitive(self, aView: V3d_View) -> None: ... - def ClearCurrents(self, theToUpdateViewer: bool) -> None: ... - def ClearDetected(self, theToRedrawImmediate: Optional[bool] = False) -> bool: ... - def ClearPrs(self, theIObj: AIS_InteractiveObject, theMode: int, theToUpdateViewer: bool) -> None: ... - def ClearSelected(self, theToUpdateViewer: bool) -> None: ... - def Color(self, aniobj: AIS_InteractiveObject, acolor: Quantity_Color) -> None: ... - def Current(self) -> AIS_InteractiveObject: ... - def CurrentViewer(self) -> V3d_Viewer: ... - @overload - def Deactivate(self, theObj: AIS_InteractiveObject) -> None: ... - @overload - def Deactivate(self, theObj: AIS_InteractiveObject, theMode: int) -> None: ... - @overload - def Deactivate(self, theMode: int) -> None: ... - @overload - def Deactivate(self) -> None: ... - def DefaultDrawer(self) -> Prs3d_Drawer: ... - def DetectedCurrentObject(self) -> AIS_InteractiveObject: ... - def DetectedCurrentOwner(self) -> SelectMgr_EntityOwner: ... - def DetectedCurrentShape(self) -> TopoDS_Shape: ... - def DetectedInteractive(self) -> AIS_InteractiveObject: ... - def DetectedOwner(self) -> SelectMgr_EntityOwner: ... - def DetectedShape(self) -> TopoDS_Shape: ... - def DeviationAngle(self) -> float: ... - def DeviationCoefficient(self) -> float: ... - def DisableDrawHiddenLine(self) -> None: ... - def Disconnect(self, theAssembly: AIS_InteractiveObject, theObjToDisconnect: Optional[AIS_InteractiveObject] = None) -> None: ... - @overload - def Display(self, theIObj: AIS_InteractiveObject, theToUpdateViewer: bool) -> None: ... - @overload - def Display(self, theIObj: AIS_InteractiveObject, theDispMode: int, theSelectionMode: int, theToUpdateViewer: bool, theDispStatus: Optional[AIS_DisplayStatus] = AIS_DS_None) -> None: ... - @overload - def Display(self, theIObj: AIS_InteractiveObject, theDispMode: int, theSelectionMode: int, theToUpdateViewer: bool, theToAllowDecomposition: bool, theDispStatus: Optional[AIS_DisplayStatus] = AIS_DS_None) -> None: ... - @overload - def DisplayActiveSensitive(self, aView: V3d_View) -> None: ... - @overload - def DisplayActiveSensitive(self, anObject: AIS_InteractiveObject, aView: V3d_View) -> None: ... - def DisplayAll(self, theToUpdateViewer: bool) -> None: ... - def DisplayMode(self) -> int: ... - def DisplayPriority(self, theIObj: AIS_InteractiveObject) -> int: ... - def DisplaySelected(self, theToUpdateViewer: bool) -> None: ... - def DisplayStatus(self, anIobj: AIS_InteractiveObject) -> AIS_DisplayStatus: ... - @overload - def DisplayedObjects(self, aListOfIO: AIS_ListOfInteractive) -> None: ... - @overload - def DisplayedObjects(self, theWhichKind: AIS_KindOfInteractive, theWhichSignature: int, theListOfIO: AIS_ListOfInteractive) -> None: ... - def DrawHiddenLine(self) -> bool: ... - def EnableDrawHiddenLine(self) -> None: ... - @overload - def EndImmediateDraw(self, theView: V3d_View) -> bool: ... - @overload - def EndImmediateDraw(self) -> bool: ... - def Erase(self, theIObj: AIS_InteractiveObject, theToUpdateViewer: bool) -> None: ... - def EraseAll(self, theToUpdateViewer: bool) -> None: ... - def EraseSelected(self, theToUpdateViewer: bool) -> None: ... - @overload - def ErasedObjects(self, theListOfIO: AIS_ListOfInteractive) -> None: ... - @overload - def ErasedObjects(self, theWhichKind: AIS_KindOfInteractive, theWhichSignature: int, theListOfIO: AIS_ListOfInteractive) -> None: ... - def FilterType(self) -> SelectMgr_FilterType: ... - def Filters(self) -> SelectMgr_ListOfFilter: ... - def FirstSelectedObject(self) -> AIS_InteractiveObject: ... - @overload - def FitSelected(self, theView: V3d_View, theMargin: float, theToUpdate: bool) -> None: ... - @overload - def FitSelected(self, theView: V3d_View) -> None: ... - def GetAutoActivateSelection(self) -> bool: ... - def GetZLayer(self, theIObj: AIS_InteractiveObject) -> Graphic3d_ZLayerId: ... - def GravityPoint(self, theView: V3d_View) -> gp_Pnt: ... - def HasApplicative(self) -> bool: ... - def HasColor(self, aniobj: AIS_InteractiveObject) -> bool: ... - def HasDetected(self) -> bool: ... - def HasDetectedShape(self) -> bool: ... - def HasLocation(self, theObject: AIS_InteractiveObject) -> bool: ... - def HasNextDetected(self) -> bool: ... - def HasPolygonOffsets(self, anObj: AIS_InteractiveObject) -> bool: ... - def HasSelectedShape(self) -> bool: ... - def HiddenLineAspect(self) -> Prs3d_LineAspect: ... - @overload - def HighlightStyle(self, theStyleType: Prs3d_TypeOfHighlight) -> Prs3d_Drawer: ... - @overload - def HighlightStyle(self) -> Prs3d_Drawer: ... - @overload - def HighlightStyle(self, theObj: AIS_InteractiveObject, theStyle: Prs3d_Drawer) -> bool: ... - @overload - def HighlightStyle(self, theOwner: SelectMgr_EntityOwner, theStyle: Prs3d_Drawer) -> bool: ... - def Hilight(self, theObj: AIS_InteractiveObject, theIsToUpdateViewer: bool) -> None: ... - def HilightCurrents(self, theToUpdateViewer: bool) -> None: ... - def HilightNextDetected(self, theView: V3d_View, theToRedrawImmediate: Optional[bool] = True) -> int: ... - def HilightPreviousDetected(self, theView: V3d_View, theToRedrawImmediate: Optional[bool] = True) -> int: ... - def HilightSelected(self, theToUpdateViewer: bool) -> None: ... - def HilightWithColor(self, theObj: AIS_InteractiveObject, theStyle: Prs3d_Drawer, theToUpdateViewer: bool) -> None: ... - def ImmediateAdd(self, theObj: AIS_InteractiveObject, theMode: Optional[int] = 0) -> bool: ... - def InitCurrent(self) -> None: ... - def InitDetected(self) -> None: ... - def InitSelected(self) -> None: ... - def IsCurrent(self, theObject: AIS_InteractiveObject) -> bool: ... - @overload - def IsDisplayed(self, anIobj: AIS_InteractiveObject) -> bool: ... - @overload - def IsDisplayed(self, aniobj: AIS_InteractiveObject, aMode: int) -> bool: ... - @overload - def IsHilighted(self, theObj: AIS_InteractiveObject) -> bool: ... - @overload - def IsHilighted(self, theOwner: SelectMgr_EntityOwner) -> bool: ... - def IsImmediateModeOn(self) -> bool: ... - @overload - def IsSelected(self, theOwner: SelectMgr_EntityOwner) -> bool: ... - @overload - def IsSelected(self, theObj: AIS_InteractiveObject) -> bool: ... - def IsoNumber(self, WhichIsos: Optional[AIS_TypeOfIso] = AIS_TOI_Both) -> int: ... - @overload - def IsoOnPlane(self, SwitchOn: bool) -> None: ... - @overload - def IsoOnPlane(self) -> bool: ... - @overload - def IsoOnTriangulation(self, theIsEnabled: bool, theObject: AIS_InteractiveObject) -> None: ... - @overload - def IsoOnTriangulation(self, theToSwitchOn: bool) -> None: ... - @overload - def IsoOnTriangulation(self) -> bool: ... - def LastActiveView(self) -> V3d_View: ... - @overload - def Load(self, theObj: AIS_InteractiveObject, theSelectionMode: Optional[int] = -1) -> None: ... - @overload - def Load(self, theObj: AIS_InteractiveObject, theSelectionMode: int, x: bool) -> None: ... - def Location(self, theObject: AIS_InteractiveObject) -> TopLoc_Location: ... - def MainPrsMgr(self) -> PrsMgr_PresentationManager3d: ... - def MainSelector(self) -> StdSelect_ViewerSelector3d: ... - def MoreCurrent(self) -> bool: ... - def MoreDetected(self) -> bool: ... - def MoreSelected(self) -> bool: ... - def MoveTo(self, theXPix: int, theYPix: int, theView: V3d_View, theToRedrawOnUpdate: bool) -> AIS_StatusOfDetection: ... - def NbCurrents(self) -> int: ... - def NbSelected(self) -> int: ... - def NextCurrent(self) -> None: ... - def NextDetected(self) -> None: ... - def NextSelected(self) -> None: ... - @overload - def ObjectsByDisplayStatus(self, theStatus: AIS_DisplayStatus, theListOfIO: AIS_ListOfInteractive) -> None: ... - @overload - def ObjectsByDisplayStatus(self, WhichKind: AIS_KindOfInteractive, WhichSignature: int, theStatus: AIS_DisplayStatus, theListOfIO: AIS_ListOfInteractive) -> None: ... - def ObjectsForView(self, theListOfIO: AIS_ListOfInteractive, theView: V3d_View, theIsVisibleInView: bool, theStatus: Optional[AIS_DisplayStatus] = AIS_DS_None) -> None: ... - def ObjectsInside(self, aListOfIO: AIS_ListOfInteractive, WhichKind: Optional[AIS_KindOfInteractive] = AIS_KOI_None, WhichSignature: Optional[int] = -1) -> None: ... - def PickingStrategy(self) -> SelectMgr_PickingStrategy: ... - def PixelTolerance(self) -> int: ... - def PlaneSize(self) -> Tuple[bool, float, float]: ... - def PolygonOffsets(self, anObj: AIS_InteractiveObject, aFactor: float, aUnits: float) -> int: ... - def PurgeDisplay(self) -> int: ... - def RebuildSelectionStructs(self) -> None: ... - def RecomputePrsOnly(self, theIObj: AIS_InteractiveObject, theToUpdateViewer: bool, theAllModes: Optional[bool] = False) -> None: ... - def RecomputeSelectionOnly(self, anIObj: AIS_InteractiveObject) -> None: ... - @overload - def Redisplay(self, theIObj: AIS_InteractiveObject, theToUpdateViewer: bool, theAllModes: Optional[bool] = False) -> None: ... - @overload - def Redisplay(self, theTypeOfObject: AIS_KindOfInteractive, theSignature: int, theToUpdateViewer: bool) -> None: ... - def RedrawImmediate(self, theViewer: V3d_Viewer) -> None: ... - def Remove(self, theIObj: AIS_InteractiveObject, theToUpdateViewer: bool) -> None: ... - def RemoveAll(self, theToUpdateViewer: bool) -> None: ... - def RemoveFilter(self, theFilter: SelectMgr_Filter) -> None: ... - def RemoveFilters(self) -> None: ... - def ResetLocation(self, theObject: AIS_InteractiveObject) -> None: ... - @overload - def Select(self, theXPMin: int, theYPMin: int, theXPMax: int, theYPMax: int, theView: V3d_View, theToUpdateViewer: bool) -> AIS_StatusOfPick: ... - @overload - def Select(self, thePolyline: TColgp_Array1OfPnt2d, theView: V3d_View, theToUpdateViewer: bool) -> AIS_StatusOfPick: ... - @overload - def Select(self, theToUpdateViewer: bool) -> AIS_StatusOfPick: ... - def SelectedInteractive(self) -> AIS_InteractiveObject: ... - def SelectedOwner(self) -> SelectMgr_EntityOwner: ... - def SelectedShape(self) -> TopoDS_Shape: ... - def Selection(self) -> AIS_Selection: ... - def SelectionManager(self) -> SelectMgr_SelectionManager: ... - def SelectionStyle(self) -> Prs3d_Drawer: ... - def SetAngleAndDeviation(self, theIObj: AIS_InteractiveObject, theAngle: float, theToUpdateViewer: bool) -> None: ... - def SetAutoActivateSelection(self, theIsAuto: bool) -> None: ... - def SetAutomaticHilight(self, theStatus: bool) -> None: ... - def SetColor(self, theIObj: AIS_InteractiveObject, theColor: Quantity_Color, theToUpdateViewer: bool) -> None: ... - def SetCurrentFacingModel(self, aniobj: AIS_InteractiveObject, aModel: Optional[Aspect_TypeOfFacingModel] = Aspect_TOFM_BOTH_SIDE) -> None: ... - def SetCurrentObject(self, theIObj: AIS_InteractiveObject, theToUpdateViewer: bool) -> None: ... - @overload - def SetDeviationAngle(self, theIObj: AIS_InteractiveObject, theAngle: float, theToUpdateViewer: bool) -> None: ... - @overload - def SetDeviationAngle(self, anAngle: float) -> None: ... - @overload - def SetDeviationCoefficient(self, theIObj: AIS_InteractiveObject, theCoefficient: float, theToUpdateViewer: bool) -> None: ... - @overload - def SetDeviationCoefficient(self, theCoefficient: float) -> None: ... - @overload - def SetDisplayMode(self, theMode: int, theToUpdateViewer: bool) -> None: ... - @overload - def SetDisplayMode(self, theIObj: AIS_InteractiveObject, theMode: int, theToUpdateViewer: bool) -> None: ... - def SetDisplayPriority(self, theIObj: AIS_InteractiveObject, thePriority: int) -> None: ... - def SetFilterType(self, theFilterType: SelectMgr_FilterType) -> None: ... - def SetHiddenLineAspect(self, anAspect: Prs3d_LineAspect) -> None: ... - @overload - def SetHighlightStyle(self, theStyleType: Prs3d_TypeOfHighlight, theStyle: Prs3d_Drawer) -> None: ... - @overload - def SetHighlightStyle(self, theStyle: Prs3d_Drawer) -> None: ... - def SetIsoNumber(self, NbIsos: int, WhichIsos: Optional[AIS_TypeOfIso] = AIS_TOI_Both) -> None: ... - def SetLocalAttributes(self, theIObj: AIS_InteractiveObject, theDrawer: Prs3d_Drawer, theToUpdateViewer: bool) -> None: ... - def SetLocation(self, theObject: AIS_InteractiveObject, theLocation: TopLoc_Location) -> None: ... - def SetMaterial(self, theIObj: AIS_InteractiveObject, theMaterial: Graphic3d_MaterialAspect, theToUpdateViewer: bool) -> None: ... - def SetPickingStrategy(self, theStrategy: SelectMgr_PickingStrategy) -> None: ... - def SetPixelTolerance(self, thePrecision: Optional[int] = 2) -> None: ... - @overload - def SetPlaneSize(self, theSizeX: float, theSizeY: float, theToUpdateViewer: bool) -> None: ... - @overload - def SetPlaneSize(self, theSize: float, theToUpdateViewer: bool) -> None: ... - def SetPolygonOffsets(self, theIObj: AIS_InteractiveObject, theMode: int, theFactor: float, theUnits: float, theToUpdateViewer: bool) -> None: ... - @overload - def SetSelected(self, theOwners: SelectMgr_EntityOwner, theToUpdateViewer: bool) -> None: ... - @overload - def SetSelected(self, theObject: AIS_InteractiveObject, theToUpdateViewer: bool) -> None: ... - def SetSelectedAspect(self, theAspect: Prs3d_BasicAspect, theToUpdateViewer: bool) -> None: ... - def SetSelectedState(self, theOwner: SelectMgr_EntityOwner, theIsSelected: bool) -> bool: ... - def SetSelection(self, theSelection: AIS_Selection) -> None: ... - def SetSelectionModeActive(self, theObj: AIS_InteractiveObject, theMode: int, theToActivate: bool, theConcurrency: Optional[AIS_SelectionModesConcurrency] = AIS_SelectionModesConcurrency_Multiple, theIsForce: Optional[bool] = False) -> None: ... - def SetSelectionSensitivity(self, theObject: AIS_InteractiveObject, theMode: int, theNewSensitivity: int) -> None: ... - def SetSelectionStyle(self, theStyle: Prs3d_Drawer) -> None: ... - def SetSubIntensityColor(self, theColor: Quantity_Color) -> None: ... - def SetToHilightSelected(self, toHilight: bool) -> None: ... - @overload - def SetTransformPersistence(self, theObject: AIS_InteractiveObject, theTrsfPers: Graphic3d_TransformPers) -> None: ... - @overload - def SetTransformPersistence(self, theObj: AIS_InteractiveObject, theFlag: Graphic3d_TransModeFlags, thePoint: Optional[gp_Pnt] = gp_Pnt(0.0,0.0,0.0)) -> None: ... - def SetTransparency(self, theIObj: AIS_InteractiveObject, theValue: float, theToUpdateViewer: bool) -> None: ... - def SetTrihedronSize(self, theSize: float, theToUpdateViewer: bool) -> None: ... - def SetViewAffinity(self, theIObj: AIS_InteractiveObject, theView: V3d_View, theIsVisible: bool) -> None: ... - def SetWidth(self, theIObj: AIS_InteractiveObject, theValue: float, theToUpdateViewer: bool) -> None: ... - @overload - def ShiftSelect(self, theToUpdateViewer: bool) -> AIS_StatusOfPick: ... - @overload - def ShiftSelect(self, thePolyline: TColgp_Array1OfPnt2d, theView: V3d_View, theToUpdateViewer: bool) -> AIS_StatusOfPick: ... - @overload - def ShiftSelect(self, theXPMin: int, theYPMin: int, theXPMax: int, theYPMax: int, theView: V3d_View, theToUpdateViewer: bool) -> AIS_StatusOfPick: ... - def SubIntensityColor(self) -> Quantity_Color: ... - def SubIntensityOff(self, theIObj: AIS_InteractiveObject, theToUpdateViewer: bool) -> None: ... - def SubIntensityOn(self, theIObj: AIS_InteractiveObject, theToUpdateViewer: bool) -> None: ... - def ToHilightSelected(self) -> bool: ... - def TrihedronSize(self) -> float: ... - def Unhilight(self, theIObj: AIS_InteractiveObject, theToUpdateViewer: bool) -> None: ... - def UnhilightCurrents(self, theToUpdateViewer: bool) -> None: ... - def UnhilightSelected(self, theToUpdateViewer: bool) -> None: ... - def UnsetColor(self, theIObj: AIS_InteractiveObject, theToUpdateViewer: bool) -> None: ... - def UnsetDisplayMode(self, theIObj: AIS_InteractiveObject, theToUpdateViewer: bool) -> None: ... - def UnsetLocalAttributes(self, theIObj: AIS_InteractiveObject, theToUpdateViewer: bool) -> None: ... - def UnsetMaterial(self, theIObj: AIS_InteractiveObject, theToUpdateViewer: bool) -> None: ... - def UnsetTransparency(self, theIObj: AIS_InteractiveObject, theToUpdateViewer: bool) -> None: ... - def UnsetWidth(self, theIObj: AIS_InteractiveObject, theToUpdateViewer: bool) -> None: ... - def Update(self, theIObj: AIS_InteractiveObject, theUpdateViewer: bool) -> None: ... - def UpdateCurrent(self) -> None: ... - def UpdateCurrentViewer(self) -> None: ... - def UpdateSelected(self, theToUpdateViewer: bool) -> None: ... - def Width(self, aniobj: AIS_InteractiveObject) -> float: ... + def __init__(self, MainViewer: V3d_Viewer) -> None: ... + @overload + def Activate( + self, + theObj: AIS_InteractiveObject, + theMode: Optional[int] = 0, + theIsForce: Optional[bool] = False, + ) -> None: ... + @overload + def Activate(self, theMode: int, theIsForce: Optional[bool] = False) -> None: ... + def ActivatedModes( + self, anIobj: AIS_InteractiveObject, theList: TColStd_ListOfInteger + ) -> None: ... + def AddFilter(self, theFilter: SelectMgr_Filter) -> None: ... + def AddOrRemoveCurrentObject( + self, theObj: AIS_InteractiveObject, theIsToUpdateViewer: bool + ) -> None: ... + @overload + def AddOrRemoveSelected( + self, theObject: AIS_InteractiveObject, theToUpdateViewer: bool + ) -> None: ... + @overload + def AddOrRemoveSelected( + self, theOwner: SelectMgr_EntityOwner, theToUpdateViewer: bool + ) -> None: ... + @overload + def AddSelect(self, theObject: SelectMgr_EntityOwner) -> AIS_StatusOfPick: ... + @overload + def AddSelect(self, theObject: AIS_InteractiveObject) -> AIS_StatusOfPick: ... + def Applicative(self) -> Standard_Transient: ... + def AutomaticHilight(self) -> bool: ... + def BeginImmediateDraw(self) -> bool: ... + @overload + def BoundingBoxOfSelection(self, theView: V3d_View) -> Bnd_Box: ... + @overload + def BoundingBoxOfSelection(self) -> Bnd_Box: ... + def ClearActiveSensitive(self, aView: V3d_View) -> None: ... + def ClearCurrents(self, theToUpdateViewer: bool) -> None: ... + def ClearDetected(self, theToRedrawImmediate: Optional[bool] = False) -> bool: ... + def ClearPrs( + self, theIObj: AIS_InteractiveObject, theMode: int, theToUpdateViewer: bool + ) -> None: ... + def ClearSelected(self, theToUpdateViewer: bool) -> None: ... + def Color(self, aniobj: AIS_InteractiveObject, acolor: Quantity_Color) -> None: ... + def Current(self) -> AIS_InteractiveObject: ... + def CurrentViewer(self) -> V3d_Viewer: ... + @overload + def Deactivate(self, theObj: AIS_InteractiveObject) -> None: ... + @overload + def Deactivate(self, theObj: AIS_InteractiveObject, theMode: int) -> None: ... + @overload + def Deactivate(self, theMode: int) -> None: ... + @overload + def Deactivate(self) -> None: ... + def DefaultDrawer(self) -> Prs3d_Drawer: ... + def DetectedCurrentObject(self) -> AIS_InteractiveObject: ... + def DetectedCurrentOwner(self) -> SelectMgr_EntityOwner: ... + def DetectedCurrentShape(self) -> TopoDS_Shape: ... + def DetectedInteractive(self) -> AIS_InteractiveObject: ... + def DetectedOwner(self) -> SelectMgr_EntityOwner: ... + def DetectedShape(self) -> TopoDS_Shape: ... + def DeviationAngle(self) -> float: ... + def DeviationCoefficient(self) -> float: ... + def DisableDrawHiddenLine(self) -> None: ... + def Disconnect( + self, + theAssembly: AIS_InteractiveObject, + theObjToDisconnect: Optional[AIS_InteractiveObject] = None, + ) -> None: ... + @overload + def Display( + self, theIObj: AIS_InteractiveObject, theToUpdateViewer: bool + ) -> None: ... + @overload + def Display( + self, + theIObj: AIS_InteractiveObject, + theDispMode: int, + theSelectionMode: int, + theToUpdateViewer: bool, + theDispStatus: Optional[PrsMgr_DisplayStatus] = PrsMgr_DisplayStatus_None, + ) -> None: ... + @overload + def Display( + self, + theIObj: AIS_InteractiveObject, + theDispMode: int, + theSelectionMode: int, + theToUpdateViewer: bool, + theToAllowDecomposition: bool, + theDispStatus: Optional[PrsMgr_DisplayStatus] = PrsMgr_DisplayStatus_None, + ) -> None: ... + @overload + def DisplayActiveSensitive(self, aView: V3d_View) -> None: ... + @overload + def DisplayActiveSensitive( + self, anObject: AIS_InteractiveObject, aView: V3d_View + ) -> None: ... + def DisplayAll(self, theToUpdateViewer: bool) -> None: ... + def DisplayMode(self) -> int: ... + def DisplayPriority( + self, theIObj: AIS_InteractiveObject + ) -> Graphic3d_DisplayPriority: ... + def DisplaySelected(self, theToUpdateViewer: bool) -> None: ... + def DisplayStatus(self, anIobj: AIS_InteractiveObject) -> PrsMgr_DisplayStatus: ... + @overload + def DisplayedObjects(self, aListOfIO: AIS_ListOfInteractive) -> None: ... + @overload + def DisplayedObjects( + self, + theWhichKind: AIS_KindOfInteractive, + theWhichSignature: int, + theListOfIO: AIS_ListOfInteractive, + ) -> None: ... + def DrawHiddenLine(self) -> bool: ... + def DumpJson(self, depth: Optional[int] = -1) -> str: ... + def EnableDrawHiddenLine(self) -> None: ... + @overload + def EndImmediateDraw(self, theView: V3d_View) -> bool: ... + @overload + def EndImmediateDraw(self) -> bool: ... + def Erase( + self, theIObj: AIS_InteractiveObject, theToUpdateViewer: bool + ) -> None: ... + def EraseAll(self, theToUpdateViewer: bool) -> None: ... + def EraseSelected(self, theToUpdateViewer: bool) -> None: ... + @overload + def ErasedObjects(self, theListOfIO: AIS_ListOfInteractive) -> None: ... + @overload + def ErasedObjects( + self, + theWhichKind: AIS_KindOfInteractive, + theWhichSignature: int, + theListOfIO: AIS_ListOfInteractive, + ) -> None: ... + def FilterType(self) -> SelectMgr_FilterType: ... + def Filters(self) -> SelectMgr_ListOfFilter: ... + def FirstSelectedObject(self) -> AIS_InteractiveObject: ... + @overload + def FitSelected( + self, theView: V3d_View, theMargin: float, theToUpdate: bool + ) -> None: ... + @overload + def FitSelected(self, theView: V3d_View) -> None: ... + def GetAutoActivateSelection(self) -> bool: ... + def GetZLayer(self, theIObj: AIS_InteractiveObject) -> Graphic3d_ZLayerId: ... + def GlobalFilter(self) -> SelectMgr_AndOrFilter: ... + def GravityPoint(self, theView: V3d_View) -> gp_Pnt: ... + def HasApplicative(self) -> bool: ... + def HasColor(self, aniobj: AIS_InteractiveObject) -> bool: ... + def HasDetected(self) -> bool: ... + def HasDetectedShape(self) -> bool: ... + def HasLocation(self, theObject: AIS_InteractiveObject) -> bool: ... + def HasNextDetected(self) -> bool: ... + def HasPolygonOffsets(self, anObj: AIS_InteractiveObject) -> bool: ... + def HasSelectedShape(self) -> bool: ... + def HiddenLineAspect(self) -> Prs3d_LineAspect: ... + @overload + def HighlightStyle(self, theStyleType: Prs3d_TypeOfHighlight) -> Prs3d_Drawer: ... + @overload + def HighlightStyle(self) -> Prs3d_Drawer: ... + @overload + def HighlightStyle( + self, theObj: AIS_InteractiveObject, theStyle: Prs3d_Drawer + ) -> bool: ... + @overload + def HighlightStyle( + self, theOwner: SelectMgr_EntityOwner, theStyle: Prs3d_Drawer + ) -> bool: ... + def Hilight( + self, theObj: AIS_InteractiveObject, theIsToUpdateViewer: bool + ) -> None: ... + def HilightCurrents(self, theToUpdateViewer: bool) -> None: ... + def HilightNextDetected( + self, theView: V3d_View, theToRedrawImmediate: Optional[bool] = True + ) -> int: ... + def HilightPreviousDetected( + self, theView: V3d_View, theToRedrawImmediate: Optional[bool] = True + ) -> int: ... + def HilightSelected(self, theToUpdateViewer: bool) -> None: ... + def HilightWithColor( + self, + theObj: AIS_InteractiveObject, + theStyle: Prs3d_Drawer, + theToUpdateViewer: bool, + ) -> None: ... + def ImmediateAdd( + self, theObj: AIS_InteractiveObject, theMode: Optional[int] = 0 + ) -> bool: ... + def InitCurrent(self) -> None: ... + def InitDetected(self) -> None: ... + def InitSelected(self) -> None: ... + def IsCurrent(self, theObject: AIS_InteractiveObject) -> bool: ... + @overload + def IsDisplayed(self, anIobj: AIS_InteractiveObject) -> bool: ... + @overload + def IsDisplayed(self, aniobj: AIS_InteractiveObject, aMode: int) -> bool: ... + @overload + def IsHilighted(self, theObj: AIS_InteractiveObject) -> bool: ... + @overload + def IsHilighted(self, theOwner: SelectMgr_EntityOwner) -> bool: ... + def IsImmediateModeOn(self) -> bool: ... + @overload + def IsSelected(self, theOwner: SelectMgr_EntityOwner) -> bool: ... + @overload + def IsSelected(self, theObj: AIS_InteractiveObject) -> bool: ... + def IsoNumber(self, WhichIsos: Optional[AIS_TypeOfIso] = AIS_TOI_Both) -> int: ... + @overload + def IsoOnPlane(self, theToSwitchOn: bool) -> None: ... + @overload + def IsoOnPlane(self) -> bool: ... + @overload + def IsoOnTriangulation( + self, theIsEnabled: bool, theObject: AIS_InteractiveObject + ) -> None: ... + @overload + def IsoOnTriangulation(self, theToSwitchOn: bool) -> None: ... + @overload + def IsoOnTriangulation(self) -> bool: ... + def LastActiveView(self) -> V3d_View: ... + @overload + def Load( + self, theObj: AIS_InteractiveObject, theSelectionMode: Optional[int] = -1 + ) -> None: ... + def Location(self, theObject: AIS_InteractiveObject) -> TopLoc_Location: ... + def MainPrsMgr(self) -> PrsMgr_PresentationManager: ... + def MainSelector(self) -> StdSelect_ViewerSelector3d: ... + def MoreCurrent(self) -> bool: ... + def MoreDetected(self) -> bool: ... + def MoreSelected(self) -> bool: ... + @overload + def MoveTo( + self, theXPix: int, theYPix: int, theView: V3d_View, theToRedrawOnUpdate: bool + ) -> AIS_StatusOfDetection: ... + @overload + def MoveTo( + self, theAxis: gp_Ax1, theView: V3d_View, theToRedrawOnUpdate: bool + ) -> AIS_StatusOfDetection: ... + def NbCurrents(self) -> int: ... + def NbSelected(self) -> int: ... + def NextCurrent(self) -> None: ... + def NextDetected(self) -> None: ... + def NextSelected(self) -> None: ... + def ObjectIterator(self) -> AIS_DataMapIteratorOfDataMapOfIOStatus: ... + @overload + def ObjectsByDisplayStatus( + self, theStatus: PrsMgr_DisplayStatus, theListOfIO: AIS_ListOfInteractive + ) -> None: ... + @overload + def ObjectsByDisplayStatus( + self, + WhichKind: AIS_KindOfInteractive, + WhichSignature: int, + theStatus: PrsMgr_DisplayStatus, + theListOfIO: AIS_ListOfInteractive, + ) -> None: ... + def ObjectsForView( + self, + theListOfIO: AIS_ListOfInteractive, + theView: V3d_View, + theIsVisibleInView: bool, + theStatus: Optional[PrsMgr_DisplayStatus] = PrsMgr_DisplayStatus_None, + ) -> None: ... + def ObjectsInside( + self, + aListOfIO: AIS_ListOfInteractive, + WhichKind: Optional[AIS_KindOfInteractive] = AIS_KindOfInteractive_None, + WhichSignature: Optional[int] = -1, + ) -> None: ... + def PickingStrategy(self) -> SelectMgr_PickingStrategy: ... + def PixelTolerance(self) -> int: ... + def PlaneSize(self) -> Tuple[bool, float, float]: ... + def PolygonOffsets( + self, anObj: AIS_InteractiveObject + ) -> Tuple[int, float, float]: ... + def RebuildSelectionStructs(self) -> None: ... + def RecomputePrsOnly( + self, + theIObj: AIS_InteractiveObject, + theToUpdateViewer: bool, + theAllModes: Optional[bool] = False, + ) -> None: ... + def RecomputeSelectionOnly(self, anIObj: AIS_InteractiveObject) -> None: ... + @overload + def Redisplay( + self, + theIObj: AIS_InteractiveObject, + theToUpdateViewer: bool, + theAllModes: Optional[bool] = False, + ) -> None: ... + @overload + def Redisplay( + self, + theTypeOfObject: AIS_KindOfInteractive, + theSignature: int, + theToUpdateViewer: bool, + ) -> None: ... + def RedrawImmediate(self, theViewer: V3d_Viewer) -> None: ... + def Remove( + self, theIObj: AIS_InteractiveObject, theToUpdateViewer: bool + ) -> None: ... + def RemoveAll(self, theToUpdateViewer: bool) -> None: ... + def RemoveFilter(self, theFilter: SelectMgr_Filter) -> None: ... + def RemoveFilters(self) -> None: ... + def ResetLocation(self, theObject: AIS_InteractiveObject) -> None: ... + @overload + def Select( + self, theOwners: AIS_NArray1OfEntityOwner, theSelScheme: AIS_SelectionScheme + ) -> AIS_StatusOfPick: ... + @overload + def Select( + self, + theXPMin: int, + theYPMin: int, + theXPMax: int, + theYPMax: int, + theView: V3d_View, + theToUpdateViewer: bool, + ) -> AIS_StatusOfPick: ... + @overload + def Select( + self, + thePolyline: TColgp_Array1OfPnt2d, + theView: V3d_View, + theToUpdateViewer: bool, + ) -> AIS_StatusOfPick: ... + @overload + def Select(self, theToUpdateViewer: bool) -> AIS_StatusOfPick: ... + def SelectDetected( + self, theSelScheme: Optional[AIS_SelectionScheme] = AIS_SelectionScheme_Replace + ) -> AIS_StatusOfPick: ... + def SelectPoint( + self, + thePnt: Graphic3d_Vec2i, + theView: V3d_View, + theSelScheme: Optional[AIS_SelectionScheme] = AIS_SelectionScheme_Replace, + ) -> AIS_StatusOfPick: ... + def SelectPolygon( + self, + thePolyline: TColgp_Array1OfPnt2d, + theView: V3d_View, + theSelScheme: Optional[AIS_SelectionScheme] = AIS_SelectionScheme_Replace, + ) -> AIS_StatusOfPick: ... + def SelectRectangle( + self, + thePntMin: Graphic3d_Vec2i, + thePntMax: Graphic3d_Vec2i, + theView: V3d_View, + theSelScheme: Optional[AIS_SelectionScheme] = AIS_SelectionScheme_Replace, + ) -> AIS_StatusOfPick: ... + def SelectedInteractive(self) -> AIS_InteractiveObject: ... + def SelectedOwner(self) -> SelectMgr_EntityOwner: ... + def SelectedShape(self) -> TopoDS_Shape: ... + def Selection(self) -> AIS_Selection: ... + def SelectionManager(self) -> SelectMgr_SelectionManager: ... + def SelectionStyle(self) -> Prs3d_Drawer: ... + def SetAngleAndDeviation( + self, theIObj: AIS_InteractiveObject, theAngle: float, theToUpdateViewer: bool + ) -> None: ... + def SetAutoActivateSelection(self, theIsAuto: bool) -> None: ... + def SetAutomaticHilight(self, theStatus: bool) -> None: ... + def SetColor( + self, + theIObj: AIS_InteractiveObject, + theColor: Quantity_Color, + theToUpdateViewer: bool, + ) -> None: ... + def SetCurrentFacingModel( + self, + aniobj: AIS_InteractiveObject, + aModel: Optional[Aspect_TypeOfFacingModel] = Aspect_TOFM_BOTH_SIDE, + ) -> None: ... + def SetCurrentObject( + self, theIObj: AIS_InteractiveObject, theToUpdateViewer: bool + ) -> None: ... + def SetDefaultDrawer(self, theDrawer: Prs3d_Drawer) -> None: ... + @overload + def SetDeviationAngle( + self, theIObj: AIS_InteractiveObject, theAngle: float, theToUpdateViewer: bool + ) -> None: ... + @overload + def SetDeviationAngle(self, theAngle: float) -> None: ... + @overload + def SetDeviationCoefficient( + self, + theIObj: AIS_InteractiveObject, + theCoefficient: float, + theToUpdateViewer: bool, + ) -> None: ... + @overload + def SetDeviationCoefficient(self, theCoefficient: float) -> None: ... + @overload + def SetDisplayMode(self, theMode: int, theToUpdateViewer: bool) -> None: ... + @overload + def SetDisplayMode( + self, theIObj: AIS_InteractiveObject, theMode: int, theToUpdateViewer: bool + ) -> None: ... + @overload + def SetDisplayPriority( + self, theIObj: AIS_InteractiveObject, thePriority: Graphic3d_DisplayPriority + ) -> None: ... + @overload + def SetDisplayPriority( + self, theIObj: AIS_InteractiveObject, thePriority: int + ) -> None: ... + def SetFilterType(self, theFilterType: SelectMgr_FilterType) -> None: ... + def SetHiddenLineAspect(self, theAspect: Prs3d_LineAspect) -> None: ... + @overload + def SetHighlightStyle( + self, theStyleType: Prs3d_TypeOfHighlight, theStyle: Prs3d_Drawer + ) -> None: ... + @overload + def SetHighlightStyle(self, theStyle: Prs3d_Drawer) -> None: ... + def SetIsoNumber( + self, NbIsos: int, WhichIsos: Optional[AIS_TypeOfIso] = AIS_TOI_Both + ) -> None: ... + def SetLocalAttributes( + self, + theIObj: AIS_InteractiveObject, + theDrawer: Prs3d_Drawer, + theToUpdateViewer: bool, + ) -> None: ... + def SetLocation( + self, theObject: AIS_InteractiveObject, theLocation: TopLoc_Location + ) -> None: ... + def SetMaterial( + self, + theIObj: AIS_InteractiveObject, + theMaterial: Graphic3d_MaterialAspect, + theToUpdateViewer: bool, + ) -> None: ... + def SetPickingStrategy(self, theStrategy: SelectMgr_PickingStrategy) -> None: ... + def SetPixelTolerance(self, thePrecision: Optional[int] = 2) -> None: ... + @overload + def SetPlaneSize( + self, theSizeX: float, theSizeY: float, theToUpdateViewer: bool + ) -> None: ... + @overload + def SetPlaneSize(self, theSize: float, theToUpdateViewer: bool) -> None: ... + def SetPolygonOffsets( + self, + theIObj: AIS_InteractiveObject, + theMode: int, + theFactor: float, + theUnits: float, + theToUpdateViewer: bool, + ) -> None: ... + @overload + def SetSelected( + self, theOwners: SelectMgr_EntityOwner, theToUpdateViewer: bool + ) -> None: ... + @overload + def SetSelected( + self, theObject: AIS_InteractiveObject, theToUpdateViewer: bool + ) -> None: ... + def SetSelectedAspect( + self, theAspect: Prs3d_BasicAspect, theToUpdateViewer: bool + ) -> None: ... + def SetSelectedState( + self, theOwner: SelectMgr_EntityOwner, theIsSelected: bool + ) -> bool: ... + def SetSelection(self, theSelection: AIS_Selection) -> None: ... + def SetSelectionModeActive( + self, + theObj: AIS_InteractiveObject, + theMode: int, + theToActivate: bool, + theConcurrency: Optional[ + AIS_SelectionModesConcurrency + ] = AIS_SelectionModesConcurrency_Multiple, + theIsForce: Optional[bool] = False, + ) -> None: ... + def SetSelectionSensitivity( + self, theObject: AIS_InteractiveObject, theMode: int, theNewSensitivity: int + ) -> None: ... + def SetSelectionStyle(self, theStyle: Prs3d_Drawer) -> None: ... + def SetSubIntensityColor(self, theColor: Quantity_Color) -> None: ... + def SetToHilightSelected(self, toHilight: bool) -> None: ... + def SetTransformPersistence( + self, theObject: AIS_InteractiveObject, theTrsfPers: Graphic3d_TransformPers + ) -> None: ... + def SetTransparency( + self, theIObj: AIS_InteractiveObject, theValue: float, theToUpdateViewer: bool + ) -> None: ... + def SetTrihedronSize(self, theSize: float, theToUpdateViewer: bool) -> None: ... + def SetViewAffinity( + self, theIObj: AIS_InteractiveObject, theView: V3d_View, theIsVisible: bool + ) -> None: ... + def SetWidth( + self, theIObj: AIS_InteractiveObject, theValue: float, theToUpdateViewer: bool + ) -> None: ... + def SetZLayer(self, theIObj: AIS_InteractiveObject, theLayerId: int) -> None: ... + @overload + def ShiftSelect(self, theToUpdateViewer: bool) -> AIS_StatusOfPick: ... + @overload + def ShiftSelect( + self, + thePolyline: TColgp_Array1OfPnt2d, + theView: V3d_View, + theToUpdateViewer: bool, + ) -> AIS_StatusOfPick: ... + @overload + def ShiftSelect( + self, + theXPMin: int, + theYPMin: int, + theXPMax: int, + theYPMax: int, + theView: V3d_View, + theToUpdateViewer: bool, + ) -> AIS_StatusOfPick: ... + def SubIntensityColor(self) -> Quantity_Color: ... + def SubIntensityOff( + self, theIObj: AIS_InteractiveObject, theToUpdateViewer: bool + ) -> None: ... + def SubIntensityOn( + self, theIObj: AIS_InteractiveObject, theToUpdateViewer: bool + ) -> None: ... + def ToHilightSelected(self) -> bool: ... + def TrihedronSize(self) -> float: ... + def Unhilight( + self, theIObj: AIS_InteractiveObject, theToUpdateViewer: bool + ) -> None: ... + def UnhilightCurrents(self, theToUpdateViewer: bool) -> None: ... + def UnhilightSelected(self, theToUpdateViewer: bool) -> None: ... + def UnsetColor( + self, theIObj: AIS_InteractiveObject, theToUpdateViewer: bool + ) -> None: ... + def UnsetDisplayMode( + self, theIObj: AIS_InteractiveObject, theToUpdateViewer: bool + ) -> None: ... + def UnsetLocalAttributes( + self, theIObj: AIS_InteractiveObject, theToUpdateViewer: bool + ) -> None: ... + def UnsetMaterial( + self, theIObj: AIS_InteractiveObject, theToUpdateViewer: bool + ) -> None: ... + def UnsetTransparency( + self, theIObj: AIS_InteractiveObject, theToUpdateViewer: bool + ) -> None: ... + def UnsetWidth( + self, theIObj: AIS_InteractiveObject, theToUpdateViewer: bool + ) -> None: ... + def Update(self, theIObj: AIS_InteractiveObject, theUpdateViewer: bool) -> None: ... + def UpdateCurrent(self) -> None: ... + def UpdateCurrentViewer(self) -> None: ... + def UpdateSelected(self, theToUpdateViewer: bool) -> None: ... + def Width(self, aniobj: AIS_InteractiveObject) -> float: ... class AIS_InteractiveObject(SelectMgr_SelectableObject): - def ClearOwner(self) -> None: ... - def GetContext(self) -> AIS_InteractiveContext: ... - def GetOwner(self) -> Standard_Transient: ... - def HasInteractiveContext(self) -> bool: ... - def HasOwner(self) -> bool: ... - def HasPresentation(self) -> bool: ... - def InteractiveContext(self) -> AIS_InteractiveContext: ... - def Presentation(self) -> Prs3d_Presentation: ... - def ProcessDragging(self, theCtx: AIS_InteractiveContext, theView: V3d_View, theOwner: SelectMgr_EntityOwner, theDragFrom: Graphic3d_Vec2i, theDragTo: Graphic3d_Vec2i, theAction: AIS_DragAction) -> bool: ... - def Redisplay(self, AllModes: Optional[bool] = False) -> None: ... - def SetAspect(self, anAspect: Prs3d_BasicAspect) -> None: ... - def SetContext(self, aCtx: AIS_InteractiveContext) -> None: ... - def SetOwner(self, theApplicativeEntity: Standard_Transient) -> None: ... - def Signature(self) -> int: ... - def Type(self) -> AIS_KindOfInteractive: ... + def ClearOwner(self) -> None: ... + def DumpJson(self, depth: Optional[int] = -1) -> str: ... + def GetContext(self) -> AIS_InteractiveContext: ... + def GetOwner(self) -> Standard_Transient: ... + def HasInteractiveContext(self) -> bool: ... + def HasOwner(self) -> bool: ... + def HasPresentation(self) -> bool: ... + def InteractiveContext(self) -> AIS_InteractiveContext: ... + def Presentation(self) -> Prs3d_Presentation: ... + def ProcessDragging( + self, + theCtx: AIS_InteractiveContext, + theView: V3d_View, + theOwner: SelectMgr_EntityOwner, + theDragFrom: Graphic3d_Vec2i, + theDragTo: Graphic3d_Vec2i, + theAction: AIS_DragAction, + ) -> bool: ... + def Redisplay(self, AllModes: Optional[bool] = False) -> None: ... + def SetAspect(self, anAspect: Prs3d_BasicAspect) -> None: ... + def SetContext(self, aCtx: AIS_InteractiveContext) -> None: ... + def SetOwner(self, theApplicativeEntity: Standard_Transient) -> None: ... + def Signature(self) -> int: ... + def Type(self) -> AIS_KindOfInteractive: ... + +class AIS_LightSourceOwner(SelectMgr_EntityOwner): + def __init__( + self, theObject: AIS_LightSource, thePriority: Optional[int] = 5 + ) -> None: ... + def HandleMouseClick( + self, + thePoint: Graphic3d_Vec2i, + theButton: Aspect_VKeyMouse, + theModifiers: Aspect_VKeyFlags, + theIsDoubleClick: bool, + ) -> bool: ... + def HilightWithColor( + self, + thePrsMgr: PrsMgr_PresentationManager, + theStyle: Prs3d_Drawer, + theMode: int, + ) -> None: ... + def IsForcedHilight(self) -> bool: ... class AIS_ManipulatorOwner(SelectMgr_EntityOwner): - def __init__(self, theSelObject: SelectMgr_SelectableObject, theIndex: int, theMode: AIS_ManipulatorMode, thePriority: Optional[int] = 0) -> None: ... - def HilightWithColor(self, thePM: PrsMgr_PresentationManager3d, theStyle: Prs3d_Drawer, theMode: int) -> None: ... - def Index(self) -> int: ... - def IsHilighted(self, thePM: PrsMgr_PresentationManager, theMode: int) -> bool: ... - def Mode(self) -> AIS_ManipulatorMode: ... - def Unhilight(self, thePM: PrsMgr_PresentationManager, theMode: int) -> None: ... + def __init__( + self, + theSelObject: SelectMgr_SelectableObject, + theIndex: int, + theMode: AIS_ManipulatorMode, + thePriority: Optional[int] = 0, + ) -> None: ... + def HilightWithColor( + self, thePM: PrsMgr_PresentationManager, theStyle: Prs3d_Drawer, theMode: int + ) -> None: ... + def Index(self) -> int: ... + def IsHilighted(self, thePM: PrsMgr_PresentationManager, theMode: int) -> bool: ... + def Mode(self) -> AIS_ManipulatorMode: ... + def Unhilight(self, thePM: PrsMgr_PresentationManager, theMode: int) -> None: ... class AIS_PointCloudOwner(SelectMgr_EntityOwner): - def __init__(self, theOrigin: AIS_PointCloud) -> None: ... - def Clear(self, thePrsMgr: PrsMgr_PresentationManager, theMode: int) -> None: ... - def DetectedPoints(self) -> TColStd_HPackedMapOfInteger: ... - def HilightWithColor(self, thePrsMgr: PrsMgr_PresentationManager3d, theStyle: Prs3d_Drawer, theMode: int) -> None: ... - def IsForcedHilight(self) -> bool: ... - def SelectedPoints(self) -> TColStd_HPackedMapOfInteger: ... - def Unhilight(self, thePrsMgr: PrsMgr_PresentationManager, theMode: int) -> None: ... + def __init__(self, theOrigin: AIS_PointCloud) -> None: ... + def Clear(self, thePrsMgr: PrsMgr_PresentationManager, theMode: int) -> None: ... + def DetectedPoints(self) -> TColStd_HPackedMapOfInteger: ... + def HilightWithColor( + self, + thePrsMgr: PrsMgr_PresentationManager, + theStyle: Prs3d_Drawer, + theMode: int, + ) -> None: ... + def IsForcedHilight(self) -> bool: ... + def SelectedPoints(self) -> TColStd_HPackedMapOfInteger: ... + def Unhilight( + self, thePrsMgr: PrsMgr_PresentationManager, theMode: int + ) -> None: ... class AIS_Selection(Standard_Transient): - def __init__(self) -> None: ... - def AddSelect(self, theObject: SelectMgr_EntityOwner) -> AIS_SelectStatus: ... - def Clear(self) -> None: ... - def ClearAndSelect(self, theObject: SelectMgr_EntityOwner) -> None: ... - def Extent(self) -> int: ... - def Init(self) -> None: ... - def IsEmpty(self) -> bool: ... - def IsSelected(self, theObject: SelectMgr_EntityOwner) -> bool: ... - def More(self) -> bool: ... - def Next(self) -> None: ... - def Objects(self) -> AIS_NListOfEntityOwner: ... - def Select(self, theObject: SelectMgr_EntityOwner) -> AIS_SelectStatus: ... - def Value(self) -> SelectMgr_EntityOwner: ... + def __init__(self) -> None: ... + def AddSelect(self, theObject: SelectMgr_EntityOwner) -> AIS_SelectStatus: ... + def Clear(self) -> None: ... + def ClearAndSelect( + self, + theObject: SelectMgr_EntityOwner, + theFilter: SelectMgr_Filter, + theIsDetected: bool, + ) -> None: ... + def Extent(self) -> int: ... + def Init(self) -> None: ... + def IsEmpty(self) -> bool: ... + def IsSelected(self, theObject: SelectMgr_EntityOwner) -> bool: ... + def More(self) -> bool: ... + def Next(self) -> None: ... + def Objects(self) -> AIS_NListOfEntityOwner: ... + def Select( + self, + theOwner: SelectMgr_EntityOwner, + theFilter: SelectMgr_Filter, + theSelScheme: AIS_SelectionScheme, + theIsDetected: bool, + ) -> AIS_SelectStatus: ... + def SelectOwners( + self, + thePickedOwners: AIS_NArray1OfEntityOwner, + theSelScheme: AIS_SelectionScheme, + theToAllowSelOverlap: bool, + theFilter: SelectMgr_Filter, + ) -> None: ... + def Value(self) -> SelectMgr_EntityOwner: ... class AIS_TrihedronOwner(SelectMgr_EntityOwner): - def __init__(self, theSelObject: SelectMgr_SelectableObject, theDatumPart: Prs3d_DatumParts, thePriority: int) -> None: ... - def DatumPart(self) -> Prs3d_DatumParts: ... - def HilightWithColor(self, thePM: PrsMgr_PresentationManager3d, theStyle: Prs3d_Drawer, theMode: int) -> None: ... - def IsHilighted(self, thePM: PrsMgr_PresentationManager, theMode: int) -> bool: ... - def Unhilight(self, thePM: PrsMgr_PresentationManager, theMode: int) -> None: ... + def __init__( + self, + theSelObject: SelectMgr_SelectableObject, + theDatumPart: Prs3d_DatumParts, + thePriority: int, + ) -> None: ... + def DatumPart(self) -> Prs3d_DatumParts: ... + def HilightWithColor( + self, thePM: PrsMgr_PresentationManager, theStyle: Prs3d_Drawer, theMode: int + ) -> None: ... + def IsHilighted(self, thePM: PrsMgr_PresentationManager, theMode: int) -> bool: ... + def Unhilight(self, thePM: PrsMgr_PresentationManager, theMode: int) -> None: ... class AIS_TypeFilter(SelectMgr_Filter): - def __init__(self, aGivenKind: AIS_KindOfInteractive) -> None: ... - def IsOk(self, anobj: SelectMgr_EntityOwner) -> bool: ... - -class AIS_ViewController: - def __init__(self) -> None: ... - def AbortViewAnimation(self) -> None: ... - def AddTouchPoint(self, theId: int, thePnt: Graphic3d_Vec2d, theClearBefore: Optional[bool] = false) -> None: ... - def Change3dMouseIsNoRotate(self) -> False: ... - def Change3dMouseToReverse(self) -> False: ... - def ChangeInputBuffer(self, theType: AIS_ViewInputBufferType) -> AIS_ViewInputBuffer: ... - def ChangeKeys(self) -> Aspect_VKeySet: ... - def ChangeMouseGestureMap(self) -> AIS_MouseGestureMap: ... - def EventTime(self) -> False: ... - def FetchNavigationKeys(self, theCrouchRatio: float, theRunRatio: float) -> AIS_WalkDelta: ... - def FitAllAuto(self, theCtx: AIS_InteractiveContext, theView: V3d_View) -> None: ... - def FlushViewEvents(self, theCtx: AIS_InteractiveContext, theView: V3d_View, theToHandle: Optional[bool] = False) -> None: ... - def Get3dMouseIsNoRotate(self) -> False: ... - def Get3dMouseRotationScale(self) -> False: ... - def Get3dMouseToReverse(self) -> False: ... - def Get3dMouseTranslationScale(self) -> False: ... - def GravityPoint(self, theCtx: AIS_InteractiveContext, theView: V3d_View) -> gp_Pnt: ... - def HandleViewEvents(self, theCtx: AIS_InteractiveContext, theView: V3d_View) -> None: ... - def HasPreviousMoveTo(self) -> False: ... - def HasTouchPoints(self) -> False: ... - def InputBuffer(self, theType: AIS_ViewInputBufferType) -> AIS_ViewInputBuffer: ... - def Keys(self) -> Aspect_VKeySet: ... - def LastMouseFlags(self) -> Aspect_VKeyFlags: ... - def LastMousePosition(self) -> Graphic3d_Vec2i: ... - def MinZoomDistance(self) -> False: ... - def MouseAcceleration(self) -> False: ... - def MouseDoubleClickInterval(self) -> False: ... - def MouseGestureMap(self) -> AIS_MouseGestureMap: ... - def NavigationMode(self) -> AIS_NavigationMode: ... - def OnObjectDragged(self, theCtx: AIS_InteractiveContext, theView: V3d_View, theAction: AIS_DragAction) -> None: ... - def OnSelectionChanged(self, theCtx: AIS_InteractiveContext, theView: V3d_View) -> None: ... - def OrbitAcceleration(self) -> False: ... - def PressedMouseButtons(self) -> Aspect_VKeyMouse: ... - def PreviousMoveTo(self) -> Graphic3d_Vec2i: ... - def RemoveTouchPoint(self, theId: int, theClearSelectPnts: Optional[bool] = false) -> False: ... - def ResetPreviousMoveTo(self) -> None: ... - def ResetViewInput(self) -> None: ... - def RotationMode(self) -> AIS_RotationMode: ... - def SetNavigationMode(self, theMode: AIS_NavigationMode) -> None: ... - def SetRotationMode(self, theMode: AIS_RotationMode) -> None: ... - def SetViewAnimation(self, theAnimation: AIS_AnimationCamera) -> None: ... - def ThrustSpeed(self) -> False: ... - def To3dMousePreciseInput(self) -> False: ... - def ToAllowDragging(self) -> False: ... - def ToAllowHighlight(self) -> False: ... - def ToAllowPanning(self) -> False: ... - def ToAllowRotation(self) -> False: ... - def ToAllowTouchZRotation(self) -> False: ... - def ToAllowZFocus(self) -> False: ... - def ToAllowZooming(self) -> False: ... - def ToDisplayXRAuxDevices(self) -> False: ... - def ToDisplayXRHands(self) -> False: ... - def ToInvertPitch(self) -> False: ... - def ToLockOrbitZUp(self) -> False: ... - def ToShowPanAnchorPoint(self) -> False: ... - def ToShowRotateCenter(self) -> False: ... - def ToStickToRayOnRotation(self) -> False: ... - def ToStickToRayOnZoom(self) -> False: ... - def TouchToleranceScale(self) -> False: ... - def UpdateMouseScroll(self, theDelta: Aspect_ScrollDelta) -> False: ... - def UpdateTouchPoint(self, theId: int, thePnt: Graphic3d_Vec2d) -> None: ... - def UpdateZoom(self, theDelta: Aspect_ScrollDelta) -> False: ... - def ViewAnimation(self) -> AIS_AnimationCamera: ... - def WalkSpeedAbsolute(self) -> False: ... - def WalkSpeedRelative(self) -> False: ... - def handleCameraActions(self, theCtx: AIS_InteractiveContext, theView: V3d_View, theWalk: AIS_WalkDelta) -> None: ... - def handleMoveTo(self, theCtx: AIS_InteractiveContext, theView: V3d_View) -> None: ... - def handleNavigationKeys(self, theCtx: AIS_InteractiveContext, theView: V3d_View) -> AIS_WalkDelta: ... - def handlePanning(self, theView: V3d_View) -> None: ... - def handleViewOrientationKeys(self, theCtx: AIS_InteractiveContext, theView: V3d_View) -> None: ... - def handleViewRedraw(self, theCtx: AIS_InteractiveContext, theView: V3d_View) -> None: ... - def handleXRHighlight(self, theCtx: AIS_InteractiveContext, theView: V3d_View) -> None: ... - def handleXRInput(self, theCtx: AIS_InteractiveContext, theView: V3d_View, theWalk: AIS_WalkDelta) -> None: ... - def handleXRMoveTo(self, theCtx: AIS_InteractiveContext, theView: V3d_View, thePose: gp_Trsf, theToHighlight: bool) -> int: ... - def handleXRPicking(self, theCtx: AIS_InteractiveContext, theView: V3d_View) -> None: ... - def handleXRPresentations(self, theCtx: AIS_InteractiveContext, theView: V3d_View) -> None: ... - def handleXRTeleport(self, theCtx: AIS_InteractiveContext, theView: V3d_View) -> None: ... - def handleXRTurnPad(self, theCtx: AIS_InteractiveContext, theView: V3d_View) -> None: ... - def handleZFocusScroll(self, theView: V3d_View, theParams: Aspect_ScrollDelta) -> None: ... - def handleZRotate(self, theView: V3d_View) -> None: ... - def handleZoom(self, theView: V3d_View, theParams: Aspect_ScrollDelta, thePnt: gp_Pnt) -> None: ... - def hasPanningAnchorPoint(self) -> False: ... - def panningAnchorPoint(self) -> gp_Pnt: ... - def setPanningAnchorPoint(self, thePnt: gp_Pnt) -> None: ... - def toAskNextFrame(self) -> False: ... + def __init__(self, aGivenKind: AIS_KindOfInteractive) -> None: ... + def IsOk(self, anobj: SelectMgr_EntityOwner) -> bool: ... + +class AIS_ViewController(Aspect_WindowInputListener): + def __init__(self) -> None: ... + def AbortViewAnimation(self) -> None: ... + def AddTouchPoint( + self, + theId: int, + thePnt: Graphic3d_Vec2d, + theClearBefore: Optional[bool] = false, + ) -> None: ... + def ChangeInputBuffer( + self, theType: AIS_ViewInputBufferType + ) -> AIS_ViewInputBuffer: ... + def ChangeMouseGestureMap(self) -> AIS_MouseGestureMap: ... + def ChangeMouseSelectionSchemes(self) -> AIS_MouseSelectionSchemeMap: ... + def FetchNavigationKeys( + self, theCrouchRatio: float, theRunRatio: float + ) -> AIS_WalkDelta: ... + def FitAllAuto(self, theCtx: AIS_InteractiveContext, theView: V3d_View) -> None: ... + def FlushViewEvents( + self, + theCtx: AIS_InteractiveContext, + theView: V3d_View, + theToHandle: Optional[bool] = False, + ) -> None: ... + def GravityPoint( + self, theCtx: AIS_InteractiveContext, theView: V3d_View + ) -> gp_Pnt: ... + def HandleViewEvents( + self, theCtx: AIS_InteractiveContext, theView: V3d_View + ) -> None: ... + def HasPreviousMoveTo(self) -> bool: ... + def InputBuffer(self, theType: AIS_ViewInputBufferType) -> AIS_ViewInputBuffer: ... + def IsContinuousRedraw(self) -> bool: ... + def KeyDown( + self, theKey: Aspect_VKey, theTime: float, thePressure: Optional[float] = 1.0 + ) -> None: ... + def KeyFromAxis( + self, + theNegative: Aspect_VKey, + thePositive: Aspect_VKey, + theTime: float, + thePressure: float, + ) -> None: ... + def KeyUp(self, theKey: Aspect_VKey, theTime: float) -> None: ... + def MinZoomDistance(self) -> float: ... + def MouseAcceleration(self) -> float: ... + def MouseDoubleClickInterval(self) -> float: ... + def MouseGestureMap(self) -> AIS_MouseGestureMap: ... + def MouseSelectionSchemes(self) -> AIS_MouseSelectionSchemeMap: ... + def NavigationMode(self) -> AIS_NavigationMode: ... + def ObjectsAnimation(self) -> AIS_Animation: ... + def OnObjectDragged( + self, + theCtx: AIS_InteractiveContext, + theView: V3d_View, + theAction: AIS_DragAction, + ) -> None: ... + def OnSelectionChanged( + self, theCtx: AIS_InteractiveContext, theView: V3d_View + ) -> None: ... + def OnSubviewChanged( + self, theCtx: AIS_InteractiveContext, theOldView: V3d_View, theNewView: V3d_View + ) -> None: ... + def OrbitAcceleration(self) -> float: ... + def PickAxis( + self, + theTopPnt: gp_Pnt, + theCtx: AIS_InteractiveContext, + theView: V3d_View, + theAxis: gp_Ax1, + ) -> bool: ... + def PickPoint( + self, + thePnt: gp_Pnt, + theCtx: AIS_InteractiveContext, + theView: V3d_View, + theCursor: Graphic3d_Vec2i, + theToStickToPickRay: bool, + ) -> bool: ... + def PreviousMoveTo(self) -> Graphic3d_Vec2i: ... + def ProcessClose(self) -> None: ... + def ProcessConfigure(self, theIsResized: bool) -> None: ... + def ProcessExpose(self) -> None: ... + def ProcessFocus(self, theIsActivated: bool) -> None: ... + def ProcessInput(self) -> None: ... + def RemoveTouchPoint( + self, theId: int, theClearSelectPnts: Optional[bool] = false + ) -> bool: ... + def ResetPreviousMoveTo(self) -> None: ... + def ResetViewInput(self) -> None: ... + def RotationMode(self) -> AIS_RotationMode: ... + @overload + def SelectInViewer( + self, + thePnt: Graphic3d_Vec2i, + theScheme: Optional[AIS_SelectionScheme] = AIS_SelectionScheme_Replace, + ) -> None: ... + def SetAllowDragging(self, theToEnable: bool) -> None: ... + def SetAllowHighlight(self, theToEnable: bool) -> None: ... + def SetAllowPanning(self, theToEnable: bool) -> None: ... + def SetAllowRotation(self, theToEnable: bool) -> None: ... + def SetAllowTouchZRotation(self, theToEnable: bool) -> None: ... + def SetAllowZFocus(self, theToEnable: bool) -> None: ... + def SetAllowZooming(self, theToEnable: bool) -> None: ... + def SetContinuousRedraw(self, theToEnable: bool) -> None: ... + def SetDisplayXRAuxDevices(self, theToDisplay: bool) -> None: ... + def SetDisplayXRHands(self, theToDisplay: bool) -> None: ... + def SetInvertPitch(self, theToInvert: bool) -> None: ... + def SetLockOrbitZUp(self, theToForceUp: bool) -> None: ... + def SetMinZoomDistance(self, theDist: float) -> None: ... + def SetMouseAcceleration(self, theRatio: float) -> None: ... + def SetMouseDoubleClickInterval(self, theSeconds: float) -> None: ... + def SetNavigationMode(self, theMode: AIS_NavigationMode) -> None: ... + def SetObjectsAnimation(self, theAnimation: AIS_Animation) -> None: ... + def SetOrbitAcceleration(self, theRatio: float) -> None: ... + def SetPauseObjectsAnimation(self, theToPause: bool) -> None: ... + def SetRotationMode(self, theMode: AIS_RotationMode) -> None: ... + def SetShowPanAnchorPoint(self, theToShow: bool) -> None: ... + def SetShowRotateCenter(self, theToShow: bool) -> None: ... + def SetStickToRayOnRotation(self, theToEnable: bool) -> None: ... + def SetStickToRayOnZoom(self, theToEnable: bool) -> None: ... + def SetThrustSpeed(self, theSpeed: float) -> None: ... + def SetTouchToleranceScale(self, theTolerance: float) -> None: ... + def SetViewAnimation(self, theAnimation: AIS_AnimationCamera) -> None: ... + def SetWalkSpeedAbsolute(self, theSpeed: float) -> None: ... + def SetWalkSpeedRelative(self, theFactor: float) -> None: ... + def ThrustSpeed(self) -> float: ... + def ToAllowDragging(self) -> bool: ... + def ToAllowHighlight(self) -> bool: ... + def ToAllowPanning(self) -> bool: ... + def ToAllowRotation(self) -> bool: ... + def ToAllowTouchZRotation(self) -> bool: ... + def ToAllowZFocus(self) -> bool: ... + def ToAllowZooming(self) -> bool: ... + def ToDisplayXRAuxDevices(self) -> bool: ... + def ToDisplayXRHands(self) -> bool: ... + def ToInvertPitch(self) -> bool: ... + def ToLockOrbitZUp(self) -> bool: ... + def ToPauseObjectsAnimation(self) -> bool: ... + def ToShowPanAnchorPoint(self) -> bool: ... + def ToShowRotateCenter(self) -> bool: ... + def ToStickToRayOnRotation(self) -> bool: ... + def ToStickToRayOnZoom(self) -> bool: ... + def TouchToleranceScale(self) -> float: ... + def UpdateMouseButtons( + self, + thePoint: Graphic3d_Vec2i, + theButtons: Aspect_VKeyMouse, + theModifiers: Aspect_VKeyFlags, + theIsEmulated: bool, + ) -> bool: ... + def UpdateMouseClick( + self, + thePoint: Graphic3d_Vec2i, + theButton: Aspect_VKeyMouse, + theModifiers: Aspect_VKeyFlags, + theIsDoubleClick: bool, + ) -> bool: ... + def UpdateMousePosition( + self, + thePoint: Graphic3d_Vec2i, + theButtons: Aspect_VKeyMouse, + theModifiers: Aspect_VKeyFlags, + theIsEmulated: bool, + ) -> bool: ... + def UpdateMouseScroll(self, theDelta: Aspect_ScrollDelta) -> bool: ... + def UpdatePolySelection( + self, thePnt: Graphic3d_Vec2i, theToAppend: bool + ) -> None: ... + def UpdateRubberBand( + self, thePntFrom: Graphic3d_Vec2i, thePntTo: Graphic3d_Vec2i + ) -> None: ... + def UpdateTouchPoint(self, theId: int, thePnt: Graphic3d_Vec2d) -> None: ... + def UpdateViewOrientation( + self, theOrientation: V3d_TypeOfOrientation, theToFitAll: bool + ) -> None: ... + def UpdateZRotation(self, theAngle: float) -> bool: ... + def UpdateZoom(self, theDelta: Aspect_ScrollDelta) -> bool: ... + def ViewAnimation(self) -> AIS_AnimationCamera: ... + def WalkSpeedAbsolute(self) -> float: ... + def WalkSpeedRelative(self) -> float: ... + def handleCameraActions( + self, theCtx: AIS_InteractiveContext, theView: V3d_View, theWalk: AIS_WalkDelta + ) -> None: ... + def handleMoveTo( + self, theCtx: AIS_InteractiveContext, theView: V3d_View + ) -> None: ... + def handleNavigationKeys( + self, theCtx: AIS_InteractiveContext, theView: V3d_View + ) -> AIS_WalkDelta: ... + def handleOrbitRotation( + self, theView: V3d_View, thePnt: gp_Pnt, theToLockZUp: bool + ) -> None: ... + def handlePanning(self, theView: V3d_View) -> None: ... + def handleViewOrientationKeys( + self, theCtx: AIS_InteractiveContext, theView: V3d_View + ) -> None: ... + def handleViewRedraw( + self, theCtx: AIS_InteractiveContext, theView: V3d_View + ) -> None: ... + def handleViewRotation( + self, + theView: V3d_View, + theYawExtra: float, + thePitchExtra: float, + theRoll: float, + theToRestartOnIncrement: bool, + ) -> None: ... + def handleXRHighlight( + self, theCtx: AIS_InteractiveContext, theView: V3d_View + ) -> None: ... + def handleXRInput( + self, theCtx: AIS_InteractiveContext, theView: V3d_View, theWalk: AIS_WalkDelta + ) -> None: ... + def handleXRMoveTo( + self, + theCtx: AIS_InteractiveContext, + theView: V3d_View, + thePose: gp_Trsf, + theToHighlight: bool, + ) -> int: ... + def handleXRPicking( + self, theCtx: AIS_InteractiveContext, theView: V3d_View + ) -> None: ... + def handleXRPresentations( + self, theCtx: AIS_InteractiveContext, theView: V3d_View + ) -> None: ... + def handleXRTeleport( + self, theCtx: AIS_InteractiveContext, theView: V3d_View + ) -> None: ... + def handleXRTurnPad( + self, theCtx: AIS_InteractiveContext, theView: V3d_View + ) -> None: ... + def handleZFocusScroll( + self, theView: V3d_View, theParams: Aspect_ScrollDelta + ) -> None: ... + def handleZRotate(self, theView: V3d_View) -> None: ... + def handleZoom( + self, theView: V3d_View, theParams: Aspect_ScrollDelta, thePnt: gp_Pnt + ) -> None: ... + def hasPanningAnchorPoint(self) -> bool: ... + def panningAnchorPoint(self) -> gp_Pnt: ... + def setAskNextFrame(self, theToDraw: Optional[bool] = true) -> None: ... + def setPanningAnchorPoint(self, thePnt: gp_Pnt) -> None: ... + def toAskNextFrame(self) -> bool: ... class AIS_ViewCubeOwner(SelectMgr_EntityOwner): - def __init__(self, theObject: AIS_ViewCube, theOrient: V3d_TypeOfOrientation, thePriority: Optional[int] = 5) -> None: ... - def IsForcedHilight(self) -> bool: ... - def MainOrientation(self) -> V3d_TypeOfOrientation: ... + def __init__( + self, + theObject: AIS_ViewCube, + theOrient: V3d_TypeOfOrientation, + thePriority: Optional[int] = 5, + ) -> None: ... + def HandleMouseClick( + self, + thePoint: Graphic3d_Vec2i, + theButton: Aspect_VKeyMouse, + theModifiers: Aspect_VKeyFlags, + theIsDoubleClick: bool, + ) -> bool: ... + def IsForcedHilight(self) -> bool: ... + def MainOrientation(self) -> V3d_TypeOfOrientation: ... + +class AIS_ViewCubeSensitive(Select3D_SensitivePrimitiveArray): + def __init__( + self, theOwner: SelectMgr_EntityOwner, theTris: Graphic3d_ArrayOfTriangles + ) -> None: ... + def Matches( + self, + theMgr: SelectBasics_SelectingVolumeManager, + thePickResult: SelectBasics_PickResult, + ) -> bool: ... class AIS_ViewInputBuffer: - def __init__(self) -> None: ... - def Reset(self) -> None: ... + def __init__(self) -> None: ... + def Reset(self) -> None: ... class AIS_WalkDelta: - def __init__(self) -> None: ... - def IsCrouching(self) -> False: ... - def IsEmpty(self) -> False: ... - def IsJumping(self) -> False: ... - def IsRunning(self) -> False: ... - def ToMove(self) -> False: ... - def ToRotate(self) -> False: ... + def __init__(self) -> None: ... + def IsCrouching(self) -> bool: ... + def IsDefined(self) -> bool: ... + def IsEmpty(self) -> bool: ... + def IsJumping(self) -> bool: ... + def IsRunning(self) -> bool: ... + def SetCrouching(self, theIsCrouching: bool) -> None: ... + def SetDefined(self, theIsDefined: bool) -> None: ... + def SetJumping(self, theIsJumping: bool) -> None: ... + def SetRunning(self, theIsRunning: bool) -> None: ... + def ToMove(self) -> bool: ... + def ToRotate(self) -> bool: ... class AIS_WalkPart: - def __init__(self) -> None: ... - def IsEmpty(self) -> False: ... + def __init__(self) -> None: ... + def IsEmpty(self) -> bool: ... class AIS_AnimationCamera(AIS_Animation): - def __init__(self, theAnimationName: TCollection_AsciiString, theView: V3d_View) -> None: ... - def CameraEnd(self) -> Graphic3d_Camera: ... - def CameraStart(self) -> Graphic3d_Camera: ... - def SetCameraEnd(self, theCameraEnd: Graphic3d_Camera) -> None: ... - def SetCameraStart(self, theCameraStart: Graphic3d_Camera) -> None: ... - def SetView(self, theView: V3d_View) -> None: ... - def View(self) -> V3d_View: ... - -class AIS_AnimationObject(AIS_Animation): - def __init__(self, theAnimationName: TCollection_AsciiString, theContext: AIS_InteractiveContext, theObject: AIS_InteractiveObject, theTrsfStart: gp_Trsf, theTrsfEnd: gp_Trsf) -> None: ... + def __init__(self, theAnimationName: str, theView: V3d_View) -> None: ... + def CameraEnd(self) -> Graphic3d_Camera: ... + def CameraStart(self) -> Graphic3d_Camera: ... + def SetCameraEnd(self, theCameraEnd: Graphic3d_Camera) -> None: ... + def SetCameraStart(self, theCameraStart: Graphic3d_Camera) -> None: ... + def SetView(self, theView: V3d_View) -> None: ... + def View(self) -> V3d_View: ... class AIS_Axis(AIS_InteractiveObject): - @overload - def __init__(self, aComponent: Geom_Line) -> None: ... - @overload - def __init__(self, aComponent: Geom_Axis2Placement, anAxisType: AIS_TypeOfAxis) -> None: ... - @overload - def __init__(self, anAxis: Geom_Axis1Placement) -> None: ... - def AcceptDisplayMode(self, aMode: int) -> bool: ... - def Axis2Placement(self) -> Geom_Axis2Placement: ... - def Component(self) -> Geom_Line: ... - def IsXYZAxis(self) -> bool: ... - def SetAxis1Placement(self, anAxis: Geom_Axis1Placement) -> None: ... - def SetAxis2Placement(self, aComponent: Geom_Axis2Placement, anAxisType: AIS_TypeOfAxis) -> None: ... - def SetColor(self, aColor: Quantity_Color) -> None: ... - def SetComponent(self, aComponent: Geom_Line) -> None: ... - def SetTypeOfAxis(self, theTypeAxis: AIS_TypeOfAxis) -> None: ... - def SetWidth(self, aValue: float) -> None: ... - def Signature(self) -> int: ... - def Type(self) -> AIS_KindOfInteractive: ... - def TypeOfAxis(self) -> AIS_TypeOfAxis: ... - def UnsetColor(self) -> None: ... - def UnsetWidth(self) -> None: ... + @overload + def __init__(self, aComponent: Geom_Line) -> None: ... + @overload + def __init__( + self, aComponent: Geom_Axis2Placement, anAxisType: AIS_TypeOfAxis + ) -> None: ... + @overload + def __init__(self, anAxis: Geom_Axis1Placement) -> None: ... + @overload + def __init__(self, theAxis: gp_Ax1, theLength: Optional[float] = -1) -> None: ... + def AcceptDisplayMode(self, aMode: int) -> bool: ... + def Axis2Placement(self) -> Geom_Axis2Placement: ... + def Component(self) -> Geom_Line: ... + def IsXYZAxis(self) -> bool: ... + def SetAxis1Placement(self, anAxis: Geom_Axis1Placement) -> None: ... + def SetAxis2Placement( + self, aComponent: Geom_Axis2Placement, anAxisType: AIS_TypeOfAxis + ) -> None: ... + def SetColor(self, aColor: Quantity_Color) -> None: ... + def SetComponent(self, aComponent: Geom_Line) -> None: ... + def SetDisplayAspect(self, theNewDatumAspect: Prs3d_LineAspect) -> None: ... + def SetTypeOfAxis(self, theTypeAxis: AIS_TypeOfAxis) -> None: ... + def SetWidth(self, aValue: float) -> None: ... + def Signature(self) -> int: ... + def Type(self) -> AIS_KindOfInteractive: ... + def TypeOfAxis(self) -> AIS_TypeOfAxis: ... + def UnsetColor(self) -> None: ... + def UnsetWidth(self) -> None: ... + +class AIS_BaseAnimationObject(AIS_Animation): + pass class AIS_CameraFrustum(AIS_InteractiveObject): - def __init__(self) -> None: ... - def AcceptDisplayMode(self, theMode: int) -> bool: ... - def SetCameraFrustum(self, theCamera: Graphic3d_Camera) -> None: ... - def SetColor(self, theColor: Quantity_Color) -> None: ... - def UnsetColor(self) -> None: ... - def UnsetTransparency(self) -> None: ... + def __init__(self) -> None: ... + def AcceptDisplayMode(self, theMode: int) -> bool: ... + def SetCameraFrustum(self, theCamera: Graphic3d_Camera) -> None: ... + def SetColor(self, theColor: Quantity_Color) -> None: ... + def UnsetColor(self) -> None: ... + def UnsetTransparency(self) -> None: ... class AIS_Circle(AIS_InteractiveObject): - @overload - def __init__(self, aCircle: Geom_Circle) -> None: ... - @overload - def __init__(self, theCircle: Geom_Circle, theUStart: float, theUEnd: float, theIsFilledCircleSens: Optional[bool] = False) -> None: ... - def Circle(self) -> Geom_Circle: ... - def IsFilledCircleSens(self) -> bool: ... - def Parameters(self) -> Tuple[float, float]: ... - def SetCircle(self, theCircle: Geom_Circle) -> None: ... - def SetColor(self, aColor: Quantity_Color) -> None: ... - def SetFilledCircleSens(self, theIsFilledCircleSens: bool) -> None: ... - def SetFirstParam(self, theU: float) -> None: ... - def SetLastParam(self, theU: float) -> None: ... - def SetWidth(self, aValue: float) -> None: ... - def Signature(self) -> int: ... - def Type(self) -> AIS_KindOfInteractive: ... - def UnsetColor(self) -> None: ... - def UnsetWidth(self) -> None: ... + @overload + def __init__(self, aCircle: Geom_Circle) -> None: ... + @overload + def __init__( + self, + theCircle: Geom_Circle, + theUStart: float, + theUEnd: float, + theIsFilledCircleSens: Optional[bool] = False, + ) -> None: ... + def Circle(self) -> Geom_Circle: ... + def IsFilledCircleSens(self) -> bool: ... + def Parameters(self) -> Tuple[float, float]: ... + def SetCircle(self, theCircle: Geom_Circle) -> None: ... + def SetColor(self, aColor: Quantity_Color) -> None: ... + def SetFilledCircleSens(self, theIsFilledCircleSens: bool) -> None: ... + def SetFirstParam(self, theU: float) -> None: ... + def SetLastParam(self, theU: float) -> None: ... + def SetWidth(self, aValue: float) -> None: ... + def Signature(self) -> int: ... + def Type(self) -> AIS_KindOfInteractive: ... + def UnsetColor(self) -> None: ... + def UnsetWidth(self) -> None: ... class AIS_ColorScale(AIS_InteractiveObject): - def __init__(self) -> None: ... - def AcceptDisplayMode(self, theMode: int) -> bool: ... - def ColorRange(self, theMinColor: Quantity_Color, theMaxColor: Quantity_Color) -> None: ... - def Compute(self, thePresentationManager: PrsMgr_PresentationManager3d, thePresentation: Prs3d_Presentation, theMode: int) -> None: ... - @overload - @staticmethod - def FindColor(theValue: float, theMin: float, theMax: float, theColorsCount: int, theColorHlsMin: Graphic3d_Vec3d, theColorHlsMax: Graphic3d_Vec3d, theColor: Quantity_Color) -> bool: ... - @overload - @staticmethod - def FindColor(theValue: float, theMin: float, theMax: float, theColorsCount: int, theColor: Quantity_Color) -> bool: ... - @overload - def FindColor(self, theValue: float, theColor: Quantity_Color) -> bool: ... - def Format(self) -> TCollection_AsciiString: ... - def GetBreadth(self) -> int: ... - def GetColorType(self) -> Aspect_TypeOfColorScaleData: ... - @overload - def GetColors(self, theColors: Aspect_SequenceOfColor) -> None: ... - @overload - def GetColors(self) -> Aspect_SequenceOfColor: ... - def GetFormat(self) -> TCollection_AsciiString: ... - def GetHeight(self) -> int: ... - def GetIntervalColor(self, theIndex: int) -> Quantity_Color: ... - def GetLabel(self, theIndex: int) -> TCollection_ExtendedString: ... - def GetLabelPosition(self) -> Aspect_TypeOfColorScalePosition: ... - def GetLabelType(self) -> Aspect_TypeOfColorScaleData: ... - def GetLabels(self, theLabels: TColStd_SequenceOfExtendedString) -> None: ... - def GetMax(self) -> float: ... - def GetMin(self) -> float: ... - def GetNumberOfIntervals(self) -> int: ... - def GetPosition(self) -> Tuple[float, float]: ... - def GetRange(self) -> Tuple[float, float]: ... - def GetSize(self) -> Tuple[int, int]: ... - def GetTextHeight(self) -> int: ... - def GetTitle(self) -> TCollection_ExtendedString: ... - def GetTitlePosition(self) -> Aspect_TypeOfColorScalePosition: ... - def GetXPosition(self) -> int: ... - def GetYPosition(self) -> int: ... - def HueMax(self) -> float: ... - def HueMin(self) -> float: ... - def HueRange(self) -> Tuple[float, float]: ... - def IsLabelAtBorder(self) -> bool: ... - def IsLogarithmic(self) -> bool: ... - def IsReversed(self) -> bool: ... - def IsSmoothTransition(self) -> bool: ... - def Labels(self) -> TColStd_SequenceOfExtendedString: ... - @staticmethod - def MakeUniformColors(theNbColors: int, theLightness: float, theHueFrom: float, theHueTo: float) -> Aspect_SequenceOfColor: ... - def SetBreadth(self, theBreadth: int) -> None: ... - def SetColorRange(self, theMinColor: Quantity_Color, theMaxColor: Quantity_Color) -> None: ... - def SetColorType(self, theType: Aspect_TypeOfColorScaleData) -> None: ... - def SetColors(self, theSeq: Aspect_SequenceOfColor) -> None: ... - def SetFormat(self, theFormat: TCollection_AsciiString) -> None: ... - def SetHeight(self, theHeight: int) -> None: ... - def SetHueRange(self, theMinAngle: float, theMaxAngle: float) -> None: ... - def SetIntervalColor(self, theColor: Quantity_Color, theIndex: int) -> None: ... - def SetLabel(self, theLabel: TCollection_ExtendedString, theIndex: int) -> None: ... - def SetLabelAtBorder(self, theOn: bool) -> None: ... - def SetLabelPosition(self, thePos: Aspect_TypeOfColorScalePosition) -> None: ... - def SetLabelType(self, theType: Aspect_TypeOfColorScaleData) -> None: ... - def SetLabels(self, theSeq: TColStd_SequenceOfExtendedString) -> None: ... - def SetLogarithmic(self, isLogarithmic: bool) -> None: ... - def SetMax(self, theMax: float) -> None: ... - def SetMin(self, theMin: float) -> None: ... - def SetNumberOfIntervals(self, theNum: int) -> None: ... - def SetPosition(self, theX: int, theY: int) -> None: ... - def SetRange(self, theMin: float, theMax: float) -> None: ... - def SetReversed(self, theReverse: bool) -> None: ... - def SetSize(self, theBreadth: int, theHeight: int) -> None: ... - def SetSmoothTransition(self, theIsSmooth: bool) -> None: ... - def SetTextHeight(self, theHeight: int) -> None: ... - def SetTitle(self, theTitle: TCollection_ExtendedString) -> None: ... - def SetTitlePosition(self, thePos: Aspect_TypeOfColorScalePosition) -> None: ... - def SetUniformColors(self, theLightness: float, theHueFrom: float, theHueTo: float) -> None: ... - def SetXPosition(self, theX: int) -> None: ... - def SetYPosition(self, theY: int) -> None: ... - def TextHeight(self, theText: TCollection_ExtendedString) -> int: ... - def TextSize(self, theText: TCollection_ExtendedString, theHeight: int) -> Tuple[int, int, int]: ... - def TextWidth(self, theText: TCollection_ExtendedString) -> int: ... - @staticmethod - def hueToValidRange(theHue: float) -> float: ... + def __init__(self) -> None: ... + def AcceptDisplayMode(self, theMode: int) -> bool: ... + def ColorRange( + self, theMinColor: Quantity_Color, theMaxColor: Quantity_Color + ) -> None: ... + def Compute( + self, + thePrsMgr: PrsMgr_PresentationManager, + thePresentation: Prs3d_Presentation, + theMode: int, + ) -> None: ... + @overload + @staticmethod + def FindColor( + theValue: float, + theMin: float, + theMax: float, + theColorsCount: int, + theColorHlsMin: Graphic3d_Vec3d, + theColorHlsMax: Graphic3d_Vec3d, + theColor: Quantity_Color, + ) -> bool: ... + @overload + @staticmethod + def FindColor( + theValue: float, + theMin: float, + theMax: float, + theColorsCount: int, + theColor: Quantity_Color, + ) -> bool: ... + @overload + def FindColor(self, theValue: float, theColor: Quantity_Color) -> bool: ... + def Format(self) -> str: ... + def GetBreadth(self) -> int: ... + def GetColorType(self) -> Aspect_TypeOfColorScaleData: ... + @overload + def GetColors(self, theColors: Aspect_SequenceOfColor) -> None: ... + @overload + def GetColors(self) -> Aspect_SequenceOfColor: ... + def GetFormat(self) -> str: ... + def GetHeight(self) -> int: ... + def GetIntervalColor(self, theIndex: int) -> Quantity_Color: ... + def GetLabel(self, theIndex: int) -> str: ... + def GetLabelPosition(self) -> Aspect_TypeOfColorScalePosition: ... + def GetLabelType(self) -> Aspect_TypeOfColorScaleData: ... + def GetLabels(self, theLabels: TColStd_SequenceOfExtendedString) -> None: ... + def GetMax(self) -> float: ... + def GetMin(self) -> float: ... + def GetNumberOfIntervals(self) -> int: ... + def GetPosition(self) -> Tuple[float, float]: ... + def GetRange(self) -> Tuple[float, float]: ... + def GetSize(self) -> Tuple[int, int]: ... + def GetTextHeight(self) -> int: ... + def GetTitle(self) -> str: ... + def GetTitlePosition(self) -> Aspect_TypeOfColorScalePosition: ... + def GetXPosition(self) -> int: ... + def GetYPosition(self) -> int: ... + def HueMax(self) -> float: ... + def HueMin(self) -> float: ... + def HueRange(self) -> Tuple[float, float]: ... + def IsLabelAtBorder(self) -> bool: ... + def IsLogarithmic(self) -> bool: ... + def IsReversed(self) -> bool: ... + def IsSmoothTransition(self) -> bool: ... + def Labels(self) -> TColStd_SequenceOfExtendedString: ... + @staticmethod + def MakeUniformColors( + theNbColors: int, theLightness: float, theHueFrom: float, theHueTo: float + ) -> Aspect_SequenceOfColor: ... + def SetBreadth(self, theBreadth: int) -> None: ... + def SetColorRange( + self, theMinColor: Quantity_Color, theMaxColor: Quantity_Color + ) -> None: ... + def SetColorType(self, theType: Aspect_TypeOfColorScaleData) -> None: ... + def SetColors(self, theSeq: Aspect_SequenceOfColor) -> None: ... + def SetFormat(self, theFormat: str) -> None: ... + def SetHeight(self, theHeight: int) -> None: ... + def SetHueRange(self, theMinAngle: float, theMaxAngle: float) -> None: ... + def SetIntervalColor(self, theColor: Quantity_Color, theIndex: int) -> None: ... + def SetLabel(self, theLabel: str, theIndex: int) -> None: ... + def SetLabelAtBorder(self, theOn: bool) -> None: ... + def SetLabelPosition(self, thePos: Aspect_TypeOfColorScalePosition) -> None: ... + def SetLabelType(self, theType: Aspect_TypeOfColorScaleData) -> None: ... + def SetLabels(self, theSeq: TColStd_SequenceOfExtendedString) -> None: ... + def SetLogarithmic(self, isLogarithmic: bool) -> None: ... + def SetMax(self, theMax: float) -> None: ... + def SetMin(self, theMin: float) -> None: ... + def SetNumberOfIntervals(self, theNum: int) -> None: ... + def SetPosition(self, theX: int, theY: int) -> None: ... + def SetRange(self, theMin: float, theMax: float) -> None: ... + def SetReversed(self, theReverse: bool) -> None: ... + def SetSize(self, theBreadth: int, theHeight: int) -> None: ... + def SetSmoothTransition(self, theIsSmooth: bool) -> None: ... + def SetTextHeight(self, theHeight: int) -> None: ... + def SetTitle(self, theTitle: str) -> None: ... + def SetTitlePosition(self, thePos: Aspect_TypeOfColorScalePosition) -> None: ... + def SetUniformColors( + self, theLightness: float, theHueFrom: float, theHueTo: float + ) -> None: ... + def SetXPosition(self, theX: int) -> None: ... + def SetYPosition(self, theY: int) -> None: ... + def TextHeight(self, theText: str) -> int: ... + def TextSize(self, theText: str, theHeight: int) -> Tuple[int, int, int]: ... + def TextWidth(self, theText: str) -> int: ... + @staticmethod + def hueToValidRange(theHue: float) -> float: ... class AIS_ConnectedInteractive(AIS_InteractiveObject): - def __init__(self, aTypeOfPresentation3d: Optional[PrsMgr_TypeOfPresentation3d] = PrsMgr_TOP_AllView) -> None: ... - def AcceptDisplayMode(self, theMode: int) -> bool: ... - def AcceptShapeDecomposition(self) -> bool: ... - @overload - def Connect(self, theAnotherObj: AIS_InteractiveObject) -> None: ... - @overload - def Connect(self, theAnotherObj: AIS_InteractiveObject, theLocation: gp_Trsf) -> None: ... - @overload - def Connect(self, theAnotherObj: AIS_InteractiveObject, theLocation: TopLoc_Datum3D) -> None: ... - def ConnectedTo(self) -> AIS_InteractiveObject: ... - def Disconnect(self) -> None: ... - def HasConnection(self) -> bool: ... - def Signature(self) -> int: ... - def Type(self) -> AIS_KindOfInteractive: ... + def __init__( + self, + aTypeOfPresentation3d: Optional[ + PrsMgr_TypeOfPresentation3d + ] = PrsMgr_TOP_AllView, + ) -> None: ... + def AcceptDisplayMode(self, theMode: int) -> bool: ... + def AcceptShapeDecomposition(self) -> bool: ... + @overload + def Connect(self, theAnotherObj: AIS_InteractiveObject) -> None: ... + @overload + def Connect( + self, theAnotherObj: AIS_InteractiveObject, theLocation: gp_Trsf + ) -> None: ... + @overload + def Connect( + self, theAnotherObj: AIS_InteractiveObject, theLocation: TopLoc_Datum3D + ) -> None: ... + def ConnectedTo(self) -> AIS_InteractiveObject: ... + def Disconnect(self) -> None: ... + def HasConnection(self) -> bool: ... + def Signature(self) -> int: ... + def Type(self) -> AIS_KindOfInteractive: ... + +class AIS_LightSource(AIS_InteractiveObject): + def __init__(self, theLightSource: Graphic3d_CLight) -> None: ... + def ArcSize(self) -> int: ... + def IsZoomable(self) -> bool: ... + def Light(self) -> Graphic3d_CLight: ... + def MarkerImage(self, theIsEnabled: bool) -> Graphic3d_MarkerImage: ... + def MarkerType(self, theIsEnabled: bool) -> Aspect_TypeOfMarker: ... + def NbArrows(self) -> int: ... + def NbSplitsArrow(self) -> int: ... + def NbSplitsQuadric(self) -> int: ... + def SetArcSize(self, theSize: int) -> None: ... + def SetDisplayName(self, theToDisplay: bool) -> None: ... + def SetDisplayRange(self, theToDisplay: bool) -> None: ... + def SetDraggable(self, theIsDraggable: bool) -> None: ... + def SetLight(self, theLight: Graphic3d_CLight) -> None: ... + def SetMarkerImage( + self, theImage: Graphic3d_MarkerImage, theIsEnabled: bool + ) -> None: ... + def SetMarkerType( + self, theType: Aspect_TypeOfMarker, theIsEnabled: bool + ) -> None: ... + def SetNbArrows(self, theNbArrows: int) -> None: ... + def SetNbSplitsArrow(self, theNbSplits: int) -> None: ... + def SetNbSplitsQuadric(self, theNbSplits: int) -> None: ... + def SetSize(self, theSize: float) -> None: ... + def SetSwitchOnClick(self, theToHandle: bool) -> None: ... + def SetZoomable(self, theIsZoomable: bool) -> None: ... + def Size(self) -> float: ... + def ToDisplayName(self) -> bool: ... + def ToDisplayRange(self) -> bool: ... + def ToSwitchOnClick(self) -> bool: ... + def Type(self) -> AIS_KindOfInteractive: ... class AIS_Line(AIS_InteractiveObject): - @overload - def __init__(self, aLine: Geom_Line) -> None: ... - @overload - def __init__(self, aStartPoint: Geom_Point, aEndPoint: Geom_Point) -> None: ... - def Line(self) -> Geom_Line: ... - def Points(self, thePStart: Geom_Point, thePEnd: Geom_Point) -> None: ... - def SetColor(self, aColor: Quantity_Color) -> None: ... - def SetLine(self, theLine: Geom_Line) -> None: ... - def SetPoints(self, thePStart: Geom_Point, thePEnd: Geom_Point) -> None: ... - def SetWidth(self, aValue: float) -> None: ... - def Signature(self) -> int: ... - def Type(self) -> AIS_KindOfInteractive: ... - def UnsetColor(self) -> None: ... - def UnsetWidth(self) -> None: ... + @overload + def __init__(self, aLine: Geom_Line) -> None: ... + @overload + def __init__(self, aStartPoint: Geom_Point, aEndPoint: Geom_Point) -> None: ... + def Line(self) -> Geom_Line: ... + def Points(self, thePStart: Geom_Point, thePEnd: Geom_Point) -> None: ... + def SetColor(self, aColor: Quantity_Color) -> None: ... + def SetLine(self, theLine: Geom_Line) -> None: ... + def SetPoints(self, thePStart: Geom_Point, thePEnd: Geom_Point) -> None: ... + def SetWidth(self, aValue: float) -> None: ... + def Signature(self) -> int: ... + def Type(self) -> AIS_KindOfInteractive: ... + def UnsetColor(self) -> None: ... + def UnsetWidth(self) -> None: ... class AIS_Manipulator(AIS_InteractiveObject): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, thePosition: gp_Ax2) -> None: ... - def ActiveAxisIndex(self) -> int: ... - def ActiveMode(self) -> AIS_ManipulatorMode: ... - def ClearSelected(self) -> None: ... - def Compute(self, thePrsMgr: PrsMgr_PresentationManager3d, thePrs: Prs3d_Presentation, theMode: Optional[int] = 0) -> None: ... - def ComputeSelection(self, theSelection: SelectMgr_Selection, theMode: int) -> None: ... - def DeactivateCurrentMode(self) -> None: ... - def Detach(self) -> None: ... - def EnableMode(self, theMode: AIS_ManipulatorMode) -> None: ... - def HasActiveMode(self) -> bool: ... - def HasActiveTransformation(self) -> bool: ... - def HilightOwnerWithColor(self, thePM: PrsMgr_PresentationManager3d, theStyle: Prs3d_Drawer, theOwner: SelectMgr_EntityOwner) -> None: ... - def HilightSelected(self, thePM: PrsMgr_PresentationManager3d, theSeq: SelectMgr_SequenceOfOwner) -> None: ... - def IsAttached(self) -> bool: ... - def IsAutoHilight(self) -> bool: ... - def IsModeActivationOnDetection(self) -> bool: ... - @overload - def Object(self) -> AIS_InteractiveObject: ... - @overload - def Object(self, theIndex: int) -> AIS_InteractiveObject: ... - def ObjectTransformation(self, theX: int, theY: int, theView: V3d_View, theTrsf: gp_Trsf) -> bool: ... - def Objects(self) -> AIS_ManipulatorObjectSequence: ... - def Position(self) -> gp_Ax2: ... - def ProcessDragging(self, theCtx: AIS_InteractiveContext, theView: V3d_View, theOwner: SelectMgr_EntityOwner, theDragFrom: Graphic3d_Vec2i, theDragTo: Graphic3d_Vec2i, theAction: AIS_DragAction) -> bool: ... - def SetGap(self, theValue: float) -> None: ... - def SetModeActivationOnDetection(self, theToEnable: bool) -> None: ... - @overload - def SetPart(self, theAxisIndex: int, theMode: AIS_ManipulatorMode, theIsEnabled: bool) -> None: ... - @overload - def SetPart(self, theMode: AIS_ManipulatorMode, theIsEnabled: bool) -> None: ... - def SetPosition(self, thePosition: gp_Ax2) -> None: ... - def SetSize(self, theSideLength: float) -> None: ... - def SetTransformPersistence(self, theTrsfPers: Graphic3d_TransformPers) -> None: ... - def SetZoomPersistence(self, theToEnable: bool) -> None: ... - def Size(self) -> float: ... - def StartTransform(self, theX: int, theY: int, theView: V3d_View) -> None: ... - @overload - def StartTransformation(self) -> gp_Trsf: ... - @overload - def StartTransformation(self, theIndex: int) -> gp_Trsf: ... - def StopTransform(self, theToApply: Optional[bool] = True) -> None: ... - @overload - def Transform(self, aTrsf: gp_Trsf) -> None: ... - @overload - def Transform(self, theX: int, theY: int, theView: V3d_View) -> gp_Trsf: ... - def ZoomPersistence(self) -> bool: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, thePosition: gp_Ax2) -> None: ... + def ActiveAxisIndex(self) -> int: ... + def ActiveMode(self) -> AIS_ManipulatorMode: ... + def ClearSelected(self) -> None: ... + def Compute( + self, + thePrsMgr: PrsMgr_PresentationManager, + thePrs: Prs3d_Presentation, + theMode: Optional[int] = 0, + ) -> None: ... + def ComputeSelection( + self, theSelection: SelectMgr_Selection, theMode: int + ) -> None: ... + def DeactivateCurrentMode(self) -> None: ... + def Detach(self) -> None: ... + def EnableMode(self, theMode: AIS_ManipulatorMode) -> None: ... + def HasActiveMode(self) -> bool: ... + def HasActiveTransformation(self) -> bool: ... + def HilightOwnerWithColor( + self, + thePM: PrsMgr_PresentationManager, + theStyle: Prs3d_Drawer, + theOwner: SelectMgr_EntityOwner, + ) -> None: ... + def HilightSelected( + self, thePM: PrsMgr_PresentationManager, theSeq: SelectMgr_SequenceOfOwner + ) -> None: ... + def IsAttached(self) -> bool: ... + def IsAutoHilight(self) -> bool: ... + def IsModeActivationOnDetection(self) -> bool: ... + @overload + def Object(self) -> AIS_InteractiveObject: ... + @overload + def Object(self, theIndex: int) -> AIS_InteractiveObject: ... + def ObjectTransformation( + self, theX: int, theY: int, theView: V3d_View, theTrsf: gp_Trsf + ) -> bool: ... + def Objects(self) -> AIS_ManipulatorObjectSequence: ... + def Position(self) -> gp_Ax2: ... + def ProcessDragging( + self, + theCtx: AIS_InteractiveContext, + theView: V3d_View, + theOwner: SelectMgr_EntityOwner, + theDragFrom: Graphic3d_Vec2i, + theDragTo: Graphic3d_Vec2i, + theAction: AIS_DragAction, + ) -> bool: ... + def RecomputeSelection(self, theMode: AIS_ManipulatorMode) -> None: ... + def RecomputeTransformation(self, theCamera: Graphic3d_Camera) -> None: ... + def SetGap(self, theValue: float) -> None: ... + def SetModeActivationOnDetection(self, theToEnable: bool) -> None: ... + @overload + def SetPart( + self, theAxisIndex: int, theMode: AIS_ManipulatorMode, theIsEnabled: bool + ) -> None: ... + @overload + def SetPart(self, theMode: AIS_ManipulatorMode, theIsEnabled: bool) -> None: ... + def SetPosition(self, thePosition: gp_Ax2) -> None: ... + def SetSize(self, theSideLength: float) -> None: ... + def SetTransformPersistence(self, theTrsfPers: Graphic3d_TransformPers) -> None: ... + def SetZoomPersistence(self, theToEnable: bool) -> None: ... + def Size(self) -> float: ... + def SkinMode(self) -> False: ... + def StartTransform(self, theX: int, theY: int, theView: V3d_View) -> None: ... + @overload + def StartTransformation(self) -> gp_Trsf: ... + @overload + def StartTransformation(self, theIndex: int) -> gp_Trsf: ... + def StopTransform(self, theToApply: Optional[bool] = True) -> None: ... + @overload + def Transform(self, aTrsf: gp_Trsf) -> None: ... + @overload + def Transform(self, theX: int, theY: int, theView: V3d_View) -> gp_Trsf: ... + def ZoomPersistence(self) -> bool: ... class AIS_MediaPlayer(AIS_InteractiveObject): - def __init__(self) -> None: ... - def Duration(self) -> False: ... - def OpenInput(self, thePath: TCollection_AsciiString, theToWait: bool) -> None: ... - def PlayPause(self) -> None: ... - def PlayerContext(self) -> Media_PlayerContext: ... - def PresentFrame(self, theLeftCorner: Graphic3d_Vec2i, theMaxSize: Graphic3d_Vec2i) -> False: ... - def SetClosePlayer(self) -> None: ... + def __init__(self) -> None: ... + def Duration(self) -> float: ... + def OpenInput(self, thePath: str, theToWait: bool) -> None: ... + def PlayPause(self) -> None: ... + def PlayerContext(self) -> Media_PlayerContext: ... + def PresentFrame( + self, theLeftCorner: Graphic3d_Vec2i, theMaxSize: Graphic3d_Vec2i + ) -> bool: ... + def SetClosePlayer(self) -> None: ... class AIS_MultipleConnectedInteractive(AIS_InteractiveObject): - def __init__(self) -> None: ... - def AcceptShapeDecomposition(self) -> bool: ... - @overload - def Connect(self, theAnotherObj: AIS_InteractiveObject, theLocation: TopLoc_Datum3D, theTrsfPers: Graphic3d_TransformPers) -> AIS_InteractiveObject: ... - @overload - def Connect(self, theAnotherObj: AIS_InteractiveObject) -> AIS_InteractiveObject: ... - @overload - def Connect(self, theAnotherObj: AIS_InteractiveObject, theLocation: gp_Trsf) -> AIS_InteractiveObject: ... - @overload - def Connect(self, theAnotherObj: AIS_InteractiveObject, theLocation: gp_Trsf, theTrsfPers: Graphic3d_TransformPers) -> AIS_InteractiveObject: ... - @overload - def Connect(self, theInteractive: AIS_InteractiveObject, theLocation: gp_Trsf, theTrsfPersFlag: Graphic3d_TransModeFlags, theTrsfPersPoint: gp_Pnt) -> AIS_InteractiveObject: ... - def Disconnect(self, theInteractive: AIS_InteractiveObject) -> None: ... - def DisconnectAll(self) -> None: ... - def GetAssemblyOwner(self) -> SelectMgr_EntityOwner: ... - def GlobalSelOwner(self) -> SelectMgr_EntityOwner: ... - def HasConnection(self) -> bool: ... - def SetContext(self, theCtx: AIS_InteractiveContext) -> None: ... - def Signature(self) -> int: ... - def Type(self) -> AIS_KindOfInteractive: ... + def __init__(self) -> None: ... + def AcceptShapeDecomposition(self) -> bool: ... + @overload + def Connect( + self, + theAnotherObj: AIS_InteractiveObject, + theLocation: TopLoc_Datum3D, + theTrsfPers: Graphic3d_TransformPers, + ) -> AIS_InteractiveObject: ... + @overload + def Connect( + self, theAnotherObj: AIS_InteractiveObject + ) -> AIS_InteractiveObject: ... + @overload + def Connect( + self, theAnotherObj: AIS_InteractiveObject, theLocation: gp_Trsf + ) -> AIS_InteractiveObject: ... + @overload + def Connect( + self, + theAnotherObj: AIS_InteractiveObject, + theLocation: gp_Trsf, + theTrsfPers: Graphic3d_TransformPers, + ) -> AIS_InteractiveObject: ... + def Disconnect(self, theInteractive: AIS_InteractiveObject) -> None: ... + def DisconnectAll(self) -> None: ... + def GetAssemblyOwner(self) -> SelectMgr_EntityOwner: ... + def GlobalSelOwner(self) -> SelectMgr_EntityOwner: ... + def HasConnection(self) -> bool: ... + def SetContext(self, theCtx: AIS_InteractiveContext) -> None: ... + def Signature(self) -> int: ... + def Type(self) -> AIS_KindOfInteractive: ... class AIS_Plane(AIS_InteractiveObject): - @overload - def __init__(self, aComponent: Geom_Plane, aCurrentMode: Optional[bool] = False) -> None: ... - @overload - def __init__(self, aComponent: Geom_Plane, aCenter: gp_Pnt, aCurrentMode: Optional[bool] = False) -> None: ... - @overload - def __init__(self, aComponent: Geom_Plane, aCenter: gp_Pnt, aPmin: gp_Pnt, aPmax: gp_Pnt, aCurrentMode: Optional[bool] = False) -> None: ... - @overload - def __init__(self, aComponent: Geom_Axis2Placement, aPlaneType: AIS_TypeOfPlane, aCurrentMode: Optional[bool] = False) -> None: ... - def AcceptDisplayMode(self, aMode: int) -> bool: ... - def Axis2Placement(self) -> Geom_Axis2Placement: ... - def Center(self) -> gp_Pnt: ... - def Component(self) -> Geom_Plane: ... - def ComputeSelection(self, theSelection: SelectMgr_Selection, theMode: int) -> None: ... - def CurrentMode(self) -> bool: ... - def HasOwnSize(self) -> bool: ... - def IsXYZPlane(self) -> bool: ... - def PlaneAttributes(self, aComponent: Geom_Plane, aCenter: gp_Pnt, aPmin: gp_Pnt, aPmax: gp_Pnt) -> bool: ... - def SetAxis2Placement(self, aComponent: Geom_Axis2Placement, aPlaneType: AIS_TypeOfPlane) -> None: ... - def SetCenter(self, theCenter: gp_Pnt) -> None: ... - def SetColor(self, aColor: Quantity_Color) -> None: ... - def SetComponent(self, aComponent: Geom_Plane) -> None: ... - def SetContext(self, aCtx: AIS_InteractiveContext) -> None: ... - def SetCurrentMode(self, theCurrentMode: bool) -> None: ... - def SetPlaneAttributes(self, aComponent: Geom_Plane, aCenter: gp_Pnt, aPmin: gp_Pnt, aPmax: gp_Pnt) -> None: ... - @overload - def SetSize(self, aValue: float) -> None: ... - @overload - def SetSize(self, Xval: float, YVal: float) -> None: ... - def SetTypeOfSensitivity(self, theTypeOfSensitivity: Select3D_TypeOfSensitivity) -> None: ... - def Signature(self) -> int: ... - def Size(self) -> Tuple[bool, float, float]: ... - def Type(self) -> AIS_KindOfInteractive: ... - def TypeOfPlane(self) -> AIS_TypeOfPlane: ... - def TypeOfSensitivity(self) -> Select3D_TypeOfSensitivity: ... - def UnsetColor(self) -> None: ... - def UnsetSize(self) -> None: ... + @overload + def __init__( + self, aComponent: Geom_Plane, aCurrentMode: Optional[bool] = False + ) -> None: ... + @overload + def __init__( + self, + aComponent: Geom_Plane, + aCenter: gp_Pnt, + aCurrentMode: Optional[bool] = False, + ) -> None: ... + @overload + def __init__( + self, + aComponent: Geom_Plane, + aCenter: gp_Pnt, + aPmin: gp_Pnt, + aPmax: gp_Pnt, + aCurrentMode: Optional[bool] = False, + ) -> None: ... + @overload + def __init__( + self, + aComponent: Geom_Axis2Placement, + aPlaneType: AIS_TypeOfPlane, + aCurrentMode: Optional[bool] = False, + ) -> None: ... + def AcceptDisplayMode(self, aMode: int) -> bool: ... + def Axis2Placement(self) -> Geom_Axis2Placement: ... + def Center(self) -> gp_Pnt: ... + def Component(self) -> Geom_Plane: ... + def ComputeSelection( + self, theSelection: SelectMgr_Selection, theMode: int + ) -> None: ... + def CurrentMode(self) -> bool: ... + def HasMinimumSize(self) -> bool: ... + def HasOwnSize(self) -> bool: ... + def IsXYZPlane(self) -> bool: ... + def PlaneAttributes( + self, aComponent: Geom_Plane, aCenter: gp_Pnt, aPmin: gp_Pnt, aPmax: gp_Pnt + ) -> bool: ... + def SetAxis2Placement( + self, aComponent: Geom_Axis2Placement, aPlaneType: AIS_TypeOfPlane + ) -> None: ... + def SetCenter(self, theCenter: gp_Pnt) -> None: ... + def SetColor(self, aColor: Quantity_Color) -> None: ... + def SetComponent(self, aComponent: Geom_Plane) -> None: ... + def SetContext(self, aCtx: AIS_InteractiveContext) -> None: ... + def SetCurrentMode(self, theCurrentMode: bool) -> None: ... + def SetMinimumSize(self, theValue: float) -> None: ... + def SetPlaneAttributes( + self, aComponent: Geom_Plane, aCenter: gp_Pnt, aPmin: gp_Pnt, aPmax: gp_Pnt + ) -> None: ... + @overload + def SetSize(self, aValue: float) -> None: ... + @overload + def SetSize(self, Xval: float, YVal: float) -> None: ... + def SetTypeOfSensitivity( + self, theTypeOfSensitivity: Select3D_TypeOfSensitivity + ) -> None: ... + def Signature(self) -> int: ... + def Size(self) -> Tuple[bool, float, float]: ... + def Type(self) -> AIS_KindOfInteractive: ... + def TypeOfPlane(self) -> AIS_TypeOfPlane: ... + def TypeOfSensitivity(self) -> Select3D_TypeOfSensitivity: ... + def UnsetColor(self) -> None: ... + def UnsetMinimumSize(self) -> None: ... + def UnsetSize(self) -> None: ... class AIS_PlaneTrihedron(AIS_InteractiveObject): - def __init__(self, aPlane: Geom_Plane) -> None: ... - def AcceptDisplayMode(self, aMode: int) -> bool: ... - def Component(self) -> Geom_Plane: ... - def GetLength(self) -> float: ... - def Position(self) -> AIS_Point: ... - def SetColor(self, theColor: Quantity_Color) -> None: ... - def SetComponent(self, aPlane: Geom_Plane) -> None: ... - def SetLength(self, theLength: float) -> None: ... - def SetXLabel(self, theLabel: TCollection_AsciiString) -> None: ... - def SetYLabel(self, theLabel: TCollection_AsciiString) -> None: ... - def Signature(self) -> int: ... - def Type(self) -> AIS_KindOfInteractive: ... - def XAxis(self) -> AIS_Line: ... - def YAxis(self) -> AIS_Line: ... + def __init__(self, aPlane: Geom_Plane) -> None: ... + def AcceptDisplayMode(self, aMode: int) -> bool: ... + def Component(self) -> Geom_Plane: ... + def GetLength(self) -> float: ... + def Position(self) -> AIS_Point: ... + def SetColor(self, theColor: Quantity_Color) -> None: ... + def SetComponent(self, aPlane: Geom_Plane) -> None: ... + def SetLength(self, theLength: float) -> None: ... + def SetXLabel(self, theLabel: str) -> None: ... + def SetYLabel(self, theLabel: str) -> None: ... + def Signature(self) -> int: ... + def Type(self) -> AIS_KindOfInteractive: ... + def XAxis(self) -> AIS_Line: ... + def YAxis(self) -> AIS_Line: ... class AIS_Point(AIS_InteractiveObject): - def __init__(self, aComponent: Geom_Point) -> None: ... - def AcceptDisplayMode(self, aMode: int) -> bool: ... - def Component(self) -> Geom_Point: ... - def HasMarker(self) -> bool: ... - def SetColor(self, theColor: Quantity_Color) -> None: ... - def SetComponent(self, aComponent: Geom_Point) -> None: ... - def SetMarker(self, aType: Aspect_TypeOfMarker) -> None: ... - def Signature(self) -> int: ... - def Type(self) -> AIS_KindOfInteractive: ... - def UnsetColor(self) -> None: ... - def UnsetMarker(self) -> None: ... - def Vertex(self) -> TopoDS_Vertex: ... + def __init__(self, aComponent: Geom_Point) -> None: ... + def AcceptDisplayMode(self, aMode: int) -> bool: ... + def Component(self) -> Geom_Point: ... + def HasMarker(self) -> bool: ... + def SetColor(self, theColor: Quantity_Color) -> None: ... + def SetComponent(self, aComponent: Geom_Point) -> None: ... + def SetMarker(self, aType: Aspect_TypeOfMarker) -> None: ... + def Signature(self) -> int: ... + def Type(self) -> AIS_KindOfInteractive: ... + def UnsetColor(self) -> None: ... + def UnsetMarker(self) -> None: ... + def Vertex(self) -> TopoDS_Vertex: ... class AIS_PointCloud(AIS_InteractiveObject): - def __init__(self) -> None: ... - def GetBoundingBox(self) -> Bnd_Box: ... - def GetPoints(self) -> Graphic3d_ArrayOfPoints: ... - def SetColor(self, theColor: Quantity_Color) -> None: ... - def SetMaterial(self, theMat: Graphic3d_MaterialAspect) -> None: ... - @overload - def SetPoints(self, thePoints: Graphic3d_ArrayOfPoints) -> None: ... - @overload - def SetPoints(self, theCoords: TColgp_HArray1OfPnt, theColors: Optional[Quantity_HArray1OfColor] = None, theNormals: Optional[TColgp_HArray1OfDir] = None) -> None: ... - def UnsetColor(self) -> None: ... - def UnsetMaterial(self) -> None: ... + def __init__(self) -> None: ... + def GetBoundingBox(self) -> Bnd_Box: ... + def GetPoints(self) -> Graphic3d_ArrayOfPoints: ... + def SetColor(self, theColor: Quantity_Color) -> None: ... + def SetMaterial(self, theMat: Graphic3d_MaterialAspect) -> None: ... + @overload + def SetPoints(self, thePoints: Graphic3d_ArrayOfPoints) -> None: ... + @overload + def SetPoints( + self, + theCoords: TColgp_HArray1OfPnt, + theColors: Optional[Quantity_HArray1OfColor] = None, + theNormals: Optional[TColgp_HArray1OfDir] = None, + ) -> None: ... + def UnsetColor(self) -> None: ... + def UnsetMaterial(self) -> None: ... class AIS_RubberBand(AIS_InteractiveObject): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theLineColor: Quantity_Color, theType: Aspect_TypeOfLine, theLineWidth: Optional[float] = 1.0, theIsPolygonClosed: Optional[bool] = True) -> None: ... - @overload - def __init__(self, theLineColor: Quantity_Color, theType: Aspect_TypeOfLine, theFillColor: Quantity_Color, theTransparency: Optional[float] = 1.0, theLineWidth: Optional[float] = 1.0, theIsPolygonClosed: Optional[bool] = True) -> None: ... - def AddPoint(self, thePoint: Graphic3d_Vec2i) -> None: ... - def ClearPoints(self) -> None: ... - def FillColor(self) -> Quantity_Color: ... - def FillTransparency(self) -> float: ... - def IsFilling(self) -> bool: ... - def IsPolygonClosed(self) -> bool: ... - def LineColor(self) -> Quantity_Color: ... - def LineType(self) -> Aspect_TypeOfLine: ... - def LineWidth(self) -> float: ... - def Points(self) -> False: ... - def RemoveLastPoint(self) -> None: ... - def SetFillColor(self, theColor: Quantity_Color) -> None: ... - def SetFillTransparency(self, theValue: float) -> None: ... - @overload - def SetFilling(self, theIsFilling: bool) -> None: ... - @overload - def SetFilling(self, theColor: Quantity_Color, theTransparency: float) -> None: ... - def SetLineColor(self, theColor: Quantity_Color) -> None: ... - def SetLineType(self, theType: Aspect_TypeOfLine) -> None: ... - def SetLineWidth(self, theWidth: float) -> None: ... - def SetPolygonClosed(self, theIsPolygonClosed: bool) -> None: ... - def SetRectangle(self, theMinX: int, theMinY: int, theMaxX: int, theMaxY: int) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__( + self, + theLineColor: Quantity_Color, + theType: Aspect_TypeOfLine, + theLineWidth: Optional[float] = 1.0, + theIsPolygonClosed: Optional[bool] = True, + ) -> None: ... + @overload + def __init__( + self, + theLineColor: Quantity_Color, + theType: Aspect_TypeOfLine, + theFillColor: Quantity_Color, + theTransparency: Optional[float] = 1.0, + theLineWidth: Optional[float] = 1.0, + theIsPolygonClosed: Optional[bool] = True, + ) -> None: ... + def AddPoint(self, thePoint: Graphic3d_Vec2i) -> None: ... + def ClearPoints(self) -> None: ... + def FillColor(self) -> Quantity_Color: ... + def FillTransparency(self) -> float: ... + def IsFilling(self) -> bool: ... + def IsPolygonClosed(self) -> bool: ... + def LineColor(self) -> Quantity_Color: ... + def LineType(self) -> Aspect_TypeOfLine: ... + def LineWidth(self) -> float: ... + def Points(self) -> False: ... + def RemoveLastPoint(self) -> None: ... + def SetFillColor(self, theColor: Quantity_Color) -> None: ... + def SetFillTransparency(self, theValue: float) -> None: ... + @overload + def SetFilling(self, theIsFilling: bool) -> None: ... + @overload + def SetFilling(self, theColor: Quantity_Color, theTransparency: float) -> None: ... + def SetLineColor(self, theColor: Quantity_Color) -> None: ... + def SetLineType(self, theType: Aspect_TypeOfLine) -> None: ... + def SetLineWidth(self, theWidth: float) -> None: ... + def SetPolygonClosed(self, theIsPolygonClosed: bool) -> None: ... + def SetRectangle( + self, theMinX: int, theMinY: int, theMaxX: int, theMaxY: int + ) -> None: ... class AIS_Shape(AIS_InteractiveObject): - def __init__(self, shap: TopoDS_Shape) -> None: ... - def AcceptDisplayMode(self, theMode: int) -> bool: ... - def AcceptShapeDecomposition(self) -> bool: ... - def BoundingBox(self) -> Bnd_Box: ... - def Color(self, aColor: Quantity_Color) -> None: ... - def Material(self) -> Graphic3d_NameOfMaterial: ... - def OwnDeviationAngle(self) -> Tuple[bool, float, float]: ... - def OwnDeviationCoefficient(self) -> Tuple[bool, float, float]: ... - @staticmethod - def SelectionMode(theShapeType: TopAbs_ShapeEnum) -> int: ... - @staticmethod - def SelectionType(theSelMode: int) -> TopAbs_ShapeEnum: ... - def Set(self, theShape: TopoDS_Shape) -> None: ... - def SetAngleAndDeviation(self, anAngle: float) -> None: ... - def SetColor(self, theColor: Quantity_Color) -> None: ... - def SetMaterial(self, aName: Graphic3d_MaterialAspect) -> None: ... - @overload - def SetOwnDeviationAngle(self) -> bool: ... - @overload - def SetOwnDeviationAngle(self, anAngle: float) -> None: ... - @overload - def SetOwnDeviationCoefficient(self) -> bool: ... - @overload - def SetOwnDeviationCoefficient(self, aCoefficient: float) -> None: ... - def SetShape(self, theShape: TopoDS_Shape) -> None: ... - def SetTextureOriginUV(self, theOriginUV: gp_Pnt2d) -> None: ... - def SetTextureRepeatUV(self, theRepeatUV: gp_Pnt2d) -> None: ... - def SetTextureScaleUV(self, theScaleUV: gp_Pnt2d) -> None: ... - def SetTransparency(self, aValue: Optional[float] = 0.6) -> None: ... - def SetTypeOfHLR(self, theTypeOfHLR: Prs3d_TypeOfHLR) -> None: ... - def SetWidth(self, aValue: float) -> None: ... - def Shape(self) -> TopoDS_Shape: ... - def Signature(self) -> int: ... - def TextureOriginUV(self) -> gp_Pnt2d: ... - def TextureRepeatUV(self) -> gp_Pnt2d: ... - def TextureScaleUV(self) -> gp_Pnt2d: ... - def Transparency(self) -> float: ... - def Type(self) -> AIS_KindOfInteractive: ... - def TypeOfHLR(self) -> Prs3d_TypeOfHLR: ... - def UnsetColor(self) -> None: ... - def UnsetMaterial(self) -> None: ... - def UnsetTransparency(self) -> None: ... - def UnsetWidth(self) -> None: ... - def UserAngle(self) -> float: ... - @staticmethod - def computeHlrPresentation(theProjector: Graphic3d_Camera, thePrs: Prs3d_Presentation, theShape: TopoDS_Shape, theDrawer: Prs3d_Drawer) -> None: ... + def __init__(self, shap: TopoDS_Shape) -> None: ... + def AcceptDisplayMode(self, theMode: int) -> bool: ... + def AcceptShapeDecomposition(self) -> bool: ... + def BoundingBox(self) -> Bnd_Box: ... + def Color(self, aColor: Quantity_Color) -> None: ... + def DumpJson(self, depth: Optional[int] = -1) -> str: ... + def Material(self) -> Graphic3d_NameOfMaterial: ... + def OwnDeviationAngle(self) -> Tuple[bool, float, float]: ... + def OwnDeviationCoefficient(self) -> Tuple[bool, float, float]: ... + @staticmethod + def SelectionMode(theShapeType: TopAbs_ShapeEnum) -> int: ... + @staticmethod + def SelectionType(theSelMode: int) -> TopAbs_ShapeEnum: ... + def Set(self, theShape: TopoDS_Shape) -> None: ... + def SetAngleAndDeviation(self, anAngle: float) -> None: ... + def SetColor(self, theColor: Quantity_Color) -> None: ... + def SetMaterial(self, aName: Graphic3d_MaterialAspect) -> None: ... + @overload + def SetOwnDeviationAngle(self) -> bool: ... + @overload + def SetOwnDeviationAngle(self, anAngle: float) -> None: ... + @overload + def SetOwnDeviationCoefficient(self) -> bool: ... + @overload + def SetOwnDeviationCoefficient(self, aCoefficient: float) -> None: ... + def SetShape(self, theShape: TopoDS_Shape) -> None: ... + def SetTextureOriginUV(self, theOriginUV: gp_Pnt2d) -> None: ... + def SetTextureRepeatUV(self, theRepeatUV: gp_Pnt2d) -> None: ... + def SetTextureScaleUV(self, theScaleUV: gp_Pnt2d) -> None: ... + def SetTransparency(self, aValue: Optional[float] = 0.6) -> None: ... + def SetTypeOfHLR(self, theTypeOfHLR: Prs3d_TypeOfHLR) -> None: ... + def SetWidth(self, aValue: float) -> None: ... + def Shape(self) -> TopoDS_Shape: ... + def Signature(self) -> int: ... + def TextureOriginUV(self) -> gp_Pnt2d: ... + def TextureRepeatUV(self) -> gp_Pnt2d: ... + def TextureScaleUV(self) -> gp_Pnt2d: ... + def Transparency(self) -> float: ... + def Type(self) -> AIS_KindOfInteractive: ... + def TypeOfHLR(self) -> Prs3d_TypeOfHLR: ... + def UnsetColor(self) -> None: ... + def UnsetMaterial(self) -> None: ... + def UnsetTransparency(self) -> None: ... + def UnsetWidth(self) -> None: ... + def UserAngle(self) -> float: ... + @staticmethod + def computeHlrPresentation( + theProjector: Graphic3d_Camera, + thePrs: Prs3d_Presentation, + theShape: TopoDS_Shape, + theDrawer: Prs3d_Drawer, + ) -> None: ... class AIS_SignatureFilter(AIS_TypeFilter): - def __init__(self, aGivenKind: AIS_KindOfInteractive, aGivenSignature: int) -> None: ... - def IsOk(self, anobj: SelectMgr_EntityOwner) -> bool: ... + def __init__( + self, aGivenKind: AIS_KindOfInteractive, aGivenSignature: int + ) -> None: ... + def IsOk(self, anobj: SelectMgr_EntityOwner) -> bool: ... class AIS_TextLabel(AIS_InteractiveObject): - def __init__(self) -> None: ... - def AcceptDisplayMode(self, theMode: int) -> bool: ... - def FontAspect(self) -> False: ... - def FontName(self) -> TCollection_AsciiString: ... - def HasFlipping(self) -> bool: ... - def HasOrientation3D(self) -> bool: ... - def HasOwnAnchorPoint(self) -> bool: ... - def Orientation3D(self) -> gp_Ax2: ... - def Position(self) -> gp_Pnt: ... - def SetAngle(self, theAngle: float) -> None: ... - def SetColor(self, theColor: Quantity_Color) -> None: ... - def SetColorSubTitle(self, theColor: Quantity_Color) -> None: ... - def SetDisplayType(self, theDisplayType: Aspect_TypeOfDisplayText) -> None: ... - def SetFlipping(self, theIsFlipping: bool) -> None: ... - def SetFont(self, theFont: str) -> None: ... - def SetHJustification(self, theHJust: Graphic3d_HorizontalTextAlignment) -> None: ... - def SetHeight(self, theHeight: float) -> None: ... - def SetOrientation3D(self, theOrientation: gp_Ax2) -> None: ... - def SetOwnAnchorPoint(self, theOwnAnchorPoint: bool) -> None: ... - def SetPosition(self, thePosition: gp_Pnt) -> None: ... - def SetText(self, theText: TCollection_ExtendedString) -> None: ... - def SetTransparency(self, theValue: float) -> None: ... - def SetVJustification(self, theVJust: Graphic3d_VerticalTextAlignment) -> None: ... - def SetZoomable(self, theIsZoomable: bool) -> None: ... - def Text(self) -> TCollection_ExtendedString: ... - def TextFormatter(self) -> False: ... - def UnsetOrientation3D(self) -> None: ... - def UnsetTransparency(self) -> None: ... + def __init__(self) -> None: ... + def AcceptDisplayMode(self, theMode: int) -> bool: ... + def FontAspect(self) -> False: ... + def FontName(self) -> str: ... + def HasFlipping(self) -> bool: ... + def HasOrientation3D(self) -> bool: ... + def HasOwnAnchorPoint(self) -> bool: ... + def Orientation3D(self) -> gp_Ax2: ... + def Position(self) -> gp_Pnt: ... + def SetAngle(self, theAngle: float) -> None: ... + def SetColor(self, theColor: Quantity_Color) -> None: ... + def SetColorSubTitle(self, theColor: Quantity_Color) -> None: ... + def SetDisplayType(self, theDisplayType: Aspect_TypeOfDisplayText) -> None: ... + def SetFlipping(self, theIsFlipping: bool) -> None: ... + def SetFont(self, theFont: str) -> None: ... + def SetHJustification( + self, theHJust: Graphic3d_HorizontalTextAlignment + ) -> None: ... + def SetHeight(self, theHeight: float) -> None: ... + def SetOrientation3D(self, theOrientation: gp_Ax2) -> None: ... + def SetOwnAnchorPoint(self, theOwnAnchorPoint: bool) -> None: ... + def SetPosition(self, thePosition: gp_Pnt) -> None: ... + def SetText(self, theText: str) -> None: ... + def SetTransparency(self, theValue: float) -> None: ... + def SetVJustification(self, theVJust: Graphic3d_VerticalTextAlignment) -> None: ... + def SetZoomable(self, theIsZoomable: bool) -> None: ... + def Text(self) -> str: ... + def TextFormatter(self) -> False: ... + def UnsetOrientation3D(self) -> None: ... + def UnsetTransparency(self) -> None: ... class AIS_Triangulation(AIS_InteractiveObject): - def __init__(self, aTriangulation: Poly_Triangulation) -> None: ... - def GetColors(self) -> TColStd_HArray1OfInteger: ... - def GetTriangulation(self) -> Poly_Triangulation: ... - def HasVertexColors(self) -> bool: ... - def SetColors(self, aColor: TColStd_HArray1OfInteger) -> None: ... - def SetTransparency(self, aValue: Optional[float] = 0.6) -> None: ... - def SetTriangulation(self, aTriangulation: Poly_Triangulation) -> None: ... - def UnsetTransparency(self) -> None: ... + def __init__(self, aTriangulation: Poly_Triangulation) -> None: ... + def GetColors(self) -> TColStd_HArray1OfInteger: ... + def GetTriangulation(self) -> Poly_Triangulation: ... + def HasVertexColors(self) -> bool: ... + def SetColors(self, aColor: TColStd_HArray1OfInteger) -> None: ... + def SetTransparency(self, aValue: Optional[float] = 0.6) -> None: ... + def SetTriangulation(self, aTriangulation: Poly_Triangulation) -> None: ... + def UnsetTransparency(self) -> None: ... class AIS_Trihedron(AIS_InteractiveObject): - def __init__(self, theComponent: Geom_Axis2Placement) -> None: ... - def AcceptDisplayMode(self, theMode: int) -> bool: ... - def ArrowColor(self) -> Quantity_Color: ... - def ClearSelected(self) -> None: ... - def Component(self) -> Geom_Axis2Placement: ... - def DatumDisplayMode(self) -> Prs3d_DatumMode: ... - def DatumPartColor(self, thePart: Prs3d_DatumParts) -> Quantity_Color: ... - def HasArrowColor(self) -> bool: ... - def HasOwnSize(self) -> bool: ... - def HasTextColor(self) -> bool: ... - def HilightOwnerWithColor(self, thePM: PrsMgr_PresentationManager3d, theStyle: Prs3d_Drawer, theOwner: SelectMgr_EntityOwner) -> None: ... - def HilightSelected(self, thePM: PrsMgr_PresentationManager3d, theOwners: SelectMgr_SequenceOfOwner) -> None: ... - def Label(self, thePart: Prs3d_DatumParts) -> TCollection_ExtendedString: ... - def SelectionPriority(self, thePart: Prs3d_DatumParts) -> int: ... - def SetArrowColor(self, theColor: Quantity_Color) -> None: ... - def SetAxisColor(self, theColor: Quantity_Color) -> None: ... - def SetColor(self, theColor: Quantity_Color) -> None: ... - def SetComponent(self, theComponent: Geom_Axis2Placement) -> None: ... - def SetDatumDisplayMode(self, theMode: Prs3d_DatumMode) -> None: ... - def SetDatumPartColor(self, thePart: Prs3d_DatumParts, theColor: Quantity_Color) -> None: ... - def SetDrawArrows(self, theToDraw: bool) -> None: ... - def SetLabel(self, thePart: Prs3d_DatumParts, thePriority: TCollection_ExtendedString) -> None: ... - def SetOriginColor(self, theColor: Quantity_Color) -> None: ... - def SetSelectionPriority(self, thePart: Prs3d_DatumParts, thePriority: int) -> None: ... - def SetSize(self, theValue: float) -> None: ... - def SetTextColor(self, theColor: Quantity_Color) -> None: ... - def SetXAxisColor(self, theColor: Quantity_Color) -> None: ... - def SetYAxisColor(self, theColor: Quantity_Color) -> None: ... - def Signature(self) -> int: ... - def Size(self) -> float: ... - def TextColor(self) -> Quantity_Color: ... - def ToDrawArrows(self) -> bool: ... - def Type(self) -> AIS_KindOfInteractive: ... - def UnsetColor(self) -> None: ... - def UnsetSize(self) -> None: ... + def __init__(self, theComponent: Geom_Axis2Placement) -> None: ... + def AcceptDisplayMode(self, theMode: int) -> bool: ... + def ArrowColor(self) -> Quantity_Color: ... + def ClearSelected(self) -> None: ... + def Component(self) -> Geom_Axis2Placement: ... + def DatumDisplayMode(self) -> Prs3d_DatumMode: ... + def DatumPartColor(self, thePart: Prs3d_DatumParts) -> Quantity_Color: ... + def HasArrowColor(self) -> bool: ... + def HasOwnSize(self) -> bool: ... + def HasTextColor(self) -> bool: ... + def HilightOwnerWithColor( + self, + thePM: PrsMgr_PresentationManager, + theStyle: Prs3d_Drawer, + theOwner: SelectMgr_EntityOwner, + ) -> None: ... + def HilightSelected( + self, thePM: PrsMgr_PresentationManager, theOwners: SelectMgr_SequenceOfOwner + ) -> None: ... + def Label(self, thePart: Prs3d_DatumParts) -> str: ... + def SelectionPriority(self, thePart: Prs3d_DatumParts) -> int: ... + @overload + def SetArrowColor(self, theColor: Quantity_Color) -> None: ... + @overload + def SetArrowColor( + self, thePart: Prs3d_DatumParts, theColor: Quantity_Color + ) -> None: ... + def SetAxisColor(self, theColor: Quantity_Color) -> None: ... + def SetColor(self, theColor: Quantity_Color) -> None: ... + def SetComponent(self, theComponent: Geom_Axis2Placement) -> None: ... + def SetDatumDisplayMode(self, theMode: Prs3d_DatumMode) -> None: ... + def SetDatumPartColor( + self, thePart: Prs3d_DatumParts, theColor: Quantity_Color + ) -> None: ... + def SetDrawArrows(self, theToDraw: bool) -> None: ... + def SetLabel(self, thePart: Prs3d_DatumParts, theName: str) -> None: ... + def SetOriginColor(self, theColor: Quantity_Color) -> None: ... + def SetSelectionPriority( + self, thePart: Prs3d_DatumParts, thePriority: int + ) -> None: ... + def SetSize(self, theValue: float) -> None: ... + @overload + def SetTextColor(self, theColor: Quantity_Color) -> None: ... + @overload + def SetTextColor( + self, thePart: Prs3d_DatumParts, theColor: Quantity_Color + ) -> None: ... + def SetXAxisColor(self, theColor: Quantity_Color) -> None: ... + def SetYAxisColor(self, theColor: Quantity_Color) -> None: ... + def Signature(self) -> int: ... + def Size(self) -> float: ... + def TextColor(self) -> Quantity_Color: ... + def ToDrawArrows(self) -> bool: ... + def Type(self) -> AIS_KindOfInteractive: ... + def UnsetColor(self) -> None: ... + def UnsetSize(self) -> None: ... class AIS_ViewCube(AIS_InteractiveObject): - def __init__(self) -> None: ... - def AcceptDisplayMode(self, theMode: int) -> bool: ... - def AxesConeRadius(self) -> float: ... - def AxesPadding(self) -> float: ... - def AxesRadius(self) -> float: ... - def AxesSphereRadius(self) -> float: ... - def AxisLabel(self, theAxis: Prs3d_DatumParts) -> TCollection_AsciiString: ... - def BoxColor(self) -> Quantity_Color: ... - def BoxCornerMinSize(self) -> float: ... - def BoxCornerStyle(self) -> Prs3d_ShadingAspect: ... - def BoxEdgeGap(self) -> float: ... - def BoxEdgeMinSize(self) -> float: ... - def BoxEdgeStyle(self) -> Prs3d_ShadingAspect: ... - def BoxFacetExtension(self) -> float: ... - def BoxSideLabel(self, theSide: V3d_TypeOfOrientation) -> TCollection_AsciiString: ... - def BoxSideStyle(self) -> Prs3d_ShadingAspect: ... - def BoxTransparency(self) -> float: ... - def ClearSelected(self) -> None: ... - def Compute(self, thePrsMgr: PrsMgr_PresentationManager3d, thePrs: Prs3d_Presentation, theMode: Optional[int] = 0) -> None: ... - def ComputeSelection(self, theSelection: SelectMgr_Selection, theMode: int) -> None: ... - def Duration(self) -> float: ... - def Font(self) -> TCollection_AsciiString: ... - def FontHeight(self) -> float: ... - def GlobalSelOwner(self) -> SelectMgr_EntityOwner: ... - def HandleClick(self, theOwner: AIS_ViewCubeOwner) -> None: ... - def HasAnimation(self) -> bool: ... - def HilightOwnerWithColor(self, thePM: PrsMgr_PresentationManager3d, theStyle: Prs3d_Drawer, theOwner: SelectMgr_EntityOwner) -> None: ... - def HilightSelected(self, thePM: PrsMgr_PresentationManager3d, theSeq: SelectMgr_SequenceOfOwner) -> None: ... - def InnerColor(self) -> Quantity_Color: ... - def IsAutoHilight(self) -> bool: ... - @staticmethod - def IsBoxCorner(theOrient: V3d_TypeOfOrientation) -> False: ... - @staticmethod - def IsBoxEdge(theOrient: V3d_TypeOfOrientation) -> False: ... - @staticmethod - def IsBoxSide(theOrient: V3d_TypeOfOrientation) -> False: ... - def IsFixedAnimationLoop(self) -> bool: ... - def IsYup(self) -> bool: ... - def ResetStyles(self) -> None: ... - def RoundRadius(self) -> float: ... - def SetAxesConeRadius(self, theRadius: float) -> None: ... - def SetAxesLabels(self, theX: TCollection_AsciiString, theY: TCollection_AsciiString, theZ: TCollection_AsciiString) -> None: ... - def SetAxesPadding(self, theValue: float) -> None: ... - def SetAxesRadius(self, theRadius: float) -> None: ... - def SetAxesSphereRadius(self, theRadius: float) -> None: ... - def SetBoxColor(self, theColor: Quantity_Color) -> None: ... - def SetBoxCornerMinSize(self, theValue: float) -> None: ... - def SetBoxEdgeGap(self, theValue: float) -> None: ... - def SetBoxEdgeMinSize(self, theValue: float) -> None: ... - def SetBoxFacetExtension(self, theValue: float) -> None: ... - def SetBoxSideLabel(self, theSide: V3d_TypeOfOrientation, theLabel: TCollection_AsciiString) -> None: ... - def SetBoxTransparency(self, theValue: float) -> None: ... - def SetColor(self, theColor: Quantity_Color) -> None: ... - def SetDrawAxes(self, theValue: bool) -> None: ... - def SetDrawEdges(self, theValue: bool) -> None: ... - def SetDrawVertices(self, theValue: bool) -> None: ... - def SetDuration(self, theValue: float) -> None: ... - def SetFitSelected(self, theToFitSelected: bool) -> None: ... - def SetFont(self, theFont: TCollection_AsciiString) -> None: ... - def SetFontHeight(self, theValue: float) -> None: ... - def SetInnerColor(self, theColor: Quantity_Color) -> None: ... - def SetMaterial(self, theMat: Graphic3d_MaterialAspect) -> None: ... - def SetResetCamera(self, theToReset: bool) -> None: ... - def SetRoundRadius(self, theValue: float) -> None: ... - def SetSize(self, theValue: float, theToAdaptAnother: Optional[bool] = true) -> None: ... - def SetTextColor(self, theColor: Quantity_Color) -> None: ... - def SetTransparency(self, theValue: float) -> None: ... - def SetViewAnimation(self, theAnimation: AIS_AnimationCamera) -> None: ... - def SetYup(self, theIsYup: bool, theToUpdateLabels: Optional[bool] = True) -> None: ... - def Size(self) -> float: ... - def StartAnimation(self, theOwner: AIS_ViewCubeOwner) -> None: ... - def TextColor(self) -> Quantity_Color: ... - def ToAutoStartAnimation(self) -> bool: ... - def ToDrawAxes(self) -> bool: ... - def ToDrawEdges(self) -> bool: ... - def ToDrawVertices(self) -> bool: ... - def ToFitSelected(self) -> bool: ... - def ToResetCameraUp(self) -> bool: ... - def UnsetAttributes(self) -> None: ... - def UnsetColor(self) -> None: ... - def UnsetHilightAttributes(self) -> None: ... - def UnsetMaterial(self) -> None: ... - def UnsetTransparency(self) -> None: ... - def UpdateAnimation(self, theToUpdate: bool) -> bool: ... - def ViewAnimation(self) -> AIS_AnimationCamera: ... + def __init__(self) -> None: ... + def AcceptDisplayMode(self, theMode: int) -> bool: ... + def AxesConeRadius(self) -> float: ... + def AxesPadding(self) -> float: ... + def AxesRadius(self) -> float: ... + def AxesSphereRadius(self) -> float: ... + def AxisLabel(self, theAxis: Prs3d_DatumParts) -> str: ... + def BoxColor(self) -> Quantity_Color: ... + def BoxCornerMinSize(self) -> float: ... + def BoxCornerStyle(self) -> Prs3d_ShadingAspect: ... + def BoxEdgeGap(self) -> float: ... + def BoxEdgeMinSize(self) -> float: ... + def BoxEdgeStyle(self) -> Prs3d_ShadingAspect: ... + def BoxFacetExtension(self) -> float: ... + def BoxSideLabel(self, theSide: V3d_TypeOfOrientation) -> str: ... + def BoxSideStyle(self) -> Prs3d_ShadingAspect: ... + def BoxTransparency(self) -> float: ... + def ClearSelected(self) -> None: ... + def Compute( + self, + thePrsMgr: PrsMgr_PresentationManager, + thePrs: Prs3d_Presentation, + theMode: Optional[int] = 0, + ) -> None: ... + def ComputeSelection( + self, theSelection: SelectMgr_Selection, theMode: int + ) -> None: ... + def Duration(self) -> float: ... + def Font(self) -> str: ... + def FontHeight(self) -> float: ... + def GlobalSelOwner(self) -> SelectMgr_EntityOwner: ... + def HandleClick(self, theOwner: AIS_ViewCubeOwner) -> None: ... + def HasAnimation(self) -> bool: ... + def HilightOwnerWithColor( + self, + thePM: PrsMgr_PresentationManager, + theStyle: Prs3d_Drawer, + theOwner: SelectMgr_EntityOwner, + ) -> None: ... + def HilightSelected( + self, thePM: PrsMgr_PresentationManager, theSeq: SelectMgr_SequenceOfOwner + ) -> None: ... + def InnerColor(self) -> Quantity_Color: ... + def IsAutoHilight(self) -> bool: ... + @staticmethod + def IsBoxCorner(theOrient: V3d_TypeOfOrientation) -> bool: ... + @staticmethod + def IsBoxEdge(theOrient: V3d_TypeOfOrientation) -> bool: ... + @staticmethod + def IsBoxSide(theOrient: V3d_TypeOfOrientation) -> bool: ... + def IsFixedAnimationLoop(self) -> bool: ... + def IsYup(self) -> bool: ... + def ResetStyles(self) -> None: ... + def RoundRadius(self) -> float: ... + def SetAutoStartAnimation(self, theToEnable: bool) -> None: ... + def SetAxesConeRadius(self, theRadius: float) -> None: ... + def SetAxesLabels(self, theX: str, theY: str, theZ: str) -> None: ... + def SetAxesPadding(self, theValue: float) -> None: ... + def SetAxesRadius(self, theRadius: float) -> None: ... + def SetAxesSphereRadius(self, theRadius: float) -> None: ... + def SetBoxColor(self, theColor: Quantity_Color) -> None: ... + def SetBoxCornerMinSize(self, theValue: float) -> None: ... + def SetBoxEdgeGap(self, theValue: float) -> None: ... + def SetBoxEdgeMinSize(self, theValue: float) -> None: ... + def SetBoxFacetExtension(self, theValue: float) -> None: ... + def SetBoxSideLabel( + self, theSide: V3d_TypeOfOrientation, theLabel: str + ) -> None: ... + def SetBoxTransparency(self, theValue: float) -> None: ... + def SetColor(self, theColor: Quantity_Color) -> None: ... + def SetDrawAxes(self, theValue: bool) -> None: ... + def SetDrawEdges(self, theValue: bool) -> None: ... + def SetDrawVertices(self, theValue: bool) -> None: ... + def SetDuration(self, theValue: float) -> None: ... + def SetFitSelected(self, theToFitSelected: bool) -> None: ... + def SetFixedAnimationLoop(self, theToEnable: bool) -> None: ... + def SetFont(self, theFont: str) -> None: ... + def SetFontHeight(self, theValue: float) -> None: ... + def SetInnerColor(self, theColor: Quantity_Color) -> None: ... + def SetMaterial(self, theMat: Graphic3d_MaterialAspect) -> None: ... + def SetResetCamera(self, theToReset: bool) -> None: ... + def SetRoundRadius(self, theValue: float) -> None: ... + def SetSize( + self, theValue: float, theToAdaptAnother: Optional[bool] = true + ) -> None: ... + def SetTextColor(self, theColor: Quantity_Color) -> None: ... + def SetTransparency(self, theValue: float) -> None: ... + def SetViewAnimation(self, theAnimation: AIS_AnimationCamera) -> None: ... + def SetYup( + self, theIsYup: bool, theToUpdateLabels: Optional[bool] = True + ) -> None: ... + def Size(self) -> float: ... + def StartAnimation(self, theOwner: AIS_ViewCubeOwner) -> None: ... + def TextColor(self) -> Quantity_Color: ... + def ToAutoStartAnimation(self) -> bool: ... + def ToDrawAxes(self) -> bool: ... + def ToDrawEdges(self) -> bool: ... + def ToDrawVertices(self) -> bool: ... + def ToFitSelected(self) -> bool: ... + def ToResetCameraUp(self) -> bool: ... + def UnsetAttributes(self) -> None: ... + def UnsetColor(self) -> None: ... + def UnsetHilightAttributes(self) -> None: ... + def UnsetMaterial(self) -> None: ... + def UnsetTransparency(self) -> None: ... + def UpdateAnimation(self, theToUpdate: bool) -> bool: ... + def ViewAnimation(self) -> AIS_AnimationCamera: ... class AIS_XRTrackedDevice(AIS_InteractiveObject): - @overload - def __init__(self, theTris: Graphic3d_ArrayOfTriangles, theTexture: Image_Texture) -> None: ... - @overload - def __init__(self) -> None: ... - def LaserColor(self) -> Quantity_Color: ... - def LaserLength(self) -> float: ... - def Role(self) -> Aspect_XRTrackedDeviceRole: ... - def SetLaserColor(self, theColor: Quantity_Color) -> None: ... - def SetLaserLength(self, theLength: float) -> None: ... - def SetRole(self, theRole: Aspect_XRTrackedDeviceRole) -> None: ... - def SetUnitFactor(self, theFactor: float) -> None: ... - def UnitFactor(self) -> float: ... + @overload + def __init__( + self, theTris: Graphic3d_ArrayOfTriangles, theTexture: Image_Texture + ) -> None: ... + @overload + def __init__(self) -> None: ... + def LaserColor(self) -> Quantity_Color: ... + def LaserLength(self) -> float: ... + def Role(self) -> Aspect_XRTrackedDeviceRole: ... + def SetLaserColor(self, theColor: Quantity_Color) -> None: ... + def SetLaserLength(self, theLength: float) -> None: ... + def SetRole(self, theRole: Aspect_XRTrackedDeviceRole) -> None: ... + def SetUnitFactor(self, theFactor: float) -> None: ... + def UnitFactor(self) -> float: ... + +class AIS_AnimationAxisRotation(AIS_BaseAnimationObject): + def __init__( + self, + theAnimationName: str, + theContext: AIS_InteractiveContext, + theObject: AIS_InteractiveObject, + theAxis: gp_Ax1, + theAngleStart: float, + theAngleEnd: float, + ) -> None: ... + +class AIS_AnimationObject(AIS_BaseAnimationObject): + def __init__( + self, + theAnimationName: str, + theContext: AIS_InteractiveContext, + theObject: AIS_InteractiveObject, + theTrsfStart: gp_Trsf, + theTrsfEnd: gp_Trsf, + ) -> None: ... class AIS_ColoredShape(AIS_Shape): - @overload - def __init__(self, theShape: TopoDS_Shape) -> None: ... - @overload - def __init__(self, theShape: AIS_Shape) -> None: ... - def ChangeCustomAspectsMap(self) -> AIS_DataMapOfShapeDrawer: ... - def ClearCustomAspects(self) -> None: ... - def CustomAspects(self, theShape: TopoDS_Shape) -> AIS_ColoredDrawer: ... - def CustomAspectsMap(self) -> AIS_DataMapOfShapeDrawer: ... - def SetColor(self, theColor: Quantity_Color) -> None: ... - def SetCustomColor(self, theShape: TopoDS_Shape, theColor: Quantity_Color) -> None: ... - def SetCustomTransparency(self, theShape: TopoDS_Shape, theTransparency: float) -> None: ... - def SetCustomWidth(self, theShape: TopoDS_Shape, theLineWidth: float) -> None: ... - def SetMaterial(self, theAspect: Graphic3d_MaterialAspect) -> None: ... - def SetTransparency(self, theValue: float) -> None: ... - def SetWidth(self, theLineWidth: float) -> None: ... - def UnsetCustomAspects(self, theShape: TopoDS_Shape, theToUnregister: Optional[bool] = False) -> None: ... - def UnsetTransparency(self) -> None: ... - def UnsetWidth(self) -> None: ... + @overload + def __init__(self, theShape: TopoDS_Shape) -> None: ... + @overload + def __init__(self, theShape: AIS_Shape) -> None: ... + def ChangeCustomAspectsMap(self) -> AIS_DataMapOfShapeDrawer: ... + def ClearCustomAspects(self) -> None: ... + def CustomAspects(self, theShape: TopoDS_Shape) -> AIS_ColoredDrawer: ... + def CustomAspectsMap(self) -> AIS_DataMapOfShapeDrawer: ... + def SetColor(self, theColor: Quantity_Color) -> None: ... + def SetCustomColor( + self, theShape: TopoDS_Shape, theColor: Quantity_Color + ) -> None: ... + def SetCustomTransparency( + self, theShape: TopoDS_Shape, theTransparency: float + ) -> None: ... + def SetCustomWidth(self, theShape: TopoDS_Shape, theLineWidth: float) -> None: ... + def SetMaterial(self, theAspect: Graphic3d_MaterialAspect) -> None: ... + def SetTransparency(self, theValue: float) -> None: ... + def SetWidth(self, theLineWidth: float) -> None: ... + def UnsetCustomAspects( + self, theShape: TopoDS_Shape, theToUnregister: Optional[bool] = False + ) -> None: ... + def UnsetTransparency(self) -> None: ... + def UnsetWidth(self) -> None: ... class AIS_TexturedShape(AIS_Shape): - def __init__(self, theShape: TopoDS_Shape) -> None: ... - def AcceptDisplayMode(self, theMode: int) -> bool: ... - def DisableTextureModulate(self) -> None: ... - def EnableTextureModulate(self) -> None: ... - def SetColor(self, theColor: Quantity_Color) -> None: ... - def SetMaterial(self, theAspect: Graphic3d_MaterialAspect) -> None: ... - def SetTextureFileName(self, theTextureFileName: TCollection_AsciiString) -> None: ... - def SetTextureMapOff(self) -> None: ... - def SetTextureMapOn(self) -> None: ... - def SetTextureOrigin(self, theToSetTextureOrigin: bool, theUOrigin: Optional[float] = 0.0, theVOrigin: Optional[float] = 0.0) -> None: ... - def SetTexturePixMap(self, theTexturePixMap: Image_PixMap) -> None: ... - def SetTextureRepeat(self, theToRepeat: bool, theURepeat: Optional[float] = 1.0, theVRepeat: Optional[float] = 1.0) -> None: ... - def SetTextureScale(self, theToSetTextureScale: bool, theScaleU: Optional[float] = 1.0, theScaleV: Optional[float] = 1.0) -> None: ... - def TextureFile(self) -> str: ... - def TextureMapState(self) -> bool: ... - def TextureModulate(self) -> bool: ... - def TextureOrigin(self) -> bool: ... - def TexturePixMap(self) -> Image_PixMap: ... - def TextureRepeat(self) -> bool: ... - def TextureScale(self) -> bool: ... - def TextureScaleU(self) -> float: ... - def TextureScaleV(self) -> float: ... - def TextureUOrigin(self) -> float: ... - def TextureVOrigin(self) -> float: ... - def URepeat(self) -> float: ... - def UnsetColor(self) -> None: ... - def UnsetMaterial(self) -> None: ... - def UpdateAttributes(self) -> None: ... - def VRepeat(self) -> float: ... + def __init__(self, theShape: TopoDS_Shape) -> None: ... + def AcceptDisplayMode(self, theMode: int) -> bool: ... + def DisableTextureModulate(self) -> None: ... + def EnableTextureModulate(self) -> None: ... + def SetColor(self, theColor: Quantity_Color) -> None: ... + def SetMaterial(self, theAspect: Graphic3d_MaterialAspect) -> None: ... + def SetTextureFileName(self, theTextureFileName: str) -> None: ... + def SetTextureMapOff(self) -> None: ... + def SetTextureMapOn(self) -> None: ... + def SetTextureOrigin( + self, + theToSetTextureOrigin: bool, + theUOrigin: Optional[float] = 0.0, + theVOrigin: Optional[float] = 0.0, + ) -> None: ... + def SetTexturePixMap(self, theTexturePixMap: Image_PixMap) -> None: ... + def SetTextureRepeat( + self, + theToRepeat: bool, + theURepeat: Optional[float] = 1.0, + theVRepeat: Optional[float] = 1.0, + ) -> None: ... + def SetTextureScale( + self, + theToSetTextureScale: bool, + theScaleU: Optional[float] = 1.0, + theScaleV: Optional[float] = 1.0, + ) -> None: ... + def TextureFile(self) -> str: ... + def TextureMapState(self) -> bool: ... + def TextureModulate(self) -> bool: ... + def TextureOrigin(self) -> bool: ... + def TexturePixMap(self) -> Image_PixMap: ... + def TextureRepeat(self) -> bool: ... + def TextureScale(self) -> bool: ... + def TextureScaleU(self) -> float: ... + def TextureScaleV(self) -> float: ... + def TextureUOrigin(self) -> float: ... + def TextureVOrigin(self) -> float: ... + def URepeat(self) -> float: ... + def UnsetColor(self) -> None: ... + def UnsetMaterial(self) -> None: ... + def UpdateAttributes(self) -> None: ... + def VRepeat(self) -> float: ... # harray1 classes # harray2 classes # hsequence classes - -AIS_GraphicTool_GetInteriorColor = AIS_GraphicTool.GetInteriorColor -AIS_GraphicTool_GetInteriorColor = AIS_GraphicTool.GetInteriorColor -AIS_GraphicTool_GetLineAtt = AIS_GraphicTool.GetLineAtt -AIS_GraphicTool_GetLineColor = AIS_GraphicTool.GetLineColor -AIS_GraphicTool_GetLineColor = AIS_GraphicTool.GetLineColor -AIS_GraphicTool_GetLineType = AIS_GraphicTool.GetLineType -AIS_GraphicTool_GetLineWidth = AIS_GraphicTool.GetLineWidth -AIS_GraphicTool_GetMaterial = AIS_GraphicTool.GetMaterial -AIS_ColorScale_FindColor = AIS_ColorScale.FindColor -AIS_ColorScale_FindColor = AIS_ColorScale.FindColor -AIS_ColorScale_MakeUniformColors = AIS_ColorScale.MakeUniformColors -AIS_ColorScale_hueToValidRange = AIS_ColorScale.hueToValidRange -AIS_Shape_SelectionMode = AIS_Shape.SelectionMode -AIS_Shape_SelectionType = AIS_Shape.SelectionType -AIS_Shape_computeHlrPresentation = AIS_Shape.computeHlrPresentation -AIS_ViewCube_IsBoxCorner = AIS_ViewCube.IsBoxCorner -AIS_ViewCube_IsBoxEdge = AIS_ViewCube.IsBoxEdge -AIS_ViewCube_IsBoxSide = AIS_ViewCube.IsBoxSide diff --git a/src/SWIG_files/wrapper/APIHeaderSection.i b/src/SWIG_files/wrapper/APIHeaderSection.i new file mode 100644 index 000000000..f5d74898b --- /dev/null +++ b/src/SWIG_files/wrapper/APIHeaderSection.i @@ -0,0 +1,939 @@ +/* +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) + +This file is part of pythonOCC. +pythonOCC is free software: you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +pythonOCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Lesser General 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 APIHEADERSECTIONDOCSTRING +"APIHeaderSection module, see official documentation at +https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_apiheadersection.html" +%enddef +%module (package="OCC.Core", docstring=APIHEADERSECTIONDOCSTRING) APIHeaderSection + + +%{ +#ifdef WNT +#pragma warning(disable : 4716) +#endif +%} + +%include ../common/CommonIncludes.i +%include ../common/ExceptionCatcher.i +%include ../common/FunctionTransformers.i +%include ../common/EnumTemplates.i +%include ../common/Operators.i +%include ../common/OccHandle.i +%include ../common/IOStream.i +%include ../common/ArrayMacros.i + + +%{ +#include + +//Dependencies +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +%}; +%import Standard.i +%import NCollection.i +%import IFSelect.i +%import Interface.i +%import TCollection.i +%import StepData.i +%import HeaderSection.i + +%pythoncode { +from enum import IntEnum +from OCC.Core.Exception import * +}; + +/* public enums */ +/* end public enums declaration */ + +/* python proxy classes for enums */ +%pythoncode { +}; +/* end python proxy for enums */ + +/* handles */ +%wrap_handle(APIHeaderSection_EditHeader) +/* end handles declaration */ + +/* templates */ +/* end templates declaration */ + +/* typedefs */ +/* end typedefs declaration */ + +/************************************ +* class APIHeaderSection_EditHeader * +************************************/ +class APIHeaderSection_EditHeader : public IFSelect_Editor { + public: + /****** APIHeaderSection_EditHeader::APIHeaderSection_EditHeader ******/ + /****** md5 signature: 2bf08a1315df936c9484c98a1d1baf5a ******/ + %feature("compactdefaultargs") APIHeaderSection_EditHeader; + %feature("autodoc", "Return +------- +None + +Description +----------- +No available documentation. +") APIHeaderSection_EditHeader; + APIHeaderSection_EditHeader(); + + /****** APIHeaderSection_EditHeader::Apply ******/ + /****** md5 signature: 7128480b7f4b1ff6fd959731640e27fc ******/ + %feature("compactdefaultargs") Apply; + %feature("autodoc", " +Parameters +---------- +form: IFSelect_EditForm +ent: Standard_Transient +model: Interface_InterfaceModel + +Return +------- +bool + +Description +----------- +No available documentation. +") Apply; + Standard_Boolean Apply(const opencascade::handle & form, const opencascade::handle & ent, const opencascade::handle & model); + + /****** APIHeaderSection_EditHeader::Label ******/ + /****** md5 signature: e2fbf0e262882b3e9ec00c539ad3471b ******/ + %feature("compactdefaultargs") Label; + %feature("autodoc", "Return +------- +TCollection_AsciiString + +Description +----------- +No available documentation. +") Label; + TCollection_AsciiString Label(); + + /****** APIHeaderSection_EditHeader::Load ******/ + /****** md5 signature: fbb84192d1ec7737c4c84905239a2df8 ******/ + %feature("compactdefaultargs") Load; + %feature("autodoc", " +Parameters +---------- +form: IFSelect_EditForm +ent: Standard_Transient +model: Interface_InterfaceModel + +Return +------- +bool + +Description +----------- +No available documentation. +") Load; + Standard_Boolean Load(const opencascade::handle & form, const opencascade::handle & ent, const opencascade::handle & model); + + /****** APIHeaderSection_EditHeader::Recognize ******/ + /****** md5 signature: 745b42e0c753cb6baed4d66bbf94e5b8 ******/ + %feature("compactdefaultargs") Recognize; + %feature("autodoc", " +Parameters +---------- +form: IFSelect_EditForm + +Return +------- +bool + +Description +----------- +No available documentation. +") Recognize; + Standard_Boolean Recognize(const opencascade::handle & form); + + /****** APIHeaderSection_EditHeader::StringValue ******/ + /****** md5 signature: 4371620dd4c31b906a08f6f8ee98f04a ******/ + %feature("compactdefaultargs") StringValue; + %feature("autodoc", " +Parameters +---------- +form: IFSelect_EditForm +num: int + +Return +------- +opencascade::handle + +Description +----------- +No available documentation. +") StringValue; + opencascade::handle StringValue(const opencascade::handle & form, const Standard_Integer num); + +}; + + +%make_alias(APIHeaderSection_EditHeader) + +%extend APIHeaderSection_EditHeader { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/************************************ +* class APIHeaderSection_MakeHeader * +************************************/ +class APIHeaderSection_MakeHeader { + public: + /****** APIHeaderSection_MakeHeader::APIHeaderSection_MakeHeader ******/ + /****** md5 signature: 231ae7cfabfb8525a17a55b5e8098f01 ******/ + %feature("compactdefaultargs") APIHeaderSection_MakeHeader; + %feature("autodoc", " +Parameters +---------- +shapetype: int (optional, default to 0) + +Return +------- +None + +Description +----------- +Prepares a new MakeHeader from scratch. +") APIHeaderSection_MakeHeader; + APIHeaderSection_MakeHeader(const Standard_Integer shapetype = 0); + + /****** APIHeaderSection_MakeHeader::APIHeaderSection_MakeHeader ******/ + /****** md5 signature: 3bf1a3faeeaf6e2623b6097489a9d879 ******/ + %feature("compactdefaultargs") APIHeaderSection_MakeHeader; + %feature("autodoc", " +Parameters +---------- +model: StepData_StepModel + +Return +------- +None + +Description +----------- +Prepares a MakeHeader from the content of a StepModel See IsDone to know if the Header is well defined. +") APIHeaderSection_MakeHeader; + APIHeaderSection_MakeHeader(const opencascade::handle & model); + + /****** APIHeaderSection_MakeHeader::AddSchemaIdentifier ******/ + /****** md5 signature: fb971c31ef622fe2699e9896a61d0b7c ******/ + %feature("compactdefaultargs") AddSchemaIdentifier; + %feature("autodoc", " +Parameters +---------- +aSchemaIdentifier: TCollection_HAsciiString + +Return +------- +None + +Description +----------- +Add a subname of schema (if not yet in the list). +") AddSchemaIdentifier; + void AddSchemaIdentifier(const opencascade::handle & aSchemaIdentifier); + + /****** APIHeaderSection_MakeHeader::Apply ******/ + /****** md5 signature: 7a18b7c9dc5aace0d13d1301acc1073f ******/ + %feature("compactdefaultargs") Apply; + %feature("autodoc", " +Parameters +---------- +model: StepData_StepModel + +Return +------- +None + +Description +----------- +Creates an empty header for a new STEP model and allows the header fields to be completed. +") Apply; + void Apply(const opencascade::handle & model); + + /****** APIHeaderSection_MakeHeader::Author ******/ + /****** md5 signature: 23de40daf6aa0108289fcab1cc10b710 ******/ + %feature("compactdefaultargs") Author; + %feature("autodoc", "Return +------- +opencascade::handle + +Description +----------- +No available documentation. +") Author; + opencascade::handle Author(); + + /****** APIHeaderSection_MakeHeader::AuthorValue ******/ + /****** md5 signature: 053bae3a6f3b50b0b3cbcc10f1448e71 ******/ + %feature("compactdefaultargs") AuthorValue; + %feature("autodoc", " +Parameters +---------- +num: int + +Return +------- +opencascade::handle + +Description +----------- +Returns the value of the name attribute for the file_name entity. +") AuthorValue; + opencascade::handle AuthorValue(const Standard_Integer num); + + /****** APIHeaderSection_MakeHeader::Authorisation ******/ + /****** md5 signature: 74cf5a9ad29d5b5b00394896d05f442b ******/ + %feature("compactdefaultargs") Authorisation; + %feature("autodoc", "Return +------- +opencascade::handle + +Description +----------- +Returns the value of the authorization attribute for the file_name entity. +") Authorisation; + opencascade::handle Authorisation(); + + /****** APIHeaderSection_MakeHeader::Description ******/ + /****** md5 signature: 9b909686a25b7d6265affec4e3820e98 ******/ + %feature("compactdefaultargs") Description; + %feature("autodoc", "Return +------- +opencascade::handle + +Description +----------- +No available documentation. +") Description; + opencascade::handle Description(); + + /****** APIHeaderSection_MakeHeader::DescriptionValue ******/ + /****** md5 signature: c5b8ce5eb4616a323970d217aa88af81 ******/ + %feature("compactdefaultargs") DescriptionValue; + %feature("autodoc", " +Parameters +---------- +num: int + +Return +------- +opencascade::handle + +Description +----------- +Returns the value of the description attribute for the file_description entity. +") DescriptionValue; + opencascade::handle DescriptionValue(const Standard_Integer num); + + /****** APIHeaderSection_MakeHeader::FdValue ******/ + /****** md5 signature: 399c35af474cdbfb7c29fa336d37d16b ******/ + %feature("compactdefaultargs") FdValue; + %feature("autodoc", "Return +------- +opencascade::handle + +Description +----------- +Returns the file_description entity. Returns an empty entity if the file_description entity is not initialized. +") FdValue; + opencascade::handle FdValue(); + + /****** APIHeaderSection_MakeHeader::FnValue ******/ + /****** md5 signature: 1fce139b98d1ddb3cc6f35b294bb9be7 ******/ + %feature("compactdefaultargs") FnValue; + %feature("autodoc", "Return +------- +opencascade::handle + +Description +----------- +Returns the file_name entity. Returns an empty entity if the file_name entity is not initialized. +") FnValue; + opencascade::handle FnValue(); + + /****** APIHeaderSection_MakeHeader::FsValue ******/ + /****** md5 signature: c8a4cff4875f3713ab08524574c21b3d ******/ + %feature("compactdefaultargs") FsValue; + %feature("autodoc", "Return +------- +opencascade::handle + +Description +----------- +Returns the file_schema entity. Returns an empty entity if the file_schema entity is not initialized. +") FsValue; + opencascade::handle FsValue(); + + /****** APIHeaderSection_MakeHeader::HasFd ******/ + /****** md5 signature: 3e3e6b526b3805f902bd9b9718341d83 ******/ + %feature("compactdefaultargs") HasFd; + %feature("autodoc", "Return +------- +bool + +Description +----------- +Checks whether there is a file_description entity. Returns True if there is one. +") HasFd; + Standard_Boolean HasFd(); + + /****** APIHeaderSection_MakeHeader::HasFn ******/ + /****** md5 signature: 22abe5d4b1e7cc9f85b888c01240ca09 ******/ + %feature("compactdefaultargs") HasFn; + %feature("autodoc", "Return +------- +bool + +Description +----------- +Checks whether there is a file_name entity. Returns True if there is one. +") HasFn; + Standard_Boolean HasFn(); + + /****** APIHeaderSection_MakeHeader::HasFs ******/ + /****** md5 signature: 89a6bd5da2c2843e66a711cfaa6d599b ******/ + %feature("compactdefaultargs") HasFs; + %feature("autodoc", "Return +------- +bool + +Description +----------- +Checks whether there is a file_schema entity. Returns True if there is one. +") HasFs; + Standard_Boolean HasFs(); + + /****** APIHeaderSection_MakeHeader::ImplementationLevel ******/ + /****** md5 signature: b09f681ece8c976e12d39e35c7caa9fe ******/ + %feature("compactdefaultargs") ImplementationLevel; + %feature("autodoc", "Return +------- +opencascade::handle + +Description +----------- +Returns the value of the implementation_level attribute for the file_description entity. +") ImplementationLevel; + opencascade::handle ImplementationLevel(); + + /****** APIHeaderSection_MakeHeader::Init ******/ + /****** md5 signature: 95810cfe4820451da1da0554cb350c5c ******/ + %feature("compactdefaultargs") Init; + %feature("autodoc", " +Parameters +---------- +nameval: str + +Return +------- +None + +Description +----------- +Cancels the former definition and gives a FileName To be used when a Model has no well defined Header. +") Init; + void Init(Standard_CString nameval); + + /****** APIHeaderSection_MakeHeader::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "Return +------- +bool + +Description +----------- +Returns True if all data have been defined (see also HasFn, HasFs, HasFd). +") IsDone; + Standard_Boolean IsDone(); + + /****** APIHeaderSection_MakeHeader::Name ******/ + /****** md5 signature: 6bcb97f17b57cae0750fd29eac20499c ******/ + %feature("compactdefaultargs") Name; + %feature("autodoc", "Return +------- +opencascade::handle + +Description +----------- +Returns the name attribute for the file_name entity. +") Name; + opencascade::handle Name(); + + /****** APIHeaderSection_MakeHeader::NbAuthor ******/ + /****** md5 signature: 6ca174c13a42409600e9909ad554980b ******/ + %feature("compactdefaultargs") NbAuthor; + %feature("autodoc", "Return +------- +int + +Description +----------- +Returns the number of values for the author attribute in the file_name entity. +") NbAuthor; + Standard_Integer NbAuthor(); + + /****** APIHeaderSection_MakeHeader::NbDescription ******/ + /****** md5 signature: 38d1fdc13e41b3ac019bdb2d4ba64b1e ******/ + %feature("compactdefaultargs") NbDescription; + %feature("autodoc", "Return +------- +int + +Description +----------- +Returns the number of values for the file_description entity in the STEP file header. +") NbDescription; + Standard_Integer NbDescription(); + + /****** APIHeaderSection_MakeHeader::NbOrganization ******/ + /****** md5 signature: 60ebd0ae36d49c04683d7f95b2a097f9 ******/ + %feature("compactdefaultargs") NbOrganization; + %feature("autodoc", "Return +------- +int + +Description +----------- +Returns the number of values for the organization attribute in the file_name entity. +") NbOrganization; + Standard_Integer NbOrganization(); + + /****** APIHeaderSection_MakeHeader::NbSchemaIdentifiers ******/ + /****** md5 signature: 260454647efe5048cae47a1a4cd460a4 ******/ + %feature("compactdefaultargs") NbSchemaIdentifiers; + %feature("autodoc", "Return +------- +int + +Description +----------- +Returns the number of values for the schema_identifier attribute in the file_schema entity. +") NbSchemaIdentifiers; + Standard_Integer NbSchemaIdentifiers(); + + /****** APIHeaderSection_MakeHeader::NewModel ******/ + /****** md5 signature: 35ddc5a32982d5512b348f225233e219 ******/ + %feature("compactdefaultargs") NewModel; + %feature("autodoc", " +Parameters +---------- +protocol: Interface_Protocol + +Return +------- +opencascade::handle + +Description +----------- +Builds a Header, creates a new StepModel, then applies the Header to the StepModel The Schema Name is taken from the Protocol (if it inherits from StepData, else it is left in blanks). +") NewModel; + opencascade::handle NewModel(const opencascade::handle & protocol); + + /****** APIHeaderSection_MakeHeader::Organization ******/ + /****** md5 signature: 454248c33742fc33d8c2d44c0e083d34 ******/ + %feature("compactdefaultargs") Organization; + %feature("autodoc", "Return +------- +opencascade::handle + +Description +----------- +No available documentation. +") Organization; + opencascade::handle Organization(); + + /****** APIHeaderSection_MakeHeader::OrganizationValue ******/ + /****** md5 signature: 3caa7e153a3d6decf2c39d267a41eb95 ******/ + %feature("compactdefaultargs") OrganizationValue; + %feature("autodoc", " +Parameters +---------- +num: int + +Return +------- +opencascade::handle + +Description +----------- +Returns the value of attribute organization for the file_name entity. +") OrganizationValue; + opencascade::handle OrganizationValue(const Standard_Integer num); + + /****** APIHeaderSection_MakeHeader::OriginatingSystem ******/ + /****** md5 signature: 543b855a9c992957f432135cf086f1e1 ******/ + %feature("compactdefaultargs") OriginatingSystem; + %feature("autodoc", "Return +------- +opencascade::handle + +Description +----------- +No available documentation. +") OriginatingSystem; + opencascade::handle OriginatingSystem(); + + /****** APIHeaderSection_MakeHeader::PreprocessorVersion ******/ + /****** md5 signature: 2cdc579887f56c912417c5ff0ccd068c ******/ + %feature("compactdefaultargs") PreprocessorVersion; + %feature("autodoc", "Return +------- +opencascade::handle + +Description +----------- +Returns the name of the preprocessor_version for the file_name entity. +") PreprocessorVersion; + opencascade::handle PreprocessorVersion(); + + /****** APIHeaderSection_MakeHeader::SchemaIdentifiers ******/ + /****** md5 signature: 404b25dfbdf2c6acd6d96aec78411851 ******/ + %feature("compactdefaultargs") SchemaIdentifiers; + %feature("autodoc", "Return +------- +opencascade::handle + +Description +----------- +No available documentation. +") SchemaIdentifiers; + opencascade::handle SchemaIdentifiers(); + + /****** APIHeaderSection_MakeHeader::SchemaIdentifiersValue ******/ + /****** md5 signature: ba505a8bd6bc4c707e90011f1b54457f ******/ + %feature("compactdefaultargs") SchemaIdentifiersValue; + %feature("autodoc", " +Parameters +---------- +num: int + +Return +------- +opencascade::handle + +Description +----------- +Returns the value of the schema_identifier attribute for the file_schema entity. +") SchemaIdentifiersValue; + opencascade::handle SchemaIdentifiersValue(const Standard_Integer num); + + /****** APIHeaderSection_MakeHeader::SetAuthor ******/ + /****** md5 signature: c479de6bbe2aeb24d60e92667b68a0af ******/ + %feature("compactdefaultargs") SetAuthor; + %feature("autodoc", " +Parameters +---------- +aAuthor: Interface_HArray1OfHAsciiString + +Return +------- +None + +Description +----------- +No available documentation. +") SetAuthor; + void SetAuthor(const opencascade::handle & aAuthor); + + /****** APIHeaderSection_MakeHeader::SetAuthorValue ******/ + /****** md5 signature: cc33232c8663abd7f2ca48f6203f9736 ******/ + %feature("compactdefaultargs") SetAuthorValue; + %feature("autodoc", " +Parameters +---------- +num: int +aAuthor: TCollection_HAsciiString + +Return +------- +None + +Description +----------- +No available documentation. +") SetAuthorValue; + void SetAuthorValue(const Standard_Integer num, const opencascade::handle & aAuthor); + + /****** APIHeaderSection_MakeHeader::SetAuthorisation ******/ + /****** md5 signature: dabbd55c5d2fdde44a103b7c5629df5c ******/ + %feature("compactdefaultargs") SetAuthorisation; + %feature("autodoc", " +Parameters +---------- +aAuthorisation: TCollection_HAsciiString + +Return +------- +None + +Description +----------- +No available documentation. +") SetAuthorisation; + void SetAuthorisation(const opencascade::handle & aAuthorisation); + + /****** APIHeaderSection_MakeHeader::SetDescription ******/ + /****** md5 signature: 1e04b25950c14571044a08d553341bd0 ******/ + %feature("compactdefaultargs") SetDescription; + %feature("autodoc", " +Parameters +---------- +aDescription: Interface_HArray1OfHAsciiString + +Return +------- +None + +Description +----------- +No available documentation. +") SetDescription; + void SetDescription(const opencascade::handle & aDescription); + + /****** APIHeaderSection_MakeHeader::SetDescriptionValue ******/ + /****** md5 signature: a8f2c66c20e21c2385f52a8fd239e40f ******/ + %feature("compactdefaultargs") SetDescriptionValue; + %feature("autodoc", " +Parameters +---------- +num: int +aDescription: TCollection_HAsciiString + +Return +------- +None + +Description +----------- +No available documentation. +") SetDescriptionValue; + void SetDescriptionValue(const Standard_Integer num, const opencascade::handle & aDescription); + + /****** APIHeaderSection_MakeHeader::SetImplementationLevel ******/ + /****** md5 signature: 456c2b949d32712489902f181c0fdd2e ******/ + %feature("compactdefaultargs") SetImplementationLevel; + %feature("autodoc", " +Parameters +---------- +aImplementationLevel: TCollection_HAsciiString + +Return +------- +None + +Description +----------- +No available documentation. +") SetImplementationLevel; + void SetImplementationLevel(const opencascade::handle & aImplementationLevel); + + /****** APIHeaderSection_MakeHeader::SetName ******/ + /****** md5 signature: 1e0b00d9eb163c8a0cdbb986e2ee24f6 ******/ + %feature("compactdefaultargs") SetName; + %feature("autodoc", " +Parameters +---------- +aName: TCollection_HAsciiString + +Return +------- +None + +Description +----------- +No available documentation. +") SetName; + void SetName(const opencascade::handle & aName); + + /****** APIHeaderSection_MakeHeader::SetOrganization ******/ + /****** md5 signature: 898ebb6b0632041f91e1f21a8a1ca169 ******/ + %feature("compactdefaultargs") SetOrganization; + %feature("autodoc", " +Parameters +---------- +aOrganization: Interface_HArray1OfHAsciiString + +Return +------- +None + +Description +----------- +No available documentation. +") SetOrganization; + void SetOrganization(const opencascade::handle & aOrganization); + + /****** APIHeaderSection_MakeHeader::SetOrganizationValue ******/ + /****** md5 signature: fe8a80aaa470fd8e2239e6f20b14ee57 ******/ + %feature("compactdefaultargs") SetOrganizationValue; + %feature("autodoc", " +Parameters +---------- +num: int +aOrganization: TCollection_HAsciiString + +Return +------- +None + +Description +----------- +No available documentation. +") SetOrganizationValue; + void SetOrganizationValue(const Standard_Integer num, const opencascade::handle & aOrganization); + + /****** APIHeaderSection_MakeHeader::SetOriginatingSystem ******/ + /****** md5 signature: df50b03f270ab4067d00a9b263849945 ******/ + %feature("compactdefaultargs") SetOriginatingSystem; + %feature("autodoc", " +Parameters +---------- +aOriginatingSystem: TCollection_HAsciiString + +Return +------- +None + +Description +----------- +No available documentation. +") SetOriginatingSystem; + void SetOriginatingSystem(const opencascade::handle & aOriginatingSystem); + + /****** APIHeaderSection_MakeHeader::SetPreprocessorVersion ******/ + /****** md5 signature: cf1be8e1fadf8f579cf193da0139a1b2 ******/ + %feature("compactdefaultargs") SetPreprocessorVersion; + %feature("autodoc", " +Parameters +---------- +aPreprocessorVersion: TCollection_HAsciiString + +Return +------- +None + +Description +----------- +No available documentation. +") SetPreprocessorVersion; + void SetPreprocessorVersion(const opencascade::handle & aPreprocessorVersion); + + /****** APIHeaderSection_MakeHeader::SetSchemaIdentifiers ******/ + /****** md5 signature: 37a42703d2ec981a51e918549381152b ******/ + %feature("compactdefaultargs") SetSchemaIdentifiers; + %feature("autodoc", " +Parameters +---------- +aSchemaIdentifiers: Interface_HArray1OfHAsciiString + +Return +------- +None + +Description +----------- +No available documentation. +") SetSchemaIdentifiers; + void SetSchemaIdentifiers(const opencascade::handle & aSchemaIdentifiers); + + /****** APIHeaderSection_MakeHeader::SetSchemaIdentifiersValue ******/ + /****** md5 signature: 0af7d48de5cd14a190015f37164e5d73 ******/ + %feature("compactdefaultargs") SetSchemaIdentifiersValue; + %feature("autodoc", " +Parameters +---------- +num: int +aSchemaIdentifier: TCollection_HAsciiString + +Return +------- +None + +Description +----------- +No available documentation. +") SetSchemaIdentifiersValue; + void SetSchemaIdentifiersValue(const Standard_Integer num, const opencascade::handle & aSchemaIdentifier); + + /****** APIHeaderSection_MakeHeader::SetTimeStamp ******/ + /****** md5 signature: 38e2ba6d611ac3c71ddded5966b2c9a2 ******/ + %feature("compactdefaultargs") SetTimeStamp; + %feature("autodoc", " +Parameters +---------- +aTimeStamp: TCollection_HAsciiString + +Return +------- +None + +Description +----------- +No available documentation. +") SetTimeStamp; + void SetTimeStamp(const opencascade::handle & aTimeStamp); + + /****** APIHeaderSection_MakeHeader::TimeStamp ******/ + /****** md5 signature: b66adf354c77d407fbbc52d9a834d10f ******/ + %feature("compactdefaultargs") TimeStamp; + %feature("autodoc", "Return +------- +opencascade::handle + +Description +----------- +Returns the value of the time_stamp attribute for the file_name entity. +") TimeStamp; + opencascade::handle TimeStamp(); + +}; + + +%extend APIHeaderSection_MakeHeader { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/* harray1 classes */ +/* harray2 classes */ +/* hsequence classes */ +/* class aliases */ +%pythoncode { +} diff --git a/src/SWIG_files/wrapper/APIHeaderSection.pyi b/src/SWIG_files/wrapper/APIHeaderSection.pyi new file mode 100644 index 000000000..a0df449d4 --- /dev/null +++ b/src/SWIG_files/wrapper/APIHeaderSection.pyi @@ -0,0 +1,101 @@ +from enum import IntEnum +from typing import overload, NewType, Optional, Tuple + +from OCC.Core.Standard import * +from OCC.Core.NCollection import * +from OCC.Core.IFSelect import * +from OCC.Core.Interface import * +from OCC.Core.TCollection import * +from OCC.Core.StepData import * +from OCC.Core.HeaderSection import * + +class APIHeaderSection_EditHeader(IFSelect_Editor): + def __init__(self) -> None: ... + def Apply( + self, + form: IFSelect_EditForm, + ent: Standard_Transient, + model: Interface_InterfaceModel, + ) -> bool: ... + def Label(self) -> str: ... + def Load( + self, + form: IFSelect_EditForm, + ent: Standard_Transient, + model: Interface_InterfaceModel, + ) -> bool: ... + def Recognize(self, form: IFSelect_EditForm) -> bool: ... + def StringValue( + self, form: IFSelect_EditForm, num: int + ) -> TCollection_HAsciiString: ... + +class APIHeaderSection_MakeHeader: + @overload + def __init__(self, shapetype: Optional[int] = 0) -> None: ... + @overload + def __init__(self, model: StepData_StepModel) -> None: ... + def AddSchemaIdentifier( + self, aSchemaIdentifier: TCollection_HAsciiString + ) -> None: ... + def Apply(self, model: StepData_StepModel) -> None: ... + def Author(self) -> Interface_HArray1OfHAsciiString: ... + def AuthorValue(self, num: int) -> TCollection_HAsciiString: ... + def Authorisation(self) -> TCollection_HAsciiString: ... + def Description(self) -> Interface_HArray1OfHAsciiString: ... + def DescriptionValue(self, num: int) -> TCollection_HAsciiString: ... + def FdValue(self) -> HeaderSection_FileDescription: ... + def FnValue(self) -> HeaderSection_FileName: ... + def FsValue(self) -> HeaderSection_FileSchema: ... + def HasFd(self) -> bool: ... + def HasFn(self) -> bool: ... + def HasFs(self) -> bool: ... + def ImplementationLevel(self) -> TCollection_HAsciiString: ... + def Init(self, nameval: str) -> None: ... + def IsDone(self) -> bool: ... + def Name(self) -> TCollection_HAsciiString: ... + def NbAuthor(self) -> int: ... + def NbDescription(self) -> int: ... + def NbOrganization(self) -> int: ... + def NbSchemaIdentifiers(self) -> int: ... + def NewModel(self, protocol: Interface_Protocol) -> StepData_StepModel: ... + def Organization(self) -> Interface_HArray1OfHAsciiString: ... + def OrganizationValue(self, num: int) -> TCollection_HAsciiString: ... + def OriginatingSystem(self) -> TCollection_HAsciiString: ... + def PreprocessorVersion(self) -> TCollection_HAsciiString: ... + def SchemaIdentifiers(self) -> Interface_HArray1OfHAsciiString: ... + def SchemaIdentifiersValue(self, num: int) -> TCollection_HAsciiString: ... + def SetAuthor(self, aAuthor: Interface_HArray1OfHAsciiString) -> None: ... + def SetAuthorValue(self, num: int, aAuthor: TCollection_HAsciiString) -> None: ... + def SetAuthorisation(self, aAuthorisation: TCollection_HAsciiString) -> None: ... + def SetDescription(self, aDescription: Interface_HArray1OfHAsciiString) -> None: ... + def SetDescriptionValue( + self, num: int, aDescription: TCollection_HAsciiString + ) -> None: ... + def SetImplementationLevel( + self, aImplementationLevel: TCollection_HAsciiString + ) -> None: ... + def SetName(self, aName: TCollection_HAsciiString) -> None: ... + def SetOrganization( + self, aOrganization: Interface_HArray1OfHAsciiString + ) -> None: ... + def SetOrganizationValue( + self, num: int, aOrganization: TCollection_HAsciiString + ) -> None: ... + def SetOriginatingSystem( + self, aOriginatingSystem: TCollection_HAsciiString + ) -> None: ... + def SetPreprocessorVersion( + self, aPreprocessorVersion: TCollection_HAsciiString + ) -> None: ... + def SetSchemaIdentifiers( + self, aSchemaIdentifiers: Interface_HArray1OfHAsciiString + ) -> None: ... + def SetSchemaIdentifiersValue( + self, num: int, aSchemaIdentifier: TCollection_HAsciiString + ) -> None: ... + def SetTimeStamp(self, aTimeStamp: TCollection_HAsciiString) -> None: ... + def TimeStamp(self) -> TCollection_HAsciiString: ... + +# harray1 classes +# harray2 classes +# hsequence classes diff --git a/src/SWIG_files/wrapper/Adaptor2d.i b/src/SWIG_files/wrapper/Adaptor2d.i index 777337806..365d141a7 100644 --- a/src/SWIG_files/wrapper/Adaptor2d.i +++ b/src/SWIG_files/wrapper/Adaptor2d.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define ADAPTOR2DDOCSTRING "Adaptor2d module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_adaptor2d.html" +https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_adaptor2d.html" %enddef %module (package="OCC.Core", docstring=ADAPTOR2DDOCSTRING) Adaptor2d @@ -31,8 +31,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_adaptor2d.html" %include ../common/CommonIncludes.i %include ../common/ExceptionCatcher.i %include ../common/FunctionTransformers.i +%include ../common/EnumTemplates.i %include ../common/Operators.i %include ../common/OccHandle.i +%include ../common/IOStream.i +%include ../common/ArrayMacros.i %{ @@ -65,15 +68,15 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ /* handles */ -%wrap_handle(Adaptor2d_HCurve2d) -%wrap_handle(Adaptor2d_HLine2d) -%wrap_handle(Adaptor2d_HOffsetCurve) +%wrap_handle(Adaptor2d_Curve2d) +%wrap_handle(Adaptor2d_Line2d) +%wrap_handle(Adaptor2d_OffsetCurve) /* end handles declaration */ /* templates */ @@ -85,90 +88,103 @@ from OCC.Core.Exception import * /************************** * class Adaptor2d_Curve2d * **************************/ -class Adaptor2d_Curve2d { +class Adaptor2d_Curve2d : public Standard_Transient { public: - /****************** BSpline ******************/ - /**** md5 signature: b2a7a571ebf1b38738b883a277ef794f ****/ + /****** Adaptor2d_Curve2d::BSpline ******/ + /****** md5 signature: b2a7a571ebf1b38738b883a277ef794f ******/ %feature("compactdefaultargs") BSpline; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") BSpline; virtual opencascade::handle BSpline(); - /****************** Bezier ******************/ - /**** md5 signature: f8f04b3add4103e9f0350b8ed2285dc4 ****/ + /****** Adaptor2d_Curve2d::Bezier ******/ + /****** md5 signature: f8f04b3add4103e9f0350b8ed2285dc4 ******/ %feature("compactdefaultargs") Bezier; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Bezier; virtual opencascade::handle Bezier(); - /****************** Circle ******************/ - /**** md5 signature: 624ff1e0c75139ee893a5066be1b5a0c ****/ + /****** Adaptor2d_Curve2d::Circle ******/ + /****** md5 signature: 624ff1e0c75139ee893a5066be1b5a0c ******/ %feature("compactdefaultargs") Circle; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Circ2d + +Description +----------- +No available documentation. ") Circle; virtual gp_Circ2d Circle(); - /****************** Continuity ******************/ - /**** md5 signature: 8564d2514f3a14a163da9fa2b30a9284 ****/ + /****** Adaptor2d_Curve2d::Continuity ******/ + /****** md5 signature: 8564d2514f3a14a163da9fa2b30a9284 ******/ %feature("compactdefaultargs") Continuity; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- GeomAbs_Shape + +Description +----------- +No available documentation. ") Continuity; virtual GeomAbs_Shape Continuity(); - /****************** D0 ******************/ - /**** md5 signature: 032807b33fd2114f83050446452a9d16 ****/ + /****** Adaptor2d_Curve2d::D0 ******/ + /****** md5 signature: 032807b33fd2114f83050446452a9d16 ******/ %feature("compactdefaultargs") D0; - %feature("autodoc", "Computes the point of parameter u on the curve. - + %feature("autodoc", " Parameters ---------- U: float P: gp_Pnt2d -Returns +Return ------- None + +Description +----------- +Computes the point of parameter U on the curve. ") D0; virtual void D0(const Standard_Real U, gp_Pnt2d & P); - /****************** D1 ******************/ - /**** md5 signature: 62f67df0ec10ce52e6bbc3e7f976f93f ****/ + /****** Adaptor2d_Curve2d::D1 ******/ + /****** md5 signature: 62f67df0ec10ce52e6bbc3e7f976f93f ******/ %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. - + %feature("autodoc", " Parameters ---------- U: float P: gp_Pnt2d V: gp_Vec2d -Returns +Return ------- None + +Description +----------- +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; virtual void D1(const Standard_Real U, gp_Pnt2d & P, gp_Vec2d & V); - /****************** D2 ******************/ - /**** md5 signature: 7ba7fbaac090150f487dc89b64867507 ****/ + /****** Adaptor2d_Curve2d::D2 ******/ + /****** md5 signature: 7ba7fbaac090150f487dc89b64867507 ******/ %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. - + %feature("autodoc", " Parameters ---------- U: float @@ -176,17 +192,20 @@ P: gp_Pnt2d V1: gp_Vec2d V2: gp_Vec2d -Returns +Return ------- None + +Description +----------- +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; virtual void D2(const Standard_Real U, gp_Pnt2d & P, gp_Vec2d & V1, gp_Vec2d & V2); - /****************** D3 ******************/ - /**** md5 signature: ad3456ec57f07904ba35638d0146d01f ****/ + /****** Adaptor2d_Curve2d::D3 ******/ + /****** md5 signature: ad3456ec57f07904ba35638d0146d01f ******/ %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. - + %feature("autodoc", " Parameters ---------- U: float @@ -195,823 +214,342 @@ V1: gp_Vec2d V2: gp_Vec2d V3: gp_Vec2d -Returns +Return ------- None + +Description +----------- +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; virtual void D3(const Standard_Real U, gp_Pnt2d & P, gp_Vec2d & V1, gp_Vec2d & V2, gp_Vec2d & V3); - /****************** DN ******************/ - /**** md5 signature: f633d1449599e5f52db1c34ec4b27035 ****/ + /****** Adaptor2d_Curve2d::DN ******/ + /****** md5 signature: f633d1449599e5f52db1c34ec4b27035 ******/ %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. - + %feature("autodoc", " Parameters ---------- U: float N: int -Returns +Return ------- gp_Vec2d + +Description +----------- +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; virtual gp_Vec2d DN(const Standard_Real U, const Standard_Integer N); - /****************** Degree ******************/ - /**** md5 signature: d442d1b77ae7b1ce10d9531914b14be7 ****/ + /****** Adaptor2d_Curve2d::Degree ******/ + /****** md5 signature: d442d1b77ae7b1ce10d9531914b14be7 ******/ %feature("compactdefaultargs") Degree; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") Degree; virtual Standard_Integer Degree(); - /****************** Ellipse ******************/ - /**** md5 signature: ad57dba8c1c2fed98a4ee4d518e5af58 ****/ + /****** Adaptor2d_Curve2d::Ellipse ******/ + /****** md5 signature: ad57dba8c1c2fed98a4ee4d518e5af58 ******/ %feature("compactdefaultargs") Ellipse; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Elips2d + +Description +----------- +No available documentation. ") Ellipse; virtual gp_Elips2d Ellipse(); - /****************** FirstParameter ******************/ - /**** md5 signature: adaac52a0f2d3263c19caadcbea394a2 ****/ + /****** Adaptor2d_Curve2d::FirstParameter ******/ + /****** md5 signature: adaac52a0f2d3263c19caadcbea394a2 ******/ %feature("compactdefaultargs") FirstParameter; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") FirstParameter; virtual Standard_Real FirstParameter(); - /****************** GetType ******************/ - /**** md5 signature: 657f9e3cbd23a069ca4adcba08a9b196 ****/ + /****** Adaptor2d_Curve2d::GetType ******/ + /****** md5 signature: 657f9e3cbd23a069ca4adcba08a9b196 ******/ %feature("compactdefaultargs") GetType; - %feature("autodoc", "Returns the type of the curve in the current interval : line, circle, ellipse, hyperbola, parabola, beziercurve, bsplinecurve, othercurve. - -Returns + %feature("autodoc", "Return ------- GeomAbs_CurveType + +Description +----------- +Returns the type of the curve in the current interval: Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve. ") GetType; virtual GeomAbs_CurveType GetType(); - /****************** Hyperbola ******************/ - /**** md5 signature: ec5c753a319a89563396073e20a5375e ****/ + /****** Adaptor2d_Curve2d::Hyperbola ******/ + /****** md5 signature: ec5c753a319a89563396073e20a5375e ******/ %feature("compactdefaultargs") Hyperbola; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Hypr2d -") Hyperbola; - virtual gp_Hypr2d Hyperbola(); - - /****************** Intervals ******************/ - /**** md5 signature: 1b47d9fadea42b0a52e1ad5844faff05 ****/ - %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). - -Parameters ----------- -T: TColStd_Array1OfReal -S: GeomAbs_Shape - -Returns -------- -None -") Intervals; - virtual void Intervals(TColStd_Array1OfReal & T, const GeomAbs_Shape S); - - /****************** IsClosed ******************/ - /**** md5 signature: d57ef0715a5abf96ea6273eee63d5417 ****/ - %feature("compactdefaultargs") IsClosed; - %feature("autodoc", "No available documentation. - -Returns -------- -bool -") IsClosed; - virtual Standard_Boolean IsClosed(); - - /****************** IsPeriodic ******************/ - /**** md5 signature: aac83d336e26e94b4cd1076ac72ce2c9 ****/ - %feature("compactdefaultargs") IsPeriodic; - %feature("autodoc", "No available documentation. - -Returns -------- -bool -") IsPeriodic; - virtual Standard_Boolean IsPeriodic(); - - /****************** IsRational ******************/ - /**** md5 signature: 5389f1211fc99cfdcbd6575b8eec7b5c ****/ - %feature("compactdefaultargs") IsRational; - %feature("autodoc", "No available documentation. - -Returns -------- -bool -") IsRational; - virtual Standard_Boolean IsRational(); - - /****************** LastParameter ******************/ - /**** md5 signature: 38a37eecbdff8d3a1b5ffdd6b12bf4d9 ****/ - %feature("compactdefaultargs") LastParameter; - %feature("autodoc", "No available documentation. - -Returns -------- -float -") LastParameter; - virtual Standard_Real LastParameter(); - - /****************** Line ******************/ - /**** md5 signature: c030f66e64195409bcfc92be438de5d5 ****/ - %feature("compactdefaultargs") Line; - %feature("autodoc", "No available documentation. - -Returns -------- -gp_Lin2d -") Line; - virtual gp_Lin2d Line(); - - /****************** NbIntervals ******************/ - /**** md5 signature: 0b37dc42182e542f53017d0e52c8cd03 ****/ - %feature("compactdefaultargs") NbIntervals; - %feature("autodoc", "If necessary, breaks the curve in intervals of continuity . and returns the number of intervals. - -Parameters ----------- -S: GeomAbs_Shape - -Returns -------- -int -") NbIntervals; - virtual Standard_Integer NbIntervals(const GeomAbs_Shape S); - - /****************** NbKnots ******************/ - /**** md5 signature: 22b54658d4850824758b23cad1529c2f ****/ - %feature("compactdefaultargs") NbKnots; - %feature("autodoc", "No available documentation. - -Returns -------- -int -") NbKnots; - virtual Standard_Integer NbKnots(); - - /****************** NbPoles ******************/ - /**** md5 signature: 1b49ced11f88c6092f4e3b2473fe0460 ****/ - %feature("compactdefaultargs") NbPoles; - %feature("autodoc", "No available documentation. - -Returns -------- -int -") NbPoles; - virtual Standard_Integer NbPoles(); - - /****************** NbSamples ******************/ - /**** md5 signature: fa9dfaedc08a9e4459ffebec8ddb6476 ****/ - %feature("compactdefaultargs") NbSamples; - %feature("autodoc", "No available documentation. - -Returns -------- -int -") NbSamples; - virtual Standard_Integer NbSamples(); - - /****************** Parabola ******************/ - /**** md5 signature: 2bbe5ac6a61b052fd2bae484e8f0313c ****/ - %feature("compactdefaultargs") Parabola; - %feature("autodoc", "No available documentation. - -Returns -------- -gp_Parab2d -") Parabola; - virtual gp_Parab2d Parabola(); - - /****************** Period ******************/ - /**** md5 signature: e4913c399f3a0a7037e498c5a9da8e1f ****/ - %feature("compactdefaultargs") Period; - %feature("autodoc", "No available documentation. - -Returns -------- -float -") Period; - virtual Standard_Real Period(); - - /****************** Resolution ******************/ - /**** md5 signature: 66fa92ada4ec8706453c0525abd4ecd6 ****/ - %feature("compactdefaultargs") Resolution; - %feature("autodoc", "Returns the parametric resolution corresponding to the real space resolution . - -Parameters ----------- -R3d: float - -Returns -------- -float -") Resolution; - virtual Standard_Real Resolution(const Standard_Real R3d); - - /****************** Trim ******************/ - /**** md5 signature: b00e7319c95fdc2964d9791c57ace928 ****/ - %feature("compactdefaultargs") Trim; - %feature("autodoc", "Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. if >= . - -Parameters ----------- -First: float -Last: float -Tol: float - -Returns -------- -opencascade::handle -") Trim; - virtual opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); - - /****************** Value ******************/ - /**** md5 signature: af409c62c74a5e93d7c7e76240b9de9b ****/ - %feature("compactdefaultargs") Value; - %feature("autodoc", "Computes the point of parameter u on the curve. - -Parameters ----------- -U: float - -Returns -------- -gp_Pnt2d -") Value; - virtual gp_Pnt2d Value(const Standard_Real U); - -}; - - -%extend Adaptor2d_Curve2d { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/*************************** -* class Adaptor2d_HCurve2d * -***************************/ -%nodefaultctor Adaptor2d_HCurve2d; -class Adaptor2d_HCurve2d : public Standard_Transient { - public: - /****************** BSpline ******************/ - /**** md5 signature: b2a7a571ebf1b38738b883a277ef794f ****/ - %feature("compactdefaultargs") BSpline; - %feature("autodoc", "No available documentation. - -Returns -------- -opencascade::handle -") BSpline; - virtual opencascade::handle BSpline(); - - /****************** Bezier ******************/ - /**** md5 signature: 41032442357596356ca52db8dddd69b1 ****/ - %feature("compactdefaultargs") Bezier; - %feature("autodoc", "No available documentation. - -Returns -------- -opencascade::handle -") Bezier; - opencascade::handle Bezier(); - - /****************** Circle ******************/ - /**** md5 signature: 3db788e83f60e9102eb4d18e49dde44e ****/ - %feature("compactdefaultargs") Circle; - %feature("autodoc", "No available documentation. - -Returns -------- -gp_Circ2d -") Circle; - gp_Circ2d Circle(); - - /****************** Continuity ******************/ - /**** md5 signature: 4cc571878c66d538aeaf8b0affec3574 ****/ - %feature("compactdefaultargs") Continuity; - %feature("autodoc", "No available documentation. - -Returns -------- -GeomAbs_Shape -") Continuity; - GeomAbs_Shape Continuity(); - - /****************** Curve2d ******************/ - /**** md5 signature: 80beb5a704afff9d2021bd4f524db9cb ****/ - %feature("compactdefaultargs") Curve2d; - %feature("autodoc", "Returns a reference to the curve2d inside the hcurve2d. - -Returns -------- -Adaptor2d_Curve2d -") Curve2d; - virtual const Adaptor2d_Curve2d & Curve2d(); - /****************** D0 ******************/ - /**** md5 signature: 85d1e98e1313be6e4d71518a7016009f ****/ - %feature("compactdefaultargs") D0; - %feature("autodoc", "No available documentation. - -Parameters ----------- -U: float -P: gp_Pnt2d - -Returns -------- -None -") D0; - void D0(const Standard_Real U, gp_Pnt2d & P); - - /****************** D1 ******************/ - /**** md5 signature: 857bb09c503ab50c52904dfc4cdc1a50 ****/ - %feature("compactdefaultargs") D1; - %feature("autodoc", "No available documentation. - -Parameters ----------- -U: float -P: gp_Pnt2d -V: gp_Vec2d - -Returns -------- -None -") D1; - void D1(const Standard_Real U, gp_Pnt2d & P, gp_Vec2d & V); - - /****************** D2 ******************/ - /**** md5 signature: 8574226eb2474fe793edb28b9a188341 ****/ - %feature("compactdefaultargs") D2; - %feature("autodoc", "No available documentation. - -Parameters ----------- -U: float -P: gp_Pnt2d -V1: gp_Vec2d -V2: gp_Vec2d - -Returns -------- -None -") D2; - void D2(const Standard_Real U, gp_Pnt2d & P, gp_Vec2d & V1, gp_Vec2d & V2); - - /****************** D3 ******************/ - /**** md5 signature: 30bd0f2c5f6642dfece94c3612cd0e2f ****/ - %feature("compactdefaultargs") D3; - %feature("autodoc", "No available documentation. - -Parameters ----------- -U: float -P: gp_Pnt2d -V1: gp_Vec2d -V2: gp_Vec2d -V3: gp_Vec2d - -Returns -------- -None -") D3; - void D3(const Standard_Real U, gp_Pnt2d & P, gp_Vec2d & V1, gp_Vec2d & V2, gp_Vec2d & V3); - - /****************** DN ******************/ - /**** md5 signature: 0932075ca22fa86aeae3a5a4650fb0ff ****/ - %feature("compactdefaultargs") DN; - %feature("autodoc", "No available documentation. - -Parameters ----------- -U: float -N: int - -Returns -------- -gp_Vec2d -") DN; - gp_Vec2d DN(const Standard_Real U, const Standard_Integer N); - - /****************** Degree ******************/ - /**** md5 signature: e3276df1ce733e2c8e940db548a26d03 ****/ - %feature("compactdefaultargs") Degree; - %feature("autodoc", "No available documentation. - -Returns -------- -int -") Degree; - Standard_Integer Degree(); - - /****************** Ellipse ******************/ - /**** md5 signature: 4d2fb3c954fc20d00e7fb670cc75b8c5 ****/ - %feature("compactdefaultargs") Ellipse; - %feature("autodoc", "No available documentation. - -Returns -------- -gp_Elips2d -") Ellipse; - gp_Elips2d Ellipse(); - - /****************** FirstParameter ******************/ - /**** md5 signature: 4ccedbaad83be904f510b4760c75f69c ****/ - %feature("compactdefaultargs") FirstParameter; - %feature("autodoc", "No available documentation. - -Returns -------- -float -") FirstParameter; - Standard_Real FirstParameter(); - - /****************** GetType ******************/ - /**** md5 signature: 6d4e6ae7972633971ba343e8afc91aa1 ****/ - %feature("compactdefaultargs") GetType; - %feature("autodoc", "No available documentation. - -Returns -------- -GeomAbs_CurveType -") GetType; - GeomAbs_CurveType GetType(); - - /****************** Hyperbola ******************/ - /**** md5 signature: 0bf75fd35e804f23a63a4cf957882adb ****/ - %feature("compactdefaultargs") Hyperbola; - %feature("autodoc", "No available documentation. - -Returns -------- -gp_Hypr2d +Description +----------- +No available documentation. ") Hyperbola; - gp_Hypr2d Hyperbola(); + virtual gp_Hypr2d Hyperbola(); - /****************** Intervals ******************/ - /**** md5 signature: c7a2f17df7514293a67a56baae0afb68 ****/ + /****** Adaptor2d_Curve2d::Intervals ******/ + /****** md5 signature: 1b47d9fadea42b0a52e1ad5844faff05 ******/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- T: TColStd_Array1OfReal S: GeomAbs_Shape -Returns +Return ------- None -") Intervals; - void Intervals(TColStd_Array1OfReal & T, const GeomAbs_Shape S); - - /****************** IsClosed ******************/ - /**** md5 signature: 29709d02fadc9fcb79a766bc9679271b ****/ - %feature("compactdefaultargs") IsClosed; - %feature("autodoc", "No available documentation. -Returns -------- -bool -") IsClosed; - Standard_Boolean IsClosed(); - - /****************** IsPeriodic ******************/ - /**** md5 signature: 62d7f554b0b7785e1f3919569dfbc68f ****/ - %feature("compactdefaultargs") IsPeriodic; - %feature("autodoc", "No available documentation. - -Returns -------- -bool -") IsPeriodic; - Standard_Boolean IsPeriodic(); - - /****************** IsRational ******************/ - /**** md5 signature: fd4212ffa7bc30cde420e74a2c539434 ****/ - %feature("compactdefaultargs") IsRational; - %feature("autodoc", "No available documentation. - -Returns -------- -bool -") IsRational; - Standard_Boolean IsRational(); - - /****************** LastParameter ******************/ - /**** md5 signature: 7cdf630921ee47ad365a5a6bafd4b46e ****/ - %feature("compactdefaultargs") LastParameter; - %feature("autodoc", "No available documentation. - -Returns -------- -float -") LastParameter; - Standard_Real LastParameter(); - - /****************** Line ******************/ - /**** md5 signature: 8f714dea9190d608a011f61fa588b4f4 ****/ - %feature("compactdefaultargs") Line; - %feature("autodoc", "No available documentation. - -Returns -------- -gp_Lin2d -") Line; - gp_Lin2d Line(); - - /****************** NbIntervals ******************/ - /**** md5 signature: a9cec7e4e6cb5b355a27e6de1f3fc9d9 ****/ - %feature("compactdefaultargs") NbIntervals; - %feature("autodoc", "No available documentation. - -Parameters ----------- -S: GeomAbs_Shape - -Returns -------- -int -") NbIntervals; - Standard_Integer NbIntervals(const GeomAbs_Shape S); - - /****************** NbKnots ******************/ - /**** md5 signature: ccda669299f8eba1ba0d3387af4c950e ****/ - %feature("compactdefaultargs") NbKnots; - %feature("autodoc", "No available documentation. - -Returns -------- -int -") NbKnots; - Standard_Integer NbKnots(); - - /****************** NbPoles ******************/ - /**** md5 signature: 9a7d6d5f8a21c5833786e951bce99604 ****/ - %feature("compactdefaultargs") NbPoles; - %feature("autodoc", "No available documentation. - -Returns -------- -int -") NbPoles; - Standard_Integer NbPoles(); - - /****************** Parabola ******************/ - /**** md5 signature: b95e4eaba6ed0e103a45829a8ad74d91 ****/ - %feature("compactdefaultargs") Parabola; - %feature("autodoc", "No available documentation. - -Returns -------- -gp_Parab2d -") Parabola; - gp_Parab2d Parabola(); - - /****************** Period ******************/ - /**** md5 signature: 0270204961d3b0052ffe029cbcdbacd9 ****/ - %feature("compactdefaultargs") Period; - %feature("autodoc", "No available documentation. - -Returns -------- -float -") Period; - Standard_Real Period(); - - /****************** Resolution ******************/ - /**** md5 signature: 955dbc498c06516d62e17e1e8d38cba7 ****/ - %feature("compactdefaultargs") Resolution; - %feature("autodoc", "No available documentation. - -Parameters ----------- -R3d: float - -Returns -------- -float -") Resolution; - Standard_Real Resolution(const Standard_Real R3d); - - /****************** Trim ******************/ - /**** md5 signature: bffd31b1526dffa3669fe68d7477ad60 ****/ - %feature("compactdefaultargs") Trim; - %feature("autodoc", "If >= . - -Parameters ----------- -First: float -Last: float -Tol: float +Description +----------- +Stores in the parameters bounding the intervals of continuity . //! The array must provide enough room to accommodate for the parameters. i.e. T.Length() > NbIntervals(). +") Intervals; + virtual void Intervals(TColStd_Array1OfReal & T, const GeomAbs_Shape S); -Returns + /****** Adaptor2d_Curve2d::IsClosed ******/ + /****** md5 signature: d57ef0715a5abf96ea6273eee63d5417 ******/ + %feature("compactdefaultargs") IsClosed; + %feature("autodoc", "Return ------- -opencascade::handle -") Trim; - opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); - - /****************** Value ******************/ - /**** md5 signature: 1105e8ccba0b18e6fe7169aa8e376b83 ****/ - %feature("compactdefaultargs") Value; - %feature("autodoc", "No available documentation. +bool -Parameters ----------- -U: float +Description +----------- +No available documentation. +") IsClosed; + virtual Standard_Boolean IsClosed(); -Returns + /****** Adaptor2d_Curve2d::IsPeriodic ******/ + /****** md5 signature: aac83d336e26e94b4cd1076ac72ce2c9 ******/ + %feature("compactdefaultargs") IsPeriodic; + %feature("autodoc", "Return ------- -gp_Pnt2d -") Value; - gp_Pnt2d Value(const Standard_Real U); +bool -}; +Description +----------- +No available documentation. +") IsPeriodic; + virtual Standard_Boolean IsPeriodic(); + /****** Adaptor2d_Curve2d::IsRational ******/ + /****** md5 signature: 5389f1211fc99cfdcbd6575b8eec7b5c ******/ + %feature("compactdefaultargs") IsRational; + %feature("autodoc", "Return +------- +bool -%make_alias(Adaptor2d_HCurve2d) +Description +----------- +No available documentation. +") IsRational; + virtual Standard_Boolean IsRational(); -%extend Adaptor2d_HCurve2d { - %pythoncode { - __repr__ = _dumps_object - } -}; + /****** Adaptor2d_Curve2d::LastParameter ******/ + /****** md5 signature: 38a37eecbdff8d3a1b5ffdd6b12bf4d9 ******/ + %feature("compactdefaultargs") LastParameter; + %feature("autodoc", "Return +------- +float -/************************** -* class Adaptor2d_HLine2d * -**************************/ -class Adaptor2d_HLine2d : public Adaptor2d_HCurve2d { - public: - /****************** Adaptor2d_HLine2d ******************/ - /**** md5 signature: bb5e89d0552ec46ae15a9c98c3e2dca2 ****/ - %feature("compactdefaultargs") Adaptor2d_HLine2d; - %feature("autodoc", "Creates an empty genhcurve2d. +Description +----------- +No available documentation. +") LastParameter; + virtual Standard_Real LastParameter(); -Returns + /****** Adaptor2d_Curve2d::Line ******/ + /****** md5 signature: c030f66e64195409bcfc92be438de5d5 ******/ + %feature("compactdefaultargs") Line; + %feature("autodoc", "Return ------- -None -") Adaptor2d_HLine2d; - Adaptor2d_HLine2d(); +gp_Lin2d - /****************** Adaptor2d_HLine2d ******************/ - /**** md5 signature: 046602de20e8904427b18584962efeb5 ****/ - %feature("compactdefaultargs") Adaptor2d_HLine2d; - %feature("autodoc", "Creates a genhcurve2d from a curve. +Description +----------- +No available documentation. +") Line; + virtual gp_Lin2d Line(); + /****** Adaptor2d_Curve2d::NbIntervals ******/ + /****** md5 signature: 0b37dc42182e542f53017d0e52c8cd03 ******/ + %feature("compactdefaultargs") NbIntervals; + %feature("autodoc", " Parameters ---------- -C: Adaptor2d_Line2d +S: GeomAbs_Shape -Returns +Return ------- -None -") Adaptor2d_HLine2d; - Adaptor2d_HLine2d(const Adaptor2d_Line2d & C); +int - /****************** ChangeCurve2d ******************/ - /**** md5 signature: 73f0e1ef4f5c40bc001736631c9a4752 ****/ - %feature("compactdefaultargs") ChangeCurve2d; - %feature("autodoc", "Returns the curve used to create the genhcurve. +Description +----------- +If necessary, breaks the curve in intervals of continuity . And returns the number of intervals. +") NbIntervals; + virtual Standard_Integer NbIntervals(const GeomAbs_Shape S); -Returns + /****** Adaptor2d_Curve2d::NbKnots ******/ + /****** md5 signature: 22b54658d4850824758b23cad1529c2f ******/ + %feature("compactdefaultargs") NbKnots; + %feature("autodoc", "Return ------- -Adaptor2d_Line2d -") ChangeCurve2d; - Adaptor2d_Line2d & ChangeCurve2d(); +int - /****************** Curve2d ******************/ - /**** md5 signature: 87546edb35f2000a54f99255bb8c94db ****/ - %feature("compactdefaultargs") Curve2d; - %feature("autodoc", "Returns the curve used to create the genhcurve2d. this is redefined from hcurve2d, cannot be inline. +Description +----------- +No available documentation. +") NbKnots; + virtual Standard_Integer NbKnots(); -Returns + /****** Adaptor2d_Curve2d::NbPoles ******/ + /****** md5 signature: 1b49ced11f88c6092f4e3b2473fe0460 ******/ + %feature("compactdefaultargs") NbPoles; + %feature("autodoc", "Return ------- -Adaptor2d_Curve2d -") Curve2d; - const Adaptor2d_Curve2d & Curve2d(); - - /****************** Set ******************/ - /**** md5 signature: 83a2d11d0840652cd510c132d33f7cef ****/ - %feature("compactdefaultargs") Set; - %feature("autodoc", "Sets the field of the genhcurve2d. +int -Parameters ----------- -C: Adaptor2d_Line2d +Description +----------- +No available documentation. +") NbPoles; + virtual Standard_Integer NbPoles(); -Returns + /****** Adaptor2d_Curve2d::NbSamples ******/ + /****** md5 signature: fa9dfaedc08a9e4459ffebec8ddb6476 ******/ + %feature("compactdefaultargs") NbSamples; + %feature("autodoc", "Return ------- -None -") Set; - void Set(const Adaptor2d_Line2d & C); - -}; - +int -%make_alias(Adaptor2d_HLine2d) +Description +----------- +No available documentation. +") NbSamples; + virtual Standard_Integer NbSamples(); -%extend Adaptor2d_HLine2d { - %pythoncode { - __repr__ = _dumps_object - } -}; + /****** Adaptor2d_Curve2d::Parabola ******/ + /****** md5 signature: 2bbe5ac6a61b052fd2bae484e8f0313c ******/ + %feature("compactdefaultargs") Parabola; + %feature("autodoc", "Return +------- +gp_Parab2d -/******************************* -* class Adaptor2d_HOffsetCurve * -*******************************/ -class Adaptor2d_HOffsetCurve : public Adaptor2d_HCurve2d { - public: - /****************** Adaptor2d_HOffsetCurve ******************/ - /**** md5 signature: 25491c0f4f175db6f52163695140eee9 ****/ - %feature("compactdefaultargs") Adaptor2d_HOffsetCurve; - %feature("autodoc", "Creates an empty genhcurve2d. +Description +----------- +No available documentation. +") Parabola; + virtual gp_Parab2d Parabola(); -Returns + /****** Adaptor2d_Curve2d::Period ******/ + /****** md5 signature: e4913c399f3a0a7037e498c5a9da8e1f ******/ + %feature("compactdefaultargs") Period; + %feature("autodoc", "Return ------- -None -") Adaptor2d_HOffsetCurve; - Adaptor2d_HOffsetCurve(); +float - /****************** Adaptor2d_HOffsetCurve ******************/ - /**** md5 signature: d050b963ffed31a899bd970e3b8d00a6 ****/ - %feature("compactdefaultargs") Adaptor2d_HOffsetCurve; - %feature("autodoc", "Creates a genhcurve2d from a curve. +Description +----------- +No available documentation. +") Period; + virtual Standard_Real Period(); + /****** Adaptor2d_Curve2d::Resolution ******/ + /****** md5 signature: 66fa92ada4ec8706453c0525abd4ecd6 ******/ + %feature("compactdefaultargs") Resolution; + %feature("autodoc", " Parameters ---------- -C: Adaptor2d_OffsetCurve +R3d: float -Returns +Return ------- -None -") Adaptor2d_HOffsetCurve; - Adaptor2d_HOffsetCurve(const Adaptor2d_OffsetCurve & C); +float - /****************** ChangeCurve2d ******************/ - /**** md5 signature: 9d8ed054df51d67ca2a36626dc87b6da ****/ - %feature("compactdefaultargs") ChangeCurve2d; - %feature("autodoc", "Returns the curve used to create the genhcurve. +Description +----------- +Returns the parametric resolution corresponding to the real space resolution . +") Resolution; + virtual Standard_Real Resolution(const Standard_Real R3d); -Returns + /****** Adaptor2d_Curve2d::ShallowCopy ******/ + /****** md5 signature: b866918647453effb47966d082097526 ******/ + %feature("compactdefaultargs") ShallowCopy; + %feature("autodoc", "Return ------- -Adaptor2d_OffsetCurve -") ChangeCurve2d; - Adaptor2d_OffsetCurve & ChangeCurve2d(); +opencascade::handle - /****************** Curve2d ******************/ - /**** md5 signature: 87546edb35f2000a54f99255bb8c94db ****/ - %feature("compactdefaultargs") Curve2d; - %feature("autodoc", "Returns the curve used to create the genhcurve2d. this is redefined from hcurve2d, cannot be inline. +Description +----------- +Shallow copy of adaptor. +") ShallowCopy; + virtual opencascade::handle ShallowCopy(); -Returns + /****** Adaptor2d_Curve2d::Trim ******/ + /****** md5 signature: aa66325f9b552366d3dd9f832a9cb16d ******/ + %feature("compactdefaultargs") Trim; + %feature("autodoc", " +Parameters +---------- +First: float +Last: float +Tol: float + +Return ------- -Adaptor2d_Curve2d -") Curve2d; - const Adaptor2d_Curve2d & Curve2d(); +opencascade::handle - /****************** Set ******************/ - /**** md5 signature: f4a03234be9ba1c2342db8164bd1c6ee ****/ - %feature("compactdefaultargs") Set; - %feature("autodoc", "Sets the field of the genhcurve2d. +Description +----------- +Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. If >= . +") Trim; + virtual opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + /****** Adaptor2d_Curve2d::Value ******/ + /****** md5 signature: af409c62c74a5e93d7c7e76240b9de9b ******/ + %feature("compactdefaultargs") Value; + %feature("autodoc", " Parameters ---------- -C: Adaptor2d_OffsetCurve +U: float -Returns +Return ------- -None -") Set; - void Set(const Adaptor2d_OffsetCurve & C); +gp_Pnt2d + +Description +----------- +Computes the point of parameter U on the curve. +") Value; + virtual gp_Pnt2d Value(const Standard_Real U); }; -%make_alias(Adaptor2d_HOffsetCurve) +%make_alias(Adaptor2d_Curve2d) -%extend Adaptor2d_HOffsetCurve { +%extend Adaptor2d_Curve2d { %pythoncode { __repr__ = _dumps_object } @@ -1022,22 +560,23 @@ None *************************/ class Adaptor2d_Line2d : public Adaptor2d_Curve2d { public: - /****************** Adaptor2d_Line2d ******************/ - /**** md5 signature: a217d4c2f1a39c468576f503c72e4282 ****/ + /****** Adaptor2d_Line2d::Adaptor2d_Line2d ******/ + /****** md5 signature: a217d4c2f1a39c468576f503c72e4282 ******/ %feature("compactdefaultargs") Adaptor2d_Line2d; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") Adaptor2d_Line2d; Adaptor2d_Line2d(); - /****************** Adaptor2d_Line2d ******************/ - /**** md5 signature: b3b555011ccd08a69e1a951ee36e4ce2 ****/ + /****** Adaptor2d_Line2d::Adaptor2d_Line2d ******/ + /****** md5 signature: b3b555011ccd08a69e1a951ee36e4ce2 ******/ %feature("compactdefaultargs") Adaptor2d_Line2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P: gp_Pnt2d @@ -1045,94 +584,111 @@ D: gp_Dir2d UFirst: float ULast: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") Adaptor2d_Line2d; Adaptor2d_Line2d(const gp_Pnt2d & P, const gp_Dir2d & D, const Standard_Real UFirst, const Standard_Real ULast); - /****************** BSpline ******************/ - /**** md5 signature: 9439c331c4f14f299277aa5a4ff16cec ****/ + /****** Adaptor2d_Line2d::BSpline ******/ + /****** md5 signature: 9439c331c4f14f299277aa5a4ff16cec ******/ %feature("compactdefaultargs") BSpline; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") BSpline; opencascade::handle BSpline(); - /****************** Bezier ******************/ - /**** md5 signature: cabcbe9e94c679dcfc142972b20ab60b ****/ + /****** Adaptor2d_Line2d::Bezier ******/ + /****** md5 signature: cabcbe9e94c679dcfc142972b20ab60b ******/ %feature("compactdefaultargs") Bezier; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Bezier; opencascade::handle Bezier(); - /****************** Circle ******************/ - /**** md5 signature: 031880777795958cc554fa5739cb3a95 ****/ + /****** Adaptor2d_Line2d::Circle ******/ + /****** md5 signature: 031880777795958cc554fa5739cb3a95 ******/ %feature("compactdefaultargs") Circle; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Circ2d + +Description +----------- +No available documentation. ") Circle; gp_Circ2d Circle(); - /****************** Continuity ******************/ - /**** md5 signature: 9381b370dfdd50af7f1b79ce202f0c6f ****/ + /****** Adaptor2d_Line2d::Continuity ******/ + /****** md5 signature: 9381b370dfdd50af7f1b79ce202f0c6f ******/ %feature("compactdefaultargs") Continuity; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- GeomAbs_Shape + +Description +----------- +No available documentation. ") Continuity; GeomAbs_Shape Continuity(); - /****************** D0 ******************/ - /**** md5 signature: 93720dcd9f9e8e8980602530da337c79 ****/ + /****** Adaptor2d_Line2d::D0 ******/ + /****** md5 signature: 93720dcd9f9e8e8980602530da337c79 ******/ %feature("compactdefaultargs") D0; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- X: float P: gp_Pnt2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") D0; void D0(const Standard_Real X, gp_Pnt2d & P); - /****************** D1 ******************/ - /**** md5 signature: 423f97f4cd493b4f6cf5b9cd8bc9c101 ****/ + /****** Adaptor2d_Line2d::D1 ******/ + /****** md5 signature: 423f97f4cd493b4f6cf5b9cd8bc9c101 ******/ %feature("compactdefaultargs") D1; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- X: float P: gp_Pnt2d V: gp_Vec2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") D1; void D1(const Standard_Real X, gp_Pnt2d & P, gp_Vec2d & V); - /****************** D2 ******************/ - /**** md5 signature: fe409137f7ff4361ef92efcdab935654 ****/ + /****** Adaptor2d_Line2d::D2 ******/ + /****** md5 signature: fe409137f7ff4361ef92efcdab935654 ******/ %feature("compactdefaultargs") D2; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- X: float @@ -1140,17 +696,20 @@ P: gp_Pnt2d V1: gp_Vec2d V2: gp_Vec2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") D2; void D2(const Standard_Real X, gp_Pnt2d & P, gp_Vec2d & V1, gp_Vec2d & V2); - /****************** D3 ******************/ - /**** md5 signature: 802e53b731cc18884f89925d02e1d5fb ****/ + /****** Adaptor2d_Line2d::D3 ******/ + /****** md5 signature: 802e53b731cc18884f89925d02e1d5fb ******/ %feature("compactdefaultargs") D3; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- X: float @@ -1159,295 +718,366 @@ V1: gp_Vec2d V2: gp_Vec2d V3: gp_Vec2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") D3; void D3(const Standard_Real X, gp_Pnt2d & P, gp_Vec2d & V1, gp_Vec2d & V2, gp_Vec2d & V3); - /****************** DN ******************/ - /**** md5 signature: a05d2f76912764cef5ac7bb40ebda3d7 ****/ + /****** Adaptor2d_Line2d::DN ******/ + /****** md5 signature: a05d2f76912764cef5ac7bb40ebda3d7 ******/ %feature("compactdefaultargs") DN; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- U: float N: int -Returns +Return ------- gp_Vec2d + +Description +----------- +No available documentation. ") DN; gp_Vec2d DN(const Standard_Real U, const Standard_Integer N); - /****************** Degree ******************/ - /**** md5 signature: 5ce473e72cc7bb935a667f4c839dab09 ****/ + /****** Adaptor2d_Line2d::Degree ******/ + /****** md5 signature: 5ce473e72cc7bb935a667f4c839dab09 ******/ %feature("compactdefaultargs") Degree; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") Degree; Standard_Integer Degree(); - /****************** Ellipse ******************/ - /**** md5 signature: 57e9088d9546fb79032102b676477b62 ****/ + /****** Adaptor2d_Line2d::Ellipse ******/ + /****** md5 signature: 57e9088d9546fb79032102b676477b62 ******/ %feature("compactdefaultargs") Ellipse; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Elips2d + +Description +----------- +No available documentation. ") Ellipse; gp_Elips2d Ellipse(); - /****************** FirstParameter ******************/ - /**** md5 signature: eb9ebe94572bd67588fe8811eac261fb ****/ + /****** Adaptor2d_Line2d::FirstParameter ******/ + /****** md5 signature: eb9ebe94572bd67588fe8811eac261fb ******/ %feature("compactdefaultargs") FirstParameter; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") FirstParameter; Standard_Real FirstParameter(); - /****************** GetType ******************/ - /**** md5 signature: 0ad61dcbb5497908c1b536e766f0fcb9 ****/ + /****** Adaptor2d_Line2d::GetType ******/ + /****** md5 signature: 0ad61dcbb5497908c1b536e766f0fcb9 ******/ %feature("compactdefaultargs") GetType; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- GeomAbs_CurveType + +Description +----------- +No available documentation. ") GetType; GeomAbs_CurveType GetType(); - /****************** Hyperbola ******************/ - /**** md5 signature: 951e1971b5974627f011740e5c4c9ecb ****/ + /****** Adaptor2d_Line2d::Hyperbola ******/ + /****** md5 signature: 951e1971b5974627f011740e5c4c9ecb ******/ %feature("compactdefaultargs") Hyperbola; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Hypr2d + +Description +----------- +No available documentation. ") Hyperbola; gp_Hypr2d Hyperbola(); - /****************** Intervals ******************/ - /**** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ****/ + /****** Adaptor2d_Line2d::Intervals ******/ + /****** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ******/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). - + %feature("autodoc", " Parameters ---------- T: TColStd_Array1OfReal S: GeomAbs_Shape -Returns +Return ------- None + +Description +----------- +Stores in the parameters bounding the intervals of continuity . //! The array must provide enough room to accommodate for the parameters. i.e. T.Length() > NbIntervals(). ") Intervals; void Intervals(TColStd_Array1OfReal & T, const GeomAbs_Shape S); - /****************** IsClosed ******************/ - /**** md5 signature: 00978070ec4cb5f00d1d002a8d5d3763 ****/ + /****** Adaptor2d_Line2d::IsClosed ******/ + /****** md5 signature: 00978070ec4cb5f00d1d002a8d5d3763 ******/ %feature("compactdefaultargs") IsClosed; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsClosed; Standard_Boolean IsClosed(); - /****************** IsPeriodic ******************/ - /**** md5 signature: 15e3ccfd3ad4ae42959489f7f64aa8ca ****/ + /****** Adaptor2d_Line2d::IsPeriodic ******/ + /****** md5 signature: 15e3ccfd3ad4ae42959489f7f64aa8ca ******/ %feature("compactdefaultargs") IsPeriodic; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsPeriodic; Standard_Boolean IsPeriodic(); - /****************** IsRational ******************/ - /**** md5 signature: 82ca56fad113156125f40128b25c0d8e ****/ + /****** Adaptor2d_Line2d::IsRational ******/ + /****** md5 signature: 82ca56fad113156125f40128b25c0d8e ******/ %feature("compactdefaultargs") IsRational; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsRational; Standard_Boolean IsRational(); - /****************** LastParameter ******************/ - /**** md5 signature: cb4925a2d4a451ceec8f6ad486530f9c ****/ + /****** Adaptor2d_Line2d::LastParameter ******/ + /****** md5 signature: cb4925a2d4a451ceec8f6ad486530f9c ******/ %feature("compactdefaultargs") LastParameter; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") LastParameter; Standard_Real LastParameter(); - /****************** Line ******************/ - /**** md5 signature: d41344e9c3febf8a7347a9e78e837373 ****/ + /****** Adaptor2d_Line2d::Line ******/ + /****** md5 signature: d41344e9c3febf8a7347a9e78e837373 ******/ %feature("compactdefaultargs") Line; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Lin2d + +Description +----------- +No available documentation. ") Line; gp_Lin2d Line(); - /****************** Load ******************/ - /**** md5 signature: 7620a23c09d16846209666736fe05b85 ****/ + /****** Adaptor2d_Line2d::Load ******/ + /****** md5 signature: 7620a23c09d16846209666736fe05b85 ******/ %feature("compactdefaultargs") Load; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Lin2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") Load; void Load(const gp_Lin2d & L); - /****************** Load ******************/ - /**** md5 signature: 3737a9da343db0c1813b6fdf3bdda8e1 ****/ + /****** Adaptor2d_Line2d::Load ******/ + /****** md5 signature: 3737a9da343db0c1813b6fdf3bdda8e1 ******/ %feature("compactdefaultargs") Load; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Lin2d UFirst: float ULast: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") Load; void Load(const gp_Lin2d & L, const Standard_Real UFirst, const Standard_Real ULast); - /****************** NbIntervals ******************/ - /**** md5 signature: 8ce4f61bff96d1ce0784028b47edd8dc ****/ + /****** Adaptor2d_Line2d::NbIntervals ******/ + /****** md5 signature: 8ce4f61bff96d1ce0784028b47edd8dc ******/ %feature("compactdefaultargs") NbIntervals; - %feature("autodoc", "If necessary, breaks the curve in intervals of continuity . and returns the number of intervals. - + %feature("autodoc", " Parameters ---------- S: GeomAbs_Shape -Returns +Return ------- int + +Description +----------- +If necessary, breaks the curve in intervals of continuity . And returns the number of intervals. ") NbIntervals; Standard_Integer NbIntervals(const GeomAbs_Shape S); - /****************** NbKnots ******************/ - /**** md5 signature: 841663cbf96bec3b939f307c52df6c7c ****/ + /****** Adaptor2d_Line2d::NbKnots ******/ + /****** md5 signature: 841663cbf96bec3b939f307c52df6c7c ******/ %feature("compactdefaultargs") NbKnots; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbKnots; Standard_Integer NbKnots(); - /****************** NbPoles ******************/ - /**** md5 signature: 52e5fadf897540545847ef59cc0ba942 ****/ + /****** Adaptor2d_Line2d::NbPoles ******/ + /****** md5 signature: 52e5fadf897540545847ef59cc0ba942 ******/ %feature("compactdefaultargs") NbPoles; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbPoles; Standard_Integer NbPoles(); - /****************** Parabola ******************/ - /**** md5 signature: 38729705f952495154cecf7cf9964648 ****/ + /****** Adaptor2d_Line2d::Parabola ******/ + /****** md5 signature: 38729705f952495154cecf7cf9964648 ******/ %feature("compactdefaultargs") Parabola; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Parab2d + +Description +----------- +No available documentation. ") Parabola; gp_Parab2d Parabola(); - /****************** Period ******************/ - /**** md5 signature: 88909a321398632744c0d6841580c626 ****/ + /****** Adaptor2d_Line2d::Period ******/ + /****** md5 signature: 88909a321398632744c0d6841580c626 ******/ %feature("compactdefaultargs") Period; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") Period; Standard_Real Period(); - /****************** Resolution ******************/ - /**** md5 signature: cc4a4d9111fadd20ad48e62bc4df1579 ****/ + /****** Adaptor2d_Line2d::Resolution ******/ + /****** md5 signature: cc4a4d9111fadd20ad48e62bc4df1579 ******/ %feature("compactdefaultargs") Resolution; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- R3d: float -Returns +Return ------- float + +Description +----------- +No available documentation. ") Resolution; Standard_Real Resolution(const Standard_Real R3d); - /****************** Trim ******************/ - /**** md5 signature: e1eef64565323d75c47ee19ca861de8d ****/ - %feature("compactdefaultargs") Trim; - %feature("autodoc", "Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. if >= . + /****** Adaptor2d_Line2d::ShallowCopy ******/ + /****** md5 signature: 7526aff3b770b4e3b1eb3cc08adfb4b0 ******/ + %feature("compactdefaultargs") ShallowCopy; + %feature("autodoc", "Return +------- +opencascade::handle +Description +----------- +Shallow copy of adaptor. +") ShallowCopy; + virtual opencascade::handle ShallowCopy(); + + /****** Adaptor2d_Line2d::Trim ******/ + /****** md5 signature: b5ce1c7f3b02aa6680da8e9ad704acc6 ******/ + %feature("compactdefaultargs") Trim; + %feature("autodoc", " Parameters ---------- First: float Last: float Tol: float -Returns +Return ------- -opencascade::handle +opencascade::handle + +Description +----------- +Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. If >= . ") Trim; - opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); - /****************** Value ******************/ - /**** md5 signature: 98884cb0e60eec266d8c9645d817f1b5 ****/ + /****** Adaptor2d_Line2d::Value ******/ + /****** md5 signature: 98884cb0e60eec266d8c9645d817f1b5 ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- X: float -Returns +Return ------- gp_Pnt2d + +Description +----------- +No available documentation. ") Value; gp_Pnt2d Value(const Standard_Real X); }; +%make_alias(Adaptor2d_Line2d) + %extend Adaptor2d_Line2d { %pythoncode { __repr__ = _dumps_object @@ -1459,159 +1089,185 @@ gp_Pnt2d ******************************/ class Adaptor2d_OffsetCurve : public Adaptor2d_Curve2d { public: - /****************** Adaptor2d_OffsetCurve ******************/ - /**** md5 signature: 451c0a1cc0af1792697a4f563e2766d2 ****/ + /****** Adaptor2d_OffsetCurve::Adaptor2d_OffsetCurve ******/ + /****** md5 signature: 451c0a1cc0af1792697a4f563e2766d2 ******/ %feature("compactdefaultargs") Adaptor2d_OffsetCurve; - %feature("autodoc", "The offset is set to 0. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +The Offset is set to 0. ") Adaptor2d_OffsetCurve; Adaptor2d_OffsetCurve(); - /****************** Adaptor2d_OffsetCurve ******************/ - /**** md5 signature: 2092489fd56ad30e5d0310fbc081109f ****/ + /****** Adaptor2d_OffsetCurve::Adaptor2d_OffsetCurve ******/ + /****** md5 signature: 5654e6bb9cb8b9bac1b0469cd906dc2c ******/ %feature("compactdefaultargs") Adaptor2d_OffsetCurve; - %feature("autodoc", "The curve is loaded. the offset is set to 0. - + %feature("autodoc", " Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d -Returns +Return ------- None + +Description +----------- +The curve is loaded. The Offset is set to 0. ") Adaptor2d_OffsetCurve; - Adaptor2d_OffsetCurve(const opencascade::handle & C); + Adaptor2d_OffsetCurve(const opencascade::handle & C); - /****************** Adaptor2d_OffsetCurve ******************/ - /**** md5 signature: da34b132e75ca6b9fc87b2085685e26a ****/ + /****** Adaptor2d_OffsetCurve::Adaptor2d_OffsetCurve ******/ + /****** md5 signature: 2b9b1c473de25b65f79a33cf02d9d422 ******/ %feature("compactdefaultargs") Adaptor2d_OffsetCurve; - %feature("autodoc", "Creates an offsetcurve curve. the offset is set to offset. - + %feature("autodoc", " Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Offset: float -Returns +Return ------- None + +Description +----------- +Creates an OffsetCurve curve. The Offset is set to Offset. ") Adaptor2d_OffsetCurve; - Adaptor2d_OffsetCurve(const opencascade::handle & C, const Standard_Real Offset); + Adaptor2d_OffsetCurve(const opencascade::handle & C, const Standard_Real Offset); - /****************** Adaptor2d_OffsetCurve ******************/ - /**** md5 signature: 292811072e2428d6f8a963b44c425f71 ****/ + /****** Adaptor2d_OffsetCurve::Adaptor2d_OffsetCurve ******/ + /****** md5 signature: bcca54868ea581c1cf7db2b8ab1074bc ******/ %feature("compactdefaultargs") Adaptor2d_OffsetCurve; - %feature("autodoc", "Create an offset curve. wfirst,wlast define the bounds of the offset curve. - + %feature("autodoc", " Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Offset: float WFirst: float WLast: float -Returns +Return ------- None + +Description +----------- +Create an Offset curve. WFirst,WLast define the bounds of the Offset curve. ") Adaptor2d_OffsetCurve; - Adaptor2d_OffsetCurve(const opencascade::handle & C, const Standard_Real Offset, const Standard_Real WFirst, const Standard_Real WLast); + Adaptor2d_OffsetCurve(const opencascade::handle & C, const Standard_Real Offset, const Standard_Real WFirst, const Standard_Real WLast); - /****************** BSpline ******************/ - /**** md5 signature: 9439c331c4f14f299277aa5a4ff16cec ****/ + /****** Adaptor2d_OffsetCurve::BSpline ******/ + /****** md5 signature: 9439c331c4f14f299277aa5a4ff16cec ******/ %feature("compactdefaultargs") BSpline; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") BSpline; opencascade::handle BSpline(); - /****************** Bezier ******************/ - /**** md5 signature: cabcbe9e94c679dcfc142972b20ab60b ****/ + /****** Adaptor2d_OffsetCurve::Bezier ******/ + /****** md5 signature: cabcbe9e94c679dcfc142972b20ab60b ******/ %feature("compactdefaultargs") Bezier; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Bezier; opencascade::handle Bezier(); - /****************** Circle ******************/ - /**** md5 signature: 031880777795958cc554fa5739cb3a95 ****/ + /****** Adaptor2d_OffsetCurve::Circle ******/ + /****** md5 signature: 031880777795958cc554fa5739cb3a95 ******/ %feature("compactdefaultargs") Circle; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Circ2d + +Description +----------- +No available documentation. ") Circle; gp_Circ2d Circle(); - /****************** Continuity ******************/ - /**** md5 signature: 9381b370dfdd50af7f1b79ce202f0c6f ****/ + /****** Adaptor2d_OffsetCurve::Continuity ******/ + /****** md5 signature: 9381b370dfdd50af7f1b79ce202f0c6f ******/ %feature("compactdefaultargs") Continuity; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- GeomAbs_Shape + +Description +----------- +No available documentation. ") Continuity; GeomAbs_Shape Continuity(); - /****************** Curve ******************/ - /**** md5 signature: f5519de5cf0d739f28ebd5b0ec724522 ****/ + /****** Adaptor2d_OffsetCurve::Curve ******/ + /****** md5 signature: 49c261ed663fbe8204b6afa365e067a9 ******/ %feature("compactdefaultargs") Curve; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- -opencascade::handle +opencascade::handle + +Description +----------- +No available documentation. ") Curve; - const opencascade::handle & Curve(); + const opencascade::handle & Curve(); - /****************** D0 ******************/ - /**** md5 signature: 01a5234aae6db090351bac35b3718fd9 ****/ + /****** Adaptor2d_OffsetCurve::D0 ******/ + /****** md5 signature: 01a5234aae6db090351bac35b3718fd9 ******/ %feature("compactdefaultargs") D0; - %feature("autodoc", "Computes the point of parameter u on the curve. - + %feature("autodoc", " Parameters ---------- U: float P: gp_Pnt2d -Returns +Return ------- None + +Description +----------- +Computes the point of parameter U on the curve. ") D0; void D0(const Standard_Real U, gp_Pnt2d & P); - /****************** D1 ******************/ - /**** md5 signature: 79a293d0b91ab6d1359881075119fb56 ****/ + /****** Adaptor2d_OffsetCurve::D1 ******/ + /****** md5 signature: 79a293d0b91ab6d1359881075119fb56 ******/ %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. - + %feature("autodoc", " Parameters ---------- U: float P: gp_Pnt2d V: gp_Vec2d -Returns +Return ------- None + +Description +----------- +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; void D1(const Standard_Real U, gp_Pnt2d & P, gp_Vec2d & V); - /****************** D2 ******************/ - /**** md5 signature: acc8c0955596bb0bf809102736ad1124 ****/ + /****** Adaptor2d_OffsetCurve::D2 ******/ + /****** md5 signature: acc8c0955596bb0bf809102736ad1124 ******/ %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. - + %feature("autodoc", " Parameters ---------- U: float @@ -1619,17 +1275,20 @@ P: gp_Pnt2d V1: gp_Vec2d V2: gp_Vec2d -Returns +Return ------- None + +Description +----------- +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; void D2(const Standard_Real U, gp_Pnt2d & P, gp_Vec2d & V1, gp_Vec2d & V2); - /****************** D3 ******************/ - /**** md5 signature: 28315b7efe2f6c64fe9497aa5c5ddaf6 ****/ + /****** Adaptor2d_OffsetCurve::D3 ******/ + /****** md5 signature: 28315b7efe2f6c64fe9497aa5c5ddaf6 ******/ %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. - + %feature("autodoc", " Parameters ---------- U: float @@ -1638,332 +1297,410 @@ V1: gp_Vec2d V2: gp_Vec2d V3: gp_Vec2d -Returns +Return ------- None + +Description +----------- +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; void D3(const Standard_Real U, gp_Pnt2d & P, gp_Vec2d & V1, gp_Vec2d & V2, gp_Vec2d & V3); - /****************** DN ******************/ - /**** md5 signature: a05d2f76912764cef5ac7bb40ebda3d7 ****/ + /****** Adaptor2d_OffsetCurve::DN ******/ + /****** md5 signature: a05d2f76912764cef5ac7bb40ebda3d7 ******/ %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. - + %feature("autodoc", " Parameters ---------- U: float N: int -Returns +Return ------- gp_Vec2d + +Description +----------- +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; gp_Vec2d DN(const Standard_Real U, const Standard_Integer N); - /****************** Degree ******************/ - /**** md5 signature: 5ce473e72cc7bb935a667f4c839dab09 ****/ + /****** Adaptor2d_OffsetCurve::Degree ******/ + /****** md5 signature: 5ce473e72cc7bb935a667f4c839dab09 ******/ %feature("compactdefaultargs") Degree; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") Degree; Standard_Integer Degree(); - /****************** Ellipse ******************/ - /**** md5 signature: 57e9088d9546fb79032102b676477b62 ****/ + /****** Adaptor2d_OffsetCurve::Ellipse ******/ + /****** md5 signature: 57e9088d9546fb79032102b676477b62 ******/ %feature("compactdefaultargs") Ellipse; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Elips2d + +Description +----------- +No available documentation. ") Ellipse; gp_Elips2d Ellipse(); - /****************** FirstParameter ******************/ - /**** md5 signature: eb9ebe94572bd67588fe8811eac261fb ****/ + /****** Adaptor2d_OffsetCurve::FirstParameter ******/ + /****** md5 signature: 93c381754667baab23468a195644e410 ******/ %feature("compactdefaultargs") FirstParameter; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") FirstParameter; - Standard_Real FirstParameter(); + virtual Standard_Real FirstParameter(); - /****************** GetType ******************/ - /**** md5 signature: 0ad61dcbb5497908c1b536e766f0fcb9 ****/ + /****** Adaptor2d_OffsetCurve::GetType ******/ + /****** md5 signature: 0ad61dcbb5497908c1b536e766f0fcb9 ******/ %feature("compactdefaultargs") GetType; - %feature("autodoc", "Returns the type of the curve in the current interval : line, circle, ellipse, hyperbola, parabola, beziercurve, bsplinecurve, othercurve. - -Returns + %feature("autodoc", "Return ------- GeomAbs_CurveType + +Description +----------- +Returns the type of the curve in the current interval: Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve. ") GetType; GeomAbs_CurveType GetType(); - /****************** Hyperbola ******************/ - /**** md5 signature: 951e1971b5974627f011740e5c4c9ecb ****/ + /****** Adaptor2d_OffsetCurve::Hyperbola ******/ + /****** md5 signature: 951e1971b5974627f011740e5c4c9ecb ******/ %feature("compactdefaultargs") Hyperbola; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Hypr2d + +Description +----------- +No available documentation. ") Hyperbola; gp_Hypr2d Hyperbola(); - /****************** Intervals ******************/ - /**** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ****/ + /****** Adaptor2d_OffsetCurve::Intervals ******/ + /****** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ******/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). - + %feature("autodoc", " Parameters ---------- T: TColStd_Array1OfReal S: GeomAbs_Shape -Returns +Return ------- None + +Description +----------- +Stores in the parameters bounding the intervals of continuity . //! The array must provide enough room to accommodate for the parameters. i.e. T.Length() > NbIntervals(). ") Intervals; void Intervals(TColStd_Array1OfReal & T, const GeomAbs_Shape S); - /****************** IsClosed ******************/ - /**** md5 signature: 00978070ec4cb5f00d1d002a8d5d3763 ****/ + /****** Adaptor2d_OffsetCurve::IsClosed ******/ + /****** md5 signature: 00978070ec4cb5f00d1d002a8d5d3763 ******/ %feature("compactdefaultargs") IsClosed; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsClosed; Standard_Boolean IsClosed(); - /****************** IsPeriodic ******************/ - /**** md5 signature: 15e3ccfd3ad4ae42959489f7f64aa8ca ****/ + /****** Adaptor2d_OffsetCurve::IsPeriodic ******/ + /****** md5 signature: 15e3ccfd3ad4ae42959489f7f64aa8ca ******/ %feature("compactdefaultargs") IsPeriodic; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsPeriodic; Standard_Boolean IsPeriodic(); - /****************** IsRational ******************/ - /**** md5 signature: 82ca56fad113156125f40128b25c0d8e ****/ + /****** Adaptor2d_OffsetCurve::IsRational ******/ + /****** md5 signature: 82ca56fad113156125f40128b25c0d8e ******/ %feature("compactdefaultargs") IsRational; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsRational; Standard_Boolean IsRational(); - /****************** LastParameter ******************/ - /**** md5 signature: cb4925a2d4a451ceec8f6ad486530f9c ****/ + /****** Adaptor2d_OffsetCurve::LastParameter ******/ + /****** md5 signature: a2893a92f9c4af09acb0cd59d959d964 ******/ %feature("compactdefaultargs") LastParameter; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") LastParameter; - Standard_Real LastParameter(); + virtual Standard_Real LastParameter(); - /****************** Line ******************/ - /**** md5 signature: d41344e9c3febf8a7347a9e78e837373 ****/ + /****** Adaptor2d_OffsetCurve::Line ******/ + /****** md5 signature: d41344e9c3febf8a7347a9e78e837373 ******/ %feature("compactdefaultargs") Line; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Lin2d + +Description +----------- +No available documentation. ") Line; gp_Lin2d Line(); - /****************** Load ******************/ - /**** md5 signature: 4da8ce5b01ac5268a3dc1c0fb87edcf6 ****/ + /****** Adaptor2d_OffsetCurve::Load ******/ + /****** md5 signature: 9061983eb8107070a51888448966855a ******/ %feature("compactdefaultargs") Load; - %feature("autodoc", "Changes the curve. the offset is reset to 0. - + %feature("autodoc", " Parameters ---------- -S: Adaptor2d_HCurve2d +S: Adaptor2d_Curve2d -Returns +Return ------- None + +Description +----------- +Changes the curve. The Offset is reset to 0. ") Load; - void Load(const opencascade::handle & S); + void Load(const opencascade::handle & S); - /****************** Load ******************/ - /**** md5 signature: 9a0b0df619b9827b4c54ec1608be65ca ****/ + /****** Adaptor2d_OffsetCurve::Load ******/ + /****** md5 signature: 9a0b0df619b9827b4c54ec1608be65ca ******/ %feature("compactdefaultargs") Load; - %feature("autodoc", "Changes the offset on the current curve. - + %feature("autodoc", " Parameters ---------- Offset: float -Returns +Return ------- None + +Description +----------- +Changes the Offset on the current Curve. ") Load; void Load(const Standard_Real Offset); - /****************** Load ******************/ - /**** md5 signature: 3322ee7ce92e3dcbd7a1a9bc1c56530c ****/ + /****** Adaptor2d_OffsetCurve::Load ******/ + /****** md5 signature: 3322ee7ce92e3dcbd7a1a9bc1c56530c ******/ %feature("compactdefaultargs") Load; - %feature("autodoc", "Changes the offset curve on the current curve. - + %feature("autodoc", " Parameters ---------- Offset: float WFirst: float WLast: float -Returns +Return ------- None + +Description +----------- +Changes the Offset Curve on the current Curve. ") Load; void Load(const Standard_Real Offset, const Standard_Real WFirst, const Standard_Real WLast); - /****************** NbIntervals ******************/ - /**** md5 signature: 8ce4f61bff96d1ce0784028b47edd8dc ****/ + /****** Adaptor2d_OffsetCurve::NbIntervals ******/ + /****** md5 signature: 8ce4f61bff96d1ce0784028b47edd8dc ******/ %feature("compactdefaultargs") NbIntervals; - %feature("autodoc", "If necessary, breaks the curve in intervals of continuity . and returns the number of intervals. - + %feature("autodoc", " Parameters ---------- S: GeomAbs_Shape -Returns +Return ------- int + +Description +----------- +If necessary, breaks the curve in intervals of continuity . And returns the number of intervals. ") NbIntervals; Standard_Integer NbIntervals(const GeomAbs_Shape S); - /****************** NbKnots ******************/ - /**** md5 signature: 841663cbf96bec3b939f307c52df6c7c ****/ + /****** Adaptor2d_OffsetCurve::NbKnots ******/ + /****** md5 signature: 841663cbf96bec3b939f307c52df6c7c ******/ %feature("compactdefaultargs") NbKnots; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbKnots; Standard_Integer NbKnots(); - /****************** NbPoles ******************/ - /**** md5 signature: 52e5fadf897540545847ef59cc0ba942 ****/ + /****** Adaptor2d_OffsetCurve::NbPoles ******/ + /****** md5 signature: 52e5fadf897540545847ef59cc0ba942 ******/ %feature("compactdefaultargs") NbPoles; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbPoles; Standard_Integer NbPoles(); - /****************** NbSamples ******************/ - /**** md5 signature: 4121a3c2901a01f0443f1a396ebcd6f7 ****/ + /****** Adaptor2d_OffsetCurve::NbSamples ******/ + /****** md5 signature: 4121a3c2901a01f0443f1a396ebcd6f7 ******/ %feature("compactdefaultargs") NbSamples; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbSamples; Standard_Integer NbSamples(); - /****************** Offset ******************/ - /**** md5 signature: 02d05c913be85cd7a6e18ff06a18b8e7 ****/ + /****** Adaptor2d_OffsetCurve::Offset ******/ + /****** md5 signature: dc63f42d21519182e8aed77d60677eb8 ******/ %feature("compactdefaultargs") Offset; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") Offset; Standard_Real Offset(); - /****************** Parabola ******************/ - /**** md5 signature: 38729705f952495154cecf7cf9964648 ****/ + /****** Adaptor2d_OffsetCurve::Parabola ******/ + /****** md5 signature: 38729705f952495154cecf7cf9964648 ******/ %feature("compactdefaultargs") Parabola; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Parab2d + +Description +----------- +No available documentation. ") Parabola; gp_Parab2d Parabola(); - /****************** Period ******************/ - /**** md5 signature: 88909a321398632744c0d6841580c626 ****/ + /****** Adaptor2d_OffsetCurve::Period ******/ + /****** md5 signature: 88909a321398632744c0d6841580c626 ******/ %feature("compactdefaultargs") Period; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") Period; Standard_Real Period(); - /****************** Resolution ******************/ - /**** md5 signature: cc4a4d9111fadd20ad48e62bc4df1579 ****/ + /****** Adaptor2d_OffsetCurve::Resolution ******/ + /****** md5 signature: cc4a4d9111fadd20ad48e62bc4df1579 ******/ %feature("compactdefaultargs") Resolution; - %feature("autodoc", "Returns the parametric resolution corresponding to the real space resolution . - + %feature("autodoc", " Parameters ---------- R3d: float -Returns +Return ------- float + +Description +----------- +Returns the parametric resolution corresponding to the real space resolution . ") Resolution; Standard_Real Resolution(const Standard_Real R3d); - /****************** Trim ******************/ - /**** md5 signature: e1eef64565323d75c47ee19ca861de8d ****/ - %feature("compactdefaultargs") Trim; - %feature("autodoc", "Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. if >= . + /****** Adaptor2d_OffsetCurve::ShallowCopy ******/ + /****** md5 signature: 7526aff3b770b4e3b1eb3cc08adfb4b0 ******/ + %feature("compactdefaultargs") ShallowCopy; + %feature("autodoc", "Return +------- +opencascade::handle +Description +----------- +Shallow copy of adaptor. +") ShallowCopy; + virtual opencascade::handle ShallowCopy(); + + /****** Adaptor2d_OffsetCurve::Trim ******/ + /****** md5 signature: b5ce1c7f3b02aa6680da8e9ad704acc6 ******/ + %feature("compactdefaultargs") Trim; + %feature("autodoc", " Parameters ---------- First: float Last: float Tol: float -Returns +Return ------- -opencascade::handle +opencascade::handle + +Description +----------- +Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. If >= . ") Trim; - opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); - /****************** Value ******************/ - /**** md5 signature: 91dcf5c5229f25c64d3a714347090b29 ****/ + /****** Adaptor2d_OffsetCurve::Value ******/ + /****** md5 signature: 91dcf5c5229f25c64d3a714347090b29 ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Computes the point of parameter u on the curve. - + %feature("autodoc", " Parameters ---------- U: float -Returns +Return ------- gp_Pnt2d + +Description +----------- +Computes the point of parameter U on the curve. ") Value; gp_Pnt2d Value(const Standard_Real U); }; +%make_alias(Adaptor2d_OffsetCurve) + %extend Adaptor2d_OffsetCurve { %pythoncode { __repr__ = _dumps_object diff --git a/src/SWIG_files/wrapper/Adaptor2d.pyi b/src/SWIG_files/wrapper/Adaptor2d.pyi index d4b1d6cbd..7fee51d0c 100644 --- a/src/SWIG_files/wrapper/Adaptor2d.pyi +++ b/src/SWIG_files/wrapper/Adaptor2d.pyi @@ -8,173 +8,135 @@ from OCC.Core.gp import * from OCC.Core.GeomAbs import * from OCC.Core.TColStd import * - -class Adaptor2d_Curve2d: - def BSpline(self) -> Geom2d_BSplineCurve: ... - def Bezier(self) -> Geom2d_BezierCurve: ... - def Circle(self) -> gp_Circ2d: ... - def Continuity(self) -> GeomAbs_Shape: ... - def D0(self, U: float, P: gp_Pnt2d) -> None: ... - def D1(self, U: float, P: gp_Pnt2d, V: gp_Vec2d) -> None: ... - def D2(self, U: float, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d) -> None: ... - def D3(self, U: float, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d, V3: gp_Vec2d) -> None: ... - def DN(self, U: float, N: int) -> gp_Vec2d: ... - def Degree(self) -> int: ... - def Ellipse(self) -> gp_Elips2d: ... - def FirstParameter(self) -> float: ... - def GetType(self) -> GeomAbs_CurveType: ... - def Hyperbola(self) -> gp_Hypr2d: ... - def Intervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... - def IsClosed(self) -> bool: ... - def IsPeriodic(self) -> bool: ... - def IsRational(self) -> bool: ... - def LastParameter(self) -> float: ... - def Line(self) -> gp_Lin2d: ... - def NbIntervals(self, S: GeomAbs_Shape) -> int: ... - def NbKnots(self) -> int: ... - def NbPoles(self) -> int: ... - def NbSamples(self) -> int: ... - def Parabola(self) -> gp_Parab2d: ... - def Period(self) -> float: ... - def Resolution(self, R3d: float) -> float: ... - def Trim(self, First: float, Last: float, Tol: float) -> Adaptor2d_HCurve2d: ... - def Value(self, U: float) -> gp_Pnt2d: ... - -class Adaptor2d_HCurve2d(Standard_Transient): - def BSpline(self) -> Geom2d_BSplineCurve: ... - def Bezier(self) -> Geom2d_BezierCurve: ... - def Circle(self) -> gp_Circ2d: ... - def Continuity(self) -> GeomAbs_Shape: ... - def Curve2d(self) -> Adaptor2d_Curve2d: ... - def D0(self, U: float, P: gp_Pnt2d) -> None: ... - def D1(self, U: float, P: gp_Pnt2d, V: gp_Vec2d) -> None: ... - def D2(self, U: float, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d) -> None: ... - def D3(self, U: float, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d, V3: gp_Vec2d) -> None: ... - def DN(self, U: float, N: int) -> gp_Vec2d: ... - def Degree(self) -> int: ... - def Ellipse(self) -> gp_Elips2d: ... - def FirstParameter(self) -> float: ... - def GetType(self) -> GeomAbs_CurveType: ... - def Hyperbola(self) -> gp_Hypr2d: ... - def Intervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... - def IsClosed(self) -> bool: ... - def IsPeriodic(self) -> bool: ... - def IsRational(self) -> bool: ... - def LastParameter(self) -> float: ... - def Line(self) -> gp_Lin2d: ... - def NbIntervals(self, S: GeomAbs_Shape) -> int: ... - def NbKnots(self) -> int: ... - def NbPoles(self) -> int: ... - def Parabola(self) -> gp_Parab2d: ... - def Period(self) -> float: ... - def Resolution(self, R3d: float) -> float: ... - def Trim(self, First: float, Last: float, Tol: float) -> Adaptor2d_HCurve2d: ... - def Value(self, U: float) -> gp_Pnt2d: ... - -class Adaptor2d_HLine2d(Adaptor2d_HCurve2d): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, C: Adaptor2d_Line2d) -> None: ... - def ChangeCurve2d(self) -> Adaptor2d_Line2d: ... - def Curve2d(self) -> Adaptor2d_Curve2d: ... - def Set(self, C: Adaptor2d_Line2d) -> None: ... - -class Adaptor2d_HOffsetCurve(Adaptor2d_HCurve2d): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, C: Adaptor2d_OffsetCurve) -> None: ... - def ChangeCurve2d(self) -> Adaptor2d_OffsetCurve: ... - def Curve2d(self) -> Adaptor2d_Curve2d: ... - def Set(self, C: Adaptor2d_OffsetCurve) -> None: ... +class Adaptor2d_Curve2d(Standard_Transient): + def BSpline(self) -> Geom2d_BSplineCurve: ... + def Bezier(self) -> Geom2d_BezierCurve: ... + def Circle(self) -> gp_Circ2d: ... + def Continuity(self) -> GeomAbs_Shape: ... + def D0(self, U: float, P: gp_Pnt2d) -> None: ... + def D1(self, U: float, P: gp_Pnt2d, V: gp_Vec2d) -> None: ... + def D2(self, U: float, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d) -> None: ... + def D3( + self, U: float, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d, V3: gp_Vec2d + ) -> None: ... + def DN(self, U: float, N: int) -> gp_Vec2d: ... + def Degree(self) -> int: ... + def Ellipse(self) -> gp_Elips2d: ... + def FirstParameter(self) -> float: ... + def GetType(self) -> GeomAbs_CurveType: ... + def Hyperbola(self) -> gp_Hypr2d: ... + def Intervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... + def IsClosed(self) -> bool: ... + def IsPeriodic(self) -> bool: ... + def IsRational(self) -> bool: ... + def LastParameter(self) -> float: ... + def Line(self) -> gp_Lin2d: ... + def NbIntervals(self, S: GeomAbs_Shape) -> int: ... + def NbKnots(self) -> int: ... + def NbPoles(self) -> int: ... + def NbSamples(self) -> int: ... + def Parabola(self) -> gp_Parab2d: ... + def Period(self) -> float: ... + def Resolution(self, R3d: float) -> float: ... + def ShallowCopy(self) -> Adaptor2d_Curve2d: ... + def Trim(self, First: float, Last: float, Tol: float) -> Adaptor2d_Curve2d: ... + def Value(self, U: float) -> gp_Pnt2d: ... class Adaptor2d_Line2d(Adaptor2d_Curve2d): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, P: gp_Pnt2d, D: gp_Dir2d, UFirst: float, ULast: float) -> None: ... - def BSpline(self) -> Geom2d_BSplineCurve: ... - def Bezier(self) -> Geom2d_BezierCurve: ... - def Circle(self) -> gp_Circ2d: ... - def Continuity(self) -> GeomAbs_Shape: ... - def D0(self, X: float, P: gp_Pnt2d) -> None: ... - def D1(self, X: float, P: gp_Pnt2d, V: gp_Vec2d) -> None: ... - def D2(self, X: float, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d) -> None: ... - def D3(self, X: float, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d, V3: gp_Vec2d) -> None: ... - def DN(self, U: float, N: int) -> gp_Vec2d: ... - def Degree(self) -> int: ... - def Ellipse(self) -> gp_Elips2d: ... - def FirstParameter(self) -> float: ... - def GetType(self) -> GeomAbs_CurveType: ... - def Hyperbola(self) -> gp_Hypr2d: ... - def Intervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... - def IsClosed(self) -> bool: ... - def IsPeriodic(self) -> bool: ... - def IsRational(self) -> bool: ... - def LastParameter(self) -> float: ... - def Line(self) -> gp_Lin2d: ... - @overload - def Load(self, L: gp_Lin2d) -> None: ... - @overload - def Load(self, L: gp_Lin2d, UFirst: float, ULast: float) -> None: ... - def NbIntervals(self, S: GeomAbs_Shape) -> int: ... - def NbKnots(self) -> int: ... - def NbPoles(self) -> int: ... - def Parabola(self) -> gp_Parab2d: ... - def Period(self) -> float: ... - def Resolution(self, R3d: float) -> float: ... - def Trim(self, First: float, Last: float, Tol: float) -> Adaptor2d_HCurve2d: ... - def Value(self, X: float) -> gp_Pnt2d: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__( + self, P: gp_Pnt2d, D: gp_Dir2d, UFirst: float, ULast: float + ) -> None: ... + def BSpline(self) -> Geom2d_BSplineCurve: ... + def Bezier(self) -> Geom2d_BezierCurve: ... + def Circle(self) -> gp_Circ2d: ... + def Continuity(self) -> GeomAbs_Shape: ... + def D0(self, X: float, P: gp_Pnt2d) -> None: ... + def D1(self, X: float, P: gp_Pnt2d, V: gp_Vec2d) -> None: ... + def D2(self, X: float, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d) -> None: ... + def D3( + self, X: float, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d, V3: gp_Vec2d + ) -> None: ... + def DN(self, U: float, N: int) -> gp_Vec2d: ... + def Degree(self) -> int: ... + def Ellipse(self) -> gp_Elips2d: ... + def FirstParameter(self) -> float: ... + def GetType(self) -> GeomAbs_CurveType: ... + def Hyperbola(self) -> gp_Hypr2d: ... + def Intervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... + def IsClosed(self) -> bool: ... + def IsPeriodic(self) -> bool: ... + def IsRational(self) -> bool: ... + def LastParameter(self) -> float: ... + def Line(self) -> gp_Lin2d: ... + @overload + def Load(self, L: gp_Lin2d) -> None: ... + @overload + def Load(self, L: gp_Lin2d, UFirst: float, ULast: float) -> None: ... + def NbIntervals(self, S: GeomAbs_Shape) -> int: ... + def NbKnots(self) -> int: ... + def NbPoles(self) -> int: ... + def Parabola(self) -> gp_Parab2d: ... + def Period(self) -> float: ... + def Resolution(self, R3d: float) -> float: ... + def ShallowCopy(self) -> Adaptor2d_Curve2d: ... + def Trim(self, First: float, Last: float, Tol: float) -> Adaptor2d_Curve2d: ... + def Value(self, X: float) -> gp_Pnt2d: ... class Adaptor2d_OffsetCurve(Adaptor2d_Curve2d): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, C: Adaptor2d_HCurve2d) -> None: ... - @overload - def __init__(self, C: Adaptor2d_HCurve2d, Offset: float) -> None: ... - @overload - def __init__(self, C: Adaptor2d_HCurve2d, Offset: float, WFirst: float, WLast: float) -> None: ... - def BSpline(self) -> Geom2d_BSplineCurve: ... - def Bezier(self) -> Geom2d_BezierCurve: ... - def Circle(self) -> gp_Circ2d: ... - def Continuity(self) -> GeomAbs_Shape: ... - def Curve(self) -> Adaptor2d_HCurve2d: ... - def D0(self, U: float, P: gp_Pnt2d) -> None: ... - def D1(self, U: float, P: gp_Pnt2d, V: gp_Vec2d) -> None: ... - def D2(self, U: float, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d) -> None: ... - def D3(self, U: float, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d, V3: gp_Vec2d) -> None: ... - def DN(self, U: float, N: int) -> gp_Vec2d: ... - def Degree(self) -> int: ... - def Ellipse(self) -> gp_Elips2d: ... - def FirstParameter(self) -> float: ... - def GetType(self) -> GeomAbs_CurveType: ... - def Hyperbola(self) -> gp_Hypr2d: ... - def Intervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... - def IsClosed(self) -> bool: ... - def IsPeriodic(self) -> bool: ... - def IsRational(self) -> bool: ... - def LastParameter(self) -> float: ... - def Line(self) -> gp_Lin2d: ... - @overload - def Load(self, S: Adaptor2d_HCurve2d) -> None: ... - @overload - def Load(self, Offset: float) -> None: ... - @overload - def Load(self, Offset: float, WFirst: float, WLast: float) -> None: ... - def NbIntervals(self, S: GeomAbs_Shape) -> int: ... - def NbKnots(self) -> int: ... - def NbPoles(self) -> int: ... - def NbSamples(self) -> int: ... - def Offset(self) -> float: ... - def Parabola(self) -> gp_Parab2d: ... - def Period(self) -> float: ... - def Resolution(self, R3d: float) -> float: ... - def Trim(self, First: float, Last: float, Tol: float) -> Adaptor2d_HCurve2d: ... - def Value(self, U: float) -> gp_Pnt2d: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, C: Adaptor2d_Curve2d) -> None: ... + @overload + def __init__(self, C: Adaptor2d_Curve2d, Offset: float) -> None: ... + @overload + def __init__( + self, C: Adaptor2d_Curve2d, Offset: float, WFirst: float, WLast: float + ) -> None: ... + def BSpline(self) -> Geom2d_BSplineCurve: ... + def Bezier(self) -> Geom2d_BezierCurve: ... + def Circle(self) -> gp_Circ2d: ... + def Continuity(self) -> GeomAbs_Shape: ... + def Curve(self) -> Adaptor2d_Curve2d: ... + def D0(self, U: float, P: gp_Pnt2d) -> None: ... + def D1(self, U: float, P: gp_Pnt2d, V: gp_Vec2d) -> None: ... + def D2(self, U: float, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d) -> None: ... + def D3( + self, U: float, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d, V3: gp_Vec2d + ) -> None: ... + def DN(self, U: float, N: int) -> gp_Vec2d: ... + def Degree(self) -> int: ... + def Ellipse(self) -> gp_Elips2d: ... + def FirstParameter(self) -> float: ... + def GetType(self) -> GeomAbs_CurveType: ... + def Hyperbola(self) -> gp_Hypr2d: ... + def Intervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... + def IsClosed(self) -> bool: ... + def IsPeriodic(self) -> bool: ... + def IsRational(self) -> bool: ... + def LastParameter(self) -> float: ... + def Line(self) -> gp_Lin2d: ... + @overload + def Load(self, S: Adaptor2d_Curve2d) -> None: ... + @overload + def Load(self, Offset: float) -> None: ... + @overload + def Load(self, Offset: float, WFirst: float, WLast: float) -> None: ... + def NbIntervals(self, S: GeomAbs_Shape) -> int: ... + def NbKnots(self) -> int: ... + def NbPoles(self) -> int: ... + def NbSamples(self) -> int: ... + def Offset(self) -> float: ... + def Parabola(self) -> gp_Parab2d: ... + def Period(self) -> float: ... + def Resolution(self, R3d: float) -> float: ... + def ShallowCopy(self) -> Adaptor2d_Curve2d: ... + def Trim(self, First: float, Last: float, Tol: float) -> Adaptor2d_Curve2d: ... + def Value(self, U: float) -> gp_Pnt2d: ... # harray1 classes # harray2 classes # hsequence classes - diff --git a/src/SWIG_files/wrapper/Adaptor3d.i b/src/SWIG_files/wrapper/Adaptor3d.i index fbcb32780..ed6b51559 100644 --- a/src/SWIG_files/wrapper/Adaptor3d.i +++ b/src/SWIG_files/wrapper/Adaptor3d.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define ADAPTOR3DDOCSTRING "Adaptor3d module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_adaptor3d.html" +https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_adaptor3d.html" %enddef %module (package="OCC.Core", docstring=ADAPTOR3DDOCSTRING) Adaptor3d @@ -31,12 +31,14 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_adaptor3d.html" %include ../common/CommonIncludes.i %include ../common/ExceptionCatcher.i %include ../common/FunctionTransformers.i +%include ../common/EnumTemplates.i %include ../common/Operators.i %include ../common/OccHandle.i +%include ../common/IOStream.i +%include ../common/ArrayMacros.i %{ -#include #include //Dependencies @@ -74,116 +76,126 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ /* handles */ -%wrap_handle(Adaptor3d_HCurve) -%wrap_handle(Adaptor3d_HSurface) +%wrap_handle(Adaptor3d_Curve) %wrap_handle(Adaptor3d_HVertex) +%wrap_handle(Adaptor3d_Surface) %wrap_handle(Adaptor3d_TopolTool) -%wrap_handle(Adaptor3d_HCurveOnSurface) -%wrap_handle(Adaptor3d_HIsoCurve) +%wrap_handle(Adaptor3d_CurveOnSurface) +%wrap_handle(Adaptor3d_IsoCurve) /* end handles declaration */ /* templates */ /* end templates declaration */ /* typedefs */ -typedef Adaptor3d_CurveOnSurface * Adaptor3d_CurveOnSurfacePtr; -typedef Adaptor3d_Curve * Adaptor3d_CurvePtr; -typedef Adaptor3d_Surface * Adaptor3d_SurfacePtr; /* end typedefs declaration */ /************************ * class Adaptor3d_Curve * ************************/ -class Adaptor3d_Curve { +class Adaptor3d_Curve : public Standard_Transient { public: - /****************** BSpline ******************/ - /**** md5 signature: 534c7ad12bf6a739dd70c41ffd91fbc3 ****/ + /****** Adaptor3d_Curve::BSpline ******/ + /****** md5 signature: 534c7ad12bf6a739dd70c41ffd91fbc3 ******/ %feature("compactdefaultargs") BSpline; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") BSpline; virtual opencascade::handle BSpline(); - /****************** Bezier ******************/ - /**** md5 signature: d039f5111d5d399e0d141d31d71bb173 ****/ + /****** Adaptor3d_Curve::Bezier ******/ + /****** md5 signature: d039f5111d5d399e0d141d31d71bb173 ******/ %feature("compactdefaultargs") Bezier; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Bezier; virtual opencascade::handle Bezier(); - /****************** Circle ******************/ - /**** md5 signature: 2ffde840d9a6755dd8dac11847721aeb ****/ + /****** Adaptor3d_Curve::Circle ******/ + /****** md5 signature: 2ffde840d9a6755dd8dac11847721aeb ******/ %feature("compactdefaultargs") Circle; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Circ + +Description +----------- +No available documentation. ") Circle; virtual gp_Circ Circle(); - /****************** Continuity ******************/ - /**** md5 signature: 8564d2514f3a14a163da9fa2b30a9284 ****/ + /****** Adaptor3d_Curve::Continuity ******/ + /****** md5 signature: 8564d2514f3a14a163da9fa2b30a9284 ******/ %feature("compactdefaultargs") Continuity; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- GeomAbs_Shape + +Description +----------- +No available documentation. ") Continuity; virtual GeomAbs_Shape Continuity(); - /****************** D0 ******************/ - /**** md5 signature: ff252230a6b53579b22b53cd2be20378 ****/ + /****** Adaptor3d_Curve::D0 ******/ + /****** md5 signature: ff252230a6b53579b22b53cd2be20378 ******/ %feature("compactdefaultargs") D0; - %feature("autodoc", "Computes the point of parameter u on the curve. - + %feature("autodoc", " Parameters ---------- U: float P: gp_Pnt -Returns +Return ------- None + +Description +----------- +Computes the point of parameter U on the curve. ") D0; virtual void D0(const Standard_Real U, gp_Pnt & P); - /****************** D1 ******************/ - /**** md5 signature: 46c2267eec5c778b3f712b1f654b247b ****/ + /****** Adaptor3d_Curve::D1 ******/ + /****** md5 signature: 46c2267eec5c778b3f712b1f654b247b ******/ %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. - + %feature("autodoc", " Parameters ---------- U: float P: gp_Pnt V: gp_Vec -Returns +Return ------- None + +Description +----------- +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; virtual void D1(const Standard_Real U, gp_Pnt & P, gp_Vec & V); - /****************** D2 ******************/ - /**** md5 signature: bd2a31f266173337a625aa6cc256dc38 ****/ + /****** Adaptor3d_Curve::D2 ******/ + /****** md5 signature: bd2a31f266173337a625aa6cc256dc38 ******/ %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. - + %feature("autodoc", " Parameters ---------- U: float @@ -191,17 +203,20 @@ P: gp_Pnt V1: gp_Vec V2: gp_Vec -Returns +Return ------- None + +Description +----------- +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; virtual void D2(const Standard_Real U, gp_Pnt & P, gp_Vec & V1, gp_Vec & V2); - /****************** D3 ******************/ - /**** md5 signature: 4c8a92894fd5c8702f8e4fc644b169e8 ****/ + /****** Adaptor3d_Curve::D3 ******/ + /****** md5 signature: 4c8a92894fd5c8702f8e4fc644b169e8 ******/ %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. - + %feature("autodoc", " Parameters ---------- U: float @@ -210,1322 +225,342 @@ V1: gp_Vec V2: gp_Vec V3: gp_Vec -Returns -------- -None -") D3; - virtual void D3(const Standard_Real U, gp_Pnt & P, gp_Vec & V1, gp_Vec & V2, gp_Vec & V3); - - /****************** DN ******************/ - /**** md5 signature: e7a556aebd910c39086a16864c70a895 ****/ - %feature("compactdefaultargs") DN; - %feature("autodoc", "The returned vector gives the value of the derivative for the order of derivation n. raised if the continuity of the current interval is not cn. raised if n < 1. - -Parameters ----------- -U: float -N: int - -Returns -------- -gp_Vec -") DN; - virtual gp_Vec DN(const Standard_Real U, const Standard_Integer N); - - /****************** Degree ******************/ - /**** md5 signature: d442d1b77ae7b1ce10d9531914b14be7 ****/ - %feature("compactdefaultargs") Degree; - %feature("autodoc", "No available documentation. - -Returns -------- -int -") Degree; - virtual Standard_Integer Degree(); - - /****************** Ellipse ******************/ - /**** md5 signature: d9f1f2aa507ae2b9ee66e792a6ec6d18 ****/ - %feature("compactdefaultargs") Ellipse; - %feature("autodoc", "No available documentation. - -Returns -------- -gp_Elips -") Ellipse; - virtual gp_Elips Ellipse(); - - /****************** FirstParameter ******************/ - /**** md5 signature: adaac52a0f2d3263c19caadcbea394a2 ****/ - %feature("compactdefaultargs") FirstParameter; - %feature("autodoc", "No available documentation. - -Returns -------- -float -") FirstParameter; - virtual Standard_Real FirstParameter(); - - /****************** GetType ******************/ - /**** md5 signature: 657f9e3cbd23a069ca4adcba08a9b196 ****/ - %feature("compactdefaultargs") GetType; - %feature("autodoc", "Returns the type of the curve in the current interval : line, circle, ellipse, hyperbola, parabola, beziercurve, bsplinecurve, othercurve. - -Returns -------- -GeomAbs_CurveType -") GetType; - virtual GeomAbs_CurveType GetType(); - - /****************** Hyperbola ******************/ - /**** md5 signature: 087275fe9d7175cc6c5a1b3aff60a964 ****/ - %feature("compactdefaultargs") Hyperbola; - %feature("autodoc", "No available documentation. - -Returns -------- -gp_Hypr -") Hyperbola; - virtual gp_Hypr Hyperbola(); - - /****************** Intervals ******************/ - /**** md5 signature: 1b47d9fadea42b0a52e1ad5844faff05 ****/ - %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). - -Parameters ----------- -T: TColStd_Array1OfReal -S: GeomAbs_Shape - -Returns -------- -None -") Intervals; - virtual void Intervals(TColStd_Array1OfReal & T, const GeomAbs_Shape S); - - /****************** IsClosed ******************/ - /**** md5 signature: d57ef0715a5abf96ea6273eee63d5417 ****/ - %feature("compactdefaultargs") IsClosed; - %feature("autodoc", "No available documentation. - -Returns -------- -bool -") IsClosed; - virtual Standard_Boolean IsClosed(); - - /****************** IsPeriodic ******************/ - /**** md5 signature: aac83d336e26e94b4cd1076ac72ce2c9 ****/ - %feature("compactdefaultargs") IsPeriodic; - %feature("autodoc", "No available documentation. - -Returns -------- -bool -") IsPeriodic; - virtual Standard_Boolean IsPeriodic(); - - /****************** IsRational ******************/ - /**** md5 signature: 5389f1211fc99cfdcbd6575b8eec7b5c ****/ - %feature("compactdefaultargs") IsRational; - %feature("autodoc", "No available documentation. - -Returns -------- -bool -") IsRational; - virtual Standard_Boolean IsRational(); - - /****************** LastParameter ******************/ - /**** md5 signature: 38a37eecbdff8d3a1b5ffdd6b12bf4d9 ****/ - %feature("compactdefaultargs") LastParameter; - %feature("autodoc", "No available documentation. - -Returns -------- -float -") LastParameter; - virtual Standard_Real LastParameter(); - - /****************** Line ******************/ - /**** md5 signature: 82d4979efdeac0c1d5c97a520a424fe8 ****/ - %feature("compactdefaultargs") Line; - %feature("autodoc", "No available documentation. - -Returns -------- -gp_Lin -") Line; - virtual gp_Lin Line(); - - /****************** NbIntervals ******************/ - /**** md5 signature: 0b37dc42182e542f53017d0e52c8cd03 ****/ - %feature("compactdefaultargs") NbIntervals; - %feature("autodoc", "Returns the number of intervals for continuity . may be one if continuity(me) >= . - -Parameters ----------- -S: GeomAbs_Shape - -Returns -------- -int -") NbIntervals; - virtual Standard_Integer NbIntervals(const GeomAbs_Shape S); - - /****************** NbKnots ******************/ - /**** md5 signature: 22b54658d4850824758b23cad1529c2f ****/ - %feature("compactdefaultargs") NbKnots; - %feature("autodoc", "No available documentation. - -Returns -------- -int -") NbKnots; - virtual Standard_Integer NbKnots(); - - /****************** NbPoles ******************/ - /**** md5 signature: 1b49ced11f88c6092f4e3b2473fe0460 ****/ - %feature("compactdefaultargs") NbPoles; - %feature("autodoc", "No available documentation. - -Returns -------- -int -") NbPoles; - virtual Standard_Integer NbPoles(); - - /****************** OffsetCurve ******************/ - /**** md5 signature: 655d22f4633348168546c74998986f8b ****/ - %feature("compactdefaultargs") OffsetCurve; - %feature("autodoc", "No available documentation. - -Returns -------- -opencascade::handle -") OffsetCurve; - virtual opencascade::handle OffsetCurve(); - - /****************** Parabola ******************/ - /**** md5 signature: 049a76e288b128edd6e69945fe3570cf ****/ - %feature("compactdefaultargs") Parabola; - %feature("autodoc", "No available documentation. - -Returns -------- -gp_Parab -") Parabola; - virtual gp_Parab Parabola(); - - /****************** Period ******************/ - /**** md5 signature: e4913c399f3a0a7037e498c5a9da8e1f ****/ - %feature("compactdefaultargs") Period; - %feature("autodoc", "No available documentation. - -Returns -------- -float -") Period; - virtual Standard_Real Period(); - - /****************** Resolution ******************/ - /**** md5 signature: 66fa92ada4ec8706453c0525abd4ecd6 ****/ - %feature("compactdefaultargs") Resolution; - %feature("autodoc", "Returns the parametric resolution corresponding to the real space resolution . - -Parameters ----------- -R3d: float - -Returns -------- -float -") Resolution; - virtual Standard_Real Resolution(const Standard_Real R3d); - - /****************** Trim ******************/ - /**** md5 signature: 8820ef060727865a80e1c0a131f9bffe ****/ - %feature("compactdefaultargs") Trim; - %feature("autodoc", "Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. if >= . - -Parameters ----------- -First: float -Last: float -Tol: float - -Returns -------- -opencascade::handle -") Trim; - virtual opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); - - /****************** Value ******************/ - /**** md5 signature: 29b1ab46081b3ec6882d2390e14cd6b7 ****/ - %feature("compactdefaultargs") Value; - %feature("autodoc", "Computes the point of parameter u on the curve. - -Parameters ----------- -U: float - -Returns -------- -gp_Pnt -") Value; - virtual gp_Pnt Value(const Standard_Real U); - -}; - - -%extend Adaptor3d_Curve { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/************************* -* class Adaptor3d_HCurve * -*************************/ -%nodefaultctor Adaptor3d_HCurve; -class Adaptor3d_HCurve : public Standard_Transient { - public: - /****************** BSpline ******************/ - /**** md5 signature: 496d8648e54b9bba1acabb31d1b7a380 ****/ - %feature("compactdefaultargs") BSpline; - %feature("autodoc", "No available documentation. - -Returns -------- -opencascade::handle -") BSpline; - opencascade::handle BSpline(); - - /****************** Bezier ******************/ - /**** md5 signature: 60ae31bb205b04a8b0005c7bd4ffc65d ****/ - %feature("compactdefaultargs") Bezier; - %feature("autodoc", "No available documentation. - -Returns -------- -opencascade::handle -") Bezier; - opencascade::handle Bezier(); - - /****************** Circle ******************/ - /**** md5 signature: cab8b08988d177bd7107adbbccc4ef89 ****/ - %feature("compactdefaultargs") Circle; - %feature("autodoc", "No available documentation. - -Returns -------- -gp_Circ -") Circle; - gp_Circ Circle(); - - /****************** Continuity ******************/ - /**** md5 signature: 4cc571878c66d538aeaf8b0affec3574 ****/ - %feature("compactdefaultargs") Continuity; - %feature("autodoc", "No available documentation. - -Returns -------- -GeomAbs_Shape -") Continuity; - GeomAbs_Shape Continuity(); - - /****************** Curve ******************/ - /**** md5 signature: b1b3209ca0bbe9919434e23a024a3799 ****/ - %feature("compactdefaultargs") Curve; - %feature("autodoc", "Returns a pointer to the curve inside the hcurve. - -Returns -------- -Adaptor3d_Curve -") Curve; - virtual const Adaptor3d_Curve & Curve(); - - /****************** D0 ******************/ - /**** md5 signature: c5111ce8ff4abb74b6c4ba34040c62bb ****/ - %feature("compactdefaultargs") D0; - %feature("autodoc", "No available documentation. - -Parameters ----------- -U: float -P: gp_Pnt - -Returns -------- -None -") D0; - void D0(const Standard_Real U, gp_Pnt & P); - - /****************** D1 ******************/ - /**** md5 signature: 1460fb893db73aba38f92f1893861fce ****/ - %feature("compactdefaultargs") D1; - %feature("autodoc", "No available documentation. - -Parameters ----------- -U: float -P: gp_Pnt -V: gp_Vec - -Returns +Return ------- None -") D1; - void D1(const Standard_Real U, gp_Pnt & P, gp_Vec & V); - - /****************** D2 ******************/ - /**** md5 signature: d3341eb150b9e311e1603e34e0717b8a ****/ - %feature("compactdefaultargs") D2; - %feature("autodoc", "No available documentation. - -Parameters ----------- -U: float -P: gp_Pnt -V1: gp_Vec -V2: gp_Vec - -Returns -------- -None -") D2; - void D2(const Standard_Real U, gp_Pnt & P, gp_Vec & V1, gp_Vec & V2); - - /****************** D3 ******************/ - /**** md5 signature: 644c58f9f4e45baba2b8854d87d69f57 ****/ - %feature("compactdefaultargs") D3; - %feature("autodoc", "No available documentation. - -Parameters ----------- -U: float -P: gp_Pnt -V1: gp_Vec -V2: gp_Vec -V3: gp_Vec - -Returns -------- -None -") D3; - void D3(const Standard_Real U, gp_Pnt & P, gp_Vec & V1, gp_Vec & V2, gp_Vec & V3); - - /****************** DN ******************/ - /**** md5 signature: 434d922dd496e1564b08c06a8cd37e9f ****/ - %feature("compactdefaultargs") DN; - %feature("autodoc", "No available documentation. - -Parameters ----------- -U: float -N: int - -Returns -------- -gp_Vec -") DN; - gp_Vec DN(const Standard_Real U, const Standard_Integer N); - - /****************** Degree ******************/ - /**** md5 signature: e3276df1ce733e2c8e940db548a26d03 ****/ - %feature("compactdefaultargs") Degree; - %feature("autodoc", "No available documentation. - -Returns -------- -int -") Degree; - Standard_Integer Degree(); - - /****************** Ellipse ******************/ - /**** md5 signature: b6da2657e61960166cfe0f18dac79c1f ****/ - %feature("compactdefaultargs") Ellipse; - %feature("autodoc", "No available documentation. - -Returns -------- -gp_Elips -") Ellipse; - gp_Elips Ellipse(); - - /****************** FirstParameter ******************/ - /**** md5 signature: 4ccedbaad83be904f510b4760c75f69c ****/ - %feature("compactdefaultargs") FirstParameter; - %feature("autodoc", "No available documentation. - -Returns -------- -float -") FirstParameter; - Standard_Real FirstParameter(); - - /****************** GetCurve ******************/ - /**** md5 signature: de9a948ea4ea8ee7924747601045abdc ****/ - %feature("compactdefaultargs") GetCurve; - %feature("autodoc", "Returns a pointer to the curve inside the hcurve. - -Returns -------- -Adaptor3d_Curve -") GetCurve; - virtual Adaptor3d_Curve & GetCurve(); - - /****************** GetType ******************/ - /**** md5 signature: 6d4e6ae7972633971ba343e8afc91aa1 ****/ - %feature("compactdefaultargs") GetType; - %feature("autodoc", "No available documentation. - -Returns -------- -GeomAbs_CurveType -") GetType; - GeomAbs_CurveType GetType(); - - /****************** Hyperbola ******************/ - /**** md5 signature: 766d3e1ddfb79a4ee7d6daea9d3565cd ****/ - %feature("compactdefaultargs") Hyperbola; - %feature("autodoc", "No available documentation. - -Returns -------- -gp_Hypr -") Hyperbola; - gp_Hypr Hyperbola(); - - /****************** Intervals ******************/ - /**** md5 signature: c7a2f17df7514293a67a56baae0afb68 ****/ - %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). - -Parameters ----------- -T: TColStd_Array1OfReal -S: GeomAbs_Shape - -Returns -------- -None -") Intervals; - void Intervals(TColStd_Array1OfReal & T, const GeomAbs_Shape S); - - /****************** IsClosed ******************/ - /**** md5 signature: 29709d02fadc9fcb79a766bc9679271b ****/ - %feature("compactdefaultargs") IsClosed; - %feature("autodoc", "No available documentation. - -Returns -------- -bool -") IsClosed; - Standard_Boolean IsClosed(); - - /****************** IsPeriodic ******************/ - /**** md5 signature: 62d7f554b0b7785e1f3919569dfbc68f ****/ - %feature("compactdefaultargs") IsPeriodic; - %feature("autodoc", "No available documentation. - -Returns -------- -bool -") IsPeriodic; - Standard_Boolean IsPeriodic(); - - /****************** IsRational ******************/ - /**** md5 signature: fd4212ffa7bc30cde420e74a2c539434 ****/ - %feature("compactdefaultargs") IsRational; - %feature("autodoc", "No available documentation. - -Returns -------- -bool -") IsRational; - Standard_Boolean IsRational(); - - /****************** LastParameter ******************/ - /**** md5 signature: 7cdf630921ee47ad365a5a6bafd4b46e ****/ - %feature("compactdefaultargs") LastParameter; - %feature("autodoc", "No available documentation. - -Returns -------- -float -") LastParameter; - Standard_Real LastParameter(); - - /****************** Line ******************/ - /**** md5 signature: 63e1fa189ca3bcfdb401241217a93bfb ****/ - %feature("compactdefaultargs") Line; - %feature("autodoc", "No available documentation. - -Returns -------- -gp_Lin -") Line; - gp_Lin Line(); - - /****************** NbIntervals ******************/ - /**** md5 signature: a9cec7e4e6cb5b355a27e6de1f3fc9d9 ****/ - %feature("compactdefaultargs") NbIntervals; - %feature("autodoc", "No available documentation. - -Parameters ----------- -S: GeomAbs_Shape - -Returns -------- -int -") NbIntervals; - Standard_Integer NbIntervals(const GeomAbs_Shape S); - - /****************** NbKnots ******************/ - /**** md5 signature: ccda669299f8eba1ba0d3387af4c950e ****/ - %feature("compactdefaultargs") NbKnots; - %feature("autodoc", "No available documentation. - -Returns -------- -int -") NbKnots; - Standard_Integer NbKnots(); - - /****************** NbPoles ******************/ - /**** md5 signature: 9a7d6d5f8a21c5833786e951bce99604 ****/ - %feature("compactdefaultargs") NbPoles; - %feature("autodoc", "No available documentation. - -Returns -------- -int -") NbPoles; - Standard_Integer NbPoles(); - - /****************** OffsetCurve ******************/ - /**** md5 signature: 654404567e8f56751f28208a99f6d1ab ****/ - %feature("compactdefaultargs") OffsetCurve; - %feature("autodoc", "No available documentation. - -Returns -------- -opencascade::handle -") OffsetCurve; - opencascade::handle OffsetCurve(); - - /****************** Parabola ******************/ - /**** md5 signature: 44bd09c360bea3d33e8c3aa19668649c ****/ - %feature("compactdefaultargs") Parabola; - %feature("autodoc", "No available documentation. - -Returns -------- -gp_Parab -") Parabola; - gp_Parab Parabola(); - - /****************** Period ******************/ - /**** md5 signature: 0270204961d3b0052ffe029cbcdbacd9 ****/ - %feature("compactdefaultargs") Period; - %feature("autodoc", "No available documentation. - -Returns -------- -float -") Period; - Standard_Real Period(); - - /****************** Resolution ******************/ - /**** md5 signature: 955dbc498c06516d62e17e1e8d38cba7 ****/ - %feature("compactdefaultargs") Resolution; - %feature("autodoc", "No available documentation. - -Parameters ----------- -R3d: float - -Returns -------- -float -") Resolution; - Standard_Real Resolution(const Standard_Real R3d); - - /****************** Trim ******************/ - /**** md5 signature: 2541d5a486b9d27b8e1154aafc1cd5ff ****/ - %feature("compactdefaultargs") Trim; - %feature("autodoc", "Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. //! if >= . - -Parameters ----------- -First: float -Last: float -Tol: float - -Returns -------- -opencascade::handle -") Trim; - opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); - - /****************** Value ******************/ - /**** md5 signature: 183286476627e1c9a629476db3ac9809 ****/ - %feature("compactdefaultargs") Value; - %feature("autodoc", "No available documentation. - -Parameters ----------- -U: float - -Returns -------- -gp_Pnt -") Value; - gp_Pnt Value(const Standard_Real U); - -}; - - -%make_alias(Adaptor3d_HCurve) - -%extend Adaptor3d_HCurve { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/*************************** -* class Adaptor3d_HSurface * -***************************/ -%nodefaultctor Adaptor3d_HSurface; -class Adaptor3d_HSurface : public Standard_Transient { - public: - /****************** AxeOfRevolution ******************/ - /**** md5 signature: 8f7f7061135caff67ddf8736b7a53c32 ****/ - %feature("compactdefaultargs") AxeOfRevolution; - %feature("autodoc", "No available documentation. - -Returns -------- -gp_Ax1 -") AxeOfRevolution; - gp_Ax1 AxeOfRevolution(); - - /****************** BSpline ******************/ - /**** md5 signature: 90520d0656879e55de455fd41c68966f ****/ - %feature("compactdefaultargs") BSpline; - %feature("autodoc", "No available documentation. - -Returns -------- -opencascade::handle -") BSpline; - opencascade::handle BSpline(); - - /****************** BasisCurve ******************/ - /**** md5 signature: 9bd57fb60b07c382f0e724ac372b1845 ****/ - %feature("compactdefaultargs") BasisCurve; - %feature("autodoc", "No available documentation. - -Returns -------- -opencascade::handle -") BasisCurve; - opencascade::handle BasisCurve(); - - /****************** BasisSurface ******************/ - /**** md5 signature: 2ab1646a2dc339747d731fed023ab778 ****/ - %feature("compactdefaultargs") BasisSurface; - %feature("autodoc", "No available documentation. - -Returns -------- -opencascade::handle -") BasisSurface; - opencascade::handle BasisSurface(); - - /****************** Bezier ******************/ - /**** md5 signature: 01b14c23c4d757505e280cb9ac231b2c ****/ - %feature("compactdefaultargs") Bezier; - %feature("autodoc", "No available documentation. - -Returns -------- -opencascade::handle -") Bezier; - opencascade::handle Bezier(); - - /****************** Cone ******************/ - /**** md5 signature: 433ba8697232d6bc7b71708b08d190e5 ****/ - %feature("compactdefaultargs") Cone; - %feature("autodoc", "No available documentation. - -Returns -------- -gp_Cone -") Cone; - gp_Cone Cone(); - - /****************** Cylinder ******************/ - /**** md5 signature: 60a8831694e0858ad1a30449c1edb3c9 ****/ - %feature("compactdefaultargs") Cylinder; - %feature("autodoc", "No available documentation. - -Returns -------- -gp_Cylinder -") Cylinder; - gp_Cylinder Cylinder(); - - /****************** D0 ******************/ - /**** md5 signature: d4bee7be33ee8a5b008ff349f73e15d2 ****/ - %feature("compactdefaultargs") D0; - %feature("autodoc", "No available documentation. - -Parameters ----------- -U: float -V: float -P: gp_Pnt - -Returns -------- -None -") D0; - void D0(const Standard_Real U, const Standard_Real V, gp_Pnt & P); - - /****************** D1 ******************/ - /**** md5 signature: 9e70ed4843af0bc8bcd7afd9285b482c ****/ - %feature("compactdefaultargs") D1; - %feature("autodoc", "No available documentation. - -Parameters ----------- -U: float -V: float -P: gp_Pnt -D1U: gp_Vec -D1V: gp_Vec - -Returns -------- -None -") D1; - void D1(const Standard_Real U, const Standard_Real V, gp_Pnt & P, gp_Vec & D1U, gp_Vec & D1V); - - /****************** D2 ******************/ - /**** md5 signature: 41dd87b4b944b8ec265f6e7e991f1393 ****/ - %feature("compactdefaultargs") D2; - %feature("autodoc", "No available documentation. - -Parameters ----------- -U: float -V: float -P: gp_Pnt -D1U: gp_Vec -D1V: gp_Vec -D2U: gp_Vec -D2V: gp_Vec -D2UV: gp_Vec - -Returns -------- -None -") D2; - void D2(const Standard_Real U, const Standard_Real V, gp_Pnt & P, gp_Vec & D1U, gp_Vec & D1V, gp_Vec & D2U, gp_Vec & D2V, gp_Vec & D2UV); - - /****************** D3 ******************/ - /**** md5 signature: d5b106014284d8d0d08b9488980311ae ****/ - %feature("compactdefaultargs") D3; - %feature("autodoc", "No available documentation. - -Parameters ----------- -U: float -V: float -P: gp_Pnt -D1U: gp_Vec -D1V: gp_Vec -D2U: gp_Vec -D2V: gp_Vec -D2UV: gp_Vec -D3U: gp_Vec -D3V: gp_Vec -D3UUV: gp_Vec -D3UVV: gp_Vec - -Returns -------- -None -") D3; - void D3(const Standard_Real U, const Standard_Real V, gp_Pnt & P, gp_Vec & D1U, gp_Vec & D1V, gp_Vec & D2U, gp_Vec & D2V, gp_Vec & D2UV, gp_Vec & D3U, gp_Vec & D3V, gp_Vec & D3UUV, gp_Vec & D3UVV); - - /****************** DN ******************/ - /**** md5 signature: 02c249fcb50eab490fed64db9f653acc ****/ - %feature("compactdefaultargs") DN; - %feature("autodoc", "No available documentation. - -Parameters ----------- -U: float -V: float -Nu: int -Nv: int - -Returns -------- -gp_Vec -") DN; - gp_Vec DN(const Standard_Real U, const Standard_Real V, const Standard_Integer Nu, const Standard_Integer Nv); - - /****************** Direction ******************/ - /**** md5 signature: 7db1622a0b370b4453af0886bb5f840c ****/ - %feature("compactdefaultargs") Direction; - %feature("autodoc", "No available documentation. - -Returns -------- -gp_Dir -") Direction; - gp_Dir Direction(); - - /****************** FirstUParameter ******************/ - /**** md5 signature: 6df66ef45f6e6b2484c886efaa36b44e ****/ - %feature("compactdefaultargs") FirstUParameter; - %feature("autodoc", "No available documentation. - -Returns -------- -float -") FirstUParameter; - Standard_Real FirstUParameter(); - - /****************** FirstVParameter ******************/ - /**** md5 signature: aef7f1c19798ea1af472f542f7782819 ****/ - %feature("compactdefaultargs") FirstVParameter; - %feature("autodoc", "No available documentation. - -Returns -------- -float -") FirstVParameter; - Standard_Real FirstVParameter(); - - /****************** GetType ******************/ - /**** md5 signature: fff8b0b7b5e45cc1a24755c8639001aa ****/ - %feature("compactdefaultargs") GetType; - %feature("autodoc", "No available documentation. - -Returns -------- -GeomAbs_SurfaceType -") GetType; - GeomAbs_SurfaceType GetType(); - - /****************** IsUClosed ******************/ - /**** md5 signature: 17d29145e29e54adf880f81b138cfeb5 ****/ - %feature("compactdefaultargs") IsUClosed; - %feature("autodoc", "No available documentation. - -Returns -------- -bool -") IsUClosed; - Standard_Boolean IsUClosed(); - - /****************** IsUPeriodic ******************/ - /**** md5 signature: 3115f09325238f13df1a22947495381e ****/ - %feature("compactdefaultargs") IsUPeriodic; - %feature("autodoc", "No available documentation. - -Returns -------- -bool -") IsUPeriodic; - Standard_Boolean IsUPeriodic(); - - /****************** IsURational ******************/ - /**** md5 signature: d3be4b63bc17a9c6de48bb978a5cf0e7 ****/ - %feature("compactdefaultargs") IsURational; - %feature("autodoc", "No available documentation. - -Returns -------- -bool -") IsURational; - Standard_Boolean IsURational(); - - /****************** IsVClosed ******************/ - /**** md5 signature: 270ac1341783e48f1a0f14434f1599d3 ****/ - %feature("compactdefaultargs") IsVClosed; - %feature("autodoc", "No available documentation. - -Returns -------- -bool -") IsVClosed; - Standard_Boolean IsVClosed(); - - /****************** IsVPeriodic ******************/ - /**** md5 signature: 1c89d32f35a2ad1870438aec5474569f ****/ - %feature("compactdefaultargs") IsVPeriodic; - %feature("autodoc", "No available documentation. - -Returns -------- -bool -") IsVPeriodic; - Standard_Boolean IsVPeriodic(); - - /****************** IsVRational ******************/ - /**** md5 signature: dcc1c1ae4603545d87819084535899bc ****/ - %feature("compactdefaultargs") IsVRational; - %feature("autodoc", "No available documentation. - -Returns -------- -bool -") IsVRational; - Standard_Boolean IsVRational(); - - /****************** LastUParameter ******************/ - /**** md5 signature: 240d7cb5f8b2d03ea2f8f0d7eeea85aa ****/ - %feature("compactdefaultargs") LastUParameter; - %feature("autodoc", "No available documentation. - -Returns -------- -float -") LastUParameter; - Standard_Real LastUParameter(); - - /****************** LastVParameter ******************/ - /**** md5 signature: cf5436b90b80ba44a7a5f108073dea03 ****/ - %feature("compactdefaultargs") LastVParameter; - %feature("autodoc", "No available documentation. - -Returns -------- -float -") LastVParameter; - Standard_Real LastVParameter(); - - /****************** NbUIntervals ******************/ - /**** md5 signature: 67fae7e55f49018d52bc6ac35ded71cf ****/ - %feature("compactdefaultargs") NbUIntervals; - %feature("autodoc", "No available documentation. - -Parameters ----------- -S: GeomAbs_Shape - -Returns -------- -int -") NbUIntervals; - Standard_Integer NbUIntervals(const GeomAbs_Shape S); - - /****************** NbUKnots ******************/ - /**** md5 signature: dad62b27d386c8d79ed8a3faddece815 ****/ - %feature("compactdefaultargs") NbUKnots; - %feature("autodoc", "No available documentation. - -Returns -------- -int -") NbUKnots; - Standard_Integer NbUKnots(); - - /****************** NbUPoles ******************/ - /**** md5 signature: fb7c625af5aeee8be8cffdd28f1b08d5 ****/ - %feature("compactdefaultargs") NbUPoles; - %feature("autodoc", "No available documentation. - -Returns -------- -int -") NbUPoles; - Standard_Integer NbUPoles(); - /****************** NbVIntervals ******************/ - /**** md5 signature: 4d2cf8dff004e57a23366467efaaa5d8 ****/ - %feature("compactdefaultargs") NbVIntervals; - %feature("autodoc", "No available documentation. +Description +----------- +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; + virtual void D3(const Standard_Real U, gp_Pnt & P, gp_Vec & V1, gp_Vec & V2, gp_Vec & V3); + /****** Adaptor3d_Curve::DN ******/ + /****** md5 signature: e7a556aebd910c39086a16864c70a895 ******/ + %feature("compactdefaultargs") DN; + %feature("autodoc", " Parameters ---------- -S: GeomAbs_Shape +U: float +N: int -Returns +Return ------- -int -") NbVIntervals; - Standard_Integer NbVIntervals(const GeomAbs_Shape S); +gp_Vec - /****************** NbVKnots ******************/ - /**** md5 signature: c5483500ef062c3949009d9a2ec75b29 ****/ - %feature("compactdefaultargs") NbVKnots; - %feature("autodoc", "No available documentation. +Description +----------- +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; + virtual gp_Vec DN(const Standard_Real U, const Standard_Integer N); -Returns + /****** Adaptor3d_Curve::Degree ******/ + /****** md5 signature: d442d1b77ae7b1ce10d9531914b14be7 ******/ + %feature("compactdefaultargs") Degree; + %feature("autodoc", "Return ------- int -") NbVKnots; - Standard_Integer NbVKnots(); - /****************** NbVPoles ******************/ - /**** md5 signature: 098754ae7893287e442d0a3c48b39cf0 ****/ - %feature("compactdefaultargs") NbVPoles; - %feature("autodoc", "No available documentation. +Description +----------- +No available documentation. +") Degree; + virtual Standard_Integer Degree(); -Returns + /****** Adaptor3d_Curve::Ellipse ******/ + /****** md5 signature: d9f1f2aa507ae2b9ee66e792a6ec6d18 ******/ + %feature("compactdefaultargs") Ellipse; + %feature("autodoc", "Return ------- -int -") NbVPoles; - Standard_Integer NbVPoles(); +gp_Elips - /****************** OffsetValue ******************/ - /**** md5 signature: f7bd45fab9feccc67257472cf9ec43f9 ****/ - %feature("compactdefaultargs") OffsetValue; - %feature("autodoc", "No available documentation. +Description +----------- +No available documentation. +") Ellipse; + virtual gp_Elips Ellipse(); -Returns + /****** Adaptor3d_Curve::FirstParameter ******/ + /****** md5 signature: adaac52a0f2d3263c19caadcbea394a2 ******/ + %feature("compactdefaultargs") FirstParameter; + %feature("autodoc", "Return ------- float -") OffsetValue; - Standard_Real OffsetValue(); - /****************** Plane ******************/ - /**** md5 signature: 722ec8a1cda087d25cc539584e9de6e6 ****/ - %feature("compactdefaultargs") Plane; - %feature("autodoc", "No available documentation. +Description +----------- +No available documentation. +") FirstParameter; + virtual Standard_Real FirstParameter(); -Returns + /****** Adaptor3d_Curve::GetType ******/ + /****** md5 signature: 657f9e3cbd23a069ca4adcba08a9b196 ******/ + %feature("compactdefaultargs") GetType; + %feature("autodoc", "Return ------- -gp_Pln -") Plane; - gp_Pln Plane(); +GeomAbs_CurveType - /****************** Sphere ******************/ - /**** md5 signature: e02f27c8c733f0b938d13039e1e73f8c ****/ - %feature("compactdefaultargs") Sphere; - %feature("autodoc", "No available documentation. +Description +----------- +Returns the type of the curve in the current interval: Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve. +") GetType; + virtual GeomAbs_CurveType GetType(); -Returns + /****** Adaptor3d_Curve::Hyperbola ******/ + /****** md5 signature: 087275fe9d7175cc6c5a1b3aff60a964 ******/ + %feature("compactdefaultargs") Hyperbola; + %feature("autodoc", "Return ------- -gp_Sphere -") Sphere; - gp_Sphere Sphere(); - - /****************** Surface ******************/ - /**** md5 signature: 658e31c962719011136ebd1ebd27e42f ****/ - %feature("compactdefaultargs") Surface; - %feature("autodoc", "Returns a reference to the surface inside the hsurface. +gp_Hypr -Returns -------- -Adaptor3d_Surface -") Surface; - virtual const Adaptor3d_Surface & Surface(); +Description +----------- +No available documentation. +") Hyperbola; + virtual gp_Hypr Hyperbola(); - /****************** Torus ******************/ - /**** md5 signature: 9bb22d5b92ef11cba62e467d89f58c66 ****/ - %feature("compactdefaultargs") Torus; - %feature("autodoc", "No available documentation. + /****** Adaptor3d_Curve::Intervals ******/ + /****** md5 signature: 1b47d9fadea42b0a52e1ad5844faff05 ******/ + %feature("compactdefaultargs") Intervals; + %feature("autodoc", " +Parameters +---------- +T: TColStd_Array1OfReal +S: GeomAbs_Shape -Returns +Return ------- -gp_Torus -") Torus; - gp_Torus Torus(); +None - /****************** UContinuity ******************/ - /**** md5 signature: 7a834d6689e9f5d1864fd4bd798b97b5 ****/ - %feature("compactdefaultargs") UContinuity; - %feature("autodoc", "No available documentation. +Description +----------- +Stores in the parameters bounding the intervals of continuity . //! The array must provide enough room to accommodate for the parameters. i.e. T.Length() > NbIntervals(). +") Intervals; + virtual void Intervals(TColStd_Array1OfReal & T, const GeomAbs_Shape S); -Returns + /****** Adaptor3d_Curve::IsClosed ******/ + /****** md5 signature: d57ef0715a5abf96ea6273eee63d5417 ******/ + %feature("compactdefaultargs") IsClosed; + %feature("autodoc", "Return ------- -GeomAbs_Shape -") UContinuity; - GeomAbs_Shape UContinuity(); +bool - /****************** UDegree ******************/ - /**** md5 signature: f204e5fbf1c49e3d9e4889dfead5a190 ****/ - %feature("compactdefaultargs") UDegree; - %feature("autodoc", "No available documentation. +Description +----------- +No available documentation. +") IsClosed; + virtual Standard_Boolean IsClosed(); -Returns + /****** Adaptor3d_Curve::IsPeriodic ******/ + /****** md5 signature: aac83d336e26e94b4cd1076ac72ce2c9 ******/ + %feature("compactdefaultargs") IsPeriodic; + %feature("autodoc", "Return ------- -int -") UDegree; - Standard_Integer UDegree(); - - /****************** UIntervals ******************/ - /**** md5 signature: 6585e940c4d44726e96258ccbb7d0087 ****/ - %feature("compactdefaultargs") UIntervals; - %feature("autodoc", "No available documentation. +bool -Parameters ----------- -T: TColStd_Array1OfReal -S: GeomAbs_Shape +Description +----------- +No available documentation. +") IsPeriodic; + virtual Standard_Boolean IsPeriodic(); -Returns + /****** Adaptor3d_Curve::IsRational ******/ + /****** md5 signature: 5389f1211fc99cfdcbd6575b8eec7b5c ******/ + %feature("compactdefaultargs") IsRational; + %feature("autodoc", "Return ------- -None -") UIntervals; - void UIntervals(TColStd_Array1OfReal & T, const GeomAbs_Shape S); +bool - /****************** UPeriod ******************/ - /**** md5 signature: a51837d6412a7de249a4df43b8e9344b ****/ - %feature("compactdefaultargs") UPeriod; - %feature("autodoc", "No available documentation. +Description +----------- +No available documentation. +") IsRational; + virtual Standard_Boolean IsRational(); -Returns + /****** Adaptor3d_Curve::LastParameter ******/ + /****** md5 signature: 38a37eecbdff8d3a1b5ffdd6b12bf4d9 ******/ + %feature("compactdefaultargs") LastParameter; + %feature("autodoc", "Return ------- float -") UPeriod; - Standard_Real UPeriod(); - - /****************** UResolution ******************/ - /**** md5 signature: 14956adece2a5624f93a48c664b9536a ****/ - %feature("compactdefaultargs") UResolution; - %feature("autodoc", "No available documentation. -Parameters ----------- -R3d: float +Description +----------- +No available documentation. +") LastParameter; + virtual Standard_Real LastParameter(); -Returns + /****** Adaptor3d_Curve::Line ******/ + /****** md5 signature: 82d4979efdeac0c1d5c97a520a424fe8 ******/ + %feature("compactdefaultargs") Line; + %feature("autodoc", "Return ------- -float -") UResolution; - Standard_Real UResolution(const Standard_Real R3d); +gp_Lin - /****************** UTrim ******************/ - /**** md5 signature: cbb1f328bb843f607160892cca566ac3 ****/ - %feature("compactdefaultargs") UTrim; - %feature("autodoc", "No available documentation. +Description +----------- +No available documentation. +") Line; + virtual gp_Lin Line(); + /****** Adaptor3d_Curve::NbIntervals ******/ + /****** md5 signature: 0b37dc42182e542f53017d0e52c8cd03 ******/ + %feature("compactdefaultargs") NbIntervals; + %feature("autodoc", " Parameters ---------- -First: float -Last: float -Tol: float +S: GeomAbs_Shape -Returns +Return ------- -opencascade::handle -") UTrim; - opencascade::handle UTrim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); +int - /****************** VContinuity ******************/ - /**** md5 signature: 04feca7c074e42905bbf6e2b3062dcd8 ****/ - %feature("compactdefaultargs") VContinuity; - %feature("autodoc", "No available documentation. +Description +----------- +Returns the number of intervals for continuity . May be one if Continuity(me) >= . +") NbIntervals; + virtual Standard_Integer NbIntervals(const GeomAbs_Shape S); -Returns + /****** Adaptor3d_Curve::NbKnots ******/ + /****** md5 signature: 22b54658d4850824758b23cad1529c2f ******/ + %feature("compactdefaultargs") NbKnots; + %feature("autodoc", "Return ------- -GeomAbs_Shape -") VContinuity; - GeomAbs_Shape VContinuity(); +int - /****************** VDegree ******************/ - /**** md5 signature: 4901bdb3b29a5c2410ca93d6a7816f06 ****/ - %feature("compactdefaultargs") VDegree; - %feature("autodoc", "No available documentation. +Description +----------- +No available documentation. +") NbKnots; + virtual Standard_Integer NbKnots(); -Returns + /****** Adaptor3d_Curve::NbPoles ******/ + /****** md5 signature: 1b49ced11f88c6092f4e3b2473fe0460 ******/ + %feature("compactdefaultargs") NbPoles; + %feature("autodoc", "Return ------- int -") VDegree; - Standard_Integer VDegree(); - /****************** VIntervals ******************/ - /**** md5 signature: 2919b0dacec67ea3d917062f8f5feecb ****/ - %feature("compactdefaultargs") VIntervals; - %feature("autodoc", "No available documentation. +Description +----------- +No available documentation. +") NbPoles; + virtual Standard_Integer NbPoles(); -Parameters ----------- -T: TColStd_Array1OfReal -S: GeomAbs_Shape + /****** Adaptor3d_Curve::OffsetCurve ******/ + /****** md5 signature: 655d22f4633348168546c74998986f8b ******/ + %feature("compactdefaultargs") OffsetCurve; + %feature("autodoc", "Return +------- +opencascade::handle + +Description +----------- +No available documentation. +") OffsetCurve; + virtual opencascade::handle OffsetCurve(); -Returns + /****** Adaptor3d_Curve::Parabola ******/ + /****** md5 signature: 049a76e288b128edd6e69945fe3570cf ******/ + %feature("compactdefaultargs") Parabola; + %feature("autodoc", "Return ------- -None -") VIntervals; - void VIntervals(TColStd_Array1OfReal & T, const GeomAbs_Shape S); +gp_Parab - /****************** VPeriod ******************/ - /**** md5 signature: df925493eccad7833ed58c5638da644c ****/ - %feature("compactdefaultargs") VPeriod; - %feature("autodoc", "No available documentation. +Description +----------- +No available documentation. +") Parabola; + virtual gp_Parab Parabola(); -Returns + /****** Adaptor3d_Curve::Period ******/ + /****** md5 signature: e4913c399f3a0a7037e498c5a9da8e1f ******/ + %feature("compactdefaultargs") Period; + %feature("autodoc", "Return ------- float -") VPeriod; - Standard_Real VPeriod(); - /****************** VResolution ******************/ - /**** md5 signature: d6f64a3d2847b3efc73525db1d12e389 ****/ - %feature("compactdefaultargs") VResolution; - %feature("autodoc", "No available documentation. +Description +----------- +No available documentation. +") Period; + virtual Standard_Real Period(); + /****** Adaptor3d_Curve::Resolution ******/ + /****** md5 signature: 66fa92ada4ec8706453c0525abd4ecd6 ******/ + %feature("compactdefaultargs") Resolution; + %feature("autodoc", " Parameters ---------- R3d: float -Returns +Return ------- float -") VResolution; - Standard_Real VResolution(const Standard_Real R3d); - /****************** VTrim ******************/ - /**** md5 signature: b13205acad04edca4efd92692857303d ****/ - %feature("compactdefaultargs") VTrim; - %feature("autodoc", "No available documentation. +Description +----------- +Returns the parametric resolution corresponding to the real space resolution . +") Resolution; + virtual Standard_Real Resolution(const Standard_Real R3d); + + /****** Adaptor3d_Curve::ShallowCopy ******/ + /****** md5 signature: 60c6e7da29991094d97100dbb8a8d321 ******/ + %feature("compactdefaultargs") ShallowCopy; + %feature("autodoc", "Return +------- +opencascade::handle +Description +----------- +Shallow copy of adaptor. +") ShallowCopy; + virtual opencascade::handle ShallowCopy(); + + /****** Adaptor3d_Curve::Trim ******/ + /****** md5 signature: 28307ca5011d5510d72469097ddcd806 ******/ + %feature("compactdefaultargs") Trim; + %feature("autodoc", " Parameters ---------- First: float Last: float Tol: float -Returns +Return ------- -opencascade::handle -") VTrim; - opencascade::handle VTrim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); +opencascade::handle - /****************** Value ******************/ - /**** md5 signature: 42959897db65d301eb66b5528ed15f16 ****/ - %feature("compactdefaultargs") Value; - %feature("autodoc", "No available documentation. +Description +----------- +Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. If >= . +") Trim; + virtual opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + /****** Adaptor3d_Curve::Value ******/ + /****** md5 signature: 29b1ab46081b3ec6882d2390e14cd6b7 ******/ + %feature("compactdefaultargs") Value; + %feature("autodoc", " Parameters ---------- U: float -V: float -Returns +Return ------- gp_Pnt + +Description +----------- +Computes the point of parameter U on the curve. ") Value; - gp_Pnt Value(const Standard_Real U, const Standard_Real V); + virtual gp_Pnt Value(const Standard_Real U); }; -%make_alias(Adaptor3d_HSurface) +%make_alias(Adaptor3d_Curve) -%extend Adaptor3d_HSurface { +%extend Adaptor3d_Curve { %pythoncode { __repr__ = _dumps_object } @@ -1536,672 +571,815 @@ gp_Pnt *******************************/ class Adaptor3d_HSurfaceTool { public: - /****************** AxeOfRevolution ******************/ - /**** md5 signature: 90e7d3ea84c6972f4ac75908f93df788 ****/ + /****** Adaptor3d_HSurfaceTool::AxeOfRevolution ******/ + /****** md5 signature: 4e3c848c28744e01b507e4ba35d58b75 ******/ %feature("compactdefaultargs") AxeOfRevolution; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface -Returns +Return ------- gp_Ax1 + +Description +----------- +No available documentation. ") AxeOfRevolution; - static gp_Ax1 AxeOfRevolution(const opencascade::handle & S); + static gp_Ax1 AxeOfRevolution(const opencascade::handle & theSurf); - /****************** BSpline ******************/ - /**** md5 signature: 58a5333acc8651d1da1d04a77d39832b ****/ + /****** Adaptor3d_HSurfaceTool::BSpline ******/ + /****** md5 signature: b20eee8852543ecba534da56f02ccdf2 ******/ %feature("compactdefaultargs") BSpline; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface -Returns +Return ------- opencascade::handle + +Description +----------- +No available documentation. ") BSpline; - static opencascade::handle BSpline(const opencascade::handle & S); + static opencascade::handle BSpline(const opencascade::handle & theSurf); - /****************** BasisCurve ******************/ - /**** md5 signature: a58c4e3cb81636061391721c51a87b99 ****/ + /****** Adaptor3d_HSurfaceTool::BasisCurve ******/ + /****** md5 signature: a71b9a72441e0c7b51624acf5d096f74 ******/ %feature("compactdefaultargs") BasisCurve; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface -Returns +Return ------- -opencascade::handle +opencascade::handle + +Description +----------- +No available documentation. ") BasisCurve; - static opencascade::handle BasisCurve(const opencascade::handle & S); + static opencascade::handle BasisCurve(const opencascade::handle & theSurf); - /****************** BasisSurface ******************/ - /**** md5 signature: 80fd95eda10a05e6b7859979212efda5 ****/ + /****** Adaptor3d_HSurfaceTool::BasisSurface ******/ + /****** md5 signature: 6934a2ceed70d84abf626da742f2ca76 ******/ %feature("compactdefaultargs") BasisSurface; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface -Returns +Return ------- -opencascade::handle +opencascade::handle + +Description +----------- +No available documentation. ") BasisSurface; - static opencascade::handle BasisSurface(const opencascade::handle & S); + static opencascade::handle BasisSurface(const opencascade::handle & theSurf); - /****************** Bezier ******************/ - /**** md5 signature: 38452501aabb3d7fb2dff281b7ea0c2a ****/ + /****** Adaptor3d_HSurfaceTool::Bezier ******/ + /****** md5 signature: ef3b727f4373bb00634a7bd688d5763b ******/ %feature("compactdefaultargs") Bezier; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface -Returns +Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Bezier; - static opencascade::handle Bezier(const opencascade::handle & S); + static opencascade::handle Bezier(const opencascade::handle & theSurf); - /****************** Cone ******************/ - /**** md5 signature: 0add92af7a5e48458c7b7d4d1d025330 ****/ + /****** Adaptor3d_HSurfaceTool::Cone ******/ + /****** md5 signature: a89b691d80e2017209b45690348a907f ******/ %feature("compactdefaultargs") Cone; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface -Returns +Return ------- gp_Cone + +Description +----------- +No available documentation. ") Cone; - static gp_Cone Cone(const opencascade::handle & S); + static gp_Cone Cone(const opencascade::handle & theSurf); - /****************** Cylinder ******************/ - /**** md5 signature: e22d57d0f6918a890aa3f83bc07fc114 ****/ + /****** Adaptor3d_HSurfaceTool::Cylinder ******/ + /****** md5 signature: 4f2f78ef4d73dcfbb95115cb8f3fa005 ******/ %feature("compactdefaultargs") Cylinder; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface -Returns +Return ------- gp_Cylinder + +Description +----------- +No available documentation. ") Cylinder; - static gp_Cylinder Cylinder(const opencascade::handle & S); + static gp_Cylinder Cylinder(const opencascade::handle & theSurf); - /****************** D0 ******************/ - /**** md5 signature: ab791038c5995868ba4c10405c9e646b ****/ + /****** Adaptor3d_HSurfaceTool::D0 ******/ + /****** md5 signature: ef0f2f9a8ca6c0c9f75569aea26f4923 ******/ %feature("compactdefaultargs") D0; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface -u: float -v: float -P: gp_Pnt +theSurf: Adaptor3d_Surface +theU: float +theV: float +thePnt: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") D0; - static void D0(const opencascade::handle & S, const Standard_Real u, const Standard_Real v, gp_Pnt & P); + static void D0(const opencascade::handle & theSurf, const Standard_Real theU, const Standard_Real theV, gp_Pnt & thePnt); - /****************** D1 ******************/ - /**** md5 signature: d1d64a7b4d697015545621cd8dfff2d0 ****/ + /****** Adaptor3d_HSurfaceTool::D1 ******/ + /****** md5 signature: a7a9c17ffe5446525786782c4d8ec23c ******/ %feature("compactdefaultargs") D1; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface -u: float -v: float -P: gp_Pnt -D1u: gp_Vec -D1v: gp_Vec +theSurf: Adaptor3d_Surface +theU: float +theV: float +thePnt: gp_Pnt +theD1U: gp_Vec +theD1V: gp_Vec -Returns +Return ------- None + +Description +----------- +No available documentation. ") D1; - static void D1(const opencascade::handle & S, const Standard_Real u, const Standard_Real v, gp_Pnt & P, gp_Vec & D1u, gp_Vec & D1v); + static void D1(const opencascade::handle & theSurf, const Standard_Real theU, const Standard_Real theV, gp_Pnt & thePnt, gp_Vec & theD1U, gp_Vec & theD1V); - /****************** D2 ******************/ - /**** md5 signature: 0a4a9b049d40127cada1f6c51cb957cc ****/ + /****** Adaptor3d_HSurfaceTool::D2 ******/ + /****** md5 signature: d37322a7acd2c884c1193c7c40124ccd ******/ %feature("compactdefaultargs") D2; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface -u: float -v: float -P: gp_Pnt -D1U: gp_Vec -D1V: gp_Vec -D2U: gp_Vec -D2V: gp_Vec -D2UV: gp_Vec +theSurf: Adaptor3d_Surface +theU: float +theV: float +thePnt: gp_Pnt +theD1U: gp_Vec +theD1V: gp_Vec +theD2U: gp_Vec +theD2V: gp_Vec +theD2UV: gp_Vec -Returns +Return ------- None + +Description +----------- +No available documentation. ") D2; - static void D2(const opencascade::handle & S, const Standard_Real u, const Standard_Real v, gp_Pnt & P, gp_Vec & D1U, gp_Vec & D1V, gp_Vec & D2U, gp_Vec & D2V, gp_Vec & D2UV); + static void D2(const opencascade::handle & theSurf, const Standard_Real theU, const Standard_Real theV, gp_Pnt & thePnt, gp_Vec & theD1U, gp_Vec & theD1V, gp_Vec & theD2U, gp_Vec & theD2V, gp_Vec & theD2UV); - /****************** D3 ******************/ - /**** md5 signature: a77eb3d1c1d59a1ae72354786b564149 ****/ + /****** Adaptor3d_HSurfaceTool::D3 ******/ + /****** md5 signature: 548950301f5d431905372eddf5619eb0 ******/ %feature("compactdefaultargs") D3; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface -u: float -v: float -P: gp_Pnt -D1U: gp_Vec -D1V: gp_Vec -D2U: gp_Vec -D2V: gp_Vec -D2UV: gp_Vec -D3U: gp_Vec -D3V: gp_Vec -D3UUV: gp_Vec -D3UVV: gp_Vec +theSurf: Adaptor3d_Surface +theU: float +theV: float +thePnt: gp_Pnt +theD1U: gp_Vec +theD1V: gp_Vec +theD2U: gp_Vec +theD2V: gp_Vec +theD2UV: gp_Vec +theD3U: gp_Vec +theD3V: gp_Vec +theD3UUV: gp_Vec +theD3UVV: gp_Vec -Returns +Return ------- None + +Description +----------- +No available documentation. ") D3; - static void D3(const opencascade::handle & S, const Standard_Real u, const Standard_Real v, gp_Pnt & P, gp_Vec & D1U, gp_Vec & D1V, gp_Vec & D2U, gp_Vec & D2V, gp_Vec & D2UV, gp_Vec & D3U, gp_Vec & D3V, gp_Vec & D3UUV, gp_Vec & D3UVV); + static void D3(const opencascade::handle & theSurf, const Standard_Real theU, const Standard_Real theV, gp_Pnt & thePnt, gp_Vec & theD1U, gp_Vec & theD1V, gp_Vec & theD2U, gp_Vec & theD2V, gp_Vec & theD2UV, gp_Vec & theD3U, gp_Vec & theD3V, gp_Vec & theD3UUV, gp_Vec & theD3UVV); - /****************** DN ******************/ - /**** md5 signature: c5d144984dcddbd88ca698d8031760dc ****/ + /****** Adaptor3d_HSurfaceTool::DN ******/ + /****** md5 signature: 53aedfdee41fb6987ac126268a92d99b ******/ %feature("compactdefaultargs") DN; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface -u: float -v: float -Nu: int -Nv: int +theSurf: Adaptor3d_Surface +theU: float +theV: float +theNU: int +theNV: int -Returns +Return ------- gp_Vec + +Description +----------- +No available documentation. ") DN; - static gp_Vec DN(const opencascade::handle & S, const Standard_Real u, const Standard_Real v, const Standard_Integer Nu, const Standard_Integer Nv); + static gp_Vec DN(const opencascade::handle & theSurf, const Standard_Real theU, const Standard_Real theV, const Standard_Integer theNU, const Standard_Integer theNV); - /****************** Direction ******************/ - /**** md5 signature: 878bac77ef3c09c3eb87688a021f87a4 ****/ + /****** Adaptor3d_HSurfaceTool::Direction ******/ + /****** md5 signature: 390f6a317984f3d7d015dcaaccd7ed67 ******/ %feature("compactdefaultargs") Direction; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface -Returns +Return ------- gp_Dir + +Description +----------- +No available documentation. ") Direction; - static gp_Dir Direction(const opencascade::handle & S); + static gp_Dir Direction(const opencascade::handle & theSurf); - /****************** FirstUParameter ******************/ - /**** md5 signature: 4892ca893e0332cc6c24a5beea0f0783 ****/ + /****** Adaptor3d_HSurfaceTool::FirstUParameter ******/ + /****** md5 signature: 09a568c2a86c9579d6d807f3e72bc98f ******/ %feature("compactdefaultargs") FirstUParameter; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface -Returns +Return ------- float + +Description +----------- +No available documentation. ") FirstUParameter; - static Standard_Real FirstUParameter(const opencascade::handle & S); + static Standard_Real FirstUParameter(const opencascade::handle & theSurf); - /****************** FirstVParameter ******************/ - /**** md5 signature: 6ced63b707653ce0c6a47c938a6cdc22 ****/ + /****** Adaptor3d_HSurfaceTool::FirstVParameter ******/ + /****** md5 signature: 9a27fa1be5f466c88aad4c2e37fb7f0f ******/ %feature("compactdefaultargs") FirstVParameter; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface -Returns +Return ------- float + +Description +----------- +No available documentation. ") FirstVParameter; - static Standard_Real FirstVParameter(const opencascade::handle & S); + static Standard_Real FirstVParameter(const opencascade::handle & theSurf); - /****************** GetType ******************/ - /**** md5 signature: 4d6525589c7cdb1671b4d191d1237a8f ****/ + /****** Adaptor3d_HSurfaceTool::GetType ******/ + /****** md5 signature: 53f66bf2c621ee9ef4e55ebd8ffafedc ******/ %feature("compactdefaultargs") GetType; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface -Returns +Return ------- GeomAbs_SurfaceType + +Description +----------- +No available documentation. ") GetType; - static GeomAbs_SurfaceType GetType(const opencascade::handle & S); + static GeomAbs_SurfaceType GetType(const opencascade::handle & theSurf); - /****************** IsUClosed ******************/ - /**** md5 signature: 6908c9818fd37b91c797ea5e81ca2274 ****/ - %feature("compactdefaultargs") IsUClosed; - %feature("autodoc", "No available documentation. + /****** Adaptor3d_HSurfaceTool::IsSurfG1 ******/ + /****** md5 signature: d95107568ad3b12d40cce978273a764d ******/ + %feature("compactdefaultargs") IsSurfG1; + %feature("autodoc", " +Parameters +---------- +theSurf: Adaptor3d_Surface +theAlongU: bool +theAngTol: float (optional, default to Precision::Angular()) + +Return +------- +bool +Description +----------- +No available documentation. +") IsSurfG1; + static Standard_Boolean IsSurfG1(const opencascade::handle & theSurf, const Standard_Boolean theAlongU, const Standard_Real theAngTol = Precision::Angular()); + + /****** Adaptor3d_HSurfaceTool::IsUClosed ******/ + /****** md5 signature: 72572d307cc1b0c468f6fd5b46afb6a4 ******/ + %feature("compactdefaultargs") IsUClosed; + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface -Returns +Return ------- bool + +Description +----------- +No available documentation. ") IsUClosed; - static Standard_Boolean IsUClosed(const opencascade::handle & S); + static Standard_Boolean IsUClosed(const opencascade::handle & theSurf); - /****************** IsUPeriodic ******************/ - /**** md5 signature: db6aac7cc37781bc003ba4e14b2d07f5 ****/ + /****** Adaptor3d_HSurfaceTool::IsUPeriodic ******/ + /****** md5 signature: b78a8d5ae8699626e5a192f250e8d734 ******/ %feature("compactdefaultargs") IsUPeriodic; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface -Returns +Return ------- bool + +Description +----------- +No available documentation. ") IsUPeriodic; - static Standard_Boolean IsUPeriodic(const opencascade::handle & S); + static Standard_Boolean IsUPeriodic(const opencascade::handle & theSurf); - /****************** IsVClosed ******************/ - /**** md5 signature: 691cde9c27fbbfc3b50570b78a9e6c4b ****/ + /****** Adaptor3d_HSurfaceTool::IsVClosed ******/ + /****** md5 signature: c45c621ec386b255606174f186649fab ******/ %feature("compactdefaultargs") IsVClosed; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface -Returns +Return ------- bool + +Description +----------- +No available documentation. ") IsVClosed; - static Standard_Boolean IsVClosed(const opencascade::handle & S); + static Standard_Boolean IsVClosed(const opencascade::handle & theSurf); - /****************** IsVPeriodic ******************/ - /**** md5 signature: 12d9a142396354cc719fcd5cf7000b13 ****/ + /****** Adaptor3d_HSurfaceTool::IsVPeriodic ******/ + /****** md5 signature: f4305ccce01d0fbbd27855b1043d4ce5 ******/ %feature("compactdefaultargs") IsVPeriodic; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface -Returns +Return ------- bool + +Description +----------- +No available documentation. ") IsVPeriodic; - static Standard_Boolean IsVPeriodic(const opencascade::handle & S); + static Standard_Boolean IsVPeriodic(const opencascade::handle & theSurf); - /****************** LastUParameter ******************/ - /**** md5 signature: ba67c0c1fa5d7330f919d1bca6f5d665 ****/ + /****** Adaptor3d_HSurfaceTool::LastUParameter ******/ + /****** md5 signature: 30477e987d8f575f84b54a57ce9f7444 ******/ %feature("compactdefaultargs") LastUParameter; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface -Returns +Return ------- float + +Description +----------- +No available documentation. ") LastUParameter; - static Standard_Real LastUParameter(const opencascade::handle & S); + static Standard_Real LastUParameter(const opencascade::handle & theSurf); - /****************** LastVParameter ******************/ - /**** md5 signature: b150e0a1c4f0d9eb4f7949dcddb252f3 ****/ + /****** Adaptor3d_HSurfaceTool::LastVParameter ******/ + /****** md5 signature: d5915a1291074a4423aec5d175b66bbc ******/ %feature("compactdefaultargs") LastVParameter; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface -Returns +Return ------- float + +Description +----------- +No available documentation. ") LastVParameter; - static Standard_Real LastVParameter(const opencascade::handle & S); + static Standard_Real LastVParameter(const opencascade::handle & theSurf); - /****************** NbSamplesU ******************/ - /**** md5 signature: 04e6f03e12bf728fc21ea8558f2cff17 ****/ + /****** Adaptor3d_HSurfaceTool::NbSamplesU ******/ + /****** md5 signature: 50ddbf72eceb31a63e22869e67292178 ******/ %feature("compactdefaultargs") NbSamplesU; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface -Returns +Return ------- int + +Description +----------- +No available documentation. ") NbSamplesU; - static Standard_Integer NbSamplesU(const opencascade::handle & S); + static Standard_Integer NbSamplesU(const opencascade::handle & S); - /****************** NbSamplesU ******************/ - /**** md5 signature: 97232a7a843cb20e7362e1978825fb60 ****/ + /****** Adaptor3d_HSurfaceTool::NbSamplesU ******/ + /****** md5 signature: 7ffe816252db97bdbf2950cea2ca2037 ******/ %feature("compactdefaultargs") NbSamplesU; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface u1: float u2: float -Returns +Return ------- int + +Description +----------- +No available documentation. ") NbSamplesU; - static Standard_Integer NbSamplesU(const opencascade::handle & S, const Standard_Real u1, const Standard_Real u2); + static Standard_Integer NbSamplesU(const opencascade::handle & S, const Standard_Real u1, const Standard_Real u2); - /****************** NbSamplesV ******************/ - /**** md5 signature: ed0fd39f45c62dbb556e150cc3779dd1 ****/ + /****** Adaptor3d_HSurfaceTool::NbSamplesV ******/ + /****** md5 signature: 3604df32e5eb1f507b1b53de19c12208 ******/ %feature("compactdefaultargs") NbSamplesV; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface -Returns +Return ------- int + +Description +----------- +No available documentation. ") NbSamplesV; - static Standard_Integer NbSamplesV(const opencascade::handle & S); + static Standard_Integer NbSamplesV(const opencascade::handle & S); - /****************** NbSamplesV ******************/ - /**** md5 signature: 3cd7a5ede88f3424fd1fcf0d55b10994 ****/ + /****** Adaptor3d_HSurfaceTool::NbSamplesV ******/ + /****** md5 signature: c65f614c9f36a107ebd0cfa1e6386566 ******/ %feature("compactdefaultargs") NbSamplesV; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface +&: Adaptor3d_Surface v1: float v2: float -Returns +Return ------- int + +Description +----------- +No available documentation. ") NbSamplesV; - static Standard_Integer NbSamplesV(const opencascade::handle & S, const Standard_Real v1, const Standard_Real v2); + static Standard_Integer NbSamplesV(const opencascade::handle &, const Standard_Real v1, const Standard_Real v2); - /****************** NbUIntervals ******************/ - /**** md5 signature: 06670fbd19968f771c7cf5743303f56e ****/ + /****** Adaptor3d_HSurfaceTool::NbUIntervals ******/ + /****** md5 signature: fef1dad379e290c3cf16fef6ea8c820e ******/ %feature("compactdefaultargs") NbUIntervals; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface -Sh: GeomAbs_Shape +theSurf: Adaptor3d_Surface +theSh: GeomAbs_Shape -Returns +Return ------- int + +Description +----------- +No available documentation. ") NbUIntervals; - static Standard_Integer NbUIntervals(const opencascade::handle & S, const GeomAbs_Shape Sh); + static Standard_Integer NbUIntervals(const opencascade::handle & theSurf, const GeomAbs_Shape theSh); - /****************** NbVIntervals ******************/ - /**** md5 signature: 0f2402374ce95f4746eb22f26cdda151 ****/ + /****** Adaptor3d_HSurfaceTool::NbVIntervals ******/ + /****** md5 signature: 54fd606ca3f499eebfa8059b5b5d9f74 ******/ %feature("compactdefaultargs") NbVIntervals; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface -Sh: GeomAbs_Shape +theSurf: Adaptor3d_Surface +theSh: GeomAbs_Shape -Returns +Return ------- int + +Description +----------- +No available documentation. ") NbVIntervals; - static Standard_Integer NbVIntervals(const opencascade::handle & S, const GeomAbs_Shape Sh); + static Standard_Integer NbVIntervals(const opencascade::handle & theSurf, const GeomAbs_Shape theSh); - /****************** OffsetValue ******************/ - /**** md5 signature: 8628e64a41658edacca2ab062abb4e25 ****/ + /****** Adaptor3d_HSurfaceTool::OffsetValue ******/ + /****** md5 signature: 85e20729392a6c80ca1b75cc991aedbe ******/ %feature("compactdefaultargs") OffsetValue; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface -Returns +Return ------- float + +Description +----------- +No available documentation. ") OffsetValue; - static Standard_Real OffsetValue(const opencascade::handle & S); + static Standard_Real OffsetValue(const opencascade::handle & theSurf); - /****************** Plane ******************/ - /**** md5 signature: df74b58271a89046ad1f79bfcda17a73 ****/ + /****** Adaptor3d_HSurfaceTool::Plane ******/ + /****** md5 signature: 130558349c1c282f4139d902e5e9368f ******/ %feature("compactdefaultargs") Plane; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface -Returns +Return ------- gp_Pln + +Description +----------- +No available documentation. ") Plane; - static gp_Pln Plane(const opencascade::handle & S); + static gp_Pln Plane(const opencascade::handle & theSurf); - /****************** Sphere ******************/ - /**** md5 signature: 55b57e8330450aaac39340b1d49015eb ****/ + /****** Adaptor3d_HSurfaceTool::Sphere ******/ + /****** md5 signature: 65542b788a7978c4d53b85508f7b7b04 ******/ %feature("compactdefaultargs") Sphere; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface -Returns +Return ------- gp_Sphere + +Description +----------- +No available documentation. ") Sphere; - static gp_Sphere Sphere(const opencascade::handle & S); + static gp_Sphere Sphere(const opencascade::handle & theSurf); - /****************** Torus ******************/ - /**** md5 signature: 9357b2e640f24ae106cfe541edab22a5 ****/ + /****** Adaptor3d_HSurfaceTool::Torus ******/ + /****** md5 signature: 501d3c96d8b60d053b3044bf8c2ccc47 ******/ %feature("compactdefaultargs") Torus; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface -Returns +Return ------- gp_Torus + +Description +----------- +No available documentation. ") Torus; - static gp_Torus Torus(const opencascade::handle & S); + static gp_Torus Torus(const opencascade::handle & theSurf); - /****************** UIntervals ******************/ - /**** md5 signature: bb8ba97c1b70204ec451270e9dc16afb ****/ + /****** Adaptor3d_HSurfaceTool::UIntervals ******/ + /****** md5 signature: f279ed888174d088294a26485fe4f7d2 ******/ %feature("compactdefaultargs") UIntervals; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface -T: TColStd_Array1OfReal -Sh: GeomAbs_Shape +theSurf: Adaptor3d_Surface +theTab: TColStd_Array1OfReal +theSh: GeomAbs_Shape -Returns +Return ------- None + +Description +----------- +No available documentation. ") UIntervals; - static void UIntervals(const opencascade::handle & S, TColStd_Array1OfReal & T, const GeomAbs_Shape Sh); + static void UIntervals(const opencascade::handle & theSurf, TColStd_Array1OfReal & theTab, const GeomAbs_Shape theSh); - /****************** UPeriod ******************/ - /**** md5 signature: cd87df3f4725ee2252b4b19c3ac9b2b7 ****/ + /****** Adaptor3d_HSurfaceTool::UPeriod ******/ + /****** md5 signature: 4aeb87257dacd4656faf037c69140a18 ******/ %feature("compactdefaultargs") UPeriod; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface -Returns +Return ------- float + +Description +----------- +No available documentation. ") UPeriod; - static Standard_Real UPeriod(const opencascade::handle & S); + static Standard_Real UPeriod(const opencascade::handle & theSurf); - /****************** UResolution ******************/ - /**** md5 signature: 4c565bcadc5d4f703ee29da0ea3ea362 ****/ + /****** Adaptor3d_HSurfaceTool::UResolution ******/ + /****** md5 signature: c6db1a9c95ce8de22a88509a6b426b1c ******/ %feature("compactdefaultargs") UResolution; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface -R3d: float +theSurf: Adaptor3d_Surface +theR3d: float -Returns +Return ------- float + +Description +----------- +No available documentation. ") UResolution; - static Standard_Real UResolution(const opencascade::handle & S, const Standard_Real R3d); + static Standard_Real UResolution(const opencascade::handle & theSurf, const Standard_Real theR3d); - /****************** UTrim ******************/ - /**** md5 signature: 1cbbd5e479fe1a5100e82082f6399560 ****/ + /****** Adaptor3d_HSurfaceTool::UTrim ******/ + /****** md5 signature: 89490d90b4ba34479d131997cc0a14c7 ******/ %feature("compactdefaultargs") UTrim; - %feature("autodoc", "If >= . - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface -First: float -Last: float -Tol: float +theSurf: Adaptor3d_Surface +theFirst: float +theLast: float +theTol: float -Returns +Return ------- -opencascade::handle +opencascade::handle + +Description +----------- +If >= . ") UTrim; - static opencascade::handle UTrim(const opencascade::handle & S, const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + static opencascade::handle UTrim(const opencascade::handle & theSurf, const Standard_Real theFirst, const Standard_Real theLast, const Standard_Real theTol); - /****************** VIntervals ******************/ - /**** md5 signature: cbfdcf52b860b9930e49be75b47ad472 ****/ + /****** Adaptor3d_HSurfaceTool::VIntervals ******/ + /****** md5 signature: 57ded06c80e1ec6f84e74507a3d38d67 ******/ %feature("compactdefaultargs") VIntervals; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface -T: TColStd_Array1OfReal -Sh: GeomAbs_Shape +theSurf: Adaptor3d_Surface +theTab: TColStd_Array1OfReal +theSh: GeomAbs_Shape -Returns +Return ------- None + +Description +----------- +No available documentation. ") VIntervals; - static void VIntervals(const opencascade::handle & S, TColStd_Array1OfReal & T, const GeomAbs_Shape Sh); + static void VIntervals(const opencascade::handle & theSurf, TColStd_Array1OfReal & theTab, const GeomAbs_Shape theSh); - /****************** VPeriod ******************/ - /**** md5 signature: af77948f430594f60f59da1b1a3f352a ****/ + /****** Adaptor3d_HSurfaceTool::VPeriod ******/ + /****** md5 signature: f67c9c307abb1d8d90b6594b6b0fbd1d ******/ %feature("compactdefaultargs") VPeriod; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface -Returns +Return ------- float + +Description +----------- +No available documentation. ") VPeriod; - static Standard_Real VPeriod(const opencascade::handle & S); + static Standard_Real VPeriod(const opencascade::handle & theSurf); - /****************** VResolution ******************/ - /**** md5 signature: beaff68487c58bc3f9dc9f19b10bfc18 ****/ + /****** Adaptor3d_HSurfaceTool::VResolution ******/ + /****** md5 signature: f1bc46b0efcda3053b6da41b831f082f ******/ %feature("compactdefaultargs") VResolution; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface -R3d: float +theSurf: Adaptor3d_Surface +theR3d: float -Returns +Return ------- float + +Description +----------- +No available documentation. ") VResolution; - static Standard_Real VResolution(const opencascade::handle & S, const Standard_Real R3d); + static Standard_Real VResolution(const opencascade::handle & theSurf, const Standard_Real theR3d); - /****************** VTrim ******************/ - /**** md5 signature: b73aad6ae8af513502e7b092d86f6b64 ****/ + /****** Adaptor3d_HSurfaceTool::VTrim ******/ + /****** md5 signature: 3459ab4e01913199af1a74ede3ba1856 ******/ %feature("compactdefaultargs") VTrim; - %feature("autodoc", "If >= . - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface -First: float -Last: float -Tol: float +theSurf: Adaptor3d_Surface +theFirst: float +theLast: float +theTol: float -Returns +Return ------- -opencascade::handle +opencascade::handle + +Description +----------- +If >= . ") VTrim; - static opencascade::handle VTrim(const opencascade::handle & S, const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + static opencascade::handle VTrim(const opencascade::handle & theSurf, const Standard_Real theFirst, const Standard_Real theLast, const Standard_Real theTol); - /****************** Value ******************/ - /**** md5 signature: ece6694106470c8e1baec9c388e99772 ****/ + /****** Adaptor3d_HSurfaceTool::Value ******/ + /****** md5 signature: 84d566772d6b3b2e19370cd2b0f8b89c ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface -u: float -v: float +theSurf: Adaptor3d_Surface +theU: float +theV: float -Returns +Return ------- gp_Pnt + +Description +----------- +No available documentation. ") Value; - static gp_Pnt Value(const opencascade::handle & S, const Standard_Real u, const Standard_Real v); + static gp_Pnt Value(const opencascade::handle & theSurf, const Standard_Real theU, const Standard_Real theV); }; @@ -2217,98 +1395,116 @@ gp_Pnt **************************/ class Adaptor3d_HVertex : public Standard_Transient { public: - /****************** Adaptor3d_HVertex ******************/ - /**** md5 signature: eac58a1b58e0ece2155add6b7d6c9250 ****/ + /****** Adaptor3d_HVertex::Adaptor3d_HVertex ******/ + /****** md5 signature: eac58a1b58e0ece2155add6b7d6c9250 ******/ %feature("compactdefaultargs") Adaptor3d_HVertex; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") Adaptor3d_HVertex; Adaptor3d_HVertex(); - /****************** Adaptor3d_HVertex ******************/ - /**** md5 signature: b8097197d4737b7cb21d79f7d8bd45d4 ****/ + /****** Adaptor3d_HVertex::Adaptor3d_HVertex ******/ + /****** md5 signature: b8097197d4737b7cb21d79f7d8bd45d4 ******/ %feature("compactdefaultargs") Adaptor3d_HVertex; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P: gp_Pnt2d Ori: TopAbs_Orientation Resolution: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") Adaptor3d_HVertex; Adaptor3d_HVertex(const gp_Pnt2d & P, const TopAbs_Orientation Ori, const Standard_Real Resolution); - /****************** IsSame ******************/ - /**** md5 signature: f23854098e5a2c0e58714ff498a18027 ****/ + /****** Adaptor3d_HVertex::IsSame ******/ + /****** md5 signature: f23854098e5a2c0e58714ff498a18027 ******/ %feature("compactdefaultargs") IsSame; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Other: Adaptor3d_HVertex -Returns +Return ------- bool + +Description +----------- +No available documentation. ") IsSame; virtual Standard_Boolean IsSame(const opencascade::handle & Other); - /****************** Orientation ******************/ - /**** md5 signature: c985680b482f7598ebf61ff3db6ab594 ****/ + /****** Adaptor3d_HVertex::Orientation ******/ + /****** md5 signature: c985680b482f7598ebf61ff3db6ab594 ******/ %feature("compactdefaultargs") Orientation; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopAbs_Orientation + +Description +----------- +No available documentation. ") Orientation; virtual TopAbs_Orientation Orientation(); - /****************** Parameter ******************/ - /**** md5 signature: 5130613bc6d6a66acb1bafa5c8e5a642 ****/ + /****** Adaptor3d_HVertex::Parameter ******/ + /****** md5 signature: 20685a87d4a2fb9ff73f5a56e84880d4 ******/ %feature("compactdefaultargs") Parameter; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d -Returns +Return ------- float + +Description +----------- +No available documentation. ") Parameter; - virtual Standard_Real Parameter(const opencascade::handle & C); + virtual Standard_Real Parameter(const opencascade::handle & C); - /****************** Resolution ******************/ - /**** md5 signature: 1b4390ea04796364541aabde1cc2a726 ****/ + /****** Adaptor3d_HVertex::Resolution ******/ + /****** md5 signature: ec6f3df4575cf3700b58ff4c13f33f75 ******/ %feature("compactdefaultargs") Resolution; - %feature("autodoc", "Parametric resolution (2d). - + %feature("autodoc", " Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d -Returns +Return ------- float + +Description +----------- +Parametric resolution (2d). ") Resolution; - virtual Standard_Real Resolution(const opencascade::handle & C); + virtual Standard_Real Resolution(const opencascade::handle & C); - /****************** Value ******************/ - /**** md5 signature: b163ee7405059c08236e9641cb63201d ****/ + /****** Adaptor3d_HVertex::Value ******/ + /****** md5 signature: b163ee7405059c08236e9641cb63201d ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Pnt2d + +Description +----------- +No available documentation. ") Value; virtual gp_Pnt2d Value(); @@ -2328,66 +1524,78 @@ gp_Pnt2d ****************************/ class Adaptor3d_InterFunc : public math_FunctionWithDerivative { public: - /****************** Adaptor3d_InterFunc ******************/ - /**** md5 signature: f73f29df80301a570ee4264743b28a2c ****/ + /****** Adaptor3d_InterFunc::Adaptor3d_InterFunc ******/ + /****** md5 signature: d6afc00bbf8d3cd088610834f216ab59 ******/ %feature("compactdefaultargs") Adaptor3d_InterFunc; - %feature("autodoc", "Build the function u(t)=fixval if fix =1 or v(t)=fixval if fix=2. - + %feature("autodoc", " Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d FixVal: float Fix: int -Returns +Return ------- None + +Description +----------- +build the function U(t)=FixVal if Fix =1 or V(t)=FixVal if Fix=2. ") Adaptor3d_InterFunc; - Adaptor3d_InterFunc(const opencascade::handle & C, const Standard_Real FixVal, const Standard_Integer Fix); + Adaptor3d_InterFunc(const opencascade::handle & C, const Standard_Real FixVal, const Standard_Integer Fix); - /****************** Derivative ******************/ - /**** md5 signature: 95e91729f1fb548d9a62f690b302c323 ****/ + /****** Adaptor3d_InterFunc::Derivative ******/ + /****** md5 signature: 95e91729f1fb548d9a62f690b302c323 ******/ %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", " Parameters ---------- X: float -Returns +Return ------- D: float + +Description +----------- +computes the derivative of the function for the variable . Returns True if the calculation were successfully done, False otherwise. ") Derivative; Standard_Boolean Derivative(const Standard_Real X, Standard_Real &OutValue); - /****************** Value ******************/ - /**** md5 signature: 860bcc3da162e9f9f232f07518550196 ****/ + /****** Adaptor3d_InterFunc::Value ******/ + /****** md5 signature: 860bcc3da162e9f9f232f07518550196 ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Computes the value of the function for the variable . returns true if the calculation were successfully done, false otherwise. - + %feature("autodoc", " Parameters ---------- X: float -Returns +Return ------- F: float + +Description +----------- +computes the value of the function for the variable . Returns True if the calculation were successfully done, False otherwise. ") Value; Standard_Boolean Value(const Standard_Real X, Standard_Real &OutValue); - /****************** Values ******************/ - /**** md5 signature: fd71eb9a1a2bd16185bbb032c3d29afc ****/ + /****** Adaptor3d_InterFunc::Values ******/ + /****** md5 signature: fd71eb9a1a2bd16185bbb032c3d29afc ******/ %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. - + %feature("autodoc", " Parameters ---------- X: float -Returns +Return ------- F: float D: float + +Description +----------- +computes the value and the derivative of the function for the variable . Returns True if the calculation were successfully done, False otherwise. ") Values; Standard_Boolean Values(const Standard_Real X, Standard_Real &OutValue, Standard_Real &OutValue); @@ -2403,107 +1611,123 @@ D: float /************************** * class Adaptor3d_Surface * **************************/ -class Adaptor3d_Surface { +class Adaptor3d_Surface : public Standard_Transient { public: - /****************** AxeOfRevolution ******************/ - /**** md5 signature: 3debc8f77289017ebe3fc26c5b0a7fde ****/ + /****** Adaptor3d_Surface::AxeOfRevolution ******/ + /****** md5 signature: 3debc8f77289017ebe3fc26c5b0a7fde ******/ %feature("compactdefaultargs") AxeOfRevolution; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Ax1 + +Description +----------- +No available documentation. ") AxeOfRevolution; virtual gp_Ax1 AxeOfRevolution(); - /****************** BSpline ******************/ - /**** md5 signature: 8782849eb7b84189e1fb34c968aef438 ****/ + /****** Adaptor3d_Surface::BSpline ******/ + /****** md5 signature: 8782849eb7b84189e1fb34c968aef438 ******/ %feature("compactdefaultargs") BSpline; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") BSpline; virtual opencascade::handle BSpline(); - /****************** BasisCurve ******************/ - /**** md5 signature: bbd44bfb0042dae87e45be0bec21fdcc ****/ + /****** Adaptor3d_Surface::BasisCurve ******/ + /****** md5 signature: 99c15a8a36ba096c01e3a30ab92fff44 ******/ %feature("compactdefaultargs") BasisCurve; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- -opencascade::handle +opencascade::handle + +Description +----------- +No available documentation. ") BasisCurve; - virtual opencascade::handle BasisCurve(); + virtual opencascade::handle BasisCurve(); - /****************** BasisSurface ******************/ - /**** md5 signature: 2ba4e25ee7521113eb97a975c6092ca5 ****/ + /****** Adaptor3d_Surface::BasisSurface ******/ + /****** md5 signature: 530983a0f32601b5771bf2a2dc2ae5d1 ******/ %feature("compactdefaultargs") BasisSurface; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- -opencascade::handle +opencascade::handle + +Description +----------- +No available documentation. ") BasisSurface; - virtual opencascade::handle BasisSurface(); + virtual opencascade::handle BasisSurface(); - /****************** Bezier ******************/ - /**** md5 signature: 46959653edaff049efd779790fb904a6 ****/ + /****** Adaptor3d_Surface::Bezier ******/ + /****** md5 signature: 46959653edaff049efd779790fb904a6 ******/ %feature("compactdefaultargs") Bezier; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Bezier; virtual opencascade::handle Bezier(); - /****************** Cone ******************/ - /**** md5 signature: b31d0ac73f9470a65ea707968772eae6 ****/ + /****** Adaptor3d_Surface::Cone ******/ + /****** md5 signature: b31d0ac73f9470a65ea707968772eae6 ******/ %feature("compactdefaultargs") Cone; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Cone + +Description +----------- +No available documentation. ") Cone; virtual gp_Cone Cone(); - /****************** Cylinder ******************/ - /**** md5 signature: a4f845f2a6611b82f64b6852242a95c6 ****/ + /****** Adaptor3d_Surface::Cylinder ******/ + /****** md5 signature: a4f845f2a6611b82f64b6852242a95c6 ******/ %feature("compactdefaultargs") Cylinder; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Cylinder + +Description +----------- +No available documentation. ") Cylinder; virtual gp_Cylinder Cylinder(); - /****************** D0 ******************/ - /**** md5 signature: 8f923a57ca8ceff3aab5a02bea8d5f12 ****/ + /****** Adaptor3d_Surface::D0 ******/ + /****** md5 signature: 8f923a57ca8ceff3aab5a02bea8d5f12 ******/ %feature("compactdefaultargs") D0; - %feature("autodoc", "Computes the point of parameters u,v on the surface. - + %feature("autodoc", " Parameters ---------- U: float V: float P: gp_Pnt -Returns +Return ------- None + +Description +----------- +Computes the point of parameters U,V on the surface. ") D0; virtual void D0(const Standard_Real U, const Standard_Real V, gp_Pnt & P); - /****************** D1 ******************/ - /**** md5 signature: 35469e629742699989c5c1b8606a25fd ****/ + /****** Adaptor3d_Surface::D1 ******/ + /****** md5 signature: 35469e629742699989c5c1b8606a25fd ******/ %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. - + %feature("autodoc", " Parameters ---------- U: float @@ -2512,17 +1736,20 @@ P: gp_Pnt D1U: gp_Vec D1V: gp_Vec -Returns +Return ------- None + +Description +----------- +Computes the point and the first derivatives on the surface. Raised if the continuity of the current intervals is not C1. //! Tip: use GeomLib::NormEstim() to calculate surface normal at specified (U, V) point. ") D1; virtual void D1(const Standard_Real U, const Standard_Real V, gp_Pnt & P, gp_Vec & D1U, gp_Vec & D1V); - /****************** D2 ******************/ - /**** md5 signature: 74bb864108093f2d81c871ea0acee116 ****/ + /****** Adaptor3d_Surface::D2 ******/ + /****** md5 signature: 74bb864108093f2d81c871ea0acee116 ******/ %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. - + %feature("autodoc", " Parameters ---------- U: float @@ -2534,17 +1761,20 @@ D2U: gp_Vec D2V: gp_Vec D2UV: gp_Vec -Returns +Return ------- None + +Description +----------- +Computes the point, the first and second derivatives on the surface. Raised if the continuity of the current intervals is not C2. ") 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); - /****************** D3 ******************/ - /**** md5 signature: 508c3f845e4a876a074039e7919851f4 ****/ + /****** Adaptor3d_Surface::D3 ******/ + /****** md5 signature: 508c3f845e4a876a074039e7919851f4 ******/ %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. - + %feature("autodoc", " Parameters ---------- U: float @@ -2560,17 +1790,20 @@ D3V: gp_Vec D3UUV: gp_Vec D3UVV: gp_Vec -Returns +Return ------- None + +Description +----------- +Computes the point, the first, second and third derivatives on the surface. Raised if the continuity of the current intervals is not C3. ") 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); - /****************** DN ******************/ - /**** md5 signature: 90d6ef938b4ef7a56483bf904c51a1a8 ****/ + /****** Adaptor3d_Surface::DN ******/ + /****** md5 signature: 90d6ef938b4ef7a56483bf904c51a1a8 ******/ %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. - + %feature("autodoc", " Parameters ---------- U: float @@ -2578,443 +1811,541 @@ V: float Nu: int Nv: int -Returns +Return ------- gp_Vec + +Description +----------- +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; virtual gp_Vec DN(const Standard_Real U, const Standard_Real V, const Standard_Integer Nu, const Standard_Integer Nv); - /****************** Direction ******************/ - /**** md5 signature: 50eb80ad6a4d551e2cfbf73fe32bbfa8 ****/ + /****** Adaptor3d_Surface::Direction ******/ + /****** md5 signature: 50eb80ad6a4d551e2cfbf73fe32bbfa8 ******/ %feature("compactdefaultargs") Direction; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Dir + +Description +----------- +No available documentation. ") Direction; virtual gp_Dir Direction(); - /****************** FirstUParameter ******************/ - /**** md5 signature: 9f096cb45fc2a40a442b3b2353b81fbb ****/ + /****** Adaptor3d_Surface::FirstUParameter ******/ + /****** md5 signature: 9f096cb45fc2a40a442b3b2353b81fbb ******/ %feature("compactdefaultargs") FirstUParameter; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") FirstUParameter; virtual Standard_Real FirstUParameter(); - /****************** FirstVParameter ******************/ - /**** md5 signature: 8340035b2368d72a37ea6eae3b1a363d ****/ + /****** Adaptor3d_Surface::FirstVParameter ******/ + /****** md5 signature: 8340035b2368d72a37ea6eae3b1a363d ******/ %feature("compactdefaultargs") FirstVParameter; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") FirstVParameter; virtual Standard_Real FirstVParameter(); - /****************** GetType ******************/ - /**** md5 signature: 488899158a40114032119920bcbe6d69 ****/ + /****** Adaptor3d_Surface::GetType ******/ + /****** md5 signature: 488899158a40114032119920bcbe6d69 ******/ %feature("compactdefaultargs") GetType; - %feature("autodoc", "Returns the type of the surface : plane, cylinder, cone, sphere, torus, beziersurface, bsplinesurface, surfaceofrevolution, surfaceofextrusion, othersurface. - -Returns + %feature("autodoc", "Return ------- GeomAbs_SurfaceType + +Description +----------- +Returns the type of the surface: Plane, Cylinder, Cone, Sphere, Torus, BezierSurface, BSplineSurface, SurfaceOfRevolution, SurfaceOfExtrusion, OtherSurface. ") GetType; virtual GeomAbs_SurfaceType GetType(); - /****************** IsUClosed ******************/ - /**** md5 signature: e8a70695ac5408e96548fcba7d28a395 ****/ + /****** Adaptor3d_Surface::IsUClosed ******/ + /****** md5 signature: e8a70695ac5408e96548fcba7d28a395 ******/ %feature("compactdefaultargs") IsUClosed; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsUClosed; virtual Standard_Boolean IsUClosed(); - /****************** IsUPeriodic ******************/ - /**** md5 signature: 9d4b893bb8b451d02be4c61ddc985b6f ****/ + /****** Adaptor3d_Surface::IsUPeriodic ******/ + /****** md5 signature: 9d4b893bb8b451d02be4c61ddc985b6f ******/ %feature("compactdefaultargs") IsUPeriodic; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsUPeriodic; virtual Standard_Boolean IsUPeriodic(); - /****************** IsURational ******************/ - /**** md5 signature: 98b0228d6ecbcd4b9af2be5d094f411b ****/ + /****** Adaptor3d_Surface::IsURational ******/ + /****** md5 signature: 98b0228d6ecbcd4b9af2be5d094f411b ******/ %feature("compactdefaultargs") IsURational; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsURational; virtual Standard_Boolean IsURational(); - /****************** IsVClosed ******************/ - /**** md5 signature: da82351c635dac1ca8aa7073075606ab ****/ + /****** Adaptor3d_Surface::IsVClosed ******/ + /****** md5 signature: da82351c635dac1ca8aa7073075606ab ******/ %feature("compactdefaultargs") IsVClosed; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsVClosed; virtual Standard_Boolean IsVClosed(); - /****************** IsVPeriodic ******************/ - /**** md5 signature: 4fc2bb80a34d1bca3a757ab95e92ad20 ****/ + /****** Adaptor3d_Surface::IsVPeriodic ******/ + /****** md5 signature: 4fc2bb80a34d1bca3a757ab95e92ad20 ******/ %feature("compactdefaultargs") IsVPeriodic; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsVPeriodic; virtual Standard_Boolean IsVPeriodic(); - /****************** IsVRational ******************/ - /**** md5 signature: b78ede066dfcf5f30f85b3fdc92ebee2 ****/ + /****** Adaptor3d_Surface::IsVRational ******/ + /****** md5 signature: b78ede066dfcf5f30f85b3fdc92ebee2 ******/ %feature("compactdefaultargs") IsVRational; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsVRational; virtual Standard_Boolean IsVRational(); - /****************** LastUParameter ******************/ - /**** md5 signature: 292da90d07338ad25c177c2fa028d14b ****/ + /****** Adaptor3d_Surface::LastUParameter ******/ + /****** md5 signature: 292da90d07338ad25c177c2fa028d14b ******/ %feature("compactdefaultargs") LastUParameter; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") LastUParameter; virtual Standard_Real LastUParameter(); - /****************** LastVParameter ******************/ - /**** md5 signature: fe2a75a2531511d2ada9a247cd4ccf4b ****/ + /****** Adaptor3d_Surface::LastVParameter ******/ + /****** md5 signature: fe2a75a2531511d2ada9a247cd4ccf4b ******/ %feature("compactdefaultargs") LastVParameter; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") LastVParameter; virtual Standard_Real LastVParameter(); - /****************** NbUIntervals ******************/ - /**** md5 signature: 3f9b4bb4318cf4eb75b5fc6022bec51c ****/ + /****** Adaptor3d_Surface::NbUIntervals ******/ + /****** md5 signature: 3f9b4bb4318cf4eb75b5fc6022bec51c ******/ %feature("compactdefaultargs") NbUIntervals; - %feature("autodoc", "Returns the number of u intervals for continuity . may be one if ucontinuity(me) >= . - + %feature("autodoc", " Parameters ---------- S: GeomAbs_Shape -Returns +Return ------- int + +Description +----------- +Returns the number of U intervals for continuity . May be one if UContinuity(me) >= . ") NbUIntervals; virtual Standard_Integer NbUIntervals(const GeomAbs_Shape S); - /****************** NbUKnots ******************/ - /**** md5 signature: 7a1c0895759d5e9cddda277e4036d7a2 ****/ + /****** Adaptor3d_Surface::NbUKnots ******/ + /****** md5 signature: 7a1c0895759d5e9cddda277e4036d7a2 ******/ %feature("compactdefaultargs") NbUKnots; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbUKnots; virtual Standard_Integer NbUKnots(); - /****************** NbUPoles ******************/ - /**** md5 signature: 49425c131d5bbf51ecbf25f256eb3893 ****/ + /****** Adaptor3d_Surface::NbUPoles ******/ + /****** md5 signature: 49425c131d5bbf51ecbf25f256eb3893 ******/ %feature("compactdefaultargs") NbUPoles; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbUPoles; virtual Standard_Integer NbUPoles(); - /****************** NbVIntervals ******************/ - /**** md5 signature: c612588f13518c121daaa98c7187c5dd ****/ + /****** Adaptor3d_Surface::NbVIntervals ******/ + /****** md5 signature: c612588f13518c121daaa98c7187c5dd ******/ %feature("compactdefaultargs") NbVIntervals; - %feature("autodoc", "Returns the number of v intervals for continuity . may be one if vcontinuity(me) >= . - + %feature("autodoc", " Parameters ---------- S: GeomAbs_Shape -Returns +Return ------- int + +Description +----------- +Returns the number of V intervals for continuity . May be one if VContinuity(me) >= . ") NbVIntervals; virtual Standard_Integer NbVIntervals(const GeomAbs_Shape S); - /****************** NbVKnots ******************/ - /**** md5 signature: 056eba7e2948215fc1920f79773a07b7 ****/ + /****** Adaptor3d_Surface::NbVKnots ******/ + /****** md5 signature: 056eba7e2948215fc1920f79773a07b7 ******/ %feature("compactdefaultargs") NbVKnots; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbVKnots; virtual Standard_Integer NbVKnots(); - /****************** NbVPoles ******************/ - /**** md5 signature: 27419519071863c30fa7e303bf9714b1 ****/ + /****** Adaptor3d_Surface::NbVPoles ******/ + /****** md5 signature: 27419519071863c30fa7e303bf9714b1 ******/ %feature("compactdefaultargs") NbVPoles; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbVPoles; virtual Standard_Integer NbVPoles(); - /****************** OffsetValue ******************/ - /**** md5 signature: 668f7151c7b3b100446406f1c2b0b2e9 ****/ + /****** Adaptor3d_Surface::OffsetValue ******/ + /****** md5 signature: 668f7151c7b3b100446406f1c2b0b2e9 ******/ %feature("compactdefaultargs") OffsetValue; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") OffsetValue; virtual Standard_Real OffsetValue(); - /****************** Plane ******************/ - /**** md5 signature: ae2ef8a7cc00a3678c001f660e5e87af ****/ + /****** Adaptor3d_Surface::Plane ******/ + /****** md5 signature: ae2ef8a7cc00a3678c001f660e5e87af ******/ %feature("compactdefaultargs") Plane; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Pln + +Description +----------- +No available documentation. ") Plane; virtual gp_Pln Plane(); - /****************** Sphere ******************/ - /**** md5 signature: cc119d9c2d6769252e8f267250b5802d ****/ - %feature("compactdefaultargs") Sphere; - %feature("autodoc", "No available documentation. + /****** Adaptor3d_Surface::ShallowCopy ******/ + /****** md5 signature: 2c40a5f136e5a824520c885db1d4fa77 ******/ + %feature("compactdefaultargs") ShallowCopy; + %feature("autodoc", "Return +------- +opencascade::handle + +Description +----------- +Shallow copy of adaptor. +") ShallowCopy; + virtual opencascade::handle ShallowCopy(); -Returns + /****** Adaptor3d_Surface::Sphere ******/ + /****** md5 signature: cc119d9c2d6769252e8f267250b5802d ******/ + %feature("compactdefaultargs") Sphere; + %feature("autodoc", "Return ------- gp_Sphere + +Description +----------- +No available documentation. ") Sphere; virtual gp_Sphere Sphere(); - /****************** Torus ******************/ - /**** md5 signature: d9bc77c59c8537a8319376aa7df09ccd ****/ + /****** Adaptor3d_Surface::Torus ******/ + /****** md5 signature: d9bc77c59c8537a8319376aa7df09ccd ******/ %feature("compactdefaultargs") Torus; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Torus + +Description +----------- +No available documentation. ") Torus; virtual gp_Torus Torus(); - /****************** UContinuity ******************/ - /**** md5 signature: 77ad7bb6fa9eb6fee5117117dc1ac55d ****/ + /****** Adaptor3d_Surface::UContinuity ******/ + /****** md5 signature: 77ad7bb6fa9eb6fee5117117dc1ac55d ******/ %feature("compactdefaultargs") UContinuity; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- GeomAbs_Shape + +Description +----------- +No available documentation. ") UContinuity; virtual GeomAbs_Shape UContinuity(); - /****************** UDegree ******************/ - /**** md5 signature: 5deb29548a36c721198fed8800d06830 ****/ + /****** Adaptor3d_Surface::UDegree ******/ + /****** md5 signature: 5deb29548a36c721198fed8800d06830 ******/ %feature("compactdefaultargs") UDegree; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") UDegree; virtual Standard_Integer UDegree(); - /****************** UIntervals ******************/ - /**** md5 signature: b593cc9a16bcef9f9aa90ee2aec21589 ****/ + /****** Adaptor3d_Surface::UIntervals ******/ + /****** md5 signature: b593cc9a16bcef9f9aa90ee2aec21589 ******/ %feature("compactdefaultargs") UIntervals; - %feature("autodoc", "Returns the intervals with the requested continuity in the u direction. - + %feature("autodoc", " Parameters ---------- T: TColStd_Array1OfReal S: GeomAbs_Shape -Returns +Return ------- None + +Description +----------- +Returns the intervals with the requested continuity in the U direction. ") UIntervals; virtual void UIntervals(TColStd_Array1OfReal & T, const GeomAbs_Shape S); - /****************** UPeriod ******************/ - /**** md5 signature: b5a8af3fdd028670ffc618d509b562aa ****/ + /****** Adaptor3d_Surface::UPeriod ******/ + /****** md5 signature: b5a8af3fdd028670ffc618d509b562aa ******/ %feature("compactdefaultargs") UPeriod; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") UPeriod; virtual Standard_Real UPeriod(); - /****************** UResolution ******************/ - /**** md5 signature: 47eb7fe0f86b388ef7c61b75143d68fd ****/ + /****** Adaptor3d_Surface::UResolution ******/ + /****** md5 signature: 47eb7fe0f86b388ef7c61b75143d68fd ******/ %feature("compactdefaultargs") UResolution; - %feature("autodoc", "Returns the parametric u resolution corresponding to the real space resolution . - + %feature("autodoc", " Parameters ---------- R3d: float -Returns +Return ------- float + +Description +----------- +Returns the parametric U resolution corresponding to the real space resolution . ") UResolution; virtual Standard_Real UResolution(const Standard_Real R3d); - /****************** UTrim ******************/ - /**** md5 signature: ce5013d9681905ece95640be6884c721 ****/ + /****** Adaptor3d_Surface::UTrim ******/ + /****** md5 signature: c37e4851cad3cfe0fd1be5953bcbb1dc ******/ %feature("compactdefaultargs") UTrim; - %feature("autodoc", "Returns a surface trimmed in the u direction equivalent of between parameters and . is used to test for 3d points confusion. if >= . - + %feature("autodoc", " Parameters ---------- First: float Last: float Tol: float -Returns +Return ------- -opencascade::handle +opencascade::handle + +Description +----------- +Returns a surface trimmed in the U direction equivalent of between parameters and . is used to test for 3d points confusion. If >= . ") UTrim; - virtual opencascade::handle UTrim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + virtual opencascade::handle UTrim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); - /****************** VContinuity ******************/ - /**** md5 signature: d072bc9a7996d58b53b4d1e10a7f1999 ****/ + /****** Adaptor3d_Surface::VContinuity ******/ + /****** md5 signature: d072bc9a7996d58b53b4d1e10a7f1999 ******/ %feature("compactdefaultargs") VContinuity; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- GeomAbs_Shape + +Description +----------- +No available documentation. ") VContinuity; virtual GeomAbs_Shape VContinuity(); - /****************** VDegree ******************/ - /**** md5 signature: 1fa8f8863980920be56d3f9b30ac2667 ****/ + /****** Adaptor3d_Surface::VDegree ******/ + /****** md5 signature: 1fa8f8863980920be56d3f9b30ac2667 ******/ %feature("compactdefaultargs") VDegree; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") VDegree; virtual Standard_Integer VDegree(); - /****************** VIntervals ******************/ - /**** md5 signature: 391c756d3f528314e59ebde11c556497 ****/ + /****** Adaptor3d_Surface::VIntervals ******/ + /****** md5 signature: 391c756d3f528314e59ebde11c556497 ******/ %feature("compactdefaultargs") VIntervals; - %feature("autodoc", "Returns the intervals with the requested continuity in the v direction. - + %feature("autodoc", " Parameters ---------- T: TColStd_Array1OfReal S: GeomAbs_Shape -Returns +Return ------- None + +Description +----------- +Returns the intervals with the requested continuity in the V direction. ") VIntervals; virtual void VIntervals(TColStd_Array1OfReal & T, const GeomAbs_Shape S); - /****************** VPeriod ******************/ - /**** md5 signature: aaa8f393a9608b88a2a3f8c8043833cb ****/ + /****** Adaptor3d_Surface::VPeriod ******/ + /****** md5 signature: aaa8f393a9608b88a2a3f8c8043833cb ******/ %feature("compactdefaultargs") VPeriod; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") VPeriod; virtual Standard_Real VPeriod(); - /****************** VResolution ******************/ - /**** md5 signature: 24d123fbb93e57d711b320c4e0431f2a ****/ + /****** Adaptor3d_Surface::VResolution ******/ + /****** md5 signature: 24d123fbb93e57d711b320c4e0431f2a ******/ %feature("compactdefaultargs") VResolution; - %feature("autodoc", "Returns the parametric v resolution corresponding to the real space resolution . - + %feature("autodoc", " Parameters ---------- R3d: float -Returns +Return ------- float + +Description +----------- +Returns the parametric V resolution corresponding to the real space resolution . ") VResolution; virtual Standard_Real VResolution(const Standard_Real R3d); - /****************** VTrim ******************/ - /**** md5 signature: d453f3cacf5408b3f24da02142fddf9e ****/ + /****** Adaptor3d_Surface::VTrim ******/ + /****** md5 signature: feea2421d912ddae74778d2b21c61475 ******/ %feature("compactdefaultargs") VTrim; - %feature("autodoc", "Returns a surface trimmed in the v direction between parameters and . is used to test for 3d points confusion. if >= . - + %feature("autodoc", " Parameters ---------- First: float Last: float Tol: float -Returns +Return ------- -opencascade::handle +opencascade::handle + +Description +----------- +Returns a surface trimmed in the V direction between parameters and . is used to test for 3d points confusion. If >= . ") VTrim; - virtual opencascade::handle VTrim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + virtual opencascade::handle VTrim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); - /****************** Value ******************/ - /**** md5 signature: 86112fa27918493b04ce20ef2fcddd47 ****/ + /****** Adaptor3d_Surface::Value ******/ + /****** md5 signature: 86112fa27918493b04ce20ef2fcddd47 ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Computes the point of parameters u,v on the surface. - + %feature("autodoc", " Parameters ---------- U: float V: float -Returns +Return ------- gp_Pnt + +Description +----------- +Computes the point of parameters U,V on the surface. Tip: use GeomLib::NormEstim() to calculate surface normal at specified (U, V) point. ") Value; virtual gp_Pnt Value(const Standard_Real U, const Standard_Real V); }; +%make_alias(Adaptor3d_Surface) + %extend Adaptor3d_Surface { %pythoncode { __repr__ = _dumps_object @@ -3026,454 +2357,564 @@ gp_Pnt ****************************/ class Adaptor3d_TopolTool : public Standard_Transient { public: - /****************** Adaptor3d_TopolTool ******************/ - /**** md5 signature: aa825ed0136d2875577bee7eaf4b157c ****/ + /****** Adaptor3d_TopolTool::Adaptor3d_TopolTool ******/ + /****** md5 signature: aa825ed0136d2875577bee7eaf4b157c ******/ %feature("compactdefaultargs") Adaptor3d_TopolTool; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") Adaptor3d_TopolTool; Adaptor3d_TopolTool(); - /****************** Adaptor3d_TopolTool ******************/ - /**** md5 signature: 65b5c30353d60ab1184a5dd5c69e76eb ****/ + /****** Adaptor3d_TopolTool::Adaptor3d_TopolTool ******/ + /****** md5 signature: ab0a135902966159ae926769ffdb7052 ******/ %feature("compactdefaultargs") Adaptor3d_TopolTool; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Surface: Adaptor3d_HSurface +Surface: Adaptor3d_Surface -Returns +Return ------- None + +Description +----------- +No available documentation. ") Adaptor3d_TopolTool; - Adaptor3d_TopolTool(const opencascade::handle & Surface); + Adaptor3d_TopolTool(const opencascade::handle & Surface); - /****************** BSplSamplePnts ******************/ - /**** md5 signature: 6903f238d66cf388d6121d16fc28d803 ****/ + /****** Adaptor3d_TopolTool::BSplSamplePnts ******/ + /****** md5 signature: 6903f238d66cf388d6121d16fc28d803 ******/ %feature("compactdefaultargs") BSplSamplePnts; - %feature("autodoc", "Compute the sample-points for the intersections algorithms by adaptive algorithm for bspline surfaces - is used in samplepnts thedefl is a requred deflection thenumin, thenvmin are minimal nb points for u and v. - + %feature("autodoc", " Parameters ---------- theDefl: float theNUmin: int theNVmin: int -Returns +Return ------- None + +Description +----------- +Compute the sample-points for the intersections algorithms by adaptive algorithm for BSpline surfaces - is used in SamplePnts +Input parameter: theDefl required deflection +Input parameter: theNUmin minimal nb points for U +Input parameter: theNVmin minimal nb points for V. ") BSplSamplePnts; virtual void BSplSamplePnts(const Standard_Real theDefl, const Standard_Integer theNUmin, const Standard_Integer theNVmin); - /****************** Classify ******************/ - /**** md5 signature: c8c5dc96886d407d270064b81c56f4cf ****/ + /****** Adaptor3d_TopolTool::Classify ******/ + /****** md5 signature: c8c5dc96886d407d270064b81c56f4cf ******/ %feature("compactdefaultargs") Classify; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P: gp_Pnt2d Tol: float -ReacdreOnPeriodic: bool,optional - default value is Standard_True +ReacdreOnPeriodic: bool (optional, default to Standard_True) -Returns +Return ------- TopAbs_State + +Description +----------- +No available documentation. ") Classify; virtual TopAbs_State Classify(const gp_Pnt2d & P, const Standard_Real Tol, const Standard_Boolean ReacdreOnPeriodic = Standard_True); - /****************** ComputeSamplePoints ******************/ - /**** md5 signature: 23fc57af64fa6b59fefe18fa9084fa69 ****/ + /****** Adaptor3d_TopolTool::ComputeSamplePoints ******/ + /****** md5 signature: 23fc57af64fa6b59fefe18fa9084fa69 ******/ %feature("compactdefaultargs") ComputeSamplePoints; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") ComputeSamplePoints; virtual void ComputeSamplePoints(); - /****************** DomainIsInfinite ******************/ - /**** md5 signature: 6d41c776a0aa728b4d318a59f43aa974 ****/ + /****** Adaptor3d_TopolTool::DomainIsInfinite ******/ + /****** md5 signature: 6d41c776a0aa728b4d318a59f43aa974 ******/ %feature("compactdefaultargs") DomainIsInfinite; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") DomainIsInfinite; virtual Standard_Boolean DomainIsInfinite(); - /****************** Edge ******************/ - /**** md5 signature: 714bd83d54f0cbd20920648bb51520ec ****/ + /****** Adaptor3d_TopolTool::Edge ******/ + /****** md5 signature: 714bd83d54f0cbd20920648bb51520ec ******/ %feature("compactdefaultargs") Edge; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- Standard_Address + +Description +----------- +No available documentation. ") Edge; virtual Standard_Address Edge(); - /****************** Has3d ******************/ - /**** md5 signature: e26db380d8c3401e2b00bbdf4f01fa61 ****/ - %feature("compactdefaultargs") Has3d; - %feature("autodoc", "Answers if arcs and vertices may have 3d representations, so that we could use tol3d and pnt methods. + /****** Adaptor3d_TopolTool::GetConeApexParam ******/ + /****** md5 signature: 8be4fd6f665527c4e6b570e1d3c513af ******/ + %feature("compactdefaultargs") GetConeApexParam; + %feature("autodoc", " +Parameters +---------- +theC: gp_Cone + +Return +------- +theU: float +theV: float -Returns +Description +----------- +Computes the cone's apex parameters. +Input parameter: theC conical surface +Input parameter: theU U parameter of cone's apex +Input parameter: theV V parameter of cone's apex. +") GetConeApexParam; + static void GetConeApexParam(const gp_Cone & theC, Standard_Real &OutValue, Standard_Real &OutValue); + + /****** Adaptor3d_TopolTool::Has3d ******/ + /****** md5 signature: e26db380d8c3401e2b00bbdf4f01fa61 ******/ + %feature("compactdefaultargs") Has3d; + %feature("autodoc", "Return ------- bool + +Description +----------- +answers if arcs and vertices may have 3d representations, so that we could use Tol3d and Pnt methods. ") Has3d; virtual Standard_Boolean Has3d(); - /****************** Identical ******************/ - /**** md5 signature: cfa27a5dfaa8508af97ba96a7ec6e21b ****/ + /****** Adaptor3d_TopolTool::Identical ******/ + /****** md5 signature: cfa27a5dfaa8508af97ba96a7ec6e21b ******/ %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. - + %feature("autodoc", " Parameters ---------- V1: Adaptor3d_HVertex V2: Adaptor3d_HVertex -Returns +Return ------- bool + +Description +----------- +Returns True if the vertices V1 and V2 are identical. This method does not take the orientation of the vertices in account. ") Identical; virtual Standard_Boolean Identical(const opencascade::handle & V1, const opencascade::handle & V2); - /****************** Init ******************/ - /**** md5 signature: 2f96d79a31287a19717a3642c1e9b28c ****/ + /****** Adaptor3d_TopolTool::Init ******/ + /****** md5 signature: 2f96d79a31287a19717a3642c1e9b28c ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") Init; virtual void Init(); - /****************** InitVertexIterator ******************/ - /**** md5 signature: 30be0f0057566eace0f6ff06b5235ec5 ****/ + /****** Adaptor3d_TopolTool::InitVertexIterator ******/ + /****** md5 signature: 30be0f0057566eace0f6ff06b5235ec5 ******/ %feature("compactdefaultargs") InitVertexIterator; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") InitVertexIterator; virtual void InitVertexIterator(); - /****************** Initialize ******************/ - /**** md5 signature: 6a5837327bc1f6a299aa49b49efb0b51 ****/ + /****** Adaptor3d_TopolTool::Initialize ******/ + /****** md5 signature: 6a5837327bc1f6a299aa49b49efb0b51 ******/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") Initialize; virtual void Initialize(); - /****************** Initialize ******************/ - /**** md5 signature: 0cee070a5833f0f0a9e2bdada90ca309 ****/ + /****** Adaptor3d_TopolTool::Initialize ******/ + /****** md5 signature: faffacbbf54c7a186e23fb682d81e648 ******/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface -Returns +Return ------- None + +Description +----------- +No available documentation. ") Initialize; - virtual void Initialize(const opencascade::handle & S); + virtual void Initialize(const opencascade::handle & S); - /****************** Initialize ******************/ - /**** md5 signature: 08fd10f63f31b9e0ebacfa174e39505b ****/ + /****** Adaptor3d_TopolTool::Initialize ******/ + /****** md5 signature: 20b22aee7c221a24f9ddddb5f04f3ad2 ******/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Curve: Adaptor2d_HCurve2d +Curve: Adaptor2d_Curve2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") Initialize; - virtual void Initialize(const opencascade::handle & Curve); + virtual void Initialize(const opencascade::handle & Curve); - /****************** IsThePointOn ******************/ - /**** md5 signature: 28addf6263169f07c643732d758cdb38 ****/ + /****** Adaptor3d_TopolTool::IsThePointOn ******/ + /****** md5 signature: 28addf6263169f07c643732d758cdb38 ******/ %feature("compactdefaultargs") IsThePointOn; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P: gp_Pnt2d Tol: float -ReacdreOnPeriodic: bool,optional - default value is Standard_True +ReacdreOnPeriodic: bool (optional, default to Standard_True) -Returns +Return ------- bool + +Description +----------- +No available documentation. ") IsThePointOn; virtual Standard_Boolean IsThePointOn(const gp_Pnt2d & P, const Standard_Real Tol, const Standard_Boolean ReacdreOnPeriodic = Standard_True); - /****************** IsUniformSampling ******************/ - /**** md5 signature: 65a63313e56102fef767c73e6c7f9956 ****/ + /****** Adaptor3d_TopolTool::IsUniformSampling ******/ + /****** md5 signature: 65a63313e56102fef767c73e6c7f9956 ******/ %feature("compactdefaultargs") IsUniformSampling; - %feature("autodoc", "Returns true if provide uniform sampling of points. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns true if provide uniform sampling of points. ") IsUniformSampling; virtual Standard_Boolean IsUniformSampling(); - /****************** More ******************/ - /**** md5 signature: e821632af8361f06a178b6ca19f5020e ****/ + /****** Adaptor3d_TopolTool::More ******/ + /****** md5 signature: e821632af8361f06a178b6ca19f5020e ******/ %feature("compactdefaultargs") More; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") More; virtual Standard_Boolean More(); - /****************** MoreVertex ******************/ - /**** md5 signature: a8b43dc9585a890721f120d7a26ec923 ****/ + /****** Adaptor3d_TopolTool::MoreVertex ******/ + /****** md5 signature: a8b43dc9585a890721f120d7a26ec923 ******/ %feature("compactdefaultargs") MoreVertex; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") MoreVertex; virtual Standard_Boolean MoreVertex(); - /****************** NbSamples ******************/ - /**** md5 signature: 67b66476ff5b3d26402ec88a76db99c8 ****/ + /****** Adaptor3d_TopolTool::NbSamples ******/ + /****** md5 signature: 67b66476ff5b3d26402ec88a76db99c8 ******/ %feature("compactdefaultargs") NbSamples; - %feature("autodoc", "Compute the sample-points for the intersections algorithms. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +compute the sample-points for the intersections algorithms. ") NbSamples; virtual Standard_Integer NbSamples(); - /****************** NbSamplesU ******************/ - /**** md5 signature: a8a639849a6476b7e06a072e6ce378ca ****/ + /****** Adaptor3d_TopolTool::NbSamplesU ******/ + /****** md5 signature: a8a639849a6476b7e06a072e6ce378ca ******/ %feature("compactdefaultargs") NbSamplesU; - %feature("autodoc", "Compute the sample-points for the intersections algorithms. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +compute the sample-points for the intersections algorithms. ") NbSamplesU; virtual Standard_Integer NbSamplesU(); - /****************** NbSamplesV ******************/ - /**** md5 signature: fe0cfaa8ce33377585fa9145b0af8a01 ****/ + /****** Adaptor3d_TopolTool::NbSamplesV ******/ + /****** md5 signature: fe0cfaa8ce33377585fa9145b0af8a01 ******/ %feature("compactdefaultargs") NbSamplesV; - %feature("autodoc", "Compute the sample-points for the intersections algorithms. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +compute the sample-points for the intersections algorithms. ") NbSamplesV; virtual Standard_Integer NbSamplesV(); - /****************** Next ******************/ - /**** md5 signature: 73141d627b33e5b89ace1d498cedfc52 ****/ + /****** Adaptor3d_TopolTool::Next ******/ + /****** md5 signature: 73141d627b33e5b89ace1d498cedfc52 ******/ %feature("compactdefaultargs") Next; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") Next; virtual void Next(); - /****************** NextVertex ******************/ - /**** md5 signature: 965ea8fa3abffe2964338c5b0ad5701c ****/ + /****** Adaptor3d_TopolTool::NextVertex ******/ + /****** md5 signature: 965ea8fa3abffe2964338c5b0ad5701c ******/ %feature("compactdefaultargs") NextVertex; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") NextVertex; virtual void NextVertex(); - /****************** Orientation ******************/ - /**** md5 signature: 3913502ac99bc8838af6331a441cce6d ****/ + /****** Adaptor3d_TopolTool::Orientation ******/ + /****** md5 signature: 2ec1f29b131dd0ba8f7295bc408c863d ******/ %feature("compactdefaultargs") Orientation; - %feature("autodoc", "If the function returns the orientation of the arc. if the orientation is forward or reversed, the arc is a 'real' limit of the surface. if the orientation is internal or external, the arc is considered as an arc on the surface. - + %feature("autodoc", " Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d -Returns +Return ------- TopAbs_Orientation + +Description +----------- +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. ") Orientation; - virtual TopAbs_Orientation Orientation(const opencascade::handle & C); + virtual TopAbs_Orientation Orientation(const opencascade::handle & C); - /****************** Orientation ******************/ - /**** md5 signature: b97399854b9802139edc16aa1fd0c067 ****/ + /****** Adaptor3d_TopolTool::Orientation ******/ + /****** md5 signature: b97399854b9802139edc16aa1fd0c067 ******/ %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. - + %feature("autodoc", " Parameters ---------- V: Adaptor3d_HVertex -Returns +Return ------- TopAbs_Orientation + +Description +----------- +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. ") Orientation; virtual TopAbs_Orientation Orientation(const opencascade::handle & V); - /****************** Pnt ******************/ - /**** md5 signature: f39649c498746c92e9e0e5c9f69ca51e ****/ + /****** Adaptor3d_TopolTool::Pnt ******/ + /****** md5 signature: f39649c498746c92e9e0e5c9f69ca51e ******/ %feature("compactdefaultargs") Pnt; - %feature("autodoc", "Returns 3d point of the vertex v. - + %feature("autodoc", " Parameters ---------- V: Adaptor3d_HVertex -Returns +Return ------- gp_Pnt + +Description +----------- +returns 3d point of the vertex V. ") Pnt; virtual gp_Pnt Pnt(const opencascade::handle & V); - /****************** SamplePnts ******************/ - /**** md5 signature: cb1bbdcdfeca14f92fa49d557a8ab965 ****/ + /****** Adaptor3d_TopolTool::SamplePnts ******/ + /****** md5 signature: cb1bbdcdfeca14f92fa49d557a8ab965 ******/ %feature("compactdefaultargs") SamplePnts; - %feature("autodoc", "Compute the sample-points for the intersections algorithms by adaptive algorithm for bspline surfaces. for other surfaces algorithm is the same as in method computesamplepoints(), but only fill arrays of u and v sample parameters; thedefl is a requred deflection thenumin, thenvmin are minimal nb points for u and v. - + %feature("autodoc", " Parameters ---------- theDefl: float theNUmin: int theNVmin: int -Returns +Return ------- None + +Description +----------- +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; +Input parameter: theDefl a required deflection +Input parameter: theNUmin minimal nb points for U +Input parameter: theNVmin minimal nb points for V. ") SamplePnts; virtual void SamplePnts(const Standard_Real theDefl, const Standard_Integer theNUmin, const Standard_Integer theNVmin); - /****************** SamplePoint ******************/ - /**** md5 signature: fa80c305164d2e62ffe8cb0ec7643678 ****/ + /****** Adaptor3d_TopolTool::SamplePoint ******/ + /****** md5 signature: fa80c305164d2e62ffe8cb0ec7643678 ******/ %feature("compactdefaultargs") SamplePoint; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Index: int P2d: gp_Pnt2d P3d: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") SamplePoint; virtual void SamplePoint(const Standard_Integer Index, gp_Pnt2d & P2d, gp_Pnt & P3d); - /****************** Tol3d ******************/ - /**** md5 signature: d6bb51f14db6a1999559b2b95dcc6396 ****/ + /****** Adaptor3d_TopolTool::Tol3d ******/ + /****** md5 signature: ca38e336a92c0a050652dac5bd784e6b ******/ %feature("compactdefaultargs") Tol3d; - %feature("autodoc", "Returns 3d tolerance of the arc c. - + %feature("autodoc", " Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d -Returns +Return ------- float + +Description +----------- +returns 3d tolerance of the arc C. ") Tol3d; - virtual Standard_Real Tol3d(const opencascade::handle & C); + virtual Standard_Real Tol3d(const opencascade::handle & C); - /****************** Tol3d ******************/ - /**** md5 signature: e2e5362802ebc0fb247e0d27af1a66c7 ****/ + /****** Adaptor3d_TopolTool::Tol3d ******/ + /****** md5 signature: e2e5362802ebc0fb247e0d27af1a66c7 ******/ %feature("compactdefaultargs") Tol3d; - %feature("autodoc", "Returns 3d tolerance of the vertex v. - + %feature("autodoc", " Parameters ---------- V: Adaptor3d_HVertex -Returns +Return ------- float + +Description +----------- +returns 3d tolerance of the vertex V. ") Tol3d; virtual Standard_Real Tol3d(const opencascade::handle & V); - /****************** UParameters ******************/ - /**** md5 signature: ca8708c5011ae09ddc342ec3e782fcd0 ****/ + /****** Adaptor3d_TopolTool::UParameters ******/ + /****** md5 signature: ca8708c5011ae09ddc342ec3e782fcd0 ******/ %feature("compactdefaultargs") UParameters; - %feature("autodoc", "Return the set of u parameters on the surface obtained by the method samplepnts. - + %feature("autodoc", " Parameters ---------- theArray: TColStd_Array1OfReal -Returns +Return ------- None + +Description +----------- +return the set of U parameters on the surface obtained by the method SamplePnts. ") UParameters; void UParameters(TColStd_Array1OfReal & theArray); - /****************** VParameters ******************/ - /**** md5 signature: 7d86a95e3c8948209ccc18ec9e74b2ce ****/ + /****** Adaptor3d_TopolTool::VParameters ******/ + /****** md5 signature: 7d86a95e3c8948209ccc18ec9e74b2ce ******/ %feature("compactdefaultargs") VParameters; - %feature("autodoc", "Return the set of v parameters on the surface obtained by the method samplepnts. - + %feature("autodoc", " Parameters ---------- theArray: TColStd_Array1OfReal -Returns +Return ------- None + +Description +----------- +return the set of V parameters on the surface obtained by the method SamplePnts. ") VParameters; void VParameters(TColStd_Array1OfReal & theArray); - /****************** Value ******************/ - /**** md5 signature: 15a818c10874d0bd609bf62fa887c259 ****/ + /****** Adaptor3d_TopolTool::Value ******/ + /****** md5 signature: 69341486cc398dcbf57c11fda47f97ca ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- -opencascade::handle +opencascade::handle + +Description +----------- +No available documentation. ") Value; - virtual opencascade::handle Value(); + virtual opencascade::handle Value(); - /****************** Vertex ******************/ - /**** md5 signature: 5fa61bdbc5145c1abf55279009e1141b ****/ + /****** Adaptor3d_TopolTool::Vertex ******/ + /****** md5 signature: 5fa61bdbc5145c1abf55279009e1141b ******/ %feature("compactdefaultargs") Vertex; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Vertex; virtual opencascade::handle Vertex(); @@ -3493,152 +2934,177 @@ opencascade::handle *********************************/ class Adaptor3d_CurveOnSurface : public Adaptor3d_Curve { public: - /****************** Adaptor3d_CurveOnSurface ******************/ - /**** md5 signature: 6b7eb8b8fde65fd79c0e562453b0df89 ****/ + /****** Adaptor3d_CurveOnSurface::Adaptor3d_CurveOnSurface ******/ + /****** md5 signature: 6b7eb8b8fde65fd79c0e562453b0df89 ******/ %feature("compactdefaultargs") Adaptor3d_CurveOnSurface; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") Adaptor3d_CurveOnSurface; Adaptor3d_CurveOnSurface(); - /****************** Adaptor3d_CurveOnSurface ******************/ - /**** md5 signature: 907501a4d5d346465b960b605564db19 ****/ + /****** Adaptor3d_CurveOnSurface::Adaptor3d_CurveOnSurface ******/ + /****** md5 signature: 43855c057bcf63a011b7ed029a6545e6 ******/ %feature("compactdefaultargs") Adaptor3d_CurveOnSurface; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface -Returns +Return ------- None + +Description +----------- +No available documentation. ") Adaptor3d_CurveOnSurface; - Adaptor3d_CurveOnSurface(const opencascade::handle & S); + Adaptor3d_CurveOnSurface(const opencascade::handle & S); - /****************** Adaptor3d_CurveOnSurface ******************/ - /**** md5 signature: 49787844bd3fe95762d61ccf440b44f0 ****/ + /****** Adaptor3d_CurveOnSurface::Adaptor3d_CurveOnSurface ******/ + /****** md5 signature: b05d3f0d46c0fd08ffcffadc70a4838b ******/ %feature("compactdefaultargs") Adaptor3d_CurveOnSurface; - %feature("autodoc", "Creates a curveonsurface from the 2d curve and the surface . - + %feature("autodoc", " Parameters ---------- -C: Adaptor2d_HCurve2d -S: Adaptor3d_HSurface +C: Adaptor2d_Curve2d +S: Adaptor3d_Surface -Returns +Return ------- None + +Description +----------- +Creates a CurveOnSurface from the 2d curve and the surface . ") Adaptor3d_CurveOnSurface; - Adaptor3d_CurveOnSurface(const opencascade::handle & C, const opencascade::handle & S); + Adaptor3d_CurveOnSurface(const opencascade::handle & C, const opencascade::handle & S); - /****************** BSpline ******************/ - /**** md5 signature: 3ccc0d851302bffb5de6344e3eb3e58d ****/ + /****** Adaptor3d_CurveOnSurface::BSpline ******/ + /****** md5 signature: 3ccc0d851302bffb5de6344e3eb3e58d ******/ %feature("compactdefaultargs") BSpline; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") BSpline; opencascade::handle BSpline(); - /****************** Bezier ******************/ - /**** md5 signature: 092280fc6ee0e7104fbbe3460d73e83c ****/ + /****** Adaptor3d_CurveOnSurface::Bezier ******/ + /****** md5 signature: 092280fc6ee0e7104fbbe3460d73e83c ******/ %feature("compactdefaultargs") Bezier; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Bezier; opencascade::handle Bezier(); - /****************** ChangeCurve ******************/ - /**** md5 signature: a9bfe879bc2aa9995956b31559c0086a ****/ + /****** Adaptor3d_CurveOnSurface::ChangeCurve ******/ + /****** md5 signature: 0751d1f9e5791d4ab52f473cba6aa712 ******/ %feature("compactdefaultargs") ChangeCurve; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- -opencascade::handle +opencascade::handle + +Description +----------- +No available documentation. ") ChangeCurve; - opencascade::handle & ChangeCurve(); + opencascade::handle & ChangeCurve(); - /****************** ChangeSurface ******************/ - /**** md5 signature: ba63a52eafbfff0b62e3d214999c2980 ****/ + /****** Adaptor3d_CurveOnSurface::ChangeSurface ******/ + /****** md5 signature: b8c30fe30999884649c5e492e4d3ae1b ******/ %feature("compactdefaultargs") ChangeSurface; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- -opencascade::handle +opencascade::handle + +Description +----------- +No available documentation. ") ChangeSurface; - opencascade::handle & ChangeSurface(); + opencascade::handle & ChangeSurface(); - /****************** Circle ******************/ - /**** md5 signature: 5f382e7a6af009845ea6e16d54814298 ****/ + /****** Adaptor3d_CurveOnSurface::Circle ******/ + /****** md5 signature: 5f382e7a6af009845ea6e16d54814298 ******/ %feature("compactdefaultargs") Circle; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Circ + +Description +----------- +No available documentation. ") Circle; gp_Circ Circle(); - /****************** Continuity ******************/ - /**** md5 signature: 9381b370dfdd50af7f1b79ce202f0c6f ****/ + /****** Adaptor3d_CurveOnSurface::Continuity ******/ + /****** md5 signature: 9381b370dfdd50af7f1b79ce202f0c6f ******/ %feature("compactdefaultargs") Continuity; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- GeomAbs_Shape + +Description +----------- +No available documentation. ") Continuity; GeomAbs_Shape Continuity(); - /****************** D0 ******************/ - /**** md5 signature: 5f7d08d8d17afc516aac9ef64bf9711f ****/ + /****** Adaptor3d_CurveOnSurface::D0 ******/ + /****** md5 signature: 5f7d08d8d17afc516aac9ef64bf9711f ******/ %feature("compactdefaultargs") D0; - %feature("autodoc", "Computes the point of parameter u on the curve. - + %feature("autodoc", " Parameters ---------- U: float P: gp_Pnt -Returns +Return ------- None + +Description +----------- +Computes the point of parameter U on the curve. ") D0; void D0(const Standard_Real U, gp_Pnt & P); - /****************** D1 ******************/ - /**** md5 signature: 1dc830ec49a945a61cde5e5c027b78d7 ****/ + /****** Adaptor3d_CurveOnSurface::D1 ******/ + /****** md5 signature: 1dc830ec49a945a61cde5e5c027b78d7 ******/ %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. - + %feature("autodoc", " Parameters ---------- U: float P: gp_Pnt V: gp_Vec -Returns +Return ------- None + +Description +----------- +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; void D1(const Standard_Real U, gp_Pnt & P, gp_Vec & V); - /****************** D2 ******************/ - /**** md5 signature: a694b4ba68c0fd83fbac79f945cb5d8c ****/ + /****** Adaptor3d_CurveOnSurface::D2 ******/ + /****** md5 signature: a694b4ba68c0fd83fbac79f945cb5d8c ******/ %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. - + %feature("autodoc", " Parameters ---------- U: float @@ -3646,17 +3112,20 @@ P: gp_Pnt V1: gp_Vec V2: gp_Vec -Returns +Return ------- None + +Description +----------- +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; void D2(const Standard_Real U, gp_Pnt & P, gp_Vec & V1, gp_Vec & V2); - /****************** D3 ******************/ - /**** md5 signature: cf1c3b5fe7af9d5c183c1b16b21c43f1 ****/ + /****** Adaptor3d_CurveOnSurface::D3 ******/ + /****** md5 signature: cf1c3b5fe7af9d5c183c1b16b21c43f1 ******/ %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. - + %feature("autodoc", " Parameters ---------- U: float @@ -3665,512 +3134,410 @@ V1: gp_Vec V2: gp_Vec V3: gp_Vec -Returns +Return ------- None + +Description +----------- +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; void D3(const Standard_Real U, gp_Pnt & P, gp_Vec & V1, gp_Vec & V2, gp_Vec & V3); - /****************** DN ******************/ - /**** md5 signature: 0d4a3e2fc2b4b03d2a49e0796a487efb ****/ + /****** Adaptor3d_CurveOnSurface::DN ******/ + /****** md5 signature: 0d4a3e2fc2b4b03d2a49e0796a487efb ******/ %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. - + %feature("autodoc", " Parameters ---------- U: float N: int -Returns +Return ------- gp_Vec + +Description +----------- +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; gp_Vec DN(const Standard_Real U, const Standard_Integer N); - /****************** Degree ******************/ - /**** md5 signature: 5ce473e72cc7bb935a667f4c839dab09 ****/ + /****** Adaptor3d_CurveOnSurface::Degree ******/ + /****** md5 signature: 5ce473e72cc7bb935a667f4c839dab09 ******/ %feature("compactdefaultargs") Degree; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") Degree; Standard_Integer Degree(); - /****************** Ellipse ******************/ - /**** md5 signature: e9a77f14e9bbca29370202de404ea9c1 ****/ + /****** Adaptor3d_CurveOnSurface::Ellipse ******/ + /****** md5 signature: e9a77f14e9bbca29370202de404ea9c1 ******/ %feature("compactdefaultargs") Ellipse; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Elips + +Description +----------- +No available documentation. ") Ellipse; gp_Elips Ellipse(); - /****************** FirstParameter ******************/ - /**** md5 signature: eb9ebe94572bd67588fe8811eac261fb ****/ + /****** Adaptor3d_CurveOnSurface::FirstParameter ******/ + /****** md5 signature: eb9ebe94572bd67588fe8811eac261fb ******/ %feature("compactdefaultargs") FirstParameter; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") FirstParameter; Standard_Real FirstParameter(); - /****************** GetCurve ******************/ - /**** md5 signature: 1a141bee0abfe05162f2753ed772cb69 ****/ + /****** Adaptor3d_CurveOnSurface::GetCurve ******/ + /****** md5 signature: 59faf580a052d0534228f92dbc8fa8ec ******/ %feature("compactdefaultargs") GetCurve; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- -opencascade::handle +opencascade::handle + +Description +----------- +No available documentation. ") GetCurve; - const opencascade::handle & GetCurve(); + const opencascade::handle & GetCurve(); - /****************** GetSurface ******************/ - /**** md5 signature: a4a1c7c92c718762dc89945deb151cb7 ****/ + /****** Adaptor3d_CurveOnSurface::GetSurface ******/ + /****** md5 signature: 56dff0248d5d8fc9e2bd341c8dad1556 ******/ %feature("compactdefaultargs") GetSurface; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- -opencascade::handle +opencascade::handle + +Description +----------- +No available documentation. ") GetSurface; - const opencascade::handle & GetSurface(); + const opencascade::handle & GetSurface(); - /****************** GetType ******************/ - /**** md5 signature: 0ad61dcbb5497908c1b536e766f0fcb9 ****/ + /****** Adaptor3d_CurveOnSurface::GetType ******/ + /****** md5 signature: 0ad61dcbb5497908c1b536e766f0fcb9 ******/ %feature("compactdefaultargs") GetType; - %feature("autodoc", "Returns the type of the curve in the current interval : line, circle, ellipse, hyperbola, parabola, beziercurve, bsplinecurve, othercurve. - -Returns + %feature("autodoc", "Return ------- GeomAbs_CurveType + +Description +----------- +Returns the type of the curve in the current interval: Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve. ") GetType; GeomAbs_CurveType GetType(); - /****************** Hyperbola ******************/ - /**** md5 signature: a96ca49b2ad017b35bb09d0b86cb690d ****/ + /****** Adaptor3d_CurveOnSurface::Hyperbola ******/ + /****** md5 signature: a96ca49b2ad017b35bb09d0b86cb690d ******/ %feature("compactdefaultargs") Hyperbola; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Hypr + +Description +----------- +No available documentation. ") Hyperbola; gp_Hypr Hyperbola(); - /****************** Intervals ******************/ - /**** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ****/ + /****** Adaptor3d_CurveOnSurface::Intervals ******/ + /****** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ******/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). - + %feature("autodoc", " Parameters ---------- T: TColStd_Array1OfReal S: GeomAbs_Shape -Returns +Return ------- None + +Description +----------- +Stores in the parameters bounding the intervals of continuity . //! The array must provide enough room to accommodate for the parameters. i.e. T.Length() > NbIntervals(). ") Intervals; void Intervals(TColStd_Array1OfReal & T, const GeomAbs_Shape S); - /****************** IsClosed ******************/ - /**** md5 signature: 00978070ec4cb5f00d1d002a8d5d3763 ****/ + /****** Adaptor3d_CurveOnSurface::IsClosed ******/ + /****** md5 signature: 00978070ec4cb5f00d1d002a8d5d3763 ******/ %feature("compactdefaultargs") IsClosed; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsClosed; Standard_Boolean IsClosed(); - /****************** IsPeriodic ******************/ - /**** md5 signature: 15e3ccfd3ad4ae42959489f7f64aa8ca ****/ + /****** Adaptor3d_CurveOnSurface::IsPeriodic ******/ + /****** md5 signature: 15e3ccfd3ad4ae42959489f7f64aa8ca ******/ %feature("compactdefaultargs") IsPeriodic; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsPeriodic; Standard_Boolean IsPeriodic(); - /****************** IsRational ******************/ - /**** md5 signature: 82ca56fad113156125f40128b25c0d8e ****/ + /****** Adaptor3d_CurveOnSurface::IsRational ******/ + /****** md5 signature: 82ca56fad113156125f40128b25c0d8e ******/ %feature("compactdefaultargs") IsRational; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsRational; Standard_Boolean IsRational(); - /****************** LastParameter ******************/ - /**** md5 signature: cb4925a2d4a451ceec8f6ad486530f9c ****/ + /****** Adaptor3d_CurveOnSurface::LastParameter ******/ + /****** md5 signature: cb4925a2d4a451ceec8f6ad486530f9c ******/ %feature("compactdefaultargs") LastParameter; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") LastParameter; Standard_Real LastParameter(); - /****************** Line ******************/ - /**** md5 signature: cf28f5541e4e744dd8038e2a9ac75a8f ****/ + /****** Adaptor3d_CurveOnSurface::Line ******/ + /****** md5 signature: cf28f5541e4e744dd8038e2a9ac75a8f ******/ %feature("compactdefaultargs") Line; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Lin + +Description +----------- +No available documentation. ") Line; gp_Lin Line(); - /****************** Load ******************/ - /**** md5 signature: 4e28ad4f267fb2bf6f257a9658f019ac ****/ + /****** Adaptor3d_CurveOnSurface::Load ******/ + /****** md5 signature: 5fdedc45f7f3e3286603c8152dd5d5ba ******/ %feature("compactdefaultargs") Load; - %feature("autodoc", "Changes the surface. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface -Returns +Return ------- None + +Description +----------- +Changes the surface. ") Load; - void Load(const opencascade::handle & S); + void Load(const opencascade::handle & S); - /****************** Load ******************/ - /**** md5 signature: 5645940cb6fc8e3a4d71d4ef9cd41ca5 ****/ + /****** Adaptor3d_CurveOnSurface::Load ******/ + /****** md5 signature: ddca440597e53b1ed736274984f99921 ******/ %feature("compactdefaultargs") Load; - %feature("autodoc", "Changes the 2d curve. - + %feature("autodoc", " Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d -Returns +Return ------- None + +Description +----------- +Changes the 2d curve. ") Load; - void Load(const opencascade::handle & C); + void Load(const opencascade::handle & C); - /****************** Load ******************/ - /**** md5 signature: 65ffbdf7da97e8c51d8c25bb157cecdc ****/ + /****** Adaptor3d_CurveOnSurface::Load ******/ + /****** md5 signature: 30aac2c787964491ce82a24360e0e4be ******/ %feature("compactdefaultargs") Load; - %feature("autodoc", "Load both curve and surface. - + %feature("autodoc", " Parameters ---------- -C: Adaptor2d_HCurve2d -S: Adaptor3d_HSurface +C: Adaptor2d_Curve2d +S: Adaptor3d_Surface -Returns +Return ------- None + +Description +----------- +Load both curve and surface. ") Load; - void Load(const opencascade::handle & C, const opencascade::handle & S); + void Load(const opencascade::handle & C, const opencascade::handle & S); - /****************** NbIntervals ******************/ - /**** md5 signature: 8ce4f61bff96d1ce0784028b47edd8dc ****/ + /****** Adaptor3d_CurveOnSurface::NbIntervals ******/ + /****** md5 signature: 8ce4f61bff96d1ce0784028b47edd8dc ******/ %feature("compactdefaultargs") NbIntervals; - %feature("autodoc", "Returns the number of intervals for continuity . may be one if continuity(me) >= . - + %feature("autodoc", " Parameters ---------- S: GeomAbs_Shape -Returns +Return ------- int + +Description +----------- +Returns the number of intervals for continuity . May be one if Continuity(me) >= . ") NbIntervals; Standard_Integer NbIntervals(const GeomAbs_Shape S); - /****************** NbKnots ******************/ - /**** md5 signature: 841663cbf96bec3b939f307c52df6c7c ****/ + /****** Adaptor3d_CurveOnSurface::NbKnots ******/ + /****** md5 signature: 841663cbf96bec3b939f307c52df6c7c ******/ %feature("compactdefaultargs") NbKnots; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbKnots; Standard_Integer NbKnots(); - /****************** NbPoles ******************/ - /**** md5 signature: 52e5fadf897540545847ef59cc0ba942 ****/ + /****** Adaptor3d_CurveOnSurface::NbPoles ******/ + /****** md5 signature: 52e5fadf897540545847ef59cc0ba942 ******/ %feature("compactdefaultargs") NbPoles; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbPoles; Standard_Integer NbPoles(); - /****************** Parabola ******************/ - /**** md5 signature: 68860abab63fd184ea5c7eb97f0762c1 ****/ + /****** Adaptor3d_CurveOnSurface::Parabola ******/ + /****** md5 signature: 68860abab63fd184ea5c7eb97f0762c1 ******/ %feature("compactdefaultargs") Parabola; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Parab + +Description +----------- +No available documentation. ") Parabola; gp_Parab Parabola(); - /****************** Period ******************/ - /**** md5 signature: 88909a321398632744c0d6841580c626 ****/ + /****** Adaptor3d_CurveOnSurface::Period ******/ + /****** md5 signature: 88909a321398632744c0d6841580c626 ******/ %feature("compactdefaultargs") Period; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") Period; Standard_Real Period(); - /****************** Resolution ******************/ - /**** md5 signature: cc4a4d9111fadd20ad48e62bc4df1579 ****/ + /****** Adaptor3d_CurveOnSurface::Resolution ******/ + /****** md5 signature: cc4a4d9111fadd20ad48e62bc4df1579 ******/ %feature("compactdefaultargs") Resolution; - %feature("autodoc", "Returns the parametric resolution corresponding to the real space resolution . - + %feature("autodoc", " Parameters ---------- R3d: float -Returns +Return ------- float + +Description +----------- +Returns the parametric resolution corresponding to the real space resolution . ") Resolution; Standard_Real Resolution(const Standard_Real R3d); - /****************** Trim ******************/ - /**** md5 signature: 113944489c8ce9efcb5cb2d44fff51d7 ****/ - %feature("compactdefaultargs") Trim; - %feature("autodoc", "Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. if >= . + /****** Adaptor3d_CurveOnSurface::ShallowCopy ******/ + /****** md5 signature: 1b6b0927543eab9d05e2c875c0c3efb6 ******/ + %feature("compactdefaultargs") ShallowCopy; + %feature("autodoc", "Return +------- +opencascade::handle + +Description +----------- +Shallow copy of adaptor. +") ShallowCopy; + virtual opencascade::handle ShallowCopy(); + /****** Adaptor3d_CurveOnSurface::Trim ******/ + /****** md5 signature: 40a46ffe7379c6d919968b501b8343a5 ******/ + %feature("compactdefaultargs") Trim; + %feature("autodoc", " Parameters ---------- First: float Last: float Tol: float -Returns +Return ------- -opencascade::handle +opencascade::handle + +Description +----------- +Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. If >= . ") Trim; - opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); - /****************** Value ******************/ - /**** md5 signature: d7f310c73762cbaa285ace0a141bc7bf ****/ + /****** Adaptor3d_CurveOnSurface::Value ******/ + /****** md5 signature: d7f310c73762cbaa285ace0a141bc7bf ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Computes the point of parameter u on the curve. - + %feature("autodoc", " Parameters ---------- U: float -Returns +Return ------- gp_Pnt + +Description +----------- +Computes the point of parameter U on the curve. ") Value; gp_Pnt Value(const Standard_Real U); }; -%extend Adaptor3d_CurveOnSurface { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/********************************** -* class Adaptor3d_HCurveOnSurface * -**********************************/ -class Adaptor3d_HCurveOnSurface : public Adaptor3d_HCurve { - public: - /****************** Adaptor3d_HCurveOnSurface ******************/ - /**** md5 signature: 3db8fbcc8219ab31e2829c9eebfdad41 ****/ - %feature("compactdefaultargs") Adaptor3d_HCurveOnSurface; - %feature("autodoc", "Creates an empty genhcurve. - -Returns -------- -None -") Adaptor3d_HCurveOnSurface; - Adaptor3d_HCurveOnSurface(); - - /****************** Adaptor3d_HCurveOnSurface ******************/ - /**** md5 signature: 33792ca3ecc239391e088e4b3daf2fd4 ****/ - %feature("compactdefaultargs") Adaptor3d_HCurveOnSurface; - %feature("autodoc", "Creates a genhcurve from a curve. - -Parameters ----------- -C: Adaptor3d_CurveOnSurface - -Returns -------- -None -") Adaptor3d_HCurveOnSurface; - Adaptor3d_HCurveOnSurface(const Adaptor3d_CurveOnSurface & C); - - /****************** ChangeCurve ******************/ - /**** md5 signature: 973306c79b1d7c34992bbc043a779c8d ****/ - %feature("compactdefaultargs") ChangeCurve; - %feature("autodoc", "Returns the curve used to create the genhcurve. - -Returns -------- -Adaptor3d_CurveOnSurface -") ChangeCurve; - Adaptor3d_CurveOnSurface & ChangeCurve(); - - /****************** Curve ******************/ - /**** md5 signature: a89f0959dbb9c3c030843720c3636148 ****/ - %feature("compactdefaultargs") Curve; - %feature("autodoc", "Returns the curve used to create the genhcurve. this is redefined from hcurve, cannot be inline. - -Returns -------- -Adaptor3d_Curve -") Curve; - const Adaptor3d_Curve & Curve(); - - /****************** GetCurve ******************/ - /**** md5 signature: 73b397b3522011e6948956523664e20c ****/ - %feature("compactdefaultargs") GetCurve; - %feature("autodoc", "Returns the curve used to create the genhcurve. this is redefined from hcurve, cannot be inline. - -Returns -------- -Adaptor3d_Curve -") GetCurve; - Adaptor3d_Curve & GetCurve(); - - /****************** Set ******************/ - /**** md5 signature: 562c69bc1f82ad2a8d712b5082d022d6 ****/ - %feature("compactdefaultargs") Set; - %feature("autodoc", "Sets the field of the genhcurve. - -Parameters ----------- -C: Adaptor3d_CurveOnSurface - -Returns -------- -None -") Set; - void Set(const Adaptor3d_CurveOnSurface & C); - -}; - - -%make_alias(Adaptor3d_HCurveOnSurface) - -%extend Adaptor3d_HCurveOnSurface { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/**************************** -* class Adaptor3d_HIsoCurve * -****************************/ -class Adaptor3d_HIsoCurve : public Adaptor3d_HCurve { - public: - /****************** Adaptor3d_HIsoCurve ******************/ - /**** md5 signature: 38c12067a8274569ac76e96dd2ad5b57 ****/ - %feature("compactdefaultargs") Adaptor3d_HIsoCurve; - %feature("autodoc", "Creates an empty genhcurve. - -Returns -------- -None -") Adaptor3d_HIsoCurve; - Adaptor3d_HIsoCurve(); - - /****************** Adaptor3d_HIsoCurve ******************/ - /**** md5 signature: 99ff55f1373594ff2081c604c3d6f4bd ****/ - %feature("compactdefaultargs") Adaptor3d_HIsoCurve; - %feature("autodoc", "Creates a genhcurve from a curve. - -Parameters ----------- -C: Adaptor3d_IsoCurve - -Returns -------- -None -") Adaptor3d_HIsoCurve; - Adaptor3d_HIsoCurve(const Adaptor3d_IsoCurve & C); - - /****************** ChangeCurve ******************/ - /**** md5 signature: 7360f7b4a871ff2011dc152e993c965a ****/ - %feature("compactdefaultargs") ChangeCurve; - %feature("autodoc", "Returns the curve used to create the genhcurve. - -Returns -------- -Adaptor3d_IsoCurve -") ChangeCurve; - Adaptor3d_IsoCurve & ChangeCurve(); - - /****************** Curve ******************/ - /**** md5 signature: a89f0959dbb9c3c030843720c3636148 ****/ - %feature("compactdefaultargs") Curve; - %feature("autodoc", "Returns the curve used to create the genhcurve. this is redefined from hcurve, cannot be inline. - -Returns -------- -Adaptor3d_Curve -") Curve; - const Adaptor3d_Curve & Curve(); - - /****************** GetCurve ******************/ - /**** md5 signature: 73b397b3522011e6948956523664e20c ****/ - %feature("compactdefaultargs") GetCurve; - %feature("autodoc", "Returns the curve used to create the genhcurve. this is redefined from hcurve, cannot be inline. - -Returns -------- -Adaptor3d_Curve -") GetCurve; - Adaptor3d_Curve & GetCurve(); - - /****************** Set ******************/ - /**** md5 signature: 2a8075f8bdbdf17eaf0a0ffd3dba6a6f ****/ - %feature("compactdefaultargs") Set; - %feature("autodoc", "Sets the field of the genhcurve. - -Parameters ----------- -C: Adaptor3d_IsoCurve - -Returns -------- -None -") Set; - void Set(const Adaptor3d_IsoCurve & C); - -}; - - -%make_alias(Adaptor3d_HIsoCurve) +%make_alias(Adaptor3d_CurveOnSurface) -%extend Adaptor3d_HIsoCurve { +%extend Adaptor3d_CurveOnSurface { %pythoncode { __repr__ = _dumps_object } @@ -4181,150 +3548,174 @@ None ***************************/ class Adaptor3d_IsoCurve : public Adaptor3d_Curve { public: - /****************** Adaptor3d_IsoCurve ******************/ - /**** md5 signature: cb862f00a186757c14cd5025f695a90c ****/ + /****** Adaptor3d_IsoCurve::Adaptor3d_IsoCurve ******/ + /****** md5 signature: cb862f00a186757c14cd5025f695a90c ******/ %feature("compactdefaultargs") Adaptor3d_IsoCurve; - %feature("autodoc", "The iso is set to noneiso. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +The iso is set to NoneIso. ") Adaptor3d_IsoCurve; Adaptor3d_IsoCurve(); - /****************** Adaptor3d_IsoCurve ******************/ - /**** md5 signature: fc594fa4f61ccaf564bf7a2a95ec0013 ****/ + /****** Adaptor3d_IsoCurve::Adaptor3d_IsoCurve ******/ + /****** md5 signature: 607c0557eaedda13d060731388d0c004 ******/ %feature("compactdefaultargs") Adaptor3d_IsoCurve; - %feature("autodoc", "The surface is loaded. the iso is set to noneiso. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface -Returns +Return ------- None + +Description +----------- +The surface is loaded. The iso is set to NoneIso. ") Adaptor3d_IsoCurve; - Adaptor3d_IsoCurve(const opencascade::handle & S); + Adaptor3d_IsoCurve(const opencascade::handle & S); - /****************** Adaptor3d_IsoCurve ******************/ - /**** md5 signature: 04b9da7d4b70469d39a98b4a1142088b ****/ + /****** Adaptor3d_IsoCurve::Adaptor3d_IsoCurve ******/ + /****** md5 signature: bfbcfabf7a1c156890f141f7adbff1f4 ******/ %feature("compactdefaultargs") Adaptor3d_IsoCurve; - %feature("autodoc", "Creates an isocurve curve. iso defines the type (isou or isou) param defines the value of the iso. the bounds of the iso are the bounds of the surface. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface Iso: GeomAbs_IsoType Param: float -Returns +Return ------- None + +Description +----------- +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. ") Adaptor3d_IsoCurve; - Adaptor3d_IsoCurve(const opencascade::handle & S, const GeomAbs_IsoType Iso, const Standard_Real Param); + Adaptor3d_IsoCurve(const opencascade::handle & S, const GeomAbs_IsoType Iso, const Standard_Real Param); - /****************** Adaptor3d_IsoCurve ******************/ - /**** md5 signature: 4153a58b25ea8131b6b8831b2624280a ****/ + /****** Adaptor3d_IsoCurve::Adaptor3d_IsoCurve ******/ + /****** md5 signature: e4dee8adea539086aa810249d6783f57 ******/ %feature("compactdefaultargs") Adaptor3d_IsoCurve; - %feature("autodoc", "Create an isocurve curve. iso defines the type (isou or isov). param defines the value of the iso. wfirst,wlast define the bounds of the iso. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface Iso: GeomAbs_IsoType Param: float WFirst: float WLast: float -Returns +Return ------- None + +Description +----------- +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. ") Adaptor3d_IsoCurve; - Adaptor3d_IsoCurve(const opencascade::handle & S, const GeomAbs_IsoType Iso, const Standard_Real Param, const Standard_Real WFirst, const Standard_Real WLast); + Adaptor3d_IsoCurve(const opencascade::handle & S, const GeomAbs_IsoType Iso, const Standard_Real Param, const Standard_Real WFirst, const Standard_Real WLast); - /****************** BSpline ******************/ - /**** md5 signature: 3ccc0d851302bffb5de6344e3eb3e58d ****/ + /****** Adaptor3d_IsoCurve::BSpline ******/ + /****** md5 signature: 3ccc0d851302bffb5de6344e3eb3e58d ******/ %feature("compactdefaultargs") BSpline; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") BSpline; opencascade::handle BSpline(); - /****************** Bezier ******************/ - /**** md5 signature: 092280fc6ee0e7104fbbe3460d73e83c ****/ + /****** Adaptor3d_IsoCurve::Bezier ******/ + /****** md5 signature: 092280fc6ee0e7104fbbe3460d73e83c ******/ %feature("compactdefaultargs") Bezier; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Bezier; opencascade::handle Bezier(); - /****************** Circle ******************/ - /**** md5 signature: 5f382e7a6af009845ea6e16d54814298 ****/ + /****** Adaptor3d_IsoCurve::Circle ******/ + /****** md5 signature: 5f382e7a6af009845ea6e16d54814298 ******/ %feature("compactdefaultargs") Circle; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Circ + +Description +----------- +No available documentation. ") Circle; gp_Circ Circle(); - /****************** Continuity ******************/ - /**** md5 signature: 9381b370dfdd50af7f1b79ce202f0c6f ****/ + /****** Adaptor3d_IsoCurve::Continuity ******/ + /****** md5 signature: 9381b370dfdd50af7f1b79ce202f0c6f ******/ %feature("compactdefaultargs") Continuity; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- GeomAbs_Shape + +Description +----------- +No available documentation. ") Continuity; GeomAbs_Shape Continuity(); - /****************** D0 ******************/ - /**** md5 signature: 5f7d08d8d17afc516aac9ef64bf9711f ****/ + /****** Adaptor3d_IsoCurve::D0 ******/ + /****** md5 signature: 5f7d08d8d17afc516aac9ef64bf9711f ******/ %feature("compactdefaultargs") D0; - %feature("autodoc", "Computes the point of parameter u on the curve. - + %feature("autodoc", " Parameters ---------- U: float P: gp_Pnt -Returns +Return ------- None + +Description +----------- +Computes the point of parameter U on the curve. ") D0; void D0(const Standard_Real U, gp_Pnt & P); - /****************** D1 ******************/ - /**** md5 signature: 1dc830ec49a945a61cde5e5c027b78d7 ****/ + /****** Adaptor3d_IsoCurve::D1 ******/ + /****** md5 signature: 1dc830ec49a945a61cde5e5c027b78d7 ******/ %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. - + %feature("autodoc", " Parameters ---------- U: float P: gp_Pnt V: gp_Vec -Returns +Return ------- None + +Description +----------- +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; void D1(const Standard_Real U, gp_Pnt & P, gp_Vec & V); - /****************** D2 ******************/ - /**** md5 signature: a694b4ba68c0fd83fbac79f945cb5d8c ****/ + /****** Adaptor3d_IsoCurve::D2 ******/ + /****** md5 signature: a694b4ba68c0fd83fbac79f945cb5d8c ******/ %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. - + %feature("autodoc", " Parameters ---------- U: float @@ -4332,17 +3723,20 @@ P: gp_Pnt V1: gp_Vec V2: gp_Vec -Returns +Return ------- None + +Description +----------- +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; void D2(const Standard_Real U, gp_Pnt & P, gp_Vec & V1, gp_Vec & V2); - /****************** D3 ******************/ - /**** md5 signature: cf1c3b5fe7af9d5c183c1b16b21c43f1 ****/ + /****** Adaptor3d_IsoCurve::D3 ******/ + /****** md5 signature: cf1c3b5fe7af9d5c183c1b16b21c43f1 ******/ %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. - + %feature("autodoc", " Parameters ---------- U: float @@ -4351,201 +3745,238 @@ V1: gp_Vec V2: gp_Vec V3: gp_Vec -Returns +Return ------- None + +Description +----------- +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; void D3(const Standard_Real U, gp_Pnt & P, gp_Vec & V1, gp_Vec & V2, gp_Vec & V3); - /****************** DN ******************/ - /**** md5 signature: 0d4a3e2fc2b4b03d2a49e0796a487efb ****/ + /****** Adaptor3d_IsoCurve::DN ******/ + /****** md5 signature: 0d4a3e2fc2b4b03d2a49e0796a487efb ******/ %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. - + %feature("autodoc", " Parameters ---------- U: float N: int -Returns +Return ------- gp_Vec + +Description +----------- +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; gp_Vec DN(const Standard_Real U, const Standard_Integer N); - /****************** Degree ******************/ - /**** md5 signature: 5ce473e72cc7bb935a667f4c839dab09 ****/ + /****** Adaptor3d_IsoCurve::Degree ******/ + /****** md5 signature: 5ce473e72cc7bb935a667f4c839dab09 ******/ %feature("compactdefaultargs") Degree; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") Degree; Standard_Integer Degree(); - /****************** Ellipse ******************/ - /**** md5 signature: e9a77f14e9bbca29370202de404ea9c1 ****/ + /****** Adaptor3d_IsoCurve::Ellipse ******/ + /****** md5 signature: e9a77f14e9bbca29370202de404ea9c1 ******/ %feature("compactdefaultargs") Ellipse; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Elips + +Description +----------- +No available documentation. ") Ellipse; gp_Elips Ellipse(); - /****************** FirstParameter ******************/ - /**** md5 signature: eb9ebe94572bd67588fe8811eac261fb ****/ + /****** Adaptor3d_IsoCurve::FirstParameter ******/ + /****** md5 signature: 93c381754667baab23468a195644e410 ******/ %feature("compactdefaultargs") FirstParameter; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") FirstParameter; - Standard_Real FirstParameter(); + virtual Standard_Real FirstParameter(); - /****************** GetType ******************/ - /**** md5 signature: 0ad61dcbb5497908c1b536e766f0fcb9 ****/ + /****** Adaptor3d_IsoCurve::GetType ******/ + /****** md5 signature: 0ad61dcbb5497908c1b536e766f0fcb9 ******/ %feature("compactdefaultargs") GetType; - %feature("autodoc", "Returns the type of the curve in the current interval : line, circle, ellipse, hyperbola, parabola, beziercurve, bsplinecurve, othercurve. - -Returns + %feature("autodoc", "Return ------- GeomAbs_CurveType + +Description +----------- +Returns the type of the curve in the current interval: Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve. ") GetType; GeomAbs_CurveType GetType(); - /****************** Hyperbola ******************/ - /**** md5 signature: a96ca49b2ad017b35bb09d0b86cb690d ****/ + /****** Adaptor3d_IsoCurve::Hyperbola ******/ + /****** md5 signature: a96ca49b2ad017b35bb09d0b86cb690d ******/ %feature("compactdefaultargs") Hyperbola; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Hypr + +Description +----------- +No available documentation. ") Hyperbola; gp_Hypr Hyperbola(); - /****************** Intervals ******************/ - /**** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ****/ + /****** Adaptor3d_IsoCurve::Intervals ******/ + /****** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ******/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). - + %feature("autodoc", " Parameters ---------- T: TColStd_Array1OfReal S: GeomAbs_Shape -Returns +Return ------- None + +Description +----------- +Stores in the parameters bounding the intervals of continuity . //! The array must provide enough room to accommodate for the parameters. i.e. T.Length() > NbIntervals(). ") Intervals; void Intervals(TColStd_Array1OfReal & T, const GeomAbs_Shape S); - /****************** IsClosed ******************/ - /**** md5 signature: 00978070ec4cb5f00d1d002a8d5d3763 ****/ + /****** Adaptor3d_IsoCurve::IsClosed ******/ + /****** md5 signature: 00978070ec4cb5f00d1d002a8d5d3763 ******/ %feature("compactdefaultargs") IsClosed; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsClosed; Standard_Boolean IsClosed(); - /****************** IsPeriodic ******************/ - /**** md5 signature: 15e3ccfd3ad4ae42959489f7f64aa8ca ****/ + /****** Adaptor3d_IsoCurve::IsPeriodic ******/ + /****** md5 signature: 15e3ccfd3ad4ae42959489f7f64aa8ca ******/ %feature("compactdefaultargs") IsPeriodic; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsPeriodic; Standard_Boolean IsPeriodic(); - /****************** IsRational ******************/ - /**** md5 signature: 82ca56fad113156125f40128b25c0d8e ****/ + /****** Adaptor3d_IsoCurve::IsRational ******/ + /****** md5 signature: 82ca56fad113156125f40128b25c0d8e ******/ %feature("compactdefaultargs") IsRational; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsRational; Standard_Boolean IsRational(); - /****************** Iso ******************/ - /**** md5 signature: ce620a6c2a00969fbb408f76d434f57e ****/ + /****** Adaptor3d_IsoCurve::Iso ******/ + /****** md5 signature: ab18592b64592fda4c22a1eda51e637d ******/ %feature("compactdefaultargs") Iso; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- GeomAbs_IsoType + +Description +----------- +No available documentation. ") Iso; GeomAbs_IsoType Iso(); - /****************** LastParameter ******************/ - /**** md5 signature: cb4925a2d4a451ceec8f6ad486530f9c ****/ + /****** Adaptor3d_IsoCurve::LastParameter ******/ + /****** md5 signature: a2893a92f9c4af09acb0cd59d959d964 ******/ %feature("compactdefaultargs") LastParameter; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") LastParameter; - Standard_Real LastParameter(); + virtual Standard_Real LastParameter(); - /****************** Line ******************/ - /**** md5 signature: cf28f5541e4e744dd8038e2a9ac75a8f ****/ + /****** Adaptor3d_IsoCurve::Line ******/ + /****** md5 signature: cf28f5541e4e744dd8038e2a9ac75a8f ******/ %feature("compactdefaultargs") Line; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Lin + +Description +----------- +No available documentation. ") Line; gp_Lin Line(); - /****************** Load ******************/ - /**** md5 signature: 4e28ad4f267fb2bf6f257a9658f019ac ****/ + /****** Adaptor3d_IsoCurve::Load ******/ + /****** md5 signature: 5fdedc45f7f3e3286603c8152dd5d5ba ******/ %feature("compactdefaultargs") Load; - %feature("autodoc", "Changes the surface. the iso is reset to noneiso. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface -Returns +Return ------- None + +Description +----------- +Changes the surface. The iso is reset to NoneIso. ") Load; - void Load(const opencascade::handle & S); + void Load(const opencascade::handle & S); - /****************** Load ******************/ - /**** md5 signature: 66ff0843f86cebdbf3cebf29ed66e909 ****/ + /****** Adaptor3d_IsoCurve::Load ******/ + /****** md5 signature: 66ff0843f86cebdbf3cebf29ed66e909 ******/ %feature("compactdefaultargs") Load; - %feature("autodoc", "Changes the iso on the current surface. - + %feature("autodoc", " Parameters ---------- Iso: GeomAbs_IsoType Param: float -Returns +Return ------- None + +Description +----------- +Changes the iso on the current surface. ") Load; void Load(const GeomAbs_IsoType Iso, const Standard_Real Param); - /****************** Load ******************/ - /**** md5 signature: ce2acdffae7f9f3edf3c676305191098 ****/ + /****** Adaptor3d_IsoCurve::Load ******/ + /****** md5 signature: ce2acdffae7f9f3edf3c676305191098 ******/ %feature("compactdefaultargs") Load; - %feature("autodoc", "Changes the iso on the current surface. - + %feature("autodoc", " Parameters ---------- Iso: GeomAbs_IsoType @@ -4553,143 +3984,186 @@ Param: float WFirst: float WLast: float -Returns +Return ------- None + +Description +----------- +Changes the iso on the current surface. ") Load; void Load(const GeomAbs_IsoType Iso, const Standard_Real Param, const Standard_Real WFirst, const Standard_Real WLast); - /****************** NbIntervals ******************/ - /**** md5 signature: 8ce4f61bff96d1ce0784028b47edd8dc ****/ + /****** Adaptor3d_IsoCurve::NbIntervals ******/ + /****** md5 signature: 8ce4f61bff96d1ce0784028b47edd8dc ******/ %feature("compactdefaultargs") NbIntervals; - %feature("autodoc", "Returns the number of intervals for continuity . may be one if continuity(me) >= . - + %feature("autodoc", " Parameters ---------- S: GeomAbs_Shape -Returns +Return ------- int + +Description +----------- +Returns the number of intervals for continuity . May be one if Continuity(me) >= . ") NbIntervals; Standard_Integer NbIntervals(const GeomAbs_Shape S); - /****************** NbKnots ******************/ - /**** md5 signature: 841663cbf96bec3b939f307c52df6c7c ****/ + /****** Adaptor3d_IsoCurve::NbKnots ******/ + /****** md5 signature: 841663cbf96bec3b939f307c52df6c7c ******/ %feature("compactdefaultargs") NbKnots; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbKnots; Standard_Integer NbKnots(); - /****************** NbPoles ******************/ - /**** md5 signature: 52e5fadf897540545847ef59cc0ba942 ****/ + /****** Adaptor3d_IsoCurve::NbPoles ******/ + /****** md5 signature: 52e5fadf897540545847ef59cc0ba942 ******/ %feature("compactdefaultargs") NbPoles; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbPoles; Standard_Integer NbPoles(); - /****************** Parabola ******************/ - /**** md5 signature: 68860abab63fd184ea5c7eb97f0762c1 ****/ + /****** Adaptor3d_IsoCurve::Parabola ******/ + /****** md5 signature: 68860abab63fd184ea5c7eb97f0762c1 ******/ %feature("compactdefaultargs") Parabola; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Parab + +Description +----------- +No available documentation. ") Parabola; gp_Parab Parabola(); - /****************** Parameter ******************/ - /**** md5 signature: ecccdeaeaa0deed24f47e61ad75d24f1 ****/ + /****** Adaptor3d_IsoCurve::Parameter ******/ + /****** md5 signature: a1c30d1196ee452cd8e422f1e25a0fbc ******/ %feature("compactdefaultargs") Parameter; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") Parameter; Standard_Real Parameter(); - /****************** Period ******************/ - /**** md5 signature: 88909a321398632744c0d6841580c626 ****/ + /****** Adaptor3d_IsoCurve::Period ******/ + /****** md5 signature: 88909a321398632744c0d6841580c626 ******/ %feature("compactdefaultargs") Period; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") Period; Standard_Real Period(); - /****************** Resolution ******************/ - /**** md5 signature: cc4a4d9111fadd20ad48e62bc4df1579 ****/ + /****** Adaptor3d_IsoCurve::Resolution ******/ + /****** md5 signature: cc4a4d9111fadd20ad48e62bc4df1579 ******/ %feature("compactdefaultargs") Resolution; - %feature("autodoc", "Returns the parametric resolution corresponding to the real space resolution . - + %feature("autodoc", " Parameters ---------- R3d: float -Returns +Return ------- float + +Description +----------- +Returns the parametric resolution corresponding to the real space resolution . ") Resolution; Standard_Real Resolution(const Standard_Real R3d); - /****************** Surface ******************/ - /**** md5 signature: 81999f08eca68bee259ba395fdac1a30 ****/ - %feature("compactdefaultargs") Surface; - %feature("autodoc", "No available documentation. + /****** Adaptor3d_IsoCurve::ShallowCopy ******/ + /****** md5 signature: 1b6b0927543eab9d05e2c875c0c3efb6 ******/ + %feature("compactdefaultargs") ShallowCopy; + %feature("autodoc", "Return +------- +opencascade::handle + +Description +----------- +Shallow copy of adaptor. +") ShallowCopy; + virtual opencascade::handle ShallowCopy(); -Returns + /****** Adaptor3d_IsoCurve::Surface ******/ + /****** md5 signature: 36b438ec6a4fa276d7bb47e4d8b0376a ******/ + %feature("compactdefaultargs") Surface; + %feature("autodoc", "Return ------- -opencascade::handle +opencascade::handle + +Description +----------- +No available documentation. ") Surface; - const opencascade::handle & Surface(); + const opencascade::handle & Surface(); - /****************** Trim ******************/ - /**** md5 signature: 113944489c8ce9efcb5cb2d44fff51d7 ****/ + /****** Adaptor3d_IsoCurve::Trim ******/ + /****** md5 signature: 40a46ffe7379c6d919968b501b8343a5 ******/ %feature("compactdefaultargs") Trim; - %feature("autodoc", "Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. if >= . - + %feature("autodoc", " Parameters ---------- First: float Last: float Tol: float -Returns +Return ------- -opencascade::handle +opencascade::handle + +Description +----------- +Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. If >= . ") Trim; - opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); - /****************** Value ******************/ - /**** md5 signature: d7f310c73762cbaa285ace0a141bc7bf ****/ + /****** Adaptor3d_IsoCurve::Value ******/ + /****** md5 signature: d7f310c73762cbaa285ace0a141bc7bf ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Computes the point of parameter u on the curve. - + %feature("autodoc", " Parameters ---------- U: float -Returns +Return ------- gp_Pnt + +Description +----------- +Computes the point of parameter U on the curve. ") Value; gp_Pnt Value(const Standard_Real U); }; +%make_alias(Adaptor3d_IsoCurve) + %extend Adaptor3d_IsoCurve { %pythoncode { __repr__ = _dumps_object @@ -4702,3 +4176,178 @@ gp_Pnt /* class aliases */ %pythoncode { } +/* deprecated methods */ +%pythoncode { +@deprecated +def Adaptor3d_HSurfaceTool_AxeOfRevolution(*args): + return Adaptor3d_HSurfaceTool.AxeOfRevolution(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_BSpline(*args): + return Adaptor3d_HSurfaceTool.BSpline(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_BasisCurve(*args): + return Adaptor3d_HSurfaceTool.BasisCurve(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_BasisSurface(*args): + return Adaptor3d_HSurfaceTool.BasisSurface(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_Bezier(*args): + return Adaptor3d_HSurfaceTool.Bezier(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_Cone(*args): + return Adaptor3d_HSurfaceTool.Cone(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_Cylinder(*args): + return Adaptor3d_HSurfaceTool.Cylinder(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_D0(*args): + return Adaptor3d_HSurfaceTool.D0(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_D1(*args): + return Adaptor3d_HSurfaceTool.D1(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_D2(*args): + return Adaptor3d_HSurfaceTool.D2(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_D3(*args): + return Adaptor3d_HSurfaceTool.D3(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_DN(*args): + return Adaptor3d_HSurfaceTool.DN(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_Direction(*args): + return Adaptor3d_HSurfaceTool.Direction(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_FirstUParameter(*args): + return Adaptor3d_HSurfaceTool.FirstUParameter(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_FirstVParameter(*args): + return Adaptor3d_HSurfaceTool.FirstVParameter(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_GetType(*args): + return Adaptor3d_HSurfaceTool.GetType(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_IsSurfG1(*args): + return Adaptor3d_HSurfaceTool.IsSurfG1(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_IsUClosed(*args): + return Adaptor3d_HSurfaceTool.IsUClosed(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_IsUPeriodic(*args): + return Adaptor3d_HSurfaceTool.IsUPeriodic(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_IsVClosed(*args): + return Adaptor3d_HSurfaceTool.IsVClosed(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_IsVPeriodic(*args): + return Adaptor3d_HSurfaceTool.IsVPeriodic(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_LastUParameter(*args): + return Adaptor3d_HSurfaceTool.LastUParameter(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_LastVParameter(*args): + return Adaptor3d_HSurfaceTool.LastVParameter(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_NbSamplesU(*args): + return Adaptor3d_HSurfaceTool.NbSamplesU(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_NbSamplesU(*args): + return Adaptor3d_HSurfaceTool.NbSamplesU(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_NbSamplesV(*args): + return Adaptor3d_HSurfaceTool.NbSamplesV(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_NbSamplesV(*args): + return Adaptor3d_HSurfaceTool.NbSamplesV(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_NbUIntervals(*args): + return Adaptor3d_HSurfaceTool.NbUIntervals(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_NbVIntervals(*args): + return Adaptor3d_HSurfaceTool.NbVIntervals(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_OffsetValue(*args): + return Adaptor3d_HSurfaceTool.OffsetValue(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_Plane(*args): + return Adaptor3d_HSurfaceTool.Plane(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_Sphere(*args): + return Adaptor3d_HSurfaceTool.Sphere(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_Torus(*args): + return Adaptor3d_HSurfaceTool.Torus(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_UIntervals(*args): + return Adaptor3d_HSurfaceTool.UIntervals(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_UPeriod(*args): + return Adaptor3d_HSurfaceTool.UPeriod(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_UResolution(*args): + return Adaptor3d_HSurfaceTool.UResolution(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_UTrim(*args): + return Adaptor3d_HSurfaceTool.UTrim(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_VIntervals(*args): + return Adaptor3d_HSurfaceTool.VIntervals(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_VPeriod(*args): + return Adaptor3d_HSurfaceTool.VPeriod(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_VResolution(*args): + return Adaptor3d_HSurfaceTool.VResolution(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_VTrim(*args): + return Adaptor3d_HSurfaceTool.VTrim(*args) + +@deprecated +def Adaptor3d_HSurfaceTool_Value(*args): + return Adaptor3d_HSurfaceTool.Value(*args) + +@deprecated +def Adaptor3d_TopolTool_GetConeApexParam(*args): + return Adaptor3d_TopolTool.GetConeApexParam(*args) + +} diff --git a/src/SWIG_files/wrapper/Adaptor3d.pyi b/src/SWIG_files/wrapper/Adaptor3d.pyi index f675f136c..bb485c9a1 100644 --- a/src/SWIG_files/wrapper/Adaptor3d.pyi +++ b/src/SWIG_files/wrapper/Adaptor3d.pyi @@ -11,478 +11,422 @@ from OCC.Core.TopAbs import * from OCC.Core.Adaptor2d import * from OCC.Core.math import * -Adaptor3d_CurveOnSurfacePtr = NewType('Adaptor3d_CurveOnSurfacePtr', Adaptor3d_CurveOnSurface) -Adaptor3d_CurvePtr = NewType('Adaptor3d_CurvePtr', Adaptor3d_Curve) -Adaptor3d_SurfacePtr = NewType('Adaptor3d_SurfacePtr', Adaptor3d_Surface) - -class Adaptor3d_Curve: - def BSpline(self) -> Geom_BSplineCurve: ... - def Bezier(self) -> Geom_BezierCurve: ... - def Circle(self) -> gp_Circ: ... - def Continuity(self) -> GeomAbs_Shape: ... - def D0(self, U: float, P: gp_Pnt) -> None: ... - def D1(self, U: float, P: gp_Pnt, V: gp_Vec) -> None: ... - def D2(self, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec) -> None: ... - def D3(self, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec, V3: gp_Vec) -> None: ... - def DN(self, U: float, N: int) -> gp_Vec: ... - def Degree(self) -> int: ... - def Ellipse(self) -> gp_Elips: ... - def FirstParameter(self) -> float: ... - def GetType(self) -> GeomAbs_CurveType: ... - def Hyperbola(self) -> gp_Hypr: ... - def Intervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... - def IsClosed(self) -> bool: ... - def IsPeriodic(self) -> bool: ... - def IsRational(self) -> bool: ... - def LastParameter(self) -> float: ... - def Line(self) -> gp_Lin: ... - def NbIntervals(self, S: GeomAbs_Shape) -> int: ... - def NbKnots(self) -> int: ... - def NbPoles(self) -> int: ... - def OffsetCurve(self) -> Geom_OffsetCurve: ... - def Parabola(self) -> gp_Parab: ... - def Period(self) -> float: ... - def Resolution(self, R3d: float) -> float: ... - def Trim(self, First: float, Last: float, Tol: float) -> Adaptor3d_HCurve: ... - def Value(self, U: float) -> gp_Pnt: ... - -class Adaptor3d_HCurve(Standard_Transient): - def BSpline(self) -> Geom_BSplineCurve: ... - def Bezier(self) -> Geom_BezierCurve: ... - def Circle(self) -> gp_Circ: ... - def Continuity(self) -> GeomAbs_Shape: ... - def Curve(self) -> Adaptor3d_Curve: ... - def D0(self, U: float, P: gp_Pnt) -> None: ... - def D1(self, U: float, P: gp_Pnt, V: gp_Vec) -> None: ... - def D2(self, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec) -> None: ... - def D3(self, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec, V3: gp_Vec) -> None: ... - def DN(self, U: float, N: int) -> gp_Vec: ... - def Degree(self) -> int: ... - def Ellipse(self) -> gp_Elips: ... - def FirstParameter(self) -> float: ... - def GetCurve(self) -> Adaptor3d_Curve: ... - def GetType(self) -> GeomAbs_CurveType: ... - def Hyperbola(self) -> gp_Hypr: ... - def Intervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... - def IsClosed(self) -> bool: ... - def IsPeriodic(self) -> bool: ... - def IsRational(self) -> bool: ... - def LastParameter(self) -> float: ... - def Line(self) -> gp_Lin: ... - def NbIntervals(self, S: GeomAbs_Shape) -> int: ... - def NbKnots(self) -> int: ... - def NbPoles(self) -> int: ... - def OffsetCurve(self) -> Geom_OffsetCurve: ... - def Parabola(self) -> gp_Parab: ... - def Period(self) -> float: ... - def Resolution(self, R3d: float) -> float: ... - def Trim(self, First: float, Last: float, Tol: float) -> Adaptor3d_HCurve: ... - def Value(self, U: float) -> gp_Pnt: ... - -class Adaptor3d_HSurface(Standard_Transient): - def AxeOfRevolution(self) -> gp_Ax1: ... - def BSpline(self) -> Geom_BSplineSurface: ... - def BasisCurve(self) -> Adaptor3d_HCurve: ... - def BasisSurface(self) -> Adaptor3d_HSurface: ... - def Bezier(self) -> Geom_BezierSurface: ... - def Cone(self) -> gp_Cone: ... - def Cylinder(self) -> gp_Cylinder: ... - def D0(self, U: float, V: float, P: gp_Pnt) -> None: ... - def D1(self, U: float, V: float, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec) -> None: ... - def D2(self, U: float, V: float, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec, D2U: gp_Vec, D2V: gp_Vec, D2UV: gp_Vec) -> None: ... - def D3(self, U: float, V: float, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec, D2U: gp_Vec, D2V: gp_Vec, D2UV: gp_Vec, D3U: gp_Vec, D3V: gp_Vec, D3UUV: gp_Vec, D3UVV: gp_Vec) -> None: ... - def DN(self, U: float, V: float, Nu: int, Nv: int) -> gp_Vec: ... - def Direction(self) -> gp_Dir: ... - def FirstUParameter(self) -> float: ... - def FirstVParameter(self) -> float: ... - def GetType(self) -> GeomAbs_SurfaceType: ... - def IsUClosed(self) -> bool: ... - def IsUPeriodic(self) -> bool: ... - def IsURational(self) -> bool: ... - def IsVClosed(self) -> bool: ... - def IsVPeriodic(self) -> bool: ... - def IsVRational(self) -> bool: ... - def LastUParameter(self) -> float: ... - def LastVParameter(self) -> float: ... - def NbUIntervals(self, S: GeomAbs_Shape) -> int: ... - def NbUKnots(self) -> int: ... - def NbUPoles(self) -> int: ... - def NbVIntervals(self, S: GeomAbs_Shape) -> int: ... - def NbVKnots(self) -> int: ... - def NbVPoles(self) -> int: ... - def OffsetValue(self) -> float: ... - def Plane(self) -> gp_Pln: ... - def Sphere(self) -> gp_Sphere: ... - def Surface(self) -> Adaptor3d_Surface: ... - def Torus(self) -> gp_Torus: ... - def UContinuity(self) -> GeomAbs_Shape: ... - def UDegree(self) -> int: ... - def UIntervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... - def UPeriod(self) -> float: ... - def UResolution(self, R3d: float) -> float: ... - def UTrim(self, First: float, Last: float, Tol: float) -> Adaptor3d_HSurface: ... - def VContinuity(self) -> GeomAbs_Shape: ... - def VDegree(self) -> int: ... - def VIntervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... - def VPeriod(self) -> float: ... - def VResolution(self, R3d: float) -> float: ... - def VTrim(self, First: float, Last: float, Tol: float) -> Adaptor3d_HSurface: ... - def Value(self, U: float, V: float) -> gp_Pnt: ... +class Adaptor3d_Curve(Standard_Transient): + def BSpline(self) -> Geom_BSplineCurve: ... + def Bezier(self) -> Geom_BezierCurve: ... + def Circle(self) -> gp_Circ: ... + def Continuity(self) -> GeomAbs_Shape: ... + def D0(self, U: float, P: gp_Pnt) -> None: ... + def D1(self, U: float, P: gp_Pnt, V: gp_Vec) -> None: ... + def D2(self, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec) -> None: ... + def D3(self, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec, V3: gp_Vec) -> None: ... + def DN(self, U: float, N: int) -> gp_Vec: ... + def Degree(self) -> int: ... + def Ellipse(self) -> gp_Elips: ... + def FirstParameter(self) -> float: ... + def GetType(self) -> GeomAbs_CurveType: ... + def Hyperbola(self) -> gp_Hypr: ... + def Intervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... + def IsClosed(self) -> bool: ... + def IsPeriodic(self) -> bool: ... + def IsRational(self) -> bool: ... + def LastParameter(self) -> float: ... + def Line(self) -> gp_Lin: ... + def NbIntervals(self, S: GeomAbs_Shape) -> int: ... + def NbKnots(self) -> int: ... + def NbPoles(self) -> int: ... + def OffsetCurve(self) -> Geom_OffsetCurve: ... + def Parabola(self) -> gp_Parab: ... + def Period(self) -> float: ... + def Resolution(self, R3d: float) -> float: ... + def ShallowCopy(self) -> Adaptor3d_Curve: ... + def Trim(self, First: float, Last: float, Tol: float) -> Adaptor3d_Curve: ... + def Value(self, U: float) -> gp_Pnt: ... class Adaptor3d_HSurfaceTool: - @staticmethod - def AxeOfRevolution(S: Adaptor3d_HSurface) -> gp_Ax1: ... - @staticmethod - def BSpline(S: Adaptor3d_HSurface) -> Geom_BSplineSurface: ... - @staticmethod - def BasisCurve(S: Adaptor3d_HSurface) -> Adaptor3d_HCurve: ... - @staticmethod - def BasisSurface(S: Adaptor3d_HSurface) -> Adaptor3d_HSurface: ... - @staticmethod - def Bezier(S: Adaptor3d_HSurface) -> Geom_BezierSurface: ... - @staticmethod - def Cone(S: Adaptor3d_HSurface) -> gp_Cone: ... - @staticmethod - def Cylinder(S: Adaptor3d_HSurface) -> gp_Cylinder: ... - @staticmethod - def D0(S: Adaptor3d_HSurface, u: float, v: float, P: gp_Pnt) -> None: ... - @staticmethod - def D1(S: Adaptor3d_HSurface, u: float, v: float, P: gp_Pnt, D1u: gp_Vec, D1v: gp_Vec) -> None: ... - @staticmethod - def D2(S: Adaptor3d_HSurface, u: float, v: float, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec, D2U: gp_Vec, D2V: gp_Vec, D2UV: gp_Vec) -> None: ... - @staticmethod - def D3(S: Adaptor3d_HSurface, u: float, v: float, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec, D2U: gp_Vec, D2V: gp_Vec, D2UV: gp_Vec, D3U: gp_Vec, D3V: gp_Vec, D3UUV: gp_Vec, D3UVV: gp_Vec) -> None: ... - @staticmethod - def DN(S: Adaptor3d_HSurface, u: float, v: float, Nu: int, Nv: int) -> gp_Vec: ... - @staticmethod - def Direction(S: Adaptor3d_HSurface) -> gp_Dir: ... - @staticmethod - def FirstUParameter(S: Adaptor3d_HSurface) -> float: ... - @staticmethod - def FirstVParameter(S: Adaptor3d_HSurface) -> float: ... - @staticmethod - def GetType(S: Adaptor3d_HSurface) -> GeomAbs_SurfaceType: ... - @staticmethod - def IsUClosed(S: Adaptor3d_HSurface) -> bool: ... - @staticmethod - def IsUPeriodic(S: Adaptor3d_HSurface) -> bool: ... - @staticmethod - def IsVClosed(S: Adaptor3d_HSurface) -> bool: ... - @staticmethod - def IsVPeriodic(S: Adaptor3d_HSurface) -> bool: ... - @staticmethod - def LastUParameter(S: Adaptor3d_HSurface) -> float: ... - @staticmethod - def LastVParameter(S: Adaptor3d_HSurface) -> float: ... - @overload - @staticmethod - def NbSamplesU(S: Adaptor3d_HSurface) -> int: ... - @overload - @staticmethod - def NbSamplesU(S: Adaptor3d_HSurface, u1: float, u2: float) -> int: ... - @overload - @staticmethod - def NbSamplesV(S: Adaptor3d_HSurface) -> int: ... - @overload - @staticmethod - def NbSamplesV(S: Adaptor3d_HSurface, v1: float, v2: float) -> int: ... - @staticmethod - def NbUIntervals(S: Adaptor3d_HSurface, Sh: GeomAbs_Shape) -> int: ... - @staticmethod - def NbVIntervals(S: Adaptor3d_HSurface, Sh: GeomAbs_Shape) -> int: ... - @staticmethod - def OffsetValue(S: Adaptor3d_HSurface) -> float: ... - @staticmethod - def Plane(S: Adaptor3d_HSurface) -> gp_Pln: ... - @staticmethod - def Sphere(S: Adaptor3d_HSurface) -> gp_Sphere: ... - @staticmethod - def Torus(S: Adaptor3d_HSurface) -> gp_Torus: ... - @staticmethod - def UIntervals(S: Adaptor3d_HSurface, T: TColStd_Array1OfReal, Sh: GeomAbs_Shape) -> None: ... - @staticmethod - def UPeriod(S: Adaptor3d_HSurface) -> float: ... - @staticmethod - def UResolution(S: Adaptor3d_HSurface, R3d: float) -> float: ... - @staticmethod - def UTrim(S: Adaptor3d_HSurface, First: float, Last: float, Tol: float) -> Adaptor3d_HSurface: ... - @staticmethod - def VIntervals(S: Adaptor3d_HSurface, T: TColStd_Array1OfReal, Sh: GeomAbs_Shape) -> None: ... - @staticmethod - def VPeriod(S: Adaptor3d_HSurface) -> float: ... - @staticmethod - def VResolution(S: Adaptor3d_HSurface, R3d: float) -> float: ... - @staticmethod - def VTrim(S: Adaptor3d_HSurface, First: float, Last: float, Tol: float) -> Adaptor3d_HSurface: ... - @staticmethod - def Value(S: Adaptor3d_HSurface, u: float, v: float) -> gp_Pnt: ... + @staticmethod + def AxeOfRevolution(theSurf: Adaptor3d_Surface) -> gp_Ax1: ... + @staticmethod + def BSpline(theSurf: Adaptor3d_Surface) -> Geom_BSplineSurface: ... + @staticmethod + def BasisCurve(theSurf: Adaptor3d_Surface) -> Adaptor3d_Curve: ... + @staticmethod + def BasisSurface(theSurf: Adaptor3d_Surface) -> Adaptor3d_Surface: ... + @staticmethod + def Bezier(theSurf: Adaptor3d_Surface) -> Geom_BezierSurface: ... + @staticmethod + def Cone(theSurf: Adaptor3d_Surface) -> gp_Cone: ... + @staticmethod + def Cylinder(theSurf: Adaptor3d_Surface) -> gp_Cylinder: ... + @staticmethod + def D0( + theSurf: Adaptor3d_Surface, theU: float, theV: float, thePnt: gp_Pnt + ) -> None: ... + @staticmethod + def D1( + theSurf: Adaptor3d_Surface, + theU: float, + theV: float, + thePnt: gp_Pnt, + theD1U: gp_Vec, + theD1V: gp_Vec, + ) -> None: ... + @staticmethod + def D2( + theSurf: Adaptor3d_Surface, + theU: float, + theV: float, + thePnt: gp_Pnt, + theD1U: gp_Vec, + theD1V: gp_Vec, + theD2U: gp_Vec, + theD2V: gp_Vec, + theD2UV: gp_Vec, + ) -> None: ... + @staticmethod + def D3( + theSurf: Adaptor3d_Surface, + theU: float, + theV: float, + thePnt: gp_Pnt, + theD1U: gp_Vec, + theD1V: gp_Vec, + theD2U: gp_Vec, + theD2V: gp_Vec, + theD2UV: gp_Vec, + theD3U: gp_Vec, + theD3V: gp_Vec, + theD3UUV: gp_Vec, + theD3UVV: gp_Vec, + ) -> None: ... + @staticmethod + def DN( + theSurf: Adaptor3d_Surface, theU: float, theV: float, theNU: int, theNV: int + ) -> gp_Vec: ... + @staticmethod + def Direction(theSurf: Adaptor3d_Surface) -> gp_Dir: ... + @staticmethod + def FirstUParameter(theSurf: Adaptor3d_Surface) -> float: ... + @staticmethod + def FirstVParameter(theSurf: Adaptor3d_Surface) -> float: ... + @staticmethod + def GetType(theSurf: Adaptor3d_Surface) -> GeomAbs_SurfaceType: ... + @staticmethod + def IsSurfG1( + theSurf: Adaptor3d_Surface, + theAlongU: bool, + theAngTol: Optional[float] = Precision.Angular(), + ) -> bool: ... + @staticmethod + def IsUClosed(theSurf: Adaptor3d_Surface) -> bool: ... + @staticmethod + def IsUPeriodic(theSurf: Adaptor3d_Surface) -> bool: ... + @staticmethod + def IsVClosed(theSurf: Adaptor3d_Surface) -> bool: ... + @staticmethod + def IsVPeriodic(theSurf: Adaptor3d_Surface) -> bool: ... + @staticmethod + def LastUParameter(theSurf: Adaptor3d_Surface) -> float: ... + @staticmethod + def LastVParameter(theSurf: Adaptor3d_Surface) -> float: ... + @overload + @staticmethod + def NbSamplesU(S: Adaptor3d_Surface) -> int: ... + @overload + @staticmethod + def NbSamplesU(S: Adaptor3d_Surface, u1: float, u2: float) -> int: ... + @overload + @staticmethod + def NbSamplesV(S: Adaptor3d_Surface) -> int: ... + @staticmethod + def NbUIntervals(theSurf: Adaptor3d_Surface, theSh: GeomAbs_Shape) -> int: ... + @staticmethod + def NbVIntervals(theSurf: Adaptor3d_Surface, theSh: GeomAbs_Shape) -> int: ... + @staticmethod + def OffsetValue(theSurf: Adaptor3d_Surface) -> float: ... + @staticmethod + def Plane(theSurf: Adaptor3d_Surface) -> gp_Pln: ... + @staticmethod + def Sphere(theSurf: Adaptor3d_Surface) -> gp_Sphere: ... + @staticmethod + def Torus(theSurf: Adaptor3d_Surface) -> gp_Torus: ... + @staticmethod + def UIntervals( + theSurf: Adaptor3d_Surface, theTab: TColStd_Array1OfReal, theSh: GeomAbs_Shape + ) -> None: ... + @staticmethod + def UPeriod(theSurf: Adaptor3d_Surface) -> float: ... + @staticmethod + def UResolution(theSurf: Adaptor3d_Surface, theR3d: float) -> float: ... + @staticmethod + def UTrim( + theSurf: Adaptor3d_Surface, theFirst: float, theLast: float, theTol: float + ) -> Adaptor3d_Surface: ... + @staticmethod + def VIntervals( + theSurf: Adaptor3d_Surface, theTab: TColStd_Array1OfReal, theSh: GeomAbs_Shape + ) -> None: ... + @staticmethod + def VPeriod(theSurf: Adaptor3d_Surface) -> float: ... + @staticmethod + def VResolution(theSurf: Adaptor3d_Surface, theR3d: float) -> float: ... + @staticmethod + def VTrim( + theSurf: Adaptor3d_Surface, theFirst: float, theLast: float, theTol: float + ) -> Adaptor3d_Surface: ... + @staticmethod + def Value(theSurf: Adaptor3d_Surface, theU: float, theV: float) -> gp_Pnt: ... class Adaptor3d_HVertex(Standard_Transient): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, P: gp_Pnt2d, Ori: TopAbs_Orientation, Resolution: float) -> None: ... - def IsSame(self, Other: Adaptor3d_HVertex) -> bool: ... - def Orientation(self) -> TopAbs_Orientation: ... - def Parameter(self, C: Adaptor2d_HCurve2d) -> float: ... - def Resolution(self, C: Adaptor2d_HCurve2d) -> float: ... - def Value(self) -> gp_Pnt2d: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__( + self, P: gp_Pnt2d, Ori: TopAbs_Orientation, Resolution: float + ) -> None: ... + def IsSame(self, Other: Adaptor3d_HVertex) -> bool: ... + def Orientation(self) -> TopAbs_Orientation: ... + def Parameter(self, C: Adaptor2d_Curve2d) -> float: ... + def Resolution(self, C: Adaptor2d_Curve2d) -> float: ... + def Value(self) -> gp_Pnt2d: ... class Adaptor3d_InterFunc(math_FunctionWithDerivative): - def __init__(self, C: Adaptor2d_HCurve2d, FixVal: float, Fix: int) -> None: ... - def Derivative(self, X: float) -> Tuple[bool, float]: ... - def Value(self, X: float) -> Tuple[bool, float]: ... - def Values(self, X: float) -> Tuple[bool, float, float]: ... + def __init__(self, C: Adaptor2d_Curve2d, FixVal: float, Fix: int) -> None: ... + def Derivative(self, X: float) -> Tuple[bool, float]: ... + def Value(self, X: float) -> Tuple[bool, float]: ... + def Values(self, X: float) -> Tuple[bool, float, float]: ... -class Adaptor3d_Surface: - def AxeOfRevolution(self) -> gp_Ax1: ... - def BSpline(self) -> Geom_BSplineSurface: ... - def BasisCurve(self) -> Adaptor3d_HCurve: ... - def BasisSurface(self) -> Adaptor3d_HSurface: ... - def Bezier(self) -> Geom_BezierSurface: ... - def Cone(self) -> gp_Cone: ... - def Cylinder(self) -> gp_Cylinder: ... - def D0(self, U: float, V: float, P: gp_Pnt) -> None: ... - def D1(self, U: float, V: float, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec) -> None: ... - def D2(self, U: float, V: float, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec, D2U: gp_Vec, D2V: gp_Vec, D2UV: gp_Vec) -> None: ... - def D3(self, U: float, V: float, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec, D2U: gp_Vec, D2V: gp_Vec, D2UV: gp_Vec, D3U: gp_Vec, D3V: gp_Vec, D3UUV: gp_Vec, D3UVV: gp_Vec) -> None: ... - def DN(self, U: float, V: float, Nu: int, Nv: int) -> gp_Vec: ... - def Direction(self) -> gp_Dir: ... - def FirstUParameter(self) -> float: ... - def FirstVParameter(self) -> float: ... - def GetType(self) -> GeomAbs_SurfaceType: ... - def IsUClosed(self) -> bool: ... - def IsUPeriodic(self) -> bool: ... - def IsURational(self) -> bool: ... - def IsVClosed(self) -> bool: ... - def IsVPeriodic(self) -> bool: ... - def IsVRational(self) -> bool: ... - def LastUParameter(self) -> float: ... - def LastVParameter(self) -> float: ... - def NbUIntervals(self, S: GeomAbs_Shape) -> int: ... - def NbUKnots(self) -> int: ... - def NbUPoles(self) -> int: ... - def NbVIntervals(self, S: GeomAbs_Shape) -> int: ... - def NbVKnots(self) -> int: ... - def NbVPoles(self) -> int: ... - def OffsetValue(self) -> float: ... - def Plane(self) -> gp_Pln: ... - def Sphere(self) -> gp_Sphere: ... - def Torus(self) -> gp_Torus: ... - def UContinuity(self) -> GeomAbs_Shape: ... - def UDegree(self) -> int: ... - def UIntervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... - def UPeriod(self) -> float: ... - def UResolution(self, R3d: float) -> float: ... - def UTrim(self, First: float, Last: float, Tol: float) -> Adaptor3d_HSurface: ... - def VContinuity(self) -> GeomAbs_Shape: ... - def VDegree(self) -> int: ... - def VIntervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... - def VPeriod(self) -> float: ... - def VResolution(self, R3d: float) -> float: ... - def VTrim(self, First: float, Last: float, Tol: float) -> Adaptor3d_HSurface: ... - def Value(self, U: float, V: float) -> gp_Pnt: ... +class Adaptor3d_Surface(Standard_Transient): + def AxeOfRevolution(self) -> gp_Ax1: ... + def BSpline(self) -> Geom_BSplineSurface: ... + def BasisCurve(self) -> Adaptor3d_Curve: ... + def BasisSurface(self) -> Adaptor3d_Surface: ... + def Bezier(self) -> Geom_BezierSurface: ... + def Cone(self) -> gp_Cone: ... + def Cylinder(self) -> gp_Cylinder: ... + def D0(self, U: float, V: float, P: gp_Pnt) -> None: ... + def D1(self, U: float, V: float, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec) -> None: ... + def D2( + self, + U: float, + V: float, + P: gp_Pnt, + D1U: gp_Vec, + D1V: gp_Vec, + D2U: gp_Vec, + D2V: gp_Vec, + D2UV: gp_Vec, + ) -> None: ... + def D3( + self, + U: float, + V: float, + P: gp_Pnt, + D1U: gp_Vec, + D1V: gp_Vec, + D2U: gp_Vec, + D2V: gp_Vec, + D2UV: gp_Vec, + D3U: gp_Vec, + D3V: gp_Vec, + D3UUV: gp_Vec, + D3UVV: gp_Vec, + ) -> None: ... + def DN(self, U: float, V: float, Nu: int, Nv: int) -> gp_Vec: ... + def Direction(self) -> gp_Dir: ... + def FirstUParameter(self) -> float: ... + def FirstVParameter(self) -> float: ... + def GetType(self) -> GeomAbs_SurfaceType: ... + def IsUClosed(self) -> bool: ... + def IsUPeriodic(self) -> bool: ... + def IsURational(self) -> bool: ... + def IsVClosed(self) -> bool: ... + def IsVPeriodic(self) -> bool: ... + def IsVRational(self) -> bool: ... + def LastUParameter(self) -> float: ... + def LastVParameter(self) -> float: ... + def NbUIntervals(self, S: GeomAbs_Shape) -> int: ... + def NbUKnots(self) -> int: ... + def NbUPoles(self) -> int: ... + def NbVIntervals(self, S: GeomAbs_Shape) -> int: ... + def NbVKnots(self) -> int: ... + def NbVPoles(self) -> int: ... + def OffsetValue(self) -> float: ... + def Plane(self) -> gp_Pln: ... + def ShallowCopy(self) -> Adaptor3d_Surface: ... + def Sphere(self) -> gp_Sphere: ... + def Torus(self) -> gp_Torus: ... + def UContinuity(self) -> GeomAbs_Shape: ... + def UDegree(self) -> int: ... + def UIntervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... + def UPeriod(self) -> float: ... + def UResolution(self, R3d: float) -> float: ... + def UTrim(self, First: float, Last: float, Tol: float) -> Adaptor3d_Surface: ... + def VContinuity(self) -> GeomAbs_Shape: ... + def VDegree(self) -> int: ... + def VIntervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... + def VPeriod(self) -> float: ... + def VResolution(self, R3d: float) -> float: ... + def VTrim(self, First: float, Last: float, Tol: float) -> Adaptor3d_Surface: ... + def Value(self, U: float, V: float) -> gp_Pnt: ... class Adaptor3d_TopolTool(Standard_Transient): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, Surface: Adaptor3d_HSurface) -> None: ... - def BSplSamplePnts(self, theDefl: float, theNUmin: int, theNVmin: int) -> None: ... - def Classify(self, P: gp_Pnt2d, Tol: float, ReacdreOnPeriodic: Optional[bool] = True) -> TopAbs_State: ... - def ComputeSamplePoints(self) -> None: ... - def DomainIsInfinite(self) -> bool: ... - def Edge(self) -> None: ... - def Has3d(self) -> bool: ... - def Identical(self, V1: Adaptor3d_HVertex, V2: Adaptor3d_HVertex) -> bool: ... - def Init(self) -> None: ... - def InitVertexIterator(self) -> None: ... - @overload - def Initialize(self) -> None: ... - @overload - def Initialize(self, S: Adaptor3d_HSurface) -> None: ... - @overload - def Initialize(self, Curve: Adaptor2d_HCurve2d) -> None: ... - def IsThePointOn(self, P: gp_Pnt2d, Tol: float, ReacdreOnPeriodic: Optional[bool] = True) -> bool: ... - def IsUniformSampling(self) -> bool: ... - def More(self) -> bool: ... - def MoreVertex(self) -> bool: ... - def NbSamples(self) -> int: ... - def NbSamplesU(self) -> int: ... - def NbSamplesV(self) -> int: ... - def Next(self) -> None: ... - def NextVertex(self) -> None: ... - @overload - def Orientation(self, C: Adaptor2d_HCurve2d) -> TopAbs_Orientation: ... - @overload - def Orientation(self, V: Adaptor3d_HVertex) -> TopAbs_Orientation: ... - def Pnt(self, V: Adaptor3d_HVertex) -> gp_Pnt: ... - def SamplePnts(self, theDefl: float, theNUmin: int, theNVmin: int) -> None: ... - def SamplePoint(self, Index: int, P2d: gp_Pnt2d, P3d: gp_Pnt) -> None: ... - @overload - def Tol3d(self, C: Adaptor2d_HCurve2d) -> float: ... - @overload - def Tol3d(self, V: Adaptor3d_HVertex) -> float: ... - def UParameters(self, theArray: TColStd_Array1OfReal) -> None: ... - def VParameters(self, theArray: TColStd_Array1OfReal) -> None: ... - def Value(self) -> Adaptor2d_HCurve2d: ... - def Vertex(self) -> Adaptor3d_HVertex: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, Surface: Adaptor3d_Surface) -> None: ... + def BSplSamplePnts(self, theDefl: float, theNUmin: int, theNVmin: int) -> None: ... + def Classify( + self, P: gp_Pnt2d, Tol: float, ReacdreOnPeriodic: Optional[bool] = True + ) -> TopAbs_State: ... + def ComputeSamplePoints(self) -> None: ... + def DomainIsInfinite(self) -> bool: ... + def Edge(self) -> None: ... + @staticmethod + def GetConeApexParam(theC: gp_Cone) -> Tuple[float, float]: ... + def Has3d(self) -> bool: ... + def Identical(self, V1: Adaptor3d_HVertex, V2: Adaptor3d_HVertex) -> bool: ... + def Init(self) -> None: ... + def InitVertexIterator(self) -> None: ... + @overload + def Initialize(self) -> None: ... + @overload + def Initialize(self, S: Adaptor3d_Surface) -> None: ... + @overload + def Initialize(self, Curve: Adaptor2d_Curve2d) -> None: ... + def IsThePointOn( + self, P: gp_Pnt2d, Tol: float, ReacdreOnPeriodic: Optional[bool] = True + ) -> bool: ... + def IsUniformSampling(self) -> bool: ... + def More(self) -> bool: ... + def MoreVertex(self) -> bool: ... + def NbSamples(self) -> int: ... + def NbSamplesU(self) -> int: ... + def NbSamplesV(self) -> int: ... + def Next(self) -> None: ... + def NextVertex(self) -> None: ... + @overload + def Orientation(self, C: Adaptor2d_Curve2d) -> TopAbs_Orientation: ... + @overload + def Orientation(self, V: Adaptor3d_HVertex) -> TopAbs_Orientation: ... + def Pnt(self, V: Adaptor3d_HVertex) -> gp_Pnt: ... + def SamplePnts(self, theDefl: float, theNUmin: int, theNVmin: int) -> None: ... + def SamplePoint(self, Index: int, P2d: gp_Pnt2d, P3d: gp_Pnt) -> None: ... + @overload + def Tol3d(self, C: Adaptor2d_Curve2d) -> float: ... + @overload + def Tol3d(self, V: Adaptor3d_HVertex) -> float: ... + def UParameters(self, theArray: TColStd_Array1OfReal) -> None: ... + def VParameters(self, theArray: TColStd_Array1OfReal) -> None: ... + def Value(self) -> Adaptor2d_Curve2d: ... + def Vertex(self) -> Adaptor3d_HVertex: ... class Adaptor3d_CurveOnSurface(Adaptor3d_Curve): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, S: Adaptor3d_HSurface) -> None: ... - @overload - def __init__(self, C: Adaptor2d_HCurve2d, S: Adaptor3d_HSurface) -> None: ... - def BSpline(self) -> Geom_BSplineCurve: ... - def Bezier(self) -> Geom_BezierCurve: ... - def ChangeCurve(self) -> Adaptor2d_HCurve2d: ... - def ChangeSurface(self) -> Adaptor3d_HSurface: ... - def Circle(self) -> gp_Circ: ... - def Continuity(self) -> GeomAbs_Shape: ... - def D0(self, U: float, P: gp_Pnt) -> None: ... - def D1(self, U: float, P: gp_Pnt, V: gp_Vec) -> None: ... - def D2(self, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec) -> None: ... - def D3(self, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec, V3: gp_Vec) -> None: ... - def DN(self, U: float, N: int) -> gp_Vec: ... - def Degree(self) -> int: ... - def Ellipse(self) -> gp_Elips: ... - def FirstParameter(self) -> float: ... - def GetCurve(self) -> Adaptor2d_HCurve2d: ... - def GetSurface(self) -> Adaptor3d_HSurface: ... - def GetType(self) -> GeomAbs_CurveType: ... - def Hyperbola(self) -> gp_Hypr: ... - def Intervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... - def IsClosed(self) -> bool: ... - def IsPeriodic(self) -> bool: ... - def IsRational(self) -> bool: ... - def LastParameter(self) -> float: ... - def Line(self) -> gp_Lin: ... - @overload - def Load(self, S: Adaptor3d_HSurface) -> None: ... - @overload - def Load(self, C: Adaptor2d_HCurve2d) -> None: ... - @overload - def Load(self, C: Adaptor2d_HCurve2d, S: Adaptor3d_HSurface) -> None: ... - def NbIntervals(self, S: GeomAbs_Shape) -> int: ... - def NbKnots(self) -> int: ... - def NbPoles(self) -> int: ... - def Parabola(self) -> gp_Parab: ... - def Period(self) -> float: ... - def Resolution(self, R3d: float) -> float: ... - def Trim(self, First: float, Last: float, Tol: float) -> Adaptor3d_HCurve: ... - def Value(self, U: float) -> gp_Pnt: ... - -class Adaptor3d_HCurveOnSurface(Adaptor3d_HCurve): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, C: Adaptor3d_CurveOnSurface) -> None: ... - def ChangeCurve(self) -> Adaptor3d_CurveOnSurface: ... - def Curve(self) -> Adaptor3d_Curve: ... - def GetCurve(self) -> Adaptor3d_Curve: ... - def Set(self, C: Adaptor3d_CurveOnSurface) -> None: ... - -class Adaptor3d_HIsoCurve(Adaptor3d_HCurve): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, C: Adaptor3d_IsoCurve) -> None: ... - def ChangeCurve(self) -> Adaptor3d_IsoCurve: ... - def Curve(self) -> Adaptor3d_Curve: ... - def GetCurve(self) -> Adaptor3d_Curve: ... - def Set(self, C: Adaptor3d_IsoCurve) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, S: Adaptor3d_Surface) -> None: ... + @overload + def __init__(self, C: Adaptor2d_Curve2d, S: Adaptor3d_Surface) -> None: ... + def BSpline(self) -> Geom_BSplineCurve: ... + def Bezier(self) -> Geom_BezierCurve: ... + def ChangeCurve(self) -> Adaptor2d_Curve2d: ... + def ChangeSurface(self) -> Adaptor3d_Surface: ... + def Circle(self) -> gp_Circ: ... + def Continuity(self) -> GeomAbs_Shape: ... + def D0(self, U: float, P: gp_Pnt) -> None: ... + def D1(self, U: float, P: gp_Pnt, V: gp_Vec) -> None: ... + def D2(self, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec) -> None: ... + def D3(self, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec, V3: gp_Vec) -> None: ... + def DN(self, U: float, N: int) -> gp_Vec: ... + def Degree(self) -> int: ... + def Ellipse(self) -> gp_Elips: ... + def FirstParameter(self) -> float: ... + def GetCurve(self) -> Adaptor2d_Curve2d: ... + def GetSurface(self) -> Adaptor3d_Surface: ... + def GetType(self) -> GeomAbs_CurveType: ... + def Hyperbola(self) -> gp_Hypr: ... + def Intervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... + def IsClosed(self) -> bool: ... + def IsPeriodic(self) -> bool: ... + def IsRational(self) -> bool: ... + def LastParameter(self) -> float: ... + def Line(self) -> gp_Lin: ... + @overload + def Load(self, S: Adaptor3d_Surface) -> None: ... + @overload + def Load(self, C: Adaptor2d_Curve2d) -> None: ... + @overload + def Load(self, C: Adaptor2d_Curve2d, S: Adaptor3d_Surface) -> None: ... + def NbIntervals(self, S: GeomAbs_Shape) -> int: ... + def NbKnots(self) -> int: ... + def NbPoles(self) -> int: ... + def Parabola(self) -> gp_Parab: ... + def Period(self) -> float: ... + def Resolution(self, R3d: float) -> float: ... + def ShallowCopy(self) -> Adaptor3d_Curve: ... + def Trim(self, First: float, Last: float, Tol: float) -> Adaptor3d_Curve: ... + def Value(self, U: float) -> gp_Pnt: ... class Adaptor3d_IsoCurve(Adaptor3d_Curve): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, S: Adaptor3d_HSurface) -> None: ... - @overload - def __init__(self, S: Adaptor3d_HSurface, Iso: GeomAbs_IsoType, Param: float) -> None: ... - @overload - def __init__(self, S: Adaptor3d_HSurface, Iso: GeomAbs_IsoType, Param: float, WFirst: float, WLast: float) -> None: ... - def BSpline(self) -> Geom_BSplineCurve: ... - def Bezier(self) -> Geom_BezierCurve: ... - def Circle(self) -> gp_Circ: ... - def Continuity(self) -> GeomAbs_Shape: ... - def D0(self, U: float, P: gp_Pnt) -> None: ... - def D1(self, U: float, P: gp_Pnt, V: gp_Vec) -> None: ... - def D2(self, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec) -> None: ... - def D3(self, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec, V3: gp_Vec) -> None: ... - def DN(self, U: float, N: int) -> gp_Vec: ... - def Degree(self) -> int: ... - def Ellipse(self) -> gp_Elips: ... - def FirstParameter(self) -> float: ... - def GetType(self) -> GeomAbs_CurveType: ... - def Hyperbola(self) -> gp_Hypr: ... - def Intervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... - def IsClosed(self) -> bool: ... - def IsPeriodic(self) -> bool: ... - def IsRational(self) -> bool: ... - def Iso(self) -> GeomAbs_IsoType: ... - def LastParameter(self) -> float: ... - def Line(self) -> gp_Lin: ... - @overload - def Load(self, S: Adaptor3d_HSurface) -> None: ... - @overload - def Load(self, Iso: GeomAbs_IsoType, Param: float) -> None: ... - @overload - def Load(self, Iso: GeomAbs_IsoType, Param: float, WFirst: float, WLast: float) -> None: ... - def NbIntervals(self, S: GeomAbs_Shape) -> int: ... - def NbKnots(self) -> int: ... - def NbPoles(self) -> int: ... - def Parabola(self) -> gp_Parab: ... - def Parameter(self) -> float: ... - def Period(self) -> float: ... - def Resolution(self, R3d: float) -> float: ... - def Surface(self) -> Adaptor3d_HSurface: ... - def Trim(self, First: float, Last: float, Tol: float) -> Adaptor3d_HCurve: ... - def Value(self, U: float) -> gp_Pnt: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, S: Adaptor3d_Surface) -> None: ... + @overload + def __init__( + self, S: Adaptor3d_Surface, Iso: GeomAbs_IsoType, Param: float + ) -> None: ... + @overload + def __init__( + self, + S: Adaptor3d_Surface, + Iso: GeomAbs_IsoType, + Param: float, + WFirst: float, + WLast: float, + ) -> None: ... + def BSpline(self) -> Geom_BSplineCurve: ... + def Bezier(self) -> Geom_BezierCurve: ... + def Circle(self) -> gp_Circ: ... + def Continuity(self) -> GeomAbs_Shape: ... + def D0(self, U: float, P: gp_Pnt) -> None: ... + def D1(self, U: float, P: gp_Pnt, V: gp_Vec) -> None: ... + def D2(self, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec) -> None: ... + def D3(self, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec, V3: gp_Vec) -> None: ... + def DN(self, U: float, N: int) -> gp_Vec: ... + def Degree(self) -> int: ... + def Ellipse(self) -> gp_Elips: ... + def FirstParameter(self) -> float: ... + def GetType(self) -> GeomAbs_CurveType: ... + def Hyperbola(self) -> gp_Hypr: ... + def Intervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... + def IsClosed(self) -> bool: ... + def IsPeriodic(self) -> bool: ... + def IsRational(self) -> bool: ... + def Iso(self) -> GeomAbs_IsoType: ... + def LastParameter(self) -> float: ... + def Line(self) -> gp_Lin: ... + @overload + def Load(self, S: Adaptor3d_Surface) -> None: ... + @overload + def Load(self, Iso: GeomAbs_IsoType, Param: float) -> None: ... + @overload + def Load( + self, Iso: GeomAbs_IsoType, Param: float, WFirst: float, WLast: float + ) -> None: ... + def NbIntervals(self, S: GeomAbs_Shape) -> int: ... + def NbKnots(self) -> int: ... + def NbPoles(self) -> int: ... + def Parabola(self) -> gp_Parab: ... + def Parameter(self) -> float: ... + def Period(self) -> float: ... + def Resolution(self, R3d: float) -> float: ... + def ShallowCopy(self) -> Adaptor3d_Curve: ... + def Surface(self) -> Adaptor3d_Surface: ... + def Trim(self, First: float, Last: float, Tol: float) -> Adaptor3d_Curve: ... + def Value(self, U: float) -> gp_Pnt: ... # harray1 classes # harray2 classes # hsequence classes - -Adaptor3d_HSurfaceTool_AxeOfRevolution = Adaptor3d_HSurfaceTool.AxeOfRevolution -Adaptor3d_HSurfaceTool_BSpline = Adaptor3d_HSurfaceTool.BSpline -Adaptor3d_HSurfaceTool_BasisCurve = Adaptor3d_HSurfaceTool.BasisCurve -Adaptor3d_HSurfaceTool_BasisSurface = Adaptor3d_HSurfaceTool.BasisSurface -Adaptor3d_HSurfaceTool_Bezier = Adaptor3d_HSurfaceTool.Bezier -Adaptor3d_HSurfaceTool_Cone = Adaptor3d_HSurfaceTool.Cone -Adaptor3d_HSurfaceTool_Cylinder = Adaptor3d_HSurfaceTool.Cylinder -Adaptor3d_HSurfaceTool_D0 = Adaptor3d_HSurfaceTool.D0 -Adaptor3d_HSurfaceTool_D1 = Adaptor3d_HSurfaceTool.D1 -Adaptor3d_HSurfaceTool_D2 = Adaptor3d_HSurfaceTool.D2 -Adaptor3d_HSurfaceTool_D3 = Adaptor3d_HSurfaceTool.D3 -Adaptor3d_HSurfaceTool_DN = Adaptor3d_HSurfaceTool.DN -Adaptor3d_HSurfaceTool_Direction = Adaptor3d_HSurfaceTool.Direction -Adaptor3d_HSurfaceTool_FirstUParameter = Adaptor3d_HSurfaceTool.FirstUParameter -Adaptor3d_HSurfaceTool_FirstVParameter = Adaptor3d_HSurfaceTool.FirstVParameter -Adaptor3d_HSurfaceTool_GetType = Adaptor3d_HSurfaceTool.GetType -Adaptor3d_HSurfaceTool_IsUClosed = Adaptor3d_HSurfaceTool.IsUClosed -Adaptor3d_HSurfaceTool_IsUPeriodic = Adaptor3d_HSurfaceTool.IsUPeriodic -Adaptor3d_HSurfaceTool_IsVClosed = Adaptor3d_HSurfaceTool.IsVClosed -Adaptor3d_HSurfaceTool_IsVPeriodic = Adaptor3d_HSurfaceTool.IsVPeriodic -Adaptor3d_HSurfaceTool_LastUParameter = Adaptor3d_HSurfaceTool.LastUParameter -Adaptor3d_HSurfaceTool_LastVParameter = Adaptor3d_HSurfaceTool.LastVParameter -Adaptor3d_HSurfaceTool_NbSamplesU = Adaptor3d_HSurfaceTool.NbSamplesU -Adaptor3d_HSurfaceTool_NbSamplesU = Adaptor3d_HSurfaceTool.NbSamplesU -Adaptor3d_HSurfaceTool_NbSamplesV = Adaptor3d_HSurfaceTool.NbSamplesV -Adaptor3d_HSurfaceTool_NbSamplesV = Adaptor3d_HSurfaceTool.NbSamplesV -Adaptor3d_HSurfaceTool_NbUIntervals = Adaptor3d_HSurfaceTool.NbUIntervals -Adaptor3d_HSurfaceTool_NbVIntervals = Adaptor3d_HSurfaceTool.NbVIntervals -Adaptor3d_HSurfaceTool_OffsetValue = Adaptor3d_HSurfaceTool.OffsetValue -Adaptor3d_HSurfaceTool_Plane = Adaptor3d_HSurfaceTool.Plane -Adaptor3d_HSurfaceTool_Sphere = Adaptor3d_HSurfaceTool.Sphere -Adaptor3d_HSurfaceTool_Torus = Adaptor3d_HSurfaceTool.Torus -Adaptor3d_HSurfaceTool_UIntervals = Adaptor3d_HSurfaceTool.UIntervals -Adaptor3d_HSurfaceTool_UPeriod = Adaptor3d_HSurfaceTool.UPeriod -Adaptor3d_HSurfaceTool_UResolution = Adaptor3d_HSurfaceTool.UResolution -Adaptor3d_HSurfaceTool_UTrim = Adaptor3d_HSurfaceTool.UTrim -Adaptor3d_HSurfaceTool_VIntervals = Adaptor3d_HSurfaceTool.VIntervals -Adaptor3d_HSurfaceTool_VPeriod = Adaptor3d_HSurfaceTool.VPeriod -Adaptor3d_HSurfaceTool_VResolution = Adaptor3d_HSurfaceTool.VResolution -Adaptor3d_HSurfaceTool_VTrim = Adaptor3d_HSurfaceTool.VTrim -Adaptor3d_HSurfaceTool_Value = Adaptor3d_HSurfaceTool.Value diff --git a/src/SWIG_files/wrapper/AdvApp2Var.i b/src/SWIG_files/wrapper/AdvApp2Var.i index aacebd56e..551996590 100644 --- a/src/SWIG_files/wrapper/AdvApp2Var.i +++ b/src/SWIG_files/wrapper/AdvApp2Var.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define ADVAPP2VARDOCSTRING "AdvApp2Var module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_advapp2var.html" +https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_advapp2var.html" %enddef %module (package="OCC.Core", docstring=ADVAPP2VARDOCSTRING) AdvApp2Var @@ -31,8 +31,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_advapp2var.html" %include ../common/CommonIncludes.i %include ../common/ExceptionCatcher.i %include ../common/FunctionTransformers.i +%include ../common/EnumTemplates.i %include ../common/Operators.i %include ../common/OccHandle.i +%include ../common/IOStream.i +%include ../common/ArrayMacros.i %{ @@ -84,7 +87,7 @@ enum AdvApp2Var_CriterionType { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class AdvApp2Var_CriterionRepartition(IntEnum): @@ -146,6 +149,28 @@ typedef NCollection_Sequence> AdvApp2Var_Se typedef NCollection_Sequence> AdvApp2Var_SequenceOfPatch; typedef NCollection_Sequence AdvApp2Var_SequenceOfStrip; typedef NCollection_Sequence> AdvApp2Var_Strip; +typedef VOID C_f; +typedef doublereal E_f; +typedef VOID H_f; +typedef union Multitype Multitype; +typedef struct Namelist Namelist; +typedef struct Vardesc Vardesc; +typedef VOID Z_f; +typedef char * address; +typedef double doublereal; +typedef long int flag; +typedef long int ftnint; +typedef long int ftnlen; +typedef int integer; +typedef char integer1; +typedef long int logical; +typedef char logical1; +typedef long long longint; +typedef float real; +typedef short int shortint; +typedef short int shortlogical; +typedef unsigned long uinteger; +typedef unsigned long long ulongint; /* end typedefs declaration */ /*********************************** @@ -153,11 +178,10 @@ typedef NCollection_Sequence> AdvApp2Var_Str ***********************************/ class AdvApp2Var_ApproxAFunc2Var { public: - /****************** AdvApp2Var_ApproxAFunc2Var ******************/ - /**** md5 signature: 6379ab64b1b4c1e0c124bdc6f7c7f799 ****/ + /****** AdvApp2Var_ApproxAFunc2Var::AdvApp2Var_ApproxAFunc2Var ******/ + /****** md5 signature: 6379ab64b1b4c1e0c124bdc6f7c7f799 ******/ %feature("compactdefaultargs") AdvApp2Var_ApproxAFunc2Var; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Num1DSS: int @@ -184,17 +208,20 @@ Func: AdvApp2Var_EvaluatorFunc2Var UChoice: AdvApprox_Cutting VChoice: AdvApprox_Cutting -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: cb5f144bc0526b9241a11be61366792e ****/ + /****** AdvApp2Var_ApproxAFunc2Var::AdvApp2Var_ApproxAFunc2Var ******/ + /****** md5 signature: cb5f144bc0526b9241a11be61366792e ******/ %feature("compactdefaultargs") AdvApp2Var_ApproxAFunc2Var; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Num1DSS: int @@ -222,231 +249,285 @@ Crit: AdvApp2Var_Criterion UChoice: AdvApprox_Cutting VChoice: AdvApprox_Cutting -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: d3a5b5e32b36bc7e79202cfa1abaedbe ****/ + /****** AdvApp2Var_ApproxAFunc2Var::AverageError ******/ + /****** md5 signature: d3a5b5e32b36bc7e79202cfa1abaedbe ******/ %feature("compactdefaultargs") AverageError; - %feature("autodoc", "Returns the average errors. - + %feature("autodoc", " Parameters ---------- Dimension: int -Returns +Return ------- opencascade::handle + +Description +----------- +returns the average errors. ") AverageError; opencascade::handle AverageError(const Standard_Integer Dimension); - /****************** AverageError ******************/ - /**** md5 signature: b46c820432bcb3498c5c88e842dca097 ****/ + /****** AdvApp2Var_ApproxAFunc2Var::AverageError ******/ + /****** md5 signature: b46c820432bcb3498c5c88e842dca097 ******/ %feature("compactdefaultargs") AverageError; - %feature("autodoc", "Returns the average error of the bsplinesurface of range index. - + %feature("autodoc", " Parameters ---------- Dimension: int Index: int -Returns +Return ------- float + +Description +----------- +returns the average error of the BSplineSurface of range Index. ") AverageError; Standard_Real AverageError(const Standard_Integer Dimension, const Standard_Integer Index); - /****************** CritError ******************/ - /**** md5 signature: cfeaabf78ae9cebfb4b197eb333f93f2 ****/ + /****** AdvApp2Var_ApproxAFunc2Var::CritError ******/ + /****** md5 signature: cfeaabf78ae9cebfb4b197eb333f93f2 ******/ %feature("compactdefaultargs") CritError; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Dimension: int Index: int -Returns +Return ------- float + +Description +----------- +No available documentation. ") CritError; Standard_Real CritError(const Standard_Integer Dimension, const Standard_Integer Index); + /****** AdvApp2Var_ApproxAFunc2Var::Dump ******/ + /****** md5 signature: d37b43e0b2386dc096d5d707876db157 ******/ + %feature("compactdefaultargs") Dump; + %feature("autodoc", " +Parameters +---------- - %feature("autodoc", "1"); - %extend{ - std::string DumpToString() { - std::stringstream s; - self->Dump(s); - return s.str();} - }; - /****************** HasResult ******************/ - /**** md5 signature: 345d4b0f7e88f528928167976d8256d5 ****/ - %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. +Return +------- +o: Standard_OStream + +Description +----------- +Prints on the stream 'o' information on the current state of the object. +") Dump; + void Dump(std::ostream &OutValue); -Returns + /****** AdvApp2Var_ApproxAFunc2Var::HasResult ******/ + /****** md5 signature: 345d4b0f7e88f528928167976d8256d5 ******/ + %feature("compactdefaultargs") HasResult; + %feature("autodoc", "Return ------- bool + +Description +----------- +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. ") HasResult; Standard_Boolean HasResult(); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** AdvApp2Var_ApproxAFunc2Var::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "True if the approximation succeeded within the imposed tolerances and the wished continuities. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +True if the approximation succeeded within the imposed tolerances and the wished continuities. ") IsDone; Standard_Boolean IsDone(); - /****************** MaxError ******************/ - /**** md5 signature: 65f67ba992f5651ddbda653be6688fd1 ****/ + /****** AdvApp2Var_ApproxAFunc2Var::MaxError ******/ + /****** md5 signature: 65f67ba992f5651ddbda653be6688fd1 ******/ %feature("compactdefaultargs") MaxError; - %feature("autodoc", "Returns the errors max. - + %feature("autodoc", " Parameters ---------- Dimension: int -Returns +Return ------- opencascade::handle + +Description +----------- +returns the errors max. ") MaxError; opencascade::handle MaxError(const Standard_Integer Dimension); - /****************** MaxError ******************/ - /**** md5 signature: 5025e53abdc4b5b4ec15e940b792a6ea ****/ + /****** AdvApp2Var_ApproxAFunc2Var::MaxError ******/ + /****** md5 signature: 5025e53abdc4b5b4ec15e940b792a6ea ******/ %feature("compactdefaultargs") MaxError; - %feature("autodoc", "Returns the error max of the bsplinesurface of range index. - + %feature("autodoc", " Parameters ---------- Dimension: int Index: int -Returns +Return ------- float + +Description +----------- +returns the error max of the BSplineSurface of range Index. ") MaxError; Standard_Real MaxError(const Standard_Integer Dimension, const Standard_Integer Index); - /****************** NumSubSpaces ******************/ - /**** md5 signature: 1f04f546c1efa091a0725c4b06bc8324 ****/ + /****** AdvApp2Var_ApproxAFunc2Var::NumSubSpaces ******/ + /****** md5 signature: 1f04f546c1efa091a0725c4b06bc8324 ******/ %feature("compactdefaultargs") NumSubSpaces; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Dimension: int -Returns +Return ------- int + +Description +----------- +No available documentation. ") NumSubSpaces; Standard_Integer NumSubSpaces(const Standard_Integer Dimension); - /****************** Surface ******************/ - /**** md5 signature: c06dcd87a2a0e19728e106a09c270879 ****/ + /****** AdvApp2Var_ApproxAFunc2Var::Surface ******/ + /****** md5 signature: c06dcd87a2a0e19728e106a09c270879 ******/ %feature("compactdefaultargs") Surface; - %feature("autodoc", "Returns the bsplinesurface of range index. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- opencascade::handle + +Description +----------- +returns the BSplineSurface of range Index. ") Surface; opencascade::handle Surface(const Standard_Integer Index); - /****************** UDegree ******************/ - /**** md5 signature: f204e5fbf1c49e3d9e4889dfead5a190 ****/ + /****** AdvApp2Var_ApproxAFunc2Var::UDegree ******/ + /****** md5 signature: f204e5fbf1c49e3d9e4889dfead5a190 ******/ %feature("compactdefaultargs") UDegree; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") UDegree; Standard_Integer UDegree(); - /****************** UFrontError ******************/ - /**** md5 signature: 0a65d91af85c1f21c459707f3707a4be ****/ + /****** AdvApp2Var_ApproxAFunc2Var::UFrontError ******/ + /****** md5 signature: 0a65d91af85c1f21c459707f3707a4be ******/ %feature("compactdefaultargs") UFrontError; - %feature("autodoc", "Returns the errors max on ufrontiers warning: dimension must be equal to 3. - + %feature("autodoc", " Parameters ---------- Dimension: int -Returns +Return ------- opencascade::handle + +Description +----------- +returns the errors max on UFrontiers Warning: Dimension must be equal to 3. ") UFrontError; opencascade::handle UFrontError(const Standard_Integer Dimension); - /****************** UFrontError ******************/ - /**** md5 signature: 7013ba67bcdab606aa7a3dff1c57a4d9 ****/ + /****** AdvApp2Var_ApproxAFunc2Var::UFrontError ******/ + /****** md5 signature: 7013ba67bcdab606aa7a3dff1c57a4d9 ******/ %feature("compactdefaultargs") UFrontError; - %feature("autodoc", "Returns the error max of the bsplinesurface of range index on a ufrontier. - + %feature("autodoc", " Parameters ---------- Dimension: int Index: int -Returns +Return ------- float + +Description +----------- +returns the error max of the BSplineSurface of range Index on a UFrontier. ") UFrontError; Standard_Real UFrontError(const Standard_Integer Dimension, const Standard_Integer Index); - /****************** VDegree ******************/ - /**** md5 signature: 4901bdb3b29a5c2410ca93d6a7816f06 ****/ + /****** AdvApp2Var_ApproxAFunc2Var::VDegree ******/ + /****** md5 signature: 4901bdb3b29a5c2410ca93d6a7816f06 ******/ %feature("compactdefaultargs") VDegree; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") VDegree; Standard_Integer VDegree(); - /****************** VFrontError ******************/ - /**** md5 signature: c67297c0cd6479a8b7b6ed44f0b54d22 ****/ + /****** AdvApp2Var_ApproxAFunc2Var::VFrontError ******/ + /****** md5 signature: c67297c0cd6479a8b7b6ed44f0b54d22 ******/ %feature("compactdefaultargs") VFrontError; - %feature("autodoc", "Returns the errors max on vfrontiers warning: dimension must be equal to 3. - + %feature("autodoc", " Parameters ---------- Dimension: int -Returns +Return ------- opencascade::handle + +Description +----------- +returns the errors max on VFrontiers Warning: Dimension must be equal to 3. ") VFrontError; opencascade::handle VFrontError(const Standard_Integer Dimension); - /****************** VFrontError ******************/ - /**** md5 signature: 8dd750790f1ee2230900ab6006316f3f ****/ + /****** AdvApp2Var_ApproxAFunc2Var::VFrontError ******/ + /****** md5 signature: 8dd750790f1ee2230900ab6006316f3f ******/ %feature("compactdefaultargs") VFrontError; - %feature("autodoc", "Returns the error max of the bsplinesurface of range index on a vfrontier. - + %feature("autodoc", " Parameters ---------- Dimension: int Index: int -Returns +Return ------- float + +Description +----------- +returns the error max of the BSplineSurface of range Index on a VFrontier. ") VFrontError; Standard_Real VFrontError(const Standard_Integer Dimension, const Standard_Integer Index); @@ -464,28 +545,30 @@ float *******************************/ class AdvApp2Var_ApproxF2var { public: - /****************** mma1her_ ******************/ - /**** md5 signature: 340a71780d0d59f85eb5ef4e22592c91 ****/ + /****** AdvApp2Var_ApproxF2var::mma1her_ ******/ + /****** md5 signature: 340a71780d0d59f85eb5ef4e22592c91 ******/ %feature("compactdefaultargs") mma1her_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- : integer * : doublereal * : integer * -Returns +Return ------- int + +Description +----------- +No available documentation. ") mma1her_; static int mma1her_(const integer * , doublereal * , integer * ); - /****************** mma2ac1_ ******************/ - /**** md5 signature: 2cb2859fe6a263b9e735e90035090c4d ****/ + /****** AdvApp2Var_ApproxF2var::mma2ac1_ ******/ + /****** md5 signature: 2cb2859fe6a263b9e735e90035090c4d ******/ %feature("compactdefaultargs") mma2ac1_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- : integer * @@ -501,17 +584,20 @@ Parameters : doublereal * : doublereal * -Returns +Return ------- int + +Description +----------- +No available documentation. ") 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_ ******************/ - /**** md5 signature: 3fc501ea89c6f69223da0748a5067c51 ****/ + /****** AdvApp2Var_ApproxF2var::mma2ac2_ ******/ + /****** md5 signature: 3fc501ea89c6f69223da0748a5067c51 ******/ %feature("compactdefaultargs") mma2ac2_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- : integer * @@ -526,17 +612,20 @@ Parameters : doublereal * : doublereal * -Returns +Return ------- int + +Description +----------- +No available documentation. ") 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_ ******************/ - /**** md5 signature: 2014e6f62c9c1b3f4638d01a4d1c8b84 ****/ + /****** AdvApp2Var_ApproxF2var::mma2ac3_ ******/ + /****** md5 signature: 2014e6f62c9c1b3f4638d01a4d1c8b84 ******/ %feature("compactdefaultargs") mma2ac3_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- : integer * @@ -551,17 +640,20 @@ Parameters : doublereal * : doublereal * -Returns +Return ------- int + +Description +----------- +No available documentation. ") 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_ ******************/ - /**** md5 signature: 6567d45f17981e806023a3f3d386ebd4 ****/ + /****** AdvApp2Var_ApproxF2var::mma2can_ ******/ + /****** md5 signature: 6567d45f17981e806023a3f3d386ebd4 ******/ %feature("compactdefaultargs") mma2can_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- : integer * @@ -576,17 +668,20 @@ Parameters : doublereal * : integer * -Returns +Return ------- int + +Description +----------- +No available documentation. ") mma2can_; static int mma2can_(const integer * , const integer * , const integer * , const integer * , const integer * , const integer * , const integer * , const doublereal * , doublereal * , doublereal * , integer * ); - /****************** mma2cdi_ ******************/ - /**** md5 signature: 6822f06275dfe10240eb63f63cb8154a ****/ + /****** AdvApp2Var_ApproxF2var::mma2cdi_ ******/ + /****** md5 signature: 6822f06275dfe10240eb63f63cb8154a ******/ %feature("compactdefaultargs") mma2cdi_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- ndimen: integer * @@ -614,17 +709,20 @@ disotb: doublereal * diditb: doublereal * iercod: integer * -Returns +Return ------- int + +Description +----------- +No available documentation. ") 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_ ******************/ - /**** md5 signature: 425c3d53b101c9c0f002c96ad41e6fc3 ****/ + /****** AdvApp2Var_ApproxF2var::mma2ce1_ ******/ + /****** md5 signature: 425c3d53b101c9c0f002c96ad41e6fc3 ******/ %feature("compactdefaultargs") mma2ce1_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- numdec: integer * @@ -654,17 +752,20 @@ ndegpv: integer * itydec: integer * iercod: integer * -Returns +Return ------- int + +Description +----------- +No available documentation. ") 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); - /****************** mma2ds1_ ******************/ - /**** md5 signature: a21bcf00d7cc3ec0c2e76dc7755429fe ****/ + /****** AdvApp2Var_ApproxF2var::mma2ds1_ ******/ + /****** md5 signature: a21bcf00d7cc3ec0c2e76dc7755429fe ******/ %feature("compactdefaultargs") mma2ds1_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- ndimen: integer * @@ -684,17 +785,20 @@ fpntab: doublereal * ttable: doublereal * iercod: integer * -Returns +Return ------- int + +Description +----------- +No available documentation. ") 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_ ******************/ - /**** md5 signature: 18763f0e21666ad6ab99c64fb6dbb75d ****/ + /****** AdvApp2Var_ApproxF2var::mma2fnc_ ******/ + /****** md5 signature: 18763f0e21666ad6ab99c64fb6dbb75d ******/ %feature("compactdefaultargs") mma2fnc_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- ndimen: integer * @@ -724,17 +828,20 @@ errmax: doublereal * errmoy: doublereal * iercod: integer * -Returns +Return ------- int + +Description +----------- +No available documentation. ") 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_ ******************/ - /**** md5 signature: 3e9466bd52c1a918c5d9e90482550972 ****/ + /****** AdvApp2Var_ApproxF2var::mma2fx6_ ******/ + /****** md5 signature: 3e9466bd52c1a918c5d9e90482550972 ******/ %feature("compactdefaultargs") mma2fx6_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- ncfmxu: integer * @@ -753,34 +860,40 @@ errmax: doublereal * ncoefu: integer * ncoefv: integer * -Returns +Return ------- int + +Description +----------- +No available documentation. ") 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_ ******************/ - /**** md5 signature: 1d8a613ee6223c570e2deac14273a3d7 ****/ + /****** AdvApp2Var_ApproxF2var::mma2jmx_ ******/ + /****** md5 signature: 1d8a613ee6223c570e2deac14273a3d7 ******/ %feature("compactdefaultargs") mma2jmx_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- ndgjac: integer * iordre: integer * xjacmx: doublereal * -Returns +Return ------- int + +Description +----------- +No available documentation. ") mma2jmx_; static int mma2jmx_(integer * ndgjac, integer * iordre, doublereal * xjacmx); - /****************** mma2roo_ ******************/ - /**** md5 signature: 2b9206bd8c653739680ae42d9246a3e2 ****/ + /****** AdvApp2Var_ApproxF2var::mma2roo_ ******/ + /****** md5 signature: 2b9206bd8c653739680ae42d9246a3e2 ******/ %feature("compactdefaultargs") mma2roo_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- nbpntu: integer * @@ -788,17 +901,20 @@ nbpntv: integer * urootl: doublereal * vrootl: doublereal * -Returns +Return ------- int + +Description +----------- +No available documentation. ") mma2roo_; static int mma2roo_(integer * nbpntu, integer * nbpntv, doublereal * urootl, doublereal * vrootl); - /****************** mmapptt_ ******************/ - /**** md5 signature: df26bb1629da819cc478cf38ae76a65b ****/ + /****** AdvApp2Var_ApproxF2var::mmapptt_ ******/ + /****** md5 signature: df26bb1629da819cc478cf38ae76a65b ******/ %feature("compactdefaultargs") mmapptt_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- : integer * @@ -807,9 +923,13 @@ Parameters : doublereal * : integer * -Returns +Return ------- int + +Description +----------- +No available documentation. ") mmapptt_; static int mmapptt_(const integer * , const integer * , const integer * , doublereal * , integer * ); @@ -827,22 +947,23 @@ int ***************************/ class AdvApp2Var_Context { public: - /****************** AdvApp2Var_Context ******************/ - /**** md5 signature: cc918e3d6337a3e3d6fef3c7fa6e90a5 ****/ + /****** AdvApp2Var_Context::AdvApp2Var_Context ******/ + /****** md5 signature: cc918e3d6337a3e3d6fef3c7fa6e90a5 ******/ %feature("compactdefaultargs") AdvApp2Var_Context; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") AdvApp2Var_Context; AdvApp2Var_Context(); - /****************** AdvApp2Var_Context ******************/ - /**** md5 signature: 21cd87756d9328ae205fa641ee18a3e8 ****/ + /****** AdvApp2Var_Context::AdvApp2Var_Context ******/ + /****** md5 signature: 21cd87756d9328ae205fa641ee18a3e8 ******/ %feature("compactdefaultargs") AdvApp2Var_Context; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- ifav: int @@ -861,207 +982,247 @@ tof1D: TColStd_HArray2OfReal tof2D: TColStd_HArray2OfReal tof3D: TColStd_HArray2OfReal -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: 24bd3fb0eebd880254f8ac1ee89f8d89 ****/ + /****** AdvApp2Var_Context::CToler ******/ + /****** md5 signature: 24bd3fb0eebd880254f8ac1ee89f8d89 ******/ %feature("compactdefaultargs") CToler; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") CToler; opencascade::handle CToler(); - /****************** FToler ******************/ - /**** md5 signature: d5ab5676361cb292c8f03db44e65e0b8 ****/ + /****** AdvApp2Var_Context::FToler ******/ + /****** md5 signature: d5ab5676361cb292c8f03db44e65e0b8 ******/ %feature("compactdefaultargs") FToler; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") FToler; opencascade::handle FToler(); - /****************** FavorIso ******************/ - /**** md5 signature: c6d174e38329c613da300ca8a0f5d50f ****/ + /****** AdvApp2Var_Context::FavorIso ******/ + /****** md5 signature: c6d174e38329c613da300ca8a0f5d50f ******/ %feature("compactdefaultargs") FavorIso; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") FavorIso; Standard_Integer FavorIso(); - /****************** IToler ******************/ - /**** md5 signature: 2d6a816890d9a18a597840c55f73f6fb ****/ + /****** AdvApp2Var_Context::IToler ******/ + /****** md5 signature: 2d6a816890d9a18a597840c55f73f6fb ******/ %feature("compactdefaultargs") IToler; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") IToler; opencascade::handle IToler(); - /****************** TotalDimension ******************/ - /**** md5 signature: f052f99d2f000729ae53d6c6fee257cf ****/ + /****** AdvApp2Var_Context::TotalDimension ******/ + /****** md5 signature: f052f99d2f000729ae53d6c6fee257cf ******/ %feature("compactdefaultargs") TotalDimension; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") TotalDimension; Standard_Integer TotalDimension(); - /****************** TotalNumberSSP ******************/ - /**** md5 signature: faf2dd9e8595d670d21dc10f3c6a6913 ****/ + /****** AdvApp2Var_Context::TotalNumberSSP ******/ + /****** md5 signature: faf2dd9e8595d670d21dc10f3c6a6913 ******/ %feature("compactdefaultargs") TotalNumberSSP; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") TotalNumberSSP; Standard_Integer TotalNumberSSP(); - /****************** UGauss ******************/ - /**** md5 signature: 9a6b5ace3b55823419bfede442d992cd ****/ + /****** AdvApp2Var_Context::UGauss ******/ + /****** md5 signature: 9a6b5ace3b55823419bfede442d992cd ******/ %feature("compactdefaultargs") UGauss; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") UGauss; opencascade::handle UGauss(); - /****************** UJacDeg ******************/ - /**** md5 signature: 8044fad5cd7721e5b1833954c8c1f64c ****/ + /****** AdvApp2Var_Context::UJacDeg ******/ + /****** md5 signature: 8044fad5cd7721e5b1833954c8c1f64c ******/ %feature("compactdefaultargs") UJacDeg; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") UJacDeg; Standard_Integer UJacDeg(); - /****************** UJacMax ******************/ - /**** md5 signature: c8c8acc46da154a394ae1ee532d52d75 ****/ + /****** AdvApp2Var_Context::UJacMax ******/ + /****** md5 signature: c8c8acc46da154a394ae1ee532d52d75 ******/ %feature("compactdefaultargs") UJacMax; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") UJacMax; opencascade::handle UJacMax(); - /****************** ULimit ******************/ - /**** md5 signature: 43d12bdc3dda11b989b8554e085d81f0 ****/ + /****** AdvApp2Var_Context::ULimit ******/ + /****** md5 signature: 43d12bdc3dda11b989b8554e085d81f0 ******/ %feature("compactdefaultargs") ULimit; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") ULimit; Standard_Integer ULimit(); - /****************** UOrder ******************/ - /**** md5 signature: 3bb505464047fef2900b8b2c2896c41e ****/ + /****** AdvApp2Var_Context::UOrder ******/ + /****** md5 signature: 3bb505464047fef2900b8b2c2896c41e ******/ %feature("compactdefaultargs") UOrder; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") UOrder; Standard_Integer UOrder(); - /****************** URoots ******************/ - /**** md5 signature: 4c908ffe6bc2d725142f172a06cf0c1a ****/ + /****** AdvApp2Var_Context::URoots ******/ + /****** md5 signature: 4c908ffe6bc2d725142f172a06cf0c1a ******/ %feature("compactdefaultargs") URoots; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") URoots; opencascade::handle URoots(); - /****************** VGauss ******************/ - /**** md5 signature: 66196d55762d9b1232b870bb36f21d59 ****/ + /****** AdvApp2Var_Context::VGauss ******/ + /****** md5 signature: 66196d55762d9b1232b870bb36f21d59 ******/ %feature("compactdefaultargs") VGauss; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") VGauss; opencascade::handle VGauss(); - /****************** VJacDeg ******************/ - /**** md5 signature: f9bfee79cd23f4af3716e80cf6ddba4a ****/ + /****** AdvApp2Var_Context::VJacDeg ******/ + /****** md5 signature: f9bfee79cd23f4af3716e80cf6ddba4a ******/ %feature("compactdefaultargs") VJacDeg; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") VJacDeg; Standard_Integer VJacDeg(); - /****************** VJacMax ******************/ - /**** md5 signature: 78706a3e7697c048821f62c71af456df ****/ + /****** AdvApp2Var_Context::VJacMax ******/ + /****** md5 signature: 78706a3e7697c048821f62c71af456df ******/ %feature("compactdefaultargs") VJacMax; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") VJacMax; opencascade::handle VJacMax(); - /****************** VLimit ******************/ - /**** md5 signature: e8accebaf43ffe9314093c4a788410d4 ****/ + /****** AdvApp2Var_Context::VLimit ******/ + /****** md5 signature: e8accebaf43ffe9314093c4a788410d4 ******/ %feature("compactdefaultargs") VLimit; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") VLimit; Standard_Integer VLimit(); - /****************** VOrder ******************/ - /**** md5 signature: 704529177e651451c5029c517db99652 ****/ + /****** AdvApp2Var_Context::VOrder ******/ + /****** md5 signature: 704529177e651451c5029c517db99652 ******/ %feature("compactdefaultargs") VOrder; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") VOrder; Standard_Integer VOrder(); - /****************** VRoots ******************/ - /**** md5 signature: 54311a504719af5252d92bb212279e0e ****/ + /****** AdvApp2Var_Context::VRoots ******/ + /****** md5 signature: 54311a504719af5252d92bb212279e0e ******/ %feature("compactdefaultargs") VRoots; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") VRoots; opencascade::handle VRoots(); @@ -1080,67 +1241,79 @@ opencascade::handle %nodefaultctor AdvApp2Var_Criterion; class AdvApp2Var_Criterion { public: - /****************** IsSatisfied ******************/ - /**** md5 signature: 628e527776d280624d73fc40a69ddb25 ****/ + /****** AdvApp2Var_Criterion::IsSatisfied ******/ + /****** md5 signature: 628e527776d280624d73fc40a69ddb25 ******/ %feature("compactdefaultargs") IsSatisfied; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P: AdvApp2Var_Patch -Returns +Return ------- bool + +Description +----------- +No available documentation. ") IsSatisfied; virtual Standard_Boolean IsSatisfied(const AdvApp2Var_Patch & P); - /****************** MaxValue ******************/ - /**** md5 signature: 90bad7204548ba76bfdb4dc2b65fa9de ****/ + /****** AdvApp2Var_Criterion::MaxValue ******/ + /****** md5 signature: 90bad7204548ba76bfdb4dc2b65fa9de ******/ %feature("compactdefaultargs") MaxValue; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") MaxValue; Standard_Real MaxValue(); - /****************** Repartition ******************/ - /**** md5 signature: cff4f841f0657cd7a89a6b578a81602b ****/ + /****** AdvApp2Var_Criterion::Repartition ******/ + /****** md5 signature: cff4f841f0657cd7a89a6b578a81602b ******/ %feature("compactdefaultargs") Repartition; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- AdvApp2Var_CriterionRepartition + +Description +----------- +No available documentation. ") Repartition; AdvApp2Var_CriterionRepartition Repartition(); - /****************** Type ******************/ - /**** md5 signature: 1b9684751cac1e3e89787b772495a1ed ****/ + /****** AdvApp2Var_Criterion::Type ******/ + /****** md5 signature: 1b9684751cac1e3e89787b772495a1ed ******/ %feature("compactdefaultargs") Type; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- AdvApp2Var_CriterionType + +Description +----------- +No available documentation. ") Type; AdvApp2Var_CriterionType Type(); - /****************** Value ******************/ - /**** md5 signature: bd5a3e3cc8b366204940110914f05bd9 ****/ + /****** AdvApp2Var_Criterion::Value ******/ + /****** md5 signature: bd5a3e3cc8b366204940110914f05bd9 ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P: AdvApp2Var_Patch C: AdvApp2Var_Context -Returns +Return ------- None + +Description +----------- +No available documentation. ") Value; virtual void Value(AdvApp2Var_Patch & P, const AdvApp2Var_Context & C); @@ -1158,124 +1331,146 @@ None ************************/ class AdvApp2Var_Data { public: - /****************** Getmaovpar ******************/ - /**** md5 signature: 8be6c57b8566deaa01e416a23bd10998 ****/ + /****** AdvApp2Var_Data::Getmaovpar ******/ + /****** md5 signature: 8be6c57b8566deaa01e416a23bd10998 ******/ %feature("compactdefaultargs") Getmaovpar; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- maovpar_1_ + +Description +----------- +No available documentation. ") Getmaovpar; static maovpar_1_ & Getmaovpar(); - /****************** Getmaovpch ******************/ - /**** md5 signature: 334543f940b9215443e5709331588bab ****/ + /****** AdvApp2Var_Data::Getmaovpch ******/ + /****** md5 signature: 334543f940b9215443e5709331588bab ******/ %feature("compactdefaultargs") Getmaovpch; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- maovpch_1_ + +Description +----------- +No available documentation. ") Getmaovpch; static maovpch_1_ & Getmaovpch(); - /****************** Getmdnombr ******************/ - /**** md5 signature: ac61a22aa001b1c0a5ee35b5c3602fd3 ****/ + /****** AdvApp2Var_Data::Getmdnombr ******/ + /****** md5 signature: ac61a22aa001b1c0a5ee35b5c3602fd3 ******/ %feature("compactdefaultargs") Getmdnombr; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- mdnombr_1_ + +Description +----------- +No available documentation. ") Getmdnombr; static mdnombr_1_ & Getmdnombr(); - /****************** Getminombr ******************/ - /**** md5 signature: e8d64195164353bb0d45e76471e1c166 ****/ + /****** AdvApp2Var_Data::Getminombr ******/ + /****** md5 signature: e8d64195164353bb0d45e76471e1c166 ******/ %feature("compactdefaultargs") Getminombr; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- minombr_1_ + +Description +----------- +No available documentation. ") Getminombr; static minombr_1_ & Getminombr(); - /****************** Getmlgdrtl ******************/ - /**** md5 signature: 91d40b6c00de974dbdc2bb896a280dcf ****/ + /****** AdvApp2Var_Data::Getmlgdrtl ******/ + /****** md5 signature: 91d40b6c00de974dbdc2bb896a280dcf ******/ %feature("compactdefaultargs") Getmlgdrtl; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- mlgdrtl_1_ + +Description +----------- +No available documentation. ") Getmlgdrtl; static mlgdrtl_1_ & Getmlgdrtl(); - /****************** Getmmapgs0 ******************/ - /**** md5 signature: 79c6c799aa3e3857c5cf09c5affb7c09 ****/ + /****** AdvApp2Var_Data::Getmmapgs0 ******/ + /****** md5 signature: 79c6c799aa3e3857c5cf09c5affb7c09 ******/ %feature("compactdefaultargs") Getmmapgs0; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- mmapgs0_1_ + +Description +----------- +No available documentation. ") Getmmapgs0; static mmapgs0_1_ & Getmmapgs0(); - /****************** Getmmapgs1 ******************/ - /**** md5 signature: 421c69fcd1506661b0c60d98977952bb ****/ + /****** AdvApp2Var_Data::Getmmapgs1 ******/ + /****** md5 signature: 421c69fcd1506661b0c60d98977952bb ******/ %feature("compactdefaultargs") Getmmapgs1; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- mmapgs1_1_ + +Description +----------- +No available documentation. ") Getmmapgs1; static mmapgs1_1_ & Getmmapgs1(); - /****************** Getmmapgs2 ******************/ - /**** md5 signature: cd17b54466c50e23724fb4ca4086c700 ****/ + /****** AdvApp2Var_Data::Getmmapgs2 ******/ + /****** md5 signature: cd17b54466c50e23724fb4ca4086c700 ******/ %feature("compactdefaultargs") Getmmapgs2; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- mmapgs2_1_ + +Description +----------- +No available documentation. ") Getmmapgs2; static mmapgs2_1_ & Getmmapgs2(); - /****************** Getmmapgss ******************/ - /**** md5 signature: 2da5fe3a3d53bfd1ed26a2f7054305e0 ****/ + /****** AdvApp2Var_Data::Getmmapgss ******/ + /****** md5 signature: 2da5fe3a3d53bfd1ed26a2f7054305e0 ******/ %feature("compactdefaultargs") Getmmapgss; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- mmapgss_1_ + +Description +----------- +No available documentation. ") Getmmapgss; static mmapgss_1_ & Getmmapgss(); - /****************** Getmmcmcnp ******************/ - /**** md5 signature: 7d0b6ef51dfee2c7e36ff733bfb092f1 ****/ + /****** AdvApp2Var_Data::Getmmcmcnp ******/ + /****** md5 signature: 7d0b6ef51dfee2c7e36ff733bfb092f1 ******/ %feature("compactdefaultargs") Getmmcmcnp; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- mmcmcnp_1_ + +Description +----------- +No available documentation. ") Getmmcmcnp; static mmcmcnp_1_ & Getmmcmcnp(); - /****************** Getmmjcobi ******************/ - /**** md5 signature: 17e6be3fe538455810b1d4b422cf768d ****/ + /****** AdvApp2Var_Data::Getmmjcobi ******/ + /****** md5 signature: 17e6be3fe538455810b1d4b422cf768d ******/ %feature("compactdefaultargs") Getmmjcobi; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- mmjcobi_1_ + +Description +----------- +No available documentation. ") Getmmjcobi; static mmjcobi_1_ & Getmmjcobi(); @@ -1296,224 +1491,265 @@ mmjcobi_1_ *****************************/ class AdvApp2Var_Framework { public: - /****************** AdvApp2Var_Framework ******************/ - /**** md5 signature: 818737758a4dfd25fda3f71a4e5485ad ****/ + /****** AdvApp2Var_Framework::AdvApp2Var_Framework ******/ + /****** md5 signature: 818737758a4dfd25fda3f71a4e5485ad ******/ %feature("compactdefaultargs") AdvApp2Var_Framework; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") AdvApp2Var_Framework; AdvApp2Var_Framework(); - /****************** AdvApp2Var_Framework ******************/ - /**** md5 signature: 960e0b78689457d0b96130210d6b1b29 ****/ + /****** AdvApp2Var_Framework::AdvApp2Var_Framework ******/ + /****** md5 signature: 960e0b78689457d0b96130210d6b1b29 ******/ %feature("compactdefaultargs") AdvApp2Var_Framework; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Frame: AdvApp2Var_SequenceOfNode UFrontier: AdvApp2Var_SequenceOfStrip VFrontier: AdvApp2Var_SequenceOfStrip -Returns +Return ------- None + +Description +----------- +No available documentation. ") AdvApp2Var_Framework; AdvApp2Var_Framework(const AdvApp2Var_SequenceOfNode & Frame, const AdvApp2Var_SequenceOfStrip & UFrontier, const AdvApp2Var_SequenceOfStrip & VFrontier); - /****************** ChangeIso ******************/ - /**** md5 signature: 3fec201f44a8293dfa569255b6814bbb ****/ + /****** AdvApp2Var_Framework::ChangeIso ******/ + /****** md5 signature: 3fec201f44a8293dfa569255b6814bbb ******/ %feature("compactdefaultargs") ChangeIso; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- IndexIso: int IndexStrip: int anIso: AdvApp2Var_Iso -Returns +Return ------- None + +Description +----------- +No available documentation. ") ChangeIso; void ChangeIso(const Standard_Integer IndexIso, const Standard_Integer IndexStrip, const opencascade::handle & anIso); - /****************** FirstNode ******************/ - /**** md5 signature: 7e2537d33d03d4ae88afbab57eff7727 ****/ + /****** AdvApp2Var_Framework::FirstNode ******/ + /****** md5 signature: 7e2537d33d03d4ae88afbab57eff7727 ******/ %feature("compactdefaultargs") FirstNode; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Type: GeomAbs_IsoType IndexIso: int IndexStrip: int -Returns +Return ------- int + +Description +----------- +No available documentation. ") FirstNode; Standard_Integer FirstNode(const GeomAbs_IsoType Type, const Standard_Integer IndexIso, const Standard_Integer IndexStrip); - /****************** FirstNotApprox ******************/ - /**** md5 signature: 227783178d7bb021aee9bed3eb70dd7f ****/ + /****** AdvApp2Var_Framework::FirstNotApprox ******/ + /****** md5 signature: 227783178d7bb021aee9bed3eb70dd7f ******/ %feature("compactdefaultargs") FirstNotApprox; - %feature("autodoc", "Search the index of the first iso not approximated, if all isos are approximated null is returned. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- IndexIso: int IndexStrip: int + +Description +----------- +search the Index of the first Iso not approximated, if all Isos are approximated NULL is returned. ") FirstNotApprox; opencascade::handle FirstNotApprox(Standard_Integer &OutValue, Standard_Integer &OutValue); - /****************** IsoU ******************/ - /**** md5 signature: e9d88953cce2797fb11a4e1b24499c34 ****/ + /****** AdvApp2Var_Framework::IsoU ******/ + /****** md5 signature: e9d88953cce2797fb11a4e1b24499c34 ******/ %feature("compactdefaultargs") IsoU; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- U: float V0: float V1: float -Returns +Return ------- AdvApp2Var_Iso + +Description +----------- +No available documentation. ") IsoU; const AdvApp2Var_Iso & IsoU(const Standard_Real U, const Standard_Real V0, const Standard_Real V1); - /****************** IsoV ******************/ - /**** md5 signature: 359e34e6c22686add688faaa999793c8 ****/ + /****** AdvApp2Var_Framework::IsoV ******/ + /****** md5 signature: 359e34e6c22686add688faaa999793c8 ******/ %feature("compactdefaultargs") IsoV; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- U0: float U1: float V: float -Returns +Return ------- AdvApp2Var_Iso + +Description +----------- +No available documentation. ") IsoV; const AdvApp2Var_Iso & IsoV(const Standard_Real U0, const Standard_Real U1, const Standard_Real V); - /****************** LastNode ******************/ - /**** md5 signature: c5ec3a09215187eaa4100a7b4686bdb3 ****/ + /****** AdvApp2Var_Framework::LastNode ******/ + /****** md5 signature: c5ec3a09215187eaa4100a7b4686bdb3 ******/ %feature("compactdefaultargs") LastNode; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Type: GeomAbs_IsoType IndexIso: int IndexStrip: int -Returns +Return ------- int + +Description +----------- +No available documentation. ") LastNode; Standard_Integer LastNode(const GeomAbs_IsoType Type, const Standard_Integer IndexIso, const Standard_Integer IndexStrip); - /****************** Node ******************/ - /**** md5 signature: 1d29de45887544e302e72092c1d86599 ****/ + /****** AdvApp2Var_Framework::Node ******/ + /****** md5 signature: 1d29de45887544e302e72092c1d86599 ******/ %feature("compactdefaultargs") Node; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- IndexNode: int -Returns +Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Node; const opencascade::handle & Node(const Standard_Integer IndexNode); - /****************** Node ******************/ - /**** md5 signature: c9d756687d8ab078da4b83b35aee2845 ****/ + /****** AdvApp2Var_Framework::Node ******/ + /****** md5 signature: c9d756687d8ab078da4b83b35aee2845 ******/ %feature("compactdefaultargs") Node; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- U: float V: float -Returns +Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Node; const opencascade::handle & Node(const Standard_Real U, const Standard_Real V); - /****************** UEquation ******************/ - /**** md5 signature: eae095443123601e82f5e427f107c558 ****/ + /****** AdvApp2Var_Framework::UEquation ******/ + /****** md5 signature: eae095443123601e82f5e427f107c558 ******/ %feature("compactdefaultargs") UEquation; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- IndexIso: int IndexStrip: int -Returns +Return ------- opencascade::handle + +Description +----------- +No available documentation. ") UEquation; const opencascade::handle & UEquation(const Standard_Integer IndexIso, const Standard_Integer IndexStrip); - /****************** UpdateInU ******************/ - /**** md5 signature: 6ceeb1ee9354cac6afc634b1d9c74e7c ****/ + /****** AdvApp2Var_Framework::UpdateInU ******/ + /****** md5 signature: 6ceeb1ee9354cac6afc634b1d9c74e7c ******/ %feature("compactdefaultargs") UpdateInU; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- CuttingValue: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") UpdateInU; void UpdateInU(const Standard_Real CuttingValue); - /****************** UpdateInV ******************/ - /**** md5 signature: c0f8535993a7fefff54e4fb95c170b72 ****/ + /****** AdvApp2Var_Framework::UpdateInV ******/ + /****** md5 signature: c0f8535993a7fefff54e4fb95c170b72 ******/ %feature("compactdefaultargs") UpdateInV; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- CuttingValue: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") UpdateInV; void UpdateInV(const Standard_Real CuttingValue); - /****************** VEquation ******************/ - /**** md5 signature: b409a4641e852e2861825c39dc2922c1 ****/ + /****** AdvApp2Var_Framework::VEquation ******/ + /****** md5 signature: b409a4641e852e2861825c39dc2922c1 ******/ %feature("compactdefaultargs") VEquation; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- IndexIso: int IndexStrip: int -Returns +Return ------- opencascade::handle + +Description +----------- +No available documentation. ") VEquation; const opencascade::handle & VEquation(const Standard_Integer IndexIso, const Standard_Integer IndexStrip); @@ -1534,11 +1770,10 @@ opencascade::handle ****************************/ class AdvApp2Var_MathBase { public: - /****************** mdsptpt_ ******************/ - /**** md5 signature: d0cc0c7502e5928d82f8b656b6dd1fa0 ****/ + /****** AdvApp2Var_MathBase::mdsptpt_ ******/ + /****** md5 signature: d0cc0c7502e5928d82f8b656b6dd1fa0 ******/ %feature("compactdefaultargs") mdsptpt_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- ndimen: integer * @@ -1546,17 +1781,20 @@ point1: doublereal * point2: doublereal * distan: doublereal * -Returns +Return ------- int + +Description +----------- +No available documentation. ") mdsptpt_; static int mdsptpt_(integer * ndimen, doublereal * point1, doublereal * point2, doublereal * distan); - /****************** mmapcmp_ ******************/ - /**** md5 signature: ddc220b71480aa8b72622753a27c1a08 ****/ + /****** AdvApp2Var_MathBase::mmapcmp_ ******/ + /****** md5 signature: ddc220b71480aa8b72622753a27c1a08 ******/ %feature("compactdefaultargs") mmapcmp_; - %feature("autodoc", "///. - + %feature("autodoc", " Parameters ---------- : integer * @@ -1565,17 +1803,20 @@ Parameters : double * : double * -Returns +Return ------- int + +Description +----------- +No available documentation. ") mmapcmp_; static int mmapcmp_(integer * , integer * , integer * , double * , double * ); - /****************** mmaperx_ ******************/ - /**** md5 signature: 3e2559039cb3bda8c6d64ac866023ed5 ****/ + /****** AdvApp2Var_MathBase::mmaperx_ ******/ + /****** md5 signature: 3e2559039cb3bda8c6d64ac866023ed5 ******/ %feature("compactdefaultargs") mmaperx_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- ncofmx: integer * @@ -1588,17 +1829,20 @@ ycvmax: doublereal * errmax: doublereal * iercod: integer * -Returns +Return ------- int + +Description +----------- +No available documentation. ") mmaperx_; static int mmaperx_(integer * ncofmx, integer * ndimen, integer * ncoeff, integer * iordre, doublereal * crvjac, integer * ncfnew, doublereal * ycvmax, doublereal * errmax, integer * iercod); - /****************** mmarcin_ ******************/ - /**** md5 signature: c26a2d31e50b2e630a193421191f8420 ****/ + /****** AdvApp2Var_MathBase::mmarcin_ ******/ + /****** md5 signature: c26a2d31e50b2e630a193421191f8420 ******/ %feature("compactdefaultargs") mmarcin_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- ndimax: integer * @@ -1610,17 +1854,20 @@ u1: doublereal * crvnew: doublereal * iercod: integer * -Returns +Return ------- int + +Description +----------- +No available documentation. ") mmarcin_; static int mmarcin_(integer * ndimax, integer * ndim, integer * ncoeff, doublereal * crvold, doublereal * u0, doublereal * u1, doublereal * crvnew, integer * iercod); - /****************** mmbulld_ ******************/ - /**** md5 signature: a6e5ee873b96338395e569d9e9188ef2 ****/ + /****** AdvApp2Var_MathBase::mmbulld_ ******/ + /****** md5 signature: a6e5ee873b96338395e569d9e9188ef2 ******/ %feature("compactdefaultargs") mmbulld_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- nbcoln: integer * @@ -1628,17 +1875,20 @@ nblign: integer * dtabtr: doublereal * numcle: integer * -Returns +Return ------- int + +Description +----------- +No available documentation. ") mmbulld_; static int mmbulld_(integer * nbcoln, integer * nblign, doublereal * dtabtr, integer * numcle); - /****************** mmcdriv_ ******************/ - /**** md5 signature: 44a825407cbe882facc2d5a6e2edfbbd ****/ + /****** AdvApp2Var_MathBase::mmcdriv_ ******/ + /****** md5 signature: 44a825407cbe882facc2d5a6e2edfbbd ******/ %feature("compactdefaultargs") mmcdriv_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- ndimen: integer * @@ -1648,17 +1898,20 @@ ideriv: integer * ncofdv: integer * crvdrv: doublereal * -Returns +Return ------- int + +Description +----------- +No available documentation. ") mmcdriv_; static int mmcdriv_(integer * ndimen, integer * ncoeff, doublereal * courbe, integer * ideriv, integer * ncofdv, doublereal * crvdrv); - /****************** mmcglc1_ ******************/ - /**** md5 signature: 1ced960f022f6bb9a52d4739071f227c ****/ + /****** AdvApp2Var_MathBase::mmcglc1_ ******/ + /****** md5 signature: 1ced960f022f6bb9a52d4739071f227c ******/ %feature("compactdefaultargs") mmcglc1_; - %feature("autodoc", "///. - + %feature("autodoc", " Parameters ---------- ndimax: integer * @@ -1672,17 +1925,20 @@ xlongc: doublereal * erreur: doublereal * iercod: integer * -Returns +Return ------- int + +Description +----------- +No available documentation. ") 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_ ******************/ - /**** md5 signature: 5f90652ee7a4410f4c19f327eeb75459 ****/ + /****** AdvApp2Var_MathBase::mmcvctx_ ******/ + /****** md5 signature: 5f90652ee7a4410f4c19f327eeb75459 ******/ %feature("compactdefaultargs") mmcvctx_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- ndimen: integer * @@ -1694,17 +1950,20 @@ tabaux: doublereal * xmatri: doublereal * iercod: integer * -Returns +Return ------- int + +Description +----------- +No available documentation. ") mmcvctx_; static int mmcvctx_(integer * ndimen, integer * ncofmx, integer * nderiv, doublereal * ctrtes, doublereal * crvres, doublereal * tabaux, doublereal * xmatri, integer * iercod); - /****************** mmcvinv_ ******************/ - /**** md5 signature: d83fa9f36dfce85985ef06a9963e1c45 ****/ + /****** AdvApp2Var_MathBase::mmcvinv_ ******/ + /****** md5 signature: d83fa9f36dfce85985ef06a9963e1c45 ******/ %feature("compactdefaultargs") mmcvinv_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- ndimax: integer * @@ -1713,17 +1972,20 @@ ndim: integer * curveo: doublereal * curve: doublereal * -Returns +Return ------- int + +Description +----------- +No available documentation. ") mmcvinv_; static int mmcvinv_(integer * ndimax, integer * ncoef, integer * ndim, doublereal * curveo, doublereal * curve); - /****************** mmdrc11_ ******************/ - /**** md5 signature: a28ee8f5001caafb97564920bd3ce882 ****/ + /****** AdvApp2Var_MathBase::mmdrc11_ ******/ + /****** md5 signature: a28ee8f5001caafb97564920bd3ce882 ******/ %feature("compactdefaultargs") mmdrc11_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- : integer * @@ -1733,17 +1995,20 @@ Parameters : doublereal * : doublereal * -Returns +Return ------- int + +Description +----------- +No available documentation. ") mmdrc11_; static int mmdrc11_(integer * , integer * , integer * , doublereal * , doublereal * , doublereal * ); - /****************** mmdrvck_ ******************/ - /**** md5 signature: 525722fedd3aebf005d25056187dddf4 ****/ + /****** AdvApp2Var_MathBase::mmdrvck_ ******/ + /****** md5 signature: 525722fedd3aebf005d25056187dddf4 ******/ %feature("compactdefaultargs") mmdrvck_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- ncoeff: integer * @@ -1753,32 +2018,38 @@ ideriv: integer * tparam: doublereal * pntcrb: doublereal * -Returns +Return ------- int + +Description +----------- +No available documentation. ") mmdrvck_; static int mmdrvck_(integer * ncoeff, integer * ndimen, doublereal * courbe, integer * ideriv, doublereal * tparam, doublereal * pntcrb); - /****************** mmeps1_ ******************/ - /**** md5 signature: ab904ccf5f764d7370e8f091a5379338 ****/ + /****** AdvApp2Var_MathBase::mmeps1_ ******/ + /****** md5 signature: ab904ccf5f764d7370e8f091a5379338 ******/ %feature("compactdefaultargs") mmeps1_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- epsilo: doublereal * -Returns +Return ------- int + +Description +----------- +No available documentation. ") mmeps1_; static int mmeps1_(doublereal * epsilo); - /****************** mmfmca8_ ******************/ - /**** md5 signature: c9877e732829f9386b22d78cdded7be7 ****/ + /****** AdvApp2Var_MathBase::mmfmca8_ ******/ + /****** md5 signature: c9877e732829f9386b22d78cdded7be7 ******/ %feature("compactdefaultargs") mmfmca8_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- ndimen: integer * @@ -1790,17 +2061,20 @@ ncfvmx: integer * tabini: doublereal * tabres: doublereal * -Returns +Return ------- int + +Description +----------- +No available documentation. ") 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_ ******************/ - /**** md5 signature: cdef922fdd9cca02e97d563176bdee76 ****/ + /****** AdvApp2Var_MathBase::mmfmca9_ ******/ + /****** md5 signature: cdef922fdd9cca02e97d563176bdee76 ******/ %feature("compactdefaultargs") mmfmca9_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- : integer * @@ -1812,17 +2086,20 @@ Parameters : doublereal * : doublereal * -Returns +Return ------- int + +Description +----------- +No available documentation. ") mmfmca9_; static int mmfmca9_(integer * , integer * , integer * , integer * , integer * , integer * , doublereal * , doublereal * ); - /****************** mmfmcar_ ******************/ - /**** md5 signature: 2f3d1dabb652936348dd204ce98331a8 ****/ + /****** AdvApp2Var_MathBase::mmfmcar_ ******/ + /****** md5 signature: 2f3d1dabb652936348dd204ce98331a8 ******/ %feature("compactdefaultargs") mmfmcar_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- ndimen: integer * @@ -1837,17 +2114,20 @@ vpara2: doublereal * patnew: doublereal * iercod: integer * -Returns +Return ------- int + +Description +----------- +No available documentation. ") 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_ ******************/ - /**** md5 signature: 56a81c8b6cc564145902ada0223ca749 ****/ + /****** AdvApp2Var_MathBase::mmfmcb5_ ******/ + /****** md5 signature: 56a81c8b6cc564145902ada0223ca749 ******/ %feature("compactdefaultargs") mmfmcb5_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- : integer * @@ -1860,17 +2140,20 @@ Parameters : doublereal * : integer * -Returns +Return ------- int + +Description +----------- +No available documentation. ") mmfmcb5_; static int mmfmcb5_(integer * , integer * , integer * , doublereal * , integer * , integer * , integer * , doublereal * , integer * ); - /****************** mmfmtb1_ ******************/ - /**** md5 signature: 8a4ac823cf2bfaa5d0b3a5b23ce64fec ****/ + /****** AdvApp2Var_MathBase::mmfmtb1_ ******/ + /****** md5 signature: 8a4ac823cf2bfaa5d0b3a5b23ce64fec ******/ %feature("compactdefaultargs") mmfmtb1_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- maxsz1: integer * @@ -1883,17 +2166,20 @@ isize2: integer * jsize2: integer * iercod: integer * -Returns +Return ------- int + +Description +----------- +No available documentation. ") mmfmtb1_; static int mmfmtb1_(integer * maxsz1, doublereal * table1, integer * isize1, integer * jsize1, integer * maxsz2, doublereal * table2, integer * isize2, integer * jsize2, integer * iercod); - /****************** mmhjcan_ ******************/ - /**** md5 signature: 446f4e5fc4471218506e9b511d9c6d33 ****/ + /****** AdvApp2Var_MathBase::mmhjcan_ ******/ + /****** md5 signature: 446f4e5fc4471218506e9b511d9c6d33 ******/ %feature("compactdefaultargs") mmhjcan_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- ndimen: integer * @@ -1906,17 +2192,20 @@ tdecop: doublereal * tcbnew: doublereal * iercod: integer * -Returns +Return ------- int + +Description +----------- +No available documentation. ") mmhjcan_; static int mmhjcan_(integer * ndimen, integer * ncourb, integer * ncftab, integer * orcont, integer * ncflim, doublereal * tcbold, doublereal * tdecop, doublereal * tcbnew, integer * iercod); - /****************** mminltt_ ******************/ - /**** md5 signature: f6302a533cf8887921d63b52fd1db29d ****/ + /****** AdvApp2Var_MathBase::mminltt_ ******/ + /****** md5 signature: f6302a533cf8887921d63b52fd1db29d ******/ %feature("compactdefaultargs") mminltt_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- ncolmx: integer * @@ -1928,17 +2217,20 @@ ajoute: doublereal * epseg: doublereal * iercod: integer * -Returns +Return ------- int + +Description +----------- +No available documentation. ") mminltt_; static int mminltt_(integer * ncolmx, integer * nlgnmx, doublereal * tabtri, integer * nbrcol, integer * nbrlgn, doublereal * ajoute, doublereal * epseg, integer * iercod); - /****************** mmjacan_ ******************/ - /**** md5 signature: 9434e56960effb3e5ef4b134391a328e ****/ + /****** AdvApp2Var_MathBase::mmjacan_ ******/ + /****** md5 signature: 9434e56960effb3e5ef4b134391a328e ******/ %feature("compactdefaultargs") mmjacan_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- ideriv: integer * @@ -1946,17 +2238,20 @@ ndeg: integer * poljac: doublereal * polcan: doublereal * -Returns +Return ------- int + +Description +----------- +No available documentation. ") mmjacan_; static int mmjacan_(const integer * ideriv, integer * ndeg, doublereal * poljac, doublereal * polcan); - /****************** mmjaccv_ ******************/ - /**** md5 signature: b65686bb9f09d9ff3a5414b37737b25f ****/ + /****** AdvApp2Var_MathBase::mmjaccv_ ******/ + /****** md5 signature: b65686bb9f09d9ff3a5414b37737b25f ******/ %feature("compactdefaultargs") mmjaccv_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- ncoef: integer * @@ -1966,17 +2261,20 @@ crvlgd: doublereal * polaux: doublereal * crvcan: doublereal * -Returns +Return ------- int + +Description +----------- +No available documentation. ") mmjaccv_; static int mmjaccv_(const integer * ncoef, const integer * ndim, const integer * ider, const doublereal * crvlgd, doublereal * polaux, doublereal * crvcan); - /****************** mmmpocur_ ******************/ - /**** md5 signature: 74e6aabd8a9a0120f39cdca7f2a2ab4c ****/ + /****** AdvApp2Var_MathBase::mmmpocur_ ******/ + /****** md5 signature: 74e6aabd8a9a0120f39cdca7f2a2ab4c ******/ %feature("compactdefaultargs") mmmpocur_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- ncofmx: integer * @@ -1986,17 +2284,20 @@ courbe: doublereal * tparam: doublereal * tabval: doublereal * -Returns +Return ------- int + +Description +----------- +No available documentation. ") mmmpocur_; static int mmmpocur_(integer * ncofmx, integer * ndim, integer * ndeg, doublereal * courbe, doublereal * tparam, doublereal * tabval); - /****************** mmmrslwd_ ******************/ - /**** md5 signature: a95d2925ac37222049e9bf15d84c3cb5 ****/ + /****** AdvApp2Var_MathBase::mmmrslwd_ ******/ + /****** md5 signature: a95d2925ac37222049e9bf15d84c3cb5 ******/ %feature("compactdefaultargs") mmmrslwd_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- normax: integer * @@ -2009,17 +2310,20 @@ aaux: doublereal * xmat: doublereal * iercod: integer * -Returns +Return ------- int + +Description +----------- +No available documentation. ") mmmrslwd_; static int mmmrslwd_(integer * normax, integer * nordre, integer * ndim, doublereal * amat, doublereal * bmat, doublereal * epspiv, doublereal * aaux, doublereal * xmat, integer * iercod); - /****************** mmpobas_ ******************/ - /**** md5 signature: 7bc22d5de8ef6a29982a574e3973164e ****/ + /****** AdvApp2Var_MathBase::mmpobas_ ******/ + /****** md5 signature: 7bc22d5de8ef6a29982a574e3973164e ******/ %feature("compactdefaultargs") mmpobas_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- tparam: doublereal * @@ -2029,17 +2333,20 @@ nderiv: integer * valbas: doublereal * iercod: integer * -Returns +Return ------- int + +Description +----------- +No available documentation. ") mmpobas_; static int mmpobas_(doublereal * tparam, integer * iordre, integer * ncoeff, integer * nderiv, doublereal * valbas, integer * iercod); - /****************** mmpocrb_ ******************/ - /**** md5 signature: a12dcc0fd2ee502b557d028a01877b8d ****/ + /****** AdvApp2Var_MathBase::mmpocrb_ ******/ + /****** md5 signature: a12dcc0fd2ee502b557d028a01877b8d ******/ %feature("compactdefaultargs") mmpocrb_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- ndimax: integer * @@ -2049,17 +2356,20 @@ ndim: integer * tparam: doublereal * pntcrb: doublereal * -Returns +Return ------- int + +Description +----------- +No available documentation. ") mmpocrb_; static int mmpocrb_(integer * ndimax, integer * ncoeff, doublereal * courbe, integer * ndim, doublereal * tparam, doublereal * pntcrb); - /****************** mmposui_ ******************/ - /**** md5 signature: 34280b75c6efa74cfc4d92b1604d7018 ****/ + /****** AdvApp2Var_MathBase::mmposui_ ******/ + /****** md5 signature: 34280b75c6efa74cfc4d92b1604d7018 ******/ %feature("compactdefaultargs") mmposui_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- dimmat: integer * @@ -2068,17 +2378,20 @@ aposit: integer * posuiv: integer * iercod: integer * -Returns +Return ------- int + +Description +----------- +No available documentation. ") mmposui_; static int mmposui_(integer * dimmat, integer * nistoc, integer * aposit, integer * posuiv, integer * iercod); - /****************** mmresol_ ******************/ - /**** md5 signature: 6a24def37f274fef1c72ffabb3fb8a78 ****/ + /****** AdvApp2Var_MathBase::mmresol_ ******/ + /****** md5 signature: 6a24def37f274fef1c72ffabb3fb8a78 ******/ %feature("compactdefaultargs") mmresol_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- hdimen: integer * @@ -2098,33 +2411,39 @@ mposit: integer * vecsol: doublereal * iercod: integer * -Returns +Return ------- int + +Description +----------- +No available documentation. ") 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_ ******************/ - /**** md5 signature: bf320f4ce6a9651125680601f69e4537 ****/ + /****** AdvApp2Var_MathBase::mmrtptt_ ******/ + /****** md5 signature: bf320f4ce6a9651125680601f69e4537 ******/ %feature("compactdefaultargs") mmrtptt_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- ndglgd: integer * rtlegd: doublereal * -Returns +Return ------- int + +Description +----------- +No available documentation. ") mmrtptt_; static int mmrtptt_(integer * ndglgd, doublereal * rtlegd); - /****************** mmsrre2_ ******************/ - /**** md5 signature: 11a570be7ee4b84e48a67aa8ec09f727 ****/ + /****** AdvApp2Var_MathBase::mmsrre2_ ******/ + /****** md5 signature: 11a570be7ee4b84e48a67aa8ec09f727 ******/ %feature("compactdefaultargs") mmsrre2_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- tparam: doublereal * @@ -2135,17 +2454,20 @@ numint: integer * itypen: integer * iercod: integer * -Returns +Return ------- int + +Description +----------- +No available documentation. ") mmsrre2_; static int mmsrre2_(doublereal * tparam, integer * nbrval, doublereal * tablev, doublereal * epsil, integer * numint, integer * itypen, integer * iercod); - /****************** mmtrpjj_ ******************/ - /**** md5 signature: 0569f5b50e1f2f007294ac92dcbfad1c ****/ + /****** AdvApp2Var_MathBase::mmtrpjj_ ******/ + /****** md5 signature: 0569f5b50e1f2f007294ac92dcbfad1c ******/ %feature("compactdefaultargs") mmtrpjj_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- ncofmx: integer * @@ -2158,17 +2480,20 @@ ycvmax: doublereal * errmax: doublereal * ncfnew: integer * -Returns +Return ------- int + +Description +----------- +No available documentation. ") mmtrpjj_; static int mmtrpjj_(integer * ncofmx, integer * ndimen, integer * ncoeff, doublereal * epsi3d, integer * iordre, doublereal * crvlgd, doublereal * ycvmax, doublereal * errmax, integer * ncfnew); - /****************** mmunivt_ ******************/ - /**** md5 signature: 16381a0150e98e032a27d190626c862c ****/ + /****** AdvApp2Var_MathBase::mmunivt_ ******/ + /****** md5 signature: 16381a0150e98e032a27d190626c862c ******/ %feature("compactdefaultargs") mmunivt_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- ndimen: integer * @@ -2177,32 +2502,38 @@ vecnrm: doublereal * epsiln: doublereal * iercod: integer * -Returns +Return ------- int + +Description +----------- +No available documentation. ") mmunivt_; static int mmunivt_(integer * ndimen, doublereal * vector, doublereal * vecnrm, doublereal * epsiln, integer * iercod); - /****************** mmveps3_ ******************/ - /**** md5 signature: 23174d833a81b088dd2fea3e5aa72ce3 ****/ + /****** AdvApp2Var_MathBase::mmveps3_ ******/ + /****** md5 signature: 23174d833a81b088dd2fea3e5aa72ce3 ******/ %feature("compactdefaultargs") mmveps3_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- eps03: doublereal * -Returns +Return ------- int + +Description +----------- +No available documentation. ") mmveps3_; static int mmveps3_(doublereal * eps03); - /****************** mmvncol_ ******************/ - /**** md5 signature: 4f89cab0e4d7a63481dc99370fbc8fb2 ****/ + /****** AdvApp2Var_MathBase::mmvncol_ ******/ + /****** md5 signature: 4f89cab0e4d7a63481dc99370fbc8fb2 ******/ %feature("compactdefaultargs") mmvncol_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- ndimen: integer * @@ -2210,17 +2541,20 @@ vecin: doublereal * vecout: doublereal * iercod: integer * -Returns +Return ------- int + +Description +----------- +No available documentation. ") mmvncol_; static int mmvncol_(integer * ndimen, doublereal * vecin, doublereal * vecout, integer * iercod); - /****************** mmwprcs_ ******************/ - /**** md5 signature: 477d823794f68972576604130750f753 ****/ + /****** AdvApp2Var_MathBase::mmwprcs_ ******/ + /****** md5 signature: 477d823794f68972576604130750f753 ******/ %feature("compactdefaultargs") mmwprcs_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- : doublereal * @@ -2230,34 +2564,40 @@ Parameters : integer * : integer * -Returns +Return ------- None + +Description +----------- +No available documentation. ") mmwprcs_; static void mmwprcs_(doublereal * , doublereal * , doublereal * , doublereal * , integer * , integer * ); - /****************** msc_ ******************/ - /**** md5 signature: 3114f971d87dcb65a2ab7e6d240393b5 ****/ + /****** AdvApp2Var_MathBase::msc_ ******/ + /****** md5 signature: 3114f971d87dcb65a2ab7e6d240393b5 ******/ %feature("compactdefaultargs") msc_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- ndimen: integer * vecte1: doublereal * vecte2: doublereal * -Returns +Return ------- doublereal + +Description +----------- +No available documentation. ") msc_; static doublereal msc_(integer * ndimen, doublereal * vecte1, doublereal * vecte2); - /****************** mvsheld_ ******************/ - /**** md5 signature: 4ecbda11b378509d5fa7a83d2e283759 ****/ + /****** AdvApp2Var_MathBase::mvsheld_ ******/ + /****** md5 signature: 4ecbda11b378509d5fa7a83d2e283759 ******/ %feature("compactdefaultargs") mvsheld_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- n: integer * @@ -2265,41 +2605,51 @@ is: integer * dtab: doublereal * icle: integer * -Returns +Return ------- int + +Description +----------- +No available documentation. ") mvsheld_; static int mvsheld_(integer * n, integer * is, doublereal * dtab, integer * icle); - /****************** mzsnorm_ ******************/ - /**** md5 signature: cdbf39590da261aaf47c5ccd25c4da77 ****/ + /****** AdvApp2Var_MathBase::mzsnorm_ ******/ + /****** md5 signature: cdbf39590da261aaf47c5ccd25c4da77 ******/ %feature("compactdefaultargs") mzsnorm_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- ndimen: integer * vecteu: doublereal * -Returns +Return ------- doublereal + +Description +----------- +No available documentation. ") mzsnorm_; static doublereal mzsnorm_(integer * ndimen, doublereal * vecteu); - /****************** pow__di ******************/ - /**** md5 signature: e4a7f433243cba4d130c7523c160c9cd ****/ + /****** AdvApp2Var_MathBase::pow__di ******/ + /****** md5 signature: e4a7f433243cba4d130c7523c160c9cd ******/ %feature("compactdefaultargs") pow__di; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- x: doublereal * n: integer * -Returns +Return ------- doublereal + +Description +----------- +No available documentation. ") pow__di; static doublereal pow__di(doublereal * x, integer * n); @@ -2321,186 +2671,221 @@ doublereal ***************************/ class AdvApp2Var_Network { public: - /****************** AdvApp2Var_Network ******************/ - /**** md5 signature: d17d550414bf3ecdb9a7860fb411e42f ****/ + /****** AdvApp2Var_Network::AdvApp2Var_Network ******/ + /****** md5 signature: d17d550414bf3ecdb9a7860fb411e42f ******/ %feature("compactdefaultargs") AdvApp2Var_Network; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") AdvApp2Var_Network; AdvApp2Var_Network(); - /****************** AdvApp2Var_Network ******************/ - /**** md5 signature: 193c289f215945d46188eaeb35e19607 ****/ + /****** AdvApp2Var_Network::AdvApp2Var_Network ******/ + /****** md5 signature: 193c289f215945d46188eaeb35e19607 ******/ %feature("compactdefaultargs") AdvApp2Var_Network; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Net: AdvApp2Var_SequenceOfPatch TheU: TColStd_SequenceOfReal TheV: TColStd_SequenceOfReal -Returns +Return ------- None + +Description +----------- +No available documentation. ") AdvApp2Var_Network; AdvApp2Var_Network(const AdvApp2Var_SequenceOfPatch & Net, const TColStd_SequenceOfReal & TheU, const TColStd_SequenceOfReal & TheV); - /****************** ChangePatch ******************/ - /**** md5 signature: 49bf90b6471d1093efa33d9d67b1d5ff ****/ + /****** AdvApp2Var_Network::ChangePatch ******/ + /****** md5 signature: 49bf90b6471d1093efa33d9d67b1d5ff ******/ %feature("compactdefaultargs") ChangePatch; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- AdvApp2Var_Patch + +Description +----------- +No available documentation. ") ChangePatch; AdvApp2Var_Patch & ChangePatch(const Standard_Integer Index); - /****************** FirstNotApprox ******************/ - /**** md5 signature: 71bb30feb26f00338924d16d7bd6d369 ****/ + /****** AdvApp2Var_Network::FirstNotApprox ******/ + /****** md5 signature: 71bb30feb26f00338924d16d7bd6d369 ******/ %feature("compactdefaultargs") FirstNotApprox; - %feature("autodoc", "Search the index of the first patch not approximated, if all patches are approximated standard_false is returned. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- Index: int + +Description +----------- +search the Index of the first Patch not approximated, if all Patches are approximated Standard_False is returned. ") FirstNotApprox; Standard_Boolean FirstNotApprox(Standard_Integer &OutValue); - /****************** NbPatch ******************/ - /**** md5 signature: e694837768b0b0d655ecd0758a2789f8 ****/ + /****** AdvApp2Var_Network::NbPatch ******/ + /****** md5 signature: e694837768b0b0d655ecd0758a2789f8 ******/ %feature("compactdefaultargs") NbPatch; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbPatch; Standard_Integer NbPatch(); - /****************** NbPatchInU ******************/ - /**** md5 signature: 3f35fc1ac6634939a320e7ad44a7f7a1 ****/ + /****** AdvApp2Var_Network::NbPatchInU ******/ + /****** md5 signature: 3f35fc1ac6634939a320e7ad44a7f7a1 ******/ %feature("compactdefaultargs") NbPatchInU; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbPatchInU; Standard_Integer NbPatchInU(); - /****************** NbPatchInV ******************/ - /**** md5 signature: f81c6419ee7410e1e8c617bbe5c3f7ab ****/ + /****** AdvApp2Var_Network::NbPatchInV ******/ + /****** md5 signature: f81c6419ee7410e1e8c617bbe5c3f7ab ******/ %feature("compactdefaultargs") NbPatchInV; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbPatchInV; Standard_Integer NbPatchInV(); - /****************** Patch ******************/ - /**** md5 signature: d7ebd409a545712c8a1fd621e1074507 ****/ + /****** AdvApp2Var_Network::Patch ******/ + /****** md5 signature: d7ebd409a545712c8a1fd621e1074507 ******/ %feature("compactdefaultargs") Patch; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- UIndex: int VIndex: int -Returns +Return ------- AdvApp2Var_Patch + +Description +----------- +No available documentation. ") Patch; const AdvApp2Var_Patch & Patch(const Standard_Integer UIndex, const Standard_Integer VIndex); - /****************** SameDegree ******************/ - /**** md5 signature: 7e217979ae78b3668d6f94e6a8ad1993 ****/ + /****** AdvApp2Var_Network::SameDegree ******/ + /****** md5 signature: 7e217979ae78b3668d6f94e6a8ad1993 ******/ %feature("compactdefaultargs") SameDegree; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- iu: int iv: int -Returns +Return ------- ncfu: int ncfv: int + +Description +----------- +No available documentation. ") SameDegree; void SameDegree(const Standard_Integer iu, const Standard_Integer iv, Standard_Integer &OutValue, Standard_Integer &OutValue); - /****************** UParameter ******************/ - /**** md5 signature: 71719dc788a69ec419550ca101145d24 ****/ + /****** AdvApp2Var_Network::UParameter ******/ + /****** md5 signature: 71719dc788a69ec419550ca101145d24 ******/ %feature("compactdefaultargs") UParameter; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- float + +Description +----------- +No available documentation. ") UParameter; Standard_Real UParameter(const Standard_Integer Index); - /****************** UpdateInU ******************/ - /**** md5 signature: 6ceeb1ee9354cac6afc634b1d9c74e7c ****/ + /****** AdvApp2Var_Network::UpdateInU ******/ + /****** md5 signature: 6ceeb1ee9354cac6afc634b1d9c74e7c ******/ %feature("compactdefaultargs") UpdateInU; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- CuttingValue: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") UpdateInU; void UpdateInU(const Standard_Real CuttingValue); - /****************** UpdateInV ******************/ - /**** md5 signature: c0f8535993a7fefff54e4fb95c170b72 ****/ + /****** AdvApp2Var_Network::UpdateInV ******/ + /****** md5 signature: c0f8535993a7fefff54e4fb95c170b72 ******/ %feature("compactdefaultargs") UpdateInV; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- CuttingValue: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") UpdateInV; void UpdateInV(const Standard_Real CuttingValue); - /****************** VParameter ******************/ - /**** md5 signature: 33aa4b550b26911e9a612085aed53f03 ****/ + /****** AdvApp2Var_Network::VParameter ******/ + /****** md5 signature: 33aa4b550b26911e9a612085aed53f03 ******/ %feature("compactdefaultargs") VParameter; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- float + +Description +----------- +No available documentation. ") VParameter; Standard_Real VParameter(const Standard_Integer Index); @@ -2518,162 +2903,191 @@ float ************************/ class AdvApp2Var_Node : public Standard_Transient { public: - /****************** AdvApp2Var_Node ******************/ - /**** md5 signature: 757375f90af24c95af5d449c30bcf4b6 ****/ + /****** AdvApp2Var_Node::AdvApp2Var_Node ******/ + /****** md5 signature: 757375f90af24c95af5d449c30bcf4b6 ******/ %feature("compactdefaultargs") AdvApp2Var_Node; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") AdvApp2Var_Node; AdvApp2Var_Node(); - /****************** AdvApp2Var_Node ******************/ - /**** md5 signature: d2cda16fc3142332455215854e92a317 ****/ + /****** AdvApp2Var_Node::AdvApp2Var_Node ******/ + /****** md5 signature: d2cda16fc3142332455215854e92a317 ******/ %feature("compactdefaultargs") AdvApp2Var_Node; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- iu: int iv: int -Returns +Return ------- None + +Description +----------- +No available documentation. ") AdvApp2Var_Node; AdvApp2Var_Node(const Standard_Integer iu, const Standard_Integer iv); - /****************** AdvApp2Var_Node ******************/ - /**** md5 signature: 02101f67a99867a736cba2d1116fa5ee ****/ + /****** AdvApp2Var_Node::AdvApp2Var_Node ******/ + /****** md5 signature: 02101f67a99867a736cba2d1116fa5ee ******/ %feature("compactdefaultargs") AdvApp2Var_Node; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- UV: gp_XY iu: int iv: int -Returns +Return ------- None + +Description +----------- +No available documentation. ") AdvApp2Var_Node; AdvApp2Var_Node(const gp_XY & UV, const Standard_Integer iu, const Standard_Integer iv); - /****************** Coord ******************/ - /**** md5 signature: 55c3583d2b85a3d85724dfd062f17fa4 ****/ + /****** AdvApp2Var_Node::Coord ******/ + /****** md5 signature: 55c3583d2b85a3d85724dfd062f17fa4 ******/ %feature("compactdefaultargs") Coord; - %feature("autodoc", "Returns the coordinates (u,v) of the node. - -Returns + %feature("autodoc", "Return ------- gp_XY + +Description +----------- +Returns the coordinates (U,V) of the node. ") Coord; const gp_XY Coord(); - /****************** Error ******************/ - /**** md5 signature: 4813a340da2d4e85dbd4db1c55725856 ****/ + /****** AdvApp2Var_Node::Error ******/ + /****** md5 signature: 4813a340da2d4e85dbd4db1c55725856 ******/ %feature("compactdefaultargs") Error; - %feature("autodoc", "Returns the error between f(u,v) and its approximation. - + %feature("autodoc", " Parameters ---------- iu: int iv: int -Returns +Return ------- float + +Description +----------- +returns the error between F(U,V) and its approximation. ") Error; Standard_Real Error(const Standard_Integer iu, const Standard_Integer iv); - /****************** Point ******************/ - /**** md5 signature: 749335184bea0e3e4adcaec95037b5c4 ****/ + /****** AdvApp2Var_Node::Point ******/ + /****** md5 signature: 749335184bea0e3e4adcaec95037b5c4 ******/ %feature("compactdefaultargs") Point; - %feature("autodoc", "Returns the value f(u,v) or its derivates on the node (u,v). - + %feature("autodoc", " Parameters ---------- iu: int iv: int -Returns +Return ------- gp_Pnt + +Description +----------- +returns the value F(U,V) or its derivates on the node (U,V). ") Point; const gp_Pnt Point(const Standard_Integer iu, const Standard_Integer iv); - /****************** SetCoord ******************/ - /**** md5 signature: 4e5a25b156489466ba1a9a9f348b2305 ****/ + /****** AdvApp2Var_Node::SetCoord ******/ + /****** md5 signature: 4e5a25b156489466ba1a9a9f348b2305 ******/ %feature("compactdefaultargs") SetCoord; - %feature("autodoc", "Changes the coordinates (u,v) to (x1,x2). - + %feature("autodoc", " Parameters ---------- x1: float x2: float -Returns +Return ------- None + +Description +----------- +changes the coordinates (U,V) to (x1,x2). ") SetCoord; void SetCoord(const Standard_Real x1, const Standard_Real x2); - /****************** SetError ******************/ - /**** md5 signature: bdc80934791ff9f2bae407029b05b646 ****/ + /****** AdvApp2Var_Node::SetError ******/ + /****** md5 signature: bdc80934791ff9f2bae407029b05b646 ******/ %feature("compactdefaultargs") SetError; - %feature("autodoc", "Affects the error between f(u,v) and its approximation. - + %feature("autodoc", " Parameters ---------- iu: int iv: int error: float -Returns +Return ------- None + +Description +----------- +affects the error between F(U,V) and its approximation. ") SetError; void SetError(const Standard_Integer iu, const Standard_Integer iv, const Standard_Real error); - /****************** SetPoint ******************/ - /**** md5 signature: 76994ba669d4525ebd26c6236bb72440 ****/ + /****** AdvApp2Var_Node::SetPoint ******/ + /****** md5 signature: 76994ba669d4525ebd26c6236bb72440 ******/ %feature("compactdefaultargs") SetPoint; - %feature("autodoc", "Affects the value f(u,v) or its derivates on the node (u,v). - + %feature("autodoc", " Parameters ---------- iu: int iv: int Pt: gp_Pnt -Returns +Return ------- None + +Description +----------- +affects the value F(U,V) or its derivates on the node (U,V). ") SetPoint; void SetPoint(const Standard_Integer iu, const Standard_Integer iv, const gp_Pnt & Pt); - /****************** UOrder ******************/ - /**** md5 signature: 240f145a108dc3ebbbcea6f9c3c264fc ****/ + /****** AdvApp2Var_Node::UOrder ******/ + /****** md5 signature: 240f145a108dc3ebbbcea6f9c3c264fc ******/ %feature("compactdefaultargs") UOrder; - %feature("autodoc", "Returns the continuity order in u of the node. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +returns the continuity order in U of the node. ") UOrder; Standard_Integer UOrder(); - /****************** VOrder ******************/ - /**** md5 signature: bacd1acb31115deb5ae2d0800c99aadf ****/ + /****** AdvApp2Var_Node::VOrder ******/ + /****** md5 signature: bacd1acb31115deb5ae2d0800c99aadf ******/ %feature("compactdefaultargs") VOrder; - %feature("autodoc", "Returns the continuity order in v of the node. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +returns the continuity order in V of the node. ") VOrder; Standard_Integer VOrder(); @@ -2693,22 +3107,23 @@ int *************************/ class AdvApp2Var_Patch : public Standard_Transient { public: - /****************** AdvApp2Var_Patch ******************/ - /**** md5 signature: d33d6d4645686ec8d5b284576c0f601e ****/ + /****** AdvApp2Var_Patch::AdvApp2Var_Patch ******/ + /****** md5 signature: d33d6d4645686ec8d5b284576c0f601e ******/ %feature("compactdefaultargs") AdvApp2Var_Patch; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") AdvApp2Var_Patch; AdvApp2Var_Patch(); - /****************** AdvApp2Var_Patch ******************/ - /**** md5 signature: 009293243a6ed1ff77c648dd22d8cf3b ****/ + /****** AdvApp2Var_Patch::AdvApp2Var_Patch ******/ + /****** md5 signature: 009293243a6ed1ff77c648dd22d8cf3b ******/ %feature("compactdefaultargs") AdvApp2Var_Patch; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- U0: float @@ -2718,59 +3133,70 @@ V1: float iu: int iv: int -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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); - /****************** AddConstraints ******************/ - /**** md5 signature: abf03d99820fa7dc9c1dcf3e4036e911 ****/ + /****** AdvApp2Var_Patch::AddConstraints ******/ + /****** md5 signature: abf03d99820fa7dc9c1dcf3e4036e911 ******/ %feature("compactdefaultargs") AddConstraints; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Conditions: AdvApp2Var_Context Constraints: AdvApp2Var_Framework -Returns +Return ------- None + +Description +----------- +No available documentation. ") AddConstraints; void AddConstraints(const AdvApp2Var_Context & Conditions, const AdvApp2Var_Framework & Constraints); - /****************** AddErrors ******************/ - /**** md5 signature: e042d0a7d13c92b6b2ba54fe1e7f2429 ****/ + /****** AdvApp2Var_Patch::AddErrors ******/ + /****** md5 signature: e042d0a7d13c92b6b2ba54fe1e7f2429 ******/ %feature("compactdefaultargs") AddErrors; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Constraints: AdvApp2Var_Framework -Returns +Return ------- None + +Description +----------- +No available documentation. ") AddErrors; void AddErrors(const AdvApp2Var_Framework & Constraints); - /****************** AverageErrors ******************/ - /**** md5 signature: d8502ea596eaa24c6ddd3c29b947b322 ****/ + /****** AdvApp2Var_Patch::AverageErrors ******/ + /****** md5 signature: d8502ea596eaa24c6ddd3c29b947b322 ******/ %feature("compactdefaultargs") AverageErrors; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") AverageErrors; opencascade::handle AverageErrors(); - /****************** ChangeDomain ******************/ - /**** md5 signature: 2ac5144771fa2395ab4c3175f83f7fdd ****/ + /****** AdvApp2Var_Patch::ChangeDomain ******/ + /****** md5 signature: 2ac5144771fa2395ab4c3175f83f7fdd ******/ %feature("compactdefaultargs") ChangeDomain; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- a: float @@ -2778,309 +3204,368 @@ b: float c: float d: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") ChangeDomain; void ChangeDomain(const Standard_Real a, const Standard_Real b, const Standard_Real c, const Standard_Real d); - /****************** ChangeNbCoeff ******************/ - /**** md5 signature: 802370e7ae3255f35692248af680e738 ****/ + /****** AdvApp2Var_Patch::ChangeNbCoeff ******/ + /****** md5 signature: 802370e7ae3255f35692248af680e738 ******/ %feature("compactdefaultargs") ChangeNbCoeff; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- NbCoeffU: int NbCoeffV: int -Returns +Return ------- None + +Description +----------- +No available documentation. ") ChangeNbCoeff; void ChangeNbCoeff(const Standard_Integer NbCoeffU, const Standard_Integer NbCoeffV); - /****************** Coefficients ******************/ - /**** md5 signature: e17d56434ae80ca1c852d61d7c3ca62a ****/ + /****** AdvApp2Var_Patch::Coefficients ******/ + /****** md5 signature: e17d56434ae80ca1c852d61d7c3ca62a ******/ %feature("compactdefaultargs") Coefficients; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- SSPIndex: int Conditions: AdvApp2Var_Context -Returns +Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Coefficients; opencascade::handle Coefficients(const Standard_Integer SSPIndex, const AdvApp2Var_Context & Conditions); - /****************** CritValue ******************/ - /**** md5 signature: 23a54416c5dbe722901061f446e55cde ****/ + /****** AdvApp2Var_Patch::CritValue ******/ + /****** md5 signature: 23a54416c5dbe722901061f446e55cde ******/ %feature("compactdefaultargs") CritValue; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") CritValue; Standard_Real CritValue(); - /****************** CutSense ******************/ - /**** md5 signature: 992e37471b9e9d39f6176f987d7026a1 ****/ + /****** AdvApp2Var_Patch::CutSense ******/ + /****** md5 signature: 992e37471b9e9d39f6176f987d7026a1 ******/ %feature("compactdefaultargs") CutSense; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") CutSense; Standard_Integer CutSense(); - /****************** CutSense ******************/ - /**** md5 signature: 521a8a559c48f0a748d039ed8b373ff4 ****/ + /****** AdvApp2Var_Patch::CutSense ******/ + /****** md5 signature: 521a8a559c48f0a748d039ed8b373ff4 ******/ %feature("compactdefaultargs") CutSense; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Crit: AdvApp2Var_Criterion NumDec: int -Returns +Return ------- int + +Description +----------- +No available documentation. ") CutSense; Standard_Integer CutSense(const AdvApp2Var_Criterion & Crit, const Standard_Integer NumDec); - /****************** Discretise ******************/ - /**** md5 signature: c6ff2fab99b0d1f461ae97d16b7121e3 ****/ + /****** AdvApp2Var_Patch::Discretise ******/ + /****** md5 signature: c6ff2fab99b0d1f461ae97d16b7121e3 ******/ %feature("compactdefaultargs") Discretise; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Conditions: AdvApp2Var_Context Constraints: AdvApp2Var_Framework func: AdvApp2Var_EvaluatorFunc2Var -Returns +Return ------- None + +Description +----------- +No available documentation. ") Discretise; void Discretise(const AdvApp2Var_Context & Conditions, const AdvApp2Var_Framework & Constraints, const AdvApp2Var_EvaluatorFunc2Var & func); - /****************** HasResult ******************/ - /**** md5 signature: 345d4b0f7e88f528928167976d8256d5 ****/ + /****** AdvApp2Var_Patch::HasResult ******/ + /****** md5 signature: 345d4b0f7e88f528928167976d8256d5 ******/ %feature("compactdefaultargs") HasResult; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") HasResult; Standard_Boolean HasResult(); - /****************** IsApproximated ******************/ - /**** md5 signature: 7c34eaf99169909b82e07df22d055afb ****/ + /****** AdvApp2Var_Patch::IsApproximated ******/ + /****** md5 signature: 7c34eaf99169909b82e07df22d055afb ******/ %feature("compactdefaultargs") IsApproximated; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsApproximated; Standard_Boolean IsApproximated(); - /****************** IsDiscretised ******************/ - /**** md5 signature: 47baa977dd394ace9e32cb703e3423fb ****/ + /****** AdvApp2Var_Patch::IsDiscretised ******/ + /****** md5 signature: 47baa977dd394ace9e32cb703e3423fb ******/ %feature("compactdefaultargs") IsDiscretised; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsDiscretised; Standard_Boolean IsDiscretised(); - /****************** IsoErrors ******************/ - /**** md5 signature: 8ea111f68143778d4a8973276e928d0b ****/ + /****** AdvApp2Var_Patch::IsoErrors ******/ + /****** md5 signature: 8ea111f68143778d4a8973276e928d0b ******/ %feature("compactdefaultargs") IsoErrors; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") IsoErrors; opencascade::handle IsoErrors(); - /****************** MakeApprox ******************/ - /**** md5 signature: 276a3e9cd61d2de916908db5672bd9b2 ****/ + /****** AdvApp2Var_Patch::MakeApprox ******/ + /****** md5 signature: 276a3e9cd61d2de916908db5672bd9b2 ******/ %feature("compactdefaultargs") MakeApprox; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Conditions: AdvApp2Var_Context Constraints: AdvApp2Var_Framework NumDec: int -Returns +Return ------- None + +Description +----------- +No available documentation. ") MakeApprox; void MakeApprox(const AdvApp2Var_Context & Conditions, const AdvApp2Var_Framework & Constraints, const Standard_Integer NumDec); - /****************** MaxErrors ******************/ - /**** md5 signature: 2c31ae61bc19ac28b8afc8aaffbdb3d7 ****/ + /****** AdvApp2Var_Patch::MaxErrors ******/ + /****** md5 signature: 2c31ae61bc19ac28b8afc8aaffbdb3d7 ******/ %feature("compactdefaultargs") MaxErrors; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") MaxErrors; opencascade::handle MaxErrors(); - /****************** NbCoeffInU ******************/ - /**** md5 signature: 69cd17080302de88c9d27eb417982d70 ****/ + /****** AdvApp2Var_Patch::NbCoeffInU ******/ + /****** md5 signature: 69cd17080302de88c9d27eb417982d70 ******/ %feature("compactdefaultargs") NbCoeffInU; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbCoeffInU; Standard_Integer NbCoeffInU(); - /****************** NbCoeffInV ******************/ - /**** md5 signature: 5fdc9c87479a6f2cd28f37494a151db7 ****/ + /****** AdvApp2Var_Patch::NbCoeffInV ******/ + /****** md5 signature: 5fdc9c87479a6f2cd28f37494a151db7 ******/ %feature("compactdefaultargs") NbCoeffInV; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbCoeffInV; Standard_Integer NbCoeffInV(); - /****************** OverwriteApprox ******************/ - /**** md5 signature: 498eeb5383c32fe019241a25212632dc ****/ + /****** AdvApp2Var_Patch::OverwriteApprox ******/ + /****** md5 signature: 498eeb5383c32fe019241a25212632dc ******/ %feature("compactdefaultargs") OverwriteApprox; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") OverwriteApprox; void OverwriteApprox(); - /****************** Poles ******************/ - /**** md5 signature: a678e8da8145f8a2e18659df95598b78 ****/ + /****** AdvApp2Var_Patch::Poles ******/ + /****** md5 signature: a678e8da8145f8a2e18659df95598b78 ******/ %feature("compactdefaultargs") Poles; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- SSPIndex: int Conditions: AdvApp2Var_Context -Returns +Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Poles; opencascade::handle Poles(const Standard_Integer SSPIndex, const AdvApp2Var_Context & Conditions); - /****************** ResetApprox ******************/ - /**** md5 signature: 95158c4db01998815f8d16a93f8762e3 ****/ + /****** AdvApp2Var_Patch::ResetApprox ******/ + /****** md5 signature: 95158c4db01998815f8d16a93f8762e3 ******/ %feature("compactdefaultargs") ResetApprox; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") ResetApprox; void ResetApprox(); - /****************** SetCritValue ******************/ - /**** md5 signature: fa8644c9d9151b6fc16f33d9ba06eb43 ****/ + /****** AdvApp2Var_Patch::SetCritValue ******/ + /****** md5 signature: fa8644c9d9151b6fc16f33d9ba06eb43 ******/ %feature("compactdefaultargs") SetCritValue; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- dist: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetCritValue; void SetCritValue(const Standard_Real dist); - /****************** U0 ******************/ - /**** md5 signature: 339bb715a75de7a8b4555f6a339ebd10 ****/ + /****** AdvApp2Var_Patch::U0 ******/ + /****** md5 signature: 339bb715a75de7a8b4555f6a339ebd10 ******/ %feature("compactdefaultargs") U0; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") U0; Standard_Real U0(); - /****************** U1 ******************/ - /**** md5 signature: dc11e0157513dfb2ced295d3b3c19ebf ****/ + /****** AdvApp2Var_Patch::U1 ******/ + /****** md5 signature: dc11e0157513dfb2ced295d3b3c19ebf ******/ %feature("compactdefaultargs") U1; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") U1; Standard_Real U1(); - /****************** UOrder ******************/ - /**** md5 signature: 3bb505464047fef2900b8b2c2896c41e ****/ + /****** AdvApp2Var_Patch::UOrder ******/ + /****** md5 signature: 3bb505464047fef2900b8b2c2896c41e ******/ %feature("compactdefaultargs") UOrder; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") UOrder; Standard_Integer UOrder(); - /****************** V0 ******************/ - /**** md5 signature: 00b73901144f5edffff220d5d949eac1 ****/ + /****** AdvApp2Var_Patch::V0 ******/ + /****** md5 signature: 00b73901144f5edffff220d5d949eac1 ******/ %feature("compactdefaultargs") V0; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") V0; Standard_Real V0(); - /****************** V1 ******************/ - /**** md5 signature: 4690fe5b6fc46d61802a6f0d508c99e5 ****/ + /****** AdvApp2Var_Patch::V1 ******/ + /****** md5 signature: 4690fe5b6fc46d61802a6f0d508c99e5 ******/ %feature("compactdefaultargs") V1; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") V1; Standard_Real V1(); - /****************** VOrder ******************/ - /**** md5 signature: 704529177e651451c5029c517db99652 ****/ + /****** AdvApp2Var_Patch::VOrder ******/ + /****** md5 signature: 704529177e651451c5029c517db99652 ******/ %feature("compactdefaultargs") VOrder; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") VOrder; Standard_Integer VOrder(); @@ -3101,60 +3586,68 @@ int class AdvApp2Var_SysBase { public: class mitem {}; - /****************** AdvApp2Var_SysBase ******************/ - /**** md5 signature: 037dbb5c455e29c97a0cdd1615e8c69a ****/ + /****** AdvApp2Var_SysBase::AdvApp2Var_SysBase ******/ + /****** md5 signature: 037dbb5c455e29c97a0cdd1615e8c69a ******/ %feature("compactdefaultargs") AdvApp2Var_SysBase; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") AdvApp2Var_SysBase; AdvApp2Var_SysBase(); - /****************** do__fio ******************/ - /**** md5 signature: 2cf3b2f76e4397a39b6b26f1f24587d6 ****/ + /****** AdvApp2Var_SysBase::do__fio ******/ + /****** md5 signature: 2cf3b2f76e4397a39b6b26f1f24587d6 ******/ %feature("compactdefaultargs") do__fio; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") do__fio; static int do__fio(); - /****************** do__lio ******************/ - /**** md5 signature: 1aad0eab41f21d50ea885ddaf41bd76b ****/ + /****** AdvApp2Var_SysBase::do__lio ******/ + /****** md5 signature: 1aad0eab41f21d50ea885ddaf41bd76b ******/ %feature("compactdefaultargs") do__lio; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") do__lio; static int do__lio(); - /****************** macinit_ ******************/ - /**** md5 signature: b882f9f2083ffeb7a4d047c8c9eed173 ****/ + /****** AdvApp2Var_SysBase::macinit_ ******/ + /****** md5 signature: b882f9f2083ffeb7a4d047c8c9eed173 ******/ %feature("compactdefaultargs") macinit_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- : int * : int * -Returns +Return ------- int + +Description +----------- +No available documentation. ") macinit_; static int macinit_(int * , int * ); - /****************** macrai4_ ******************/ - /**** md5 signature: 0b82b8932cd90447e9719c6d0ea6770e ****/ + /****** AdvApp2Var_SysBase::macrai4_ ******/ + /****** md5 signature: 0b82b8932cd90447e9719c6d0ea6770e ******/ %feature("compactdefaultargs") macrai4_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- nbelem: integer * @@ -3163,17 +3656,20 @@ itablo: integer * iofset: intptr_t * iercod: integer * -Returns +Return ------- int + +Description +----------- +No available documentation. ") macrai4_; int macrai4_(integer * nbelem, integer * maxelm, integer * itablo, intptr_t * iofset, integer * iercod); - /****************** macrar8_ ******************/ - /**** md5 signature: 0fe325ba06bc2bb7a2a56adaadaef79f ****/ + /****** AdvApp2Var_SysBase::macrar8_ ******/ + /****** md5 signature: 0fe325ba06bc2bb7a2a56adaadaef79f ******/ %feature("compactdefaultargs") macrar8_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- nbelem: integer * @@ -3182,17 +3678,20 @@ xtablo: doublereal * iofset: intptr_t * iercod: integer * -Returns +Return ------- int + +Description +----------- +No available documentation. ") macrar8_; int macrar8_(integer * nbelem, integer * maxelm, doublereal * xtablo, intptr_t * iofset, integer * iercod); - /****************** macrdi4_ ******************/ - /**** md5 signature: adbf9dc4998d49cdeb9ec904ae5369d9 ****/ + /****** AdvApp2Var_SysBase::macrdi4_ ******/ + /****** md5 signature: adbf9dc4998d49cdeb9ec904ae5369d9 ******/ %feature("compactdefaultargs") macrdi4_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- nbelem: integer * @@ -3201,17 +3700,20 @@ itablo: integer * iofset: intptr_t * iercod: integer * -Returns +Return ------- int + +Description +----------- +No available documentation. ") macrdi4_; int macrdi4_(integer * nbelem, integer * maxelm, integer * itablo, intptr_t * iofset, integer * iercod); - /****************** macrdr8_ ******************/ - /**** md5 signature: 59c1de640359cc81a9ba0b28ba054a45 ****/ + /****** AdvApp2Var_SysBase::macrdr8_ ******/ + /****** md5 signature: 59c1de640359cc81a9ba0b28ba054a45 ******/ %feature("compactdefaultargs") macrdr8_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- nbelem: integer * @@ -3220,77 +3722,91 @@ xtablo: doublereal * iofset: intptr_t * iercod: integer * -Returns +Return ------- int + +Description +----------- +No available documentation. ") macrdr8_; int macrdr8_(integer * nbelem, integer * maxelm, doublereal * xtablo, intptr_t * iofset, integer * iercod); - /****************** maermsg_ ******************/ - /**** md5 signature: 3521f6514eb56f1d2efe552ec8bb7ef0 ****/ + /****** AdvApp2Var_SysBase::maermsg_ ******/ + /****** md5 signature: 3521f6514eb56f1d2efe552ec8bb7ef0 ******/ %feature("compactdefaultargs") maermsg_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- cnompg: char * icoder: integer * cnompg_len: ftnlen -Returns +Return ------- int + +Description +----------- +No available documentation. ") maermsg_; static int maermsg_(const char * cnompg, integer * icoder, ftnlen cnompg_len); - /****************** mainial_ ******************/ - /**** md5 signature: 22a172c01af47b94bac0122c7c454091 ****/ + /****** AdvApp2Var_SysBase::mainial_ ******/ + /****** md5 signature: 22a172c01af47b94bac0122c7c454091 ******/ %feature("compactdefaultargs") mainial_; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") mainial_; int mainial_(); - /****************** maitbr8_ ******************/ - /**** md5 signature: b9cb20c149f17c408909c17bd7b8ed49 ****/ + /****** AdvApp2Var_SysBase::maitbr8_ ******/ + /****** md5 signature: b9cb20c149f17c408909c17bd7b8ed49 ******/ %feature("compactdefaultargs") maitbr8_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- itaill: integer * xtab: doublereal * xval: doublereal * -Returns +Return ------- int + +Description +----------- +No available documentation. ") maitbr8_; static int maitbr8_(integer * itaill, doublereal * xtab, doublereal * xval); - /****************** maovsr8_ ******************/ - /**** md5 signature: 4ed73ca13a51d2c0e3c314b21da45c12 ****/ + /****** AdvApp2Var_SysBase::maovsr8_ ******/ + /****** md5 signature: 4ed73ca13a51d2c0e3c314b21da45c12 ******/ %feature("compactdefaultargs") maovsr8_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- ivalcs: integer * -Returns +Return ------- int + +Description +----------- +No available documentation. ") maovsr8_; static int maovsr8_(integer * ivalcs); - /****************** mcrdelt_ ******************/ - /**** md5 signature: 819c57c0f692a59c62677eb50adb81a4 ****/ + /****** AdvApp2Var_SysBase::mcrdelt_ ******/ + /****** md5 signature: 819c57c0f692a59c62677eb50adb81a4 ******/ %feature("compactdefaultargs") mcrdelt_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- iunit: integer * @@ -3299,34 +3815,40 @@ t: void * iofset: intptr_t * iercod: integer * -Returns +Return ------- int + +Description +----------- +No available documentation. ") mcrdelt_; int mcrdelt_(integer * iunit, integer * isize, void * t, intptr_t * iofset, integer * iercod); - /****************** mcrfill_ ******************/ - /**** md5 signature: be4b67960201d9ced29ceedc9f961ab3 ****/ + /****** AdvApp2Var_SysBase::mcrfill_ ******/ + /****** md5 signature: be4b67960201d9ced29ceedc9f961ab3 ******/ %feature("compactdefaultargs") mcrfill_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- size: integer * tin: void * tout: void * -Returns +Return ------- int + +Description +----------- +No available documentation. ") mcrfill_; static int mcrfill_(integer * size, void * tin, void * tout); - /****************** mcrrqst_ ******************/ - /**** md5 signature: 4679deece1dda86417c4beb0334c93cb ****/ + /****** AdvApp2Var_SysBase::mcrrqst_ ******/ + /****** md5 signature: 4679deece1dda86417c4beb0334c93cb ******/ %feature("compactdefaultargs") mcrrqst_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- iunit: integer * @@ -3335,134 +3857,161 @@ t: void * iofset: intptr_t * iercod: integer * -Returns +Return ------- int + +Description +----------- +No available documentation. ") mcrrqst_; int mcrrqst_(integer * iunit, integer * isize, void * t, intptr_t * iofset, integer * iercod); - /****************** mgenmsg_ ******************/ - /**** md5 signature: 1b59b230a367abddf3b9cd6a99b39487 ****/ + /****** AdvApp2Var_SysBase::mgenmsg_ ******/ + /****** md5 signature: 1b59b230a367abddf3b9cd6a99b39487 ******/ %feature("compactdefaultargs") mgenmsg_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- nomprg: char * nomprg_len: ftnlen -Returns +Return ------- int + +Description +----------- +No available documentation. ") mgenmsg_; static int mgenmsg_(const char * nomprg, ftnlen nomprg_len); - /****************** mgsomsg_ ******************/ - /**** md5 signature: 31f3734e692045616afd66e3f8757450 ****/ + /****** AdvApp2Var_SysBase::mgsomsg_ ******/ + /****** md5 signature: 31f3734e692045616afd66e3f8757450 ******/ %feature("compactdefaultargs") mgsomsg_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- nomprg: char * nomprg_len: ftnlen -Returns +Return ------- int + +Description +----------- +No available documentation. ") mgsomsg_; static int mgsomsg_(const char * nomprg, ftnlen nomprg_len); - /****************** miraz_ ******************/ - /**** md5 signature: 24a2a1e4b8fd6828d77f5010fa9d9f7f ****/ + /****** AdvApp2Var_SysBase::miraz_ ******/ + /****** md5 signature: 24a2a1e4b8fd6828d77f5010fa9d9f7f ******/ %feature("compactdefaultargs") miraz_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- taille: integer * adt: void * -Returns +Return ------- None + +Description +----------- +No available documentation. ") miraz_; static void miraz_(integer * taille, void * adt); - /****************** mnfndeb_ ******************/ - /**** md5 signature: e206e56e1443aff338ea92ec4b50fe55 ****/ + /****** AdvApp2Var_SysBase::mnfndeb_ ******/ + /****** md5 signature: e206e56e1443aff338ea92ec4b50fe55 ******/ %feature("compactdefaultargs") mnfndeb_; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- integer + +Description +----------- +No available documentation. ") mnfndeb_; static integer mnfndeb_(); - /****************** msifill_ ******************/ - /**** md5 signature: b3303f70cf7f1647dd193e2d74bb0381 ****/ + /****** AdvApp2Var_SysBase::msifill_ ******/ + /****** md5 signature: b3303f70cf7f1647dd193e2d74bb0381 ******/ %feature("compactdefaultargs") msifill_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- nbintg: integer * ivecin: integer * ivecou: integer * -Returns +Return ------- int + +Description +----------- +No available documentation. ") msifill_; static int msifill_(integer * nbintg, integer * ivecin, integer * ivecou); - /****************** msrfill_ ******************/ - /**** md5 signature: 4da81a3e2f58e8e272de26cef456ca5c ****/ + /****** AdvApp2Var_SysBase::msrfill_ ******/ + /****** md5 signature: 4da81a3e2f58e8e272de26cef456ca5c ******/ %feature("compactdefaultargs") msrfill_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- nbreel: integer * vecent: doublereal * vecsor: doublereal * -Returns +Return ------- int + +Description +----------- +No available documentation. ") msrfill_; static int msrfill_(integer * nbreel, doublereal * vecent, doublereal * vecsor); - /****************** mswrdbg_ ******************/ - /**** md5 signature: b893a114fc87aec8b4d99925d2ba32a0 ****/ + /****** AdvApp2Var_SysBase::mswrdbg_ ******/ + /****** md5 signature: b893a114fc87aec8b4d99925d2ba32a0 ******/ %feature("compactdefaultargs") mswrdbg_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- ctexte: char * ctexte_len: ftnlen -Returns +Return ------- int + +Description +----------- +No available documentation. ") mswrdbg_; static int mswrdbg_(const char * ctexte, ftnlen ctexte_len); - /****************** mvriraz_ ******************/ - /**** md5 signature: 50aaf265d23e4b6465b101662340699b ****/ + /****** AdvApp2Var_SysBase::mvriraz_ ******/ + /****** md5 signature: 50aaf265d23e4b6465b101662340699b ******/ %feature("compactdefaultargs") mvriraz_; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- taille: integer * adt: void * -Returns +Return ------- None + +Description +----------- +No available documentation. ") mvriraz_; static void mvriraz_(integer * taille, void * adt); @@ -3475,6 +4024,36 @@ None } }; +/****************** +* class Multitype * +******************/ +/***************** +* class Namelist * +*****************/ +/**************** +* class Vardesc * +****************/ +/************** +* class alist * +**************/ +/*************** +* class cilist * +***************/ +/*************** +* class cllist * +***************/ +/**************** +* class complex * +****************/ +/********************** +* class doublecomplex * +**********************/ +/**************** +* class icilist * +****************/ +/*************** +* class inlist * +***************/ /******************* * class maovpar_1_ * *******************/ @@ -3508,6 +4087,9 @@ None /******************* * class mmjcobi_1_ * *******************/ +/************** +* class olist * +**************/ /* python proxy for excluded classes */ %pythoncode { @classnotwrapped @@ -3526,3 +4108,50 @@ class AdvApp2Var_Iso: /* class aliases */ %pythoncode { } +/* deprecated methods */ +%pythoncode { +@deprecated +def AdvApp2Var_Data_Getmaovpar(*args): + return AdvApp2Var_Data.Getmaovpar(*args) + +@deprecated +def AdvApp2Var_Data_Getmaovpch(*args): + return AdvApp2Var_Data.Getmaovpch(*args) + +@deprecated +def AdvApp2Var_Data_Getmdnombr(*args): + return AdvApp2Var_Data.Getmdnombr(*args) + +@deprecated +def AdvApp2Var_Data_Getminombr(*args): + return AdvApp2Var_Data.Getminombr(*args) + +@deprecated +def AdvApp2Var_Data_Getmlgdrtl(*args): + return AdvApp2Var_Data.Getmlgdrtl(*args) + +@deprecated +def AdvApp2Var_Data_Getmmapgs0(*args): + return AdvApp2Var_Data.Getmmapgs0(*args) + +@deprecated +def AdvApp2Var_Data_Getmmapgs1(*args): + return AdvApp2Var_Data.Getmmapgs1(*args) + +@deprecated +def AdvApp2Var_Data_Getmmapgs2(*args): + return AdvApp2Var_Data.Getmmapgs2(*args) + +@deprecated +def AdvApp2Var_Data_Getmmapgss(*args): + return AdvApp2Var_Data.Getmmapgss(*args) + +@deprecated +def AdvApp2Var_Data_Getmmcmcnp(*args): + return AdvApp2Var_Data.Getmmcmcnp(*args) + +@deprecated +def AdvApp2Var_Data_Getmmjcobi(*args): + return AdvApp2Var_Data.Getmmjcobi(*args) + +} diff --git a/src/SWIG_files/wrapper/AdvApp2Var.pyi b/src/SWIG_files/wrapper/AdvApp2Var.pyi index 0a5ad7031..8a890da1f 100644 --- a/src/SWIG_files/wrapper/AdvApp2Var.pyi +++ b/src/SWIG_files/wrapper/AdvApp2Var.pyi @@ -10,352 +10,789 @@ from OCC.Core.Geom import * from OCC.Core.gp import * from OCC.Core.TColgp import * +C_f = NewType("C_f", None) +E_f = NewType("E_f", float) +H_f = NewType("H_f", None) +# the following typedef cannot be wrapped as is +Multitype = NewType("Multitype", Any) +# the following typedef cannot be wrapped as is +Namelist = NewType("Namelist", Any) +# the following typedef cannot be wrapped as is +Vardesc = NewType("Vardesc", Any) +Z_f = NewType("Z_f", None) +address = NewType("address", str) +doublereal = NewType("doublereal", float) +flag = NewType("flag", int) +ftnint = NewType("ftnint", int) +ftnlen = NewType("ftnlen", int) +integer = NewType("integer", int) +integer1 = NewType("integer1", str) +logical = NewType("logical", int) +logical1 = NewType("logical1", str) +longint = NewType("longint", int) +real = NewType("real", float) +shortint = NewType("shortint", int) +shortlogical = NewType("shortlogical", int) +uinteger = NewType("uinteger", int) +ulongint = NewType("ulongint", int) class AdvApp2Var_SequenceOfNode: - def __init__(self) -> None: ... - def __len__(self) -> int: ... - def Size(self) -> int: ... + def Assign(self, theItem: False) -> False: ... def Clear(self) -> None: ... def First(self) -> False: ... + def IsDeletables(self) -> bool: ... + def IsEmpty(self) -> bool: ... def Last(self) -> False: ... def Length(self) -> int: ... - def Append(self, theItem: False) -> False: ... + def Lower(self) -> int: ... def Prepend(self, theItem: False) -> False: ... def RemoveFirst(self) -> None: ... def Reverse(self) -> None: ... - def Value(self, theIndex: int) -> False: ... def SetValue(self, theIndex: int, theValue: False) -> None: ... - -class AdvApp2Var_SequenceOfPatch: + def Size(self) -> int: ... + def UpdateUpperBound(self, int) -> None: ... + def UpdateLowerBound(self, int) -> None: ... + def Upper(self) -> int: ... + def Value(self, theIndex: int) -> False: ... def __init__(self) -> None: ... def __len__(self) -> int: ... - def Size(self) -> int: ... + +class AdvApp2Var_SequenceOfPatch: + def Assign(self, theItem: False) -> False: ... def Clear(self) -> None: ... def First(self) -> False: ... + def IsDeletables(self) -> bool: ... + def IsEmpty(self) -> bool: ... def Last(self) -> False: ... def Length(self) -> int: ... - def Append(self, theItem: False) -> False: ... + def Lower(self) -> int: ... def Prepend(self, theItem: False) -> False: ... def RemoveFirst(self) -> None: ... def Reverse(self) -> None: ... - def Value(self, theIndex: int) -> False: ... def SetValue(self, theIndex: int, theValue: False) -> None: ... - -class AdvApp2Var_SequenceOfStrip: + def Size(self) -> int: ... + def UpdateUpperBound(self, int) -> None: ... + def UpdateLowerBound(self, int) -> None: ... + def Upper(self) -> int: ... + def Value(self, theIndex: int) -> False: ... def __init__(self) -> None: ... def __len__(self) -> int: ... - def Size(self) -> int: ... + +class AdvApp2Var_SequenceOfStrip: + def Assign(self, theItem: AdvApp2Var_Strip) -> AdvApp2Var_Strip: ... def Clear(self) -> None: ... def First(self) -> AdvApp2Var_Strip: ... + def IsDeletables(self) -> bool: ... + def IsEmpty(self) -> bool: ... def Last(self) -> AdvApp2Var_Strip: ... def Length(self) -> int: ... - def Append(self, theItem: AdvApp2Var_Strip) -> AdvApp2Var_Strip: ... + def Lower(self) -> int: ... def Prepend(self, theItem: AdvApp2Var_Strip) -> AdvApp2Var_Strip: ... def RemoveFirst(self) -> None: ... def Reverse(self) -> None: ... - def Value(self, theIndex: int) -> AdvApp2Var_Strip: ... def SetValue(self, theIndex: int, theValue: AdvApp2Var_Strip) -> None: ... - -class AdvApp2Var_Strip: + def Size(self) -> int: ... + def UpdateUpperBound(self, int) -> None: ... + def UpdateLowerBound(self, int) -> None: ... + def Upper(self) -> int: ... + def Value(self, theIndex: int) -> AdvApp2Var_Strip: ... def __init__(self) -> None: ... def __len__(self) -> int: ... - def Size(self) -> int: ... + +class AdvApp2Var_Strip: + def Assign(self, theItem: False) -> False: ... def Clear(self) -> None: ... def First(self) -> False: ... + def IsDeletables(self) -> bool: ... + def IsEmpty(self) -> bool: ... def Last(self) -> False: ... def Length(self) -> int: ... - def Append(self, theItem: False) -> False: ... + def Lower(self) -> int: ... def Prepend(self, theItem: False) -> False: ... def RemoveFirst(self) -> None: ... def Reverse(self) -> None: ... - def Value(self, theIndex: int) -> False: ... def SetValue(self, theIndex: int, theValue: False) -> None: ... + def Size(self) -> int: ... + def UpdateUpperBound(self, int) -> None: ... + def UpdateLowerBound(self, int) -> None: ... + def Upper(self) -> int: ... + def Value(self, theIndex: int) -> False: ... + def __init__(self) -> None: ... + def __len__(self) -> int: ... class AdvApp2Var_CriterionRepartition(IntEnum): - AdvApp2Var_Regular: int = ... - AdvApp2Var_Incremental: int = ... + AdvApp2Var_Regular: int = ... + AdvApp2Var_Incremental: int = ... + AdvApp2Var_Regular = AdvApp2Var_CriterionRepartition.AdvApp2Var_Regular AdvApp2Var_Incremental = AdvApp2Var_CriterionRepartition.AdvApp2Var_Incremental class AdvApp2Var_CriterionType(IntEnum): - AdvApp2Var_Absolute: int = ... - AdvApp2Var_Relative: int = ... + AdvApp2Var_Absolute: int = ... + AdvApp2Var_Relative: int = ... + AdvApp2Var_Absolute = AdvApp2Var_CriterionType.AdvApp2Var_Absolute AdvApp2Var_Relative = AdvApp2Var_CriterionType.AdvApp2Var_Relative class AdvApp2Var_ApproxAFunc2Var: - @overload - def __init__(self, Num1DSS: int, Num2DSS: int, Num3DSS: int, OneDTol: TColStd_HArray1OfReal, TwoDTol: TColStd_HArray1OfReal, ThreeDTol: TColStd_HArray1OfReal, OneDTolFr: TColStd_HArray2OfReal, TwoDTolFr: TColStd_HArray2OfReal, ThreeDTolFr: TColStd_HArray2OfReal, FirstInU: float, LastInU: float, FirstInV: float, LastInV: float, FavorIso: GeomAbs_IsoType, ContInU: GeomAbs_Shape, ContInV: GeomAbs_Shape, PrecisCode: int, MaxDegInU: int, MaxDegInV: int, MaxPatch: int, Func: AdvApp2Var_EvaluatorFunc2Var, UChoice: AdvApprox_Cutting, VChoice: AdvApprox_Cutting) -> None: ... - @overload - def __init__(self, Num1DSS: int, Num2DSS: int, Num3DSS: int, OneDTol: TColStd_HArray1OfReal, TwoDTol: TColStd_HArray1OfReal, ThreeDTol: TColStd_HArray1OfReal, OneDTolFr: TColStd_HArray2OfReal, TwoDTolFr: TColStd_HArray2OfReal, ThreeDTolFr: TColStd_HArray2OfReal, FirstInU: float, LastInU: float, FirstInV: float, LastInV: float, FavorIso: GeomAbs_IsoType, ContInU: GeomAbs_Shape, ContInV: GeomAbs_Shape, PrecisCode: int, MaxDegInU: int, MaxDegInV: int, MaxPatch: int, Func: AdvApp2Var_EvaluatorFunc2Var, Crit: AdvApp2Var_Criterion, UChoice: AdvApprox_Cutting, VChoice: AdvApprox_Cutting) -> None: ... - @overload - def AverageError(self, Dimension: int) -> TColStd_HArray1OfReal: ... - @overload - def AverageError(self, Dimension: int, Index: int) -> float: ... - def CritError(self, Dimension: int, Index: int) -> float: ... - def HasResult(self) -> bool: ... - def IsDone(self) -> bool: ... - @overload - def MaxError(self, Dimension: int) -> TColStd_HArray1OfReal: ... - @overload - def MaxError(self, Dimension: int, Index: int) -> float: ... - def NumSubSpaces(self, Dimension: int) -> int: ... - def Surface(self, Index: int) -> Geom_BSplineSurface: ... - def UDegree(self) -> int: ... - @overload - def UFrontError(self, Dimension: int) -> TColStd_HArray1OfReal: ... - @overload - def UFrontError(self, Dimension: int, Index: int) -> float: ... - def VDegree(self) -> int: ... - @overload - def VFrontError(self, Dimension: int) -> TColStd_HArray1OfReal: ... - @overload - def VFrontError(self, Dimension: int, Index: int) -> float: ... + @overload + def __init__( + self, + Num1DSS: int, + Num2DSS: int, + Num3DSS: int, + OneDTol: TColStd_HArray1OfReal, + TwoDTol: TColStd_HArray1OfReal, + ThreeDTol: TColStd_HArray1OfReal, + OneDTolFr: TColStd_HArray2OfReal, + TwoDTolFr: TColStd_HArray2OfReal, + ThreeDTolFr: TColStd_HArray2OfReal, + FirstInU: float, + LastInU: float, + FirstInV: float, + LastInV: float, + FavorIso: GeomAbs_IsoType, + ContInU: GeomAbs_Shape, + ContInV: GeomAbs_Shape, + PrecisCode: int, + MaxDegInU: int, + MaxDegInV: int, + MaxPatch: int, + Func: AdvApp2Var_EvaluatorFunc2Var, + UChoice: AdvApprox_Cutting, + VChoice: AdvApprox_Cutting, + ) -> None: ... + @overload + def __init__( + self, + Num1DSS: int, + Num2DSS: int, + Num3DSS: int, + OneDTol: TColStd_HArray1OfReal, + TwoDTol: TColStd_HArray1OfReal, + ThreeDTol: TColStd_HArray1OfReal, + OneDTolFr: TColStd_HArray2OfReal, + TwoDTolFr: TColStd_HArray2OfReal, + ThreeDTolFr: TColStd_HArray2OfReal, + FirstInU: float, + LastInU: float, + FirstInV: float, + LastInV: float, + FavorIso: GeomAbs_IsoType, + ContInU: GeomAbs_Shape, + ContInV: GeomAbs_Shape, + PrecisCode: int, + MaxDegInU: int, + MaxDegInV: int, + MaxPatch: int, + Func: AdvApp2Var_EvaluatorFunc2Var, + Crit: AdvApp2Var_Criterion, + UChoice: AdvApprox_Cutting, + VChoice: AdvApprox_Cutting, + ) -> None: ... + @overload + def AverageError(self, Dimension: int) -> TColStd_HArray1OfReal: ... + @overload + def AverageError(self, Dimension: int, Index: int) -> float: ... + def CritError(self, Dimension: int, Index: int) -> float: ... + def Dump(self) -> str: ... + def HasResult(self) -> bool: ... + def IsDone(self) -> bool: ... + @overload + def MaxError(self, Dimension: int) -> TColStd_HArray1OfReal: ... + @overload + def MaxError(self, Dimension: int, Index: int) -> float: ... + def NumSubSpaces(self, Dimension: int) -> int: ... + def Surface(self, Index: int) -> Geom_BSplineSurface: ... + def UDegree(self) -> int: ... + @overload + def UFrontError(self, Dimension: int) -> TColStd_HArray1OfReal: ... + @overload + def UFrontError(self, Dimension: int, Index: int) -> float: ... + def VDegree(self) -> int: ... + @overload + def VFrontError(self, Dimension: int) -> TColStd_HArray1OfReal: ... + @overload + def VFrontError(self, Dimension: int, Index: int) -> float: ... class AdvApp2Var_ApproxF2var: - pass + @staticmethod + def mma2cdi_( + ndimen: int, + nbpntu: int, + urootl: float, + nbpntv: int, + vrootl: float, + iordru: int, + iordrv: int, + contr1: float, + contr2: float, + contr3: float, + contr4: float, + sotbu1: float, + sotbu2: float, + ditbu1: float, + ditbu2: float, + sotbv1: float, + sotbv2: float, + ditbv1: float, + ditbv2: float, + sosotb: float, + soditb: float, + disotb: float, + diditb: float, + iercod: int, + ) -> int: ... + @staticmethod + def mma2ce1_( + numdec: int, + ndimen: int, + nbsesp: int, + ndimse: int, + ndminu: int, + ndminv: int, + ndguli: int, + ndgvli: int, + ndjacu: int, + ndjacv: int, + iordru: int, + iordrv: int, + nbpntu: int, + nbpntv: int, + epsapr: float, + sosotb: float, + disotb: float, + soditb: float, + diditb: float, + patjac: float, + errmax: float, + errmoy: float, + ndegpu: int, + ndegpv: int, + itydec: int, + iercod: int, + ) -> int: ... + @staticmethod + def mma2ds1_( + ndimen: int, + uintfn: float, + vintfn: float, + foncnp: AdvApp2Var_EvaluatorFunc2Var, + nbpntu: int, + nbpntv: int, + urootb: float, + vrootb: float, + isofav: int, + sosotb: float, + disotb: float, + soditb: float, + diditb: float, + fpntab: float, + ttable: float, + iercod: int, + ) -> int: ... + @staticmethod + def mma2fnc_( + ndimen: int, + nbsesp: int, + ndimse: int, + uvfonc: float, + foncnp: AdvApp2Var_EvaluatorFunc2Var, + tconst: float, + isofav: int, + nbroot: int, + rootlg: float, + iordre: int, + ideriv: int, + ndgjac: int, + nbcrmx: int, + ncflim: int, + epsapr: float, + ncoeff: int, + courbe: float, + nbcrbe: int, + somtab: float, + diftab: float, + contr1: float, + contr2: float, + tabdec: float, + errmax: float, + errmoy: float, + iercod: int, + ) -> int: ... + @staticmethod + def mma2fx6_( + ncfmxu: int, + ncfmxv: int, + ndimen: int, + nbsesp: int, + ndimse: int, + nbupat: int, + nbvpat: int, + iordru: int, + iordrv: int, + epsapr: float, + epsfro: float, + patcan: float, + errmax: float, + ncoefu: int, + ncoefv: int, + ) -> int: ... + @staticmethod + def mma2jmx_(ndgjac: int, iordre: int, xjacmx: float) -> int: ... + @staticmethod + def mma2roo_(nbpntu: int, nbpntv: int, urootl: float, vrootl: float) -> int: ... class AdvApp2Var_Context: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, ifav: int, iu: int, iv: int, nlimu: int, nlimv: int, iprecis: int, nb1Dss: int, nb2Dss: int, nb3Dss: int, tol1D: TColStd_HArray1OfReal, tol2D: TColStd_HArray1OfReal, tol3D: TColStd_HArray1OfReal, tof1D: TColStd_HArray2OfReal, tof2D: TColStd_HArray2OfReal, tof3D: TColStd_HArray2OfReal) -> None: ... - def CToler(self) -> TColStd_HArray2OfReal: ... - def FToler(self) -> TColStd_HArray2OfReal: ... - def FavorIso(self) -> int: ... - def IToler(self) -> TColStd_HArray1OfReal: ... - def TotalDimension(self) -> int: ... - def TotalNumberSSP(self) -> int: ... - def UGauss(self) -> TColStd_HArray1OfReal: ... - def UJacDeg(self) -> int: ... - def UJacMax(self) -> TColStd_HArray1OfReal: ... - def ULimit(self) -> int: ... - def UOrder(self) -> int: ... - def URoots(self) -> TColStd_HArray1OfReal: ... - def VGauss(self) -> TColStd_HArray1OfReal: ... - def VJacDeg(self) -> int: ... - def VJacMax(self) -> TColStd_HArray1OfReal: ... - def VLimit(self) -> int: ... - def VOrder(self) -> int: ... - def VRoots(self) -> TColStd_HArray1OfReal: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__( + self, + ifav: int, + iu: int, + iv: int, + nlimu: int, + nlimv: int, + iprecis: int, + nb1Dss: int, + nb2Dss: int, + nb3Dss: int, + tol1D: TColStd_HArray1OfReal, + tol2D: TColStd_HArray1OfReal, + tol3D: TColStd_HArray1OfReal, + tof1D: TColStd_HArray2OfReal, + tof2D: TColStd_HArray2OfReal, + tof3D: TColStd_HArray2OfReal, + ) -> None: ... + def CToler(self) -> TColStd_HArray2OfReal: ... + def FToler(self) -> TColStd_HArray2OfReal: ... + def FavorIso(self) -> int: ... + def IToler(self) -> TColStd_HArray1OfReal: ... + def TotalDimension(self) -> int: ... + def TotalNumberSSP(self) -> int: ... + def UGauss(self) -> TColStd_HArray1OfReal: ... + def UJacDeg(self) -> int: ... + def UJacMax(self) -> TColStd_HArray1OfReal: ... + def ULimit(self) -> int: ... + def UOrder(self) -> int: ... + def URoots(self) -> TColStd_HArray1OfReal: ... + def VGauss(self) -> TColStd_HArray1OfReal: ... + def VJacDeg(self) -> int: ... + def VJacMax(self) -> TColStd_HArray1OfReal: ... + def VLimit(self) -> int: ... + def VOrder(self) -> int: ... + def VRoots(self) -> TColStd_HArray1OfReal: ... class AdvApp2Var_Criterion: - def IsSatisfied(self, P: AdvApp2Var_Patch) -> bool: ... - def MaxValue(self) -> float: ... - def Repartition(self) -> AdvApp2Var_CriterionRepartition: ... - def Type(self) -> AdvApp2Var_CriterionType: ... - def Value(self, P: AdvApp2Var_Patch, C: AdvApp2Var_Context) -> None: ... + def IsSatisfied(self, P: AdvApp2Var_Patch) -> bool: ... + def MaxValue(self) -> float: ... + def Repartition(self) -> AdvApp2Var_CriterionRepartition: ... + def Type(self) -> AdvApp2Var_CriterionType: ... + def Value(self, P: AdvApp2Var_Patch, C: AdvApp2Var_Context) -> None: ... class AdvApp2Var_Data: - @staticmethod - def Getmaovpar() -> False: ... - @staticmethod - def Getmaovpch() -> False: ... - @staticmethod - def Getmdnombr() -> False: ... - @staticmethod - def Getminombr() -> False: ... - @staticmethod - def Getmlgdrtl() -> False: ... - @staticmethod - def Getmmapgs0() -> False: ... - @staticmethod - def Getmmapgs1() -> False: ... - @staticmethod - def Getmmapgs2() -> False: ... - @staticmethod - def Getmmapgss() -> False: ... - @staticmethod - def Getmmcmcnp() -> False: ... - @staticmethod - def Getmmjcobi() -> False: ... + @staticmethod + def Getmaovpar() -> False: ... + @staticmethod + def Getmaovpch() -> False: ... + @staticmethod + def Getmdnombr() -> False: ... + @staticmethod + def Getminombr() -> False: ... + @staticmethod + def Getmlgdrtl() -> False: ... + @staticmethod + def Getmmapgs0() -> False: ... + @staticmethod + def Getmmapgs1() -> False: ... + @staticmethod + def Getmmapgs2() -> False: ... + @staticmethod + def Getmmapgss() -> False: ... + @staticmethod + def Getmmcmcnp() -> False: ... + @staticmethod + def Getmmjcobi() -> False: ... class AdvApp2Var_Framework: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, Frame: AdvApp2Var_SequenceOfNode, UFrontier: AdvApp2Var_SequenceOfStrip, VFrontier: AdvApp2Var_SequenceOfStrip) -> None: ... - def ChangeIso(self, IndexIso: int, IndexStrip: int, anIso: AdvApp2Var_Iso) -> None: ... - def FirstNode(self, Type: GeomAbs_IsoType, IndexIso: int, IndexStrip: int) -> int: ... - def FirstNotApprox(self) -> Tuple[AdvApp2Var_Iso, int, int]: ... - def IsoU(self, U: float, V0: float, V1: float) -> AdvApp2Var_Iso: ... - def IsoV(self, U0: float, U1: float, V: float) -> AdvApp2Var_Iso: ... - def LastNode(self, Type: GeomAbs_IsoType, IndexIso: int, IndexStrip: int) -> int: ... - @overload - def Node(self, IndexNode: int) -> AdvApp2Var_Node: ... - @overload - def Node(self, U: float, V: float) -> AdvApp2Var_Node: ... - def UEquation(self, IndexIso: int, IndexStrip: int) -> TColStd_HArray1OfReal: ... - def UpdateInU(self, CuttingValue: float) -> None: ... - def UpdateInV(self, CuttingValue: float) -> None: ... - def VEquation(self, IndexIso: int, IndexStrip: int) -> TColStd_HArray1OfReal: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__( + self, + Frame: AdvApp2Var_SequenceOfNode, + UFrontier: AdvApp2Var_SequenceOfStrip, + VFrontier: AdvApp2Var_SequenceOfStrip, + ) -> None: ... + def ChangeIso( + self, IndexIso: int, IndexStrip: int, anIso: AdvApp2Var_Iso + ) -> None: ... + def FirstNode( + self, Type: GeomAbs_IsoType, IndexIso: int, IndexStrip: int + ) -> int: ... + def FirstNotApprox(self) -> Tuple[AdvApp2Var_Iso, int, int]: ... + def IsoU(self, U: float, V0: float, V1: float) -> AdvApp2Var_Iso: ... + def IsoV(self, U0: float, U1: float, V: float) -> AdvApp2Var_Iso: ... + def LastNode( + self, Type: GeomAbs_IsoType, IndexIso: int, IndexStrip: int + ) -> int: ... + @overload + def Node(self, IndexNode: int) -> AdvApp2Var_Node: ... + @overload + def Node(self, U: float, V: float) -> AdvApp2Var_Node: ... + def UEquation(self, IndexIso: int, IndexStrip: int) -> TColStd_HArray1OfReal: ... + def UpdateInU(self, CuttingValue: float) -> None: ... + def UpdateInV(self, CuttingValue: float) -> None: ... + def VEquation(self, IndexIso: int, IndexStrip: int) -> TColStd_HArray1OfReal: ... class AdvApp2Var_MathBase: - pass + @staticmethod + def mdsptpt_(ndimen: int, point1: float, point2: float, distan: float) -> int: ... + @staticmethod + def mmaperx_( + ncofmx: int, + ndimen: int, + ncoeff: int, + iordre: int, + crvjac: float, + ncfnew: int, + ycvmax: float, + errmax: float, + iercod: int, + ) -> int: ... + @staticmethod + def mmarcin_( + ndimax: int, + ndim: int, + ncoeff: int, + crvold: float, + u0: float, + u1: float, + crvnew: float, + iercod: int, + ) -> int: ... + @staticmethod + def mmbulld_(nbcoln: int, nblign: int, dtabtr: float, numcle: int) -> int: ... + @staticmethod + def mmcdriv_( + ndimen: int, ncoeff: int, courbe: float, ideriv: int, ncofdv: int, crvdrv: float + ) -> int: ... + @staticmethod + def mmcglc1_( + ndimax: int, + ndimen: int, + ncoeff: int, + courbe: float, + tdebut: float, + tfinal: float, + epsiln: float, + xlongc: float, + erreur: float, + iercod: int, + ) -> int: ... + @staticmethod + def mmcvctx_( + ndimen: int, + ncofmx: int, + nderiv: int, + ctrtes: float, + crvres: float, + tabaux: float, + xmatri: float, + iercod: int, + ) -> int: ... + @staticmethod + def mmcvinv_( + ndimax: int, ncoef: int, ndim: int, curveo: float, curve: float + ) -> int: ... + @staticmethod + def mmdrvck_( + ncoeff: int, + ndimen: int, + courbe: float, + ideriv: int, + tparam: float, + pntcrb: float, + ) -> int: ... + @staticmethod + def mmeps1_(epsilo: float) -> int: ... + @staticmethod + def mmfmca8_( + ndimen: int, + ncoefu: int, + ncoefv: int, + ndimax: int, + ncfumx: int, + ncfvmx: int, + tabini: float, + tabres: float, + ) -> int: ... + @staticmethod + def mmfmcar_( + ndimen: int, + ncofmx: int, + ncoefu: int, + ncoefv: int, + patold: float, + upara1: float, + upara2: float, + vpara1: float, + vpara2: float, + patnew: float, + iercod: int, + ) -> int: ... + @staticmethod + def mmfmtb1_( + maxsz1: int, + table1: float, + isize1: int, + jsize1: int, + maxsz2: int, + table2: float, + isize2: int, + jsize2: int, + iercod: int, + ) -> int: ... + @staticmethod + def mmhjcan_( + ndimen: int, + ncourb: int, + ncftab: int, + orcont: int, + ncflim: int, + tcbold: float, + tdecop: float, + tcbnew: float, + iercod: int, + ) -> int: ... + @staticmethod + def mminltt_( + ncolmx: int, + nlgnmx: int, + tabtri: float, + nbrcol: int, + nbrlgn: int, + ajoute: float, + epseg: float, + iercod: int, + ) -> int: ... + @staticmethod + def mmjacan_(ideriv: int, ndeg: int, poljac: float, polcan: float) -> int: ... + @staticmethod + def mmjaccv_( + ncoef: int, ndim: int, ider: int, crvlgd: float, polaux: float, crvcan: float + ) -> int: ... + @staticmethod + def mmmpocur_( + ncofmx: int, ndim: int, ndeg: int, courbe: float, tparam: float, tabval: float + ) -> int: ... + @staticmethod + def mmmrslwd_( + normax: int, + nordre: int, + ndim: int, + amat: float, + bmat: float, + epspiv: float, + aaux: float, + xmat: float, + iercod: int, + ) -> int: ... + @staticmethod + def mmpobas_( + tparam: float, iordre: int, ncoeff: int, nderiv: int, valbas: float, iercod: int + ) -> int: ... + @staticmethod + def mmpocrb_( + ndimax: int, ncoeff: int, courbe: float, ndim: int, tparam: float, pntcrb: float + ) -> int: ... + @staticmethod + def mmposui_( + dimmat: int, nistoc: int, aposit: int, posuiv: int, iercod: int + ) -> int: ... + @staticmethod + def mmresol_( + hdimen: int, + gdimen: int, + hnstoc: int, + gnstoc: int, + mnstoc: int, + matsyh: float, + matsyg: float, + vecsyh: float, + vecsyg: float, + hposit: int, + hposui: int, + gposit: int, + mmposui: int, + mposit: int, + vecsol: float, + iercod: int, + ) -> int: ... + @staticmethod + def mmrtptt_(ndglgd: int, rtlegd: float) -> int: ... + @staticmethod + def mmsrre2_( + tparam: float, + nbrval: int, + tablev: float, + epsil: float, + numint: int, + itypen: int, + iercod: int, + ) -> int: ... + @staticmethod + def mmtrpjj_( + ncofmx: int, + ndimen: int, + ncoeff: int, + epsi3d: float, + iordre: int, + crvlgd: float, + ycvmax: float, + errmax: float, + ncfnew: int, + ) -> int: ... + @staticmethod + def mmunivt_( + ndimen: int, vector: float, vecnrm: float, epsiln: float, iercod: int + ) -> int: ... + @staticmethod + def mmveps3_(eps03: float) -> int: ... + @staticmethod + def mmvncol_(ndimen: int, vecin: float, vecout: float, iercod: int) -> int: ... + @staticmethod + def msc_(ndimen: int, vecte1: float, vecte2: float) -> float: ... + @staticmethod + def mvsheld_(n: int, is_: int, dtab: float, icle: int) -> int: ... + @staticmethod + def mzsnorm_(ndimen: int, vecteu: float) -> float: ... + @staticmethod + def pow__di(x: float, n: int) -> float: ... class AdvApp2Var_Network: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, Net: AdvApp2Var_SequenceOfPatch, TheU: TColStd_SequenceOfReal, TheV: TColStd_SequenceOfReal) -> None: ... - def ChangePatch(self, Index: int) -> AdvApp2Var_Patch: ... - def FirstNotApprox(self) -> Tuple[bool, int]: ... - def NbPatch(self) -> int: ... - def NbPatchInU(self) -> int: ... - def NbPatchInV(self) -> int: ... - def Patch(self, UIndex: int, VIndex: int) -> AdvApp2Var_Patch: ... - def SameDegree(self, iu: int, iv: int) -> Tuple[int, int]: ... - def UParameter(self, Index: int) -> float: ... - def UpdateInU(self, CuttingValue: float) -> None: ... - def UpdateInV(self, CuttingValue: float) -> None: ... - def VParameter(self, Index: int) -> float: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__( + self, + Net: AdvApp2Var_SequenceOfPatch, + TheU: TColStd_SequenceOfReal, + TheV: TColStd_SequenceOfReal, + ) -> None: ... + def ChangePatch(self, Index: int) -> AdvApp2Var_Patch: ... + def FirstNotApprox(self) -> Tuple[bool, int]: ... + def NbPatch(self) -> int: ... + def NbPatchInU(self) -> int: ... + def NbPatchInV(self) -> int: ... + def Patch(self, UIndex: int, VIndex: int) -> AdvApp2Var_Patch: ... + def SameDegree(self, iu: int, iv: int) -> Tuple[int, int]: ... + def UParameter(self, Index: int) -> float: ... + def UpdateInU(self, CuttingValue: float) -> None: ... + def UpdateInV(self, CuttingValue: float) -> None: ... + def VParameter(self, Index: int) -> float: ... class AdvApp2Var_Node(Standard_Transient): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, iu: int, iv: int) -> None: ... - @overload - def __init__(self, UV: gp_XY, iu: int, iv: int) -> None: ... - def Coord(self) -> gp_XY: ... - def Error(self, iu: int, iv: int) -> float: ... - def Point(self, iu: int, iv: int) -> gp_Pnt: ... - def SetCoord(self, x1: float, x2: float) -> None: ... - def SetError(self, iu: int, iv: int, error: float) -> None: ... - def SetPoint(self, iu: int, iv: int, Pt: gp_Pnt) -> None: ... - def UOrder(self) -> int: ... - def VOrder(self) -> int: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, iu: int, iv: int) -> None: ... + @overload + def __init__(self, UV: gp_XY, iu: int, iv: int) -> None: ... + def Coord(self) -> gp_XY: ... + def Error(self, iu: int, iv: int) -> float: ... + def Point(self, iu: int, iv: int) -> gp_Pnt: ... + def SetCoord(self, x1: float, x2: float) -> None: ... + def SetError(self, iu: int, iv: int, error: float) -> None: ... + def SetPoint(self, iu: int, iv: int, Pt: gp_Pnt) -> None: ... + def UOrder(self) -> int: ... + def VOrder(self) -> int: ... class AdvApp2Var_Patch(Standard_Transient): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, U0: float, U1: float, V0: float, V1: float, iu: int, iv: int) -> None: ... - def AddConstraints(self, Conditions: AdvApp2Var_Context, Constraints: AdvApp2Var_Framework) -> None: ... - def AddErrors(self, Constraints: AdvApp2Var_Framework) -> None: ... - def AverageErrors(self) -> TColStd_HArray1OfReal: ... - def ChangeDomain(self, a: float, b: float, c: float, d: float) -> None: ... - def ChangeNbCoeff(self, NbCoeffU: int, NbCoeffV: int) -> None: ... - def Coefficients(self, SSPIndex: int, Conditions: AdvApp2Var_Context) -> TColStd_HArray1OfReal: ... - def CritValue(self) -> float: ... - @overload - def CutSense(self) -> int: ... - @overload - def CutSense(self, Crit: AdvApp2Var_Criterion, NumDec: int) -> int: ... - def Discretise(self, Conditions: AdvApp2Var_Context, Constraints: AdvApp2Var_Framework, func: AdvApp2Var_EvaluatorFunc2Var) -> None: ... - def HasResult(self) -> bool: ... - def IsApproximated(self) -> bool: ... - def IsDiscretised(self) -> bool: ... - def IsoErrors(self) -> TColStd_HArray2OfReal: ... - def MakeApprox(self, Conditions: AdvApp2Var_Context, Constraints: AdvApp2Var_Framework, NumDec: int) -> None: ... - def MaxErrors(self) -> TColStd_HArray1OfReal: ... - def NbCoeffInU(self) -> int: ... - def NbCoeffInV(self) -> int: ... - def OverwriteApprox(self) -> None: ... - def Poles(self, SSPIndex: int, Conditions: AdvApp2Var_Context) -> TColgp_HArray2OfPnt: ... - def ResetApprox(self) -> None: ... - def SetCritValue(self, dist: float) -> None: ... - def U0(self) -> float: ... - def U1(self) -> float: ... - def UOrder(self) -> int: ... - def V0(self) -> float: ... - def V1(self) -> float: ... - def VOrder(self) -> int: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__( + self, U0: float, U1: float, V0: float, V1: float, iu: int, iv: int + ) -> None: ... + def AddConstraints( + self, Conditions: AdvApp2Var_Context, Constraints: AdvApp2Var_Framework + ) -> None: ... + def AddErrors(self, Constraints: AdvApp2Var_Framework) -> None: ... + def AverageErrors(self) -> TColStd_HArray1OfReal: ... + def ChangeDomain(self, a: float, b: float, c: float, d: float) -> None: ... + def ChangeNbCoeff(self, NbCoeffU: int, NbCoeffV: int) -> None: ... + def Coefficients( + self, SSPIndex: int, Conditions: AdvApp2Var_Context + ) -> TColStd_HArray1OfReal: ... + def CritValue(self) -> float: ... + @overload + def CutSense(self) -> int: ... + @overload + def CutSense(self, Crit: AdvApp2Var_Criterion, NumDec: int) -> int: ... + def Discretise( + self, + Conditions: AdvApp2Var_Context, + Constraints: AdvApp2Var_Framework, + func: AdvApp2Var_EvaluatorFunc2Var, + ) -> None: ... + def HasResult(self) -> bool: ... + def IsApproximated(self) -> bool: ... + def IsDiscretised(self) -> bool: ... + def IsoErrors(self) -> TColStd_HArray2OfReal: ... + def MakeApprox( + self, + Conditions: AdvApp2Var_Context, + Constraints: AdvApp2Var_Framework, + NumDec: int, + ) -> None: ... + def MaxErrors(self) -> TColStd_HArray1OfReal: ... + def NbCoeffInU(self) -> int: ... + def NbCoeffInV(self) -> int: ... + def OverwriteApprox(self) -> None: ... + def Poles( + self, SSPIndex: int, Conditions: AdvApp2Var_Context + ) -> TColgp_HArray2OfPnt: ... + def ResetApprox(self) -> None: ... + def SetCritValue(self, dist: float) -> None: ... + def U0(self) -> float: ... + def U1(self) -> float: ... + def UOrder(self) -> int: ... + def V0(self) -> float: ... + def V1(self) -> float: ... + def VOrder(self) -> int: ... class AdvApp2Var_SysBase: - def __init__(self) -> None: ... - @staticmethod - def do__fio() -> int: ... - @staticmethod - def do__lio() -> int: ... - def mainial_(self) -> False: ... - @staticmethod - def mnfndeb_() -> int: ... + def __init__(self) -> None: ... + @staticmethod + def do__fio() -> int: ... + @staticmethod + def do__lio() -> int: ... + def mainial_(self) -> int: ... + @staticmethod + def maitbr8_(itaill: int, xtab: float, xval: float) -> int: ... + @staticmethod + def maovsr8_(ivalcs: int) -> int: ... + @staticmethod + def mcrfill_(size: int, tin: None, tout: None) -> int: ... + @staticmethod + def miraz_(taille: int, adt: None) -> None: ... + @staticmethod + def mnfndeb_() -> int: ... + @staticmethod + def msifill_(nbintg: int, ivecin: int, ivecou: int) -> int: ... + @staticmethod + def msrfill_(nbreel: int, vecent: float, vecsor: float) -> int: ... + @staticmethod + def mvriraz_(taille: int, adt: None) -> None: ... -#classnotwrapped +# classnotwrapped class AdvApp2Var_EvaluatorFunc2Var: ... -#classnotwrapped +# classnotwrapped class AdvApp2Var_Iso: ... # harray1 classes # harray2 classes # hsequence classes - -AdvApp2Var_ApproxF2var_mma1her_ = AdvApp2Var_ApproxF2var.mma1her_ -AdvApp2Var_ApproxF2var_mma2ac1_ = AdvApp2Var_ApproxF2var.mma2ac1_ -AdvApp2Var_ApproxF2var_mma2ac2_ = AdvApp2Var_ApproxF2var.mma2ac2_ -AdvApp2Var_ApproxF2var_mma2ac3_ = AdvApp2Var_ApproxF2var.mma2ac3_ -AdvApp2Var_ApproxF2var_mma2can_ = AdvApp2Var_ApproxF2var.mma2can_ -AdvApp2Var_ApproxF2var_mma2cdi_ = AdvApp2Var_ApproxF2var.mma2cdi_ -AdvApp2Var_ApproxF2var_mma2ce1_ = AdvApp2Var_ApproxF2var.mma2ce1_ -AdvApp2Var_ApproxF2var_mma2ds1_ = AdvApp2Var_ApproxF2var.mma2ds1_ -AdvApp2Var_ApproxF2var_mma2fnc_ = AdvApp2Var_ApproxF2var.mma2fnc_ -AdvApp2Var_ApproxF2var_mma2fx6_ = AdvApp2Var_ApproxF2var.mma2fx6_ -AdvApp2Var_ApproxF2var_mma2jmx_ = AdvApp2Var_ApproxF2var.mma2jmx_ -AdvApp2Var_ApproxF2var_mma2roo_ = AdvApp2Var_ApproxF2var.mma2roo_ -AdvApp2Var_ApproxF2var_mmapptt_ = AdvApp2Var_ApproxF2var.mmapptt_ -AdvApp2Var_Data_Getmaovpar = AdvApp2Var_Data.Getmaovpar -AdvApp2Var_Data_Getmaovpch = AdvApp2Var_Data.Getmaovpch -AdvApp2Var_Data_Getmdnombr = AdvApp2Var_Data.Getmdnombr -AdvApp2Var_Data_Getminombr = AdvApp2Var_Data.Getminombr -AdvApp2Var_Data_Getmlgdrtl = AdvApp2Var_Data.Getmlgdrtl -AdvApp2Var_Data_Getmmapgs0 = AdvApp2Var_Data.Getmmapgs0 -AdvApp2Var_Data_Getmmapgs1 = AdvApp2Var_Data.Getmmapgs1 -AdvApp2Var_Data_Getmmapgs2 = AdvApp2Var_Data.Getmmapgs2 -AdvApp2Var_Data_Getmmapgss = AdvApp2Var_Data.Getmmapgss -AdvApp2Var_Data_Getmmcmcnp = AdvApp2Var_Data.Getmmcmcnp -AdvApp2Var_Data_Getmmjcobi = AdvApp2Var_Data.Getmmjcobi -AdvApp2Var_MathBase_mdsptpt_ = AdvApp2Var_MathBase.mdsptpt_ -AdvApp2Var_MathBase_mmapcmp_ = AdvApp2Var_MathBase.mmapcmp_ -AdvApp2Var_MathBase_mmaperx_ = AdvApp2Var_MathBase.mmaperx_ -AdvApp2Var_MathBase_mmarcin_ = AdvApp2Var_MathBase.mmarcin_ -AdvApp2Var_MathBase_mmbulld_ = AdvApp2Var_MathBase.mmbulld_ -AdvApp2Var_MathBase_mmcdriv_ = AdvApp2Var_MathBase.mmcdriv_ -AdvApp2Var_MathBase_mmcglc1_ = AdvApp2Var_MathBase.mmcglc1_ -AdvApp2Var_MathBase_mmcvctx_ = AdvApp2Var_MathBase.mmcvctx_ -AdvApp2Var_MathBase_mmcvinv_ = AdvApp2Var_MathBase.mmcvinv_ -AdvApp2Var_MathBase_mmdrc11_ = AdvApp2Var_MathBase.mmdrc11_ -AdvApp2Var_MathBase_mmdrvck_ = AdvApp2Var_MathBase.mmdrvck_ -AdvApp2Var_MathBase_mmeps1_ = AdvApp2Var_MathBase.mmeps1_ -AdvApp2Var_MathBase_mmfmca8_ = AdvApp2Var_MathBase.mmfmca8_ -AdvApp2Var_MathBase_mmfmca9_ = AdvApp2Var_MathBase.mmfmca9_ -AdvApp2Var_MathBase_mmfmcar_ = AdvApp2Var_MathBase.mmfmcar_ -AdvApp2Var_MathBase_mmfmcb5_ = AdvApp2Var_MathBase.mmfmcb5_ -AdvApp2Var_MathBase_mmfmtb1_ = AdvApp2Var_MathBase.mmfmtb1_ -AdvApp2Var_MathBase_mmhjcan_ = AdvApp2Var_MathBase.mmhjcan_ -AdvApp2Var_MathBase_mminltt_ = AdvApp2Var_MathBase.mminltt_ -AdvApp2Var_MathBase_mmjacan_ = AdvApp2Var_MathBase.mmjacan_ -AdvApp2Var_MathBase_mmjaccv_ = AdvApp2Var_MathBase.mmjaccv_ -AdvApp2Var_MathBase_mmmpocur_ = AdvApp2Var_MathBase.mmmpocur_ -AdvApp2Var_MathBase_mmmrslwd_ = AdvApp2Var_MathBase.mmmrslwd_ -AdvApp2Var_MathBase_mmpobas_ = AdvApp2Var_MathBase.mmpobas_ -AdvApp2Var_MathBase_mmpocrb_ = AdvApp2Var_MathBase.mmpocrb_ -AdvApp2Var_MathBase_mmposui_ = AdvApp2Var_MathBase.mmposui_ -AdvApp2Var_MathBase_mmresol_ = AdvApp2Var_MathBase.mmresol_ -AdvApp2Var_MathBase_mmrtptt_ = AdvApp2Var_MathBase.mmrtptt_ -AdvApp2Var_MathBase_mmsrre2_ = AdvApp2Var_MathBase.mmsrre2_ -AdvApp2Var_MathBase_mmtrpjj_ = AdvApp2Var_MathBase.mmtrpjj_ -AdvApp2Var_MathBase_mmunivt_ = AdvApp2Var_MathBase.mmunivt_ -AdvApp2Var_MathBase_mmveps3_ = AdvApp2Var_MathBase.mmveps3_ -AdvApp2Var_MathBase_mmvncol_ = AdvApp2Var_MathBase.mmvncol_ -AdvApp2Var_MathBase_mmwprcs_ = AdvApp2Var_MathBase.mmwprcs_ -AdvApp2Var_MathBase_msc_ = AdvApp2Var_MathBase.msc_ -AdvApp2Var_MathBase_mvsheld_ = AdvApp2Var_MathBase.mvsheld_ -AdvApp2Var_MathBase_mzsnorm_ = AdvApp2Var_MathBase.mzsnorm_ -AdvApp2Var_MathBase_pow__di = AdvApp2Var_MathBase.pow__di -AdvApp2Var_SysBase_do__fio = AdvApp2Var_SysBase.do__fio -AdvApp2Var_SysBase_do__lio = AdvApp2Var_SysBase.do__lio -AdvApp2Var_SysBase_macinit_ = AdvApp2Var_SysBase.macinit_ -AdvApp2Var_SysBase_maermsg_ = AdvApp2Var_SysBase.maermsg_ -AdvApp2Var_SysBase_maitbr8_ = AdvApp2Var_SysBase.maitbr8_ -AdvApp2Var_SysBase_maovsr8_ = AdvApp2Var_SysBase.maovsr8_ -AdvApp2Var_SysBase_mcrfill_ = AdvApp2Var_SysBase.mcrfill_ -AdvApp2Var_SysBase_mgenmsg_ = AdvApp2Var_SysBase.mgenmsg_ -AdvApp2Var_SysBase_mgsomsg_ = AdvApp2Var_SysBase.mgsomsg_ -AdvApp2Var_SysBase_miraz_ = AdvApp2Var_SysBase.miraz_ -AdvApp2Var_SysBase_mnfndeb_ = AdvApp2Var_SysBase.mnfndeb_ -AdvApp2Var_SysBase_msifill_ = AdvApp2Var_SysBase.msifill_ -AdvApp2Var_SysBase_msrfill_ = AdvApp2Var_SysBase.msrfill_ -AdvApp2Var_SysBase_mswrdbg_ = AdvApp2Var_SysBase.mswrdbg_ -AdvApp2Var_SysBase_mvriraz_ = AdvApp2Var_SysBase.mvriraz_ diff --git a/src/SWIG_files/wrapper/AdvApprox.i b/src/SWIG_files/wrapper/AdvApprox.i index db142a795..1bee2d7ca 100644 --- a/src/SWIG_files/wrapper/AdvApprox.i +++ b/src/SWIG_files/wrapper/AdvApprox.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define ADVAPPROXDOCSTRING "AdvApprox module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_advapprox.html" +https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_advapprox.html" %enddef %module (package="OCC.Core", docstring=ADVAPPROXDOCSTRING) AdvApprox @@ -31,8 +31,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_advapprox.html" %include ../common/CommonIncludes.i %include ../common/ExceptionCatcher.i %include ../common/FunctionTransformers.i +%include ../common/EnumTemplates.i %include ../common/Operators.i %include ../common/OccHandle.i +%include ../common/IOStream.i +%include ../common/ArrayMacros.i %{ @@ -66,7 +69,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -85,11 +88,10 @@ from OCC.Core.Exception import * **********************************/ class AdvApprox_ApproxAFunction { public: - /****************** AdvApprox_ApproxAFunction ******************/ - /**** md5 signature: 52698dd73ba5a2e229f763f1eeaa3916 ****/ + /****** AdvApprox_ApproxAFunction::AdvApprox_ApproxAFunction ******/ + /****** md5 signature: 52698dd73ba5a2e229f763f1eeaa3916 ******/ %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", " Parameters ---------- Num1DSS: int @@ -105,17 +107,20 @@ MaxDeg: int MaxSeg: int Func: AdvApprox_EvaluatorFunction -Returns +Return ------- None + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 3c7b9b1840e5ed63d1e5cf800bb06df4 ****/ + /****** AdvApprox_ApproxAFunction::AdvApprox_ApproxAFunction ******/ + /****** md5 signature: 3c7b9b1840e5ed63d1e5cf800bb06df4 ******/ %feature("compactdefaultargs") AdvApprox_ApproxAFunction; - %feature("autodoc", "Approximation with user methode of cutting. - + %feature("autodoc", " Parameters ---------- Num1DSS: int @@ -132,17 +137,20 @@ MaxSeg: int Func: AdvApprox_EvaluatorFunction CutTool: AdvApprox_Cutting -Returns +Return ------- None + +Description +----------- +Approximation with user methode of cutting. ") 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 ******************/ - /**** md5 signature: 9f78b3fd0d68a0fda47d9a3558a9335b ****/ + /****** AdvApprox_ApproxAFunction::Approximation ******/ + /****** md5 signature: 9f78b3fd0d68a0fda47d9a3558a9335b ******/ %feature("compactdefaultargs") Approximation; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- TotalDimension: int @@ -163,253 +171,310 @@ IntervalsArray: TColStd_Array1OfReal ErrorMaxArray: TColStd_Array1OfReal AverageErrorArray: TColStd_Array1OfReal -Returns +Return ------- NumCurves: int ErrorCode: int + +Description +----------- +No available documentation. ") 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); - /****************** AverageError ******************/ - /**** md5 signature: d3a5b5e32b36bc7e79202cfa1abaedbe ****/ + /****** AdvApprox_ApproxAFunction::AverageError ******/ + /****** md5 signature: d3a5b5e32b36bc7e79202cfa1abaedbe ******/ %feature("compactdefaultargs") AverageError; - %feature("autodoc", "Returns the error as is in the algorithms. - + %feature("autodoc", " Parameters ---------- Dimension: int -Returns +Return ------- opencascade::handle + +Description +----------- +returns the error as is in the algorithms. ") AverageError; opencascade::handle AverageError(const Standard_Integer Dimension); - /****************** AverageError ******************/ - /**** md5 signature: b46c820432bcb3498c5c88e842dca097 ****/ + /****** AdvApprox_ApproxAFunction::AverageError ******/ + /****** md5 signature: b46c820432bcb3498c5c88e842dca097 ******/ %feature("compactdefaultargs") AverageError; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Dimension: int Index: int -Returns +Return ------- float + +Description +----------- +No available documentation. ") AverageError; Standard_Real AverageError(const Standard_Integer Dimension, const Standard_Integer Index); - /****************** Degree ******************/ - /**** md5 signature: e3276df1ce733e2c8e940db548a26d03 ****/ + /****** AdvApprox_ApproxAFunction::Degree ******/ + /****** md5 signature: e3276df1ce733e2c8e940db548a26d03 ******/ %feature("compactdefaultargs") Degree; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") Degree; Standard_Integer Degree(); + /****** AdvApprox_ApproxAFunction::Dump ******/ + /****** md5 signature: d37b43e0b2386dc096d5d707876db157 ******/ + %feature("compactdefaultargs") Dump; + %feature("autodoc", " +Parameters +---------- - %feature("autodoc", "1"); - %extend{ - std::string DumpToString() { - std::stringstream s; - self->Dump(s); - return s.str();} - }; - /****************** HasResult ******************/ - /**** md5 signature: 345d4b0f7e88f528928167976d8256d5 ****/ - %feature("compactdefaultargs") HasResult; - %feature("autodoc", "No available documentation. +Return +------- +o: Standard_OStream + +Description +----------- +display information on approximation. +") Dump; + void Dump(std::ostream &OutValue); -Returns + /****** AdvApprox_ApproxAFunction::HasResult ******/ + /****** md5 signature: 345d4b0f7e88f528928167976d8256d5 ******/ + %feature("compactdefaultargs") HasResult; + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") HasResult; Standard_Boolean HasResult(); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** AdvApprox_ApproxAFunction::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsDone; Standard_Boolean IsDone(); - /****************** Knots ******************/ - /**** md5 signature: e3036b1d0b355a749bda4aabdce1e25e ****/ + /****** AdvApprox_ApproxAFunction::Knots ******/ + /****** md5 signature: e3036b1d0b355a749bda4aabdce1e25e ******/ %feature("compactdefaultargs") Knots; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Knots; opencascade::handle Knots(); - /****************** MaxError ******************/ - /**** md5 signature: 65f67ba992f5651ddbda653be6688fd1 ****/ + /****** AdvApprox_ApproxAFunction::MaxError ******/ + /****** md5 signature: 65f67ba992f5651ddbda653be6688fd1 ******/ %feature("compactdefaultargs") MaxError; - %feature("autodoc", "Returns the error as is in the algorithms. - + %feature("autodoc", " Parameters ---------- Dimension: int -Returns +Return ------- opencascade::handle + +Description +----------- +returns the error as is in the algorithms. ") MaxError; opencascade::handle MaxError(const Standard_Integer Dimension); - /****************** MaxError ******************/ - /**** md5 signature: 5025e53abdc4b5b4ec15e940b792a6ea ****/ + /****** AdvApprox_ApproxAFunction::MaxError ******/ + /****** md5 signature: 5025e53abdc4b5b4ec15e940b792a6ea ******/ %feature("compactdefaultargs") MaxError; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Dimension: int Index: int -Returns +Return ------- float + +Description +----------- +No available documentation. ") MaxError; Standard_Real MaxError(const Standard_Integer Dimension, const Standard_Integer Index); - /****************** Multiplicities ******************/ - /**** md5 signature: 9e49a3a1189f16bd9a66f6044bdea111 ****/ + /****** AdvApprox_ApproxAFunction::Multiplicities ******/ + /****** md5 signature: 9e49a3a1189f16bd9a66f6044bdea111 ******/ %feature("compactdefaultargs") Multiplicities; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Multiplicities; opencascade::handle Multiplicities(); - /****************** NbKnots ******************/ - /**** md5 signature: ccda669299f8eba1ba0d3387af4c950e ****/ + /****** AdvApprox_ApproxAFunction::NbKnots ******/ + /****** md5 signature: ccda669299f8eba1ba0d3387af4c950e ******/ %feature("compactdefaultargs") NbKnots; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbKnots; Standard_Integer NbKnots(); - /****************** NbPoles ******************/ - /**** md5 signature: 9a7d6d5f8a21c5833786e951bce99604 ****/ + /****** AdvApprox_ApproxAFunction::NbPoles ******/ + /****** md5 signature: 9a7d6d5f8a21c5833786e951bce99604 ******/ %feature("compactdefaultargs") NbPoles; - %feature("autodoc", "As the name says. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +as the name says. ") NbPoles; Standard_Integer NbPoles(); - /****************** NumSubSpaces ******************/ - /**** md5 signature: 1f04f546c1efa091a0725c4b06bc8324 ****/ + /****** AdvApprox_ApproxAFunction::NumSubSpaces ******/ + /****** md5 signature: 1f04f546c1efa091a0725c4b06bc8324 ******/ %feature("compactdefaultargs") NumSubSpaces; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Dimension: int -Returns +Return ------- int + +Description +----------- +No available documentation. ") NumSubSpaces; Standard_Integer NumSubSpaces(const Standard_Integer Dimension); - /****************** Poles ******************/ - /**** md5 signature: 8cc6feb688f8fc6866490bd3dec45155 ****/ + /****** AdvApprox_ApproxAFunction::Poles ******/ + /****** md5 signature: 8cc6feb688f8fc6866490bd3dec45155 ******/ %feature("compactdefaultargs") Poles; - %feature("autodoc", "-- returns the poles from the algorithms as is. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +-- returns the poles from the algorithms as is. ") Poles; opencascade::handle Poles(); - /****************** Poles ******************/ - /**** md5 signature: 70f7f2780ee5277810f623af82eaa942 ****/ + /****** AdvApprox_ApproxAFunction::Poles ******/ + /****** md5 signature: 70f7f2780ee5277810f623af82eaa942 ******/ %feature("compactdefaultargs") Poles; - %feature("autodoc", "Returns the poles at index from the 3d subspace. - + %feature("autodoc", " Parameters ---------- Index: int P: TColgp_Array1OfPnt -Returns +Return ------- None + +Description +----------- +returns the poles at Index from the 3d subspace. ") Poles; void Poles(const Standard_Integer Index, TColgp_Array1OfPnt & P); - /****************** Poles1d ******************/ - /**** md5 signature: 50dedda33d16f0863543f211d9c672d7 ****/ + /****** AdvApprox_ApproxAFunction::Poles1d ******/ + /****** md5 signature: 50dedda33d16f0863543f211d9c672d7 ******/ %feature("compactdefaultargs") Poles1d; - %feature("autodoc", "Returns the poles from the algorithms as is. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +returns the poles from the algorithms as is. ") Poles1d; opencascade::handle Poles1d(); - /****************** Poles1d ******************/ - /**** md5 signature: bbe028eb84e30d7d276f2dfbcdab8d94 ****/ + /****** AdvApprox_ApproxAFunction::Poles1d ******/ + /****** md5 signature: bbe028eb84e30d7d276f2dfbcdab8d94 ******/ %feature("compactdefaultargs") Poles1d; - %feature("autodoc", "Returns the poles at index from the 1d subspace. - + %feature("autodoc", " Parameters ---------- Index: int P: TColStd_Array1OfReal -Returns +Return ------- None + +Description +----------- +returns the poles at Index from the 1d subspace. ") Poles1d; void Poles1d(const Standard_Integer Index, TColStd_Array1OfReal & P); - /****************** Poles2d ******************/ - /**** md5 signature: 17feefc22dc950f494bdca290d69c41c ****/ + /****** AdvApprox_ApproxAFunction::Poles2d ******/ + /****** md5 signature: 17feefc22dc950f494bdca290d69c41c ******/ %feature("compactdefaultargs") Poles2d; - %feature("autodoc", "Returns the poles from the algorithms as is. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +returns the poles from the algorithms as is. ") Poles2d; opencascade::handle Poles2d(); - /****************** Poles2d ******************/ - /**** md5 signature: eb553b876b593ca686aaad8a47bbee13 ****/ + /****** AdvApprox_ApproxAFunction::Poles2d ******/ + /****** md5 signature: eb553b876b593ca686aaad8a47bbee13 ******/ %feature("compactdefaultargs") Poles2d; - %feature("autodoc", "Returns the poles at index from the 2d subspace. - + %feature("autodoc", " Parameters ---------- Index: int P: TColgp_Array1OfPnt2d -Returns +Return ------- None + +Description +----------- +returns the poles at Index from the 2d subspace. ") Poles2d; void Poles2d(const Standard_Integer Index, TColgp_Array1OfPnt2d & P); @@ -428,19 +493,22 @@ None %nodefaultctor AdvApprox_Cutting; class AdvApprox_Cutting { public: - /****************** Value ******************/ - /**** md5 signature: 2a55932822e40a99ef4fb0b17db08278 ****/ + /****** AdvApprox_Cutting::Value ******/ + /****** md5 signature: 2a55932822e40a99ef4fb0b17db08278 ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- a: float b: float -Returns +Return ------- cuttingvalue: float + +Description +----------- +No available documentation. ") Value; virtual Standard_Boolean Value(const Standard_Real a, const Standard_Real b, Standard_Real &OutValue); @@ -461,11 +529,10 @@ cuttingvalue: float *******************************/ class AdvApprox_SimpleApprox { public: - /****************** AdvApprox_SimpleApprox ******************/ - /**** md5 signature: 270cf65a533da8c6af961ac48b19228b ****/ + /****** AdvApprox_SimpleApprox::AdvApprox_SimpleApprox ******/ + /****** md5 signature: 270cf65a533da8c6af961ac48b19228b ******/ %feature("compactdefaultargs") AdvApprox_SimpleApprox; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- TotalDimension: int @@ -476,121 +543,151 @@ NbGaussPoints: int JacobiBase: PLib_JacobiPolynomial Func: AdvApprox_EvaluatorFunction -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: 7406f4cb057b3ba4d255eeb1dcbafe20 ****/ + /****** AdvApprox_SimpleApprox::AverageError ******/ + /****** md5 signature: 7406f4cb057b3ba4d255eeb1dcbafe20 ******/ %feature("compactdefaultargs") AverageError; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- float + +Description +----------- +No available documentation. ") AverageError; Standard_Real AverageError(const Standard_Integer Index); - /****************** Coefficients ******************/ - /**** md5 signature: f8d98a88294910b80f034293241aa939 ****/ + /****** AdvApprox_SimpleApprox::Coefficients ******/ + /****** md5 signature: f8d98a88294910b80f034293241aa939 ******/ %feature("compactdefaultargs") Coefficients; - %feature("autodoc", "Returns the coefficients in the jacobi base. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +returns the coefficients in the Jacobi Base. ") Coefficients; opencascade::handle Coefficients(); - /****************** Degree ******************/ - /**** md5 signature: e3276df1ce733e2c8e940db548a26d03 ****/ + /****** AdvApprox_SimpleApprox::Degree ******/ + /****** md5 signature: e3276df1ce733e2c8e940db548a26d03 ******/ %feature("compactdefaultargs") Degree; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") Degree; Standard_Integer Degree(); - /****************** DifTab ******************/ - /**** md5 signature: cd3f00845ed7985681a4ecca4468e0f3 ****/ + /****** AdvApprox_SimpleApprox::DifTab ******/ + /****** md5 signature: cd3f00845ed7985681a4ecca4468e0f3 ******/ %feature("compactdefaultargs") DifTab; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") DifTab; opencascade::handle DifTab(); + /****** AdvApprox_SimpleApprox::Dump ******/ + /****** md5 signature: d37b43e0b2386dc096d5d707876db157 ******/ + %feature("compactdefaultargs") Dump; + %feature("autodoc", " +Parameters +---------- + +Return +------- +o: Standard_OStream - %feature("autodoc", "1"); - %extend{ - std::string DumpToString() { - std::stringstream s; - self->Dump(s); - return s.str();} - }; - /****************** FirstConstr ******************/ - /**** md5 signature: f7818f8b2283dc680ce2b42c85a59f9d ****/ - %feature("compactdefaultargs") FirstConstr; - %feature("autodoc", "Returns the constraints at first. +Description +----------- +display information on approximation. +") Dump; + void Dump(std::ostream &OutValue); -Returns + /****** AdvApprox_SimpleApprox::FirstConstr ******/ + /****** md5 signature: f7818f8b2283dc680ce2b42c85a59f9d ******/ + %feature("compactdefaultargs") FirstConstr; + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +returns the constraints at First. ") FirstConstr; opencascade::handle FirstConstr(); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** AdvApprox_SimpleApprox::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsDone; Standard_Boolean IsDone(); - /****************** LastConstr ******************/ - /**** md5 signature: 740c220072c2649ff64a4ddf79211099 ****/ + /****** AdvApprox_SimpleApprox::LastConstr ******/ + /****** md5 signature: 740c220072c2649ff64a4ddf79211099 ******/ %feature("compactdefaultargs") LastConstr; - %feature("autodoc", "Returns the constraints at last. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +returns the constraints at Last. ") LastConstr; opencascade::handle LastConstr(); - /****************** MaxError ******************/ - /**** md5 signature: cce0b3a0574e15581306a5273b015a12 ****/ + /****** AdvApprox_SimpleApprox::MaxError ******/ + /****** md5 signature: cce0b3a0574e15581306a5273b015a12 ******/ %feature("compactdefaultargs") MaxError; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- float + +Description +----------- +No available documentation. ") MaxError; Standard_Real MaxError(const Standard_Integer Index); - /****************** Perform ******************/ - /**** md5 signature: fa12ac6af76871c60787c6e7b0bbb5a6 ****/ + /****** AdvApprox_SimpleApprox::Perform ******/ + /****** md5 signature: fa12ac6af76871c60787c6e7b0bbb5a6 ******/ %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;. - + %feature("autodoc", " Parameters ---------- LocalDimension: TColStd_Array1OfInteger @@ -599,20 +696,26 @@ First: float Last: float MaxDegree: int -Returns +Return ------- None + +Description +----------- +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;. ") Perform; void Perform(const TColStd_Array1OfInteger & LocalDimension, const TColStd_Array1OfReal & LocalTolerancesArray, const Standard_Real First, const Standard_Real Last, const Standard_Integer MaxDegree); - /****************** SomTab ******************/ - /**** md5 signature: e2354e299b61e673e6368c628fdcb464 ****/ + /****** AdvApprox_SimpleApprox::SomTab ******/ + /****** md5 signature: e2354e299b61e673e6368c628fdcb464 ******/ %feature("compactdefaultargs") SomTab; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") SomTab; opencascade::handle SomTab(); @@ -630,30 +733,35 @@ opencascade::handle *******************************/ class AdvApprox_DichoCutting : public AdvApprox_Cutting { public: - /****************** AdvApprox_DichoCutting ******************/ - /**** md5 signature: 49eacbf0bb8c2a4e18a60b06e528d4ee ****/ + /****** AdvApprox_DichoCutting::AdvApprox_DichoCutting ******/ + /****** md5 signature: 49eacbf0bb8c2a4e18a60b06e528d4ee ******/ %feature("compactdefaultargs") AdvApprox_DichoCutting; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") AdvApprox_DichoCutting; AdvApprox_DichoCutting(); - /****************** Value ******************/ - /**** md5 signature: faed359aa12110072e7334faf44a2938 ****/ + /****** AdvApprox_DichoCutting::Value ******/ + /****** md5 signature: faed359aa12110072e7334faf44a2938 ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- a: float b: float -Returns +Return ------- cuttingvalue: float + +Description +----------- +No available documentation. ") Value; virtual Standard_Boolean Value(const Standard_Real a, const Standard_Real b, Standard_Real &OutValue); @@ -671,37 +779,42 @@ cuttingvalue: float *****************************/ class AdvApprox_PrefAndRec : public AdvApprox_Cutting { public: - /****************** AdvApprox_PrefAndRec ******************/ - /**** md5 signature: d90754cbbe32adec40449bbd37bb798f ****/ + /****** AdvApprox_PrefAndRec::AdvApprox_PrefAndRec ******/ + /****** md5 signature: d90754cbbe32adec40449bbd37bb798f ******/ %feature("compactdefaultargs") AdvApprox_PrefAndRec; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- RecomendedCut: TColStd_Array1OfReal PrefferedCut: TColStd_Array1OfReal -Weight: float,optional - default value is 5 +Weight: float (optional, default to 5) -Returns +Return ------- None + +Description +----------- +No available documentation. ") AdvApprox_PrefAndRec; AdvApprox_PrefAndRec(const TColStd_Array1OfReal & RecomendedCut, const TColStd_Array1OfReal & PrefferedCut, const Standard_Real Weight = 5); - /****************** Value ******************/ - /**** md5 signature: faed359aa12110072e7334faf44a2938 ****/ + /****** AdvApprox_PrefAndRec::Value ******/ + /****** md5 signature: faed359aa12110072e7334faf44a2938 ******/ %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. - + %feature("autodoc", " Parameters ---------- a: float b: float -Returns +Return ------- cuttingvalue: float + +Description +----------- +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; virtual Standard_Boolean Value(const Standard_Real a, const Standard_Real b, Standard_Real &OutValue); @@ -719,34 +832,40 @@ cuttingvalue: float ******************************/ class AdvApprox_PrefCutting : public AdvApprox_Cutting { public: - /****************** AdvApprox_PrefCutting ******************/ - /**** md5 signature: e4caf40ab49131f92edfd3f3c93d31fa ****/ + /****** AdvApprox_PrefCutting::AdvApprox_PrefCutting ******/ + /****** md5 signature: e4caf40ab49131f92edfd3f3c93d31fa ******/ %feature("compactdefaultargs") AdvApprox_PrefCutting; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- CutPnts: TColStd_Array1OfReal -Returns +Return ------- None + +Description +----------- +No available documentation. ") AdvApprox_PrefCutting; AdvApprox_PrefCutting(const TColStd_Array1OfReal & CutPnts); - /****************** Value ******************/ - /**** md5 signature: faed359aa12110072e7334faf44a2938 ****/ + /****** AdvApprox_PrefCutting::Value ******/ + /****** md5 signature: faed359aa12110072e7334faf44a2938 ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- a: float b: float -Returns +Return ------- cuttingvalue: float + +Description +----------- +No available documentation. ") Value; virtual Standard_Boolean Value(const Standard_Real a, const Standard_Real b, Standard_Real &OutValue); @@ -773,3 +892,10 @@ class AdvApprox_EvaluatorFunction: /* class aliases */ %pythoncode { } +/* deprecated methods */ +%pythoncode { +@deprecated +def AdvApprox_ApproxAFunction_Approximation(*args): + return AdvApprox_ApproxAFunction.Approximation(*args) + +} diff --git a/src/SWIG_files/wrapper/AdvApprox.pyi b/src/SWIG_files/wrapper/AdvApprox.pyi index 7677019c6..bef8e43e5 100644 --- a/src/SWIG_files/wrapper/AdvApprox.pyi +++ b/src/SWIG_files/wrapper/AdvApprox.pyi @@ -8,76 +8,143 @@ from OCC.Core.GeomAbs import * from OCC.Core.TColgp import * from OCC.Core.PLib import * - class AdvApprox_ApproxAFunction: - @overload - def __init__(self, Num1DSS: int, Num2DSS: int, Num3DSS: int, OneDTol: TColStd_HArray1OfReal, TwoDTol: TColStd_HArray1OfReal, ThreeDTol: TColStd_HArray1OfReal, First: float, Last: float, Continuity: GeomAbs_Shape, MaxDeg: int, MaxSeg: int, Func: AdvApprox_EvaluatorFunction) -> None: ... - @overload - def __init__(self, Num1DSS: int, Num2DSS: int, Num3DSS: int, OneDTol: TColStd_HArray1OfReal, TwoDTol: TColStd_HArray1OfReal, ThreeDTol: TColStd_HArray1OfReal, First: float, Last: float, Continuity: GeomAbs_Shape, MaxDeg: int, MaxSeg: int, Func: AdvApprox_EvaluatorFunction, CutTool: AdvApprox_Cutting) -> None: ... - @staticmethod - def Approximation(TotalDimension: int, TotalNumSS: int, LocalDimension: TColStd_Array1OfInteger, First: float, Last: float, Evaluator: AdvApprox_EvaluatorFunction, CutTool: AdvApprox_Cutting, ContinuityOrder: int, NumMaxCoeffs: int, MaxSegments: int, TolerancesArray: TColStd_Array1OfReal, code_precis: int, NumCoeffPerCurveArray: TColStd_Array1OfInteger, LocalCoefficientArray: TColStd_Array1OfReal, IntervalsArray: TColStd_Array1OfReal, ErrorMaxArray: TColStd_Array1OfReal, AverageErrorArray: TColStd_Array1OfReal) -> Tuple[int, int]: ... - @overload - def AverageError(self, Dimension: int) -> TColStd_HArray1OfReal: ... - @overload - def AverageError(self, Dimension: int, Index: int) -> float: ... - def Degree(self) -> int: ... - def HasResult(self) -> bool: ... - def IsDone(self) -> bool: ... - def Knots(self) -> TColStd_HArray1OfReal: ... - @overload - def MaxError(self, Dimension: int) -> TColStd_HArray1OfReal: ... - @overload - def MaxError(self, Dimension: int, Index: int) -> float: ... - def Multiplicities(self) -> TColStd_HArray1OfInteger: ... - def NbKnots(self) -> int: ... - def NbPoles(self) -> int: ... - def NumSubSpaces(self, Dimension: int) -> int: ... - @overload - def Poles(self) -> TColgp_HArray2OfPnt: ... - @overload - def Poles(self, Index: int, P: TColgp_Array1OfPnt) -> None: ... - @overload - def Poles1d(self) -> TColStd_HArray2OfReal: ... - @overload - def Poles1d(self, Index: int, P: TColStd_Array1OfReal) -> None: ... - @overload - def Poles2d(self) -> TColgp_HArray2OfPnt2d: ... - @overload - def Poles2d(self, Index: int, P: TColgp_Array1OfPnt2d) -> None: ... + @overload + def __init__( + self, + Num1DSS: int, + Num2DSS: int, + Num3DSS: int, + OneDTol: TColStd_HArray1OfReal, + TwoDTol: TColStd_HArray1OfReal, + ThreeDTol: TColStd_HArray1OfReal, + First: float, + Last: float, + Continuity: GeomAbs_Shape, + MaxDeg: int, + MaxSeg: int, + Func: AdvApprox_EvaluatorFunction, + ) -> None: ... + @overload + def __init__( + self, + Num1DSS: int, + Num2DSS: int, + Num3DSS: int, + OneDTol: TColStd_HArray1OfReal, + TwoDTol: TColStd_HArray1OfReal, + ThreeDTol: TColStd_HArray1OfReal, + First: float, + Last: float, + Continuity: GeomAbs_Shape, + MaxDeg: int, + MaxSeg: int, + Func: AdvApprox_EvaluatorFunction, + CutTool: AdvApprox_Cutting, + ) -> None: ... + @staticmethod + def Approximation( + TotalDimension: int, + TotalNumSS: int, + LocalDimension: TColStd_Array1OfInteger, + First: float, + Last: float, + Evaluator: AdvApprox_EvaluatorFunction, + CutTool: AdvApprox_Cutting, + ContinuityOrder: int, + NumMaxCoeffs: int, + MaxSegments: int, + TolerancesArray: TColStd_Array1OfReal, + code_precis: int, + NumCoeffPerCurveArray: TColStd_Array1OfInteger, + LocalCoefficientArray: TColStd_Array1OfReal, + IntervalsArray: TColStd_Array1OfReal, + ErrorMaxArray: TColStd_Array1OfReal, + AverageErrorArray: TColStd_Array1OfReal, + ) -> Tuple[int, int]: ... + @overload + def AverageError(self, Dimension: int) -> TColStd_HArray1OfReal: ... + @overload + def AverageError(self, Dimension: int, Index: int) -> float: ... + def Degree(self) -> int: ... + def Dump(self) -> str: ... + def HasResult(self) -> bool: ... + def IsDone(self) -> bool: ... + def Knots(self) -> TColStd_HArray1OfReal: ... + @overload + def MaxError(self, Dimension: int) -> TColStd_HArray1OfReal: ... + @overload + def MaxError(self, Dimension: int, Index: int) -> float: ... + def Multiplicities(self) -> TColStd_HArray1OfInteger: ... + def NbKnots(self) -> int: ... + def NbPoles(self) -> int: ... + def NumSubSpaces(self, Dimension: int) -> int: ... + @overload + def Poles(self) -> TColgp_HArray2OfPnt: ... + @overload + def Poles(self, Index: int, P: TColgp_Array1OfPnt) -> None: ... + @overload + def Poles1d(self) -> TColStd_HArray2OfReal: ... + @overload + def Poles1d(self, Index: int, P: TColStd_Array1OfReal) -> None: ... + @overload + def Poles2d(self) -> TColgp_HArray2OfPnt2d: ... + @overload + def Poles2d(self, Index: int, P: TColgp_Array1OfPnt2d) -> None: ... class AdvApprox_Cutting: - def Value(self, a: float, b: float) -> Tuple[bool, float]: ... + def Value(self, a: float, b: float) -> Tuple[bool, float]: ... class AdvApprox_SimpleApprox: - def __init__(self, TotalDimension: int, TotalNumSS: int, Continuity: GeomAbs_Shape, WorkDegree: int, NbGaussPoints: int, JacobiBase: PLib_JacobiPolynomial, Func: AdvApprox_EvaluatorFunction) -> None: ... - def AverageError(self, Index: int) -> float: ... - def Coefficients(self) -> TColStd_HArray1OfReal: ... - def Degree(self) -> int: ... - def DifTab(self) -> TColStd_HArray1OfReal: ... - def FirstConstr(self) -> TColStd_HArray2OfReal: ... - def IsDone(self) -> bool: ... - def LastConstr(self) -> TColStd_HArray2OfReal: ... - def MaxError(self, Index: int) -> float: ... - def Perform(self, LocalDimension: TColStd_Array1OfInteger, LocalTolerancesArray: TColStd_Array1OfReal, First: float, Last: float, MaxDegree: int) -> None: ... - def SomTab(self) -> TColStd_HArray1OfReal: ... + def __init__( + self, + TotalDimension: int, + TotalNumSS: int, + Continuity: GeomAbs_Shape, + WorkDegree: int, + NbGaussPoints: int, + JacobiBase: PLib_JacobiPolynomial, + Func: AdvApprox_EvaluatorFunction, + ) -> None: ... + def AverageError(self, Index: int) -> float: ... + def Coefficients(self) -> TColStd_HArray1OfReal: ... + def Degree(self) -> int: ... + def DifTab(self) -> TColStd_HArray1OfReal: ... + def Dump(self) -> str: ... + def FirstConstr(self) -> TColStd_HArray2OfReal: ... + def IsDone(self) -> bool: ... + def LastConstr(self) -> TColStd_HArray2OfReal: ... + def MaxError(self, Index: int) -> float: ... + def Perform( + self, + LocalDimension: TColStd_Array1OfInteger, + LocalTolerancesArray: TColStd_Array1OfReal, + First: float, + Last: float, + MaxDegree: int, + ) -> None: ... + def SomTab(self) -> TColStd_HArray1OfReal: ... class AdvApprox_DichoCutting(AdvApprox_Cutting): - def __init__(self) -> None: ... - def Value(self, a: float, b: float) -> Tuple[bool, float]: ... + def __init__(self) -> None: ... + def Value(self, a: float, b: float) -> Tuple[bool, float]: ... class AdvApprox_PrefAndRec(AdvApprox_Cutting): - def __init__(self, RecomendedCut: TColStd_Array1OfReal, PrefferedCut: TColStd_Array1OfReal, Weight: Optional[float] = 5) -> None: ... - def Value(self, a: float, b: float) -> Tuple[bool, float]: ... + def __init__( + self, + RecomendedCut: TColStd_Array1OfReal, + PrefferedCut: TColStd_Array1OfReal, + Weight: Optional[float] = 5, + ) -> None: ... + def Value(self, a: float, b: float) -> Tuple[bool, float]: ... class AdvApprox_PrefCutting(AdvApprox_Cutting): - def __init__(self, CutPnts: TColStd_Array1OfReal) -> None: ... - def Value(self, a: float, b: float) -> Tuple[bool, float]: ... + def __init__(self, CutPnts: TColStd_Array1OfReal) -> None: ... + def Value(self, a: float, b: float) -> Tuple[bool, float]: ... -#classnotwrapped +# classnotwrapped class AdvApprox_EvaluatorFunction: ... # harray1 classes # harray2 classes # hsequence classes - -AdvApprox_ApproxAFunction_Approximation = AdvApprox_ApproxAFunction.Approximation diff --git a/src/SWIG_files/wrapper/AppBlend.i b/src/SWIG_files/wrapper/AppBlend.i index fd9ee91b6..31c19b485 100644 --- a/src/SWIG_files/wrapper/AppBlend.i +++ b/src/SWIG_files/wrapper/AppBlend.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define APPBLENDDOCSTRING "AppBlend module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_appblend.html" +https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_appblend.html" %enddef %module (package="OCC.Core", docstring=APPBLENDDOCSTRING) AppBlend @@ -31,8 +31,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_appblend.html" %include ../common/CommonIncludes.i %include ../common/ExceptionCatcher.i %include ../common/FunctionTransformers.i +%include ../common/EnumTemplates.i %include ../common/Operators.i %include ../common/OccHandle.i +%include ../common/IOStream.i +%include ../common/ArrayMacros.i %{ @@ -61,7 +64,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -81,11 +84,10 @@ from OCC.Core.Exception import * %nodefaultctor AppBlend_Approx; class AppBlend_Approx { public: - /****************** Curve2d ******************/ - /**** md5 signature: 6ef1d581e8883ca21d640959b427812e ****/ + /****** AppBlend_Approx::Curve2d ******/ + /****** md5 signature: 6ef1d581e8883ca21d640959b427812e ******/ %feature("compactdefaultargs") Curve2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Index: int @@ -93,118 +95,139 @@ TPoles: TColgp_Array1OfPnt2d TKnots: TColStd_Array1OfReal TMults: TColStd_Array1OfInteger -Returns +Return ------- None + +Description +----------- +No available documentation. ") Curve2d; virtual void Curve2d(const Standard_Integer Index, TColgp_Array1OfPnt2d & TPoles, TColStd_Array1OfReal & TKnots, TColStd_Array1OfInteger & TMults); - /****************** Curve2dPoles ******************/ - /**** md5 signature: 21b8c37cf290ddbf86d8741351d65e6f ****/ + /****** AppBlend_Approx::Curve2dPoles ******/ + /****** md5 signature: 21b8c37cf290ddbf86d8741351d65e6f ******/ %feature("compactdefaultargs") Curve2dPoles; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- TColgp_Array1OfPnt2d + +Description +----------- +No available documentation. ") Curve2dPoles; virtual const TColgp_Array1OfPnt2d & Curve2dPoles(const Standard_Integer Index); - /****************** Curves2dDegree ******************/ - /**** md5 signature: 4509acc411fdc27018b295deca2cb8c4 ****/ + /****** AppBlend_Approx::Curves2dDegree ******/ + /****** md5 signature: 4509acc411fdc27018b295deca2cb8c4 ******/ %feature("compactdefaultargs") Curves2dDegree; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") Curves2dDegree; virtual Standard_Integer Curves2dDegree(); - /****************** Curves2dKnots ******************/ - /**** md5 signature: 1fce4ab4de82998f2a2d9c8deabc481d ****/ + /****** AppBlend_Approx::Curves2dKnots ******/ + /****** md5 signature: 1fce4ab4de82998f2a2d9c8deabc481d ******/ %feature("compactdefaultargs") Curves2dKnots; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TColStd_Array1OfReal + +Description +----------- +No available documentation. ") Curves2dKnots; virtual const TColStd_Array1OfReal & Curves2dKnots(); - /****************** Curves2dMults ******************/ - /**** md5 signature: 74370fb1d6aa282da8696027e9fc8b1a ****/ + /****** AppBlend_Approx::Curves2dMults ******/ + /****** md5 signature: 74370fb1d6aa282da8696027e9fc8b1a ******/ %feature("compactdefaultargs") Curves2dMults; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TColStd_Array1OfInteger + +Description +----------- +No available documentation. ") Curves2dMults; virtual const TColStd_Array1OfInteger & Curves2dMults(); - /****************** Curves2dShape ******************/ - /**** md5 signature: f9f7c23cba49fa5b9e086d4d285a1ea8 ****/ + /****** AppBlend_Approx::Curves2dShape ******/ + /****** md5 signature: f9f7c23cba49fa5b9e086d4d285a1ea8 ******/ %feature("compactdefaultargs") Curves2dShape; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- Degree: int NbPoles: int NbKnots: int + +Description +----------- +No available documentation. ") Curves2dShape; virtual void Curves2dShape(Standard_Integer &OutValue, Standard_Integer &OutValue, Standard_Integer &OutValue); - /****************** IsDone ******************/ - /**** md5 signature: 36fb91162f1629bd3590f9505ad76527 ****/ + /****** AppBlend_Approx::IsDone ******/ + /****** md5 signature: 36fb91162f1629bd3590f9505ad76527 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsDone; virtual Standard_Boolean IsDone(); - /****************** NbCurves2d ******************/ - /**** md5 signature: b464512c5d6604037088136e2a46084c ****/ + /****** AppBlend_Approx::NbCurves2d ******/ + /****** md5 signature: b464512c5d6604037088136e2a46084c ******/ %feature("compactdefaultargs") NbCurves2d; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbCurves2d; virtual Standard_Integer NbCurves2d(); - /****************** SurfPoles ******************/ - /**** md5 signature: 3feda0b0926d82c7983d7133a272d10e ****/ + /****** AppBlend_Approx::SurfPoles ******/ + /****** md5 signature: 3feda0b0926d82c7983d7133a272d10e ******/ %feature("compactdefaultargs") SurfPoles; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TColgp_Array2OfPnt + +Description +----------- +No available documentation. ") SurfPoles; virtual const TColgp_Array2OfPnt & SurfPoles(); - /****************** SurfShape ******************/ - /**** md5 signature: 0c93f2a9040da0496a6f04a40b0a1a26 ****/ + /****** AppBlend_Approx::SurfShape ******/ + /****** md5 signature: 0c93f2a9040da0496a6f04a40b0a1a26 ******/ %feature("compactdefaultargs") SurfShape; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- UDegree: int VDegree: int @@ -212,69 +235,82 @@ NbUPoles: int NbVPoles: int NbUKnots: int NbVKnots: int + +Description +----------- +No available documentation. ") SurfShape; virtual void SurfShape(Standard_Integer &OutValue, Standard_Integer &OutValue, Standard_Integer &OutValue, Standard_Integer &OutValue, Standard_Integer &OutValue, Standard_Integer &OutValue); - /****************** SurfUKnots ******************/ - /**** md5 signature: 91644c8d2b15417aea0d1b6f71d5fd9d ****/ + /****** AppBlend_Approx::SurfUKnots ******/ + /****** md5 signature: 91644c8d2b15417aea0d1b6f71d5fd9d ******/ %feature("compactdefaultargs") SurfUKnots; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TColStd_Array1OfReal + +Description +----------- +No available documentation. ") SurfUKnots; virtual const TColStd_Array1OfReal & SurfUKnots(); - /****************** SurfUMults ******************/ - /**** md5 signature: b004082cbd8fd147e3c9ac946a6ce77c ****/ + /****** AppBlend_Approx::SurfUMults ******/ + /****** md5 signature: b004082cbd8fd147e3c9ac946a6ce77c ******/ %feature("compactdefaultargs") SurfUMults; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TColStd_Array1OfInteger + +Description +----------- +No available documentation. ") SurfUMults; virtual const TColStd_Array1OfInteger & SurfUMults(); - /****************** SurfVKnots ******************/ - /**** md5 signature: d94937812d05e1a5a45d49af1046f23a ****/ + /****** AppBlend_Approx::SurfVKnots ******/ + /****** md5 signature: d94937812d05e1a5a45d49af1046f23a ******/ %feature("compactdefaultargs") SurfVKnots; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TColStd_Array1OfReal + +Description +----------- +No available documentation. ") SurfVKnots; virtual const TColStd_Array1OfReal & SurfVKnots(); - /****************** SurfVMults ******************/ - /**** md5 signature: e3026c1f9e4d8ad28f9b02514bcb563b ****/ + /****** AppBlend_Approx::SurfVMults ******/ + /****** md5 signature: e3026c1f9e4d8ad28f9b02514bcb563b ******/ %feature("compactdefaultargs") SurfVMults; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TColStd_Array1OfInteger + +Description +----------- +No available documentation. ") SurfVMults; virtual const TColStd_Array1OfInteger & SurfVMults(); - /****************** SurfWeights ******************/ - /**** md5 signature: 0094429327b3e1793b1574a1c3f24891 ****/ + /****** AppBlend_Approx::SurfWeights ******/ + /****** md5 signature: 0094429327b3e1793b1574a1c3f24891 ******/ %feature("compactdefaultargs") SurfWeights; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TColStd_Array2OfReal + +Description +----------- +No available documentation. ") SurfWeights; virtual const TColStd_Array2OfReal & SurfWeights(); - /****************** Surface ******************/ - /**** md5 signature: 3dc7a47afa12113df713d63f693e8a9c ****/ + /****** AppBlend_Approx::Surface ******/ + /****** md5 signature: 3dc7a47afa12113df713d63f693e8a9c ******/ %feature("compactdefaultargs") Surface; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- TPoles: TColgp_Array2OfPnt @@ -284,61 +320,75 @@ TVKnots: TColStd_Array1OfReal TUMults: TColStd_Array1OfInteger TVMults: TColStd_Array1OfInteger -Returns +Return ------- None + +Description +----------- +No available documentation. ") Surface; virtual void Surface(TColgp_Array2OfPnt & TPoles, TColStd_Array2OfReal & TWeights, TColStd_Array1OfReal & TUKnots, TColStd_Array1OfReal & TVKnots, TColStd_Array1OfInteger & TUMults, TColStd_Array1OfInteger & TVMults); - /****************** TolCurveOnSurf ******************/ - /**** md5 signature: 77dc1cab6bb65cb31b29453e222cda0d ****/ + /****** AppBlend_Approx::TolCurveOnSurf ******/ + /****** md5 signature: 77dc1cab6bb65cb31b29453e222cda0d ******/ %feature("compactdefaultargs") TolCurveOnSurf; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- float + +Description +----------- +No available documentation. ") TolCurveOnSurf; virtual Standard_Real TolCurveOnSurf(const Standard_Integer Index); - /****************** TolReached ******************/ - /**** md5 signature: 5e9aae13c8bbf85f458ef90b551aedd6 ****/ + /****** AppBlend_Approx::TolReached ******/ + /****** md5 signature: 5e9aae13c8bbf85f458ef90b551aedd6 ******/ %feature("compactdefaultargs") TolReached; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- Tol3d: float Tol2d: float + +Description +----------- +No available documentation. ") TolReached; virtual void TolReached(Standard_Real &OutValue, Standard_Real &OutValue); - /****************** UDegree ******************/ - /**** md5 signature: 99251021d46ac57c1f99021acfd6c37a ****/ + /****** AppBlend_Approx::UDegree ******/ + /****** md5 signature: 99251021d46ac57c1f99021acfd6c37a ******/ %feature("compactdefaultargs") UDegree; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") UDegree; virtual Standard_Integer UDegree(); - /****************** VDegree ******************/ - /**** md5 signature: 392167bc1e0a7022cba57acab5609126 ****/ + /****** AppBlend_Approx::VDegree ******/ + /****** md5 signature: 392167bc1e0a7022cba57acab5609126 ******/ %feature("compactdefaultargs") VDegree; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") VDegree; virtual Standard_Integer VDegree(); diff --git a/src/SWIG_files/wrapper/AppBlend.pyi b/src/SWIG_files/wrapper/AppBlend.pyi index 7404ea036..5ca78d918 100644 --- a/src/SWIG_files/wrapper/AppBlend.pyi +++ b/src/SWIG_files/wrapper/AppBlend.pyi @@ -6,30 +6,42 @@ from OCC.Core.NCollection import * from OCC.Core.TColgp import * from OCC.Core.TColStd import * - class AppBlend_Approx: - def Curve2d(self, Index: int, TPoles: TColgp_Array1OfPnt2d, TKnots: TColStd_Array1OfReal, TMults: TColStd_Array1OfInteger) -> None: ... - def Curve2dPoles(self, Index: int) -> TColgp_Array1OfPnt2d: ... - def Curves2dDegree(self) -> int: ... - def Curves2dKnots(self) -> TColStd_Array1OfReal: ... - def Curves2dMults(self) -> TColStd_Array1OfInteger: ... - def Curves2dShape(self) -> Tuple[int, int, int]: ... - def IsDone(self) -> bool: ... - def NbCurves2d(self) -> int: ... - def SurfPoles(self) -> TColgp_Array2OfPnt: ... - def SurfShape(self) -> Tuple[int, int, int, int, int, int]: ... - def SurfUKnots(self) -> TColStd_Array1OfReal: ... - def SurfUMults(self) -> TColStd_Array1OfInteger: ... - def SurfVKnots(self) -> TColStd_Array1OfReal: ... - def SurfVMults(self) -> TColStd_Array1OfInteger: ... - def SurfWeights(self) -> TColStd_Array2OfReal: ... - def Surface(self, TPoles: TColgp_Array2OfPnt, TWeights: TColStd_Array2OfReal, TUKnots: TColStd_Array1OfReal, TVKnots: TColStd_Array1OfReal, TUMults: TColStd_Array1OfInteger, TVMults: TColStd_Array1OfInteger) -> None: ... - def TolCurveOnSurf(self, Index: int) -> float: ... - def TolReached(self) -> Tuple[float, float]: ... - def UDegree(self) -> int: ... - def VDegree(self) -> int: ... + def Curve2d( + self, + Index: int, + TPoles: TColgp_Array1OfPnt2d, + TKnots: TColStd_Array1OfReal, + TMults: TColStd_Array1OfInteger, + ) -> None: ... + def Curve2dPoles(self, Index: int) -> TColgp_Array1OfPnt2d: ... + def Curves2dDegree(self) -> int: ... + def Curves2dKnots(self) -> TColStd_Array1OfReal: ... + def Curves2dMults(self) -> TColStd_Array1OfInteger: ... + def Curves2dShape(self) -> Tuple[int, int, int]: ... + def IsDone(self) -> bool: ... + def NbCurves2d(self) -> int: ... + def SurfPoles(self) -> TColgp_Array2OfPnt: ... + def SurfShape(self) -> Tuple[int, int, int, int, int, int]: ... + def SurfUKnots(self) -> TColStd_Array1OfReal: ... + def SurfUMults(self) -> TColStd_Array1OfInteger: ... + def SurfVKnots(self) -> TColStd_Array1OfReal: ... + def SurfVMults(self) -> TColStd_Array1OfInteger: ... + def SurfWeights(self) -> TColStd_Array2OfReal: ... + def Surface( + self, + TPoles: TColgp_Array2OfPnt, + TWeights: TColStd_Array2OfReal, + TUKnots: TColStd_Array1OfReal, + TVKnots: TColStd_Array1OfReal, + TUMults: TColStd_Array1OfInteger, + TVMults: TColStd_Array1OfInteger, + ) -> None: ... + def TolCurveOnSurf(self, Index: int) -> float: ... + def TolReached(self) -> Tuple[float, float]: ... + def UDegree(self) -> int: ... + def VDegree(self) -> int: ... # harray1 classes # harray2 classes # hsequence classes - diff --git a/src/SWIG_files/wrapper/AppCont.i b/src/SWIG_files/wrapper/AppCont.i index e223730ef..9e9053e77 100644 --- a/src/SWIG_files/wrapper/AppCont.i +++ b/src/SWIG_files/wrapper/AppCont.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define APPCONTDOCSTRING "AppCont module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_appcont.html" +https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_appcont.html" %enddef %module (package="OCC.Core", docstring=APPCONTDOCSTRING) AppCont @@ -31,8 +31,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_appcont.html" %include ../common/CommonIncludes.i %include ../common/ExceptionCatcher.i %include ../common/FunctionTransformers.i +%include ../common/EnumTemplates.i %include ../common/Operators.i %include ../common/OccHandle.i +%include ../common/IOStream.i +%include ../common/ArrayMacros.i %{ @@ -42,7 +45,6 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_appcont.html" #include #include #include -#include #include #include #include @@ -52,7 +54,6 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_appcont.html" %import Standard.i %import NCollection.i %import AppParCurves.i -%import math.i %pythoncode { from enum import IntEnum @@ -62,7 +63,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -82,112 +83,133 @@ from OCC.Core.Exception import * %nodefaultctor AppCont_Function; class AppCont_Function { public: - /****************** D1 ******************/ - /**** md5 signature: d74f1ada11c5cab4d59bf5506c4d986e ****/ + /****** AppCont_Function::D1 ******/ + /****** md5 signature: d74f1ada11c5cab4d59bf5506c4d986e ******/ %feature("compactdefaultargs") D1; - %feature("autodoc", "Returns the derivative at parameter . - + %feature("autodoc", " Parameters ---------- theU: float theVec2d: NCollection_Array1 theVec: NCollection_Array1 -Returns +Return ------- bool + +Description +----------- +Returns the derivative at parameter . ") D1; virtual Standard_Boolean D1(const Standard_Real theU, NCollection_Array1 & theVec2d, NCollection_Array1 & theVec); - /****************** FirstParameter ******************/ - /**** md5 signature: d1641ead93c23610f9b5155af230348d ****/ + /****** AppCont_Function::FirstParameter ******/ + /****** md5 signature: d1641ead93c23610f9b5155af230348d ******/ %feature("compactdefaultargs") FirstParameter; - %feature("autodoc", "Returns the first parameter of the function. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the first parameter of the function. ") FirstParameter; virtual Standard_Real FirstParameter(); - /****************** GetNbOf2dPoints ******************/ - /**** md5 signature: 3f7ada48633b9454e96b6c14faaaa97b ****/ + /****** AppCont_Function::GetNbOf2dPoints ******/ + /****** md5 signature: 3f7ada48633b9454e96b6c14faaaa97b ******/ %feature("compactdefaultargs") GetNbOf2dPoints; - %feature("autodoc", "Get number of 2d points returned by 'value' and 'd1' functions. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Get number of 2d points returned by 'Value' and 'D1' functions. ") GetNbOf2dPoints; Standard_Integer GetNbOf2dPoints(); - /****************** GetNbOf3dPoints ******************/ - /**** md5 signature: 34417cccd11cb70858a56fd546f2c85d ****/ + /****** AppCont_Function::GetNbOf3dPoints ******/ + /****** md5 signature: 34417cccd11cb70858a56fd546f2c85d ******/ %feature("compactdefaultargs") GetNbOf3dPoints; - %feature("autodoc", "Get number of 3d points returned by 'value' and 'd1' functions. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Get number of 3d points returned by 'Value' and 'D1' functions. ") GetNbOf3dPoints; Standard_Integer GetNbOf3dPoints(); - /****************** GetNumberOfPoints ******************/ - /**** md5 signature: f86c4c0754a51bf0afa2e9f149bdf2e0 ****/ + /****** AppCont_Function::GetNumberOfPoints ******/ + /****** md5 signature: f86c4c0754a51bf0afa2e9f149bdf2e0 ******/ %feature("compactdefaultargs") GetNumberOfPoints; - %feature("autodoc", "Get number of 3d and 2d points returned by 'value' and 'd1' functions. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- theNbPnt: int theNbPnt2d: int + +Description +----------- +Get number of 3d and 2d points returned by 'Value' and 'D1' functions. ") GetNumberOfPoints; void GetNumberOfPoints(Standard_Integer &OutValue, Standard_Integer &OutValue); - /****************** LastParameter ******************/ - /**** md5 signature: 78c346d133438e913e50667c32977882 ****/ + /****** AppCont_Function::LastParameter ******/ + /****** md5 signature: 78c346d133438e913e50667c32977882 ******/ %feature("compactdefaultargs") LastParameter; - %feature("autodoc", "Returns the last parameter of the function. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the last parameter of the function. ") LastParameter; virtual Standard_Real LastParameter(); - /****************** PeriodInformation ******************/ - /**** md5 signature: 2ec0eaf4e71d35192917d14baaa1c237 ****/ + /****** AppCont_Function::PeriodInformation ******/ + /****** md5 signature: 2ec0eaf4e71d35192917d14baaa1c237 ******/ %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. - + %feature("autodoc", " Parameters ---------- Standard_Integer: -Returns +Return ------- IsPeriodic: bool thePeriod: float + +Description +----------- +Return information about peridicity in output paramateters space. +Parameter theDimIdx Defines index in output parameters space. 1 <= theDimIdx <= 3 * myNbPnt + 2 * myNbPnt2d. ") PeriodInformation; virtual void PeriodInformation(const Standard_Integer, Standard_Boolean &OutValue, Standard_Real &OutValue); - /****************** Value ******************/ - /**** md5 signature: f5048d9ba7a2a644fd22ab0a87e61896 ****/ + /****** AppCont_Function::Value ******/ + /****** md5 signature: f5048d9ba7a2a644fd22ab0a87e61896 ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns the point at parameter . - + %feature("autodoc", " Parameters ---------- theU: float thePnt2d: NCollection_Array1 thePnt: NCollection_Array1 -Returns +Return ------- bool + +Description +----------- +Returns the point at parameter . ") Value; virtual Standard_Boolean Value(const Standard_Real theU, NCollection_Array1 & thePnt2d, NCollection_Array1 & thePnt); @@ -205,11 +227,10 @@ bool ****************************/ class AppCont_LeastSquare { public: - /****************** AppCont_LeastSquare ******************/ - /**** md5 signature: bef4a7f12a53a8a2686f96d5313108c8 ****/ + /****** AppCont_LeastSquare::AppCont_LeastSquare ******/ + /****** md5 signature: bef4a7f12a53a8a2686f96d5313108c8 ******/ %feature("compactdefaultargs") AppCont_LeastSquare; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- SSP: AppCont_Function @@ -220,49 +241,60 @@ LastCons: AppParCurves_Constraint Deg: int NbPoints: int -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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); - /****************** Error ******************/ - /**** md5 signature: 6cc4f4a7927f2c0b4ca37a4d45ee7075 ****/ + /****** AppCont_LeastSquare::Error ******/ + /****** md5 signature: 6cc4f4a7927f2c0b4ca37a4d45ee7075 ******/ %feature("compactdefaultargs") Error; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- F: float MaxE3d: float MaxE2d: float + +Description +----------- +No available documentation. ") Error; void Error(Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** AppCont_LeastSquare::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsDone; Standard_Boolean IsDone(); - /****************** Value ******************/ - /**** md5 signature: 59eb7b43f630b0afdd94fa8f4898fb6d ****/ + /****** AppCont_LeastSquare::Value ******/ + /****** md5 signature: 59eb7b43f630b0afdd94fa8f4898fb6d ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiCurve + +Description +----------- +No available documentation. ") Value; - const AppParCurves_MultiCurve & Value(); + AppParCurves_MultiCurve Value(); }; diff --git a/src/SWIG_files/wrapper/AppCont.pyi b/src/SWIG_files/wrapper/AppCont.pyi index ddaecdc0b..545820c12 100644 --- a/src/SWIG_files/wrapper/AppCont.pyi +++ b/src/SWIG_files/wrapper/AppCont.pyi @@ -4,23 +4,29 @@ from typing import overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * from OCC.Core.AppParCurves import * -from OCC.Core.math import * - class AppCont_Function: - def FirstParameter(self) -> float: ... - def GetNbOf2dPoints(self) -> int: ... - def GetNbOf3dPoints(self) -> int: ... - def GetNumberOfPoints(self) -> Tuple[int, int]: ... - def LastParameter(self) -> float: ... + def FirstParameter(self) -> float: ... + def GetNbOf2dPoints(self) -> int: ... + def GetNbOf3dPoints(self) -> int: ... + def GetNumberOfPoints(self) -> Tuple[int, int]: ... + def LastParameter(self) -> float: ... class AppCont_LeastSquare: - def __init__(self, SSP: AppCont_Function, U0: float, U1: float, FirstCons: AppParCurves_Constraint, LastCons: AppParCurves_Constraint, Deg: int, NbPoints: int) -> None: ... - def Error(self) -> Tuple[float, float, float]: ... - def IsDone(self) -> bool: ... - def Value(self) -> AppParCurves_MultiCurve: ... + def __init__( + self, + SSP: AppCont_Function, + U0: float, + U1: float, + FirstCons: AppParCurves_Constraint, + LastCons: AppParCurves_Constraint, + Deg: int, + NbPoints: int, + ) -> None: ... + def Error(self) -> Tuple[float, float, float]: ... + def IsDone(self) -> bool: ... + def Value(self) -> AppParCurves_MultiCurve: ... # harray1 classes # harray2 classes # hsequence classes - diff --git a/src/SWIG_files/wrapper/AppDef.i b/src/SWIG_files/wrapper/AppDef.i index 141bf6d99..809a8f389 100644 --- a/src/SWIG_files/wrapper/AppDef.i +++ b/src/SWIG_files/wrapper/AppDef.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define APPDEFDOCSTRING "AppDef module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_appdef.html" +https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_appdef.html" %enddef %module (package="OCC.Core", docstring=APPDEFDOCSTRING) AppDef @@ -31,8 +31,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_appdef.html" %include ../common/CommonIncludes.i %include ../common/ExceptionCatcher.i %include ../common/FunctionTransformers.i +%include ../common/EnumTemplates.i %include ../common/Operators.i %include ../common/OccHandle.i +%include ../common/IOStream.i +%include ../common/ArrayMacros.i %{ @@ -79,7 +82,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -92,40 +95,8 @@ from OCC.Core.Exception import * /* templates */ %template(AppDef_Array1OfMultiPointConstraint) NCollection_Array1; +Array1ExtendIter(AppDef_MultiPointConstraint) -%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 - } -}; /* end templates declaration */ /* typedefs */ @@ -137,11 +108,10 @@ typedef NCollection_Array1 AppDef_Array1OfMultiPoin ****************************************************************/ class AppDef_BSpGradient_BFGSOfMyBSplGradientOfBSplineCompute : public math_BFGS { public: - /****************** AppDef_BSpGradient_BFGSOfMyBSplGradientOfBSplineCompute ******************/ - /**** md5 signature: b799c0288bfc80846933f29e0453169e ****/ + /****** AppDef_BSpGradient_BFGSOfMyBSplGradientOfBSplineCompute::AppDef_BSpGradient_BFGSOfMyBSplGradientOfBSplineCompute ******/ + /****** md5 signature: b799c0288bfc80846933f29e0453169e ******/ %feature("compactdefaultargs") AppDef_BSpGradient_BFGSOfMyBSplGradientOfBSplineCompute; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- F: math_MultipleVarFunctionWithGradient @@ -149,27 +119,33 @@ StartingPoint: math_Vector Tolerance3d: float Tolerance2d: float Eps: float -NbIterations: int,optional - default value is 200 +NbIterations: int (optional, default to 200) -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: a6c0da888a257bf852b40b8daf6526dc ****/ + /****** AppDef_BSpGradient_BFGSOfMyBSplGradientOfBSplineCompute::IsSolutionReached ******/ + /****** md5 signature: a6c0da888a257bf852b40b8daf6526dc ******/ %feature("compactdefaultargs") IsSolutionReached; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- F: math_MultipleVarFunctionWithGradient -Returns +Return ------- bool + +Description +----------- +No available documentation. ") IsSolutionReached; virtual Standard_Boolean IsSolutionReached(math_MultipleVarFunctionWithGradient & F); @@ -187,11 +163,10 @@ bool **************************************************************/ class AppDef_BSpParFunctionOfMyBSplGradientOfBSplineCompute : public math_MultipleVarFunctionWithGradient { public: - /****************** AppDef_BSpParFunctionOfMyBSplGradientOfBSplineCompute ******************/ - /**** md5 signature: 659c146b3e69832c7073bcc94e62f2f9 ****/ + /****** AppDef_BSpParFunctionOfMyBSplGradientOfBSplineCompute::AppDef_BSpParFunctionOfMyBSplGradientOfBSplineCompute ******/ + /****** md5 signature: 659c146b3e69832c7073bcc94e62f2f9 ******/ %feature("compactdefaultargs") AppDef_BSpParFunctionOfMyBSplGradientOfBSplineCompute; - %feature("autodoc", "Initializes the fields of the function. the approximating curve has control points. - + %feature("autodoc", " Parameters ---------- SSP: AppDef_MultiLine @@ -203,222 +178,266 @@ Knots: TColStd_Array1OfReal Mults: TColStd_Array1OfInteger NbPol: int -Returns +Return ------- None + +Description +----------- +initializes the fields of the function. The approximating curve has control points. ") 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 ******************/ - /**** md5 signature: c83ed6c1c3091309bccd8d719a30ec54 ****/ + /****** AppDef_BSpParFunctionOfMyBSplGradientOfBSplineCompute::CurveValue ******/ + /****** md5 signature: c83ed6c1c3091309bccd8d719a30ec54 ******/ %feature("compactdefaultargs") CurveValue; - %feature("autodoc", "Returns the multibspcurve approximating the set after computing the value f or grad(f). - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiBSpCurve + +Description +----------- +returns the MultiBSpCurve approximating the set after computing the value F or Grad(F). ") CurveValue; AppParCurves_MultiBSpCurve CurveValue(); - /****************** DerivativeFunctionMatrix ******************/ - /**** md5 signature: c2dbca1da1c1c1aaf2ff7895be813eaf ****/ + /****** AppDef_BSpParFunctionOfMyBSplGradientOfBSplineCompute::DerivativeFunctionMatrix ******/ + /****** md5 signature: c2dbca1da1c1c1aaf2ff7895be813eaf ******/ %feature("compactdefaultargs") DerivativeFunctionMatrix; - %feature("autodoc", "Returns the derivative function matrix used to approximate the multiline. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the derivative function matrix used to approximate the multiline. ") DerivativeFunctionMatrix; const math_Matrix & DerivativeFunctionMatrix(); - /****************** Error ******************/ - /**** md5 signature: 540c96711689798ec6a7d515d5e5e1c7 ****/ + /****** AppDef_BSpParFunctionOfMyBSplGradientOfBSplineCompute::Error ******/ + /****** md5 signature: 540c96711689798ec6a7d515d5e5e1c7 ******/ %feature("compactdefaultargs") Error; - %feature("autodoc", "Returns the distance between the multipoint of range ipoint and the curve curveindex. - + %feature("autodoc", " Parameters ---------- IPoint: int CurveIndex: int -Returns +Return ------- float + +Description +----------- +returns the distance between the MultiPoint of range IPoint and the curve CurveIndex. ") Error; Standard_Real Error(const Standard_Integer IPoint, const Standard_Integer CurveIndex); - /****************** FirstConstraint ******************/ - /**** md5 signature: 6814c8615ee3f59417c740c77d2ce795 ****/ + /****** AppDef_BSpParFunctionOfMyBSplGradientOfBSplineCompute::FirstConstraint ******/ + /****** md5 signature: 6814c8615ee3f59417c740c77d2ce795 ******/ %feature("compactdefaultargs") FirstConstraint; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- TheConstraints: AppParCurves_HArray1OfConstraintCouple FirstPoint: int -Returns +Return ------- AppParCurves_Constraint + +Description +----------- +No available documentation. ") FirstConstraint; AppParCurves_Constraint FirstConstraint(const opencascade::handle & TheConstraints, const Standard_Integer FirstPoint); - /****************** FunctionMatrix ******************/ - /**** md5 signature: aec90dd003c289db9092eb79712677e1 ****/ + /****** AppDef_BSpParFunctionOfMyBSplGradientOfBSplineCompute::FunctionMatrix ******/ + /****** md5 signature: aec90dd003c289db9092eb79712677e1 ******/ %feature("compactdefaultargs") FunctionMatrix; - %feature("autodoc", "Returns the function matrix used to approximate the multiline. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the function matrix used to approximate the multiline. ") FunctionMatrix; const math_Matrix & FunctionMatrix(); - /****************** Gradient ******************/ - /**** md5 signature: 5ee531ceab07ab216991e3bf02edf0f7 ****/ + /****** AppDef_BSpParFunctionOfMyBSplGradientOfBSplineCompute::Gradient ******/ + /****** md5 signature: 5ee531ceab07ab216991e3bf02edf0f7 ******/ %feature("compactdefaultargs") Gradient; - %feature("autodoc", "Returns the gradient g of the sum above for the parameters xi. - + %feature("autodoc", " Parameters ---------- X: math_Vector G: math_Vector -Returns +Return ------- bool + +Description +----------- +returns the gradient G of the sum above for the parameters Xi. ") Gradient; Standard_Boolean Gradient(const math_Vector & X, math_Vector & G); - /****************** Index ******************/ - /**** md5 signature: c11a6982042d7a2c5bf9fb50324ac971 ****/ + /****** AppDef_BSpParFunctionOfMyBSplGradientOfBSplineCompute::Index ******/ + /****** md5 signature: c11a6982042d7a2c5bf9fb50324ac971 ******/ %feature("compactdefaultargs") 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. - -Returns + %feature("autodoc", "Return ------- math_IntegerVector + +Description +----------- +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. ") Index; const math_IntegerVector & Index(); - /****************** LastConstraint ******************/ - /**** md5 signature: f3572ad2cc7e299a1f7b6cb9d14677cf ****/ + /****** AppDef_BSpParFunctionOfMyBSplGradientOfBSplineCompute::LastConstraint ******/ + /****** md5 signature: f3572ad2cc7e299a1f7b6cb9d14677cf ******/ %feature("compactdefaultargs") LastConstraint; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- TheConstraints: AppParCurves_HArray1OfConstraintCouple LastPoint: int -Returns +Return ------- AppParCurves_Constraint + +Description +----------- +No available documentation. ") LastConstraint; AppParCurves_Constraint LastConstraint(const opencascade::handle & TheConstraints, const Standard_Integer LastPoint); - /****************** MaxError2d ******************/ - /**** md5 signature: 2590e15e02ab7eeda39345ef64189e30 ****/ + /****** AppDef_BSpParFunctionOfMyBSplGradientOfBSplineCompute::MaxError2d ******/ + /****** md5 signature: 2590e15e02ab7eeda39345ef64189e30 ******/ %feature("compactdefaultargs") MaxError2d; - %feature("autodoc", "Returns the maximum distance between the points and the multibspcurve. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the maximum distance between the points and the MultiBSpCurve. ") MaxError2d; Standard_Real MaxError2d(); - /****************** MaxError3d ******************/ - /**** md5 signature: c6ba463cdf4a0e426329b589363186b7 ****/ + /****** AppDef_BSpParFunctionOfMyBSplGradientOfBSplineCompute::MaxError3d ******/ + /****** md5 signature: c6ba463cdf4a0e426329b589363186b7 ******/ %feature("compactdefaultargs") MaxError3d; - %feature("autodoc", "Returns the maximum distance between the points and the multibspcurve. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the maximum distance between the points and the MultiBSpCurve. ") MaxError3d; Standard_Real MaxError3d(); - /****************** NbVariables ******************/ - /**** md5 signature: a3de6b8a577fc113199e11b2b0bcdced ****/ + /****** AppDef_BSpParFunctionOfMyBSplGradientOfBSplineCompute::NbVariables ******/ + /****** md5 signature: a3de6b8a577fc113199e11b2b0bcdced ******/ %feature("compactdefaultargs") NbVariables; - %feature("autodoc", "Returns the number of variables of the function. it corresponds to the number of multipoints. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +returns the number of variables of the function. It corresponds to the number of MultiPoints. ") NbVariables; Standard_Integer NbVariables(); - /****************** NewParameters ******************/ - /**** md5 signature: 1d606e7b2aa9813a84f6984ebdf52bb7 ****/ + /****** AppDef_BSpParFunctionOfMyBSplGradientOfBSplineCompute::NewParameters ******/ + /****** md5 signature: 1d606e7b2aa9813a84f6984ebdf52bb7 ******/ %feature("compactdefaultargs") NewParameters; - %feature("autodoc", "Returns the new parameters of the multiline. - -Returns + %feature("autodoc", "Return ------- math_Vector + +Description +----------- +returns the new parameters of the MultiLine. ") NewParameters; const math_Vector & NewParameters(); - /****************** SetFirstLambda ******************/ - /**** md5 signature: 819efdb8532bd01857d5e29b79901d19 ****/ + /****** AppDef_BSpParFunctionOfMyBSplGradientOfBSplineCompute::SetFirstLambda ******/ + /****** md5 signature: 819efdb8532bd01857d5e29b79901d19 ******/ %feature("compactdefaultargs") SetFirstLambda; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- l1: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetFirstLambda; void SetFirstLambda(const Standard_Real l1); - /****************** SetLastLambda ******************/ - /**** md5 signature: b34d15f9505b8355ba362a879a836d1a ****/ + /****** AppDef_BSpParFunctionOfMyBSplGradientOfBSplineCompute::SetLastLambda ******/ + /****** md5 signature: b34d15f9505b8355ba362a879a836d1a ******/ %feature("compactdefaultargs") SetLastLambda; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- l2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetLastLambda; void SetLastLambda(const Standard_Real l2); - /****************** Value ******************/ - /**** md5 signature: 33f8b9f75d238865cc320f57ac729801 ****/ + /****** AppDef_BSpParFunctionOfMyBSplGradientOfBSplineCompute::Value ******/ + /****** md5 signature: 33f8b9f75d238865cc320f57ac729801 ******/ %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. - + %feature("autodoc", " Parameters ---------- X: math_Vector -Returns +Return ------- F: float + +Description +----------- +this method computes the new approximation of the MultiLine SSP and calculates F = sum (||Pui - Bi*Pi||2) for each point of the MultiLine. ") Value; Standard_Boolean Value(const math_Vector & X, Standard_Real &OutValue); - /****************** Values ******************/ - /**** md5 signature: 66c7c08f6bec2933f700c6f45cf14285 ****/ + /****** AppDef_BSpParFunctionOfMyBSplGradientOfBSplineCompute::Values ******/ + /****** md5 signature: 66c7c08f6bec2933f700c6f45cf14285 ******/ %feature("compactdefaultargs") Values; - %feature("autodoc", "Returns the value f=sum(||pui - bi*pi||)2. returns the value g = grad(f) for the parameters xi. - + %feature("autodoc", " Parameters ---------- X: math_Vector G: math_Vector -Returns +Return ------- F: float + +Description +----------- +returns the value F=sum(||Pui - Bi*Pi||)2. returns the value G = grad(F) for the parameters Xi. ") Values; Standard_Boolean Values(const math_Vector & X, Standard_Real &OutValue, math_Vector & G); @@ -436,11 +455,10 @@ F: float *****************************************************************/ class AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute { public: - /****************** AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute ******************/ - /**** md5 signature: 7212679b8f6e008d4b7aa3fb8cfebd46 ****/ + /****** AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute::AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute ******/ + /****** md5 signature: 7212679b8f6e008d4b7aa3fb8cfebd46 ******/ %feature("compactdefaultargs") AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute; - %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). - + %feature("autodoc", " Parameters ---------- SSP: AppDef_MultiLine @@ -451,17 +469,20 @@ LastCons: AppParCurves_Constraint Parameters: math_Vector NbPol: int -Returns +Return ------- None + +Description +----------- +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). ") 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 ******************/ - /**** md5 signature: 95a7c9c221e01ce5ef38001c1e1f1ed1 ****/ + /****** AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute::AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute ******/ + /****** md5 signature: 95a7c9c221e01ce5ef38001c1e1f1ed1 ******/ %feature("compactdefaultargs") AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute; - %feature("autodoc", "Initializes the fields of the object. - + %feature("autodoc", " Parameters ---------- SSP: AppDef_MultiLine @@ -471,17 +492,20 @@ FirstCons: AppParCurves_Constraint LastCons: AppParCurves_Constraint NbPol: int -Returns +Return ------- None + +Description +----------- +Initializes the fields of the object. ") 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 ******************/ - /**** md5 signature: 2780998f405468abc7dcea03504fb32f ****/ + /****** AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute::AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute ******/ + /****** md5 signature: 2780998f405468abc7dcea03504fb32f ******/ %feature("compactdefaultargs") AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute; - %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). - + %feature("autodoc", " Parameters ---------- SSP: AppDef_MultiLine @@ -494,17 +518,20 @@ LastCons: AppParCurves_Constraint Parameters: math_Vector NbPol: int -Returns +Return ------- None + +Description +----------- +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). ") 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 ******************/ - /**** md5 signature: 23e53a2b39fe45234ff5600214a374ac ****/ + /****** AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute::AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute ******/ + /****** md5 signature: 23e53a2b39fe45234ff5600214a374ac ******/ %feature("compactdefaultargs") AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute; - %feature("autodoc", "Initializes the fields of the object. - + %feature("autodoc", " Parameters ---------- SSP: AppDef_MultiLine @@ -516,181 +543,214 @@ FirstCons: AppParCurves_Constraint LastCons: AppParCurves_Constraint NbPol: int -Returns +Return ------- None + +Description +----------- +Initializes the fields of the object. ") 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 ******************/ - /**** md5 signature: a38863f7c9b6fa566ee9fea09f971d5c ****/ + /****** AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute::BSplineValue ******/ + /****** md5 signature: a38863f7c9b6fa566ee9fea09f971d5c ******/ %feature("compactdefaultargs") BSplineValue; - %feature("autodoc", "Returns the result of the approximation, i.e. all the curves. an exception is raised if notdone. - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiBSpCurve + +Description +----------- +returns the result of the approximation, i.e. all the Curves. An exception is raised if NotDone. ") BSplineValue; - const AppParCurves_MultiBSpCurve & BSplineValue(); + AppParCurves_MultiBSpCurve BSplineValue(); - /****************** BezierValue ******************/ - /**** md5 signature: 2bbd29cb039e6bcdcdf61afe82651ac1 ****/ + /****** AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute::BezierValue ******/ + /****** md5 signature: 2bbd29cb039e6bcdcdf61afe82651ac1 ******/ %feature("compactdefaultargs") BezierValue; - %feature("autodoc", "Returns the result of the approximation, i.e. all the curves. an exception is raised if notdone. - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiCurve + +Description +----------- +returns the result of the approximation, i.e. all the Curves. An exception is raised if NotDone. ") BezierValue; AppParCurves_MultiCurve BezierValue(); - /****************** DerivativeFunctionMatrix ******************/ - /**** md5 signature: c2dbca1da1c1c1aaf2ff7895be813eaf ****/ + /****** AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute::DerivativeFunctionMatrix ******/ + /****** md5 signature: c2dbca1da1c1c1aaf2ff7895be813eaf ******/ %feature("compactdefaultargs") DerivativeFunctionMatrix; - %feature("autodoc", "Returns the derivative function matrix used to approximate the set. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the derivative function matrix used to approximate the set. ") DerivativeFunctionMatrix; const math_Matrix & DerivativeFunctionMatrix(); - /****************** Distance ******************/ - /**** md5 signature: 608fad06f540e822f2b9f4d329c097b6 ****/ + /****** AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute::Distance ******/ + /****** md5 signature: 608fad06f540e822f2b9f4d329c097b6 ******/ %feature("compactdefaultargs") Distance; - %feature("autodoc", "Returns the distances between the points of the multiline and the approximation curves. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the distances between the points of the multiline and the approximation curves. ") Distance; const math_Matrix & Distance(); - /****************** Error ******************/ - /**** md5 signature: 7c05c0164fc88dbacc4d90d301fe7f12 ****/ + /****** AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute::Error ******/ + /****** md5 signature: 7c05c0164fc88dbacc4d90d301fe7f12 ******/ %feature("compactdefaultargs") Error; - %feature("autodoc", "Returns the maximum errors between the multiline and the approximation curves. f is the sum of the square distances. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- F: float MaxE3d: float MaxE2d: float + +Description +----------- +returns the maximum errors between the MultiLine and the approximation curves. F is the sum of the square distances. ") Error; void Error(Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** ErrorGradient ******************/ - /**** md5 signature: 3e5c3757aad8d0f394eda590c0bc62e3 ****/ + /****** AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute::ErrorGradient ******/ + /****** md5 signature: 3e5c3757aad8d0f394eda590c0bc62e3 ******/ %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. - + %feature("autodoc", " Parameters ---------- Grad: math_Vector -Returns +Return ------- F: float MaxE3d: float MaxE2d: float + +Description +----------- +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. ") ErrorGradient; void ErrorGradient(math_Vector & Grad, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** FirstLambda ******************/ - /**** md5 signature: 87ad21cc13708c47c81704b38426d999 ****/ + /****** AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute::FirstLambda ******/ + /****** md5 signature: 87ad21cc13708c47c81704b38426d999 ******/ %feature("compactdefaultargs") FirstLambda; - %feature("autodoc", "Returns the value (p2 - p1)/ v1 if the first point was a tangency point. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the value (P2 - P1)/ V1 if the first point was a tangency point. ") FirstLambda; Standard_Real FirstLambda(); - /****************** FunctionMatrix ******************/ - /**** md5 signature: aec90dd003c289db9092eb79712677e1 ****/ + /****** AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute::FunctionMatrix ******/ + /****** md5 signature: aec90dd003c289db9092eb79712677e1 ******/ %feature("compactdefaultargs") FunctionMatrix; - %feature("autodoc", "Returns the function matrix used to approximate the set. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the function matrix used to approximate the set. ") FunctionMatrix; const math_Matrix & FunctionMatrix(); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Returns true if all has been correctly done. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns True if all has been correctly done. ") IsDone; Standard_Boolean IsDone(); - /****************** KIndex ******************/ - /**** md5 signature: 2821052a9bfe72ec4f531ccb52a80ffb ****/ + /****** AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute::KIndex ******/ + /****** md5 signature: 2821052a9bfe72ec4f531ccb52a80ffb ******/ %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. - -Returns + %feature("autodoc", "Return ------- math_IntegerVector + +Description +----------- +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. ") KIndex; const math_IntegerVector & KIndex(); - /****************** LastLambda ******************/ - /**** md5 signature: f7e26790258c4ab513bae9dd1a5955e1 ****/ + /****** AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute::LastLambda ******/ + /****** md5 signature: f7e26790258c4ab513bae9dd1a5955e1 ******/ %feature("compactdefaultargs") LastLambda; - %feature("autodoc", "Returns the value (pn - pn-1)/ vn if the last point was a tangency point. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the value (PN - PN-1)/ VN if the last point was a tangency point. ") LastLambda; Standard_Real LastLambda(); - /****************** Perform ******************/ - /**** md5 signature: 5b8f20d810ea57d5223b42dfd01410ad ****/ + /****** AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute::Perform ******/ + /****** md5 signature: 5b8f20d810ea57d5223b42dfd01410ad ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Is used after having initialized the fields. the case 'curvaturepoint' is not treated in this method. - + %feature("autodoc", " Parameters ---------- Parameters: math_Vector -Returns +Return ------- None + +Description +----------- +Is used after having initialized the fields. The case 'CurvaturePoint' is not treated in this method. ") Perform; void Perform(const math_Vector & Parameters); - /****************** Perform ******************/ - /**** md5 signature: cbf083f2b8329680dc5a52f482f436ad ****/ + /****** AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute::Perform ******/ + /****** md5 signature: cbf083f2b8329680dc5a52f482f436ad ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Is used after having initialized the fields. - + %feature("autodoc", " Parameters ---------- Parameters: math_Vector l1: float l2: float -Returns +Return ------- None + +Description +----------- +Is used after having initialized the fields. ") Perform; void Perform(const math_Vector & Parameters, const Standard_Real l1, const Standard_Real l2); - /****************** Perform ******************/ - /**** md5 signature: 380f2440b07e3b3805c4eda2da2e8c6e ****/ + /****** AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute::Perform ******/ + /****** md5 signature: 380f2440b07e3b3805c4eda2da2e8c6e ******/ %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. - + %feature("autodoc", " Parameters ---------- Parameters: math_Vector @@ -699,17 +759,20 @@ V2t: math_Vector l1: float l2: float -Returns +Return ------- None + +Description +----------- +Is used after having initialized the fields. is the tangent vector at the first point. is the tangent vector at the last point. ") Perform; void Perform(const math_Vector & Parameters, const math_Vector & V1t, const math_Vector & V2t, const Standard_Real l1, const Standard_Real l2); - /****************** Perform ******************/ - /**** md5 signature: 5f7ecae6d947ca76138d939cdd616b0f ****/ + /****** AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute::Perform ******/ + /****** md5 signature: 5f7ecae6d947ca76138d939cdd616b0f ******/ %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. - + %feature("autodoc", " Parameters ---------- Parameters: math_Vector @@ -720,31 +783,39 @@ V2c: math_Vector l1: float l2: float -Returns +Return ------- None + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 8a77545526c5096bca80b9c07f882412 ****/ + /****** AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute::Points ******/ + /****** md5 signature: 8a77545526c5096bca80b9c07f882412 ******/ %feature("compactdefaultargs") Points; - %feature("autodoc", "Returns the matrix of points value. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the matrix of points value. ") Points; const math_Matrix & Points(); - /****************** Poles ******************/ - /**** md5 signature: 1437a652beb857bd22c16de65cb18857 ****/ + /****** AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute::Poles ******/ + /****** md5 signature: 1437a652beb857bd22c16de65cb18857 ******/ %feature("compactdefaultargs") Poles; - %feature("autodoc", "Returns the matrix of resulting control points value. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the matrix of resulting control points value. ") Poles; const math_Matrix & Poles(); @@ -762,379 +833,399 @@ math_Matrix ******************************/ class AppDef_BSplineCompute { public: - /****************** AppDef_BSplineCompute ******************/ - /**** md5 signature: 2408a61abd93bf31117d7ba011536f8c ****/ + /****** AppDef_BSplineCompute::AppDef_BSplineCompute ******/ + /****** md5 signature: 2408a61abd93bf31117d7ba011536f8c ******/ %feature("compactdefaultargs") AppDef_BSplineCompute; - %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. - + %feature("autodoc", " Parameters ---------- Line: AppDef_MultiLine -degreemin: int,optional - default value is 4 -degreemax: int,optional - default value is 8 -Tolerance3d: float,optional - default value is 1.0e-3 -Tolerance2d: float,optional - default value is 1.0e-6 -NbIterations: int,optional - default value is 5 -cutting: bool,optional - default value is Standard_True -parametrization: Approx_ParametrizationType,optional - default value is Approx_ChordLength -Squares: bool,optional - default value is Standard_False - -Returns +degreemin: int (optional, default to 4) +degreemax: int (optional, default to 8) +Tolerance3d: float (optional, default to 1.0e-3) +Tolerance2d: float (optional, default to 1.0e-6) +NbIterations: int (optional, default to 5) +cutting: bool (optional, default to Standard_True) +parametrization: Approx_ParametrizationType (optional, default to Approx_ChordLength) +Squares: bool (optional, default to Standard_False) + +Return ------- None + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 7b22210476c396af31272298fe953380 ****/ + /****** AppDef_BSplineCompute::AppDef_BSplineCompute ******/ + /****** md5 signature: 7b22210476c396af31272298fe953380 ******/ %feature("compactdefaultargs") AppDef_BSplineCompute; - %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. - + %feature("autodoc", " Parameters ---------- Line: AppDef_MultiLine Parameters: math_Vector -degreemin: int,optional - default value is 4 -degreemax: int,optional - default value is 8 -Tolerance3d: float,optional - default value is 1.0e-03 -Tolerance2d: float,optional - default value is 1.0e-06 -NbIterations: int,optional - default value is 5 -cutting: bool,optional - default value is Standard_True -Squares: bool,optional - default value is Standard_False - -Returns +degreemin: int (optional, default to 4) +degreemax: int (optional, default to 8) +Tolerance3d: float (optional, default to 1.0e-03) +Tolerance2d: float (optional, default to 1.0e-06) +NbIterations: int (optional, default to 5) +cutting: bool (optional, default to Standard_True) +Squares: bool (optional, default to Standard_False) + +Return ------- None + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 37659dde443160bc04cf7ecedbff89a5 ****/ + /****** AppDef_BSplineCompute::AppDef_BSplineCompute ******/ + /****** md5 signature: 37659dde443160bc04cf7ecedbff89a5 ******/ %feature("compactdefaultargs") AppDef_BSplineCompute; - %feature("autodoc", "Initializes the fields of the algorithm. - + %feature("autodoc", " Parameters ---------- Parameters: math_Vector -degreemin: int,optional - default value is 4 -degreemax: int,optional - default value is 8 -Tolerance3d: float,optional - default value is 1.0e-03 -Tolerance2d: float,optional - default value is 1.0e-06 -NbIterations: int,optional - default value is 5 -cutting: bool,optional - default value is Standard_True -Squares: bool,optional - default value is Standard_False - -Returns +degreemin: int (optional, default to 4) +degreemax: int (optional, default to 8) +Tolerance3d: float (optional, default to 1.0e-03) +Tolerance2d: float (optional, default to 1.0e-06) +NbIterations: int (optional, default to 5) +cutting: bool (optional, default to Standard_True) +Squares: bool (optional, default to Standard_False) + +Return ------- None + +Description +----------- +Initializes the fields of the algorithm. ") 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 ******************/ - /**** md5 signature: 4beb8fca857f810f35b0c88e2b91fd54 ****/ + /****** AppDef_BSplineCompute::AppDef_BSplineCompute ******/ + /****** md5 signature: 4beb8fca857f810f35b0c88e2b91fd54 ******/ %feature("compactdefaultargs") AppDef_BSplineCompute; - %feature("autodoc", "Initializes the fields of the algorithm. - + %feature("autodoc", " Parameters ---------- -degreemin: int,optional - default value is 4 -degreemax: int,optional - default value is 8 -Tolerance3d: float,optional - default value is 1.0e-03 -Tolerance2d: float,optional - default value is 1.0e-06 -NbIterations: int,optional - default value is 5 -cutting: bool,optional - default value is Standard_True -parametrization: Approx_ParametrizationType,optional - default value is Approx_ChordLength -Squares: bool,optional - default value is Standard_False +degreemin: int (optional, default to 4) +degreemax: int (optional, default to 8) +Tolerance3d: float (optional, default to 1.0e-03) +Tolerance2d: float (optional, default to 1.0e-06) +NbIterations: int (optional, default to 5) +cutting: bool (optional, default to Standard_True) +parametrization: Approx_ParametrizationType (optional, default to Approx_ChordLength) +Squares: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +Initializes the fields of the algorithm. ") 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); - /****************** ChangeValue ******************/ - /**** md5 signature: afc5e23129509014348d63bb72db41ec ****/ + /****** AppDef_BSplineCompute::ChangeValue ******/ + /****** md5 signature: afc5e23129509014348d63bb72db41ec ******/ %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", "Returns the result of the approximation. - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiBSpCurve + +Description +----------- +returns the result of the approximation. ") ChangeValue; AppParCurves_MultiBSpCurve & ChangeValue(); - /****************** Error ******************/ - /**** md5 signature: cda70ea4f3f90e8bdc1d9692db9c77b8 ****/ + /****** AppDef_BSplineCompute::Error ******/ + /****** md5 signature: cda70ea4f3f90e8bdc1d9692db9c77b8 ******/ %feature("compactdefaultargs") Error; - %feature("autodoc", "Returns the tolerances 2d and 3d of the multibspcurve. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- tol3d: float tol2d: float + +Description +----------- +returns the tolerances 2d and 3d of the MultiBSpCurve. ") Error; void Error(Standard_Real &OutValue, Standard_Real &OutValue); - /****************** Init ******************/ - /**** md5 signature: 10f7f80e213a93740574c45700071b76 ****/ + /****** AppDef_BSplineCompute::Init ******/ + /****** md5 signature: 10f7f80e213a93740574c45700071b76 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "Initializes the fields of the algorithm. - + %feature("autodoc", " Parameters ---------- -degreemin: int,optional - default value is 4 -degreemax: int,optional - default value is 8 -Tolerance3d: float,optional - default value is 1.0e-03 -Tolerance2d: float,optional - default value is 1.0e-06 -NbIterations: int,optional - default value is 5 -cutting: bool,optional - default value is Standard_True -parametrization: Approx_ParametrizationType,optional - default value is Approx_ChordLength -Squares: bool,optional - default value is Standard_False +degreemin: int (optional, default to 4) +degreemax: int (optional, default to 8) +Tolerance3d: float (optional, default to 1.0e-03) +Tolerance2d: float (optional, default to 1.0e-06) +NbIterations: int (optional, default to 5) +cutting: bool (optional, default to Standard_True) +parametrization: Approx_ParametrizationType (optional, default to Approx_ChordLength) +Squares: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +Initializes the fields of the algorithm. ") 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 ******************/ - /**** md5 signature: bc4286f280e57eaa20ef92f495fa1e33 ****/ + /****** AppDef_BSplineCompute::Interpol ******/ + /****** md5 signature: bc4286f280e57eaa20ef92f495fa1e33 ******/ %feature("compactdefaultargs") Interpol; - %feature("autodoc", "Constructs an interpolation of the multiline the result will be a c2 curve of degree 3. - + %feature("autodoc", " Parameters ---------- Line: AppDef_MultiLine -Returns +Return ------- None + +Description +----------- +Constructs an interpolation of the MultiLine The result will be a C2 curve of degree 3. ") Interpol; void Interpol(const AppDef_MultiLine & Line); - /****************** IsAllApproximated ******************/ - /**** md5 signature: bf42a9f9ee3a867655d96a0c1fdcd853 ****/ + /****** AppDef_BSplineCompute::IsAllApproximated ******/ + /****** md5 signature: bf42a9f9ee3a867655d96a0c1fdcd853 ******/ %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. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns False if at a moment of the approximation, the status NoApproximation has been sent by the user when more points were needed. ") IsAllApproximated; Standard_Boolean IsAllApproximated(); - /****************** IsToleranceReached ******************/ - /**** md5 signature: cbd7380250e74c96655b10c8025eb873 ****/ + /****** AppDef_BSplineCompute::IsToleranceReached ******/ + /****** md5 signature: cbd7380250e74c96655b10c8025eb873 ******/ %feature("compactdefaultargs") IsToleranceReached; - %feature("autodoc", "Returns false if the status nopointsadded has been sent. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns False if the status NoPointsAdded has been sent. ") IsToleranceReached; Standard_Boolean IsToleranceReached(); - /****************** Parameters ******************/ - /**** md5 signature: 7c84e53bc11f80fb0f3c0e787e4b026e ****/ + /****** AppDef_BSplineCompute::Parameters ******/ + /****** md5 signature: 7c84e53bc11f80fb0f3c0e787e4b026e ******/ %feature("compactdefaultargs") Parameters; - %feature("autodoc", "Returns the new parameters of the approximation corresponding to the points of the multibspcurve. - -Returns + %feature("autodoc", "Return ------- TColStd_Array1OfReal + +Description +----------- +returns the new parameters of the approximation corresponding to the points of the MultiBSpCurve. ") Parameters; const TColStd_Array1OfReal & Parameters(); - /****************** Perform ******************/ - /**** md5 signature: ba94f8a8967068aa8bee6df81ea2be62 ****/ + /****** AppDef_BSplineCompute::Perform ******/ + /****** md5 signature: ba94f8a8967068aa8bee6df81ea2be62 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Runs the algorithm after having initialized the fields. - + %feature("autodoc", " Parameters ---------- Line: AppDef_MultiLine -Returns +Return ------- None + +Description +----------- +runs the algorithm after having initialized the fields. ") Perform; void Perform(const AppDef_MultiLine & Line); - /****************** SetConstraints ******************/ - /**** md5 signature: 99b92dc193142adf44568f800cd394dc ****/ + /****** AppDef_BSplineCompute::SetConstraints ******/ + /****** md5 signature: 99b92dc193142adf44568f800cd394dc ******/ %feature("compactdefaultargs") SetConstraints; - %feature("autodoc", "Changes the first and the last constraint points. - + %feature("autodoc", " Parameters ---------- firstC: AppParCurves_Constraint lastC: AppParCurves_Constraint -Returns +Return ------- None + +Description +----------- +changes the first and the last constraint points. ") SetConstraints; void SetConstraints(const AppParCurves_Constraint firstC, const AppParCurves_Constraint lastC); - /****************** SetContinuity ******************/ - /**** md5 signature: 004921b69180f9ee5c70f476a9b25f44 ****/ + /****** AppDef_BSplineCompute::SetContinuity ******/ + /****** md5 signature: 004921b69180f9ee5c70f476a9b25f44 ******/ %feature("compactdefaultargs") SetContinuity; - %feature("autodoc", "Sets the continuity of the spline. if c = 2, the spline will be c2. - + %feature("autodoc", " Parameters ---------- C: int -Returns +Return ------- None + +Description +----------- +sets the continuity of the spline. if C = 2, the spline will be C2. ") SetContinuity; void SetContinuity(const Standard_Integer C); - /****************** SetDegrees ******************/ - /**** md5 signature: 545fdd7d739fa58cc970e73d0413f8ef ****/ + /****** AppDef_BSplineCompute::SetDegrees ******/ + /****** md5 signature: 545fdd7d739fa58cc970e73d0413f8ef ******/ %feature("compactdefaultargs") SetDegrees; - %feature("autodoc", "Changes the degrees of the approximation. - + %feature("autodoc", " Parameters ---------- degreemin: int degreemax: int -Returns +Return ------- None + +Description +----------- +changes the degrees of the approximation. ") SetDegrees; void SetDegrees(const Standard_Integer degreemin, const Standard_Integer degreemax); - /****************** SetKnots ******************/ - /**** md5 signature: 81377d2824af79de90394b654e5ac494 ****/ + /****** AppDef_BSplineCompute::SetKnots ******/ + /****** md5 signature: 81377d2824af79de90394b654e5ac494 ******/ %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. - + %feature("autodoc", " Parameters ---------- Knots: TColStd_Array1OfReal -Returns +Return ------- None + +Description +----------- +The approximation will be done with the set of knots . The multiplicities will be set with the degree and the desired continuity. ") SetKnots; void SetKnots(const TColStd_Array1OfReal & Knots); - /****************** SetKnotsAndMultiplicities ******************/ - /**** md5 signature: 78291c57c68644dfe7114ee9a585b271 ****/ + /****** AppDef_BSplineCompute::SetKnotsAndMultiplicities ******/ + /****** md5 signature: 78291c57c68644dfe7114ee9a585b271 ******/ %feature("compactdefaultargs") SetKnotsAndMultiplicities; - %feature("autodoc", "The approximation will be done with the set of knots and the multiplicities . - + %feature("autodoc", " Parameters ---------- Knots: TColStd_Array1OfReal Mults: TColStd_Array1OfInteger -Returns +Return ------- None + +Description +----------- +The approximation will be done with the set of knots and the multiplicities . ") SetKnotsAndMultiplicities; void SetKnotsAndMultiplicities(const TColStd_Array1OfReal & Knots, const TColStd_Array1OfInteger & Mults); - /****************** SetParameters ******************/ - /**** md5 signature: b1eab3f1f1c8f0892e7a87810e5892e3 ****/ + /****** AppDef_BSplineCompute::SetParameters ******/ + /****** md5 signature: b1eab3f1f1c8f0892e7a87810e5892e3 ******/ %feature("compactdefaultargs") SetParameters; - %feature("autodoc", "The approximation will begin with the set of parameters . - + %feature("autodoc", " Parameters ---------- ThePar: math_Vector -Returns +Return ------- None + +Description +----------- +The approximation will begin with the set of parameters . ") SetParameters; void SetParameters(const math_Vector & ThePar); - /****************** SetPeriodic ******************/ - /**** md5 signature: 3109823bbe448d62437b44b39b4d9b19 ****/ + /****** AppDef_BSplineCompute::SetPeriodic ******/ + /****** md5 signature: 3109823bbe448d62437b44b39b4d9b19 ******/ %feature("compactdefaultargs") SetPeriodic; - %feature("autodoc", "Sets periodic flag. if theperiodic = standard_true, algorith tries to build periodic multicurve using corresponding c1 boundary condition for first and last multipoints. multiline must be closed. - + %feature("autodoc", " Parameters ---------- thePeriodic: bool -Returns +Return ------- None + +Description +----------- +Sets periodic flag. If thePeriodic = Standard_True, algorithm tries to build periodic multicurve using corresponding C1 boundary condition for first and last multipoints. Multiline must be closed. ") SetPeriodic; void SetPeriodic(const Standard_Boolean thePeriodic); - /****************** SetTolerances ******************/ - /**** md5 signature: ce7879738ace848f7a3a27c56467be10 ****/ + /****** AppDef_BSplineCompute::SetTolerances ******/ + /****** md5 signature: ce7879738ace848f7a3a27c56467be10 ******/ %feature("compactdefaultargs") SetTolerances; - %feature("autodoc", "Changes the tolerances of the approximation. - + %feature("autodoc", " Parameters ---------- Tolerance3d: float Tolerance2d: float -Returns +Return ------- None + +Description +----------- +Changes the tolerances of the approximation. ") SetTolerances; void SetTolerances(const Standard_Real Tolerance3d, const Standard_Real Tolerance2d); - /****************** Value ******************/ - /**** md5 signature: c818c96a9a832640b6267a997c4dbd3b ****/ + /****** AppDef_BSplineCompute::Value ******/ + /****** md5 signature: c818c96a9a832640b6267a997c4dbd3b ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns the result of the approximation. - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiBSpCurve + +Description +----------- +returns the result of the approximation. ") Value; - const AppParCurves_MultiBSpCurve & Value(); + AppParCurves_MultiBSpCurve Value(); }; @@ -1150,337 +1241,345 @@ AppParCurves_MultiBSpCurve ***********************/ class AppDef_Compute { public: - /****************** AppDef_Compute ******************/ - /**** md5 signature: c6833ee0a5b84d67a02d9dae53b24f5f ****/ + /****** AppDef_Compute::AppDef_Compute ******/ + /****** md5 signature: c6833ee0a5b84d67a02d9dae53b24f5f ******/ %feature("compactdefaultargs") AppDef_Compute; - %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. - + %feature("autodoc", " Parameters ---------- Line: AppDef_MultiLine -degreemin: int,optional - default value is 4 -degreemax: int,optional - default value is 8 -Tolerance3d: float,optional - default value is 1.0e-3 -Tolerance2d: float,optional - default value is 1.0e-6 -NbIterations: int,optional - default value is 5 -cutting: bool,optional - default value is Standard_True -parametrization: Approx_ParametrizationType,optional - default value is Approx_ChordLength -Squares: bool,optional - default value is Standard_False - -Returns +degreemin: int (optional, default to 4) +degreemax: int (optional, default to 8) +Tolerance3d: float (optional, default to 1.0e-3) +Tolerance2d: float (optional, default to 1.0e-6) +NbIterations: int (optional, default to 5) +cutting: bool (optional, default to Standard_True) +parametrization: Approx_ParametrizationType (optional, default to Approx_ChordLength) +Squares: bool (optional, default to Standard_False) + +Return ------- None + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 9e4217e85d94e90315d60b7b75f82535 ****/ + /****** AppDef_Compute::AppDef_Compute ******/ + /****** md5 signature: 9e4217e85d94e90315d60b7b75f82535 ******/ %feature("compactdefaultargs") AppDef_Compute; - %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. - + %feature("autodoc", " Parameters ---------- Line: AppDef_MultiLine Parameters: math_Vector -degreemin: int,optional - default value is 4 -degreemax: int,optional - default value is 8 -Tolerance3d: float,optional - default value is 1.0e-03 -Tolerance2d: float,optional - default value is 1.0e-06 -NbIterations: int,optional - default value is 5 -cutting: bool,optional - default value is Standard_True -Squares: bool,optional - default value is Standard_False - -Returns +degreemin: int (optional, default to 4) +degreemax: int (optional, default to 8) +Tolerance3d: float (optional, default to 1.0e-03) +Tolerance2d: float (optional, default to 1.0e-06) +NbIterations: int (optional, default to 5) +cutting: bool (optional, default to Standard_True) +Squares: bool (optional, default to Standard_False) + +Return ------- None + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: ad9cd1ddc4958b27791ce973be5159af ****/ + /****** AppDef_Compute::AppDef_Compute ******/ + /****** md5 signature: ad9cd1ddc4958b27791ce973be5159af ******/ %feature("compactdefaultargs") AppDef_Compute; - %feature("autodoc", "Initializes the fields of the algorithm. - + %feature("autodoc", " Parameters ---------- Parameters: math_Vector -degreemin: int,optional - default value is 4 -degreemax: int,optional - default value is 8 -Tolerance3d: float,optional - default value is 1.0e-03 -Tolerance2d: float,optional - default value is 1.0e-06 -NbIterations: int,optional - default value is 5 -cutting: bool,optional - default value is Standard_True -Squares: bool,optional - default value is Standard_False - -Returns +degreemin: int (optional, default to 4) +degreemax: int (optional, default to 8) +Tolerance3d: float (optional, default to 1.0e-03) +Tolerance2d: float (optional, default to 1.0e-06) +NbIterations: int (optional, default to 5) +cutting: bool (optional, default to Standard_True) +Squares: bool (optional, default to Standard_False) + +Return ------- None + +Description +----------- +Initializes the fields of the algorithm. ") 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 ******************/ - /**** md5 signature: c8eee3cf66b774bb63a317362fc20729 ****/ + /****** AppDef_Compute::AppDef_Compute ******/ + /****** md5 signature: c8eee3cf66b774bb63a317362fc20729 ******/ %feature("compactdefaultargs") AppDef_Compute; - %feature("autodoc", "Initializes the fields of the algorithm. - + %feature("autodoc", " Parameters ---------- -degreemin: int,optional - default value is 4 -degreemax: int,optional - default value is 8 -Tolerance3d: float,optional - default value is 1.0e-03 -Tolerance2d: float,optional - default value is 1.0e-06 -NbIterations: int,optional - default value is 5 -cutting: bool,optional - default value is Standard_True -parametrization: Approx_ParametrizationType,optional - default value is Approx_ChordLength -Squares: bool,optional - default value is Standard_False +degreemin: int (optional, default to 4) +degreemax: int (optional, default to 8) +Tolerance3d: float (optional, default to 1.0e-03) +Tolerance2d: float (optional, default to 1.0e-06) +NbIterations: int (optional, default to 5) +cutting: bool (optional, default to Standard_True) +parametrization: Approx_ParametrizationType (optional, default to Approx_ChordLength) +Squares: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +Initializes the fields of the algorithm. ") 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 ******************/ - /**** md5 signature: 141696e747a4846a7446e394b31644d5 ****/ + /****** AppDef_Compute::ChangeValue ******/ + /****** md5 signature: 141696e747a4846a7446e394b31644d5 ******/ %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", "Returns the result of the approximation. - + %feature("autodoc", " Parameters ---------- -Index: int,optional - default value is 1 +Index: int (optional, default to 1) -Returns +Return ------- AppParCurves_MultiCurve + +Description +----------- +returns the result of the approximation. ") ChangeValue; AppParCurves_MultiCurve & ChangeValue(const Standard_Integer Index = 1); - /****************** Error ******************/ - /**** md5 signature: 6a8061230005ba951097d8b73e7dbec6 ****/ + /****** AppDef_Compute::Error ******/ + /****** md5 signature: 6a8061230005ba951097d8b73e7dbec6 ******/ %feature("compactdefaultargs") Error; - %feature("autodoc", "Returns the tolerances 2d and 3d of the multicurve. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- tol3d: float tol2d: float + +Description +----------- +returns the tolerances 2d and 3d of the MultiCurve. ") Error; void Error(const Standard_Integer Index, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** Init ******************/ - /**** md5 signature: 10f7f80e213a93740574c45700071b76 ****/ + /****** AppDef_Compute::Init ******/ + /****** md5 signature: 10f7f80e213a93740574c45700071b76 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "Initializes the fields of the algorithm. - + %feature("autodoc", " Parameters ---------- -degreemin: int,optional - default value is 4 -degreemax: int,optional - default value is 8 -Tolerance3d: float,optional - default value is 1.0e-03 -Tolerance2d: float,optional - default value is 1.0e-06 -NbIterations: int,optional - default value is 5 -cutting: bool,optional - default value is Standard_True -parametrization: Approx_ParametrizationType,optional - default value is Approx_ChordLength -Squares: bool,optional - default value is Standard_False +degreemin: int (optional, default to 4) +degreemax: int (optional, default to 8) +Tolerance3d: float (optional, default to 1.0e-03) +Tolerance2d: float (optional, default to 1.0e-06) +NbIterations: int (optional, default to 5) +cutting: bool (optional, default to Standard_True) +parametrization: Approx_ParametrizationType (optional, default to Approx_ChordLength) +Squares: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +Initializes the fields of the algorithm. ") 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 ******************/ - /**** md5 signature: bf42a9f9ee3a867655d96a0c1fdcd853 ****/ + /****** AppDef_Compute::IsAllApproximated ******/ + /****** md5 signature: bf42a9f9ee3a867655d96a0c1fdcd853 ******/ %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. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns False if at a moment of the approximation, the status NoApproximation has been sent by the user when more points were needed. ") IsAllApproximated; Standard_Boolean IsAllApproximated(); - /****************** IsToleranceReached ******************/ - /**** md5 signature: cbd7380250e74c96655b10c8025eb873 ****/ + /****** AppDef_Compute::IsToleranceReached ******/ + /****** md5 signature: cbd7380250e74c96655b10c8025eb873 ******/ %feature("compactdefaultargs") IsToleranceReached; - %feature("autodoc", "Returns false if the status nopointsadded has been sent. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns False if the status NoPointsAdded has been sent. ") IsToleranceReached; Standard_Boolean IsToleranceReached(); - /****************** NbMultiCurves ******************/ - /**** md5 signature: 944d4af40d93d46a8a3a888df2d8b388 ****/ + /****** AppDef_Compute::NbMultiCurves ******/ + /****** md5 signature: 944d4af40d93d46a8a3a888df2d8b388 ******/ %feature("compactdefaultargs") NbMultiCurves; - %feature("autodoc", "Returns the number of multicurve doing the approximation of the multiline. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns the number of MultiCurve doing the approximation of the MultiLine. ") NbMultiCurves; Standard_Integer NbMultiCurves(); - /****************** Parameters ******************/ - /**** md5 signature: 457fc00b4795a877d025353e491bb905 ****/ + /****** AppDef_Compute::Parameters ******/ + /****** md5 signature: 457fc00b4795a877d025353e491bb905 ******/ %feature("compactdefaultargs") Parameters; - %feature("autodoc", "Returns the new parameters of the approximation corresponding to the points of the multicurve . - + %feature("autodoc", " Parameters ---------- -Index: int,optional - default value is 1 +Index: int (optional, default to 1) -Returns +Return ------- TColStd_Array1OfReal + +Description +----------- +returns the new parameters of the approximation corresponding to the points of the multicurve . ") Parameters; const TColStd_Array1OfReal & Parameters(const Standard_Integer Index = 1); - /****************** Parametrization ******************/ - /**** md5 signature: 28de4bdef662891658a0d7c12417a76f ****/ + /****** AppDef_Compute::Parametrization ******/ + /****** md5 signature: 28de4bdef662891658a0d7c12417a76f ******/ %feature("compactdefaultargs") Parametrization; - %feature("autodoc", "Returns the type of parametrization. - -Returns + %feature("autodoc", "Return ------- Approx_ParametrizationType + +Description +----------- +returns the type of parametrization. ") Parametrization; Approx_ParametrizationType Parametrization(); - /****************** Perform ******************/ - /**** md5 signature: ba94f8a8967068aa8bee6df81ea2be62 ****/ + /****** AppDef_Compute::Perform ******/ + /****** md5 signature: ba94f8a8967068aa8bee6df81ea2be62 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Runs the algorithm after having initialized the fields. - + %feature("autodoc", " Parameters ---------- Line: AppDef_MultiLine -Returns +Return ------- None + +Description +----------- +runs the algorithm after having initialized the fields. ") Perform; void Perform(const AppDef_MultiLine & Line); - /****************** SetConstraints ******************/ - /**** md5 signature: 99b92dc193142adf44568f800cd394dc ****/ + /****** AppDef_Compute::SetConstraints ******/ + /****** md5 signature: 99b92dc193142adf44568f800cd394dc ******/ %feature("compactdefaultargs") SetConstraints; - %feature("autodoc", "Changes the first and the last constraint points. - + %feature("autodoc", " Parameters ---------- firstC: AppParCurves_Constraint lastC: AppParCurves_Constraint -Returns +Return ------- None + +Description +----------- +changes the first and the last constraint points. ") SetConstraints; void SetConstraints(const AppParCurves_Constraint firstC, const AppParCurves_Constraint lastC); - /****************** SetDegrees ******************/ - /**** md5 signature: 545fdd7d739fa58cc970e73d0413f8ef ****/ + /****** AppDef_Compute::SetDegrees ******/ + /****** md5 signature: 545fdd7d739fa58cc970e73d0413f8ef ******/ %feature("compactdefaultargs") SetDegrees; - %feature("autodoc", "Changes the degrees of the approximation. - + %feature("autodoc", " Parameters ---------- degreemin: int degreemax: int -Returns +Return ------- None + +Description +----------- +changes the degrees of the approximation. ") SetDegrees; void SetDegrees(const Standard_Integer degreemin, const Standard_Integer degreemax); - /****************** SetTolerances ******************/ - /**** md5 signature: ce7879738ace848f7a3a27c56467be10 ****/ + /****** AppDef_Compute::SetTolerances ******/ + /****** md5 signature: ce7879738ace848f7a3a27c56467be10 ******/ %feature("compactdefaultargs") SetTolerances; - %feature("autodoc", "Changes the tolerances of the approximation. - + %feature("autodoc", " Parameters ---------- Tolerance3d: float Tolerance2d: float -Returns +Return ------- None + +Description +----------- +Changes the tolerances of the approximation. ") SetTolerances; void SetTolerances(const Standard_Real Tolerance3d, const Standard_Real Tolerance2d); - /****************** SplineValue ******************/ - /**** md5 signature: 8abd3bdfb130cc23332c1960701072a6 ****/ + /****** AppDef_Compute::SplineValue ******/ + /****** md5 signature: 8abd3bdfb130cc23332c1960701072a6 ******/ %feature("compactdefaultargs") SplineValue; - %feature("autodoc", "Returns the result of the approximation. - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiBSpCurve + +Description +----------- +returns the result of the approximation. ") SplineValue; - const AppParCurves_MultiBSpCurve & SplineValue(); + AppParCurves_MultiBSpCurve SplineValue(); - /****************** Value ******************/ - /**** md5 signature: ce9a9d43a5aa1f3754abfba817bb7838 ****/ + /****** AppDef_Compute::Value ******/ + /****** md5 signature: ce9a9d43a5aa1f3754abfba817bb7838 ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns the result of the approximation. - + %feature("autodoc", " Parameters ---------- -Index: int,optional - default value is 1 +Index: int (optional, default to 1) -Returns +Return ------- AppParCurves_MultiCurve + +Description +----------- +returns the result of the approximation. ") Value; - const AppParCurves_MultiCurve & Value(const Standard_Integer Index = 1); + AppParCurves_MultiCurve Value(const Standard_Integer Index = 1); }; @@ -1496,11 +1595,10 @@ AppParCurves_MultiCurve **************************************************/ class AppDef_Gradient_BFGSOfMyGradientOfCompute : public math_BFGS { public: - /****************** AppDef_Gradient_BFGSOfMyGradientOfCompute ******************/ - /**** md5 signature: 126f77d585cdec22a8e8a8e4ae8c13ce ****/ + /****** AppDef_Gradient_BFGSOfMyGradientOfCompute::AppDef_Gradient_BFGSOfMyGradientOfCompute ******/ + /****** md5 signature: 126f77d585cdec22a8e8a8e4ae8c13ce ******/ %feature("compactdefaultargs") AppDef_Gradient_BFGSOfMyGradientOfCompute; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- F: math_MultipleVarFunctionWithGradient @@ -1508,27 +1606,33 @@ StartingPoint: math_Vector Tolerance3d: float Tolerance2d: float Eps: float -NbIterations: int,optional - default value is 200 +NbIterations: int (optional, default to 200) -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: a6c0da888a257bf852b40b8daf6526dc ****/ + /****** AppDef_Gradient_BFGSOfMyGradientOfCompute::IsSolutionReached ******/ + /****** md5 signature: a6c0da888a257bf852b40b8daf6526dc ******/ %feature("compactdefaultargs") IsSolutionReached; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- F: math_MultipleVarFunctionWithGradient -Returns +Return ------- bool + +Description +----------- +No available documentation. ") IsSolutionReached; virtual Standard_Boolean IsSolutionReached(math_MultipleVarFunctionWithGradient & F); @@ -1546,11 +1650,10 @@ bool ************************************************************/ class AppDef_Gradient_BFGSOfMyGradientbisOfBSplineCompute : public math_BFGS { public: - /****************** AppDef_Gradient_BFGSOfMyGradientbisOfBSplineCompute ******************/ - /**** md5 signature: db032bfef1a0cabc4126bb1cff8b2cd7 ****/ + /****** AppDef_Gradient_BFGSOfMyGradientbisOfBSplineCompute::AppDef_Gradient_BFGSOfMyGradientbisOfBSplineCompute ******/ + /****** md5 signature: db032bfef1a0cabc4126bb1cff8b2cd7 ******/ %feature("compactdefaultargs") AppDef_Gradient_BFGSOfMyGradientbisOfBSplineCompute; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- F: math_MultipleVarFunctionWithGradient @@ -1558,27 +1661,33 @@ StartingPoint: math_Vector Tolerance3d: float Tolerance2d: float Eps: float -NbIterations: int,optional - default value is 200 +NbIterations: int (optional, default to 200) -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: a6c0da888a257bf852b40b8daf6526dc ****/ + /****** AppDef_Gradient_BFGSOfMyGradientbisOfBSplineCompute::IsSolutionReached ******/ + /****** md5 signature: a6c0da888a257bf852b40b8daf6526dc ******/ %feature("compactdefaultargs") IsSolutionReached; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- F: math_MultipleVarFunctionWithGradient -Returns +Return ------- bool + +Description +----------- +No available documentation. ") IsSolutionReached; virtual Standard_Boolean IsSolutionReached(math_MultipleVarFunctionWithGradient & F); @@ -1596,11 +1705,10 @@ bool ******************************************/ class AppDef_Gradient_BFGSOfTheGradient : public math_BFGS { public: - /****************** AppDef_Gradient_BFGSOfTheGradient ******************/ - /**** md5 signature: a988e1566651277ba477ec7a76734981 ****/ + /****** AppDef_Gradient_BFGSOfTheGradient::AppDef_Gradient_BFGSOfTheGradient ******/ + /****** md5 signature: a988e1566651277ba477ec7a76734981 ******/ %feature("compactdefaultargs") AppDef_Gradient_BFGSOfTheGradient; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- F: math_MultipleVarFunctionWithGradient @@ -1608,27 +1716,33 @@ StartingPoint: math_Vector Tolerance3d: float Tolerance2d: float Eps: float -NbIterations: int,optional - default value is 200 +NbIterations: int (optional, default to 200) -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: a6c0da888a257bf852b40b8daf6526dc ****/ + /****** AppDef_Gradient_BFGSOfTheGradient::IsSolutionReached ******/ + /****** md5 signature: a6c0da888a257bf852b40b8daf6526dc ******/ %feature("compactdefaultargs") IsSolutionReached; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- F: math_MultipleVarFunctionWithGradient -Returns +Return ------- bool + +Description +----------- +No available documentation. ") IsSolutionReached; virtual Standard_Boolean IsSolutionReached(math_MultipleVarFunctionWithGradient & F); @@ -1646,135 +1760,168 @@ bool *************************/ class AppDef_MultiLine { public: - /****************** AppDef_MultiLine ******************/ - /**** md5 signature: eca84113c714860aa7239eb211e137f5 ****/ + /****** AppDef_MultiLine::AppDef_MultiLine ******/ + /****** md5 signature: eca84113c714860aa7239eb211e137f5 ******/ %feature("compactdefaultargs") AppDef_MultiLine; - %feature("autodoc", "Creates an undefined multiline. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +creates an undefined MultiLine. ") AppDef_MultiLine; AppDef_MultiLine(); - /****************** AppDef_MultiLine ******************/ - /**** md5 signature: 12f50085378edce7cd43da048d563786 ****/ + /****** AppDef_MultiLine::AppDef_MultiLine ******/ + /****** md5 signature: 12f50085378edce7cd43da048d563786 ******/ %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. - + %feature("autodoc", " Parameters ---------- NbMult: int -Returns +Return ------- None + +Description +----------- +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; AppDef_MultiLine(const Standard_Integer NbMult); - /****************** AppDef_MultiLine ******************/ - /**** md5 signature: 64ec35865d92daa24a03b18b2dd11882 ****/ + /****** AppDef_MultiLine::AppDef_MultiLine ******/ + /****** md5 signature: 64ec35865d92daa24a03b18b2dd11882 ******/ %feature("compactdefaultargs") AppDef_MultiLine; - %feature("autodoc", "Constructs a multiline with an array of multipointconstraints. - + %feature("autodoc", " Parameters ---------- tabMultiP: AppDef_Array1OfMultiPointConstraint -Returns +Return ------- None + +Description +----------- +Constructs a MultiLine with an array of MultiPointConstraints. ") AppDef_MultiLine; AppDef_MultiLine(const AppDef_Array1OfMultiPointConstraint & tabMultiP); - /****************** AppDef_MultiLine ******************/ - /**** md5 signature: 1bf9d9b2d482b677ffc5d1deb2308402 ****/ + /****** AppDef_MultiLine::AppDef_MultiLine ******/ + /****** md5 signature: 1bf9d9b2d482b677ffc5d1deb2308402 ******/ %feature("compactdefaultargs") AppDef_MultiLine; - %feature("autodoc", "The multiline constructed will have one line of 3d points without their tangencies. - + %feature("autodoc", " Parameters ---------- tabP3d: TColgp_Array1OfPnt -Returns +Return ------- None + +Description +----------- +The MultiLine constructed will have one line of 3d points without their tangencies. ") AppDef_MultiLine; AppDef_MultiLine(const TColgp_Array1OfPnt & tabP3d); - /****************** AppDef_MultiLine ******************/ - /**** md5 signature: 1d6626e296ebc032e27692387207051e ****/ + /****** AppDef_MultiLine::AppDef_MultiLine ******/ + /****** md5 signature: 1d6626e296ebc032e27692387207051e ******/ %feature("compactdefaultargs") AppDef_MultiLine; - %feature("autodoc", "The multiline constructed will have one line of 2d points without their tangencies. - + %feature("autodoc", " Parameters ---------- tabP2d: TColgp_Array1OfPnt2d -Returns +Return ------- None + +Description +----------- +The MultiLine constructed will have one line of 2d points without their tangencies. ") AppDef_MultiLine; AppDef_MultiLine(const TColgp_Array1OfPnt2d & tabP2d); + /****** AppDef_MultiLine::Dump ******/ + /****** md5 signature: d37b43e0b2386dc096d5d707876db157 ******/ + %feature("compactdefaultargs") Dump; + %feature("autodoc", " +Parameters +---------- - %feature("autodoc", "1"); - %extend{ - std::string DumpToString() { - std::stringstream s; - self->Dump(s); - return s.str();} - }; - /****************** NbMultiPoints ******************/ - /**** md5 signature: 3773aba9a0a09cf608eddf5448da667d ****/ - %feature("compactdefaultargs") NbMultiPoints; - %feature("autodoc", "Returns the number of multipointconstraints of the multiline. +Return +------- +o: Standard_OStream + +Description +----------- +Prints on the stream o information on the current state of the object. Is used to redefine the operator <<. +") Dump; + void Dump(std::ostream &OutValue); -Returns + /****** AppDef_MultiLine::NbMultiPoints ******/ + /****** md5 signature: 3773aba9a0a09cf608eddf5448da667d ******/ + %feature("compactdefaultargs") NbMultiPoints; + %feature("autodoc", "Return ------- int + +Description +----------- +returns the number of MultiPointConstraints of the MultiLine. ") NbMultiPoints; Standard_Integer NbMultiPoints(); - /****************** NbPoints ******************/ - /**** md5 signature: 1d4bbbd7c4dda4f1e56c00ae994bedbe ****/ + /****** AppDef_MultiLine::NbPoints ******/ + /****** md5 signature: 1d4bbbd7c4dda4f1e56c00ae994bedbe ******/ %feature("compactdefaultargs") NbPoints; - %feature("autodoc", "Returns the number of points from multipoints composing the multiline. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +returns the number of Points from MultiPoints composing the MultiLine. ") NbPoints; Standard_Integer NbPoints(); - /****************** SetValue ******************/ - /**** md5 signature: ae7924dceb17bb1bf8b5a017807c66cf ****/ + /****** AppDef_MultiLine::SetValue ******/ + /****** md5 signature: ae7924dceb17bb1bf8b5a017807c66cf ******/ %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. - + %feature("autodoc", " Parameters ---------- Index: int MPoint: AppDef_MultiPointConstraint -Returns +Return ------- None + +Description +----------- +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; void SetValue(const Standard_Integer Index, const AppDef_MultiPointConstraint & MPoint); - /****************** Value ******************/ - /**** md5 signature: ec3432f3274bca28664158bc2414cf94 ****/ + /****** AppDef_MultiLine::Value ******/ + /****** md5 signature: ec3432f3274bca28664158bc2414cf94 ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns the multipointconstraint of range index an exception is raised if index<0 or index>mpoint. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- AppDef_MultiPointConstraint + +Description +----------- +returns the MultiPointConstraint of range Index An exception is raised if Index<0 or Index>MPoint. ") Value; AppDef_MultiPointConstraint Value(const Standard_Integer Index); @@ -1796,84 +1943,97 @@ AppDef_MultiPointConstraint ************************************/ class AppDef_MultiPointConstraint : public AppParCurves_MultiPoint { public: - /****************** AppDef_MultiPointConstraint ******************/ - /**** md5 signature: 96027af1988322f99b6e55f7786bbfed ****/ + /****** AppDef_MultiPointConstraint::AppDef_MultiPointConstraint ******/ + /****** md5 signature: 96027af1988322f99b6e55f7786bbfed ******/ %feature("compactdefaultargs") AppDef_MultiPointConstraint; - %feature("autodoc", "Creates an undefined multipointconstraint. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +creates an undefined MultiPointConstraint. ") AppDef_MultiPointConstraint; AppDef_MultiPointConstraint(); - /****************** AppDef_MultiPointConstraint ******************/ - /**** md5 signature: ff76964ee920829861e64dfe38e9cb12 ****/ + /****** AppDef_MultiPointConstraint::AppDef_MultiPointConstraint ******/ + /****** md5 signature: ff76964ee920829861e64dfe38e9cb12 ******/ %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. - + %feature("autodoc", " Parameters ---------- NbPoints: int NbPoints2d: int -Returns +Return ------- None + +Description +----------- +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; AppDef_MultiPointConstraint(const Standard_Integer NbPoints, const Standard_Integer NbPoints2d); - /****************** AppDef_MultiPointConstraint ******************/ - /**** md5 signature: 9184167dca4027cf0f0b5603034fb92c ****/ + /****** AppDef_MultiPointConstraint::AppDef_MultiPointConstraint ******/ + /****** md5 signature: 9184167dca4027cf0f0b5603034fb92c ******/ %feature("compactdefaultargs") AppDef_MultiPointConstraint; - %feature("autodoc", "Creates a multipoint only composed of 3d points. - + %feature("autodoc", " Parameters ---------- tabP: TColgp_Array1OfPnt -Returns +Return ------- None + +Description +----------- +creates a MultiPoint only composed of 3D points. ") AppDef_MultiPointConstraint; AppDef_MultiPointConstraint(const TColgp_Array1OfPnt & tabP); - /****************** AppDef_MultiPointConstraint ******************/ - /**** md5 signature: 46a09e9865b6eb31d4538e09d085c188 ****/ + /****** AppDef_MultiPointConstraint::AppDef_MultiPointConstraint ******/ + /****** md5 signature: 46a09e9865b6eb31d4538e09d085c188 ******/ %feature("compactdefaultargs") AppDef_MultiPointConstraint; - %feature("autodoc", "Creates a multipoint only composed of 2d points. - + %feature("autodoc", " Parameters ---------- tabP: TColgp_Array1OfPnt2d -Returns +Return ------- None + +Description +----------- +creates a MultiPoint only composed of 2D points. ") AppDef_MultiPointConstraint; AppDef_MultiPointConstraint(const TColgp_Array1OfPnt2d & tabP); - /****************** AppDef_MultiPointConstraint ******************/ - /**** md5 signature: 4b41af30a79a87deddbf4ee5cd31a158 ****/ + /****** AppDef_MultiPointConstraint::AppDef_MultiPointConstraint ******/ + /****** md5 signature: 4b41af30a79a87deddbf4ee5cd31a158 ******/ %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. - + %feature("autodoc", " Parameters ---------- tabP: TColgp_Array1OfPnt tabP2d: TColgp_Array1OfPnt2d -Returns +Return ------- None + +Description +----------- +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; AppDef_MultiPointConstraint(const TColgp_Array1OfPnt & tabP, const TColgp_Array1OfPnt2d & tabP2d); - /****************** AppDef_MultiPointConstraint ******************/ - /**** md5 signature: 44443bf947130186f3723c074454fa6c ****/ + /****** AppDef_MultiPointConstraint::AppDef_MultiPointConstraint ******/ + /****** md5 signature: 44443bf947130186f3723c074454fa6c ******/ %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 ). - + %feature("autodoc", " Parameters ---------- tabP: TColgp_Array1OfPnt @@ -1883,17 +2043,20 @@ tabVec2d: TColgp_Array1OfVec2d tabCur: TColgp_Array1OfVec tabCur2d: TColgp_Array1OfVec2d -Returns +Return ------- None + +Description +----------- +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; 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); - /****************** AppDef_MultiPointConstraint ******************/ - /**** md5 signature: d748f264c5548ebcc67245703c451c24 ****/ + /****** AppDef_MultiPointConstraint::AppDef_MultiPointConstraint ******/ + /****** md5 signature: d748f264c5548ebcc67245703c451c24 ******/ %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 ). - + %feature("autodoc", " Parameters ---------- tabP: TColgp_Array1OfPnt @@ -1901,229 +2064,282 @@ tabP2d: TColgp_Array1OfPnt2d tabVec: TColgp_Array1OfVec tabVec2d: TColgp_Array1OfVec2d -Returns +Return ------- None + +Description +----------- +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; AppDef_MultiPointConstraint(const TColgp_Array1OfPnt & tabP, const TColgp_Array1OfPnt2d & tabP2d, const TColgp_Array1OfVec & tabVec, const TColgp_Array1OfVec2d & tabVec2d); - /****************** AppDef_MultiPointConstraint ******************/ - /**** md5 signature: 94d7957cb88369d49d63036eed746423 ****/ + /****** AppDef_MultiPointConstraint::AppDef_MultiPointConstraint ******/ + /****** md5 signature: 94d7957cb88369d49d63036eed746423 ******/ %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. - + %feature("autodoc", " Parameters ---------- tabP: TColgp_Array1OfPnt tabVec: TColgp_Array1OfVec tabCur: TColgp_Array1OfVec -Returns +Return ------- None + +Description +----------- +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; AppDef_MultiPointConstraint(const TColgp_Array1OfPnt & tabP, const TColgp_Array1OfVec & tabVec, const TColgp_Array1OfVec & tabCur); - /****************** AppDef_MultiPointConstraint ******************/ - /**** md5 signature: 31f20878f084137d450aeb8e587bf928 ****/ + /****** AppDef_MultiPointConstraint::AppDef_MultiPointConstraint ******/ + /****** md5 signature: 31f20878f084137d450aeb8e587bf928 ******/ %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. - + %feature("autodoc", " Parameters ---------- tabP: TColgp_Array1OfPnt tabVec: TColgp_Array1OfVec -Returns +Return ------- None + +Description +----------- +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; AppDef_MultiPointConstraint(const TColgp_Array1OfPnt & tabP, const TColgp_Array1OfVec & tabVec); - /****************** AppDef_MultiPointConstraint ******************/ - /**** md5 signature: 21d3ccff0015997a435f1a264a1c2e78 ****/ + /****** AppDef_MultiPointConstraint::AppDef_MultiPointConstraint ******/ + /****** md5 signature: 21d3ccff0015997a435f1a264a1c2e78 ******/ %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. - + %feature("autodoc", " Parameters ---------- tabP2d: TColgp_Array1OfPnt2d tabVec2d: TColgp_Array1OfVec2d -Returns +Return ------- None + +Description +----------- +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; AppDef_MultiPointConstraint(const TColgp_Array1OfPnt2d & tabP2d, const TColgp_Array1OfVec2d & tabVec2d); - /****************** AppDef_MultiPointConstraint ******************/ - /**** md5 signature: 66a61a1bf7f3832fb19b1df85df945e9 ****/ + /****** AppDef_MultiPointConstraint::AppDef_MultiPointConstraint ******/ + /****** md5 signature: 66a61a1bf7f3832fb19b1df85df945e9 ******/ %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. - + %feature("autodoc", " Parameters ---------- tabP2d: TColgp_Array1OfPnt2d tabVec2d: TColgp_Array1OfVec2d tabCur2d: TColgp_Array1OfVec2d -Returns +Return ------- None + +Description +----------- +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; AppDef_MultiPointConstraint(const TColgp_Array1OfPnt2d & tabP2d, const TColgp_Array1OfVec2d & tabVec2d, const TColgp_Array1OfVec2d & tabCur2d); - /****************** Curv ******************/ - /**** md5 signature: 901fe2bd94b085eee25dc02982da6bce ****/ + /****** AppDef_MultiPointConstraint::Curv ******/ + /****** md5 signature: 901fe2bd94b085eee25dc02982da6bce ******/ %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. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- gp_Vec + +Description +----------- +returns the normal vector at the point of range Index. An exception is raised if Index < 0 or if Index > number of 3d points. ") Curv; gp_Vec Curv(const Standard_Integer Index); - /****************** Curv2d ******************/ - /**** md5 signature: e6ac9d88d679b86619b3f52f8b16e6a4 ****/ + /****** AppDef_MultiPointConstraint::Curv2d ******/ + /****** md5 signature: e6ac9d88d679b86619b3f52f8b16e6a4 ******/ %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. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- gp_Vec2d + +Description +----------- +returns the normal vector at the point of range Index. An exception is raised if Index < 0 or if Index > number of 3d points. ") Curv2d; gp_Vec2d Curv2d(const Standard_Integer Index); + /****** AppDef_MultiPointConstraint::Dump ******/ + /****** md5 signature: b42defe2d7a7208961fa81b225a70479 ******/ + %feature("compactdefaultargs") Dump; + %feature("autodoc", " +Parameters +---------- - %feature("autodoc", "1"); - %extend{ - std::string DumpToString() { - std::stringstream s; - self->Dump(s); - return s.str();} - }; - /****************** IsCurvaturePoint ******************/ - /**** md5 signature: d472719ada146163920fff12150b4a88 ****/ - %feature("compactdefaultargs") IsCurvaturePoint; - %feature("autodoc", "Returns true if the multipoint has a curvature value. +Return +------- +o: Standard_OStream + +Description +----------- +Prints on the stream o information on the current state of the object. Is used to redefine the operator <<. +") Dump; + virtual void Dump(std::ostream &OutValue); -Returns + /****** AppDef_MultiPointConstraint::IsCurvaturePoint ******/ + /****** md5 signature: d472719ada146163920fff12150b4a88 ******/ + %feature("compactdefaultargs") IsCurvaturePoint; + %feature("autodoc", "Return ------- bool + +Description +----------- +returns True if the MultiPoint has a curvature value. ") IsCurvaturePoint; Standard_Boolean IsCurvaturePoint(); - /****************** IsTangencyPoint ******************/ - /**** md5 signature: a9c9faea523a7d80ff8416e04b887e70 ****/ + /****** AppDef_MultiPointConstraint::IsTangencyPoint ******/ + /****** md5 signature: a9c9faea523a7d80ff8416e04b887e70 ******/ %feature("compactdefaultargs") IsTangencyPoint; - %feature("autodoc", "Returns true if the multipoint has a tangency value. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns True if the MultiPoint has a tangency value. ") IsTangencyPoint; Standard_Boolean IsTangencyPoint(); - /****************** SetCurv ******************/ - /**** md5 signature: 0162d39bffdfbd1d75ead34617bd7b2e ****/ + /****** AppDef_MultiPointConstraint::SetCurv ******/ + /****** md5 signature: 0162d39bffdfbd1d75ead34617bd7b2e ******/ %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", " Parameters ---------- Index: int Curv: gp_Vec -Returns +Return ------- None + +Description +----------- +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. ") SetCurv; void SetCurv(const Standard_Integer Index, const gp_Vec & Curv); - /****************** SetCurv2d ******************/ - /**** md5 signature: 3ec1dbcf520f618b653d5041e0c8d8dd ****/ + /****** AppDef_MultiPointConstraint::SetCurv2d ******/ + /****** md5 signature: 3ec1dbcf520f618b653d5041e0c8d8dd ******/ %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", " Parameters ---------- Index: int Curv2d: gp_Vec2d -Returns +Return ------- None + +Description +----------- +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. ") SetCurv2d; void SetCurv2d(const Standard_Integer Index, const gp_Vec2d & Curv2d); - /****************** SetTang ******************/ - /**** md5 signature: b9f6088507651a7284dea739ac0606f3 ****/ + /****** AppDef_MultiPointConstraint::SetTang ******/ + /****** md5 signature: b9f6088507651a7284dea739ac0606f3 ******/ %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. - + %feature("autodoc", " Parameters ---------- Index: int Tang: gp_Vec -Returns +Return ------- None + +Description +----------- +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. ") SetTang; void SetTang(const Standard_Integer Index, const gp_Vec & Tang); - /****************** SetTang2d ******************/ - /**** md5 signature: f8ceb77e6c6d212baca26c1596380f6f ****/ + /****** AppDef_MultiPointConstraint::SetTang2d ******/ + /****** md5 signature: f8ceb77e6c6d212baca26c1596380f6f ******/ %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. - + %feature("autodoc", " Parameters ---------- Index: int Tang2d: gp_Vec2d -Returns +Return ------- None + +Description +----------- +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. ") SetTang2d; void SetTang2d(const Standard_Integer Index, const gp_Vec2d & Tang2d); - /****************** Tang ******************/ - /**** md5 signature: b3ab01973cc67e0139dc6df881bab23f ****/ + /****** AppDef_MultiPointConstraint::Tang ******/ + /****** md5 signature: b3ab01973cc67e0139dc6df881bab23f ******/ %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. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- gp_Vec + +Description +----------- +returns the tangency value of the point of range Index. An exception is raised if Index < 0 or if Index > number of 3d points. ") Tang; gp_Vec Tang(const Standard_Integer Index); - /****************** Tang2d ******************/ - /**** md5 signature: 40fbe4c8c727eda957d23ce8b2313218 ****/ + /****** AppDef_MultiPointConstraint::Tang2d ******/ + /****** md5 signature: 40fbe4c8c727eda957d23ce8b2313218 ******/ %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. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- gp_Vec2d + +Description +----------- +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. ") Tang2d; gp_Vec2d Tang2d(const Standard_Integer Index); @@ -2141,11 +2357,10 @@ gp_Vec2d **********************************************/ class AppDef_MyBSplGradientOfBSplineCompute { public: - /****************** AppDef_MyBSplGradientOfBSplineCompute ******************/ - /**** md5 signature: 285b1c5b1288155aae98fcdade735980 ****/ + /****** AppDef_MyBSplGradientOfBSplineCompute::AppDef_MyBSplGradientOfBSplineCompute ******/ + /****** md5 signature: 285b1c5b1288155aae98fcdade735980 ******/ %feature("compactdefaultargs") AppDef_MyBSplGradientOfBSplineCompute; - %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. - + %feature("autodoc", " Parameters ---------- SSP: AppDef_MultiLine @@ -2158,20 +2373,22 @@ Mults: TColStd_Array1OfInteger Deg: int Tol3d: float Tol2d: float -NbIterations: int,optional - default value is 1 +NbIterations: int (optional, default to 1) -Returns +Return ------- None + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: e90d26c95787b979a56c520408235daf ****/ + /****** AppDef_MyBSplGradientOfBSplineCompute::AppDef_MyBSplGradientOfBSplineCompute ******/ + /****** md5 signature: e90d26c95787b979a56c520408235daf ******/ %feature("compactdefaultargs") AppDef_MyBSplGradientOfBSplineCompute; - %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. - + %feature("autodoc", " Parameters ---------- SSP: AppDef_MultiLine @@ -2188,79 +2405,96 @@ NbIterations: int lambda1: float lambda2: float -Returns +Return ------- None + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 420f3b7884af8c019ac24a5fe5ae6ff8 ****/ + /****** AppDef_MyBSplGradientOfBSplineCompute::AverageError ******/ + /****** md5 signature: 420f3b7884af8c019ac24a5fe5ae6ff8 ******/ %feature("compactdefaultargs") AverageError; - %feature("autodoc", "Returns the average error between the old and the new approximation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the average error between the old and the new approximation. ") AverageError; Standard_Real AverageError(); - /****************** Error ******************/ - /**** md5 signature: 94d11b0fe58daf5df892c75e38905cde ****/ + /****** AppDef_MyBSplGradientOfBSplineCompute::Error ******/ + /****** md5 signature: 94d11b0fe58daf5df892c75e38905cde ******/ %feature("compactdefaultargs") Error; - %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. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- float + +Description +----------- +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. ") Error; Standard_Real Error(const Standard_Integer Index); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** AppDef_MyBSplGradientOfBSplineCompute::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Returns true if all has been correctly done. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns True if all has been correctly done. ") IsDone; Standard_Boolean IsDone(); - /****************** MaxError2d ******************/ - /**** md5 signature: 2590e15e02ab7eeda39345ef64189e30 ****/ + /****** AppDef_MyBSplGradientOfBSplineCompute::MaxError2d ******/ + /****** md5 signature: 2590e15e02ab7eeda39345ef64189e30 ******/ %feature("compactdefaultargs") MaxError2d; - %feature("autodoc", "Returns the maximum difference between the old and the new approximation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the maximum difference between the old and the new approximation. ") MaxError2d; Standard_Real MaxError2d(); - /****************** MaxError3d ******************/ - /**** md5 signature: c6ba463cdf4a0e426329b589363186b7 ****/ + /****** AppDef_MyBSplGradientOfBSplineCompute::MaxError3d ******/ + /****** md5 signature: c6ba463cdf4a0e426329b589363186b7 ******/ %feature("compactdefaultargs") MaxError3d; - %feature("autodoc", "Returns the maximum difference between the old and the new approximation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the maximum difference between the old and the new approximation. ") MaxError3d; Standard_Real MaxError3d(); - /****************** Value ******************/ - /**** md5 signature: 35d2ee100f1a9fc11f00b074d7d3553e ****/ + /****** AppDef_MyBSplGradientOfBSplineCompute::Value ******/ + /****** md5 signature: 35d2ee100f1a9fc11f00b074d7d3553e ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns all the bspline curves approximating the multiline ssp after minimization of the parameter. - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiBSpCurve + +Description +----------- +returns all the BSpline curves approximating the MultiLine SSP after minimization of the parameter. ") Value; AppParCurves_MultiBSpCurve Value(); @@ -2278,11 +2512,10 @@ AppParCurves_MultiBSpCurve ***********************************/ class AppDef_MyGradientOfCompute { public: - /****************** AppDef_MyGradientOfCompute ******************/ - /**** md5 signature: d6d163c2b5b0d362b397ec1451a85a67 ****/ + /****** AppDef_MyGradientOfCompute::AppDef_MyGradientOfCompute ******/ + /****** md5 signature: d6d163c2b5b0d362b397ec1451a85a67 ******/ %feature("compactdefaultargs") AppDef_MyGradientOfCompute; - %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. - + %feature("autodoc", " Parameters ---------- SSP: AppDef_MultiLine @@ -2293,82 +2526,98 @@ Parameters: math_Vector Deg: int Tol3d: float Tol2d: float -NbIterations: int,optional - default value is 200 +NbIterations: int (optional, default to 200) -Returns +Return ------- None + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 420f3b7884af8c019ac24a5fe5ae6ff8 ****/ + /****** AppDef_MyGradientOfCompute::AverageError ******/ + /****** md5 signature: 420f3b7884af8c019ac24a5fe5ae6ff8 ******/ %feature("compactdefaultargs") AverageError; - %feature("autodoc", "Returns the average error between the old and the new approximation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the average error between the old and the new approximation. ") AverageError; Standard_Real AverageError(); - /****************** Error ******************/ - /**** md5 signature: 94d11b0fe58daf5df892c75e38905cde ****/ + /****** AppDef_MyGradientOfCompute::Error ******/ + /****** md5 signature: 94d11b0fe58daf5df892c75e38905cde ******/ %feature("compactdefaultargs") Error; - %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. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- float + +Description +----------- +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. ") Error; Standard_Real Error(const Standard_Integer Index); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** AppDef_MyGradientOfCompute::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Returns true if all has been correctly done. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns True if all has been correctly done. ") IsDone; Standard_Boolean IsDone(); - /****************** MaxError2d ******************/ - /**** md5 signature: 2590e15e02ab7eeda39345ef64189e30 ****/ + /****** AppDef_MyGradientOfCompute::MaxError2d ******/ + /****** md5 signature: 2590e15e02ab7eeda39345ef64189e30 ******/ %feature("compactdefaultargs") MaxError2d; - %feature("autodoc", "Returns the maximum difference between the old and the new approximation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the maximum difference between the old and the new approximation. ") MaxError2d; Standard_Real MaxError2d(); - /****************** MaxError3d ******************/ - /**** md5 signature: c6ba463cdf4a0e426329b589363186b7 ****/ + /****** AppDef_MyGradientOfCompute::MaxError3d ******/ + /****** md5 signature: c6ba463cdf4a0e426329b589363186b7 ******/ %feature("compactdefaultargs") MaxError3d; - %feature("autodoc", "Returns the maximum difference between the old and the new approximation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the maximum difference between the old and the new approximation. ") MaxError3d; Standard_Real MaxError3d(); - /****************** Value ******************/ - /**** md5 signature: dac7e49320bc0e9a268aeb92592734dc ****/ + /****** AppDef_MyGradientOfCompute::Value ******/ + /****** md5 signature: dac7e49320bc0e9a268aeb92592734dc ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns all the bezier curves approximating the multiline ssp after minimization of the parameter. - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiCurve + +Description +----------- +returns all the Bezier curves approximating the MultiLine SSP after minimization of the parameter. ") Value; AppParCurves_MultiCurve Value(); @@ -2386,11 +2635,10 @@ AppParCurves_MultiCurve *********************************************/ class AppDef_MyGradientbisOfBSplineCompute { public: - /****************** AppDef_MyGradientbisOfBSplineCompute ******************/ - /**** md5 signature: 6bd7ad47a144857ac891dd606d181fd3 ****/ + /****** AppDef_MyGradientbisOfBSplineCompute::AppDef_MyGradientbisOfBSplineCompute ******/ + /****** md5 signature: 6bd7ad47a144857ac891dd606d181fd3 ******/ %feature("compactdefaultargs") AppDef_MyGradientbisOfBSplineCompute; - %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. - + %feature("autodoc", " Parameters ---------- SSP: AppDef_MultiLine @@ -2401,82 +2649,98 @@ Parameters: math_Vector Deg: int Tol3d: float Tol2d: float -NbIterations: int,optional - default value is 200 +NbIterations: int (optional, default to 200) -Returns +Return ------- None + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 420f3b7884af8c019ac24a5fe5ae6ff8 ****/ + /****** AppDef_MyGradientbisOfBSplineCompute::AverageError ******/ + /****** md5 signature: 420f3b7884af8c019ac24a5fe5ae6ff8 ******/ %feature("compactdefaultargs") AverageError; - %feature("autodoc", "Returns the average error between the old and the new approximation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the average error between the old and the new approximation. ") AverageError; Standard_Real AverageError(); - /****************** Error ******************/ - /**** md5 signature: 94d11b0fe58daf5df892c75e38905cde ****/ + /****** AppDef_MyGradientbisOfBSplineCompute::Error ******/ + /****** md5 signature: 94d11b0fe58daf5df892c75e38905cde ******/ %feature("compactdefaultargs") Error; - %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. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- float + +Description +----------- +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. ") Error; Standard_Real Error(const Standard_Integer Index); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** AppDef_MyGradientbisOfBSplineCompute::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Returns true if all has been correctly done. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns True if all has been correctly done. ") IsDone; Standard_Boolean IsDone(); - /****************** MaxError2d ******************/ - /**** md5 signature: 2590e15e02ab7eeda39345ef64189e30 ****/ + /****** AppDef_MyGradientbisOfBSplineCompute::MaxError2d ******/ + /****** md5 signature: 2590e15e02ab7eeda39345ef64189e30 ******/ %feature("compactdefaultargs") MaxError2d; - %feature("autodoc", "Returns the maximum difference between the old and the new approximation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the maximum difference between the old and the new approximation. ") MaxError2d; Standard_Real MaxError2d(); - /****************** MaxError3d ******************/ - /**** md5 signature: c6ba463cdf4a0e426329b589363186b7 ****/ + /****** AppDef_MyGradientbisOfBSplineCompute::MaxError3d ******/ + /****** md5 signature: c6ba463cdf4a0e426329b589363186b7 ******/ %feature("compactdefaultargs") MaxError3d; - %feature("autodoc", "Returns the maximum difference between the old and the new approximation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the maximum difference between the old and the new approximation. ") MaxError3d; Standard_Real MaxError3d(); - /****************** Value ******************/ - /**** md5 signature: dac7e49320bc0e9a268aeb92592734dc ****/ + /****** AppDef_MyGradientbisOfBSplineCompute::Value ******/ + /****** md5 signature: dac7e49320bc0e9a268aeb92592734dc ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns all the bezier curves approximating the multiline ssp after minimization of the parameter. - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiCurve + +Description +----------- +returns all the Bezier curves approximating the MultiLine SSP after minimization of the parameter. ") Value; AppParCurves_MultiCurve Value(); @@ -2494,45 +2758,50 @@ AppParCurves_MultiCurve **************************/ class AppDef_MyLineTool { public: - /****************** Curvature ******************/ - /**** md5 signature: 12e4a67b8d371d9f1a978704077ccbc8 ****/ + /****** AppDef_MyLineTool::Curvature ******/ + /****** md5 signature: 12e4a67b8d371d9f1a978704077ccbc8 ******/ %feature("compactdefaultargs") Curvature; - %feature("autodoc", "Returns the 3d curvatures of the multipoint when only 3d points exist. - + %feature("autodoc", " Parameters ---------- ML: AppDef_MultiLine MPointIndex: int tabV: TColgp_Array1OfVec -Returns +Return ------- bool + +Description +----------- +returns the 3d curvatures of the multipoint when only 3d points exist. ") Curvature; static Standard_Boolean Curvature(const AppDef_MultiLine & ML, const Standard_Integer MPointIndex, TColgp_Array1OfVec & tabV); - /****************** Curvature ******************/ - /**** md5 signature: da227696a9b2e067a20d3b5467649970 ****/ + /****** AppDef_MyLineTool::Curvature ******/ + /****** md5 signature: da227696a9b2e067a20d3b5467649970 ******/ %feature("compactdefaultargs") Curvature; - %feature("autodoc", "Returns the 2d curvatures of the multipoint only when 2d points exist. - + %feature("autodoc", " Parameters ---------- ML: AppDef_MultiLine MPointIndex: int tabV2d: TColgp_Array1OfVec2d -Returns +Return ------- bool + +Description +----------- +returns the 2d curvatures of the multipoint only when 2d points exist. ") Curvature; static Standard_Boolean Curvature(const AppDef_MultiLine & ML, const Standard_Integer MPointIndex, TColgp_Array1OfVec2d & tabV2d); - /****************** Curvature ******************/ - /**** md5 signature: c8420054f061601ba7d5d683c11ca2e7 ****/ + /****** AppDef_MyLineTool::Curvature ******/ + /****** md5 signature: c8420054f061601ba7d5d683c11ca2e7 ******/ %feature("compactdefaultargs") Curvature; - %feature("autodoc", "Returns the 3d and 2d curvatures of the multipoint . - + %feature("autodoc", " Parameters ---------- ML: AppDef_MultiLine @@ -2540,47 +2809,56 @@ MPointIndex: int tabV: TColgp_Array1OfVec tabV2d: TColgp_Array1OfVec2d -Returns +Return ------- bool + +Description +----------- +returns the 3d and 2d curvatures of the multipoint . ") Curvature; static Standard_Boolean Curvature(const AppDef_MultiLine & ML, const Standard_Integer MPointIndex, TColgp_Array1OfVec & tabV, TColgp_Array1OfVec2d & tabV2d); - /****************** FirstPoint ******************/ - /**** md5 signature: aa6413da896459eb8c56102a045df964 ****/ + /****** AppDef_MyLineTool::FirstPoint ******/ + /****** md5 signature: aa6413da896459eb8c56102a045df964 ******/ %feature("compactdefaultargs") FirstPoint; - %feature("autodoc", "Returns the first index of multipoints of the multiline. - + %feature("autodoc", " Parameters ---------- ML: AppDef_MultiLine -Returns +Return ------- int + +Description +----------- +Returns the first index of multipoints of the MultiLine. ") FirstPoint; static Standard_Integer FirstPoint(const AppDef_MultiLine & ML); - /****************** LastPoint ******************/ - /**** md5 signature: 9f5446370dab90e6dc755040302f27ba ****/ + /****** AppDef_MyLineTool::LastPoint ******/ + /****** md5 signature: 9f5446370dab90e6dc755040302f27ba ******/ %feature("compactdefaultargs") LastPoint; - %feature("autodoc", "Returns the last index of multipoints of the multiline. - + %feature("autodoc", " Parameters ---------- ML: AppDef_MultiLine -Returns +Return ------- int + +Description +----------- +Returns the last index of multipoints of the MultiLine. ") LastPoint; static Standard_Integer LastPoint(const AppDef_MultiLine & ML); - /****************** MakeMLBetween ******************/ - /**** md5 signature: 45eb4314bc229297ec468e0e68adda67 ****/ + /****** AppDef_MyLineTool::MakeMLBetween ******/ + /****** md5 signature: 45eb4314bc229297ec468e0e68adda67 ******/ %feature("compactdefaultargs") MakeMLBetween; - %feature("autodoc", "Is never called in the algorithms. nothing is done. - + %feature("autodoc", " Parameters ---------- ML: AppDef_MultiLine @@ -2588,17 +2866,20 @@ I1: int I2: int NbPMin: int -Returns +Return ------- AppDef_MultiLine + +Description +----------- +Is never called in the algorithms. Nothing is done. ") MakeMLBetween; static AppDef_MultiLine MakeMLBetween(const AppDef_MultiLine & ML, const Standard_Integer I1, const Standard_Integer I2, const Standard_Integer NbPMin); - /****************** MakeMLOneMorePoint ******************/ - /**** md5 signature: 63482999c5c43dccf4668a0ab37a5909 ****/ + /****** AppDef_MyLineTool::MakeMLOneMorePoint ******/ + /****** md5 signature: 63482999c5c43dccf4668a0ab37a5909 ******/ %feature("compactdefaultargs") MakeMLOneMorePoint; - %feature("autodoc", "Is never called in the algorithms. nothing is done. - + %feature("autodoc", " Parameters ---------- ML: AppDef_MultiLine @@ -2607,81 +2888,96 @@ I2: int indbad: int OtherLine: AppDef_MultiLine -Returns +Return ------- bool + +Description +----------- +Is never called in the algorithms. Nothing is done. ") 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 ******************/ - /**** md5 signature: 7a37caf206ab568500c96708d4d9f281 ****/ + /****** AppDef_MyLineTool::NbP2d ******/ + /****** md5 signature: 7a37caf206ab568500c96708d4d9f281 ******/ %feature("compactdefaultargs") NbP2d; - %feature("autodoc", "Returns the number of 2d points of a multiline. - + %feature("autodoc", " Parameters ---------- ML: AppDef_MultiLine -Returns +Return ------- int + +Description +----------- +Returns the number of 2d points of a MultiLine. ") NbP2d; static Standard_Integer NbP2d(const AppDef_MultiLine & ML); - /****************** NbP3d ******************/ - /**** md5 signature: b37e0daf764f3796dfd4e04f1004f411 ****/ + /****** AppDef_MyLineTool::NbP3d ******/ + /****** md5 signature: b37e0daf764f3796dfd4e04f1004f411 ******/ %feature("compactdefaultargs") NbP3d; - %feature("autodoc", "Returns the number of 3d points of a multiline. - + %feature("autodoc", " Parameters ---------- ML: AppDef_MultiLine -Returns +Return ------- int + +Description +----------- +Returns the number of 3d points of a MultiLine. ") NbP3d; static Standard_Integer NbP3d(const AppDef_MultiLine & ML); - /****************** Tangency ******************/ - /**** md5 signature: 899765c31b68f9d5622bb4f335d17af9 ****/ + /****** AppDef_MyLineTool::Tangency ******/ + /****** md5 signature: 899765c31b68f9d5622bb4f335d17af9 ******/ %feature("compactdefaultargs") Tangency; - %feature("autodoc", "Returns the 3d points of the multipoint when only 3d points exist. - + %feature("autodoc", " Parameters ---------- ML: AppDef_MultiLine MPointIndex: int tabV: TColgp_Array1OfVec -Returns +Return ------- bool + +Description +----------- +returns the 3d points of the multipoint when only 3d points exist. ") Tangency; static Standard_Boolean Tangency(const AppDef_MultiLine & ML, const Standard_Integer MPointIndex, TColgp_Array1OfVec & tabV); - /****************** Tangency ******************/ - /**** md5 signature: 0b0abe2371afc94bdc402cd3a5e13ca6 ****/ + /****** AppDef_MyLineTool::Tangency ******/ + /****** md5 signature: 0b0abe2371afc94bdc402cd3a5e13ca6 ******/ %feature("compactdefaultargs") Tangency; - %feature("autodoc", "Returns the 2d tangency points of the multipoint only when 2d points exist. - + %feature("autodoc", " Parameters ---------- ML: AppDef_MultiLine MPointIndex: int tabV2d: TColgp_Array1OfVec2d -Returns +Return ------- bool + +Description +----------- +returns the 2d tangency points of the multipoint only when 2d points exist. ") Tangency; static Standard_Boolean Tangency(const AppDef_MultiLine & ML, const Standard_Integer MPointIndex, TColgp_Array1OfVec2d & tabV2d); - /****************** Tangency ******************/ - /**** md5 signature: 260996d76e35422100d12a8ced363571 ****/ + /****** AppDef_MyLineTool::Tangency ******/ + /****** md5 signature: 260996d76e35422100d12a8ced363571 ******/ %feature("compactdefaultargs") Tangency; - %feature("autodoc", "Returns the 3d and 2d points of the multipoint . - + %feature("autodoc", " Parameters ---------- ML: AppDef_MultiLine @@ -2689,51 +2985,60 @@ MPointIndex: int tabV: TColgp_Array1OfVec tabV2d: TColgp_Array1OfVec2d -Returns +Return ------- bool + +Description +----------- +returns the 3d and 2d points of the multipoint . ") Tangency; static Standard_Boolean Tangency(const AppDef_MultiLine & ML, const Standard_Integer MPointIndex, TColgp_Array1OfVec & tabV, TColgp_Array1OfVec2d & tabV2d); - /****************** Value ******************/ - /**** md5 signature: 8dcbf0fabc7c1e1761c0065a48505664 ****/ + /****** AppDef_MyLineTool::Value ******/ + /****** md5 signature: 8dcbf0fabc7c1e1761c0065a48505664 ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns the 3d points of the multipoint when only 3d points exist. - + %feature("autodoc", " Parameters ---------- ML: AppDef_MultiLine MPointIndex: int tabPt: TColgp_Array1OfPnt -Returns +Return ------- None + +Description +----------- +returns the 3d points of the multipoint when only 3d points exist. ") Value; static void Value(const AppDef_MultiLine & ML, const Standard_Integer MPointIndex, TColgp_Array1OfPnt & tabPt); - /****************** Value ******************/ - /**** md5 signature: 531d0eb0a3bfd42e8f41bd5400fec8b8 ****/ + /****** AppDef_MyLineTool::Value ******/ + /****** md5 signature: 531d0eb0a3bfd42e8f41bd5400fec8b8 ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns the 2d points of the multipoint when only 2d points exist. - + %feature("autodoc", " Parameters ---------- ML: AppDef_MultiLine MPointIndex: int tabPt2d: TColgp_Array1OfPnt2d -Returns +Return ------- None + +Description +----------- +returns the 2d points of the multipoint when only 2d points exist. ") Value; static void Value(const AppDef_MultiLine & ML, const Standard_Integer MPointIndex, TColgp_Array1OfPnt2d & tabPt2d); - /****************** Value ******************/ - /**** md5 signature: 2b0210374c28698cdc099922d8d2b967 ****/ + /****** AppDef_MyLineTool::Value ******/ + /****** md5 signature: 2b0210374c28698cdc099922d8d2b967 ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns the 3d and 2d points of the multipoint . - + %feature("autodoc", " Parameters ---------- ML: AppDef_MultiLine @@ -2741,26 +3046,33 @@ MPointIndex: int tabPt: TColgp_Array1OfPnt tabPt2d: TColgp_Array1OfPnt2d -Returns +Return ------- None + +Description +----------- +returns the 3d and 2d points of the multipoint . ") Value; static void Value(const AppDef_MultiLine & ML, const Standard_Integer MPointIndex, TColgp_Array1OfPnt & tabPt, TColgp_Array1OfPnt2d & tabPt2d); - /****************** WhatStatus ******************/ - /**** md5 signature: a4e05eb1bdb8d525ab7cc67865409902 ****/ + /****** AppDef_MyLineTool::WhatStatus ******/ + /****** md5 signature: a4e05eb1bdb8d525ab7cc67865409902 ******/ %feature("compactdefaultargs") WhatStatus; - %feature("autodoc", "Returns nopointsadded. - + %feature("autodoc", " Parameters ---------- ML: AppDef_MultiLine I1: int I2: int -Returns +Return ------- Approx_Status + +Description +----------- +returns NoPointsAdded. ") WhatStatus; static Approx_Status WhatStatus(const AppDef_MultiLine & ML, const Standard_Integer I1, const Standard_Integer I2); @@ -2778,11 +3090,10 @@ Approx_Status ************************************************/ class AppDef_ParFunctionOfMyGradientOfCompute : public math_MultipleVarFunctionWithGradient { public: - /****************** AppDef_ParFunctionOfMyGradientOfCompute ******************/ - /**** md5 signature: 5e82b667e483741251b19a4b42af6a1c ****/ + /****** AppDef_ParFunctionOfMyGradientOfCompute::AppDef_ParFunctionOfMyGradientOfCompute ******/ + /****** md5 signature: 5e82b667e483741251b19a4b42af6a1c ******/ %feature("compactdefaultargs") AppDef_ParFunctionOfMyGradientOfCompute; - %feature("autodoc", "Initializes the fields of the function. the approximating curve has the desired degree deg. - + %feature("autodoc", " Parameters ---------- SSP: AppDef_MultiLine @@ -2792,159 +3103,191 @@ TheConstraints: AppParCurves_HArray1OfConstraintCouple Parameters: math_Vector Deg: int -Returns +Return ------- None + +Description +----------- +initializes the fields of the function. The approximating curve has the desired degree Deg. ") 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 ******************/ - /**** md5 signature: c2e2cb976554936214bdfe3487b0362c ****/ + /****** AppDef_ParFunctionOfMyGradientOfCompute::CurveValue ******/ + /****** md5 signature: c2e2cb976554936214bdfe3487b0362c ******/ %feature("compactdefaultargs") CurveValue; - %feature("autodoc", "Returns the multicurve approximating the set after computing the value f or grad(f). - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiCurve + +Description +----------- +returns the MultiCurve approximating the set after computing the value F or Grad(F). ") CurveValue; - const AppParCurves_MultiCurve & CurveValue(); + AppParCurves_MultiCurve CurveValue(); - /****************** Error ******************/ - /**** md5 signature: 59bc36aa259ae04fcbc9c2a60fae6dfb ****/ + /****** AppDef_ParFunctionOfMyGradientOfCompute::Error ******/ + /****** md5 signature: 59bc36aa259ae04fcbc9c2a60fae6dfb ******/ %feature("compactdefaultargs") Error; - %feature("autodoc", "Returns the distance between the multipoint of range ipoint and the curve curveindex. - + %feature("autodoc", " Parameters ---------- IPoint: int CurveIndex: int -Returns +Return ------- float + +Description +----------- +returns the distance between the MultiPoint of range IPoint and the curve CurveIndex. ") Error; Standard_Real Error(const Standard_Integer IPoint, const Standard_Integer CurveIndex); - /****************** FirstConstraint ******************/ - /**** md5 signature: 6814c8615ee3f59417c740c77d2ce795 ****/ + /****** AppDef_ParFunctionOfMyGradientOfCompute::FirstConstraint ******/ + /****** md5 signature: 6814c8615ee3f59417c740c77d2ce795 ******/ %feature("compactdefaultargs") FirstConstraint; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- TheConstraints: AppParCurves_HArray1OfConstraintCouple FirstPoint: int -Returns +Return ------- AppParCurves_Constraint + +Description +----------- +No available documentation. ") FirstConstraint; AppParCurves_Constraint FirstConstraint(const opencascade::handle & TheConstraints, const Standard_Integer FirstPoint); - /****************** Gradient ******************/ - /**** md5 signature: 5ee531ceab07ab216991e3bf02edf0f7 ****/ + /****** AppDef_ParFunctionOfMyGradientOfCompute::Gradient ******/ + /****** md5 signature: 5ee531ceab07ab216991e3bf02edf0f7 ******/ %feature("compactdefaultargs") Gradient; - %feature("autodoc", "Returns the gradient g of the sum above for the parameters xi. - + %feature("autodoc", " Parameters ---------- X: math_Vector G: math_Vector -Returns +Return ------- bool + +Description +----------- +returns the gradient G of the sum above for the parameters Xi. ") Gradient; Standard_Boolean Gradient(const math_Vector & X, math_Vector & G); - /****************** LastConstraint ******************/ - /**** md5 signature: f3572ad2cc7e299a1f7b6cb9d14677cf ****/ + /****** AppDef_ParFunctionOfMyGradientOfCompute::LastConstraint ******/ + /****** md5 signature: f3572ad2cc7e299a1f7b6cb9d14677cf ******/ %feature("compactdefaultargs") LastConstraint; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- TheConstraints: AppParCurves_HArray1OfConstraintCouple LastPoint: int -Returns +Return ------- AppParCurves_Constraint + +Description +----------- +No available documentation. ") LastConstraint; AppParCurves_Constraint LastConstraint(const opencascade::handle & TheConstraints, const Standard_Integer LastPoint); - /****************** MaxError2d ******************/ - /**** md5 signature: 2590e15e02ab7eeda39345ef64189e30 ****/ + /****** AppDef_ParFunctionOfMyGradientOfCompute::MaxError2d ******/ + /****** md5 signature: 2590e15e02ab7eeda39345ef64189e30 ******/ %feature("compactdefaultargs") MaxError2d; - %feature("autodoc", "Returns the maximum distance between the points and the multicurve. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the maximum distance between the points and the MultiCurve. ") MaxError2d; Standard_Real MaxError2d(); - /****************** MaxError3d ******************/ - /**** md5 signature: c6ba463cdf4a0e426329b589363186b7 ****/ + /****** AppDef_ParFunctionOfMyGradientOfCompute::MaxError3d ******/ + /****** md5 signature: c6ba463cdf4a0e426329b589363186b7 ******/ %feature("compactdefaultargs") MaxError3d; - %feature("autodoc", "Returns the maximum distance between the points and the multicurve. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the maximum distance between the points and the MultiCurve. ") MaxError3d; Standard_Real MaxError3d(); - /****************** NbVariables ******************/ - /**** md5 signature: a3de6b8a577fc113199e11b2b0bcdced ****/ + /****** AppDef_ParFunctionOfMyGradientOfCompute::NbVariables ******/ + /****** md5 signature: a3de6b8a577fc113199e11b2b0bcdced ******/ %feature("compactdefaultargs") NbVariables; - %feature("autodoc", "Returns the number of variables of the function. it corresponds to the number of multipoints. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +returns the number of variables of the function. It corresponds to the number of MultiPoints. ") NbVariables; Standard_Integer NbVariables(); - /****************** NewParameters ******************/ - /**** md5 signature: 1d606e7b2aa9813a84f6984ebdf52bb7 ****/ + /****** AppDef_ParFunctionOfMyGradientOfCompute::NewParameters ******/ + /****** md5 signature: 1d606e7b2aa9813a84f6984ebdf52bb7 ******/ %feature("compactdefaultargs") NewParameters; - %feature("autodoc", "Returns the new parameters of the multiline. - -Returns + %feature("autodoc", "Return ------- math_Vector + +Description +----------- +returns the new parameters of the MultiLine. ") NewParameters; const math_Vector & NewParameters(); - /****************** Value ******************/ - /**** md5 signature: 33f8b9f75d238865cc320f57ac729801 ****/ + /****** AppDef_ParFunctionOfMyGradientOfCompute::Value ******/ + /****** md5 signature: 33f8b9f75d238865cc320f57ac729801 ******/ %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. - + %feature("autodoc", " Parameters ---------- X: math_Vector -Returns +Return ------- F: float + +Description +----------- +this method computes the new approximation of the MultiLine SSP and calculates F = sum (||Pui - Bi*Pi||2) for each point of the MultiLine. ") Value; Standard_Boolean Value(const math_Vector & X, Standard_Real &OutValue); - /****************** Values ******************/ - /**** md5 signature: 66c7c08f6bec2933f700c6f45cf14285 ****/ + /****** AppDef_ParFunctionOfMyGradientOfCompute::Values ******/ + /****** md5 signature: 66c7c08f6bec2933f700c6f45cf14285 ******/ %feature("compactdefaultargs") Values; - %feature("autodoc", "Returns the value f=sum(||pui - bi*pi||)2. returns the value g = grad(f) for the parameters xi. - + %feature("autodoc", " Parameters ---------- X: math_Vector G: math_Vector -Returns +Return ------- F: float + +Description +----------- +returns the value F=sum(||Pui - Bi*Pi||)2. returns the value G = grad(F) for the parameters Xi. ") Values; Standard_Boolean Values(const math_Vector & X, Standard_Real &OutValue, math_Vector & G); @@ -2962,11 +3305,10 @@ F: float **********************************************************/ class AppDef_ParFunctionOfMyGradientbisOfBSplineCompute : public math_MultipleVarFunctionWithGradient { public: - /****************** AppDef_ParFunctionOfMyGradientbisOfBSplineCompute ******************/ - /**** md5 signature: 71e0b753e00d6144bda7beaa41e6a211 ****/ + /****** AppDef_ParFunctionOfMyGradientbisOfBSplineCompute::AppDef_ParFunctionOfMyGradientbisOfBSplineCompute ******/ + /****** md5 signature: 71e0b753e00d6144bda7beaa41e6a211 ******/ %feature("compactdefaultargs") AppDef_ParFunctionOfMyGradientbisOfBSplineCompute; - %feature("autodoc", "Initializes the fields of the function. the approximating curve has the desired degree deg. - + %feature("autodoc", " Parameters ---------- SSP: AppDef_MultiLine @@ -2976,159 +3318,191 @@ TheConstraints: AppParCurves_HArray1OfConstraintCouple Parameters: math_Vector Deg: int -Returns +Return ------- None + +Description +----------- +initializes the fields of the function. The approximating curve has the desired degree Deg. ") 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 ******************/ - /**** md5 signature: c2e2cb976554936214bdfe3487b0362c ****/ + /****** AppDef_ParFunctionOfMyGradientbisOfBSplineCompute::CurveValue ******/ + /****** md5 signature: c2e2cb976554936214bdfe3487b0362c ******/ %feature("compactdefaultargs") CurveValue; - %feature("autodoc", "Returns the multicurve approximating the set after computing the value f or grad(f). - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiCurve + +Description +----------- +returns the MultiCurve approximating the set after computing the value F or Grad(F). ") CurveValue; - const AppParCurves_MultiCurve & CurveValue(); + AppParCurves_MultiCurve CurveValue(); - /****************** Error ******************/ - /**** md5 signature: 59bc36aa259ae04fcbc9c2a60fae6dfb ****/ + /****** AppDef_ParFunctionOfMyGradientbisOfBSplineCompute::Error ******/ + /****** md5 signature: 59bc36aa259ae04fcbc9c2a60fae6dfb ******/ %feature("compactdefaultargs") Error; - %feature("autodoc", "Returns the distance between the multipoint of range ipoint and the curve curveindex. - + %feature("autodoc", " Parameters ---------- IPoint: int CurveIndex: int -Returns +Return ------- float + +Description +----------- +returns the distance between the MultiPoint of range IPoint and the curve CurveIndex. ") Error; Standard_Real Error(const Standard_Integer IPoint, const Standard_Integer CurveIndex); - /****************** FirstConstraint ******************/ - /**** md5 signature: 6814c8615ee3f59417c740c77d2ce795 ****/ + /****** AppDef_ParFunctionOfMyGradientbisOfBSplineCompute::FirstConstraint ******/ + /****** md5 signature: 6814c8615ee3f59417c740c77d2ce795 ******/ %feature("compactdefaultargs") FirstConstraint; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- TheConstraints: AppParCurves_HArray1OfConstraintCouple FirstPoint: int -Returns +Return ------- AppParCurves_Constraint + +Description +----------- +No available documentation. ") FirstConstraint; AppParCurves_Constraint FirstConstraint(const opencascade::handle & TheConstraints, const Standard_Integer FirstPoint); - /****************** Gradient ******************/ - /**** md5 signature: 5ee531ceab07ab216991e3bf02edf0f7 ****/ + /****** AppDef_ParFunctionOfMyGradientbisOfBSplineCompute::Gradient ******/ + /****** md5 signature: 5ee531ceab07ab216991e3bf02edf0f7 ******/ %feature("compactdefaultargs") Gradient; - %feature("autodoc", "Returns the gradient g of the sum above for the parameters xi. - + %feature("autodoc", " Parameters ---------- X: math_Vector G: math_Vector -Returns +Return ------- bool + +Description +----------- +returns the gradient G of the sum above for the parameters Xi. ") Gradient; Standard_Boolean Gradient(const math_Vector & X, math_Vector & G); - /****************** LastConstraint ******************/ - /**** md5 signature: f3572ad2cc7e299a1f7b6cb9d14677cf ****/ + /****** AppDef_ParFunctionOfMyGradientbisOfBSplineCompute::LastConstraint ******/ + /****** md5 signature: f3572ad2cc7e299a1f7b6cb9d14677cf ******/ %feature("compactdefaultargs") LastConstraint; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- TheConstraints: AppParCurves_HArray1OfConstraintCouple LastPoint: int -Returns +Return ------- AppParCurves_Constraint + +Description +----------- +No available documentation. ") LastConstraint; AppParCurves_Constraint LastConstraint(const opencascade::handle & TheConstraints, const Standard_Integer LastPoint); - /****************** MaxError2d ******************/ - /**** md5 signature: 2590e15e02ab7eeda39345ef64189e30 ****/ + /****** AppDef_ParFunctionOfMyGradientbisOfBSplineCompute::MaxError2d ******/ + /****** md5 signature: 2590e15e02ab7eeda39345ef64189e30 ******/ %feature("compactdefaultargs") MaxError2d; - %feature("autodoc", "Returns the maximum distance between the points and the multicurve. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the maximum distance between the points and the MultiCurve. ") MaxError2d; Standard_Real MaxError2d(); - /****************** MaxError3d ******************/ - /**** md5 signature: c6ba463cdf4a0e426329b589363186b7 ****/ + /****** AppDef_ParFunctionOfMyGradientbisOfBSplineCompute::MaxError3d ******/ + /****** md5 signature: c6ba463cdf4a0e426329b589363186b7 ******/ %feature("compactdefaultargs") MaxError3d; - %feature("autodoc", "Returns the maximum distance between the points and the multicurve. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the maximum distance between the points and the MultiCurve. ") MaxError3d; Standard_Real MaxError3d(); - /****************** NbVariables ******************/ - /**** md5 signature: a3de6b8a577fc113199e11b2b0bcdced ****/ + /****** AppDef_ParFunctionOfMyGradientbisOfBSplineCompute::NbVariables ******/ + /****** md5 signature: a3de6b8a577fc113199e11b2b0bcdced ******/ %feature("compactdefaultargs") NbVariables; - %feature("autodoc", "Returns the number of variables of the function. it corresponds to the number of multipoints. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +returns the number of variables of the function. It corresponds to the number of MultiPoints. ") NbVariables; Standard_Integer NbVariables(); - /****************** NewParameters ******************/ - /**** md5 signature: 1d606e7b2aa9813a84f6984ebdf52bb7 ****/ + /****** AppDef_ParFunctionOfMyGradientbisOfBSplineCompute::NewParameters ******/ + /****** md5 signature: 1d606e7b2aa9813a84f6984ebdf52bb7 ******/ %feature("compactdefaultargs") NewParameters; - %feature("autodoc", "Returns the new parameters of the multiline. - -Returns + %feature("autodoc", "Return ------- math_Vector + +Description +----------- +returns the new parameters of the MultiLine. ") NewParameters; const math_Vector & NewParameters(); - /****************** Value ******************/ - /**** md5 signature: 33f8b9f75d238865cc320f57ac729801 ****/ + /****** AppDef_ParFunctionOfMyGradientbisOfBSplineCompute::Value ******/ + /****** md5 signature: 33f8b9f75d238865cc320f57ac729801 ******/ %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. - + %feature("autodoc", " Parameters ---------- X: math_Vector -Returns +Return ------- F: float + +Description +----------- +this method computes the new approximation of the MultiLine SSP and calculates F = sum (||Pui - Bi*Pi||2) for each point of the MultiLine. ") Value; Standard_Boolean Value(const math_Vector & X, Standard_Real &OutValue); - /****************** Values ******************/ - /**** md5 signature: 66c7c08f6bec2933f700c6f45cf14285 ****/ + /****** AppDef_ParFunctionOfMyGradientbisOfBSplineCompute::Values ******/ + /****** md5 signature: 66c7c08f6bec2933f700c6f45cf14285 ******/ %feature("compactdefaultargs") Values; - %feature("autodoc", "Returns the value f=sum(||pui - bi*pi||)2. returns the value g = grad(f) for the parameters xi. - + %feature("autodoc", " Parameters ---------- X: math_Vector G: math_Vector -Returns +Return ------- F: float + +Description +----------- +returns the value F=sum(||Pui - Bi*Pi||)2. returns the value G = grad(F) for the parameters Xi. ") Values; Standard_Boolean Values(const math_Vector & X, Standard_Real &OutValue, math_Vector & G); @@ -3146,11 +3520,10 @@ F: float ****************************************/ class AppDef_ParFunctionOfTheGradient : public math_MultipleVarFunctionWithGradient { public: - /****************** AppDef_ParFunctionOfTheGradient ******************/ - /**** md5 signature: 6ae58b53fc28bc68999c5284f8bd72a8 ****/ + /****** AppDef_ParFunctionOfTheGradient::AppDef_ParFunctionOfTheGradient ******/ + /****** md5 signature: 6ae58b53fc28bc68999c5284f8bd72a8 ******/ %feature("compactdefaultargs") AppDef_ParFunctionOfTheGradient; - %feature("autodoc", "Initializes the fields of the function. the approximating curve has the desired degree deg. - + %feature("autodoc", " Parameters ---------- SSP: AppDef_MultiLine @@ -3160,159 +3533,191 @@ TheConstraints: AppParCurves_HArray1OfConstraintCouple Parameters: math_Vector Deg: int -Returns +Return ------- None + +Description +----------- +initializes the fields of the function. The approximating curve has the desired degree Deg. ") 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 ******************/ - /**** md5 signature: c2e2cb976554936214bdfe3487b0362c ****/ + /****** AppDef_ParFunctionOfTheGradient::CurveValue ******/ + /****** md5 signature: c2e2cb976554936214bdfe3487b0362c ******/ %feature("compactdefaultargs") CurveValue; - %feature("autodoc", "Returns the multicurve approximating the set after computing the value f or grad(f). - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiCurve + +Description +----------- +returns the MultiCurve approximating the set after computing the value F or Grad(F). ") CurveValue; - const AppParCurves_MultiCurve & CurveValue(); + AppParCurves_MultiCurve CurveValue(); - /****************** Error ******************/ - /**** md5 signature: 59bc36aa259ae04fcbc9c2a60fae6dfb ****/ + /****** AppDef_ParFunctionOfTheGradient::Error ******/ + /****** md5 signature: 59bc36aa259ae04fcbc9c2a60fae6dfb ******/ %feature("compactdefaultargs") Error; - %feature("autodoc", "Returns the distance between the multipoint of range ipoint and the curve curveindex. - + %feature("autodoc", " Parameters ---------- IPoint: int CurveIndex: int -Returns +Return ------- float + +Description +----------- +returns the distance between the MultiPoint of range IPoint and the curve CurveIndex. ") Error; Standard_Real Error(const Standard_Integer IPoint, const Standard_Integer CurveIndex); - /****************** FirstConstraint ******************/ - /**** md5 signature: 6814c8615ee3f59417c740c77d2ce795 ****/ + /****** AppDef_ParFunctionOfTheGradient::FirstConstraint ******/ + /****** md5 signature: 6814c8615ee3f59417c740c77d2ce795 ******/ %feature("compactdefaultargs") FirstConstraint; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- TheConstraints: AppParCurves_HArray1OfConstraintCouple FirstPoint: int -Returns +Return ------- AppParCurves_Constraint + +Description +----------- +No available documentation. ") FirstConstraint; AppParCurves_Constraint FirstConstraint(const opencascade::handle & TheConstraints, const Standard_Integer FirstPoint); - /****************** Gradient ******************/ - /**** md5 signature: 5ee531ceab07ab216991e3bf02edf0f7 ****/ + /****** AppDef_ParFunctionOfTheGradient::Gradient ******/ + /****** md5 signature: 5ee531ceab07ab216991e3bf02edf0f7 ******/ %feature("compactdefaultargs") Gradient; - %feature("autodoc", "Returns the gradient g of the sum above for the parameters xi. - + %feature("autodoc", " Parameters ---------- X: math_Vector G: math_Vector -Returns +Return ------- bool + +Description +----------- +returns the gradient G of the sum above for the parameters Xi. ") Gradient; Standard_Boolean Gradient(const math_Vector & X, math_Vector & G); - /****************** LastConstraint ******************/ - /**** md5 signature: f3572ad2cc7e299a1f7b6cb9d14677cf ****/ + /****** AppDef_ParFunctionOfTheGradient::LastConstraint ******/ + /****** md5 signature: f3572ad2cc7e299a1f7b6cb9d14677cf ******/ %feature("compactdefaultargs") LastConstraint; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- TheConstraints: AppParCurves_HArray1OfConstraintCouple LastPoint: int -Returns +Return ------- AppParCurves_Constraint + +Description +----------- +No available documentation. ") LastConstraint; AppParCurves_Constraint LastConstraint(const opencascade::handle & TheConstraints, const Standard_Integer LastPoint); - /****************** MaxError2d ******************/ - /**** md5 signature: 2590e15e02ab7eeda39345ef64189e30 ****/ + /****** AppDef_ParFunctionOfTheGradient::MaxError2d ******/ + /****** md5 signature: 2590e15e02ab7eeda39345ef64189e30 ******/ %feature("compactdefaultargs") MaxError2d; - %feature("autodoc", "Returns the maximum distance between the points and the multicurve. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the maximum distance between the points and the MultiCurve. ") MaxError2d; Standard_Real MaxError2d(); - /****************** MaxError3d ******************/ - /**** md5 signature: c6ba463cdf4a0e426329b589363186b7 ****/ + /****** AppDef_ParFunctionOfTheGradient::MaxError3d ******/ + /****** md5 signature: c6ba463cdf4a0e426329b589363186b7 ******/ %feature("compactdefaultargs") MaxError3d; - %feature("autodoc", "Returns the maximum distance between the points and the multicurve. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the maximum distance between the points and the MultiCurve. ") MaxError3d; Standard_Real MaxError3d(); - /****************** NbVariables ******************/ - /**** md5 signature: a3de6b8a577fc113199e11b2b0bcdced ****/ + /****** AppDef_ParFunctionOfTheGradient::NbVariables ******/ + /****** md5 signature: a3de6b8a577fc113199e11b2b0bcdced ******/ %feature("compactdefaultargs") NbVariables; - %feature("autodoc", "Returns the number of variables of the function. it corresponds to the number of multipoints. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +returns the number of variables of the function. It corresponds to the number of MultiPoints. ") NbVariables; Standard_Integer NbVariables(); - /****************** NewParameters ******************/ - /**** md5 signature: 1d606e7b2aa9813a84f6984ebdf52bb7 ****/ + /****** AppDef_ParFunctionOfTheGradient::NewParameters ******/ + /****** md5 signature: 1d606e7b2aa9813a84f6984ebdf52bb7 ******/ %feature("compactdefaultargs") NewParameters; - %feature("autodoc", "Returns the new parameters of the multiline. - -Returns + %feature("autodoc", "Return ------- math_Vector + +Description +----------- +returns the new parameters of the MultiLine. ") NewParameters; const math_Vector & NewParameters(); - /****************** Value ******************/ - /**** md5 signature: 33f8b9f75d238865cc320f57ac729801 ****/ + /****** AppDef_ParFunctionOfTheGradient::Value ******/ + /****** md5 signature: 33f8b9f75d238865cc320f57ac729801 ******/ %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. - + %feature("autodoc", " Parameters ---------- X: math_Vector -Returns +Return ------- F: float + +Description +----------- +this method computes the new approximation of the MultiLine SSP and calculates F = sum (||Pui - Bi*Pi||2) for each point of the MultiLine. ") Value; Standard_Boolean Value(const math_Vector & X, Standard_Real &OutValue); - /****************** Values ******************/ - /**** md5 signature: 66c7c08f6bec2933f700c6f45cf14285 ****/ + /****** AppDef_ParFunctionOfTheGradient::Values ******/ + /****** md5 signature: 66c7c08f6bec2933f700c6f45cf14285 ******/ %feature("compactdefaultargs") Values; - %feature("autodoc", "Returns the value f=sum(||pui - bi*pi||)2. returns the value g = grad(f) for the parameters xi. - + %feature("autodoc", " Parameters ---------- X: math_Vector G: math_Vector -Returns +Return ------- F: float + +Description +----------- +returns the value F=sum(||Pui - Bi*Pi||)2. returns the value G = grad(F) for the parameters Xi. ") Values; Standard_Boolean Values(const math_Vector & X, Standard_Real &OutValue, math_Vector & G); @@ -3330,11 +3735,10 @@ F: float ***************************************************/ class AppDef_ParLeastSquareOfMyGradientOfCompute { public: - /****************** AppDef_ParLeastSquareOfMyGradientOfCompute ******************/ - /**** md5 signature: 0f470f8d09760a577136f1515d1bfb47 ****/ + /****** AppDef_ParLeastSquareOfMyGradientOfCompute::AppDef_ParLeastSquareOfMyGradientOfCompute ******/ + /****** md5 signature: 0f470f8d09760a577136f1515d1bfb47 ******/ %feature("compactdefaultargs") AppDef_ParLeastSquareOfMyGradientOfCompute; - %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). - + %feature("autodoc", " Parameters ---------- SSP: AppDef_MultiLine @@ -3345,17 +3749,20 @@ LastCons: AppParCurves_Constraint Parameters: math_Vector NbPol: int -Returns +Return ------- None + +Description +----------- +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). ") 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 ******************/ - /**** md5 signature: 4c1463e27c262a50e76b8fe5dff270c0 ****/ + /****** AppDef_ParLeastSquareOfMyGradientOfCompute::AppDef_ParLeastSquareOfMyGradientOfCompute ******/ + /****** md5 signature: 4c1463e27c262a50e76b8fe5dff270c0 ******/ %feature("compactdefaultargs") AppDef_ParLeastSquareOfMyGradientOfCompute; - %feature("autodoc", "Initializes the fields of the object. - + %feature("autodoc", " Parameters ---------- SSP: AppDef_MultiLine @@ -3365,17 +3772,20 @@ FirstCons: AppParCurves_Constraint LastCons: AppParCurves_Constraint NbPol: int -Returns +Return ------- None + +Description +----------- +Initializes the fields of the object. ") 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 ******************/ - /**** md5 signature: 6150d26142d95dfba2fe070d4d272305 ****/ + /****** AppDef_ParLeastSquareOfMyGradientOfCompute::AppDef_ParLeastSquareOfMyGradientOfCompute ******/ + /****** md5 signature: 6150d26142d95dfba2fe070d4d272305 ******/ %feature("compactdefaultargs") AppDef_ParLeastSquareOfMyGradientOfCompute; - %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). - + %feature("autodoc", " Parameters ---------- SSP: AppDef_MultiLine @@ -3388,17 +3798,20 @@ LastCons: AppParCurves_Constraint Parameters: math_Vector NbPol: int -Returns +Return ------- None + +Description +----------- +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). ") 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 ******************/ - /**** md5 signature: 1e1086e0e59f1c54539147a819762a29 ****/ + /****** AppDef_ParLeastSquareOfMyGradientOfCompute::AppDef_ParLeastSquareOfMyGradientOfCompute ******/ + /****** md5 signature: 1e1086e0e59f1c54539147a819762a29 ******/ %feature("compactdefaultargs") AppDef_ParLeastSquareOfMyGradientOfCompute; - %feature("autodoc", "Initializes the fields of the object. - + %feature("autodoc", " Parameters ---------- SSP: AppDef_MultiLine @@ -3410,181 +3823,214 @@ FirstCons: AppParCurves_Constraint LastCons: AppParCurves_Constraint NbPol: int -Returns +Return ------- None + +Description +----------- +Initializes the fields of the object. ") 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); - /****************** BSplineValue ******************/ - /**** md5 signature: a38863f7c9b6fa566ee9fea09f971d5c ****/ + /****** AppDef_ParLeastSquareOfMyGradientOfCompute::BSplineValue ******/ + /****** md5 signature: a38863f7c9b6fa566ee9fea09f971d5c ******/ %feature("compactdefaultargs") BSplineValue; - %feature("autodoc", "Returns the result of the approximation, i.e. all the curves. an exception is raised if notdone. - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiBSpCurve + +Description +----------- +returns the result of the approximation, i.e. all the Curves. An exception is raised if NotDone. ") BSplineValue; - const AppParCurves_MultiBSpCurve & BSplineValue(); + AppParCurves_MultiBSpCurve BSplineValue(); - /****************** BezierValue ******************/ - /**** md5 signature: 2bbd29cb039e6bcdcdf61afe82651ac1 ****/ + /****** AppDef_ParLeastSquareOfMyGradientOfCompute::BezierValue ******/ + /****** md5 signature: 2bbd29cb039e6bcdcdf61afe82651ac1 ******/ %feature("compactdefaultargs") BezierValue; - %feature("autodoc", "Returns the result of the approximation, i.e. all the curves. an exception is raised if notdone. - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiCurve + +Description +----------- +returns the result of the approximation, i.e. all the Curves. An exception is raised if NotDone. ") BezierValue; AppParCurves_MultiCurve BezierValue(); - /****************** DerivativeFunctionMatrix ******************/ - /**** md5 signature: c2dbca1da1c1c1aaf2ff7895be813eaf ****/ + /****** AppDef_ParLeastSquareOfMyGradientOfCompute::DerivativeFunctionMatrix ******/ + /****** md5 signature: c2dbca1da1c1c1aaf2ff7895be813eaf ******/ %feature("compactdefaultargs") DerivativeFunctionMatrix; - %feature("autodoc", "Returns the derivative function matrix used to approximate the set. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the derivative function matrix used to approximate the set. ") DerivativeFunctionMatrix; const math_Matrix & DerivativeFunctionMatrix(); - /****************** Distance ******************/ - /**** md5 signature: 608fad06f540e822f2b9f4d329c097b6 ****/ + /****** AppDef_ParLeastSquareOfMyGradientOfCompute::Distance ******/ + /****** md5 signature: 608fad06f540e822f2b9f4d329c097b6 ******/ %feature("compactdefaultargs") Distance; - %feature("autodoc", "Returns the distances between the points of the multiline and the approximation curves. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the distances between the points of the multiline and the approximation curves. ") Distance; const math_Matrix & Distance(); - /****************** Error ******************/ - /**** md5 signature: 7c05c0164fc88dbacc4d90d301fe7f12 ****/ + /****** AppDef_ParLeastSquareOfMyGradientOfCompute::Error ******/ + /****** md5 signature: 7c05c0164fc88dbacc4d90d301fe7f12 ******/ %feature("compactdefaultargs") Error; - %feature("autodoc", "Returns the maximum errors between the multiline and the approximation curves. f is the sum of the square distances. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- F: float MaxE3d: float MaxE2d: float + +Description +----------- +returns the maximum errors between the MultiLine and the approximation curves. F is the sum of the square distances. ") Error; void Error(Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** ErrorGradient ******************/ - /**** md5 signature: 3e5c3757aad8d0f394eda590c0bc62e3 ****/ + /****** AppDef_ParLeastSquareOfMyGradientOfCompute::ErrorGradient ******/ + /****** md5 signature: 3e5c3757aad8d0f394eda590c0bc62e3 ******/ %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. - + %feature("autodoc", " Parameters ---------- Grad: math_Vector -Returns +Return ------- F: float MaxE3d: float MaxE2d: float + +Description +----------- +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. ") ErrorGradient; void ErrorGradient(math_Vector & Grad, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** FirstLambda ******************/ - /**** md5 signature: 87ad21cc13708c47c81704b38426d999 ****/ + /****** AppDef_ParLeastSquareOfMyGradientOfCompute::FirstLambda ******/ + /****** md5 signature: 87ad21cc13708c47c81704b38426d999 ******/ %feature("compactdefaultargs") FirstLambda; - %feature("autodoc", "Returns the value (p2 - p1)/ v1 if the first point was a tangency point. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the value (P2 - P1)/ V1 if the first point was a tangency point. ") FirstLambda; Standard_Real FirstLambda(); - /****************** FunctionMatrix ******************/ - /**** md5 signature: aec90dd003c289db9092eb79712677e1 ****/ + /****** AppDef_ParLeastSquareOfMyGradientOfCompute::FunctionMatrix ******/ + /****** md5 signature: aec90dd003c289db9092eb79712677e1 ******/ %feature("compactdefaultargs") FunctionMatrix; - %feature("autodoc", "Returns the function matrix used to approximate the set. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the function matrix used to approximate the set. ") FunctionMatrix; const math_Matrix & FunctionMatrix(); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** AppDef_ParLeastSquareOfMyGradientOfCompute::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Returns true if all has been correctly done. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns True if all has been correctly done. ") IsDone; Standard_Boolean IsDone(); - /****************** KIndex ******************/ - /**** md5 signature: 2821052a9bfe72ec4f531ccb52a80ffb ****/ + /****** AppDef_ParLeastSquareOfMyGradientOfCompute::KIndex ******/ + /****** md5 signature: 2821052a9bfe72ec4f531ccb52a80ffb ******/ %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. - -Returns + %feature("autodoc", "Return ------- math_IntegerVector + +Description +----------- +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. ") KIndex; const math_IntegerVector & KIndex(); - /****************** LastLambda ******************/ - /**** md5 signature: f7e26790258c4ab513bae9dd1a5955e1 ****/ + /****** AppDef_ParLeastSquareOfMyGradientOfCompute::LastLambda ******/ + /****** md5 signature: f7e26790258c4ab513bae9dd1a5955e1 ******/ %feature("compactdefaultargs") LastLambda; - %feature("autodoc", "Returns the value (pn - pn-1)/ vn if the last point was a tangency point. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the value (PN - PN-1)/ VN if the last point was a tangency point. ") LastLambda; Standard_Real LastLambda(); - /****************** Perform ******************/ - /**** md5 signature: 5b8f20d810ea57d5223b42dfd01410ad ****/ + /****** AppDef_ParLeastSquareOfMyGradientOfCompute::Perform ******/ + /****** md5 signature: 5b8f20d810ea57d5223b42dfd01410ad ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Is used after having initialized the fields. the case 'curvaturepoint' is not treated in this method. - + %feature("autodoc", " Parameters ---------- Parameters: math_Vector -Returns +Return ------- None + +Description +----------- +Is used after having initialized the fields. The case 'CurvaturePoint' is not treated in this method. ") Perform; void Perform(const math_Vector & Parameters); - /****************** Perform ******************/ - /**** md5 signature: cbf083f2b8329680dc5a52f482f436ad ****/ + /****** AppDef_ParLeastSquareOfMyGradientOfCompute::Perform ******/ + /****** md5 signature: cbf083f2b8329680dc5a52f482f436ad ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Is used after having initialized the fields. - + %feature("autodoc", " Parameters ---------- Parameters: math_Vector l1: float l2: float -Returns +Return ------- None + +Description +----------- +Is used after having initialized the fields. ") Perform; void Perform(const math_Vector & Parameters, const Standard_Real l1, const Standard_Real l2); - /****************** Perform ******************/ - /**** md5 signature: 380f2440b07e3b3805c4eda2da2e8c6e ****/ + /****** AppDef_ParLeastSquareOfMyGradientOfCompute::Perform ******/ + /****** md5 signature: 380f2440b07e3b3805c4eda2da2e8c6e ******/ %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. - + %feature("autodoc", " Parameters ---------- Parameters: math_Vector @@ -3593,17 +4039,20 @@ V2t: math_Vector l1: float l2: float -Returns +Return ------- None + +Description +----------- +Is used after having initialized the fields. is the tangent vector at the first point. is the tangent vector at the last point. ") Perform; void Perform(const math_Vector & Parameters, const math_Vector & V1t, const math_Vector & V2t, const Standard_Real l1, const Standard_Real l2); - /****************** Perform ******************/ - /**** md5 signature: 5f7ecae6d947ca76138d939cdd616b0f ****/ + /****** AppDef_ParLeastSquareOfMyGradientOfCompute::Perform ******/ + /****** md5 signature: 5f7ecae6d947ca76138d939cdd616b0f ******/ %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. - + %feature("autodoc", " Parameters ---------- Parameters: math_Vector @@ -3614,31 +4063,39 @@ V2c: math_Vector l1: float l2: float -Returns +Return ------- None + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 8a77545526c5096bca80b9c07f882412 ****/ + /****** AppDef_ParLeastSquareOfMyGradientOfCompute::Points ******/ + /****** md5 signature: 8a77545526c5096bca80b9c07f882412 ******/ %feature("compactdefaultargs") Points; - %feature("autodoc", "Returns the matrix of points value. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the matrix of points value. ") Points; const math_Matrix & Points(); - /****************** Poles ******************/ - /**** md5 signature: 1437a652beb857bd22c16de65cb18857 ****/ + /****** AppDef_ParLeastSquareOfMyGradientOfCompute::Poles ******/ + /****** md5 signature: 1437a652beb857bd22c16de65cb18857 ******/ %feature("compactdefaultargs") Poles; - %feature("autodoc", "Returns the matrix of resulting control points value. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the matrix of resulting control points value. ") Poles; const math_Matrix & Poles(); @@ -3656,11 +4113,10 @@ math_Matrix *************************************************************/ class AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute { public: - /****************** AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute ******************/ - /**** md5 signature: 5c7d889ff7c3c53d9c2d304f6513a770 ****/ + /****** AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute::AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute ******/ + /****** md5 signature: 5c7d889ff7c3c53d9c2d304f6513a770 ******/ %feature("compactdefaultargs") AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute; - %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). - + %feature("autodoc", " Parameters ---------- SSP: AppDef_MultiLine @@ -3671,17 +4127,20 @@ LastCons: AppParCurves_Constraint Parameters: math_Vector NbPol: int -Returns +Return ------- None + +Description +----------- +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). ") 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 ******************/ - /**** md5 signature: d358e31489791262a5431ebacf9dc7b9 ****/ + /****** AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute::AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute ******/ + /****** md5 signature: d358e31489791262a5431ebacf9dc7b9 ******/ %feature("compactdefaultargs") AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute; - %feature("autodoc", "Initializes the fields of the object. - + %feature("autodoc", " Parameters ---------- SSP: AppDef_MultiLine @@ -3691,17 +4150,20 @@ FirstCons: AppParCurves_Constraint LastCons: AppParCurves_Constraint NbPol: int -Returns +Return ------- None + +Description +----------- +Initializes the fields of the object. ") 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 ******************/ - /**** md5 signature: b4722672fa82bbd3c01a14c4f1ea81fb ****/ + /****** AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute::AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute ******/ + /****** md5 signature: b4722672fa82bbd3c01a14c4f1ea81fb ******/ %feature("compactdefaultargs") AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute; - %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). - + %feature("autodoc", " Parameters ---------- SSP: AppDef_MultiLine @@ -3714,17 +4176,20 @@ LastCons: AppParCurves_Constraint Parameters: math_Vector NbPol: int -Returns +Return ------- None + +Description +----------- +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). ") 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 ******************/ - /**** md5 signature: 9ac1102ac0cd7f24c5edbabd8d6c6d2a ****/ + /****** AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute::AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute ******/ + /****** md5 signature: 9ac1102ac0cd7f24c5edbabd8d6c6d2a ******/ %feature("compactdefaultargs") AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute; - %feature("autodoc", "Initializes the fields of the object. - + %feature("autodoc", " Parameters ---------- SSP: AppDef_MultiLine @@ -3736,181 +4201,214 @@ FirstCons: AppParCurves_Constraint LastCons: AppParCurves_Constraint NbPol: int -Returns +Return ------- None + +Description +----------- +Initializes the fields of the object. ") 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 ******************/ - /**** md5 signature: a38863f7c9b6fa566ee9fea09f971d5c ****/ + /****** AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute::BSplineValue ******/ + /****** md5 signature: a38863f7c9b6fa566ee9fea09f971d5c ******/ %feature("compactdefaultargs") BSplineValue; - %feature("autodoc", "Returns the result of the approximation, i.e. all the curves. an exception is raised if notdone. - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiBSpCurve + +Description +----------- +returns the result of the approximation, i.e. all the Curves. An exception is raised if NotDone. ") BSplineValue; - const AppParCurves_MultiBSpCurve & BSplineValue(); + AppParCurves_MultiBSpCurve BSplineValue(); - /****************** BezierValue ******************/ - /**** md5 signature: 2bbd29cb039e6bcdcdf61afe82651ac1 ****/ + /****** AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute::BezierValue ******/ + /****** md5 signature: 2bbd29cb039e6bcdcdf61afe82651ac1 ******/ %feature("compactdefaultargs") BezierValue; - %feature("autodoc", "Returns the result of the approximation, i.e. all the curves. an exception is raised if notdone. - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiCurve + +Description +----------- +returns the result of the approximation, i.e. all the Curves. An exception is raised if NotDone. ") BezierValue; AppParCurves_MultiCurve BezierValue(); - /****************** DerivativeFunctionMatrix ******************/ - /**** md5 signature: c2dbca1da1c1c1aaf2ff7895be813eaf ****/ + /****** AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute::DerivativeFunctionMatrix ******/ + /****** md5 signature: c2dbca1da1c1c1aaf2ff7895be813eaf ******/ %feature("compactdefaultargs") DerivativeFunctionMatrix; - %feature("autodoc", "Returns the derivative function matrix used to approximate the set. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the derivative function matrix used to approximate the set. ") DerivativeFunctionMatrix; const math_Matrix & DerivativeFunctionMatrix(); - /****************** Distance ******************/ - /**** md5 signature: 608fad06f540e822f2b9f4d329c097b6 ****/ + /****** AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute::Distance ******/ + /****** md5 signature: 608fad06f540e822f2b9f4d329c097b6 ******/ %feature("compactdefaultargs") Distance; - %feature("autodoc", "Returns the distances between the points of the multiline and the approximation curves. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the distances between the points of the multiline and the approximation curves. ") Distance; const math_Matrix & Distance(); - /****************** Error ******************/ - /**** md5 signature: 7c05c0164fc88dbacc4d90d301fe7f12 ****/ + /****** AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute::Error ******/ + /****** md5 signature: 7c05c0164fc88dbacc4d90d301fe7f12 ******/ %feature("compactdefaultargs") Error; - %feature("autodoc", "Returns the maximum errors between the multiline and the approximation curves. f is the sum of the square distances. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- F: float MaxE3d: float MaxE2d: float + +Description +----------- +returns the maximum errors between the MultiLine and the approximation curves. F is the sum of the square distances. ") Error; void Error(Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** ErrorGradient ******************/ - /**** md5 signature: 3e5c3757aad8d0f394eda590c0bc62e3 ****/ + /****** AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute::ErrorGradient ******/ + /****** md5 signature: 3e5c3757aad8d0f394eda590c0bc62e3 ******/ %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. - + %feature("autodoc", " Parameters ---------- Grad: math_Vector -Returns +Return ------- F: float MaxE3d: float MaxE2d: float + +Description +----------- +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. ") ErrorGradient; void ErrorGradient(math_Vector & Grad, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** FirstLambda ******************/ - /**** md5 signature: 87ad21cc13708c47c81704b38426d999 ****/ + /****** AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute::FirstLambda ******/ + /****** md5 signature: 87ad21cc13708c47c81704b38426d999 ******/ %feature("compactdefaultargs") FirstLambda; - %feature("autodoc", "Returns the value (p2 - p1)/ v1 if the first point was a tangency point. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the value (P2 - P1)/ V1 if the first point was a tangency point. ") FirstLambda; Standard_Real FirstLambda(); - /****************** FunctionMatrix ******************/ - /**** md5 signature: aec90dd003c289db9092eb79712677e1 ****/ + /****** AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute::FunctionMatrix ******/ + /****** md5 signature: aec90dd003c289db9092eb79712677e1 ******/ %feature("compactdefaultargs") FunctionMatrix; - %feature("autodoc", "Returns the function matrix used to approximate the set. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the function matrix used to approximate the set. ") FunctionMatrix; const math_Matrix & FunctionMatrix(); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Returns true if all has been correctly done. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns True if all has been correctly done. ") IsDone; Standard_Boolean IsDone(); - /****************** KIndex ******************/ - /**** md5 signature: 2821052a9bfe72ec4f531ccb52a80ffb ****/ + /****** AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute::KIndex ******/ + /****** md5 signature: 2821052a9bfe72ec4f531ccb52a80ffb ******/ %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. - -Returns + %feature("autodoc", "Return ------- math_IntegerVector + +Description +----------- +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. ") KIndex; const math_IntegerVector & KIndex(); - /****************** LastLambda ******************/ - /**** md5 signature: f7e26790258c4ab513bae9dd1a5955e1 ****/ + /****** AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute::LastLambda ******/ + /****** md5 signature: f7e26790258c4ab513bae9dd1a5955e1 ******/ %feature("compactdefaultargs") LastLambda; - %feature("autodoc", "Returns the value (pn - pn-1)/ vn if the last point was a tangency point. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the value (PN - PN-1)/ VN if the last point was a tangency point. ") LastLambda; Standard_Real LastLambda(); - /****************** Perform ******************/ - /**** md5 signature: 5b8f20d810ea57d5223b42dfd01410ad ****/ + /****** AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute::Perform ******/ + /****** md5 signature: 5b8f20d810ea57d5223b42dfd01410ad ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Is used after having initialized the fields. the case 'curvaturepoint' is not treated in this method. - + %feature("autodoc", " Parameters ---------- Parameters: math_Vector -Returns +Return ------- None + +Description +----------- +Is used after having initialized the fields. The case 'CurvaturePoint' is not treated in this method. ") Perform; void Perform(const math_Vector & Parameters); - /****************** Perform ******************/ - /**** md5 signature: cbf083f2b8329680dc5a52f482f436ad ****/ + /****** AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute::Perform ******/ + /****** md5 signature: cbf083f2b8329680dc5a52f482f436ad ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Is used after having initialized the fields. - + %feature("autodoc", " Parameters ---------- Parameters: math_Vector l1: float l2: float -Returns +Return ------- None + +Description +----------- +Is used after having initialized the fields. ") Perform; void Perform(const math_Vector & Parameters, const Standard_Real l1, const Standard_Real l2); - /****************** Perform ******************/ - /**** md5 signature: 380f2440b07e3b3805c4eda2da2e8c6e ****/ + /****** AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute::Perform ******/ + /****** md5 signature: 380f2440b07e3b3805c4eda2da2e8c6e ******/ %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. - + %feature("autodoc", " Parameters ---------- Parameters: math_Vector @@ -3919,17 +4417,20 @@ V2t: math_Vector l1: float l2: float -Returns +Return ------- None + +Description +----------- +Is used after having initialized the fields. is the tangent vector at the first point. is the tangent vector at the last point. ") Perform; void Perform(const math_Vector & Parameters, const math_Vector & V1t, const math_Vector & V2t, const Standard_Real l1, const Standard_Real l2); - /****************** Perform ******************/ - /**** md5 signature: 5f7ecae6d947ca76138d939cdd616b0f ****/ + /****** AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute::Perform ******/ + /****** md5 signature: 5f7ecae6d947ca76138d939cdd616b0f ******/ %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. - + %feature("autodoc", " Parameters ---------- Parameters: math_Vector @@ -3940,31 +4441,39 @@ V2c: math_Vector l1: float l2: float -Returns +Return ------- None + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 8a77545526c5096bca80b9c07f882412 ****/ + /****** AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute::Points ******/ + /****** md5 signature: 8a77545526c5096bca80b9c07f882412 ******/ %feature("compactdefaultargs") Points; - %feature("autodoc", "Returns the matrix of points value. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the matrix of points value. ") Points; const math_Matrix & Points(); - /****************** Poles ******************/ - /**** md5 signature: 1437a652beb857bd22c16de65cb18857 ****/ + /****** AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute::Poles ******/ + /****** md5 signature: 1437a652beb857bd22c16de65cb18857 ******/ %feature("compactdefaultargs") Poles; - %feature("autodoc", "Returns the matrix of resulting control points value. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the matrix of resulting control points value. ") Poles; const math_Matrix & Poles(); @@ -3982,11 +4491,10 @@ math_Matrix *******************************************/ class AppDef_ParLeastSquareOfTheGradient { public: - /****************** AppDef_ParLeastSquareOfTheGradient ******************/ - /**** md5 signature: f10deca5c5a2f219a4aac3b29290f883 ****/ + /****** AppDef_ParLeastSquareOfTheGradient::AppDef_ParLeastSquareOfTheGradient ******/ + /****** md5 signature: f10deca5c5a2f219a4aac3b29290f883 ******/ %feature("compactdefaultargs") AppDef_ParLeastSquareOfTheGradient; - %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). - + %feature("autodoc", " Parameters ---------- SSP: AppDef_MultiLine @@ -3997,17 +4505,20 @@ LastCons: AppParCurves_Constraint Parameters: math_Vector NbPol: int -Returns +Return ------- None + +Description +----------- +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). ") 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 ******************/ - /**** md5 signature: ffaf2f04cbeda05157e4779b39436d87 ****/ + /****** AppDef_ParLeastSquareOfTheGradient::AppDef_ParLeastSquareOfTheGradient ******/ + /****** md5 signature: ffaf2f04cbeda05157e4779b39436d87 ******/ %feature("compactdefaultargs") AppDef_ParLeastSquareOfTheGradient; - %feature("autodoc", "Initializes the fields of the object. - + %feature("autodoc", " Parameters ---------- SSP: AppDef_MultiLine @@ -4017,17 +4528,20 @@ FirstCons: AppParCurves_Constraint LastCons: AppParCurves_Constraint NbPol: int -Returns +Return ------- None + +Description +----------- +Initializes the fields of the object. ") 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 ******************/ - /**** md5 signature: 0a6fa28c9440f806dc69f10826983565 ****/ + /****** AppDef_ParLeastSquareOfTheGradient::AppDef_ParLeastSquareOfTheGradient ******/ + /****** md5 signature: 0a6fa28c9440f806dc69f10826983565 ******/ %feature("compactdefaultargs") AppDef_ParLeastSquareOfTheGradient; - %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). - + %feature("autodoc", " Parameters ---------- SSP: AppDef_MultiLine @@ -4040,17 +4554,20 @@ LastCons: AppParCurves_Constraint Parameters: math_Vector NbPol: int -Returns +Return ------- None + +Description +----------- +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). ") 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 ******************/ - /**** md5 signature: 41e374c7b096bebe266c47cde703aa75 ****/ + /****** AppDef_ParLeastSquareOfTheGradient::AppDef_ParLeastSquareOfTheGradient ******/ + /****** md5 signature: 41e374c7b096bebe266c47cde703aa75 ******/ %feature("compactdefaultargs") AppDef_ParLeastSquareOfTheGradient; - %feature("autodoc", "Initializes the fields of the object. - + %feature("autodoc", " Parameters ---------- SSP: AppDef_MultiLine @@ -4062,181 +4579,214 @@ FirstCons: AppParCurves_Constraint LastCons: AppParCurves_Constraint NbPol: int -Returns +Return ------- None + +Description +----------- +Initializes the fields of the object. ") 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 ******************/ - /**** md5 signature: a38863f7c9b6fa566ee9fea09f971d5c ****/ + /****** AppDef_ParLeastSquareOfTheGradient::BSplineValue ******/ + /****** md5 signature: a38863f7c9b6fa566ee9fea09f971d5c ******/ %feature("compactdefaultargs") BSplineValue; - %feature("autodoc", "Returns the result of the approximation, i.e. all the curves. an exception is raised if notdone. - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiBSpCurve + +Description +----------- +returns the result of the approximation, i.e. all the Curves. An exception is raised if NotDone. ") BSplineValue; - const AppParCurves_MultiBSpCurve & BSplineValue(); + AppParCurves_MultiBSpCurve BSplineValue(); - /****************** BezierValue ******************/ - /**** md5 signature: 2bbd29cb039e6bcdcdf61afe82651ac1 ****/ + /****** AppDef_ParLeastSquareOfTheGradient::BezierValue ******/ + /****** md5 signature: 2bbd29cb039e6bcdcdf61afe82651ac1 ******/ %feature("compactdefaultargs") BezierValue; - %feature("autodoc", "Returns the result of the approximation, i.e. all the curves. an exception is raised if notdone. - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiCurve + +Description +----------- +returns the result of the approximation, i.e. all the Curves. An exception is raised if NotDone. ") BezierValue; AppParCurves_MultiCurve BezierValue(); - /****************** DerivativeFunctionMatrix ******************/ - /**** md5 signature: c2dbca1da1c1c1aaf2ff7895be813eaf ****/ + /****** AppDef_ParLeastSquareOfTheGradient::DerivativeFunctionMatrix ******/ + /****** md5 signature: c2dbca1da1c1c1aaf2ff7895be813eaf ******/ %feature("compactdefaultargs") DerivativeFunctionMatrix; - %feature("autodoc", "Returns the derivative function matrix used to approximate the set. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the derivative function matrix used to approximate the set. ") DerivativeFunctionMatrix; const math_Matrix & DerivativeFunctionMatrix(); - /****************** Distance ******************/ - /**** md5 signature: 608fad06f540e822f2b9f4d329c097b6 ****/ + /****** AppDef_ParLeastSquareOfTheGradient::Distance ******/ + /****** md5 signature: 608fad06f540e822f2b9f4d329c097b6 ******/ %feature("compactdefaultargs") Distance; - %feature("autodoc", "Returns the distances between the points of the multiline and the approximation curves. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the distances between the points of the multiline and the approximation curves. ") Distance; const math_Matrix & Distance(); - /****************** Error ******************/ - /**** md5 signature: 7c05c0164fc88dbacc4d90d301fe7f12 ****/ + /****** AppDef_ParLeastSquareOfTheGradient::Error ******/ + /****** md5 signature: 7c05c0164fc88dbacc4d90d301fe7f12 ******/ %feature("compactdefaultargs") Error; - %feature("autodoc", "Returns the maximum errors between the multiline and the approximation curves. f is the sum of the square distances. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- F: float MaxE3d: float MaxE2d: float + +Description +----------- +returns the maximum errors between the MultiLine and the approximation curves. F is the sum of the square distances. ") Error; void Error(Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** ErrorGradient ******************/ - /**** md5 signature: 3e5c3757aad8d0f394eda590c0bc62e3 ****/ + /****** AppDef_ParLeastSquareOfTheGradient::ErrorGradient ******/ + /****** md5 signature: 3e5c3757aad8d0f394eda590c0bc62e3 ******/ %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. - + %feature("autodoc", " Parameters ---------- Grad: math_Vector -Returns +Return ------- F: float MaxE3d: float MaxE2d: float + +Description +----------- +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. ") ErrorGradient; void ErrorGradient(math_Vector & Grad, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** FirstLambda ******************/ - /**** md5 signature: 87ad21cc13708c47c81704b38426d999 ****/ + /****** AppDef_ParLeastSquareOfTheGradient::FirstLambda ******/ + /****** md5 signature: 87ad21cc13708c47c81704b38426d999 ******/ %feature("compactdefaultargs") FirstLambda; - %feature("autodoc", "Returns the value (p2 - p1)/ v1 if the first point was a tangency point. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the value (P2 - P1)/ V1 if the first point was a tangency point. ") FirstLambda; Standard_Real FirstLambda(); - /****************** FunctionMatrix ******************/ - /**** md5 signature: aec90dd003c289db9092eb79712677e1 ****/ + /****** AppDef_ParLeastSquareOfTheGradient::FunctionMatrix ******/ + /****** md5 signature: aec90dd003c289db9092eb79712677e1 ******/ %feature("compactdefaultargs") FunctionMatrix; - %feature("autodoc", "Returns the function matrix used to approximate the set. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the function matrix used to approximate the set. ") FunctionMatrix; const math_Matrix & FunctionMatrix(); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** AppDef_ParLeastSquareOfTheGradient::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Returns true if all has been correctly done. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns True if all has been correctly done. ") IsDone; Standard_Boolean IsDone(); - /****************** KIndex ******************/ - /**** md5 signature: 2821052a9bfe72ec4f531ccb52a80ffb ****/ + /****** AppDef_ParLeastSquareOfTheGradient::KIndex ******/ + /****** md5 signature: 2821052a9bfe72ec4f531ccb52a80ffb ******/ %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. - -Returns + %feature("autodoc", "Return ------- math_IntegerVector + +Description +----------- +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. ") KIndex; const math_IntegerVector & KIndex(); - /****************** LastLambda ******************/ - /**** md5 signature: f7e26790258c4ab513bae9dd1a5955e1 ****/ + /****** AppDef_ParLeastSquareOfTheGradient::LastLambda ******/ + /****** md5 signature: f7e26790258c4ab513bae9dd1a5955e1 ******/ %feature("compactdefaultargs") LastLambda; - %feature("autodoc", "Returns the value (pn - pn-1)/ vn if the last point was a tangency point. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the value (PN - PN-1)/ VN if the last point was a tangency point. ") LastLambda; Standard_Real LastLambda(); - /****************** Perform ******************/ - /**** md5 signature: 5b8f20d810ea57d5223b42dfd01410ad ****/ + /****** AppDef_ParLeastSquareOfTheGradient::Perform ******/ + /****** md5 signature: 5b8f20d810ea57d5223b42dfd01410ad ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Is used after having initialized the fields. the case 'curvaturepoint' is not treated in this method. - + %feature("autodoc", " Parameters ---------- Parameters: math_Vector -Returns +Return ------- None + +Description +----------- +Is used after having initialized the fields. The case 'CurvaturePoint' is not treated in this method. ") Perform; void Perform(const math_Vector & Parameters); - /****************** Perform ******************/ - /**** md5 signature: cbf083f2b8329680dc5a52f482f436ad ****/ + /****** AppDef_ParLeastSquareOfTheGradient::Perform ******/ + /****** md5 signature: cbf083f2b8329680dc5a52f482f436ad ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Is used after having initialized the fields. - + %feature("autodoc", " Parameters ---------- Parameters: math_Vector l1: float l2: float -Returns +Return ------- None + +Description +----------- +Is used after having initialized the fields. ") Perform; void Perform(const math_Vector & Parameters, const Standard_Real l1, const Standard_Real l2); - /****************** Perform ******************/ - /**** md5 signature: 380f2440b07e3b3805c4eda2da2e8c6e ****/ + /****** AppDef_ParLeastSquareOfTheGradient::Perform ******/ + /****** md5 signature: 380f2440b07e3b3805c4eda2da2e8c6e ******/ %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. - + %feature("autodoc", " Parameters ---------- Parameters: math_Vector @@ -4245,17 +4795,20 @@ V2t: math_Vector l1: float l2: float -Returns +Return ------- None + +Description +----------- +Is used after having initialized the fields. is the tangent vector at the first point. is the tangent vector at the last point. ") Perform; void Perform(const math_Vector & Parameters, const math_Vector & V1t, const math_Vector & V2t, const Standard_Real l1, const Standard_Real l2); - /****************** Perform ******************/ - /**** md5 signature: 5f7ecae6d947ca76138d939cdd616b0f ****/ + /****** AppDef_ParLeastSquareOfTheGradient::Perform ******/ + /****** md5 signature: 5f7ecae6d947ca76138d939cdd616b0f ******/ %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. - + %feature("autodoc", " Parameters ---------- Parameters: math_Vector @@ -4266,31 +4819,39 @@ V2c: math_Vector l1: float l2: float -Returns +Return ------- None + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 8a77545526c5096bca80b9c07f882412 ****/ + /****** AppDef_ParLeastSquareOfTheGradient::Points ******/ + /****** md5 signature: 8a77545526c5096bca80b9c07f882412 ******/ %feature("compactdefaultargs") Points; - %feature("autodoc", "Returns the matrix of points value. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the matrix of points value. ") Points; const math_Matrix & Points(); - /****************** Poles ******************/ - /**** md5 signature: 1437a652beb857bd22c16de65cb18857 ****/ + /****** AppDef_ParLeastSquareOfTheGradient::Poles ******/ + /****** md5 signature: 1437a652beb857bd22c16de65cb18857 ******/ %feature("compactdefaultargs") Poles; - %feature("autodoc", "Returns the matrix of resulting control points value. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the matrix of resulting control points value. ") Poles; const math_Matrix & Poles(); @@ -4308,11 +4869,10 @@ math_Matrix **************************************************/ class AppDef_ResConstraintOfMyGradientOfCompute { public: - /****************** AppDef_ResConstraintOfMyGradientOfCompute ******************/ - /**** md5 signature: 6cfad4139f20fc94b0b10535a1a2b060 ****/ + /****** AppDef_ResConstraintOfMyGradientOfCompute::AppDef_ResConstraintOfMyGradientOfCompute ******/ + /****** md5 signature: 6cfad4139f20fc94b0b10535a1a2b060 ******/ %feature("compactdefaultargs") AppDef_ResConstraintOfMyGradientOfCompute; - %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. - + %feature("autodoc", " Parameters ---------- SSP: AppDef_MultiLine @@ -4322,20 +4882,22 @@ LastPoint: int Constraints: AppParCurves_HArray1OfConstraintCouple Bern: math_Matrix DerivativeBern: math_Matrix -Tolerance: float,optional - default value is 1.0e-10 +Tolerance: float (optional, default to 1.0e-10) -Returns +Return ------- None + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 03ceb3c5a326d9e5b704d04ea0088376 ****/ + /****** AppDef_ResConstraintOfMyGradientOfCompute::ConstraintDerivative ******/ + /****** md5 signature: 03ceb3c5a326d9e5b704d04ea0088376 ******/ %feature("compactdefaultargs") ConstraintDerivative; - %feature("autodoc", "Returns the derivative of the constraint matrix. - + %feature("autodoc", " Parameters ---------- SSP: AppDef_MultiLine @@ -4343,53 +4905,65 @@ Parameters: math_Vector Deg: int DA: math_Matrix -Returns +Return ------- math_Matrix + +Description +----------- +Returns the derivative of the constraint matrix. ") ConstraintDerivative; const math_Matrix & ConstraintDerivative(const AppDef_MultiLine & SSP, const math_Vector & Parameters, const Standard_Integer Deg, const math_Matrix & DA); - /****************** ConstraintMatrix ******************/ - /**** md5 signature: 22481357cd3fa297d87302ab5bf68ab7 ****/ + /****** AppDef_ResConstraintOfMyGradientOfCompute::ConstraintMatrix ******/ + /****** md5 signature: 22481357cd3fa297d87302ab5bf68ab7 ******/ %feature("compactdefaultargs") ConstraintMatrix; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +No available documentation. ") ConstraintMatrix; const math_Matrix & ConstraintMatrix(); - /****************** Duale ******************/ - /**** md5 signature: fa2d61bba97045a52b936ca097de9f1b ****/ + /****** AppDef_ResConstraintOfMyGradientOfCompute::Duale ******/ + /****** md5 signature: fa2d61bba97045a52b936ca097de9f1b ******/ %feature("compactdefaultargs") Duale; - %feature("autodoc", "Returns the duale variables of the system. - -Returns + %feature("autodoc", "Return ------- math_Vector + +Description +----------- +returns the duale variables of the system. ") Duale; const math_Vector & Duale(); - /****************** InverseMatrix ******************/ - /**** md5 signature: 6c593c2bc8580243a5ff315f7f6a1f0e ****/ + /****** AppDef_ResConstraintOfMyGradientOfCompute::InverseMatrix ******/ + /****** md5 signature: 6c593c2bc8580243a5ff315f7f6a1f0e ******/ %feature("compactdefaultargs") InverseMatrix; - %feature("autodoc", "Returns the inverse of cont*transposed(cont), where cont is the constraint matrix for the algorithm. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the Inverse of Cont*Transposed(Cont), where Cont is the constraint matrix for the algorithm. ") InverseMatrix; const math_Matrix & InverseMatrix(); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** AppDef_ResConstraintOfMyGradientOfCompute::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Returns true if all has been correctly done. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns True if all has been correctly done. ") IsDone; Standard_Boolean IsDone(); @@ -4411,11 +4985,10 @@ bool ************************************************************/ class AppDef_ResConstraintOfMyGradientbisOfBSplineCompute { public: - /****************** AppDef_ResConstraintOfMyGradientbisOfBSplineCompute ******************/ - /**** md5 signature: 19f1d924fc5c45098e224f6711eb1fac ****/ + /****** AppDef_ResConstraintOfMyGradientbisOfBSplineCompute::AppDef_ResConstraintOfMyGradientbisOfBSplineCompute ******/ + /****** md5 signature: 19f1d924fc5c45098e224f6711eb1fac ******/ %feature("compactdefaultargs") AppDef_ResConstraintOfMyGradientbisOfBSplineCompute; - %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. - + %feature("autodoc", " Parameters ---------- SSP: AppDef_MultiLine @@ -4425,20 +4998,22 @@ LastPoint: int Constraints: AppParCurves_HArray1OfConstraintCouple Bern: math_Matrix DerivativeBern: math_Matrix -Tolerance: float,optional - default value is 1.0e-10 +Tolerance: float (optional, default to 1.0e-10) -Returns +Return ------- None + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 03ceb3c5a326d9e5b704d04ea0088376 ****/ + /****** AppDef_ResConstraintOfMyGradientbisOfBSplineCompute::ConstraintDerivative ******/ + /****** md5 signature: 03ceb3c5a326d9e5b704d04ea0088376 ******/ %feature("compactdefaultargs") ConstraintDerivative; - %feature("autodoc", "Returns the derivative of the constraint matrix. - + %feature("autodoc", " Parameters ---------- SSP: AppDef_MultiLine @@ -4446,53 +5021,65 @@ Parameters: math_Vector Deg: int DA: math_Matrix -Returns +Return ------- math_Matrix + +Description +----------- +Returns the derivative of the constraint matrix. ") ConstraintDerivative; const math_Matrix & ConstraintDerivative(const AppDef_MultiLine & SSP, const math_Vector & Parameters, const Standard_Integer Deg, const math_Matrix & DA); - /****************** ConstraintMatrix ******************/ - /**** md5 signature: 22481357cd3fa297d87302ab5bf68ab7 ****/ + /****** AppDef_ResConstraintOfMyGradientbisOfBSplineCompute::ConstraintMatrix ******/ + /****** md5 signature: 22481357cd3fa297d87302ab5bf68ab7 ******/ %feature("compactdefaultargs") ConstraintMatrix; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +No available documentation. ") ConstraintMatrix; const math_Matrix & ConstraintMatrix(); - /****************** Duale ******************/ - /**** md5 signature: fa2d61bba97045a52b936ca097de9f1b ****/ + /****** AppDef_ResConstraintOfMyGradientbisOfBSplineCompute::Duale ******/ + /****** md5 signature: fa2d61bba97045a52b936ca097de9f1b ******/ %feature("compactdefaultargs") Duale; - %feature("autodoc", "Returns the duale variables of the system. - -Returns + %feature("autodoc", "Return ------- math_Vector + +Description +----------- +returns the duale variables of the system. ") Duale; const math_Vector & Duale(); - /****************** InverseMatrix ******************/ - /**** md5 signature: 6c593c2bc8580243a5ff315f7f6a1f0e ****/ + /****** AppDef_ResConstraintOfMyGradientbisOfBSplineCompute::InverseMatrix ******/ + /****** md5 signature: 6c593c2bc8580243a5ff315f7f6a1f0e ******/ %feature("compactdefaultargs") InverseMatrix; - %feature("autodoc", "Returns the inverse of cont*transposed(cont), where cont is the constraint matrix for the algorithm. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the Inverse of Cont*Transposed(Cont), where Cont is the constraint matrix for the algorithm. ") InverseMatrix; const math_Matrix & InverseMatrix(); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** AppDef_ResConstraintOfMyGradientbisOfBSplineCompute::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Returns true if all has been correctly done. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns True if all has been correctly done. ") IsDone; Standard_Boolean IsDone(); @@ -4514,11 +5101,10 @@ bool ******************************************/ class AppDef_ResConstraintOfTheGradient { public: - /****************** AppDef_ResConstraintOfTheGradient ******************/ - /**** md5 signature: 28edbef59ca63ee686fc7b7c358570b5 ****/ + /****** AppDef_ResConstraintOfTheGradient::AppDef_ResConstraintOfTheGradient ******/ + /****** md5 signature: 28edbef59ca63ee686fc7b7c358570b5 ******/ %feature("compactdefaultargs") AppDef_ResConstraintOfTheGradient; - %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. - + %feature("autodoc", " Parameters ---------- SSP: AppDef_MultiLine @@ -4528,20 +5114,22 @@ LastPoint: int Constraints: AppParCurves_HArray1OfConstraintCouple Bern: math_Matrix DerivativeBern: math_Matrix -Tolerance: float,optional - default value is 1.0e-10 +Tolerance: float (optional, default to 1.0e-10) -Returns +Return ------- None + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 03ceb3c5a326d9e5b704d04ea0088376 ****/ + /****** AppDef_ResConstraintOfTheGradient::ConstraintDerivative ******/ + /****** md5 signature: 03ceb3c5a326d9e5b704d04ea0088376 ******/ %feature("compactdefaultargs") ConstraintDerivative; - %feature("autodoc", "Returns the derivative of the constraint matrix. - + %feature("autodoc", " Parameters ---------- SSP: AppDef_MultiLine @@ -4549,53 +5137,65 @@ Parameters: math_Vector Deg: int DA: math_Matrix -Returns +Return ------- math_Matrix + +Description +----------- +Returns the derivative of the constraint matrix. ") ConstraintDerivative; const math_Matrix & ConstraintDerivative(const AppDef_MultiLine & SSP, const math_Vector & Parameters, const Standard_Integer Deg, const math_Matrix & DA); - /****************** ConstraintMatrix ******************/ - /**** md5 signature: 22481357cd3fa297d87302ab5bf68ab7 ****/ + /****** AppDef_ResConstraintOfTheGradient::ConstraintMatrix ******/ + /****** md5 signature: 22481357cd3fa297d87302ab5bf68ab7 ******/ %feature("compactdefaultargs") ConstraintMatrix; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +No available documentation. ") ConstraintMatrix; const math_Matrix & ConstraintMatrix(); - /****************** Duale ******************/ - /**** md5 signature: fa2d61bba97045a52b936ca097de9f1b ****/ + /****** AppDef_ResConstraintOfTheGradient::Duale ******/ + /****** md5 signature: fa2d61bba97045a52b936ca097de9f1b ******/ %feature("compactdefaultargs") Duale; - %feature("autodoc", "Returns the duale variables of the system. - -Returns + %feature("autodoc", "Return ------- math_Vector + +Description +----------- +returns the duale variables of the system. ") Duale; const math_Vector & Duale(); - /****************** InverseMatrix ******************/ - /**** md5 signature: 6c593c2bc8580243a5ff315f7f6a1f0e ****/ + /****** AppDef_ResConstraintOfTheGradient::InverseMatrix ******/ + /****** md5 signature: 6c593c2bc8580243a5ff315f7f6a1f0e ******/ %feature("compactdefaultargs") InverseMatrix; - %feature("autodoc", "Returns the inverse of cont*transposed(cont), where cont is the constraint matrix for the algorithm. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the Inverse of Cont*Transposed(Cont), where Cont is the constraint matrix for the algorithm. ") InverseMatrix; const math_Matrix & InverseMatrix(); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** AppDef_ResConstraintOfTheGradient::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Returns true if all has been correctly done. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns True if all has been correctly done. ") IsDone; Standard_Boolean IsDone(); @@ -4618,123 +5218,143 @@ bool %nodefaultctor AppDef_SmoothCriterion; class AppDef_SmoothCriterion : public Standard_Transient { public: - /****************** AssemblyTable ******************/ - /**** md5 signature: 4ea475cc7902240e9011827552f2aa0e ****/ + /****** AppDef_SmoothCriterion::AssemblyTable ******/ + /****** md5 signature: 4ea475cc7902240e9011827552f2aa0e ******/ %feature("compactdefaultargs") AssemblyTable; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") AssemblyTable; virtual opencascade::handle AssemblyTable(); - /****************** DependenceTable ******************/ - /**** md5 signature: c016d827aafaa774489e50229cf20da6 ****/ + /****** AppDef_SmoothCriterion::DependenceTable ******/ + /****** md5 signature: c016d827aafaa774489e50229cf20da6 ******/ %feature("compactdefaultargs") DependenceTable; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") DependenceTable; virtual opencascade::handle DependenceTable(); - /****************** ErrorValues ******************/ - /**** md5 signature: cfe3e0a15201f20a76cdffc4832deb32 ****/ + /****** AppDef_SmoothCriterion::ErrorValues ******/ + /****** md5 signature: cfe3e0a15201f20a76cdffc4832deb32 ******/ %feature("compactdefaultargs") ErrorValues; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- MaxError: float QuadraticError: float AverageError: float + +Description +----------- +No available documentation. ") ErrorValues; virtual void ErrorValues(Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** EstLength ******************/ - /**** md5 signature: 0b189fee7c9f70cecec55bd68f2b8b7e ****/ + /****** AppDef_SmoothCriterion::EstLength ******/ + /****** md5 signature: 0b189fee7c9f70cecec55bd68f2b8b7e ******/ %feature("compactdefaultargs") EstLength; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") EstLength; virtual Standard_Real & EstLength(); - /****************** GetCurve ******************/ - /**** md5 signature: 8fb90ce90606b6bcb1989378cd53a4f9 ****/ + /****** AppDef_SmoothCriterion::GetCurve ******/ + /****** md5 signature: 8fb90ce90606b6bcb1989378cd53a4f9 ******/ %feature("compactdefaultargs") GetCurve; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: FEmTool_Curve -Returns +Return ------- None + +Description +----------- +No available documentation. ") GetCurve; virtual void GetCurve(opencascade::handle & C); - /****************** GetEstimation ******************/ - /**** md5 signature: 8ba11ef014057784f34452683585efb6 ****/ + /****** AppDef_SmoothCriterion::GetEstimation ******/ + /****** md5 signature: 8ba11ef014057784f34452683585efb6 ******/ %feature("compactdefaultargs") GetEstimation; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- E1: float E2: float E3: float + +Description +----------- +No available documentation. ") GetEstimation; virtual void GetEstimation(Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** GetWeight ******************/ - /**** md5 signature: af9c1e5043bd3ead9bfc060a4fb69ec7 ****/ + /****** AppDef_SmoothCriterion::GetWeight ******/ + /****** md5 signature: af9c1e5043bd3ead9bfc060a4fb69ec7 ******/ %feature("compactdefaultargs") GetWeight; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- QuadraticWeight: float QualityWeight: float + +Description +----------- +No available documentation. ") GetWeight; virtual void GetWeight(Standard_Real &OutValue, Standard_Real &OutValue); - /****************** Gradient ******************/ - /**** md5 signature: e66cfcf660598f9d33bd6c51e71787ee ****/ + /****** AppDef_SmoothCriterion::Gradient ******/ + /****** md5 signature: e66cfcf660598f9d33bd6c51e71787ee ******/ %feature("compactdefaultargs") Gradient; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Element: int Dimension: int G: math_Vector -Returns +Return ------- None + +Description +----------- +No available documentation. ") Gradient; virtual void Gradient(const Standard_Integer Element, const Standard_Integer Dimension, math_Vector & G); - /****************** Hessian ******************/ - /**** md5 signature: ae17248c337e30b997401d5573140102 ****/ + /****** AppDef_SmoothCriterion::Hessian ******/ + /****** md5 signature: ae17248c337e30b997401d5573140102 ******/ %feature("compactdefaultargs") Hessian; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Element: int @@ -4742,99 +5362,117 @@ Dimension1: int Dimension2: int H: math_Matrix -Returns +Return ------- None + +Description +----------- +No available documentation. ") Hessian; virtual void Hessian(const Standard_Integer Element, const Standard_Integer Dimension1, const Standard_Integer Dimension2, math_Matrix & H); - /****************** InputVector ******************/ - /**** md5 signature: d70c25b60b28c3838fab1614a13293f8 ****/ + /****** AppDef_SmoothCriterion::InputVector ******/ + /****** md5 signature: d70c25b60b28c3838fab1614a13293f8 ******/ %feature("compactdefaultargs") InputVector; - %feature("autodoc", "Convert the assembly vector in an curve;. - + %feature("autodoc", " Parameters ---------- X: math_Vector AssTable: FEmTool_HAssemblyTable -Returns +Return ------- None + +Description +----------- +Convert the assembly Vector in an Curve;. ") InputVector; virtual void InputVector(const math_Vector & X, const opencascade::handle & AssTable); - /****************** QualityValues ******************/ - /**** md5 signature: b244d6cd90390992902f1f73faa0efd3 ****/ + /****** AppDef_SmoothCriterion::QualityValues ******/ + /****** md5 signature: b244d6cd90390992902f1f73faa0efd3 ******/ %feature("compactdefaultargs") QualityValues; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- J1min: float J2min: float J3min: float -Returns +Return ------- J1: float J2: float J3: float + +Description +----------- +No available documentation. ") 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); - /****************** SetCurve ******************/ - /**** md5 signature: f9249c904dd8eed90d010d71e8bbeb67 ****/ + /****** AppDef_SmoothCriterion::SetCurve ******/ + /****** md5 signature: f9249c904dd8eed90d010d71e8bbeb67 ******/ %feature("compactdefaultargs") SetCurve; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: FEmTool_Curve -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetCurve; virtual void SetCurve(const opencascade::handle & C); - /****************** SetEstimation ******************/ - /**** md5 signature: 1eee8cba9d7425225339e7da8aafbe68 ****/ + /****** AppDef_SmoothCriterion::SetEstimation ******/ + /****** md5 signature: 1eee8cba9d7425225339e7da8aafbe68 ******/ %feature("compactdefaultargs") SetEstimation; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- E1: float E2: float E3: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetEstimation; virtual void SetEstimation(const Standard_Real E1, const Standard_Real E2, const Standard_Real E3); - /****************** SetParameters ******************/ - /**** md5 signature: 27aab9728b5d765091cba886e9f49273 ****/ + /****** AppDef_SmoothCriterion::SetParameters ******/ + /****** md5 signature: 27aab9728b5d765091cba886e9f49273 ******/ %feature("compactdefaultargs") SetParameters; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Parameters: TColStd_HArray1OfReal -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetParameters; virtual void SetParameters(const opencascade::handle & Parameters); - /****************** SetWeight ******************/ - /**** md5 signature: dc802dcd07fa8159f377bdea35a73f35 ****/ + /****** AppDef_SmoothCriterion::SetWeight ******/ + /****** md5 signature: dc802dcd07fa8159f377bdea35a73f35 ******/ %feature("compactdefaultargs") SetWeight; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- QuadraticWeight: float @@ -4843,24 +5481,31 @@ percentJ1: float percentJ2: float percentJ3: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetWeight; virtual void SetWeight(const Standard_Real QuadraticWeight, const Standard_Real QualityWeight, const Standard_Real percentJ1, const Standard_Real percentJ2, const Standard_Real percentJ3); - /****************** SetWeight ******************/ - /**** md5 signature: 7071df0ad4a367ddf80150dd3c3f5302 ****/ + /****** AppDef_SmoothCriterion::SetWeight ******/ + /****** md5 signature: 7071df0ad4a367ddf80150dd3c3f5302 ******/ %feature("compactdefaultargs") SetWeight; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Weight: TColStd_Array1OfReal -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetWeight; virtual void SetWeight(const TColStd_Array1OfReal & Weight); @@ -4880,11 +5525,10 @@ None ***************************/ class AppDef_TheFunction : public math_MultipleVarFunctionWithGradient { public: - /****************** AppDef_TheFunction ******************/ - /**** md5 signature: da57d66f050dd8770549a173c8a381bb ****/ + /****** AppDef_TheFunction::AppDef_TheFunction ******/ + /****** md5 signature: da57d66f050dd8770549a173c8a381bb ******/ %feature("compactdefaultargs") AppDef_TheFunction; - %feature("autodoc", "Initializes the fields of the function. the approximating curve has the desired degree deg. - + %feature("autodoc", " Parameters ---------- SSP: AppDef_MultiLine @@ -4894,159 +5538,191 @@ TheConstraints: AppParCurves_HArray1OfConstraintCouple Parameters: math_Vector Deg: int -Returns +Return ------- None + +Description +----------- +initializes the fields of the function. The approximating curve has the desired degree Deg. ") 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 ******************/ - /**** md5 signature: c2e2cb976554936214bdfe3487b0362c ****/ + /****** AppDef_TheFunction::CurveValue ******/ + /****** md5 signature: c2e2cb976554936214bdfe3487b0362c ******/ %feature("compactdefaultargs") CurveValue; - %feature("autodoc", "Returns the multicurve approximating the set after computing the value f or grad(f). - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiCurve + +Description +----------- +returns the MultiCurve approximating the set after computing the value F or Grad(F). ") CurveValue; - const AppParCurves_MultiCurve & CurveValue(); + AppParCurves_MultiCurve CurveValue(); - /****************** Error ******************/ - /**** md5 signature: 59bc36aa259ae04fcbc9c2a60fae6dfb ****/ + /****** AppDef_TheFunction::Error ******/ + /****** md5 signature: 59bc36aa259ae04fcbc9c2a60fae6dfb ******/ %feature("compactdefaultargs") Error; - %feature("autodoc", "Returns the distance between the multipoint of range ipoint and the curve curveindex. - + %feature("autodoc", " Parameters ---------- IPoint: int CurveIndex: int -Returns +Return ------- float + +Description +----------- +returns the distance between the MultiPoint of range IPoint and the curve CurveIndex. ") Error; Standard_Real Error(const Standard_Integer IPoint, const Standard_Integer CurveIndex); - /****************** FirstConstraint ******************/ - /**** md5 signature: 6814c8615ee3f59417c740c77d2ce795 ****/ + /****** AppDef_TheFunction::FirstConstraint ******/ + /****** md5 signature: 6814c8615ee3f59417c740c77d2ce795 ******/ %feature("compactdefaultargs") FirstConstraint; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- TheConstraints: AppParCurves_HArray1OfConstraintCouple FirstPoint: int -Returns +Return ------- AppParCurves_Constraint + +Description +----------- +No available documentation. ") FirstConstraint; AppParCurves_Constraint FirstConstraint(const opencascade::handle & TheConstraints, const Standard_Integer FirstPoint); - /****************** Gradient ******************/ - /**** md5 signature: 5ee531ceab07ab216991e3bf02edf0f7 ****/ + /****** AppDef_TheFunction::Gradient ******/ + /****** md5 signature: 5ee531ceab07ab216991e3bf02edf0f7 ******/ %feature("compactdefaultargs") Gradient; - %feature("autodoc", "Returns the gradient g of the sum above for the parameters xi. - + %feature("autodoc", " Parameters ---------- X: math_Vector G: math_Vector -Returns +Return ------- bool + +Description +----------- +returns the gradient G of the sum above for the parameters Xi. ") Gradient; Standard_Boolean Gradient(const math_Vector & X, math_Vector & G); - /****************** LastConstraint ******************/ - /**** md5 signature: f3572ad2cc7e299a1f7b6cb9d14677cf ****/ + /****** AppDef_TheFunction::LastConstraint ******/ + /****** md5 signature: f3572ad2cc7e299a1f7b6cb9d14677cf ******/ %feature("compactdefaultargs") LastConstraint; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- TheConstraints: AppParCurves_HArray1OfConstraintCouple LastPoint: int -Returns +Return ------- AppParCurves_Constraint + +Description +----------- +No available documentation. ") LastConstraint; AppParCurves_Constraint LastConstraint(const opencascade::handle & TheConstraints, const Standard_Integer LastPoint); - /****************** MaxError2d ******************/ - /**** md5 signature: 2590e15e02ab7eeda39345ef64189e30 ****/ + /****** AppDef_TheFunction::MaxError2d ******/ + /****** md5 signature: 2590e15e02ab7eeda39345ef64189e30 ******/ %feature("compactdefaultargs") MaxError2d; - %feature("autodoc", "Returns the maximum distance between the points and the multicurve. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the maximum distance between the points and the MultiCurve. ") MaxError2d; Standard_Real MaxError2d(); - /****************** MaxError3d ******************/ - /**** md5 signature: c6ba463cdf4a0e426329b589363186b7 ****/ + /****** AppDef_TheFunction::MaxError3d ******/ + /****** md5 signature: c6ba463cdf4a0e426329b589363186b7 ******/ %feature("compactdefaultargs") MaxError3d; - %feature("autodoc", "Returns the maximum distance between the points and the multicurve. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the maximum distance between the points and the MultiCurve. ") MaxError3d; Standard_Real MaxError3d(); - /****************** NbVariables ******************/ - /**** md5 signature: a3de6b8a577fc113199e11b2b0bcdced ****/ + /****** AppDef_TheFunction::NbVariables ******/ + /****** md5 signature: a3de6b8a577fc113199e11b2b0bcdced ******/ %feature("compactdefaultargs") NbVariables; - %feature("autodoc", "Returns the number of variables of the function. it corresponds to the number of multipoints. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +returns the number of variables of the function. It corresponds to the number of MultiPoints. ") NbVariables; Standard_Integer NbVariables(); - /****************** NewParameters ******************/ - /**** md5 signature: 1d606e7b2aa9813a84f6984ebdf52bb7 ****/ + /****** AppDef_TheFunction::NewParameters ******/ + /****** md5 signature: 1d606e7b2aa9813a84f6984ebdf52bb7 ******/ %feature("compactdefaultargs") NewParameters; - %feature("autodoc", "Returns the new parameters of the multiline. - -Returns + %feature("autodoc", "Return ------- math_Vector + +Description +----------- +returns the new parameters of the MultiLine. ") NewParameters; const math_Vector & NewParameters(); - /****************** Value ******************/ - /**** md5 signature: 33f8b9f75d238865cc320f57ac729801 ****/ + /****** AppDef_TheFunction::Value ******/ + /****** md5 signature: 33f8b9f75d238865cc320f57ac729801 ******/ %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. - + %feature("autodoc", " Parameters ---------- X: math_Vector -Returns +Return ------- F: float + +Description +----------- +this method computes the new approximation of the MultiLine SSP and calculates F = sum (||Pui - Bi*Pi||2) for each point of the MultiLine. ") Value; Standard_Boolean Value(const math_Vector & X, Standard_Real &OutValue); - /****************** Values ******************/ - /**** md5 signature: 66c7c08f6bec2933f700c6f45cf14285 ****/ + /****** AppDef_TheFunction::Values ******/ + /****** md5 signature: 66c7c08f6bec2933f700c6f45cf14285 ******/ %feature("compactdefaultargs") Values; - %feature("autodoc", "Returns the value f=sum(||pui - bi*pi||)2. returns the value g = grad(f) for the parameters xi. - + %feature("autodoc", " Parameters ---------- X: math_Vector G: math_Vector -Returns +Return ------- F: float + +Description +----------- +returns the value F=sum(||Pui - Bi*Pi||)2. returns the value G = grad(F) for the parameters Xi. ") Values; Standard_Boolean Values(const math_Vector & X, Standard_Real &OutValue, math_Vector & G); @@ -5064,11 +5740,10 @@ F: float ***************************/ class AppDef_TheGradient { public: - /****************** AppDef_TheGradient ******************/ - /**** md5 signature: 85b9700dca31ee16f7fb2f871aed88ab ****/ + /****** AppDef_TheGradient::AppDef_TheGradient ******/ + /****** md5 signature: 85b9700dca31ee16f7fb2f871aed88ab ******/ %feature("compactdefaultargs") AppDef_TheGradient; - %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. - + %feature("autodoc", " Parameters ---------- SSP: AppDef_MultiLine @@ -5079,82 +5754,98 @@ Parameters: math_Vector Deg: int Tol3d: float Tol2d: float -NbIterations: int,optional - default value is 200 +NbIterations: int (optional, default to 200) -Returns +Return ------- None + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 420f3b7884af8c019ac24a5fe5ae6ff8 ****/ + /****** AppDef_TheGradient::AverageError ******/ + /****** md5 signature: 420f3b7884af8c019ac24a5fe5ae6ff8 ******/ %feature("compactdefaultargs") AverageError; - %feature("autodoc", "Returns the average error between the old and the new approximation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the average error between the old and the new approximation. ") AverageError; Standard_Real AverageError(); - /****************** Error ******************/ - /**** md5 signature: 94d11b0fe58daf5df892c75e38905cde ****/ + /****** AppDef_TheGradient::Error ******/ + /****** md5 signature: 94d11b0fe58daf5df892c75e38905cde ******/ %feature("compactdefaultargs") Error; - %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. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- float + +Description +----------- +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. ") Error; Standard_Real Error(const Standard_Integer Index); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** AppDef_TheGradient::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Returns true if all has been correctly done. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns True if all has been correctly done. ") IsDone; Standard_Boolean IsDone(); - /****************** MaxError2d ******************/ - /**** md5 signature: 2590e15e02ab7eeda39345ef64189e30 ****/ + /****** AppDef_TheGradient::MaxError2d ******/ + /****** md5 signature: 2590e15e02ab7eeda39345ef64189e30 ******/ %feature("compactdefaultargs") MaxError2d; - %feature("autodoc", "Returns the maximum difference between the old and the new approximation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the maximum difference between the old and the new approximation. ") MaxError2d; Standard_Real MaxError2d(); - /****************** MaxError3d ******************/ - /**** md5 signature: c6ba463cdf4a0e426329b589363186b7 ****/ + /****** AppDef_TheGradient::MaxError3d ******/ + /****** md5 signature: c6ba463cdf4a0e426329b589363186b7 ******/ %feature("compactdefaultargs") MaxError3d; - %feature("autodoc", "Returns the maximum difference between the old and the new approximation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the maximum difference between the old and the new approximation. ") MaxError3d; Standard_Real MaxError3d(); - /****************** Value ******************/ - /**** md5 signature: dac7e49320bc0e9a268aeb92592734dc ****/ + /****** AppDef_TheGradient::Value ******/ + /****** md5 signature: dac7e49320bc0e9a268aeb92592734dc ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns all the bezier curves approximating the multiline ssp after minimization of the parameter. - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiCurve + +Description +----------- +returns all the Bezier curves approximating the MultiLine SSP after minimization of the parameter. ") Value; AppParCurves_MultiCurve Value(); @@ -5172,11 +5863,10 @@ AppParCurves_MultiCurve *******************************/ class AppDef_TheLeastSquares { public: - /****************** AppDef_TheLeastSquares ******************/ - /**** md5 signature: f752b383abdb9dda4b6c44712dd024e1 ****/ + /****** AppDef_TheLeastSquares::AppDef_TheLeastSquares ******/ + /****** md5 signature: f752b383abdb9dda4b6c44712dd024e1 ******/ %feature("compactdefaultargs") AppDef_TheLeastSquares; - %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). - + %feature("autodoc", " Parameters ---------- SSP: AppDef_MultiLine @@ -5187,17 +5877,20 @@ LastCons: AppParCurves_Constraint Parameters: math_Vector NbPol: int -Returns +Return ------- None + +Description +----------- +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). ") 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 ******************/ - /**** md5 signature: ef6a5ff8da68e59f81011325a75bf3c6 ****/ + /****** AppDef_TheLeastSquares::AppDef_TheLeastSquares ******/ + /****** md5 signature: ef6a5ff8da68e59f81011325a75bf3c6 ******/ %feature("compactdefaultargs") AppDef_TheLeastSquares; - %feature("autodoc", "Initializes the fields of the object. - + %feature("autodoc", " Parameters ---------- SSP: AppDef_MultiLine @@ -5207,17 +5900,20 @@ FirstCons: AppParCurves_Constraint LastCons: AppParCurves_Constraint NbPol: int -Returns +Return ------- None + +Description +----------- +Initializes the fields of the object. ") 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 ******************/ - /**** md5 signature: 3a5f460d8866bf1aa381c89f9b8a5452 ****/ + /****** AppDef_TheLeastSquares::AppDef_TheLeastSquares ******/ + /****** md5 signature: 3a5f460d8866bf1aa381c89f9b8a5452 ******/ %feature("compactdefaultargs") AppDef_TheLeastSquares; - %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). - + %feature("autodoc", " Parameters ---------- SSP: AppDef_MultiLine @@ -5230,17 +5926,20 @@ LastCons: AppParCurves_Constraint Parameters: math_Vector NbPol: int -Returns +Return ------- None + +Description +----------- +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). ") 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 ******************/ - /**** md5 signature: 5bbebc9514a1e40a98553eefac06902f ****/ + /****** AppDef_TheLeastSquares::AppDef_TheLeastSquares ******/ + /****** md5 signature: 5bbebc9514a1e40a98553eefac06902f ******/ %feature("compactdefaultargs") AppDef_TheLeastSquares; - %feature("autodoc", "Initializes the fields of the object. - + %feature("autodoc", " Parameters ---------- SSP: AppDef_MultiLine @@ -5252,181 +5951,214 @@ FirstCons: AppParCurves_Constraint LastCons: AppParCurves_Constraint NbPol: int -Returns +Return ------- None + +Description +----------- +Initializes the fields of the object. ") 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 ******************/ - /**** md5 signature: a38863f7c9b6fa566ee9fea09f971d5c ****/ + /****** AppDef_TheLeastSquares::BSplineValue ******/ + /****** md5 signature: a38863f7c9b6fa566ee9fea09f971d5c ******/ %feature("compactdefaultargs") BSplineValue; - %feature("autodoc", "Returns the result of the approximation, i.e. all the curves. an exception is raised if notdone. - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiBSpCurve + +Description +----------- +returns the result of the approximation, i.e. all the Curves. An exception is raised if NotDone. ") BSplineValue; - const AppParCurves_MultiBSpCurve & BSplineValue(); + AppParCurves_MultiBSpCurve BSplineValue(); - /****************** BezierValue ******************/ - /**** md5 signature: 2bbd29cb039e6bcdcdf61afe82651ac1 ****/ + /****** AppDef_TheLeastSquares::BezierValue ******/ + /****** md5 signature: 2bbd29cb039e6bcdcdf61afe82651ac1 ******/ %feature("compactdefaultargs") BezierValue; - %feature("autodoc", "Returns the result of the approximation, i.e. all the curves. an exception is raised if notdone. - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiCurve + +Description +----------- +returns the result of the approximation, i.e. all the Curves. An exception is raised if NotDone. ") BezierValue; AppParCurves_MultiCurve BezierValue(); - /****************** DerivativeFunctionMatrix ******************/ - /**** md5 signature: c2dbca1da1c1c1aaf2ff7895be813eaf ****/ + /****** AppDef_TheLeastSquares::DerivativeFunctionMatrix ******/ + /****** md5 signature: c2dbca1da1c1c1aaf2ff7895be813eaf ******/ %feature("compactdefaultargs") DerivativeFunctionMatrix; - %feature("autodoc", "Returns the derivative function matrix used to approximate the set. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the derivative function matrix used to approximate the set. ") DerivativeFunctionMatrix; const math_Matrix & DerivativeFunctionMatrix(); - /****************** Distance ******************/ - /**** md5 signature: 608fad06f540e822f2b9f4d329c097b6 ****/ + /****** AppDef_TheLeastSquares::Distance ******/ + /****** md5 signature: 608fad06f540e822f2b9f4d329c097b6 ******/ %feature("compactdefaultargs") Distance; - %feature("autodoc", "Returns the distances between the points of the multiline and the approximation curves. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the distances between the points of the multiline and the approximation curves. ") Distance; const math_Matrix & Distance(); - /****************** Error ******************/ - /**** md5 signature: 7c05c0164fc88dbacc4d90d301fe7f12 ****/ + /****** AppDef_TheLeastSquares::Error ******/ + /****** md5 signature: 7c05c0164fc88dbacc4d90d301fe7f12 ******/ %feature("compactdefaultargs") Error; - %feature("autodoc", "Returns the maximum errors between the multiline and the approximation curves. f is the sum of the square distances. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- F: float MaxE3d: float MaxE2d: float + +Description +----------- +returns the maximum errors between the MultiLine and the approximation curves. F is the sum of the square distances. ") Error; void Error(Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** ErrorGradient ******************/ - /**** md5 signature: 3e5c3757aad8d0f394eda590c0bc62e3 ****/ + /****** AppDef_TheLeastSquares::ErrorGradient ******/ + /****** md5 signature: 3e5c3757aad8d0f394eda590c0bc62e3 ******/ %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. - + %feature("autodoc", " Parameters ---------- Grad: math_Vector -Returns +Return ------- F: float MaxE3d: float MaxE2d: float + +Description +----------- +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. ") ErrorGradient; void ErrorGradient(math_Vector & Grad, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** FirstLambda ******************/ - /**** md5 signature: 87ad21cc13708c47c81704b38426d999 ****/ + /****** AppDef_TheLeastSquares::FirstLambda ******/ + /****** md5 signature: 87ad21cc13708c47c81704b38426d999 ******/ %feature("compactdefaultargs") FirstLambda; - %feature("autodoc", "Returns the value (p2 - p1)/ v1 if the first point was a tangency point. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the value (P2 - P1)/ V1 if the first point was a tangency point. ") FirstLambda; Standard_Real FirstLambda(); - /****************** FunctionMatrix ******************/ - /**** md5 signature: aec90dd003c289db9092eb79712677e1 ****/ + /****** AppDef_TheLeastSquares::FunctionMatrix ******/ + /****** md5 signature: aec90dd003c289db9092eb79712677e1 ******/ %feature("compactdefaultargs") FunctionMatrix; - %feature("autodoc", "Returns the function matrix used to approximate the set. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the function matrix used to approximate the set. ") FunctionMatrix; const math_Matrix & FunctionMatrix(); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** AppDef_TheLeastSquares::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Returns true if all has been correctly done. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns True if all has been correctly done. ") IsDone; Standard_Boolean IsDone(); - /****************** KIndex ******************/ - /**** md5 signature: 2821052a9bfe72ec4f531ccb52a80ffb ****/ + /****** AppDef_TheLeastSquares::KIndex ******/ + /****** md5 signature: 2821052a9bfe72ec4f531ccb52a80ffb ******/ %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. - -Returns + %feature("autodoc", "Return ------- math_IntegerVector + +Description +----------- +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. ") KIndex; const math_IntegerVector & KIndex(); - /****************** LastLambda ******************/ - /**** md5 signature: f7e26790258c4ab513bae9dd1a5955e1 ****/ + /****** AppDef_TheLeastSquares::LastLambda ******/ + /****** md5 signature: f7e26790258c4ab513bae9dd1a5955e1 ******/ %feature("compactdefaultargs") LastLambda; - %feature("autodoc", "Returns the value (pn - pn-1)/ vn if the last point was a tangency point. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the value (PN - PN-1)/ VN if the last point was a tangency point. ") LastLambda; Standard_Real LastLambda(); - /****************** Perform ******************/ - /**** md5 signature: 5b8f20d810ea57d5223b42dfd01410ad ****/ + /****** AppDef_TheLeastSquares::Perform ******/ + /****** md5 signature: 5b8f20d810ea57d5223b42dfd01410ad ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Is used after having initialized the fields. the case 'curvaturepoint' is not treated in this method. - + %feature("autodoc", " Parameters ---------- Parameters: math_Vector -Returns +Return ------- None + +Description +----------- +Is used after having initialized the fields. The case 'CurvaturePoint' is not treated in this method. ") Perform; void Perform(const math_Vector & Parameters); - /****************** Perform ******************/ - /**** md5 signature: cbf083f2b8329680dc5a52f482f436ad ****/ + /****** AppDef_TheLeastSquares::Perform ******/ + /****** md5 signature: cbf083f2b8329680dc5a52f482f436ad ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Is used after having initialized the fields. - + %feature("autodoc", " Parameters ---------- Parameters: math_Vector l1: float l2: float -Returns +Return ------- None + +Description +----------- +Is used after having initialized the fields. ") Perform; void Perform(const math_Vector & Parameters, const Standard_Real l1, const Standard_Real l2); - /****************** Perform ******************/ - /**** md5 signature: 380f2440b07e3b3805c4eda2da2e8c6e ****/ + /****** AppDef_TheLeastSquares::Perform ******/ + /****** md5 signature: 380f2440b07e3b3805c4eda2da2e8c6e ******/ %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. - + %feature("autodoc", " Parameters ---------- Parameters: math_Vector @@ -5435,17 +6167,20 @@ V2t: math_Vector l1: float l2: float -Returns +Return ------- None + +Description +----------- +Is used after having initialized the fields. is the tangent vector at the first point. is the tangent vector at the last point. ") Perform; void Perform(const math_Vector & Parameters, const math_Vector & V1t, const math_Vector & V2t, const Standard_Real l1, const Standard_Real l2); - /****************** Perform ******************/ - /**** md5 signature: 5f7ecae6d947ca76138d939cdd616b0f ****/ + /****** AppDef_TheLeastSquares::Perform ******/ + /****** md5 signature: 5f7ecae6d947ca76138d939cdd616b0f ******/ %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. - + %feature("autodoc", " Parameters ---------- Parameters: math_Vector @@ -5456,31 +6191,39 @@ V2c: math_Vector l1: float l2: float -Returns +Return ------- None + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 8a77545526c5096bca80b9c07f882412 ****/ + /****** AppDef_TheLeastSquares::Points ******/ + /****** md5 signature: 8a77545526c5096bca80b9c07f882412 ******/ %feature("compactdefaultargs") Points; - %feature("autodoc", "Returns the matrix of points value. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the matrix of points value. ") Points; const math_Matrix & Points(); - /****************** Poles ******************/ - /**** md5 signature: 1437a652beb857bd22c16de65cb18857 ****/ + /****** AppDef_TheLeastSquares::Poles ******/ + /****** md5 signature: 1437a652beb857bd22c16de65cb18857 ******/ %feature("compactdefaultargs") Poles; - %feature("autodoc", "Returns the matrix of resulting control points value. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the matrix of resulting control points value. ") Poles; const math_Matrix & Poles(); @@ -5498,11 +6241,10 @@ math_Matrix ************************/ class AppDef_TheResol { public: - /****************** AppDef_TheResol ******************/ - /**** md5 signature: 4b9b6ad5df71d40b30db8c43f2f8211e ****/ + /****** AppDef_TheResol::AppDef_TheResol ******/ + /****** md5 signature: 4b9b6ad5df71d40b30db8c43f2f8211e ******/ %feature("compactdefaultargs") AppDef_TheResol; - %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. - + %feature("autodoc", " Parameters ---------- SSP: AppDef_MultiLine @@ -5512,20 +6254,22 @@ LastPoint: int Constraints: AppParCurves_HArray1OfConstraintCouple Bern: math_Matrix DerivativeBern: math_Matrix -Tolerance: float,optional - default value is 1.0e-10 +Tolerance: float (optional, default to 1.0e-10) -Returns +Return ------- None + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 03ceb3c5a326d9e5b704d04ea0088376 ****/ + /****** AppDef_TheResol::ConstraintDerivative ******/ + /****** md5 signature: 03ceb3c5a326d9e5b704d04ea0088376 ******/ %feature("compactdefaultargs") ConstraintDerivative; - %feature("autodoc", "Returns the derivative of the constraint matrix. - + %feature("autodoc", " Parameters ---------- SSP: AppDef_MultiLine @@ -5533,53 +6277,65 @@ Parameters: math_Vector Deg: int DA: math_Matrix -Returns +Return ------- math_Matrix + +Description +----------- +Returns the derivative of the constraint matrix. ") ConstraintDerivative; const math_Matrix & ConstraintDerivative(const AppDef_MultiLine & SSP, const math_Vector & Parameters, const Standard_Integer Deg, const math_Matrix & DA); - /****************** ConstraintMatrix ******************/ - /**** md5 signature: 22481357cd3fa297d87302ab5bf68ab7 ****/ + /****** AppDef_TheResol::ConstraintMatrix ******/ + /****** md5 signature: 22481357cd3fa297d87302ab5bf68ab7 ******/ %feature("compactdefaultargs") ConstraintMatrix; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +No available documentation. ") ConstraintMatrix; const math_Matrix & ConstraintMatrix(); - /****************** Duale ******************/ - /**** md5 signature: fa2d61bba97045a52b936ca097de9f1b ****/ + /****** AppDef_TheResol::Duale ******/ + /****** md5 signature: fa2d61bba97045a52b936ca097de9f1b ******/ %feature("compactdefaultargs") Duale; - %feature("autodoc", "Returns the duale variables of the system. - -Returns + %feature("autodoc", "Return ------- math_Vector + +Description +----------- +returns the duale variables of the system. ") Duale; const math_Vector & Duale(); - /****************** InverseMatrix ******************/ - /**** md5 signature: 6c593c2bc8580243a5ff315f7f6a1f0e ****/ + /****** AppDef_TheResol::InverseMatrix ******/ + /****** md5 signature: 6c593c2bc8580243a5ff315f7f6a1f0e ******/ %feature("compactdefaultargs") InverseMatrix; - %feature("autodoc", "Returns the inverse of cont*transposed(cont), where cont is the constraint matrix for the algorithm. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the Inverse of Cont*Transposed(Cont), where Cont is the constraint matrix for the algorithm. ") InverseMatrix; const math_Matrix & InverseMatrix(); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** AppDef_TheResol::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Returns true if all has been correctly done. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns True if all has been correctly done. ") IsDone; Standard_Boolean IsDone(); @@ -5601,471 +6357,557 @@ bool ***************************/ class AppDef_Variational { public: - /****************** AppDef_Variational ******************/ - /**** md5 signature: f90b6cf052ecf51b369ee723a9ac7b8b ****/ + /****** AppDef_Variational::AppDef_Variational ******/ + /****** md5 signature: f90b6cf052ecf51b369ee723a9ac7b8b ******/ %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", " Parameters ---------- SSP: AppDef_MultiLine FirstPoint: int LastPoint: int TheConstraints: AppParCurves_HArray1OfConstraintCouple -MaxDegree: int,optional - default value is 14 -MaxSegment: int,optional - default value is 100 -Continuity: GeomAbs_Shape,optional - default value is GeomAbs_C2 -WithMinMax: bool,optional - default value is Standard_False -WithCutting: bool,optional - default value is Standard_True -Tolerance: float,optional - default value is 1.0 -NbIterations: int,optional - default value is 2 - -Returns +MaxDegree: int (optional, default to 14) +MaxSegment: int (optional, default to 100) +Continuity: GeomAbs_Shape (optional, default to GeomAbs_C2) +WithMinMax: bool (optional, default to Standard_False) +WithCutting: bool (optional, default to Standard_True) +Tolerance: float (optional, default to 1.0) +NbIterations: int (optional, default to 2) + +Return ------- None + +Description +----------- +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). ") 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); - /****************** Approximate ******************/ - /**** md5 signature: c99f59de561bcc5fc0bce8bf73c657b1 ****/ + /****** AppDef_Variational::Approximate ******/ + /****** md5 signature: c99f59de561bcc5fc0bce8bf73c657b1 ******/ %feature("compactdefaultargs") Approximate; - %feature("autodoc", "Makes the approximation with the current fields. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Makes the approximation with the current fields. ") Approximate; void Approximate(); - /****************** AverageError ******************/ - /**** md5 signature: 420f3b7884af8c019ac24a5fe5ae6ff8 ****/ + /****** AppDef_Variational::AverageError ******/ + /****** md5 signature: 420f3b7884af8c019ac24a5fe5ae6ff8 ******/ %feature("compactdefaultargs") AverageError; - %feature("autodoc", "Returns the average error between the multiline from appdef and the approximation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the average error between the MultiLine from AppDef and the approximation. ") AverageError; Standard_Real AverageError(); - /****************** Continuity ******************/ - /**** md5 signature: 4cc571878c66d538aeaf8b0affec3574 ****/ + /****** AppDef_Variational::Continuity ******/ + /****** md5 signature: 4cc571878c66d538aeaf8b0affec3574 ******/ %feature("compactdefaultargs") Continuity; - %feature("autodoc", "Returns the continuity used in the approximation. - -Returns + %feature("autodoc", "Return ------- GeomAbs_Shape + +Description +----------- +returns the Continuity used in the approximation. ") Continuity; GeomAbs_Shape Continuity(); - /****************** Criterium ******************/ - /**** md5 signature: edb6a5a9c11d025eaea36c85716d20aa ****/ + /****** AppDef_Variational::Criterium ******/ + /****** md5 signature: edb6a5a9c11d025eaea36c85716d20aa ******/ %feature("compactdefaultargs") Criterium; - %feature("autodoc", "Returns the values of the quality criterium. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- VFirstOrder: float VSecondOrder: float VThirdOrder: float + +Description +----------- +returns the values of the quality criterium. ") Criterium; void Criterium(Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** CriteriumWeight ******************/ - /**** md5 signature: d1e8815ca315e3e933ecc550d2c9ab9d ****/ + /****** AppDef_Variational::CriteriumWeight ******/ + /****** md5 signature: d1e8815ca315e3e933ecc550d2c9ab9d ******/ %feature("compactdefaultargs") CriteriumWeight; - %feature("autodoc", "Returns the weights (as percent) associed to the criterium used in the optimization. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- Percent1: float Percent2: float Percent3: float + +Description +----------- +returns the Weights (as percent) associed to the criterium used in the optimization. ") CriteriumWeight; void CriteriumWeight(Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** Distance ******************/ - /**** md5 signature: fb873fdfe64ff9a1fb1949ce5ba730e9 ****/ + /****** AppDef_Variational::Distance ******/ + /****** md5 signature: fb873fdfe64ff9a1fb1949ce5ba730e9 ******/ %feature("compactdefaultargs") Distance; - %feature("autodoc", "Returns the distances between the points of the multiline and the approximation curves. - + %feature("autodoc", " Parameters ---------- mat: math_Matrix -Returns +Return ------- None + +Description +----------- +returns the distances between the points of the multiline and the approximation curves. ") Distance; void Distance(math_Matrix & mat); + /****** AppDef_Variational::Dump ******/ + /****** md5 signature: d37b43e0b2386dc096d5d707876db157 ******/ + %feature("compactdefaultargs") Dump; + %feature("autodoc", " +Parameters +---------- - %feature("autodoc", "1"); - %extend{ - std::string DumpToString() { - std::stringstream s; - self->Dump(s); - return s.str();} - }; - /****************** IsCreated ******************/ - /**** md5 signature: ee98cd23a823f97ff49721b779c9bc76 ****/ - %feature("compactdefaultargs") IsCreated; - %feature("autodoc", "Returns true if the creation is done and correspond to the current fields. +Return +------- +o: Standard_OStream + +Description +----------- +Prints on the stream o information on the current state of the object. MaxError,MaxErrorIndex,AverageError,QuadraticError,Criterium Distances,Degre,Nombre de poles, parametres, noeuds. +") Dump; + void Dump(std::ostream &OutValue); -Returns + /****** AppDef_Variational::IsCreated ******/ + /****** md5 signature: ee98cd23a823f97ff49721b779c9bc76 ******/ + %feature("compactdefaultargs") IsCreated; + %feature("autodoc", "Return ------- bool + +Description +----------- +returns True if the creation is done and correspond to the current fields. ") IsCreated; Standard_Boolean IsCreated(); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** AppDef_Variational::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Returns true if the approximation is ok and correspond to the current fields. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns True if the approximation is ok and correspond to the current fields. ") IsDone; Standard_Boolean IsDone(); - /****************** IsOverConstrained ******************/ - /**** md5 signature: b90429989d8f8debd1e02927f18e060e ****/ + /****** AppDef_Variational::IsOverConstrained ******/ + /****** md5 signature: b90429989d8f8debd1e02927f18e060e ******/ %feature("compactdefaultargs") IsOverConstrained; - %feature("autodoc", "Returns true if the problem is overconstrained in this case, approximation cannot be done. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns True if the problem is overconstrained in this case, approximation cannot be done. ") IsOverConstrained; Standard_Boolean IsOverConstrained(); - /****************** Knots ******************/ - /**** md5 signature: 6fb22c3eaf6dc04bd29ac3396a7169a9 ****/ + /****** AppDef_Variational::Knots ******/ + /****** md5 signature: 6fb22c3eaf6dc04bd29ac3396a7169a9 ******/ %feature("compactdefaultargs") Knots; - %feature("autodoc", "Returns the knots uses to the approximations. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +returns the knots uses to the approximations. ") Knots; const opencascade::handle & Knots(); - /****************** MaxDegree ******************/ - /**** md5 signature: 2c79ca8c281a4e3978650b16dd11f77d ****/ + /****** AppDef_Variational::MaxDegree ******/ + /****** md5 signature: 2c79ca8c281a4e3978650b16dd11f77d ******/ %feature("compactdefaultargs") MaxDegree; - %feature("autodoc", "Returns the maximum degree used in the approximation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +returns the Maximum Degree used in the approximation. ") MaxDegree; Standard_Integer MaxDegree(); - /****************** MaxError ******************/ - /**** md5 signature: 90f2419f0b1537a77da84305579339a2 ****/ + /****** AppDef_Variational::MaxError ******/ + /****** md5 signature: 90f2419f0b1537a77da84305579339a2 ******/ %feature("compactdefaultargs") MaxError; - %feature("autodoc", "Returns the maximum of the distances between the points of the multiline and the approximation curves. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the maximum of the distances between the points of the multiline and the approximation curves. ") MaxError; Standard_Real MaxError(); - /****************** MaxErrorIndex ******************/ - /**** md5 signature: 971e966c0fe3112e06e17b68cf389166 ****/ + /****** AppDef_Variational::MaxErrorIndex ******/ + /****** md5 signature: 971e966c0fe3112e06e17b68cf389166 ******/ %feature("compactdefaultargs") MaxErrorIndex; - %feature("autodoc", "Returns the index of the multipoint of errormax. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +returns the index of the MultiPoint of ErrorMax. ") MaxErrorIndex; Standard_Integer MaxErrorIndex(); - /****************** MaxSegment ******************/ - /**** md5 signature: 1053b33469d38c347d8d0e695823bcf7 ****/ + /****** AppDef_Variational::MaxSegment ******/ + /****** md5 signature: 1053b33469d38c347d8d0e695823bcf7 ******/ %feature("compactdefaultargs") MaxSegment; - %feature("autodoc", "Returns the maximum of segment used in the approximation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +returns the Maximum of segment used in the approximation. ") MaxSegment; Standard_Integer MaxSegment(); - /****************** NbIterations ******************/ - /**** md5 signature: 05334f1e34f7c858ac022754e906f2bf ****/ + /****** AppDef_Variational::NbIterations ******/ + /****** md5 signature: 05334f1e34f7c858ac022754e906f2bf ******/ %feature("compactdefaultargs") NbIterations; - %feature("autodoc", "Returns the number of iterations used in the approximation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +returns the number of iterations used in the approximation. ") NbIterations; Standard_Integer NbIterations(); - /****************** Parameters ******************/ - /**** md5 signature: 7527b844d237672b1654e0e34e57815c ****/ + /****** AppDef_Variational::Parameters ******/ + /****** md5 signature: 7527b844d237672b1654e0e34e57815c ******/ %feature("compactdefaultargs") Parameters; - %feature("autodoc", "Returns the parameters uses to the approximations. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +returns the parameters uses to the approximations. ") Parameters; const opencascade::handle & Parameters(); - /****************** QuadraticError ******************/ - /**** md5 signature: 4966a1d89bf85fe81f2bcefbdff19919 ****/ + /****** AppDef_Variational::QuadraticError ******/ + /****** md5 signature: 4966a1d89bf85fe81f2bcefbdff19919 ******/ %feature("compactdefaultargs") QuadraticError; - %feature("autodoc", "Returns the quadratic average of the distances between the points of the multiline and the approximation curves. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the quadratic average of the distances between the points of the multiline and the approximation curves. ") QuadraticError; Standard_Real QuadraticError(); - /****************** SetConstraints ******************/ - /**** md5 signature: cc790287f6182849f720a3c5328f25b7 ****/ + /****** AppDef_Variational::SetConstraints ******/ + /****** md5 signature: cc790287f6182849f720a3c5328f25b7 ******/ %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. - + %feature("autodoc", " Parameters ---------- aConstrainst: AppParCurves_HArray1OfConstraintCouple -Returns +Return ------- bool + +Description +----------- +Define the constraints to approximate If this value is incompatible with the others fields this method modify nothing and returns false. ") SetConstraints; Standard_Boolean SetConstraints(const opencascade::handle & aConstrainst); - /****************** SetContinuity ******************/ - /**** md5 signature: f974005f1ed42db31f2565c8a366cbbe ****/ + /****** AppDef_Variational::SetContinuity ******/ + /****** md5 signature: f974005f1ed42db31f2565c8a366cbbe ******/ %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. - + %feature("autodoc", " Parameters ---------- C: GeomAbs_Shape -Returns +Return ------- bool + +Description +----------- +Define the Continuity used in the approximation If this value is incompatible with the others fields this method modify nothing and returns false. ") SetContinuity; Standard_Boolean SetContinuity(const GeomAbs_Shape C); - /****************** SetCriteriumWeight ******************/ - /**** md5 signature: 168b9075f5e06eafee2d48483e8549b2 ****/ + /****** AppDef_Variational::SetCriteriumWeight ******/ + /****** md5 signature: 168b9075f5e06eafee2d48483e8549b2 ******/ %feature("compactdefaultargs") SetCriteriumWeight; - %feature("autodoc", "Define the weights (as percent) associed to the criterium used in the optimization. //! if percent <= 0. - + %feature("autodoc", " Parameters ---------- Percent1: float Percent2: float Percent3: float -Returns +Return ------- None + +Description +----------- +define the Weights (as percent) associed to the criterium used in the optimization. //! if Percent <= 0. ") SetCriteriumWeight; void SetCriteriumWeight(const Standard_Real Percent1, const Standard_Real Percent2, const Standard_Real Percent3); - /****************** SetCriteriumWeight ******************/ - /**** md5 signature: 953a9a555201757eb4d851ed7bafb979 ****/ + /****** AppDef_Variational::SetCriteriumWeight ******/ + /****** md5 signature: 953a9a555201757eb4d851ed7bafb979 ******/ %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. - + %feature("autodoc", " Parameters ---------- Order: int Percent: float -Returns +Return ------- None + +Description +----------- +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; void SetCriteriumWeight(const Standard_Integer Order, const Standard_Real Percent); - /****************** SetKnots ******************/ - /**** md5 signature: e8661b15a04d92d82b8a0d602a32994c ****/ + /****** AppDef_Variational::SetKnots ******/ + /****** md5 signature: e8661b15a04d92d82b8a0d602a32994c ******/ %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. - + %feature("autodoc", " Parameters ---------- knots: TColStd_HArray1OfReal -Returns +Return ------- bool + +Description +----------- +Defines the knots used by the approximations If this value is incompatible with the others fields this method modify nothing and returns false. ") SetKnots; Standard_Boolean SetKnots(const opencascade::handle & knots); - /****************** SetMaxDegree ******************/ - /**** md5 signature: fca035c6d3f4efa993181625249e062c ****/ + /****** AppDef_Variational::SetMaxDegree ******/ + /****** md5 signature: fca035c6d3f4efa993181625249e062c ******/ %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. - + %feature("autodoc", " Parameters ---------- Degree: int -Returns +Return ------- bool + +Description +----------- +Define the Maximum Degree used in the approximation If this value is incompatible with the others fields this method modify nothing and returns false. ") SetMaxDegree; Standard_Boolean SetMaxDegree(const Standard_Integer Degree); - /****************** SetMaxSegment ******************/ - /**** md5 signature: a24ae9d7cd32cbd6c0a12b78e2965cbf ****/ + /****** AppDef_Variational::SetMaxSegment ******/ + /****** md5 signature: a24ae9d7cd32cbd6c0a12b78e2965cbf ******/ %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. - + %feature("autodoc", " Parameters ---------- NbSegment: int -Returns +Return ------- bool + +Description +----------- +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. ") SetMaxSegment; Standard_Boolean SetMaxSegment(const Standard_Integer NbSegment); - /****************** SetNbIterations ******************/ - /**** md5 signature: 3ae76dd00e47cee8353c15b0f4494e29 ****/ + /****** AppDef_Variational::SetNbIterations ******/ + /****** md5 signature: 3ae76dd00e47cee8353c15b0f4494e29 ******/ %feature("compactdefaultargs") SetNbIterations; - %feature("autodoc", "Define the number of iterations used in the approximation. if iter < 1. - + %feature("autodoc", " Parameters ---------- Iter: int -Returns +Return ------- None + +Description +----------- +define the number of iterations used in the approximation. if Iter < 1. ") SetNbIterations; void SetNbIterations(const Standard_Integer Iter); - /****************** SetParameters ******************/ - /**** md5 signature: 98407971ef258f529d76e2dc1e8651b1 ****/ + /****** AppDef_Variational::SetParameters ******/ + /****** md5 signature: 98407971ef258f529d76e2dc1e8651b1 ******/ %feature("compactdefaultargs") SetParameters; - %feature("autodoc", "Defines the parameters used by the approximations. - + %feature("autodoc", " Parameters ---------- param: TColStd_HArray1OfReal -Returns +Return ------- None + +Description +----------- +Defines the parameters used by the approximations. ") SetParameters; void SetParameters(const opencascade::handle & param); - /****************** SetTolerance ******************/ - /**** md5 signature: fc6e9b0c16aebccb1a4d05571a3e6ef6 ****/ + /****** AppDef_Variational::SetTolerance ******/ + /****** md5 signature: fc6e9b0c16aebccb1a4d05571a3e6ef6 ******/ %feature("compactdefaultargs") SetTolerance; - %feature("autodoc", "Define the tolerance used in the approximation. - + %feature("autodoc", " Parameters ---------- Tol: float -Returns +Return ------- None + +Description +----------- +define the tolerance used in the approximation. ") SetTolerance; void SetTolerance(const Standard_Real Tol); - /****************** SetWithCutting ******************/ - /**** md5 signature: 02d0c9b4b956a64bc1920736b5081e0f ****/ + /****** AppDef_Variational::SetWithCutting ******/ + /****** md5 signature: 02d0c9b4b956a64bc1920736b5081e0f ******/ %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. - + %feature("autodoc", " Parameters ---------- Cutting: bool -Returns +Return ------- bool + +Description +----------- +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. ") SetWithCutting; Standard_Boolean SetWithCutting(const Standard_Boolean Cutting); - /****************** SetWithMinMax ******************/ - /**** md5 signature: 1b54e87ae81f0f7a5b31ba668276567f ****/ + /****** AppDef_Variational::SetWithMinMax ******/ + /****** md5 signature: 1b54e87ae81f0f7a5b31ba668276567f ******/ %feature("compactdefaultargs") SetWithMinMax; - %feature("autodoc", "Define if the approximation search to minimize the maximum error or not. - + %feature("autodoc", " Parameters ---------- MinMax: bool -Returns +Return ------- None + +Description +----------- +Define if the approximation search to minimize the maximum Error or not. ") SetWithMinMax; void SetWithMinMax(const Standard_Boolean MinMax); - /****************** Tolerance ******************/ - /**** md5 signature: 9e5775014410d884d1a1adc1cd47930b ****/ + /****** AppDef_Variational::Tolerance ******/ + /****** md5 signature: 9e5775014410d884d1a1adc1cd47930b ******/ %feature("compactdefaultargs") Tolerance; - %feature("autodoc", "Returns the tolerance used in the approximation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the tolerance used in the approximation. ") Tolerance; Standard_Real Tolerance(); - /****************** Value ******************/ - /**** md5 signature: 35d2ee100f1a9fc11f00b074d7d3553e ****/ + /****** AppDef_Variational::Value ******/ + /****** md5 signature: 35d2ee100f1a9fc11f00b074d7d3553e ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns all the bspline curves approximating the multiline from appdef ssp after minimization of the parameter. - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiBSpCurve + +Description +----------- +returns all the BSpline curves approximating the MultiLine from AppDef SSP after minimization of the parameter. ") Value; AppParCurves_MultiBSpCurve Value(); - /****************** WithCutting ******************/ - /**** md5 signature: d1aad1460fd0343f58333133d5abda17 ****/ + /****** AppDef_Variational::WithCutting ******/ + /****** md5 signature: d1aad1460fd0343f58333133d5abda17 ******/ %feature("compactdefaultargs") WithCutting; - %feature("autodoc", "Returns if the approximation can insert new knots or not. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns if the approximation can insert new Knots or not. ") WithCutting; Standard_Boolean WithCutting(); - /****************** WithMinMax ******************/ - /**** md5 signature: 4a834814fd8ebdf3109c458400dbeda7 ****/ + /****** AppDef_Variational::WithMinMax ******/ + /****** md5 signature: 4a834814fd8ebdf3109c458400dbeda7 ******/ %feature("compactdefaultargs") WithMinMax; - %feature("autodoc", "Returns if the approximation search to minimize the maximum error or not. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns if the approximation search to minimize the maximum Error or not. ") WithMinMax; Standard_Boolean WithMinMax(); @@ -6083,58 +6925,68 @@ bool ******************************/ class AppDef_LinearCriteria : public AppDef_SmoothCriterion { public: - /****************** AppDef_LinearCriteria ******************/ - /**** md5 signature: 7971c8c3b54afa7d1e4ec19e4b96b14a ****/ + /****** AppDef_LinearCriteria::AppDef_LinearCriteria ******/ + /****** md5 signature: 7971c8c3b54afa7d1e4ec19e4b96b14a ******/ %feature("compactdefaultargs") AppDef_LinearCriteria; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- SSP: AppDef_MultiLine FirstPoint: int LastPoint: int -Returns +Return ------- None + +Description +----------- +No available documentation. ") AppDef_LinearCriteria; AppDef_LinearCriteria(const AppDef_MultiLine & SSP, const Standard_Integer FirstPoint, const Standard_Integer LastPoint); - /****************** AssemblyTable ******************/ - /**** md5 signature: bfa501d807c9eb758d31854422707098 ****/ + /****** AppDef_LinearCriteria::AssemblyTable ******/ + /****** md5 signature: bfa501d807c9eb758d31854422707098 ******/ %feature("compactdefaultargs") AssemblyTable; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") AssemblyTable; opencascade::handle AssemblyTable(); - /****************** DependenceTable ******************/ - /**** md5 signature: 74ba8d8ba6ec3333e18c69c449d161a3 ****/ + /****** AppDef_LinearCriteria::DependenceTable ******/ + /****** md5 signature: 74ba8d8ba6ec3333e18c69c449d161a3 ******/ %feature("compactdefaultargs") DependenceTable; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") DependenceTable; opencascade::handle DependenceTable(); - /****************** ErrorValues ******************/ - /**** md5 signature: a777f9d4f93c8023ace5e9d0026ef74c ****/ + /****** AppDef_LinearCriteria::ErrorValues ******/ + /****** md5 signature: a777f9d4f93c8023ace5e9d0026ef74c ******/ %feature("compactdefaultargs") ErrorValues; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- MaxError: float QuadraticError: float AverageError: float + +Description +----------- +No available documentation. ") ErrorValues; void ErrorValues(Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); @@ -6151,74 +7003,85 @@ AverageError: float $self->EstLength()=value; } }; - /****************** GetCurve ******************/ - /**** md5 signature: cd8e9b34a7462f6d0e280ba39eb7013b ****/ + /****** AppDef_LinearCriteria::GetCurve ******/ + /****** md5 signature: cd8e9b34a7462f6d0e280ba39eb7013b ******/ %feature("compactdefaultargs") GetCurve; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: FEmTool_Curve -Returns +Return ------- None + +Description +----------- +No available documentation. ") GetCurve; void GetCurve(opencascade::handle & C); - /****************** GetEstimation ******************/ - /**** md5 signature: c203dc9f9f35d061778069cc5bca8cde ****/ + /****** AppDef_LinearCriteria::GetEstimation ******/ + /****** md5 signature: c203dc9f9f35d061778069cc5bca8cde ******/ %feature("compactdefaultargs") GetEstimation; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- E1: float E2: float E3: float + +Description +----------- +No available documentation. ") GetEstimation; void GetEstimation(Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** GetWeight ******************/ - /**** md5 signature: 20228a28f0bf77c9b8a22ba4a2c3775a ****/ + /****** AppDef_LinearCriteria::GetWeight ******/ + /****** md5 signature: 20228a28f0bf77c9b8a22ba4a2c3775a ******/ %feature("compactdefaultargs") GetWeight; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- QuadraticWeight: float QualityWeight: float + +Description +----------- +No available documentation. ") GetWeight; void GetWeight(Standard_Real &OutValue, Standard_Real &OutValue); - /****************** Gradient ******************/ - /**** md5 signature: 321bc1515ee5e590e26f19411e445e89 ****/ + /****** AppDef_LinearCriteria::Gradient ******/ + /****** md5 signature: 321bc1515ee5e590e26f19411e445e89 ******/ %feature("compactdefaultargs") Gradient; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Element: int Dimension: int G: math_Vector -Returns +Return ------- None + +Description +----------- +No available documentation. ") Gradient; void Gradient(const Standard_Integer Element, const Standard_Integer Dimension, math_Vector & G); - /****************** Hessian ******************/ - /**** md5 signature: 8b40c8291caedf88a740760d60139e94 ****/ + /****** AppDef_LinearCriteria::Hessian ******/ + /****** md5 signature: 8b40c8291caedf88a740760d60139e94 ******/ %feature("compactdefaultargs") Hessian; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Element: int @@ -6226,99 +7089,117 @@ Dimension1: int Dimension2: int H: math_Matrix -Returns +Return ------- None + +Description +----------- +No available documentation. ") Hessian; void Hessian(const Standard_Integer Element, const Standard_Integer Dimension1, const Standard_Integer Dimension2, math_Matrix & H); - /****************** InputVector ******************/ - /**** md5 signature: 9fc6c35d42441a4e3e3012543ade00f3 ****/ + /****** AppDef_LinearCriteria::InputVector ******/ + /****** md5 signature: 9fc6c35d42441a4e3e3012543ade00f3 ******/ %feature("compactdefaultargs") InputVector; - %feature("autodoc", "Convert the assembly vector in an curve;. - + %feature("autodoc", " Parameters ---------- X: math_Vector AssTable: FEmTool_HAssemblyTable -Returns +Return ------- None + +Description +----------- +Convert the assembly Vector in an Curve;. ") InputVector; void InputVector(const math_Vector & X, const opencascade::handle & AssTable); - /****************** QualityValues ******************/ - /**** md5 signature: 827da749488066754087e937754eac94 ****/ + /****** AppDef_LinearCriteria::QualityValues ******/ + /****** md5 signature: 827da749488066754087e937754eac94 ******/ %feature("compactdefaultargs") QualityValues; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- J1min: float J2min: float J3min: float -Returns +Return ------- J1: float J2: float J3: float + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: 04239691cf498ce7af97807decd2562a ****/ + /****** AppDef_LinearCriteria::SetCurve ******/ + /****** md5 signature: 04239691cf498ce7af97807decd2562a ******/ %feature("compactdefaultargs") SetCurve; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: FEmTool_Curve -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetCurve; void SetCurve(const opencascade::handle & C); - /****************** SetEstimation ******************/ - /**** md5 signature: 7e003424ca19f8200aab6824d74b9d27 ****/ + /****** AppDef_LinearCriteria::SetEstimation ******/ + /****** md5 signature: 7e003424ca19f8200aab6824d74b9d27 ******/ %feature("compactdefaultargs") SetEstimation; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- E1: float E2: float E3: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetEstimation; void SetEstimation(const Standard_Real E1, const Standard_Real E2, const Standard_Real E3); - /****************** SetParameters ******************/ - /**** md5 signature: 5a4d4d2d682d53038fd9018938ef98a7 ****/ + /****** AppDef_LinearCriteria::SetParameters ******/ + /****** md5 signature: 5a4d4d2d682d53038fd9018938ef98a7 ******/ %feature("compactdefaultargs") SetParameters; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Parameters: TColStd_HArray1OfReal -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetParameters; void SetParameters(const opencascade::handle & Parameters); - /****************** SetWeight ******************/ - /**** md5 signature: 8783a77241be255334f6fe96a205454d ****/ + /****** AppDef_LinearCriteria::SetWeight ******/ + /****** md5 signature: 8783a77241be255334f6fe96a205454d ******/ %feature("compactdefaultargs") SetWeight; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- QuadraticWeight: float @@ -6327,24 +7208,31 @@ percentJ1: float percentJ2: float percentJ3: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetWeight; void SetWeight(const Standard_Real QuadraticWeight, const Standard_Real QualityWeight, const Standard_Real percentJ1, const Standard_Real percentJ2, const Standard_Real percentJ3); - /****************** SetWeight ******************/ - /**** md5 signature: e02860ae1c35c7abb2994c7477ce803e ****/ + /****** AppDef_LinearCriteria::SetWeight ******/ + /****** md5 signature: e02860ae1c35c7abb2994c7477ce803e ******/ %feature("compactdefaultargs") SetWeight; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Weight: TColStd_Array1OfReal -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetWeight; void SetWeight(const TColStd_Array1OfReal & Weight); @@ -6376,3 +7264,70 @@ class AppDef_HArray1OfMultiPointConstraint : public AppDef_Array1OfMultiPointCon /* class aliases */ %pythoncode { } +/* deprecated methods */ +%pythoncode { +@deprecated +def AppDef_MyLineTool_Curvature(*args): + return AppDef_MyLineTool.Curvature(*args) + +@deprecated +def AppDef_MyLineTool_Curvature(*args): + return AppDef_MyLineTool.Curvature(*args) + +@deprecated +def AppDef_MyLineTool_Curvature(*args): + return AppDef_MyLineTool.Curvature(*args) + +@deprecated +def AppDef_MyLineTool_FirstPoint(*args): + return AppDef_MyLineTool.FirstPoint(*args) + +@deprecated +def AppDef_MyLineTool_LastPoint(*args): + return AppDef_MyLineTool.LastPoint(*args) + +@deprecated +def AppDef_MyLineTool_MakeMLBetween(*args): + return AppDef_MyLineTool.MakeMLBetween(*args) + +@deprecated +def AppDef_MyLineTool_MakeMLOneMorePoint(*args): + return AppDef_MyLineTool.MakeMLOneMorePoint(*args) + +@deprecated +def AppDef_MyLineTool_NbP2d(*args): + return AppDef_MyLineTool.NbP2d(*args) + +@deprecated +def AppDef_MyLineTool_NbP3d(*args): + return AppDef_MyLineTool.NbP3d(*args) + +@deprecated +def AppDef_MyLineTool_Tangency(*args): + return AppDef_MyLineTool.Tangency(*args) + +@deprecated +def AppDef_MyLineTool_Tangency(*args): + return AppDef_MyLineTool.Tangency(*args) + +@deprecated +def AppDef_MyLineTool_Tangency(*args): + return AppDef_MyLineTool.Tangency(*args) + +@deprecated +def AppDef_MyLineTool_Value(*args): + return AppDef_MyLineTool.Value(*args) + +@deprecated +def AppDef_MyLineTool_Value(*args): + return AppDef_MyLineTool.Value(*args) + +@deprecated +def AppDef_MyLineTool_Value(*args): + return AppDef_MyLineTool.Value(*args) + +@deprecated +def AppDef_MyLineTool_WhatStatus(*args): + return AppDef_MyLineTool.WhatStatus(*args) + +} diff --git a/src/SWIG_files/wrapper/AppDef.pyi b/src/SWIG_files/wrapper/AppDef.pyi index 778a53332..55dcfa98e 100644 --- a/src/SWIG_files/wrapper/AppDef.pyi +++ b/src/SWIG_files/wrapper/AppDef.pyi @@ -12,7 +12,6 @@ from OCC.Core.gp import * from OCC.Core.FEmTool import * from OCC.Core.GeomAbs import * - class AppDef_Array1OfMultiPointConstraint: @overload def __init__(self) -> None: ... @@ -35,571 +34,1250 @@ class AppDef_Array1OfMultiPointConstraint: def First(self) -> AppDef_MultiPointConstraint: ... def Last(self) -> AppDef_MultiPointConstraint: ... def Value(self, theIndex: int) -> AppDef_MultiPointConstraint: ... - def SetValue(self, theIndex: int, theValue: AppDef_MultiPointConstraint) -> None: ... + def SetValue( + self, theIndex: int, theValue: AppDef_MultiPointConstraint + ) -> None: ... class AppDef_BSpGradient_BFGSOfMyBSplGradientOfBSplineCompute(math_BFGS): - def __init__(self, F: math_MultipleVarFunctionWithGradient, StartingPoint: math_Vector, Tolerance3d: float, Tolerance2d: float, Eps: float, NbIterations: Optional[int] = 200) -> None: ... - def IsSolutionReached(self, F: math_MultipleVarFunctionWithGradient) -> bool: ... - -class AppDef_BSpParFunctionOfMyBSplGradientOfBSplineCompute(math_MultipleVarFunctionWithGradient): - def __init__(self, SSP: AppDef_MultiLine, FirstPoint: int, LastPoint: int, TheConstraints: AppParCurves_HArray1OfConstraintCouple, Parameters: math_Vector, Knots: TColStd_Array1OfReal, Mults: TColStd_Array1OfInteger, NbPol: int) -> None: ... - def CurveValue(self) -> AppParCurves_MultiBSpCurve: ... - def DerivativeFunctionMatrix(self) -> math_Matrix: ... - def Error(self, IPoint: int, CurveIndex: int) -> float: ... - def FirstConstraint(self, TheConstraints: AppParCurves_HArray1OfConstraintCouple, FirstPoint: int) -> AppParCurves_Constraint: ... - def FunctionMatrix(self) -> math_Matrix: ... - def Gradient(self, X: math_Vector, G: math_Vector) -> bool: ... - def Index(self) -> math_IntegerVector: ... - def LastConstraint(self, TheConstraints: AppParCurves_HArray1OfConstraintCouple, LastPoint: int) -> AppParCurves_Constraint: ... - def MaxError2d(self) -> float: ... - def MaxError3d(self) -> float: ... - def NbVariables(self) -> int: ... - def NewParameters(self) -> math_Vector: ... - def SetFirstLambda(self, l1: float) -> None: ... - def SetLastLambda(self, l2: float) -> None: ... - def Value(self, X: math_Vector) -> Tuple[bool, float]: ... - def Values(self, X: math_Vector, G: math_Vector) -> Tuple[bool, float]: ... + def __init__( + self, + F: math_MultipleVarFunctionWithGradient, + StartingPoint: math_Vector, + Tolerance3d: float, + Tolerance2d: float, + Eps: float, + NbIterations: Optional[int] = 200, + ) -> None: ... + def IsSolutionReached(self, F: math_MultipleVarFunctionWithGradient) -> bool: ... + +class AppDef_BSpParFunctionOfMyBSplGradientOfBSplineCompute( + math_MultipleVarFunctionWithGradient +): + def __init__( + self, + SSP: AppDef_MultiLine, + FirstPoint: int, + LastPoint: int, + TheConstraints: AppParCurves_HArray1OfConstraintCouple, + Parameters: math_Vector, + Knots: TColStd_Array1OfReal, + Mults: TColStd_Array1OfInteger, + NbPol: int, + ) -> None: ... + def CurveValue(self) -> AppParCurves_MultiBSpCurve: ... + def DerivativeFunctionMatrix(self) -> math_Matrix: ... + def Error(self, IPoint: int, CurveIndex: int) -> float: ... + def FirstConstraint( + self, TheConstraints: AppParCurves_HArray1OfConstraintCouple, FirstPoint: int + ) -> AppParCurves_Constraint: ... + def FunctionMatrix(self) -> math_Matrix: ... + def Gradient(self, X: math_Vector, G: math_Vector) -> bool: ... + def Index(self) -> math_IntegerVector: ... + def LastConstraint( + self, TheConstraints: AppParCurves_HArray1OfConstraintCouple, LastPoint: int + ) -> AppParCurves_Constraint: ... + def MaxError2d(self) -> float: ... + def MaxError3d(self) -> float: ... + def NbVariables(self) -> int: ... + def NewParameters(self) -> math_Vector: ... + def SetFirstLambda(self, l1: float) -> None: ... + def SetLastLambda(self, l2: float) -> None: ... + def Value(self, X: math_Vector) -> Tuple[bool, float]: ... + def Values(self, X: math_Vector, G: math_Vector) -> Tuple[bool, float]: ... class AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute: - @overload - def __init__(self, SSP: AppDef_MultiLine, FirstPoint: int, LastPoint: int, FirstCons: AppParCurves_Constraint, LastCons: AppParCurves_Constraint, Parameters: math_Vector, NbPol: int) -> None: ... - @overload - def __init__(self, SSP: AppDef_MultiLine, FirstPoint: int, LastPoint: int, FirstCons: AppParCurves_Constraint, LastCons: AppParCurves_Constraint, NbPol: int) -> None: ... - @overload - def __init__(self, SSP: AppDef_MultiLine, Knots: TColStd_Array1OfReal, Mults: TColStd_Array1OfInteger, FirstPoint: int, LastPoint: int, FirstCons: AppParCurves_Constraint, LastCons: AppParCurves_Constraint, Parameters: math_Vector, NbPol: int) -> None: ... - @overload - def __init__(self, SSP: AppDef_MultiLine, Knots: TColStd_Array1OfReal, Mults: TColStd_Array1OfInteger, FirstPoint: int, LastPoint: int, FirstCons: AppParCurves_Constraint, LastCons: AppParCurves_Constraint, NbPol: int) -> None: ... - def BSplineValue(self) -> AppParCurves_MultiBSpCurve: ... - def BezierValue(self) -> AppParCurves_MultiCurve: ... - def DerivativeFunctionMatrix(self) -> math_Matrix: ... - def Distance(self) -> math_Matrix: ... - def Error(self) -> Tuple[float, float, float]: ... - def ErrorGradient(self, Grad: math_Vector) -> Tuple[float, float, float]: ... - def FirstLambda(self) -> float: ... - def FunctionMatrix(self) -> math_Matrix: ... - def IsDone(self) -> bool: ... - def KIndex(self) -> math_IntegerVector: ... - def LastLambda(self) -> float: ... - @overload - def Perform(self, Parameters: math_Vector) -> None: ... - @overload - def Perform(self, Parameters: math_Vector, l1: float, l2: float) -> None: ... - @overload - def Perform(self, Parameters: math_Vector, V1t: math_Vector, V2t: math_Vector, l1: float, l2: float) -> None: ... - @overload - def Perform(self, Parameters: math_Vector, V1t: math_Vector, V2t: math_Vector, V1c: math_Vector, V2c: math_Vector, l1: float, l2: float) -> None: ... - def Points(self) -> math_Matrix: ... - def Poles(self) -> math_Matrix: ... + @overload + def __init__( + self, + SSP: AppDef_MultiLine, + FirstPoint: int, + LastPoint: int, + FirstCons: AppParCurves_Constraint, + LastCons: AppParCurves_Constraint, + Parameters: math_Vector, + NbPol: int, + ) -> None: ... + @overload + def __init__( + self, + SSP: AppDef_MultiLine, + FirstPoint: int, + LastPoint: int, + FirstCons: AppParCurves_Constraint, + LastCons: AppParCurves_Constraint, + NbPol: int, + ) -> None: ... + @overload + def __init__( + self, + SSP: AppDef_MultiLine, + Knots: TColStd_Array1OfReal, + Mults: TColStd_Array1OfInteger, + FirstPoint: int, + LastPoint: int, + FirstCons: AppParCurves_Constraint, + LastCons: AppParCurves_Constraint, + Parameters: math_Vector, + NbPol: int, + ) -> None: ... + @overload + def __init__( + self, + SSP: AppDef_MultiLine, + Knots: TColStd_Array1OfReal, + Mults: TColStd_Array1OfInteger, + FirstPoint: int, + LastPoint: int, + FirstCons: AppParCurves_Constraint, + LastCons: AppParCurves_Constraint, + NbPol: int, + ) -> None: ... + def BSplineValue(self) -> AppParCurves_MultiBSpCurve: ... + def BezierValue(self) -> AppParCurves_MultiCurve: ... + def DerivativeFunctionMatrix(self) -> math_Matrix: ... + def Distance(self) -> math_Matrix: ... + def Error(self) -> Tuple[float, float, float]: ... + def ErrorGradient(self, Grad: math_Vector) -> Tuple[float, float, float]: ... + def FirstLambda(self) -> float: ... + def FunctionMatrix(self) -> math_Matrix: ... + def IsDone(self) -> bool: ... + def KIndex(self) -> math_IntegerVector: ... + def LastLambda(self) -> float: ... + @overload + def Perform(self, Parameters: math_Vector) -> None: ... + @overload + def Perform(self, Parameters: math_Vector, l1: float, l2: float) -> None: ... + @overload + def Perform( + self, + Parameters: math_Vector, + V1t: math_Vector, + V2t: math_Vector, + l1: float, + l2: float, + ) -> None: ... + @overload + def Perform( + self, + Parameters: math_Vector, + V1t: math_Vector, + V2t: math_Vector, + V1c: math_Vector, + V2c: math_Vector, + l1: float, + l2: float, + ) -> None: ... + def Points(self) -> math_Matrix: ... + def Poles(self) -> math_Matrix: ... class AppDef_BSplineCompute: - @overload - def __init__(self, Line: AppDef_MultiLine, degreemin: Optional[int] = 4, degreemax: Optional[int] = 8, Tolerance3d: Optional[float] = 1.0e-3, Tolerance2d: Optional[float] = 1.0e-6, NbIterations: Optional[int] = 5, cutting: Optional[bool] = True, parametrization: Optional[Approx_ParametrizationType] = Approx_ChordLength, Squares: Optional[bool] = False) -> None: ... - @overload - def __init__(self, Line: AppDef_MultiLine, Parameters: math_Vector, degreemin: Optional[int] = 4, degreemax: Optional[int] = 8, Tolerance3d: Optional[float] = 1.0e-03, Tolerance2d: Optional[float] = 1.0e-06, NbIterations: Optional[int] = 5, cutting: Optional[bool] = True, Squares: Optional[bool] = False) -> None: ... - @overload - def __init__(self, Parameters: math_Vector, degreemin: Optional[int] = 4, degreemax: Optional[int] = 8, Tolerance3d: Optional[float] = 1.0e-03, Tolerance2d: Optional[float] = 1.0e-06, NbIterations: Optional[int] = 5, cutting: Optional[bool] = True, Squares: Optional[bool] = False) -> None: ... - @overload - def __init__(self, degreemin: Optional[int] = 4, degreemax: Optional[int] = 8, Tolerance3d: Optional[float] = 1.0e-03, Tolerance2d: Optional[float] = 1.0e-06, NbIterations: Optional[int] = 5, cutting: Optional[bool] = True, parametrization: Optional[Approx_ParametrizationType] = Approx_ChordLength, Squares: Optional[bool] = False) -> None: ... - def ChangeValue(self) -> AppParCurves_MultiBSpCurve: ... - def Error(self) -> Tuple[float, float]: ... - def Init(self, degreemin: Optional[int] = 4, degreemax: Optional[int] = 8, Tolerance3d: Optional[float] = 1.0e-03, Tolerance2d: Optional[float] = 1.0e-06, NbIterations: Optional[int] = 5, cutting: Optional[bool] = True, parametrization: Optional[Approx_ParametrizationType] = Approx_ChordLength, Squares: Optional[bool] = False) -> None: ... - def Interpol(self, Line: AppDef_MultiLine) -> None: ... - def IsAllApproximated(self) -> bool: ... - def IsToleranceReached(self) -> bool: ... - def Parameters(self) -> TColStd_Array1OfReal: ... - def Perform(self, Line: AppDef_MultiLine) -> None: ... - def SetConstraints(self, firstC: AppParCurves_Constraint, lastC: AppParCurves_Constraint) -> None: ... - def SetContinuity(self, C: int) -> None: ... - def SetDegrees(self, degreemin: int, degreemax: int) -> None: ... - def SetKnots(self, Knots: TColStd_Array1OfReal) -> None: ... - def SetKnotsAndMultiplicities(self, Knots: TColStd_Array1OfReal, Mults: TColStd_Array1OfInteger) -> None: ... - def SetParameters(self, ThePar: math_Vector) -> None: ... - def SetPeriodic(self, thePeriodic: bool) -> None: ... - def SetTolerances(self, Tolerance3d: float, Tolerance2d: float) -> None: ... - def Value(self) -> AppParCurves_MultiBSpCurve: ... + @overload + def __init__( + self, + Line: AppDef_MultiLine, + degreemin: Optional[int] = 4, + degreemax: Optional[int] = 8, + Tolerance3d: Optional[float] = 1.0e-3, + Tolerance2d: Optional[float] = 1.0e-6, + NbIterations: Optional[int] = 5, + cutting: Optional[bool] = True, + parametrization: Optional[Approx_ParametrizationType] = Approx_ChordLength, + Squares: Optional[bool] = False, + ) -> None: ... + @overload + def __init__( + self, + Line: AppDef_MultiLine, + Parameters: math_Vector, + degreemin: Optional[int] = 4, + degreemax: Optional[int] = 8, + Tolerance3d: Optional[float] = 1.0e-03, + Tolerance2d: Optional[float] = 1.0e-06, + NbIterations: Optional[int] = 5, + cutting: Optional[bool] = True, + Squares: Optional[bool] = False, + ) -> None: ... + @overload + def __init__( + self, + Parameters: math_Vector, + degreemin: Optional[int] = 4, + degreemax: Optional[int] = 8, + Tolerance3d: Optional[float] = 1.0e-03, + Tolerance2d: Optional[float] = 1.0e-06, + NbIterations: Optional[int] = 5, + cutting: Optional[bool] = True, + Squares: Optional[bool] = False, + ) -> None: ... + @overload + def __init__( + self, + degreemin: Optional[int] = 4, + degreemax: Optional[int] = 8, + Tolerance3d: Optional[float] = 1.0e-03, + Tolerance2d: Optional[float] = 1.0e-06, + NbIterations: Optional[int] = 5, + cutting: Optional[bool] = True, + parametrization: Optional[Approx_ParametrizationType] = Approx_ChordLength, + Squares: Optional[bool] = False, + ) -> None: ... + def ChangeValue(self) -> AppParCurves_MultiBSpCurve: ... + def Error(self) -> Tuple[float, float]: ... + def Init( + self, + degreemin: Optional[int] = 4, + degreemax: Optional[int] = 8, + Tolerance3d: Optional[float] = 1.0e-03, + Tolerance2d: Optional[float] = 1.0e-06, + NbIterations: Optional[int] = 5, + cutting: Optional[bool] = True, + parametrization: Optional[Approx_ParametrizationType] = Approx_ChordLength, + Squares: Optional[bool] = False, + ) -> None: ... + def Interpol(self, Line: AppDef_MultiLine) -> None: ... + def IsAllApproximated(self) -> bool: ... + def IsToleranceReached(self) -> bool: ... + def Parameters(self) -> TColStd_Array1OfReal: ... + def Perform(self, Line: AppDef_MultiLine) -> None: ... + def SetConstraints( + self, firstC: AppParCurves_Constraint, lastC: AppParCurves_Constraint + ) -> None: ... + def SetContinuity(self, C: int) -> None: ... + def SetDegrees(self, degreemin: int, degreemax: int) -> None: ... + def SetKnots(self, Knots: TColStd_Array1OfReal) -> None: ... + def SetKnotsAndMultiplicities( + self, Knots: TColStd_Array1OfReal, Mults: TColStd_Array1OfInteger + ) -> None: ... + def SetParameters(self, ThePar: math_Vector) -> None: ... + def SetPeriodic(self, thePeriodic: bool) -> None: ... + def SetTolerances(self, Tolerance3d: float, Tolerance2d: float) -> None: ... + def Value(self) -> AppParCurves_MultiBSpCurve: ... class AppDef_Compute: - @overload - def __init__(self, Line: AppDef_MultiLine, degreemin: Optional[int] = 4, degreemax: Optional[int] = 8, Tolerance3d: Optional[float] = 1.0e-3, Tolerance2d: Optional[float] = 1.0e-6, NbIterations: Optional[int] = 5, cutting: Optional[bool] = True, parametrization: Optional[Approx_ParametrizationType] = Approx_ChordLength, Squares: Optional[bool] = False) -> None: ... - @overload - def __init__(self, Line: AppDef_MultiLine, Parameters: math_Vector, degreemin: Optional[int] = 4, degreemax: Optional[int] = 8, Tolerance3d: Optional[float] = 1.0e-03, Tolerance2d: Optional[float] = 1.0e-06, NbIterations: Optional[int] = 5, cutting: Optional[bool] = True, Squares: Optional[bool] = False) -> None: ... - @overload - def __init__(self, Parameters: math_Vector, degreemin: Optional[int] = 4, degreemax: Optional[int] = 8, Tolerance3d: Optional[float] = 1.0e-03, Tolerance2d: Optional[float] = 1.0e-06, NbIterations: Optional[int] = 5, cutting: Optional[bool] = True, Squares: Optional[bool] = False) -> None: ... - @overload - def __init__(self, degreemin: Optional[int] = 4, degreemax: Optional[int] = 8, Tolerance3d: Optional[float] = 1.0e-03, Tolerance2d: Optional[float] = 1.0e-06, NbIterations: Optional[int] = 5, cutting: Optional[bool] = True, parametrization: Optional[Approx_ParametrizationType] = Approx_ChordLength, Squares: Optional[bool] = False) -> None: ... - def ChangeValue(self, Index: Optional[int] = 1) -> AppParCurves_MultiCurve: ... - def Error(self, Index: int) -> Tuple[float, float]: ... - def Init(self, degreemin: Optional[int] = 4, degreemax: Optional[int] = 8, Tolerance3d: Optional[float] = 1.0e-03, Tolerance2d: Optional[float] = 1.0e-06, NbIterations: Optional[int] = 5, cutting: Optional[bool] = True, parametrization: Optional[Approx_ParametrizationType] = Approx_ChordLength, Squares: Optional[bool] = False) -> None: ... - def IsAllApproximated(self) -> bool: ... - def IsToleranceReached(self) -> bool: ... - def NbMultiCurves(self) -> int: ... - def Parameters(self, Index: Optional[int] = 1) -> TColStd_Array1OfReal: ... - def Parametrization(self) -> Approx_ParametrizationType: ... - def Perform(self, Line: AppDef_MultiLine) -> None: ... - def SetConstraints(self, firstC: AppParCurves_Constraint, lastC: AppParCurves_Constraint) -> None: ... - def SetDegrees(self, degreemin: int, degreemax: int) -> None: ... - def SetTolerances(self, Tolerance3d: float, Tolerance2d: float) -> None: ... - def SplineValue(self) -> AppParCurves_MultiBSpCurve: ... - def Value(self, Index: Optional[int] = 1) -> AppParCurves_MultiCurve: ... + @overload + def __init__( + self, + Line: AppDef_MultiLine, + degreemin: Optional[int] = 4, + degreemax: Optional[int] = 8, + Tolerance3d: Optional[float] = 1.0e-3, + Tolerance2d: Optional[float] = 1.0e-6, + NbIterations: Optional[int] = 5, + cutting: Optional[bool] = True, + parametrization: Optional[Approx_ParametrizationType] = Approx_ChordLength, + Squares: Optional[bool] = False, + ) -> None: ... + @overload + def __init__( + self, + Line: AppDef_MultiLine, + Parameters: math_Vector, + degreemin: Optional[int] = 4, + degreemax: Optional[int] = 8, + Tolerance3d: Optional[float] = 1.0e-03, + Tolerance2d: Optional[float] = 1.0e-06, + NbIterations: Optional[int] = 5, + cutting: Optional[bool] = True, + Squares: Optional[bool] = False, + ) -> None: ... + @overload + def __init__( + self, + Parameters: math_Vector, + degreemin: Optional[int] = 4, + degreemax: Optional[int] = 8, + Tolerance3d: Optional[float] = 1.0e-03, + Tolerance2d: Optional[float] = 1.0e-06, + NbIterations: Optional[int] = 5, + cutting: Optional[bool] = True, + Squares: Optional[bool] = False, + ) -> None: ... + @overload + def __init__( + self, + degreemin: Optional[int] = 4, + degreemax: Optional[int] = 8, + Tolerance3d: Optional[float] = 1.0e-03, + Tolerance2d: Optional[float] = 1.0e-06, + NbIterations: Optional[int] = 5, + cutting: Optional[bool] = True, + parametrization: Optional[Approx_ParametrizationType] = Approx_ChordLength, + Squares: Optional[bool] = False, + ) -> None: ... + def ChangeValue(self, Index: Optional[int] = 1) -> AppParCurves_MultiCurve: ... + def Error(self, Index: int) -> Tuple[float, float]: ... + def Init( + self, + degreemin: Optional[int] = 4, + degreemax: Optional[int] = 8, + Tolerance3d: Optional[float] = 1.0e-03, + Tolerance2d: Optional[float] = 1.0e-06, + NbIterations: Optional[int] = 5, + cutting: Optional[bool] = True, + parametrization: Optional[Approx_ParametrizationType] = Approx_ChordLength, + Squares: Optional[bool] = False, + ) -> None: ... + def IsAllApproximated(self) -> bool: ... + def IsToleranceReached(self) -> bool: ... + def NbMultiCurves(self) -> int: ... + def Parameters(self, Index: Optional[int] = 1) -> TColStd_Array1OfReal: ... + def Parametrization(self) -> Approx_ParametrizationType: ... + def Perform(self, Line: AppDef_MultiLine) -> None: ... + def SetConstraints( + self, firstC: AppParCurves_Constraint, lastC: AppParCurves_Constraint + ) -> None: ... + def SetDegrees(self, degreemin: int, degreemax: int) -> None: ... + def SetTolerances(self, Tolerance3d: float, Tolerance2d: float) -> None: ... + def SplineValue(self) -> AppParCurves_MultiBSpCurve: ... + def Value(self, Index: Optional[int] = 1) -> AppParCurves_MultiCurve: ... class AppDef_Gradient_BFGSOfMyGradientOfCompute(math_BFGS): - def __init__(self, F: math_MultipleVarFunctionWithGradient, StartingPoint: math_Vector, Tolerance3d: float, Tolerance2d: float, Eps: float, NbIterations: Optional[int] = 200) -> None: ... - def IsSolutionReached(self, F: math_MultipleVarFunctionWithGradient) -> bool: ... + def __init__( + self, + F: math_MultipleVarFunctionWithGradient, + StartingPoint: math_Vector, + Tolerance3d: float, + Tolerance2d: float, + Eps: float, + NbIterations: Optional[int] = 200, + ) -> None: ... + def IsSolutionReached(self, F: math_MultipleVarFunctionWithGradient) -> bool: ... class AppDef_Gradient_BFGSOfMyGradientbisOfBSplineCompute(math_BFGS): - def __init__(self, F: math_MultipleVarFunctionWithGradient, StartingPoint: math_Vector, Tolerance3d: float, Tolerance2d: float, Eps: float, NbIterations: Optional[int] = 200) -> None: ... - def IsSolutionReached(self, F: math_MultipleVarFunctionWithGradient) -> bool: ... + def __init__( + self, + F: math_MultipleVarFunctionWithGradient, + StartingPoint: math_Vector, + Tolerance3d: float, + Tolerance2d: float, + Eps: float, + NbIterations: Optional[int] = 200, + ) -> None: ... + def IsSolutionReached(self, F: math_MultipleVarFunctionWithGradient) -> bool: ... class AppDef_Gradient_BFGSOfTheGradient(math_BFGS): - def __init__(self, F: math_MultipleVarFunctionWithGradient, StartingPoint: math_Vector, Tolerance3d: float, Tolerance2d: float, Eps: float, NbIterations: Optional[int] = 200) -> None: ... - def IsSolutionReached(self, F: math_MultipleVarFunctionWithGradient) -> bool: ... + def __init__( + self, + F: math_MultipleVarFunctionWithGradient, + StartingPoint: math_Vector, + Tolerance3d: float, + Tolerance2d: float, + Eps: float, + NbIterations: Optional[int] = 200, + ) -> None: ... + def IsSolutionReached(self, F: math_MultipleVarFunctionWithGradient) -> bool: ... class AppDef_MultiLine: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, NbMult: int) -> None: ... - @overload - def __init__(self, tabMultiP: AppDef_Array1OfMultiPointConstraint) -> None: ... - @overload - def __init__(self, tabP3d: TColgp_Array1OfPnt) -> None: ... - @overload - def __init__(self, tabP2d: TColgp_Array1OfPnt2d) -> None: ... - def NbMultiPoints(self) -> int: ... - def NbPoints(self) -> int: ... - def SetValue(self, Index: int, MPoint: AppDef_MultiPointConstraint) -> None: ... - def Value(self, Index: int) -> AppDef_MultiPointConstraint: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, NbMult: int) -> None: ... + @overload + def __init__(self, tabMultiP: AppDef_Array1OfMultiPointConstraint) -> None: ... + @overload + def __init__(self, tabP3d: TColgp_Array1OfPnt) -> None: ... + @overload + def __init__(self, tabP2d: TColgp_Array1OfPnt2d) -> None: ... + def Dump(self) -> str: ... + def NbMultiPoints(self) -> int: ... + def NbPoints(self) -> int: ... + def SetValue(self, Index: int, MPoint: AppDef_MultiPointConstraint) -> None: ... + def Value(self, Index: int) -> AppDef_MultiPointConstraint: ... class AppDef_MultiPointConstraint(AppParCurves_MultiPoint): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, NbPoints: int, NbPoints2d: int) -> None: ... - @overload - def __init__(self, tabP: TColgp_Array1OfPnt) -> None: ... - @overload - def __init__(self, tabP: TColgp_Array1OfPnt2d) -> None: ... - @overload - def __init__(self, tabP: TColgp_Array1OfPnt, tabP2d: TColgp_Array1OfPnt2d) -> None: ... - @overload - def __init__(self, tabP: TColgp_Array1OfPnt, tabP2d: TColgp_Array1OfPnt2d, tabVec: TColgp_Array1OfVec, tabVec2d: TColgp_Array1OfVec2d, tabCur: TColgp_Array1OfVec, tabCur2d: TColgp_Array1OfVec2d) -> None: ... - @overload - def __init__(self, tabP: TColgp_Array1OfPnt, tabP2d: TColgp_Array1OfPnt2d, tabVec: TColgp_Array1OfVec, tabVec2d: TColgp_Array1OfVec2d) -> None: ... - @overload - def __init__(self, tabP: TColgp_Array1OfPnt, tabVec: TColgp_Array1OfVec, tabCur: TColgp_Array1OfVec) -> None: ... - @overload - def __init__(self, tabP: TColgp_Array1OfPnt, tabVec: TColgp_Array1OfVec) -> None: ... - @overload - def __init__(self, tabP2d: TColgp_Array1OfPnt2d, tabVec2d: TColgp_Array1OfVec2d) -> None: ... - @overload - def __init__(self, tabP2d: TColgp_Array1OfPnt2d, tabVec2d: TColgp_Array1OfVec2d, tabCur2d: TColgp_Array1OfVec2d) -> None: ... - def Curv(self, Index: int) -> gp_Vec: ... - def Curv2d(self, Index: int) -> gp_Vec2d: ... - def IsCurvaturePoint(self) -> bool: ... - def IsTangencyPoint(self) -> bool: ... - def SetCurv(self, Index: int, Curv: gp_Vec) -> None: ... - def SetCurv2d(self, Index: int, Curv2d: gp_Vec2d) -> None: ... - def SetTang(self, Index: int, Tang: gp_Vec) -> None: ... - def SetTang2d(self, Index: int, Tang2d: gp_Vec2d) -> None: ... - def Tang(self, Index: int) -> gp_Vec: ... - def Tang2d(self, Index: int) -> gp_Vec2d: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, NbPoints: int, NbPoints2d: int) -> None: ... + @overload + def __init__(self, tabP: TColgp_Array1OfPnt) -> None: ... + @overload + def __init__(self, tabP: TColgp_Array1OfPnt2d) -> None: ... + @overload + def __init__( + self, tabP: TColgp_Array1OfPnt, tabP2d: TColgp_Array1OfPnt2d + ) -> None: ... + @overload + def __init__( + self, + tabP: TColgp_Array1OfPnt, + tabP2d: TColgp_Array1OfPnt2d, + tabVec: TColgp_Array1OfVec, + tabVec2d: TColgp_Array1OfVec2d, + tabCur: TColgp_Array1OfVec, + tabCur2d: TColgp_Array1OfVec2d, + ) -> None: ... + @overload + def __init__( + self, + tabP: TColgp_Array1OfPnt, + tabP2d: TColgp_Array1OfPnt2d, + tabVec: TColgp_Array1OfVec, + tabVec2d: TColgp_Array1OfVec2d, + ) -> None: ... + @overload + def __init__( + self, + tabP: TColgp_Array1OfPnt, + tabVec: TColgp_Array1OfVec, + tabCur: TColgp_Array1OfVec, + ) -> None: ... + @overload + def __init__( + self, tabP: TColgp_Array1OfPnt, tabVec: TColgp_Array1OfVec + ) -> None: ... + @overload + def __init__( + self, tabP2d: TColgp_Array1OfPnt2d, tabVec2d: TColgp_Array1OfVec2d + ) -> None: ... + @overload + def __init__( + self, + tabP2d: TColgp_Array1OfPnt2d, + tabVec2d: TColgp_Array1OfVec2d, + tabCur2d: TColgp_Array1OfVec2d, + ) -> None: ... + def Curv(self, Index: int) -> gp_Vec: ... + def Curv2d(self, Index: int) -> gp_Vec2d: ... + def Dump(self) -> str: ... + def IsCurvaturePoint(self) -> bool: ... + def IsTangencyPoint(self) -> bool: ... + def SetCurv(self, Index: int, Curv: gp_Vec) -> None: ... + def SetCurv2d(self, Index: int, Curv2d: gp_Vec2d) -> None: ... + def SetTang(self, Index: int, Tang: gp_Vec) -> None: ... + def SetTang2d(self, Index: int, Tang2d: gp_Vec2d) -> None: ... + def Tang(self, Index: int) -> gp_Vec: ... + def Tang2d(self, Index: int) -> gp_Vec2d: ... class AppDef_MyBSplGradientOfBSplineCompute: - @overload - def __init__(self, SSP: AppDef_MultiLine, FirstPoint: int, LastPoint: int, TheConstraints: AppParCurves_HArray1OfConstraintCouple, Parameters: math_Vector, Knots: TColStd_Array1OfReal, Mults: TColStd_Array1OfInteger, Deg: int, Tol3d: float, Tol2d: float, NbIterations: Optional[int] = 1) -> None: ... - @overload - def __init__(self, SSP: AppDef_MultiLine, FirstPoint: int, LastPoint: int, TheConstraints: AppParCurves_HArray1OfConstraintCouple, Parameters: math_Vector, Knots: TColStd_Array1OfReal, Mults: TColStd_Array1OfInteger, Deg: int, Tol3d: float, Tol2d: float, NbIterations: int, lambda1: float, lambda2: float) -> None: ... - def AverageError(self) -> float: ... - def Error(self, Index: int) -> float: ... - def IsDone(self) -> bool: ... - def MaxError2d(self) -> float: ... - def MaxError3d(self) -> float: ... - def Value(self) -> AppParCurves_MultiBSpCurve: ... + @overload + def __init__( + self, + SSP: AppDef_MultiLine, + FirstPoint: int, + LastPoint: int, + TheConstraints: AppParCurves_HArray1OfConstraintCouple, + Parameters: math_Vector, + Knots: TColStd_Array1OfReal, + Mults: TColStd_Array1OfInteger, + Deg: int, + Tol3d: float, + Tol2d: float, + NbIterations: Optional[int] = 1, + ) -> None: ... + @overload + def __init__( + self, + SSP: AppDef_MultiLine, + FirstPoint: int, + LastPoint: int, + TheConstraints: AppParCurves_HArray1OfConstraintCouple, + Parameters: math_Vector, + Knots: TColStd_Array1OfReal, + Mults: TColStd_Array1OfInteger, + Deg: int, + Tol3d: float, + Tol2d: float, + NbIterations: int, + lambda1: float, + lambda2: float, + ) -> None: ... + def AverageError(self) -> float: ... + def Error(self, Index: int) -> float: ... + def IsDone(self) -> bool: ... + def MaxError2d(self) -> float: ... + def MaxError3d(self) -> float: ... + def Value(self) -> AppParCurves_MultiBSpCurve: ... class AppDef_MyGradientOfCompute: - def __init__(self, SSP: AppDef_MultiLine, FirstPoint: int, LastPoint: int, TheConstraints: AppParCurves_HArray1OfConstraintCouple, Parameters: math_Vector, Deg: int, Tol3d: float, Tol2d: float, NbIterations: Optional[int] = 200) -> None: ... - def AverageError(self) -> float: ... - def Error(self, Index: int) -> float: ... - def IsDone(self) -> bool: ... - def MaxError2d(self) -> float: ... - def MaxError3d(self) -> float: ... - def Value(self) -> AppParCurves_MultiCurve: ... + def __init__( + self, + SSP: AppDef_MultiLine, + FirstPoint: int, + LastPoint: int, + TheConstraints: AppParCurves_HArray1OfConstraintCouple, + Parameters: math_Vector, + Deg: int, + Tol3d: float, + Tol2d: float, + NbIterations: Optional[int] = 200, + ) -> None: ... + def AverageError(self) -> float: ... + def Error(self, Index: int) -> float: ... + def IsDone(self) -> bool: ... + def MaxError2d(self) -> float: ... + def MaxError3d(self) -> float: ... + def Value(self) -> AppParCurves_MultiCurve: ... class AppDef_MyGradientbisOfBSplineCompute: - def __init__(self, SSP: AppDef_MultiLine, FirstPoint: int, LastPoint: int, TheConstraints: AppParCurves_HArray1OfConstraintCouple, Parameters: math_Vector, Deg: int, Tol3d: float, Tol2d: float, NbIterations: Optional[int] = 200) -> None: ... - def AverageError(self) -> float: ... - def Error(self, Index: int) -> float: ... - def IsDone(self) -> bool: ... - def MaxError2d(self) -> float: ... - def MaxError3d(self) -> float: ... - def Value(self) -> AppParCurves_MultiCurve: ... + def __init__( + self, + SSP: AppDef_MultiLine, + FirstPoint: int, + LastPoint: int, + TheConstraints: AppParCurves_HArray1OfConstraintCouple, + Parameters: math_Vector, + Deg: int, + Tol3d: float, + Tol2d: float, + NbIterations: Optional[int] = 200, + ) -> None: ... + def AverageError(self) -> float: ... + def Error(self, Index: int) -> float: ... + def IsDone(self) -> bool: ... + def MaxError2d(self) -> float: ... + def MaxError3d(self) -> float: ... + def Value(self) -> AppParCurves_MultiCurve: ... class AppDef_MyLineTool: - @overload - @staticmethod - def Curvature(ML: AppDef_MultiLine, MPointIndex: int, tabV: TColgp_Array1OfVec) -> bool: ... - @overload - @staticmethod - def Curvature(ML: AppDef_MultiLine, MPointIndex: int, tabV2d: TColgp_Array1OfVec2d) -> bool: ... - @overload - @staticmethod - def Curvature(ML: AppDef_MultiLine, MPointIndex: int, tabV: TColgp_Array1OfVec, tabV2d: TColgp_Array1OfVec2d) -> bool: ... - @staticmethod - def FirstPoint(ML: AppDef_MultiLine) -> int: ... - @staticmethod - def LastPoint(ML: AppDef_MultiLine) -> int: ... - @staticmethod - def MakeMLBetween(ML: AppDef_MultiLine, I1: int, I2: int, NbPMin: int) -> AppDef_MultiLine: ... - @staticmethod - def MakeMLOneMorePoint(ML: AppDef_MultiLine, I1: int, I2: int, indbad: int, OtherLine: AppDef_MultiLine) -> bool: ... - @staticmethod - def NbP2d(ML: AppDef_MultiLine) -> int: ... - @staticmethod - def NbP3d(ML: AppDef_MultiLine) -> int: ... - @overload - @staticmethod - def Tangency(ML: AppDef_MultiLine, MPointIndex: int, tabV: TColgp_Array1OfVec) -> bool: ... - @overload - @staticmethod - def Tangency(ML: AppDef_MultiLine, MPointIndex: int, tabV2d: TColgp_Array1OfVec2d) -> bool: ... - @overload - @staticmethod - def Tangency(ML: AppDef_MultiLine, MPointIndex: int, tabV: TColgp_Array1OfVec, tabV2d: TColgp_Array1OfVec2d) -> bool: ... - @overload - @staticmethod - def Value(ML: AppDef_MultiLine, MPointIndex: int, tabPt: TColgp_Array1OfPnt) -> None: ... - @overload - @staticmethod - def Value(ML: AppDef_MultiLine, MPointIndex: int, tabPt2d: TColgp_Array1OfPnt2d) -> None: ... - @overload - @staticmethod - def Value(ML: AppDef_MultiLine, MPointIndex: int, tabPt: TColgp_Array1OfPnt, tabPt2d: TColgp_Array1OfPnt2d) -> None: ... - @staticmethod - def WhatStatus(ML: AppDef_MultiLine, I1: int, I2: int) -> Approx_Status: ... + @overload + @staticmethod + def Curvature( + ML: AppDef_MultiLine, MPointIndex: int, tabV: TColgp_Array1OfVec + ) -> bool: ... + @overload + @staticmethod + def Curvature( + ML: AppDef_MultiLine, MPointIndex: int, tabV2d: TColgp_Array1OfVec2d + ) -> bool: ... + @overload + @staticmethod + def Curvature( + ML: AppDef_MultiLine, + MPointIndex: int, + tabV: TColgp_Array1OfVec, + tabV2d: TColgp_Array1OfVec2d, + ) -> bool: ... + @staticmethod + def FirstPoint(ML: AppDef_MultiLine) -> int: ... + @staticmethod + def LastPoint(ML: AppDef_MultiLine) -> int: ... + @staticmethod + def MakeMLBetween( + ML: AppDef_MultiLine, I1: int, I2: int, NbPMin: int + ) -> AppDef_MultiLine: ... + @staticmethod + def MakeMLOneMorePoint( + ML: AppDef_MultiLine, I1: int, I2: int, indbad: int, OtherLine: AppDef_MultiLine + ) -> bool: ... + @staticmethod + def NbP2d(ML: AppDef_MultiLine) -> int: ... + @staticmethod + def NbP3d(ML: AppDef_MultiLine) -> int: ... + @overload + @staticmethod + def Tangency( + ML: AppDef_MultiLine, MPointIndex: int, tabV: TColgp_Array1OfVec + ) -> bool: ... + @overload + @staticmethod + def Tangency( + ML: AppDef_MultiLine, MPointIndex: int, tabV2d: TColgp_Array1OfVec2d + ) -> bool: ... + @overload + @staticmethod + def Tangency( + ML: AppDef_MultiLine, + MPointIndex: int, + tabV: TColgp_Array1OfVec, + tabV2d: TColgp_Array1OfVec2d, + ) -> bool: ... + @overload + @staticmethod + def Value( + ML: AppDef_MultiLine, MPointIndex: int, tabPt: TColgp_Array1OfPnt + ) -> None: ... + @overload + @staticmethod + def Value( + ML: AppDef_MultiLine, MPointIndex: int, tabPt2d: TColgp_Array1OfPnt2d + ) -> None: ... + @overload + @staticmethod + def Value( + ML: AppDef_MultiLine, + MPointIndex: int, + tabPt: TColgp_Array1OfPnt, + tabPt2d: TColgp_Array1OfPnt2d, + ) -> None: ... + @staticmethod + def WhatStatus(ML: AppDef_MultiLine, I1: int, I2: int) -> Approx_Status: ... class AppDef_ParFunctionOfMyGradientOfCompute(math_MultipleVarFunctionWithGradient): - def __init__(self, SSP: AppDef_MultiLine, FirstPoint: int, LastPoint: int, TheConstraints: AppParCurves_HArray1OfConstraintCouple, Parameters: math_Vector, Deg: int) -> None: ... - def CurveValue(self) -> AppParCurves_MultiCurve: ... - def Error(self, IPoint: int, CurveIndex: int) -> float: ... - def FirstConstraint(self, TheConstraints: AppParCurves_HArray1OfConstraintCouple, FirstPoint: int) -> AppParCurves_Constraint: ... - def Gradient(self, X: math_Vector, G: math_Vector) -> bool: ... - def LastConstraint(self, TheConstraints: AppParCurves_HArray1OfConstraintCouple, LastPoint: int) -> AppParCurves_Constraint: ... - def MaxError2d(self) -> float: ... - def MaxError3d(self) -> float: ... - def NbVariables(self) -> int: ... - def NewParameters(self) -> math_Vector: ... - def Value(self, X: math_Vector) -> Tuple[bool, float]: ... - def Values(self, X: math_Vector, G: math_Vector) -> Tuple[bool, float]: ... - -class AppDef_ParFunctionOfMyGradientbisOfBSplineCompute(math_MultipleVarFunctionWithGradient): - def __init__(self, SSP: AppDef_MultiLine, FirstPoint: int, LastPoint: int, TheConstraints: AppParCurves_HArray1OfConstraintCouple, Parameters: math_Vector, Deg: int) -> None: ... - def CurveValue(self) -> AppParCurves_MultiCurve: ... - def Error(self, IPoint: int, CurveIndex: int) -> float: ... - def FirstConstraint(self, TheConstraints: AppParCurves_HArray1OfConstraintCouple, FirstPoint: int) -> AppParCurves_Constraint: ... - def Gradient(self, X: math_Vector, G: math_Vector) -> bool: ... - def LastConstraint(self, TheConstraints: AppParCurves_HArray1OfConstraintCouple, LastPoint: int) -> AppParCurves_Constraint: ... - def MaxError2d(self) -> float: ... - def MaxError3d(self) -> float: ... - def NbVariables(self) -> int: ... - def NewParameters(self) -> math_Vector: ... - def Value(self, X: math_Vector) -> Tuple[bool, float]: ... - def Values(self, X: math_Vector, G: math_Vector) -> Tuple[bool, float]: ... + def __init__( + self, + SSP: AppDef_MultiLine, + FirstPoint: int, + LastPoint: int, + TheConstraints: AppParCurves_HArray1OfConstraintCouple, + Parameters: math_Vector, + Deg: int, + ) -> None: ... + def CurveValue(self) -> AppParCurves_MultiCurve: ... + def Error(self, IPoint: int, CurveIndex: int) -> float: ... + def FirstConstraint( + self, TheConstraints: AppParCurves_HArray1OfConstraintCouple, FirstPoint: int + ) -> AppParCurves_Constraint: ... + def Gradient(self, X: math_Vector, G: math_Vector) -> bool: ... + def LastConstraint( + self, TheConstraints: AppParCurves_HArray1OfConstraintCouple, LastPoint: int + ) -> AppParCurves_Constraint: ... + def MaxError2d(self) -> float: ... + def MaxError3d(self) -> float: ... + def NbVariables(self) -> int: ... + def NewParameters(self) -> math_Vector: ... + def Value(self, X: math_Vector) -> Tuple[bool, float]: ... + def Values(self, X: math_Vector, G: math_Vector) -> Tuple[bool, float]: ... + +class AppDef_ParFunctionOfMyGradientbisOfBSplineCompute( + math_MultipleVarFunctionWithGradient +): + def __init__( + self, + SSP: AppDef_MultiLine, + FirstPoint: int, + LastPoint: int, + TheConstraints: AppParCurves_HArray1OfConstraintCouple, + Parameters: math_Vector, + Deg: int, + ) -> None: ... + def CurveValue(self) -> AppParCurves_MultiCurve: ... + def Error(self, IPoint: int, CurveIndex: int) -> float: ... + def FirstConstraint( + self, TheConstraints: AppParCurves_HArray1OfConstraintCouple, FirstPoint: int + ) -> AppParCurves_Constraint: ... + def Gradient(self, X: math_Vector, G: math_Vector) -> bool: ... + def LastConstraint( + self, TheConstraints: AppParCurves_HArray1OfConstraintCouple, LastPoint: int + ) -> AppParCurves_Constraint: ... + def MaxError2d(self) -> float: ... + def MaxError3d(self) -> float: ... + def NbVariables(self) -> int: ... + def NewParameters(self) -> math_Vector: ... + def Value(self, X: math_Vector) -> Tuple[bool, float]: ... + def Values(self, X: math_Vector, G: math_Vector) -> Tuple[bool, float]: ... class AppDef_ParFunctionOfTheGradient(math_MultipleVarFunctionWithGradient): - def __init__(self, SSP: AppDef_MultiLine, FirstPoint: int, LastPoint: int, TheConstraints: AppParCurves_HArray1OfConstraintCouple, Parameters: math_Vector, Deg: int) -> None: ... - def CurveValue(self) -> AppParCurves_MultiCurve: ... - def Error(self, IPoint: int, CurveIndex: int) -> float: ... - def FirstConstraint(self, TheConstraints: AppParCurves_HArray1OfConstraintCouple, FirstPoint: int) -> AppParCurves_Constraint: ... - def Gradient(self, X: math_Vector, G: math_Vector) -> bool: ... - def LastConstraint(self, TheConstraints: AppParCurves_HArray1OfConstraintCouple, LastPoint: int) -> AppParCurves_Constraint: ... - def MaxError2d(self) -> float: ... - def MaxError3d(self) -> float: ... - def NbVariables(self) -> int: ... - def NewParameters(self) -> math_Vector: ... - def Value(self, X: math_Vector) -> Tuple[bool, float]: ... - def Values(self, X: math_Vector, G: math_Vector) -> Tuple[bool, float]: ... + def __init__( + self, + SSP: AppDef_MultiLine, + FirstPoint: int, + LastPoint: int, + TheConstraints: AppParCurves_HArray1OfConstraintCouple, + Parameters: math_Vector, + Deg: int, + ) -> None: ... + def CurveValue(self) -> AppParCurves_MultiCurve: ... + def Error(self, IPoint: int, CurveIndex: int) -> float: ... + def FirstConstraint( + self, TheConstraints: AppParCurves_HArray1OfConstraintCouple, FirstPoint: int + ) -> AppParCurves_Constraint: ... + def Gradient(self, X: math_Vector, G: math_Vector) -> bool: ... + def LastConstraint( + self, TheConstraints: AppParCurves_HArray1OfConstraintCouple, LastPoint: int + ) -> AppParCurves_Constraint: ... + def MaxError2d(self) -> float: ... + def MaxError3d(self) -> float: ... + def NbVariables(self) -> int: ... + def NewParameters(self) -> math_Vector: ... + def Value(self, X: math_Vector) -> Tuple[bool, float]: ... + def Values(self, X: math_Vector, G: math_Vector) -> Tuple[bool, float]: ... class AppDef_ParLeastSquareOfMyGradientOfCompute: - @overload - def __init__(self, SSP: AppDef_MultiLine, FirstPoint: int, LastPoint: int, FirstCons: AppParCurves_Constraint, LastCons: AppParCurves_Constraint, Parameters: math_Vector, NbPol: int) -> None: ... - @overload - def __init__(self, SSP: AppDef_MultiLine, FirstPoint: int, LastPoint: int, FirstCons: AppParCurves_Constraint, LastCons: AppParCurves_Constraint, NbPol: int) -> None: ... - @overload - def __init__(self, SSP: AppDef_MultiLine, Knots: TColStd_Array1OfReal, Mults: TColStd_Array1OfInteger, FirstPoint: int, LastPoint: int, FirstCons: AppParCurves_Constraint, LastCons: AppParCurves_Constraint, Parameters: math_Vector, NbPol: int) -> None: ... - @overload - def __init__(self, SSP: AppDef_MultiLine, Knots: TColStd_Array1OfReal, Mults: TColStd_Array1OfInteger, FirstPoint: int, LastPoint: int, FirstCons: AppParCurves_Constraint, LastCons: AppParCurves_Constraint, NbPol: int) -> None: ... - def BSplineValue(self) -> AppParCurves_MultiBSpCurve: ... - def BezierValue(self) -> AppParCurves_MultiCurve: ... - def DerivativeFunctionMatrix(self) -> math_Matrix: ... - def Distance(self) -> math_Matrix: ... - def Error(self) -> Tuple[float, float, float]: ... - def ErrorGradient(self, Grad: math_Vector) -> Tuple[float, float, float]: ... - def FirstLambda(self) -> float: ... - def FunctionMatrix(self) -> math_Matrix: ... - def IsDone(self) -> bool: ... - def KIndex(self) -> math_IntegerVector: ... - def LastLambda(self) -> float: ... - @overload - def Perform(self, Parameters: math_Vector) -> None: ... - @overload - def Perform(self, Parameters: math_Vector, l1: float, l2: float) -> None: ... - @overload - def Perform(self, Parameters: math_Vector, V1t: math_Vector, V2t: math_Vector, l1: float, l2: float) -> None: ... - @overload - def Perform(self, Parameters: math_Vector, V1t: math_Vector, V2t: math_Vector, V1c: math_Vector, V2c: math_Vector, l1: float, l2: float) -> None: ... - def Points(self) -> math_Matrix: ... - def Poles(self) -> math_Matrix: ... + @overload + def __init__( + self, + SSP: AppDef_MultiLine, + FirstPoint: int, + LastPoint: int, + FirstCons: AppParCurves_Constraint, + LastCons: AppParCurves_Constraint, + Parameters: math_Vector, + NbPol: int, + ) -> None: ... + @overload + def __init__( + self, + SSP: AppDef_MultiLine, + FirstPoint: int, + LastPoint: int, + FirstCons: AppParCurves_Constraint, + LastCons: AppParCurves_Constraint, + NbPol: int, + ) -> None: ... + @overload + def __init__( + self, + SSP: AppDef_MultiLine, + Knots: TColStd_Array1OfReal, + Mults: TColStd_Array1OfInteger, + FirstPoint: int, + LastPoint: int, + FirstCons: AppParCurves_Constraint, + LastCons: AppParCurves_Constraint, + Parameters: math_Vector, + NbPol: int, + ) -> None: ... + @overload + def __init__( + self, + SSP: AppDef_MultiLine, + Knots: TColStd_Array1OfReal, + Mults: TColStd_Array1OfInteger, + FirstPoint: int, + LastPoint: int, + FirstCons: AppParCurves_Constraint, + LastCons: AppParCurves_Constraint, + NbPol: int, + ) -> None: ... + def BSplineValue(self) -> AppParCurves_MultiBSpCurve: ... + def BezierValue(self) -> AppParCurves_MultiCurve: ... + def DerivativeFunctionMatrix(self) -> math_Matrix: ... + def Distance(self) -> math_Matrix: ... + def Error(self) -> Tuple[float, float, float]: ... + def ErrorGradient(self, Grad: math_Vector) -> Tuple[float, float, float]: ... + def FirstLambda(self) -> float: ... + def FunctionMatrix(self) -> math_Matrix: ... + def IsDone(self) -> bool: ... + def KIndex(self) -> math_IntegerVector: ... + def LastLambda(self) -> float: ... + @overload + def Perform(self, Parameters: math_Vector) -> None: ... + @overload + def Perform(self, Parameters: math_Vector, l1: float, l2: float) -> None: ... + @overload + def Perform( + self, + Parameters: math_Vector, + V1t: math_Vector, + V2t: math_Vector, + l1: float, + l2: float, + ) -> None: ... + @overload + def Perform( + self, + Parameters: math_Vector, + V1t: math_Vector, + V2t: math_Vector, + V1c: math_Vector, + V2c: math_Vector, + l1: float, + l2: float, + ) -> None: ... + def Points(self) -> math_Matrix: ... + def Poles(self) -> math_Matrix: ... class AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute: - @overload - def __init__(self, SSP: AppDef_MultiLine, FirstPoint: int, LastPoint: int, FirstCons: AppParCurves_Constraint, LastCons: AppParCurves_Constraint, Parameters: math_Vector, NbPol: int) -> None: ... - @overload - def __init__(self, SSP: AppDef_MultiLine, FirstPoint: int, LastPoint: int, FirstCons: AppParCurves_Constraint, LastCons: AppParCurves_Constraint, NbPol: int) -> None: ... - @overload - def __init__(self, SSP: AppDef_MultiLine, Knots: TColStd_Array1OfReal, Mults: TColStd_Array1OfInteger, FirstPoint: int, LastPoint: int, FirstCons: AppParCurves_Constraint, LastCons: AppParCurves_Constraint, Parameters: math_Vector, NbPol: int) -> None: ... - @overload - def __init__(self, SSP: AppDef_MultiLine, Knots: TColStd_Array1OfReal, Mults: TColStd_Array1OfInteger, FirstPoint: int, LastPoint: int, FirstCons: AppParCurves_Constraint, LastCons: AppParCurves_Constraint, NbPol: int) -> None: ... - def BSplineValue(self) -> AppParCurves_MultiBSpCurve: ... - def BezierValue(self) -> AppParCurves_MultiCurve: ... - def DerivativeFunctionMatrix(self) -> math_Matrix: ... - def Distance(self) -> math_Matrix: ... - def Error(self) -> Tuple[float, float, float]: ... - def ErrorGradient(self, Grad: math_Vector) -> Tuple[float, float, float]: ... - def FirstLambda(self) -> float: ... - def FunctionMatrix(self) -> math_Matrix: ... - def IsDone(self) -> bool: ... - def KIndex(self) -> math_IntegerVector: ... - def LastLambda(self) -> float: ... - @overload - def Perform(self, Parameters: math_Vector) -> None: ... - @overload - def Perform(self, Parameters: math_Vector, l1: float, l2: float) -> None: ... - @overload - def Perform(self, Parameters: math_Vector, V1t: math_Vector, V2t: math_Vector, l1: float, l2: float) -> None: ... - @overload - def Perform(self, Parameters: math_Vector, V1t: math_Vector, V2t: math_Vector, V1c: math_Vector, V2c: math_Vector, l1: float, l2: float) -> None: ... - def Points(self) -> math_Matrix: ... - def Poles(self) -> math_Matrix: ... + @overload + def __init__( + self, + SSP: AppDef_MultiLine, + FirstPoint: int, + LastPoint: int, + FirstCons: AppParCurves_Constraint, + LastCons: AppParCurves_Constraint, + Parameters: math_Vector, + NbPol: int, + ) -> None: ... + @overload + def __init__( + self, + SSP: AppDef_MultiLine, + FirstPoint: int, + LastPoint: int, + FirstCons: AppParCurves_Constraint, + LastCons: AppParCurves_Constraint, + NbPol: int, + ) -> None: ... + @overload + def __init__( + self, + SSP: AppDef_MultiLine, + Knots: TColStd_Array1OfReal, + Mults: TColStd_Array1OfInteger, + FirstPoint: int, + LastPoint: int, + FirstCons: AppParCurves_Constraint, + LastCons: AppParCurves_Constraint, + Parameters: math_Vector, + NbPol: int, + ) -> None: ... + @overload + def __init__( + self, + SSP: AppDef_MultiLine, + Knots: TColStd_Array1OfReal, + Mults: TColStd_Array1OfInteger, + FirstPoint: int, + LastPoint: int, + FirstCons: AppParCurves_Constraint, + LastCons: AppParCurves_Constraint, + NbPol: int, + ) -> None: ... + def BSplineValue(self) -> AppParCurves_MultiBSpCurve: ... + def BezierValue(self) -> AppParCurves_MultiCurve: ... + def DerivativeFunctionMatrix(self) -> math_Matrix: ... + def Distance(self) -> math_Matrix: ... + def Error(self) -> Tuple[float, float, float]: ... + def ErrorGradient(self, Grad: math_Vector) -> Tuple[float, float, float]: ... + def FirstLambda(self) -> float: ... + def FunctionMatrix(self) -> math_Matrix: ... + def IsDone(self) -> bool: ... + def KIndex(self) -> math_IntegerVector: ... + def LastLambda(self) -> float: ... + @overload + def Perform(self, Parameters: math_Vector) -> None: ... + @overload + def Perform(self, Parameters: math_Vector, l1: float, l2: float) -> None: ... + @overload + def Perform( + self, + Parameters: math_Vector, + V1t: math_Vector, + V2t: math_Vector, + l1: float, + l2: float, + ) -> None: ... + @overload + def Perform( + self, + Parameters: math_Vector, + V1t: math_Vector, + V2t: math_Vector, + V1c: math_Vector, + V2c: math_Vector, + l1: float, + l2: float, + ) -> None: ... + def Points(self) -> math_Matrix: ... + def Poles(self) -> math_Matrix: ... class AppDef_ParLeastSquareOfTheGradient: - @overload - def __init__(self, SSP: AppDef_MultiLine, FirstPoint: int, LastPoint: int, FirstCons: AppParCurves_Constraint, LastCons: AppParCurves_Constraint, Parameters: math_Vector, NbPol: int) -> None: ... - @overload - def __init__(self, SSP: AppDef_MultiLine, FirstPoint: int, LastPoint: int, FirstCons: AppParCurves_Constraint, LastCons: AppParCurves_Constraint, NbPol: int) -> None: ... - @overload - def __init__(self, SSP: AppDef_MultiLine, Knots: TColStd_Array1OfReal, Mults: TColStd_Array1OfInteger, FirstPoint: int, LastPoint: int, FirstCons: AppParCurves_Constraint, LastCons: AppParCurves_Constraint, Parameters: math_Vector, NbPol: int) -> None: ... - @overload - def __init__(self, SSP: AppDef_MultiLine, Knots: TColStd_Array1OfReal, Mults: TColStd_Array1OfInteger, FirstPoint: int, LastPoint: int, FirstCons: AppParCurves_Constraint, LastCons: AppParCurves_Constraint, NbPol: int) -> None: ... - def BSplineValue(self) -> AppParCurves_MultiBSpCurve: ... - def BezierValue(self) -> AppParCurves_MultiCurve: ... - def DerivativeFunctionMatrix(self) -> math_Matrix: ... - def Distance(self) -> math_Matrix: ... - def Error(self) -> Tuple[float, float, float]: ... - def ErrorGradient(self, Grad: math_Vector) -> Tuple[float, float, float]: ... - def FirstLambda(self) -> float: ... - def FunctionMatrix(self) -> math_Matrix: ... - def IsDone(self) -> bool: ... - def KIndex(self) -> math_IntegerVector: ... - def LastLambda(self) -> float: ... - @overload - def Perform(self, Parameters: math_Vector) -> None: ... - @overload - def Perform(self, Parameters: math_Vector, l1: float, l2: float) -> None: ... - @overload - def Perform(self, Parameters: math_Vector, V1t: math_Vector, V2t: math_Vector, l1: float, l2: float) -> None: ... - @overload - def Perform(self, Parameters: math_Vector, V1t: math_Vector, V2t: math_Vector, V1c: math_Vector, V2c: math_Vector, l1: float, l2: float) -> None: ... - def Points(self) -> math_Matrix: ... - def Poles(self) -> math_Matrix: ... + @overload + def __init__( + self, + SSP: AppDef_MultiLine, + FirstPoint: int, + LastPoint: int, + FirstCons: AppParCurves_Constraint, + LastCons: AppParCurves_Constraint, + Parameters: math_Vector, + NbPol: int, + ) -> None: ... + @overload + def __init__( + self, + SSP: AppDef_MultiLine, + FirstPoint: int, + LastPoint: int, + FirstCons: AppParCurves_Constraint, + LastCons: AppParCurves_Constraint, + NbPol: int, + ) -> None: ... + @overload + def __init__( + self, + SSP: AppDef_MultiLine, + Knots: TColStd_Array1OfReal, + Mults: TColStd_Array1OfInteger, + FirstPoint: int, + LastPoint: int, + FirstCons: AppParCurves_Constraint, + LastCons: AppParCurves_Constraint, + Parameters: math_Vector, + NbPol: int, + ) -> None: ... + @overload + def __init__( + self, + SSP: AppDef_MultiLine, + Knots: TColStd_Array1OfReal, + Mults: TColStd_Array1OfInteger, + FirstPoint: int, + LastPoint: int, + FirstCons: AppParCurves_Constraint, + LastCons: AppParCurves_Constraint, + NbPol: int, + ) -> None: ... + def BSplineValue(self) -> AppParCurves_MultiBSpCurve: ... + def BezierValue(self) -> AppParCurves_MultiCurve: ... + def DerivativeFunctionMatrix(self) -> math_Matrix: ... + def Distance(self) -> math_Matrix: ... + def Error(self) -> Tuple[float, float, float]: ... + def ErrorGradient(self, Grad: math_Vector) -> Tuple[float, float, float]: ... + def FirstLambda(self) -> float: ... + def FunctionMatrix(self) -> math_Matrix: ... + def IsDone(self) -> bool: ... + def KIndex(self) -> math_IntegerVector: ... + def LastLambda(self) -> float: ... + @overload + def Perform(self, Parameters: math_Vector) -> None: ... + @overload + def Perform(self, Parameters: math_Vector, l1: float, l2: float) -> None: ... + @overload + def Perform( + self, + Parameters: math_Vector, + V1t: math_Vector, + V2t: math_Vector, + l1: float, + l2: float, + ) -> None: ... + @overload + def Perform( + self, + Parameters: math_Vector, + V1t: math_Vector, + V2t: math_Vector, + V1c: math_Vector, + V2c: math_Vector, + l1: float, + l2: float, + ) -> None: ... + def Points(self) -> math_Matrix: ... + def Poles(self) -> math_Matrix: ... class AppDef_ResConstraintOfMyGradientOfCompute: - def __init__(self, SSP: AppDef_MultiLine, SCurv: AppParCurves_MultiCurve, FirstPoint: int, LastPoint: int, Constraints: AppParCurves_HArray1OfConstraintCouple, Bern: math_Matrix, DerivativeBern: math_Matrix, Tolerance: Optional[float] = 1.0e-10) -> None: ... - def ConstraintDerivative(self, SSP: AppDef_MultiLine, Parameters: math_Vector, Deg: int, DA: math_Matrix) -> math_Matrix: ... - def ConstraintMatrix(self) -> math_Matrix: ... - def Duale(self) -> math_Vector: ... - def InverseMatrix(self) -> math_Matrix: ... - def IsDone(self) -> bool: ... + def __init__( + self, + SSP: AppDef_MultiLine, + SCurv: AppParCurves_MultiCurve, + FirstPoint: int, + LastPoint: int, + Constraints: AppParCurves_HArray1OfConstraintCouple, + Bern: math_Matrix, + DerivativeBern: math_Matrix, + Tolerance: Optional[float] = 1.0e-10, + ) -> None: ... + def ConstraintDerivative( + self, SSP: AppDef_MultiLine, Parameters: math_Vector, Deg: int, DA: math_Matrix + ) -> math_Matrix: ... + def ConstraintMatrix(self) -> math_Matrix: ... + def Duale(self) -> math_Vector: ... + def InverseMatrix(self) -> math_Matrix: ... + def IsDone(self) -> bool: ... class AppDef_ResConstraintOfMyGradientbisOfBSplineCompute: - def __init__(self, SSP: AppDef_MultiLine, SCurv: AppParCurves_MultiCurve, FirstPoint: int, LastPoint: int, Constraints: AppParCurves_HArray1OfConstraintCouple, Bern: math_Matrix, DerivativeBern: math_Matrix, Tolerance: Optional[float] = 1.0e-10) -> None: ... - def ConstraintDerivative(self, SSP: AppDef_MultiLine, Parameters: math_Vector, Deg: int, DA: math_Matrix) -> math_Matrix: ... - def ConstraintMatrix(self) -> math_Matrix: ... - def Duale(self) -> math_Vector: ... - def InverseMatrix(self) -> math_Matrix: ... - def IsDone(self) -> bool: ... + def __init__( + self, + SSP: AppDef_MultiLine, + SCurv: AppParCurves_MultiCurve, + FirstPoint: int, + LastPoint: int, + Constraints: AppParCurves_HArray1OfConstraintCouple, + Bern: math_Matrix, + DerivativeBern: math_Matrix, + Tolerance: Optional[float] = 1.0e-10, + ) -> None: ... + def ConstraintDerivative( + self, SSP: AppDef_MultiLine, Parameters: math_Vector, Deg: int, DA: math_Matrix + ) -> math_Matrix: ... + def ConstraintMatrix(self) -> math_Matrix: ... + def Duale(self) -> math_Vector: ... + def InverseMatrix(self) -> math_Matrix: ... + def IsDone(self) -> bool: ... class AppDef_ResConstraintOfTheGradient: - def __init__(self, SSP: AppDef_MultiLine, SCurv: AppParCurves_MultiCurve, FirstPoint: int, LastPoint: int, Constraints: AppParCurves_HArray1OfConstraintCouple, Bern: math_Matrix, DerivativeBern: math_Matrix, Tolerance: Optional[float] = 1.0e-10) -> None: ... - def ConstraintDerivative(self, SSP: AppDef_MultiLine, Parameters: math_Vector, Deg: int, DA: math_Matrix) -> math_Matrix: ... - def ConstraintMatrix(self) -> math_Matrix: ... - def Duale(self) -> math_Vector: ... - def InverseMatrix(self) -> math_Matrix: ... - def IsDone(self) -> bool: ... + def __init__( + self, + SSP: AppDef_MultiLine, + SCurv: AppParCurves_MultiCurve, + FirstPoint: int, + LastPoint: int, + Constraints: AppParCurves_HArray1OfConstraintCouple, + Bern: math_Matrix, + DerivativeBern: math_Matrix, + Tolerance: Optional[float] = 1.0e-10, + ) -> None: ... + def ConstraintDerivative( + self, SSP: AppDef_MultiLine, Parameters: math_Vector, Deg: int, DA: math_Matrix + ) -> math_Matrix: ... + def ConstraintMatrix(self) -> math_Matrix: ... + def Duale(self) -> math_Vector: ... + def InverseMatrix(self) -> math_Matrix: ... + def IsDone(self) -> bool: ... class AppDef_SmoothCriterion(Standard_Transient): - def AssemblyTable(self) -> FEmTool_HAssemblyTable: ... - def DependenceTable(self) -> TColStd_HArray2OfInteger: ... - def ErrorValues(self) -> Tuple[float, float, float]: ... - def EstLength(self) -> float: ... - def GetCurve(self, C: FEmTool_Curve) -> None: ... - def GetEstimation(self) -> Tuple[float, float, float]: ... - def GetWeight(self) -> Tuple[float, float]: ... - def Gradient(self, Element: int, Dimension: int, G: math_Vector) -> None: ... - def Hessian(self, Element: int, Dimension1: int, Dimension2: int, H: math_Matrix) -> None: ... - def InputVector(self, X: math_Vector, AssTable: FEmTool_HAssemblyTable) -> None: ... - def QualityValues(self, J1min: float, J2min: float, J3min: float) -> Tuple[int, float, float, float]: ... - def SetCurve(self, C: FEmTool_Curve) -> None: ... - def SetEstimation(self, E1: float, E2: float, E3: float) -> None: ... - def SetParameters(self, Parameters: TColStd_HArray1OfReal) -> None: ... - @overload - def SetWeight(self, QuadraticWeight: float, QualityWeight: float, percentJ1: float, percentJ2: float, percentJ3: float) -> None: ... - @overload - def SetWeight(self, Weight: TColStd_Array1OfReal) -> None: ... + def AssemblyTable(self) -> FEmTool_HAssemblyTable: ... + def DependenceTable(self) -> TColStd_HArray2OfInteger: ... + def ErrorValues(self) -> Tuple[float, float, float]: ... + def EstLength(self) -> float: ... + def GetCurve(self, C: FEmTool_Curve) -> None: ... + def GetEstimation(self) -> Tuple[float, float, float]: ... + def GetWeight(self) -> Tuple[float, float]: ... + def Gradient(self, Element: int, Dimension: int, G: math_Vector) -> None: ... + def Hessian( + self, Element: int, Dimension1: int, Dimension2: int, H: math_Matrix + ) -> None: ... + def InputVector(self, X: math_Vector, AssTable: FEmTool_HAssemblyTable) -> None: ... + def QualityValues( + self, J1min: float, J2min: float, J3min: float + ) -> Tuple[int, float, float, float]: ... + def SetCurve(self, C: FEmTool_Curve) -> None: ... + def SetEstimation(self, E1: float, E2: float, E3: float) -> None: ... + def SetParameters(self, Parameters: TColStd_HArray1OfReal) -> None: ... + @overload + def SetWeight( + self, + QuadraticWeight: float, + QualityWeight: float, + percentJ1: float, + percentJ2: float, + percentJ3: float, + ) -> None: ... + @overload + def SetWeight(self, Weight: TColStd_Array1OfReal) -> None: ... class AppDef_TheFunction(math_MultipleVarFunctionWithGradient): - def __init__(self, SSP: AppDef_MultiLine, FirstPoint: int, LastPoint: int, TheConstraints: AppParCurves_HArray1OfConstraintCouple, Parameters: math_Vector, Deg: int) -> None: ... - def CurveValue(self) -> AppParCurves_MultiCurve: ... - def Error(self, IPoint: int, CurveIndex: int) -> float: ... - def FirstConstraint(self, TheConstraints: AppParCurves_HArray1OfConstraintCouple, FirstPoint: int) -> AppParCurves_Constraint: ... - def Gradient(self, X: math_Vector, G: math_Vector) -> bool: ... - def LastConstraint(self, TheConstraints: AppParCurves_HArray1OfConstraintCouple, LastPoint: int) -> AppParCurves_Constraint: ... - def MaxError2d(self) -> float: ... - def MaxError3d(self) -> float: ... - def NbVariables(self) -> int: ... - def NewParameters(self) -> math_Vector: ... - def Value(self, X: math_Vector) -> Tuple[bool, float]: ... - def Values(self, X: math_Vector, G: math_Vector) -> Tuple[bool, float]: ... + def __init__( + self, + SSP: AppDef_MultiLine, + FirstPoint: int, + LastPoint: int, + TheConstraints: AppParCurves_HArray1OfConstraintCouple, + Parameters: math_Vector, + Deg: int, + ) -> None: ... + def CurveValue(self) -> AppParCurves_MultiCurve: ... + def Error(self, IPoint: int, CurveIndex: int) -> float: ... + def FirstConstraint( + self, TheConstraints: AppParCurves_HArray1OfConstraintCouple, FirstPoint: int + ) -> AppParCurves_Constraint: ... + def Gradient(self, X: math_Vector, G: math_Vector) -> bool: ... + def LastConstraint( + self, TheConstraints: AppParCurves_HArray1OfConstraintCouple, LastPoint: int + ) -> AppParCurves_Constraint: ... + def MaxError2d(self) -> float: ... + def MaxError3d(self) -> float: ... + def NbVariables(self) -> int: ... + def NewParameters(self) -> math_Vector: ... + def Value(self, X: math_Vector) -> Tuple[bool, float]: ... + def Values(self, X: math_Vector, G: math_Vector) -> Tuple[bool, float]: ... class AppDef_TheGradient: - def __init__(self, SSP: AppDef_MultiLine, FirstPoint: int, LastPoint: int, TheConstraints: AppParCurves_HArray1OfConstraintCouple, Parameters: math_Vector, Deg: int, Tol3d: float, Tol2d: float, NbIterations: Optional[int] = 200) -> None: ... - def AverageError(self) -> float: ... - def Error(self, Index: int) -> float: ... - def IsDone(self) -> bool: ... - def MaxError2d(self) -> float: ... - def MaxError3d(self) -> float: ... - def Value(self) -> AppParCurves_MultiCurve: ... + def __init__( + self, + SSP: AppDef_MultiLine, + FirstPoint: int, + LastPoint: int, + TheConstraints: AppParCurves_HArray1OfConstraintCouple, + Parameters: math_Vector, + Deg: int, + Tol3d: float, + Tol2d: float, + NbIterations: Optional[int] = 200, + ) -> None: ... + def AverageError(self) -> float: ... + def Error(self, Index: int) -> float: ... + def IsDone(self) -> bool: ... + def MaxError2d(self) -> float: ... + def MaxError3d(self) -> float: ... + def Value(self) -> AppParCurves_MultiCurve: ... class AppDef_TheLeastSquares: - @overload - def __init__(self, SSP: AppDef_MultiLine, FirstPoint: int, LastPoint: int, FirstCons: AppParCurves_Constraint, LastCons: AppParCurves_Constraint, Parameters: math_Vector, NbPol: int) -> None: ... - @overload - def __init__(self, SSP: AppDef_MultiLine, FirstPoint: int, LastPoint: int, FirstCons: AppParCurves_Constraint, LastCons: AppParCurves_Constraint, NbPol: int) -> None: ... - @overload - def __init__(self, SSP: AppDef_MultiLine, Knots: TColStd_Array1OfReal, Mults: TColStd_Array1OfInteger, FirstPoint: int, LastPoint: int, FirstCons: AppParCurves_Constraint, LastCons: AppParCurves_Constraint, Parameters: math_Vector, NbPol: int) -> None: ... - @overload - def __init__(self, SSP: AppDef_MultiLine, Knots: TColStd_Array1OfReal, Mults: TColStd_Array1OfInteger, FirstPoint: int, LastPoint: int, FirstCons: AppParCurves_Constraint, LastCons: AppParCurves_Constraint, NbPol: int) -> None: ... - def BSplineValue(self) -> AppParCurves_MultiBSpCurve: ... - def BezierValue(self) -> AppParCurves_MultiCurve: ... - def DerivativeFunctionMatrix(self) -> math_Matrix: ... - def Distance(self) -> math_Matrix: ... - def Error(self) -> Tuple[float, float, float]: ... - def ErrorGradient(self, Grad: math_Vector) -> Tuple[float, float, float]: ... - def FirstLambda(self) -> float: ... - def FunctionMatrix(self) -> math_Matrix: ... - def IsDone(self) -> bool: ... - def KIndex(self) -> math_IntegerVector: ... - def LastLambda(self) -> float: ... - @overload - def Perform(self, Parameters: math_Vector) -> None: ... - @overload - def Perform(self, Parameters: math_Vector, l1: float, l2: float) -> None: ... - @overload - def Perform(self, Parameters: math_Vector, V1t: math_Vector, V2t: math_Vector, l1: float, l2: float) -> None: ... - @overload - def Perform(self, Parameters: math_Vector, V1t: math_Vector, V2t: math_Vector, V1c: math_Vector, V2c: math_Vector, l1: float, l2: float) -> None: ... - def Points(self) -> math_Matrix: ... - def Poles(self) -> math_Matrix: ... + @overload + def __init__( + self, + SSP: AppDef_MultiLine, + FirstPoint: int, + LastPoint: int, + FirstCons: AppParCurves_Constraint, + LastCons: AppParCurves_Constraint, + Parameters: math_Vector, + NbPol: int, + ) -> None: ... + @overload + def __init__( + self, + SSP: AppDef_MultiLine, + FirstPoint: int, + LastPoint: int, + FirstCons: AppParCurves_Constraint, + LastCons: AppParCurves_Constraint, + NbPol: int, + ) -> None: ... + @overload + def __init__( + self, + SSP: AppDef_MultiLine, + Knots: TColStd_Array1OfReal, + Mults: TColStd_Array1OfInteger, + FirstPoint: int, + LastPoint: int, + FirstCons: AppParCurves_Constraint, + LastCons: AppParCurves_Constraint, + Parameters: math_Vector, + NbPol: int, + ) -> None: ... + @overload + def __init__( + self, + SSP: AppDef_MultiLine, + Knots: TColStd_Array1OfReal, + Mults: TColStd_Array1OfInteger, + FirstPoint: int, + LastPoint: int, + FirstCons: AppParCurves_Constraint, + LastCons: AppParCurves_Constraint, + NbPol: int, + ) -> None: ... + def BSplineValue(self) -> AppParCurves_MultiBSpCurve: ... + def BezierValue(self) -> AppParCurves_MultiCurve: ... + def DerivativeFunctionMatrix(self) -> math_Matrix: ... + def Distance(self) -> math_Matrix: ... + def Error(self) -> Tuple[float, float, float]: ... + def ErrorGradient(self, Grad: math_Vector) -> Tuple[float, float, float]: ... + def FirstLambda(self) -> float: ... + def FunctionMatrix(self) -> math_Matrix: ... + def IsDone(self) -> bool: ... + def KIndex(self) -> math_IntegerVector: ... + def LastLambda(self) -> float: ... + @overload + def Perform(self, Parameters: math_Vector) -> None: ... + @overload + def Perform(self, Parameters: math_Vector, l1: float, l2: float) -> None: ... + @overload + def Perform( + self, + Parameters: math_Vector, + V1t: math_Vector, + V2t: math_Vector, + l1: float, + l2: float, + ) -> None: ... + @overload + def Perform( + self, + Parameters: math_Vector, + V1t: math_Vector, + V2t: math_Vector, + V1c: math_Vector, + V2c: math_Vector, + l1: float, + l2: float, + ) -> None: ... + def Points(self) -> math_Matrix: ... + def Poles(self) -> math_Matrix: ... class AppDef_TheResol: - def __init__(self, SSP: AppDef_MultiLine, SCurv: AppParCurves_MultiCurve, FirstPoint: int, LastPoint: int, Constraints: AppParCurves_HArray1OfConstraintCouple, Bern: math_Matrix, DerivativeBern: math_Matrix, Tolerance: Optional[float] = 1.0e-10) -> None: ... - def ConstraintDerivative(self, SSP: AppDef_MultiLine, Parameters: math_Vector, Deg: int, DA: math_Matrix) -> math_Matrix: ... - def ConstraintMatrix(self) -> math_Matrix: ... - def Duale(self) -> math_Vector: ... - def InverseMatrix(self) -> math_Matrix: ... - def IsDone(self) -> bool: ... + def __init__( + self, + SSP: AppDef_MultiLine, + SCurv: AppParCurves_MultiCurve, + FirstPoint: int, + LastPoint: int, + Constraints: AppParCurves_HArray1OfConstraintCouple, + Bern: math_Matrix, + DerivativeBern: math_Matrix, + Tolerance: Optional[float] = 1.0e-10, + ) -> None: ... + def ConstraintDerivative( + self, SSP: AppDef_MultiLine, Parameters: math_Vector, Deg: int, DA: math_Matrix + ) -> math_Matrix: ... + def ConstraintMatrix(self) -> math_Matrix: ... + def Duale(self) -> math_Vector: ... + def InverseMatrix(self) -> math_Matrix: ... + def IsDone(self) -> bool: ... class AppDef_Variational: - def __init__(self, SSP: AppDef_MultiLine, FirstPoint: int, LastPoint: int, TheConstraints: AppParCurves_HArray1OfConstraintCouple, MaxDegree: Optional[int] = 14, MaxSegment: Optional[int] = 100, Continuity: Optional[GeomAbs_Shape] = GeomAbs_C2, WithMinMax: Optional[bool] = False, WithCutting: Optional[bool] = True, Tolerance: Optional[float] = 1.0, NbIterations: Optional[int] = 2) -> None: ... - def Approximate(self) -> None: ... - def AverageError(self) -> float: ... - def Continuity(self) -> GeomAbs_Shape: ... - def Criterium(self) -> Tuple[float, float, float]: ... - def CriteriumWeight(self) -> Tuple[float, float, float]: ... - def Distance(self, mat: math_Matrix) -> None: ... - def IsCreated(self) -> bool: ... - def IsDone(self) -> bool: ... - def IsOverConstrained(self) -> bool: ... - def Knots(self) -> TColStd_HArray1OfReal: ... - def MaxDegree(self) -> int: ... - def MaxError(self) -> float: ... - def MaxErrorIndex(self) -> int: ... - def MaxSegment(self) -> int: ... - def NbIterations(self) -> int: ... - def Parameters(self) -> TColStd_HArray1OfReal: ... - def QuadraticError(self) -> float: ... - def SetConstraints(self, aConstrainst: AppParCurves_HArray1OfConstraintCouple) -> bool: ... - def SetContinuity(self, C: GeomAbs_Shape) -> bool: ... - @overload - def SetCriteriumWeight(self, Percent1: float, Percent2: float, Percent3: float) -> None: ... - @overload - def SetCriteriumWeight(self, Order: int, Percent: float) -> None: ... - def SetKnots(self, knots: TColStd_HArray1OfReal) -> bool: ... - def SetMaxDegree(self, Degree: int) -> bool: ... - def SetMaxSegment(self, NbSegment: int) -> bool: ... - def SetNbIterations(self, Iter: int) -> None: ... - def SetParameters(self, param: TColStd_HArray1OfReal) -> None: ... - def SetTolerance(self, Tol: float) -> None: ... - def SetWithCutting(self, Cutting: bool) -> bool: ... - def SetWithMinMax(self, MinMax: bool) -> None: ... - def Tolerance(self) -> float: ... - def Value(self) -> AppParCurves_MultiBSpCurve: ... - def WithCutting(self) -> bool: ... - def WithMinMax(self) -> bool: ... + def __init__( + self, + SSP: AppDef_MultiLine, + FirstPoint: int, + LastPoint: int, + TheConstraints: AppParCurves_HArray1OfConstraintCouple, + MaxDegree: Optional[int] = 14, + MaxSegment: Optional[int] = 100, + Continuity: Optional[GeomAbs_Shape] = GeomAbs_C2, + WithMinMax: Optional[bool] = False, + WithCutting: Optional[bool] = True, + Tolerance: Optional[float] = 1.0, + NbIterations: Optional[int] = 2, + ) -> None: ... + def Approximate(self) -> None: ... + def AverageError(self) -> float: ... + def Continuity(self) -> GeomAbs_Shape: ... + def Criterium(self) -> Tuple[float, float, float]: ... + def CriteriumWeight(self) -> Tuple[float, float, float]: ... + def Distance(self, mat: math_Matrix) -> None: ... + def Dump(self) -> str: ... + def IsCreated(self) -> bool: ... + def IsDone(self) -> bool: ... + def IsOverConstrained(self) -> bool: ... + def Knots(self) -> TColStd_HArray1OfReal: ... + def MaxDegree(self) -> int: ... + def MaxError(self) -> float: ... + def MaxErrorIndex(self) -> int: ... + def MaxSegment(self) -> int: ... + def NbIterations(self) -> int: ... + def Parameters(self) -> TColStd_HArray1OfReal: ... + def QuadraticError(self) -> float: ... + def SetConstraints( + self, aConstrainst: AppParCurves_HArray1OfConstraintCouple + ) -> bool: ... + def SetContinuity(self, C: GeomAbs_Shape) -> bool: ... + @overload + def SetCriteriumWeight( + self, Percent1: float, Percent2: float, Percent3: float + ) -> None: ... + @overload + def SetCriteriumWeight(self, Order: int, Percent: float) -> None: ... + def SetKnots(self, knots: TColStd_HArray1OfReal) -> bool: ... + def SetMaxDegree(self, Degree: int) -> bool: ... + def SetMaxSegment(self, NbSegment: int) -> bool: ... + def SetNbIterations(self, Iter: int) -> None: ... + def SetParameters(self, param: TColStd_HArray1OfReal) -> None: ... + def SetTolerance(self, Tol: float) -> None: ... + def SetWithCutting(self, Cutting: bool) -> bool: ... + def SetWithMinMax(self, MinMax: bool) -> None: ... + def Tolerance(self) -> float: ... + def Value(self) -> AppParCurves_MultiBSpCurve: ... + def WithCutting(self) -> bool: ... + def WithMinMax(self) -> bool: ... class AppDef_LinearCriteria(AppDef_SmoothCriterion): - def __init__(self, SSP: AppDef_MultiLine, FirstPoint: int, LastPoint: int) -> None: ... - def AssemblyTable(self) -> FEmTool_HAssemblyTable: ... - def DependenceTable(self) -> TColStd_HArray2OfInteger: ... - def ErrorValues(self) -> Tuple[float, float, float]: ... - def GetEstLength(self) -> float: ... - def SetEstLength(self, value: float) -> None: ... - def GetCurve(self, C: FEmTool_Curve) -> None: ... - def GetEstimation(self) -> Tuple[float, float, float]: ... - def GetWeight(self) -> Tuple[float, float]: ... - def Gradient(self, Element: int, Dimension: int, G: math_Vector) -> None: ... - def Hessian(self, Element: int, Dimension1: int, Dimension2: int, H: math_Matrix) -> None: ... - def InputVector(self, X: math_Vector, AssTable: FEmTool_HAssemblyTable) -> None: ... - def QualityValues(self, J1min: float, J2min: float, J3min: float) -> Tuple[int, float, float, float]: ... - def SetCurve(self, C: FEmTool_Curve) -> None: ... - def SetEstimation(self, E1: float, E2: float, E3: float) -> None: ... - def SetParameters(self, Parameters: TColStd_HArray1OfReal) -> None: ... - @overload - def SetWeight(self, QuadraticWeight: float, QualityWeight: float, percentJ1: float, percentJ2: float, percentJ3: float) -> None: ... - @overload - def SetWeight(self, Weight: TColStd_Array1OfReal) -> None: ... + def __init__( + self, SSP: AppDef_MultiLine, FirstPoint: int, LastPoint: int + ) -> None: ... + def AssemblyTable(self) -> FEmTool_HAssemblyTable: ... + def DependenceTable(self) -> TColStd_HArray2OfInteger: ... + def ErrorValues(self) -> Tuple[float, float, float]: ... + def GetEstLength(self) -> float: ... + def SetEstLength(self, value: float) -> None: ... + def GetCurve(self, C: FEmTool_Curve) -> None: ... + def GetEstimation(self) -> Tuple[float, float, float]: ... + def GetWeight(self) -> Tuple[float, float]: ... + def Gradient(self, Element: int, Dimension: int, G: math_Vector) -> None: ... + def Hessian( + self, Element: int, Dimension1: int, Dimension2: int, H: math_Matrix + ) -> None: ... + def InputVector(self, X: math_Vector, AssTable: FEmTool_HAssemblyTable) -> None: ... + def QualityValues( + self, J1min: float, J2min: float, J3min: float + ) -> Tuple[int, float, float, float]: ... + def SetCurve(self, C: FEmTool_Curve) -> None: ... + def SetEstimation(self, E1: float, E2: float, E3: float) -> None: ... + def SetParameters(self, Parameters: TColStd_HArray1OfReal) -> None: ... + @overload + def SetWeight( + self, + QuadraticWeight: float, + QualityWeight: float, + percentJ1: float, + percentJ2: float, + percentJ3: float, + ) -> None: ... + @overload + def SetWeight(self, Weight: TColStd_Array1OfReal) -> None: ... # harray1 classes -class AppDef_HArray1OfMultiPointConstraint(AppDef_Array1OfMultiPointConstraint, Standard_Transient): +class AppDef_HArray1OfMultiPointConstraint( + AppDef_Array1OfMultiPointConstraint, Standard_Transient +): def __init__(self, theLower: int, theUpper: int) -> None: ... def Array1(self) -> AppDef_Array1OfMultiPointConstraint: ... # harray2 classes # hsequence classes - -AppDef_MyLineTool_Curvature = AppDef_MyLineTool.Curvature -AppDef_MyLineTool_Curvature = AppDef_MyLineTool.Curvature -AppDef_MyLineTool_Curvature = AppDef_MyLineTool.Curvature -AppDef_MyLineTool_FirstPoint = AppDef_MyLineTool.FirstPoint -AppDef_MyLineTool_LastPoint = AppDef_MyLineTool.LastPoint -AppDef_MyLineTool_MakeMLBetween = AppDef_MyLineTool.MakeMLBetween -AppDef_MyLineTool_MakeMLOneMorePoint = AppDef_MyLineTool.MakeMLOneMorePoint -AppDef_MyLineTool_NbP2d = AppDef_MyLineTool.NbP2d -AppDef_MyLineTool_NbP3d = AppDef_MyLineTool.NbP3d -AppDef_MyLineTool_Tangency = AppDef_MyLineTool.Tangency -AppDef_MyLineTool_Tangency = AppDef_MyLineTool.Tangency -AppDef_MyLineTool_Tangency = AppDef_MyLineTool.Tangency -AppDef_MyLineTool_Value = AppDef_MyLineTool.Value -AppDef_MyLineTool_Value = AppDef_MyLineTool.Value -AppDef_MyLineTool_Value = AppDef_MyLineTool.Value -AppDef_MyLineTool_WhatStatus = AppDef_MyLineTool.WhatStatus diff --git a/src/SWIG_files/wrapper/AppParCurves.i b/src/SWIG_files/wrapper/AppParCurves.i index 8e928b90a..9e4189ada 100644 --- a/src/SWIG_files/wrapper/AppParCurves.i +++ b/src/SWIG_files/wrapper/AppParCurves.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define APPPARCURVESDOCSTRING "AppParCurves module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_appparcurves.html" +https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_appparcurves.html" %enddef %module (package="OCC.Core", docstring=APPPARCURVESDOCSTRING) AppParCurves @@ -31,8 +31,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_appparcurves.html %include ../common/CommonIncludes.i %include ../common/ExceptionCatcher.i %include ../common/FunctionTransformers.i +%include ../common/EnumTemplates.i %include ../common/Operators.i %include ../common/OccHandle.i +%include ../common/IOStream.i +%include ../common/ArrayMacros.i %{ @@ -73,7 +76,7 @@ enum AppParCurves_Constraint { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class AppParCurves_Constraint(IntEnum): @@ -89,153 +92,25 @@ AppParCurves_CurvaturePoint = AppParCurves_Constraint.AppParCurves_CurvaturePoin /* end python proxy for enums */ /* handles */ -%wrap_handle(AppParCurves_HArray1OfMultiCurve) %wrap_handle(AppParCurves_HArray1OfConstraintCouple) -%wrap_handle(AppParCurves_HArray1OfMultiPoint) %wrap_handle(AppParCurves_HArray1OfMultiBSpCurve) +%wrap_handle(AppParCurves_HArray1OfMultiCurve) +%wrap_handle(AppParCurves_HArray1OfMultiPoint) /* end handles declaration */ /* templates */ %template(AppParCurves_Array1OfConstraintCouple) NCollection_Array1; +Array1ExtendIter(AppParCurves_ConstraintCouple) -%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(AppParCurves_Array1OfMultiBSpCurve) NCollection_Array1; +Array1ExtendIter(AppParCurves_MultiBSpCurve) -%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(AppParCurves_Array1OfMultiCurve) NCollection_Array1; +Array1ExtendIter(AppParCurves_MultiCurve) -%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(AppParCurves_Array1OfMultiPoint) NCollection_Array1; +Array1ExtendIter(AppParCurves_MultiPoint) -%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(AppParCurves_SequenceOfMultiBSpCurve) NCollection_Sequence; %extend NCollection_Sequence { @@ -269,11 +144,10 @@ typedef NCollection_Sequence AppParCurves_SequenceOfMul %rename(appparcurves) AppParCurves; class AppParCurves { public: - /****************** Bernstein ******************/ - /**** md5 signature: 6083f4d506d507e1c27b964d1798261a ****/ + /****** AppParCurves::Bernstein ******/ + /****** md5 signature: 6083f4d506d507e1c27b964d1798261a ******/ %feature("compactdefaultargs") Bernstein; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- NbPoles: int @@ -281,50 +155,59 @@ U: math_Vector A: math_Matrix DA: math_Matrix -Returns +Return ------- None + +Description +----------- +No available documentation. ") Bernstein; static void Bernstein(const Standard_Integer NbPoles, const math_Vector & U, math_Matrix & A, math_Matrix & DA); - /****************** BernsteinMatrix ******************/ - /**** md5 signature: f2f56219e01080af0002f41515715977 ****/ + /****** AppParCurves::BernsteinMatrix ******/ + /****** md5 signature: f2f56219e01080af0002f41515715977 ******/ %feature("compactdefaultargs") BernsteinMatrix; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- NbPoles: int U: math_Vector A: math_Matrix -Returns +Return ------- None + +Description +----------- +No available documentation. ") BernsteinMatrix; static void BernsteinMatrix(const Standard_Integer NbPoles, const math_Vector & U, math_Matrix & A); - /****************** SecondDerivativeBernstein ******************/ - /**** md5 signature: 1abcd1eb2687613081acd95df365fb86 ****/ + /****** AppParCurves::SecondDerivativeBernstein ******/ + /****** md5 signature: 1abcd1eb2687613081acd95df365fb86 ******/ %feature("compactdefaultargs") SecondDerivativeBernstein; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- U: float DDA: math_Vector -Returns +Return ------- None + +Description +----------- +No available documentation. ") SecondDerivativeBernstein; static void SecondDerivativeBernstein(const Standard_Real U, math_Vector & DDA); - /****************** SplineFunction ******************/ - /**** md5 signature: 38ad65037e2df48a984f401be4124915 ****/ + /****** AppParCurves::SplineFunction ******/ + /****** md5 signature: 38ad65037e2df48a984f401be4124915 ******/ %feature("compactdefaultargs") SplineFunction; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- NbPoles: int @@ -335,9 +218,13 @@ A: math_Matrix DA: math_Matrix Index: math_IntegerVector -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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); @@ -355,82 +242,97 @@ None **************************************/ class AppParCurves_ConstraintCouple { public: - /****************** AppParCurves_ConstraintCouple ******************/ - /**** md5 signature: 2d0beb66a2c21dcdf2fbd5460216f59a ****/ + /****** AppParCurves_ConstraintCouple::AppParCurves_ConstraintCouple ******/ + /****** md5 signature: 2d0beb66a2c21dcdf2fbd5460216f59a ******/ %feature("compactdefaultargs") AppParCurves_ConstraintCouple; - %feature("autodoc", "Returns an indefinite constraintcouple. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +returns an indefinite ConstraintCouple. ") AppParCurves_ConstraintCouple; AppParCurves_ConstraintCouple(); - /****************** AppParCurves_ConstraintCouple ******************/ - /**** md5 signature: 2e04177a83c06c9aa237d2efd07304c1 ****/ + /****** AppParCurves_ConstraintCouple::AppParCurves_ConstraintCouple ******/ + /****** md5 signature: 2e04177a83c06c9aa237d2efd07304c1 ******/ %feature("compactdefaultargs") AppParCurves_ConstraintCouple; - %feature("autodoc", "Create a couple the object will have the constraint . - + %feature("autodoc", " Parameters ---------- TheIndex: int Cons: AppParCurves_Constraint -Returns +Return ------- None + +Description +----------- +Create a couple the object will have the constraint . ") AppParCurves_ConstraintCouple; AppParCurves_ConstraintCouple(const Standard_Integer TheIndex, const AppParCurves_Constraint Cons); - /****************** Constraint ******************/ - /**** md5 signature: b7676d3a1231c229c21b4d44c5eeebc6 ****/ + /****** AppParCurves_ConstraintCouple::Constraint ******/ + /****** md5 signature: b7676d3a1231c229c21b4d44c5eeebc6 ******/ %feature("compactdefaultargs") Constraint; - %feature("autodoc", "Returns the constraint of the object. - -Returns + %feature("autodoc", "Return ------- AppParCurves_Constraint + +Description +----------- +returns the constraint of the object. ") Constraint; AppParCurves_Constraint Constraint(); - /****************** Index ******************/ - /**** md5 signature: 407d80ef3037d55996765198adea3908 ****/ + /****** AppParCurves_ConstraintCouple::Index ******/ + /****** md5 signature: 407d80ef3037d55996765198adea3908 ******/ %feature("compactdefaultargs") Index; - %feature("autodoc", "Returns the index of the constraint object. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +returns the index of the constraint object. ") Index; Standard_Integer Index(); - /****************** SetConstraint ******************/ - /**** md5 signature: 5938458484f978c0b92a6c2a2d7c7815 ****/ + /****** AppParCurves_ConstraintCouple::SetConstraint ******/ + /****** md5 signature: 5938458484f978c0b92a6c2a2d7c7815 ******/ %feature("compactdefaultargs") SetConstraint; - %feature("autodoc", "Changes the constraint of the object. - + %feature("autodoc", " Parameters ---------- Cons: AppParCurves_Constraint -Returns +Return ------- None + +Description +----------- +Changes the constraint of the object. ") SetConstraint; void SetConstraint(const AppParCurves_Constraint Cons); - /****************** SetIndex ******************/ - /**** md5 signature: 8837cdd415a0f5c290f45964b1b4e33b ****/ + /****** AppParCurves_ConstraintCouple::SetIndex ******/ + /****** md5 signature: 8837cdd415a0f5c290f45964b1b4e33b ******/ %feature("compactdefaultargs") SetIndex; - %feature("autodoc", "Changes the index of the constraint object. - + %feature("autodoc", " Parameters ---------- TheIndex: int -Returns +Return ------- None + +Description +----------- +Changes the index of the constraint object. ") SetIndex; void SetIndex(const Standard_Integer TheIndex); @@ -448,84 +350,97 @@ None ********************************/ class AppParCurves_MultiCurve { public: - /****************** AppParCurves_MultiCurve ******************/ - /**** md5 signature: c99f496a7f9803f7bae2a1b9eb0e5c95 ****/ + /****** AppParCurves_MultiCurve::AppParCurves_MultiCurve ******/ + /****** md5 signature: c99f496a7f9803f7bae2a1b9eb0e5c95 ******/ %feature("compactdefaultargs") AppParCurves_MultiCurve; - %feature("autodoc", "Returns an indefinite multicurve. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +returns an indefinite MultiCurve. ") AppParCurves_MultiCurve; AppParCurves_MultiCurve(); - /****************** AppParCurves_MultiCurve ******************/ - /**** md5 signature: ab53822f8368c830602c9078bee067b6 ****/ + /****** AppParCurves_MultiCurve::AppParCurves_MultiCurve ******/ + /****** md5 signature: ab53822f8368c830602c9078bee067b6 ******/ %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. - + %feature("autodoc", " Parameters ---------- NbPol: int -Returns +Return ------- None + +Description +----------- +creates a MultiCurve, describing Bezier curves all containing the same number of MultiPoint. An exception is raised if Degree < 0. ") AppParCurves_MultiCurve; AppParCurves_MultiCurve(const Standard_Integer NbPol); - /****************** AppParCurves_MultiCurve ******************/ - /**** md5 signature: 70743a4fd5a5bb7db1b0290704f44092 ****/ + /****** AppParCurves_MultiCurve::AppParCurves_MultiCurve ******/ + /****** md5 signature: 70743a4fd5a5bb7db1b0290704f44092 ******/ %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. - + %feature("autodoc", " Parameters ---------- tabMU: AppParCurves_Array1OfMultiPoint -Returns +Return ------- None + +Description +----------- +creates a MultiCurve, describing Bezier curves all containing the same number of MultiPoint. Each MultiPoint must have NbCurves Poles. ") AppParCurves_MultiCurve; AppParCurves_MultiCurve(const AppParCurves_Array1OfMultiPoint & tabMU); - /****************** Curve ******************/ - /**** md5 signature: 77d76aad156e29d4ac0b74a9677b4fc4 ****/ + /****** AppParCurves_MultiCurve::Curve ******/ + /****** md5 signature: 77d76aad156e29d4ac0b74a9677b4fc4 ******/ %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. - + %feature("autodoc", " Parameters ---------- CuIndex: int TabPnt: TColgp_Array1OfPnt -Returns +Return ------- None + +Description +----------- +returns the Pole array of the curve of range CuIndex. An exception is raised if the dimension of the curve is 2d. ") Curve; void Curve(const Standard_Integer CuIndex, TColgp_Array1OfPnt & TabPnt); - /****************** Curve ******************/ - /**** md5 signature: 0630c6e9c6389a7dc96b7349978e4968 ****/ + /****** AppParCurves_MultiCurve::Curve ******/ + /****** md5 signature: 0630c6e9c6389a7dc96b7349978e4968 ******/ %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. - + %feature("autodoc", " Parameters ---------- CuIndex: int TabPnt: TColgp_Array1OfPnt2d -Returns +Return ------- None + +Description +----------- +returns the Pole array of the curve of range CuIndex. An exception is raised if the dimension of the curve is 3d. ") Curve; void Curve(const Standard_Integer CuIndex, TColgp_Array1OfPnt2d & TabPnt); - /****************** D1 ******************/ - /**** md5 signature: 69608dcd334935ba9947cc6e8407f786 ****/ + /****** AppParCurves_MultiCurve::D1 ******/ + /****** md5 signature: 69608dcd334935ba9947cc6e8407f786 ******/ %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. - + %feature("autodoc", " Parameters ---------- CuIndex: int @@ -533,17 +448,20 @@ U: float Pt: gp_Pnt V1: gp_Vec -Returns +Return ------- None + +Description +----------- +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. ") D1; virtual void D1(const Standard_Integer CuIndex, const Standard_Real U, gp_Pnt & Pt, gp_Vec & V1); - /****************** D1 ******************/ - /**** md5 signature: 1f28a5a9cca3a0612c23df38e60e2835 ****/ + /****** AppParCurves_MultiCurve::D1 ******/ + /****** md5 signature: 1f28a5a9cca3a0612c23df38e60e2835 ******/ %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. - + %feature("autodoc", " Parameters ---------- CuIndex: int @@ -551,17 +469,20 @@ U: float Pt: gp_Pnt2d V1: gp_Vec2d -Returns +Return ------- None + +Description +----------- +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. ") D1; virtual void D1(const Standard_Integer CuIndex, const Standard_Real U, gp_Pnt2d & Pt, gp_Vec2d & V1); - /****************** D2 ******************/ - /**** md5 signature: d386ba7a5dc9ea89f545a921999c606a ****/ + /****** AppParCurves_MultiCurve::D2 ******/ + /****** md5 signature: d386ba7a5dc9ea89f545a921999c606a ******/ %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", " Parameters ---------- CuIndex: int @@ -570,17 +491,20 @@ Pt: gp_Pnt V1: gp_Vec V2: gp_Vec -Returns +Return ------- None + +Description +----------- +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. ") D2; virtual void D2(const Standard_Integer CuIndex, const Standard_Real U, gp_Pnt & Pt, gp_Vec & V1, gp_Vec & V2); - /****************** D2 ******************/ - /**** md5 signature: 88aceafd06974bd21758462d3d3982c8 ****/ + /****** AppParCurves_MultiCurve::D2 ******/ + /****** md5 signature: 88aceafd06974bd21758462d3d3982c8 ******/ %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. - + %feature("autodoc", " Parameters ---------- CuIndex: int @@ -589,136 +513,169 @@ Pt: gp_Pnt2d V1: gp_Vec2d V2: gp_Vec2d -Returns +Return ------- None + +Description +----------- +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. ") D2; virtual void D2(const Standard_Integer CuIndex, const Standard_Real U, gp_Pnt2d & Pt, gp_Vec2d & V1, gp_Vec2d & V2); - /****************** Degree ******************/ - /**** md5 signature: d442d1b77ae7b1ce10d9531914b14be7 ****/ + /****** AppParCurves_MultiCurve::Degree ******/ + /****** md5 signature: d442d1b77ae7b1ce10d9531914b14be7 ******/ %feature("compactdefaultargs") Degree; - %feature("autodoc", "Returns the degree of the curves. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +returns the degree of the curves. ") Degree; virtual Standard_Integer Degree(); - /****************** Dimension ******************/ - /**** md5 signature: 233a747292487cfcc269a1edff4efead ****/ + /****** AppParCurves_MultiCurve::Dimension ******/ + /****** md5 signature: 233a747292487cfcc269a1edff4efead ******/ %feature("compactdefaultargs") Dimension; - %feature("autodoc", "Returns the dimension of the cuindex curve. an exception is raised if cuindex<0 or cuindex>nbcurves. - + %feature("autodoc", " Parameters ---------- CuIndex: int -Returns +Return ------- int + +Description +----------- +returns the dimension of the CuIndex curve. An exception is raised if CuIndex<0 or CuIndex>NbCurves. ") Dimension; Standard_Integer Dimension(const Standard_Integer CuIndex); + /****** AppParCurves_MultiCurve::Dump ******/ + /****** md5 signature: 3285fe47a669df0eece9c96593dad879 ******/ + %feature("compactdefaultargs") Dump; + %feature("autodoc", " +Parameters +---------- - %feature("autodoc", "1"); - %extend{ - std::string DumpToString() { - std::stringstream s; - self->Dump(s); - return s.str();} - }; - /****************** NbCurves ******************/ - /**** md5 signature: f7f6dbd981df076443155a5a87b5c223 ****/ - %feature("compactdefaultargs") NbCurves; - %feature("autodoc", "Returns the number of curves resulting from the approximation of a multiline. +Return +------- +o: Standard_OStream + +Description +----------- +Prints on the stream o information on the current state of the object. Is used to redefine the operator <<. +") Dump; + virtual void Dump(std::ostream &OutValue); -Returns + /****** AppParCurves_MultiCurve::NbCurves ******/ + /****** md5 signature: f7f6dbd981df076443155a5a87b5c223 ******/ + %feature("compactdefaultargs") NbCurves; + %feature("autodoc", "Return ------- int + +Description +----------- +Returns the number of curves resulting from the approximation of a MultiLine. ") NbCurves; Standard_Integer NbCurves(); - /****************** NbPoles ******************/ - /**** md5 signature: 1b49ced11f88c6092f4e3b2473fe0460 ****/ + /****** AppParCurves_MultiCurve::NbPoles ******/ + /****** md5 signature: 1b49ced11f88c6092f4e3b2473fe0460 ******/ %feature("compactdefaultargs") NbPoles; - %feature("autodoc", "Returns the number of poles on curves resulting from the approximation of a multiline. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns the number of poles on curves resulting from the approximation of a MultiLine. ") NbPoles; virtual Standard_Integer NbPoles(); - /****************** Pole ******************/ - /**** md5 signature: 7bb8775e90ed8f03169cae266a7799fe ****/ + /****** AppParCurves_MultiCurve::Pole ******/ + /****** md5 signature: 7bb8775e90ed8f03169cae266a7799fe ******/ %feature("compactdefaultargs") Pole; - %feature("autodoc", "Returns the nieme pole of the cuindex curve. the curve must be a 3d curve. - + %feature("autodoc", " Parameters ---------- CuIndex: int Nieme: int -Returns +Return ------- gp_Pnt + +Description +----------- +returns the Nieme pole of the CuIndex curve. the curve must be a 3D curve. ") Pole; const gp_Pnt Pole(const Standard_Integer CuIndex, const Standard_Integer Nieme); - /****************** Pole2d ******************/ - /**** md5 signature: 880b22a4b3330f19044b87412dc9e9d8 ****/ + /****** AppParCurves_MultiCurve::Pole2d ******/ + /****** md5 signature: 880b22a4b3330f19044b87412dc9e9d8 ******/ %feature("compactdefaultargs") Pole2d; - %feature("autodoc", "Returns the nieme pole of the cuindex curve. the curve must be a 2d curve. - + %feature("autodoc", " Parameters ---------- CuIndex: int Nieme: int -Returns +Return ------- gp_Pnt2d + +Description +----------- +returns the Nieme pole of the CuIndex curve. the curve must be a 2D curve. ") Pole2d; const gp_Pnt2d Pole2d(const Standard_Integer CuIndex, const Standard_Integer Nieme); - /****************** SetNbPoles ******************/ - /**** md5 signature: f55c5d785771e333d790c81f3fd2756c ****/ + /****** AppParCurves_MultiCurve::SetNbPoles ******/ + /****** md5 signature: f55c5d785771e333d790c81f3fd2756c ******/ %feature("compactdefaultargs") SetNbPoles; - %feature("autodoc", "The number of poles of the multicurve will be set to . - + %feature("autodoc", " Parameters ---------- nbPoles: int -Returns +Return ------- None + +Description +----------- +The number of poles of the MultiCurve will be set to . ") SetNbPoles; void SetNbPoles(const Standard_Integer nbPoles); - /****************** SetValue ******************/ - /**** md5 signature: c785c64b1d8f4f0cfc1d59599a082232 ****/ + /****** AppParCurves_MultiCurve::SetValue ******/ + /****** md5 signature: c785c64b1d8f4f0cfc1d59599a082232 ******/ %feature("compactdefaultargs") SetValue; - %feature("autodoc", "Sets the multipoint of range index to the value . an exception is raised if index <0 or index >nbmpoint. - + %feature("autodoc", " Parameters ---------- Index: int MPoint: AppParCurves_MultiPoint -Returns +Return ------- None + +Description +----------- +sets the MultiPoint of range Index to the value . An exception is raised if Index <0 or Index >NbMPoint. ") SetValue; void SetValue(const Standard_Integer Index, const AppParCurves_MultiPoint & MPoint); - /****************** Transform ******************/ - /**** md5 signature: eeafca59c4aa3844b7ef4b2a2000138b ****/ + /****** AppParCurves_MultiCurve::Transform ******/ + /****** md5 signature: eeafca59c4aa3844b7ef4b2a2000138b ******/ %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", " Parameters ---------- CuIndex: int @@ -729,17 +686,20 @@ dy: float z: float dz: float -Returns +Return ------- None + +Description +----------- +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. ") 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); - /****************** Transform2d ******************/ - /**** md5 signature: f971a79006ea32dbdba557f63bde3045 ****/ + /****** AppParCurves_MultiCurve::Transform2d ******/ + /****** md5 signature: f971a79006ea32dbdba557f63bde3045 ******/ %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. - + %feature("autodoc", " Parameters ---------- CuIndex: int @@ -748,58 +708,71 @@ dx: float y: float dy: float -Returns +Return ------- None + +Description +----------- +Applies a transformation to the Curve of range . newx = x + dx*oldx newy = y + dy*oldy for all points of the curve. ") Transform2d; void Transform2d(const Standard_Integer CuIndex, const Standard_Real x, const Standard_Real dx, const Standard_Real y, const Standard_Real dy); - /****************** Value ******************/ - /**** md5 signature: d01350fa8fbaba6cf60b90df24a52acd ****/ + /****** AppParCurves_MultiCurve::Value ******/ + /****** md5 signature: d01350fa8fbaba6cf60b90df24a52acd ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns the index multipoint. an exception is raised if index <0 or index >degree+1. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- AppParCurves_MultiPoint + +Description +----------- +returns the Index MultiPoint. An exception is raised if Index <0 or Index >Degree+1. ") Value; - const AppParCurves_MultiPoint & Value(const Standard_Integer Index); + AppParCurves_MultiPoint Value(const Standard_Integer Index); - /****************** Value ******************/ - /**** md5 signature: 36d681f12c55158bec87d7926565a2ae ****/ + /****** AppParCurves_MultiCurve::Value ******/ + /****** md5 signature: 36d681f12c55158bec87d7926565a2ae ******/ %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. - + %feature("autodoc", " Parameters ---------- CuIndex: int U: float Pt: gp_Pnt -Returns +Return ------- None + +Description +----------- +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. ") Value; virtual void Value(const Standard_Integer CuIndex, const Standard_Real U, gp_Pnt & Pt); - /****************** Value ******************/ - /**** md5 signature: 502a825f28e07eac0d63ead931b327a4 ****/ + /****** AppParCurves_MultiCurve::Value ******/ + /****** md5 signature: 502a825f28e07eac0d63ead931b327a4 ******/ %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. - + %feature("autodoc", " Parameters ---------- CuIndex: int U: float Pt: gp_Pnt2d -Returns +Return ------- None + +Description +----------- +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. ") Value; virtual void Value(const Standard_Integer CuIndex, const Standard_Real U, gp_Pnt2d & Pt); @@ -817,191 +790,232 @@ None ********************************/ class AppParCurves_MultiPoint { public: - /****************** AppParCurves_MultiPoint ******************/ - /**** md5 signature: bdc6941dcf0660c86661916e3a73590f ****/ + /****** AppParCurves_MultiPoint::AppParCurves_MultiPoint ******/ + /****** md5 signature: bdc6941dcf0660c86661916e3a73590f ******/ %feature("compactdefaultargs") AppParCurves_MultiPoint; - %feature("autodoc", "Creates an indefinite multipoint. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +creates an indefinite MultiPoint. ") AppParCurves_MultiPoint; AppParCurves_MultiPoint(); - /****************** AppParCurves_MultiPoint ******************/ - /**** md5 signature: f2c4d8495da5191c569ee4cd81862aed ****/ + /****** AppParCurves_MultiPoint::AppParCurves_MultiPoint ******/ + /****** md5 signature: f2c4d8495da5191c569ee4cd81862aed ******/ %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. - + %feature("autodoc", " Parameters ---------- NbPoints: int NbPoints2d: int -Returns +Return ------- None + +Description +----------- +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; AppParCurves_MultiPoint(const Standard_Integer NbPoints, const Standard_Integer NbPoints2d); - /****************** AppParCurves_MultiPoint ******************/ - /**** md5 signature: 098d62ea6d68baf166c4e47892f5582a ****/ + /****** AppParCurves_MultiPoint::AppParCurves_MultiPoint ******/ + /****** md5 signature: 098d62ea6d68baf166c4e47892f5582a ******/ %feature("compactdefaultargs") AppParCurves_MultiPoint; - %feature("autodoc", "Creates a multipoint only composed of 3d points. - + %feature("autodoc", " Parameters ---------- tabP: TColgp_Array1OfPnt -Returns +Return ------- None + +Description +----------- +creates a MultiPoint only composed of 3D points. ") AppParCurves_MultiPoint; AppParCurves_MultiPoint(const TColgp_Array1OfPnt & tabP); - /****************** AppParCurves_MultiPoint ******************/ - /**** md5 signature: c08efd211c7d4211982830578522853e ****/ + /****** AppParCurves_MultiPoint::AppParCurves_MultiPoint ******/ + /****** md5 signature: c08efd211c7d4211982830578522853e ******/ %feature("compactdefaultargs") AppParCurves_MultiPoint; - %feature("autodoc", "Creates a multipoint only composed of 2d points. - + %feature("autodoc", " Parameters ---------- tabP2d: TColgp_Array1OfPnt2d -Returns +Return ------- None + +Description +----------- +creates a MultiPoint only composed of 2D points. ") AppParCurves_MultiPoint; AppParCurves_MultiPoint(const TColgp_Array1OfPnt2d & tabP2d); - /****************** AppParCurves_MultiPoint ******************/ - /**** md5 signature: 6edc620d44780f5e3d5ef9bc7b67f769 ****/ + /****** AppParCurves_MultiPoint::AppParCurves_MultiPoint ******/ + /****** md5 signature: 6edc620d44780f5e3d5ef9bc7b67f769 ******/ %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. - + %feature("autodoc", " Parameters ---------- tabP: TColgp_Array1OfPnt tabP2d: TColgp_Array1OfPnt2d -Returns +Return ------- None + +Description +----------- +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; AppParCurves_MultiPoint(const TColgp_Array1OfPnt & tabP, const TColgp_Array1OfPnt2d & tabP2d); - /****************** Dimension ******************/ - /**** md5 signature: d62b6204616825059e668380c046a413 ****/ + /****** AppParCurves_MultiPoint::Dimension ******/ + /****** md5 signature: d62b6204616825059e668380c046a413 ******/ %feature("compactdefaultargs") Dimension; - %feature("autodoc", "Returns the dimension of the point of range index. an exception is raised if index <0 or index > nbcurves. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- int + +Description +----------- +returns the dimension of the point of range Index. An exception is raised if Index <0 or Index > NbCurves. ") Dimension; Standard_Integer Dimension(const Standard_Integer Index); + /****** AppParCurves_MultiPoint::Dump ******/ + /****** md5 signature: 3285fe47a669df0eece9c96593dad879 ******/ + %feature("compactdefaultargs") Dump; + %feature("autodoc", " +Parameters +---------- - %feature("autodoc", "1"); - %extend{ - std::string DumpToString() { - std::stringstream s; - self->Dump(s); - return s.str();} - }; - /****************** NbPoints ******************/ - /**** md5 signature: 1d4bbbd7c4dda4f1e56c00ae994bedbe ****/ - %feature("compactdefaultargs") NbPoints; - %feature("autodoc", "Returns the number of points of dimension 3d. +Return +------- +o: Standard_OStream + +Description +----------- +Prints on the stream o information on the current state of the object. Is used to redefine the operator <<. +") Dump; + virtual void Dump(std::ostream &OutValue); -Returns + /****** AppParCurves_MultiPoint::NbPoints ******/ + /****** md5 signature: 1d4bbbd7c4dda4f1e56c00ae994bedbe ******/ + %feature("compactdefaultargs") NbPoints; + %feature("autodoc", "Return ------- int + +Description +----------- +returns the number of points of dimension 3D. ") NbPoints; Standard_Integer NbPoints(); - /****************** NbPoints2d ******************/ - /**** md5 signature: 04e861cb3ea7014064e18d2efa74916e ****/ + /****** AppParCurves_MultiPoint::NbPoints2d ******/ + /****** md5 signature: 04e861cb3ea7014064e18d2efa74916e ******/ %feature("compactdefaultargs") NbPoints2d; - %feature("autodoc", "Returns the number of points of dimension 2d. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +returns the number of points of dimension 2D. ") NbPoints2d; Standard_Integer NbPoints2d(); - /****************** Point ******************/ - /**** md5 signature: ee1d88fa34d027a5da9aa36f1333c940 ****/ + /****** AppParCurves_MultiPoint::Point ******/ + /****** md5 signature: ee1d88fa34d027a5da9aa36f1333c940 ******/ %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. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- gp_Pnt + +Description +----------- +returns the 3d Point of range Index. An exception is raised if Index < 0 or Index < number of 3d Points. ") Point; const gp_Pnt Point(const Standard_Integer Index); - /****************** Point2d ******************/ - /**** md5 signature: 63958a48bde67c8c9498c94bf226f0c1 ****/ + /****** AppParCurves_MultiPoint::Point2d ******/ + /****** md5 signature: 63958a48bde67c8c9498c94bf226f0c1 ******/ %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", " Parameters ---------- Index: int -Returns +Return ------- gp_Pnt2d + +Description +----------- +returns the 2d Point of range Index. An exception is raised if index <= number of 3d Points or Index > total number of Points. ") Point2d; const gp_Pnt2d Point2d(const Standard_Integer Index); - /****************** SetPoint ******************/ - /**** md5 signature: eec4edf464bf53e171f2a10ed56a6a90 ****/ + /****** AppParCurves_MultiPoint::SetPoint ******/ + /****** md5 signature: eec4edf464bf53e171f2a10ed56a6a90 ******/ %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. - + %feature("autodoc", " Parameters ---------- Index: int Point: gp_Pnt -Returns +Return ------- None + +Description +----------- +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. ") SetPoint; void SetPoint(const Standard_Integer Index, const gp_Pnt & Point); - /****************** SetPoint2d ******************/ - /**** md5 signature: d4ab7252bb9c5fc36d58e13ed8204cd7 ****/ + /****** AppParCurves_MultiPoint::SetPoint2d ******/ + /****** md5 signature: d4ab7252bb9c5fc36d58e13ed8204cd7 ******/ %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. - + %feature("autodoc", " Parameters ---------- Index: int Point: gp_Pnt2d -Returns +Return ------- None + +Description +----------- +The 2d Point of range Index is set to . An exception is raised if Index > 3d Points or Index > total number of Points. ") SetPoint2d; void SetPoint2d(const Standard_Integer Index, const gp_Pnt2d & Point); - /****************** Transform ******************/ - /**** md5 signature: eeafca59c4aa3844b7ef4b2a2000138b ****/ + /****** AppParCurves_MultiPoint::Transform ******/ + /****** md5 signature: eeafca59c4aa3844b7ef4b2a2000138b ******/ %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", " Parameters ---------- CuIndex: int @@ -1012,17 +1026,20 @@ dy: float z: float dz: float -Returns +Return ------- None + +Description +----------- +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. ") 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); - /****************** Transform2d ******************/ - /**** md5 signature: f971a79006ea32dbdba557f63bde3045 ****/ + /****** AppParCurves_MultiPoint::Transform2d ******/ + /****** md5 signature: f971a79006ea32dbdba557f63bde3045 ******/ %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. - + %feature("autodoc", " Parameters ---------- CuIndex: int @@ -1031,9 +1048,13 @@ dx: float y: float dy: float -Returns +Return ------- None + +Description +----------- +Applies a transformation to the Curve of range . newx = x + dx*oldx newy = y + dy*oldy for all points of the curve. ") Transform2d; void Transform2d(const Standard_Integer CuIndex, const Standard_Real x, const Standard_Real dx, const Standard_Real y, const Standard_Real dy); @@ -1051,71 +1072,81 @@ None ***********************************/ class AppParCurves_MultiBSpCurve : public AppParCurves_MultiCurve { public: - /****************** AppParCurves_MultiBSpCurve ******************/ - /**** md5 signature: af68efb34081b4614004b429064cf90d ****/ + /****** AppParCurves_MultiBSpCurve::AppParCurves_MultiBSpCurve ******/ + /****** md5 signature: af68efb34081b4614004b429064cf90d ******/ %feature("compactdefaultargs") AppParCurves_MultiBSpCurve; - %feature("autodoc", "Returns an indefinite multibspcurve. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +returns an indefinite MultiBSpCurve. ") AppParCurves_MultiBSpCurve; AppParCurves_MultiBSpCurve(); - /****************** AppParCurves_MultiBSpCurve ******************/ - /**** md5 signature: 17ea5f61b50de55b2f0643399d4bf222 ****/ + /****** AppParCurves_MultiBSpCurve::AppParCurves_MultiBSpCurve ******/ + /****** md5 signature: 17ea5f61b50de55b2f0643399d4bf222 ******/ %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. - + %feature("autodoc", " Parameters ---------- NbPol: int -Returns +Return ------- None + +Description +----------- +creates a MultiBSpCurve, describing BSpline curves all containing the same number of MultiPoint. An exception is raised if Degree < 0. ") AppParCurves_MultiBSpCurve; AppParCurves_MultiBSpCurve(const Standard_Integer NbPol); - /****************** AppParCurves_MultiBSpCurve ******************/ - /**** md5 signature: 2e6a299ac2191b7c00835e952bab3994 ****/ + /****** AppParCurves_MultiBSpCurve::AppParCurves_MultiBSpCurve ******/ + /****** md5 signature: 2e6a299ac2191b7c00835e952bab3994 ******/ %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. - + %feature("autodoc", " Parameters ---------- tabMU: AppParCurves_Array1OfMultiPoint Knots: TColStd_Array1OfReal Mults: TColStd_Array1OfInteger -Returns +Return ------- None + +Description +----------- +creates a MultiBSpCurve, describing BSpline curves all containing the same number of MultiPoint. Each MultiPoint must have NbCurves Poles. ") AppParCurves_MultiBSpCurve; AppParCurves_MultiBSpCurve(const AppParCurves_Array1OfMultiPoint & tabMU, const TColStd_Array1OfReal & Knots, const TColStd_Array1OfInteger & Mults); - /****************** AppParCurves_MultiBSpCurve ******************/ - /**** md5 signature: 667077f62ca87194425908092d8f377e ****/ + /****** AppParCurves_MultiBSpCurve::AppParCurves_MultiBSpCurve ******/ + /****** md5 signature: 667077f62ca87194425908092d8f377e ******/ %feature("compactdefaultargs") AppParCurves_MultiBSpCurve; - %feature("autodoc", "Creates a multibspcurve, describing bspline curves, taking control points from . - + %feature("autodoc", " Parameters ---------- SC: AppParCurves_MultiCurve Knots: TColStd_Array1OfReal Mults: TColStd_Array1OfInteger -Returns +Return ------- None + +Description +----------- +creates a MultiBSpCurve, describing BSpline curves, taking control points from . ") AppParCurves_MultiBSpCurve; AppParCurves_MultiBSpCurve(const AppParCurves_MultiCurve & SC, const TColStd_Array1OfReal & Knots, const TColStd_Array1OfInteger & Mults); - /****************** D1 ******************/ - /**** md5 signature: 2dda908a24380d7947dff3bf28b8a69a ****/ + /****** AppParCurves_MultiBSpCurve::D1 ******/ + /****** md5 signature: 2dda908a24380d7947dff3bf28b8a69a ******/ %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", " Parameters ---------- CuIndex: int @@ -1123,17 +1154,20 @@ U: float Pt: gp_Pnt V1: gp_Vec -Returns +Return ------- None + +Description +----------- +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. ") D1; virtual void D1(const Standard_Integer CuIndex, const Standard_Real U, gp_Pnt & Pt, gp_Vec & V1); - /****************** D1 ******************/ - /**** md5 signature: e791658119b85ed908026873615bf4bb ****/ + /****** AppParCurves_MultiBSpCurve::D1 ******/ + /****** md5 signature: e791658119b85ed908026873615bf4bb ******/ %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. - + %feature("autodoc", " Parameters ---------- CuIndex: int @@ -1141,17 +1175,20 @@ U: float Pt: gp_Pnt2d V1: gp_Vec2d -Returns +Return ------- None + +Description +----------- +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; virtual void D1(const Standard_Integer CuIndex, const Standard_Real U, gp_Pnt2d & Pt, gp_Vec2d & V1); - /****************** D2 ******************/ - /**** md5 signature: 41a6c63baa5c44cc4ef2a790cd96d410 ****/ + /****** AppParCurves_MultiBSpCurve::D2 ******/ + /****** md5 signature: 41a6c63baa5c44cc4ef2a790cd96d410 ******/ %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. - + %feature("autodoc", " Parameters ---------- CuIndex: int @@ -1160,17 +1197,20 @@ Pt: gp_Pnt V1: gp_Vec V2: gp_Vec -Returns +Return ------- None + +Description +----------- +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; virtual void D2(const Standard_Integer CuIndex, const Standard_Real U, gp_Pnt & Pt, gp_Vec & V1, gp_Vec & V2); - /****************** D2 ******************/ - /**** md5 signature: f788853f472545c49cd0c6d9a312a910 ****/ + /****** AppParCurves_MultiBSpCurve::D2 ******/ + /****** md5 signature: f788853f472545c49cd0c6d9a312a910 ******/ %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. - + %feature("autodoc", " Parameters ---------- CuIndex: int @@ -1179,114 +1219,145 @@ Pt: gp_Pnt2d V1: gp_Vec2d V2: gp_Vec2d -Returns +Return ------- None + +Description +----------- +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; virtual void D2(const Standard_Integer CuIndex, const Standard_Real U, gp_Pnt2d & Pt, gp_Vec2d & V1, gp_Vec2d & V2); - /****************** Degree ******************/ - /**** md5 signature: 2cd53f6fbda0e87c600a87505cc42c0a ****/ + /****** AppParCurves_MultiBSpCurve::Degree ******/ + /****** md5 signature: 2cd53f6fbda0e87c600a87505cc42c0a ******/ %feature("compactdefaultargs") Degree; - %feature("autodoc", "Returns the degree of the curve(s). - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +returns the degree of the curve(s). ") Degree; virtual Standard_Integer Degree(); + /****** AppParCurves_MultiBSpCurve::Dump ******/ + /****** md5 signature: b42defe2d7a7208961fa81b225a70479 ******/ + %feature("compactdefaultargs") Dump; + %feature("autodoc", " +Parameters +---------- + +Return +------- +o: Standard_OStream + +Description +----------- +Prints on the stream o information on the current state of the object. Is used to redefine the operator <<. +") Dump; + virtual void Dump(std::ostream &OutValue); - %feature("autodoc", "1"); - %extend{ - std::string DumpToString() { - std::stringstream s; - self->Dump(s); - return s.str();} - }; - /****************** Knots ******************/ - /**** md5 signature: 8001460ab922c7159116eb85f0693b97 ****/ + /****** AppParCurves_MultiBSpCurve::Knots ******/ + /****** md5 signature: 8001460ab922c7159116eb85f0693b97 ******/ %feature("compactdefaultargs") Knots; - %feature("autodoc", "Returns an array of reals containing the multiplicities of curves resulting from the approximation. - -Returns + %feature("autodoc", "Return ------- TColStd_Array1OfReal + +Description +----------- +Returns an array of Reals containing the multiplicities of curves resulting from the approximation. ") Knots; const TColStd_Array1OfReal & Knots(); - /****************** Multiplicities ******************/ - /**** md5 signature: cde561f92fd30b25ca2f1b1b8716c207 ****/ + /****** AppParCurves_MultiBSpCurve::Multiplicities ******/ + /****** md5 signature: cde561f92fd30b25ca2f1b1b8716c207 ******/ %feature("compactdefaultargs") Multiplicities; - %feature("autodoc", "Returns an array of reals containing the multiplicities of curves resulting from the approximation. - -Returns + %feature("autodoc", "Return ------- TColStd_Array1OfInteger + +Description +----------- +Returns an array of Reals containing the multiplicities of curves resulting from the approximation. ") Multiplicities; const TColStd_Array1OfInteger & Multiplicities(); - /****************** SetKnots ******************/ - /**** md5 signature: 1207e3ead5948e7dbb692ff666a8c4c6 ****/ + /****** AppParCurves_MultiBSpCurve::SetKnots ******/ + /****** md5 signature: 1207e3ead5948e7dbb692ff666a8c4c6 ******/ %feature("compactdefaultargs") SetKnots; - %feature("autodoc", "Knots of the multibspcurve are assigned to . - + %feature("autodoc", " Parameters ---------- theKnots: TColStd_Array1OfReal -Returns +Return ------- None + +Description +----------- +Knots of the multiBSpCurve are assigned to . ") SetKnots; void SetKnots(const TColStd_Array1OfReal & theKnots); - /****************** SetMultiplicities ******************/ - /**** md5 signature: 88029c3854006126ceb59c1cf2511cad ****/ + /****** AppParCurves_MultiBSpCurve::SetMultiplicities ******/ + /****** md5 signature: 88029c3854006126ceb59c1cf2511cad ******/ %feature("compactdefaultargs") SetMultiplicities; - %feature("autodoc", "Multiplicities of the multibspcurve are assigned to . - + %feature("autodoc", " Parameters ---------- theMults: TColStd_Array1OfInteger -Returns +Return ------- None + +Description +----------- +Multiplicities of the multiBSpCurve are assigned to . ") SetMultiplicities; void SetMultiplicities(const TColStd_Array1OfInteger & theMults); - /****************** Value ******************/ - /**** md5 signature: cf964c7cfce5da4040dea30275022f53 ****/ + /****** AppParCurves_MultiBSpCurve::Value ******/ + /****** md5 signature: cf964c7cfce5da4040dea30275022f53 ******/ %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. - + %feature("autodoc", " Parameters ---------- CuIndex: int U: float Pt: gp_Pnt -Returns +Return ------- None + +Description +----------- +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. ") Value; virtual void Value(const Standard_Integer CuIndex, const Standard_Real U, gp_Pnt & Pt); - /****************** Value ******************/ - /**** md5 signature: 9728da3ef76ccc862255f1ef1723d43c ****/ + /****** AppParCurves_MultiBSpCurve::Value ******/ + /****** md5 signature: 9728da3ef76ccc862255f1ef1723d43c ******/ %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. - + %feature("autodoc", " Parameters ---------- CuIndex: int U: float Pt: gp_Pnt2d -Returns +Return ------- None + +Description +----------- +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. ") Value; virtual void Value(const Standard_Integer CuIndex, const Standard_Real U, gp_Pnt2d & Pt); @@ -1301,17 +1372,6 @@ None /* harray1 classes */ -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); @@ -1323,17 +1383,6 @@ class AppParCurves_HArray1OfConstraintCouple : public AppParCurves_Array1OfConst %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); @@ -1344,8 +1393,49 @@ class AppParCurves_HArray1OfMultiBSpCurve : public AppParCurves_Array1OfMultiBSp }; %make_alias(AppParCurves_HArray1OfMultiBSpCurve) + +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_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) + /* harray2 classes */ /* hsequence classes */ /* class aliases */ %pythoncode { } +/* deprecated methods */ +%pythoncode { +@deprecated +def appparcurves_Bernstein(*args): + return appparcurves.Bernstein(*args) + +@deprecated +def appparcurves_BernsteinMatrix(*args): + return appparcurves.BernsteinMatrix(*args) + +@deprecated +def appparcurves_SecondDerivativeBernstein(*args): + return appparcurves.SecondDerivativeBernstein(*args) + +@deprecated +def appparcurves_SplineFunction(*args): + return appparcurves.SplineFunction(*args) + +} diff --git a/src/SWIG_files/wrapper/AppParCurves.pyi b/src/SWIG_files/wrapper/AppParCurves.pyi index 8786e88e6..4e2a73fca 100644 --- a/src/SWIG_files/wrapper/AppParCurves.pyi +++ b/src/SWIG_files/wrapper/AppParCurves.pyi @@ -8,7 +8,6 @@ from OCC.Core.TColgp import * from OCC.Core.gp import * from OCC.Core.TColStd import * - class AppParCurves_Array1OfConstraintCouple: @overload def __init__(self) -> None: ... @@ -31,7 +30,9 @@ class AppParCurves_Array1OfConstraintCouple: def First(self) -> AppParCurves_ConstraintCouple: ... def Last(self) -> AppParCurves_ConstraintCouple: ... def Value(self, theIndex: int) -> AppParCurves_ConstraintCouple: ... - def SetValue(self, theIndex: int, theValue: AppParCurves_ConstraintCouple) -> None: ... + def SetValue( + self, theIndex: int, theValue: AppParCurves_ConstraintCouple + ) -> None: ... class AppParCurves_Array1OfMultiBSpCurve: @overload @@ -106,174 +107,246 @@ class AppParCurves_Array1OfMultiPoint: def SetValue(self, theIndex: int, theValue: AppParCurves_MultiPoint) -> None: ... class AppParCurves_SequenceOfMultiBSpCurve: - def __init__(self) -> None: ... - def __len__(self) -> int: ... - def Size(self) -> int: ... + def Assign( + self, theItem: AppParCurves_MultiBSpCurve + ) -> AppParCurves_MultiBSpCurve: ... def Clear(self) -> None: ... def First(self) -> AppParCurves_MultiBSpCurve: ... + def IsDeletables(self) -> bool: ... + def IsEmpty(self) -> bool: ... def Last(self) -> AppParCurves_MultiBSpCurve: ... def Length(self) -> int: ... - def Append(self, theItem: AppParCurves_MultiBSpCurve) -> AppParCurves_MultiBSpCurve: ... - def Prepend(self, theItem: AppParCurves_MultiBSpCurve) -> AppParCurves_MultiBSpCurve: ... + def Lower(self) -> int: ... + def Prepend( + self, theItem: AppParCurves_MultiBSpCurve + ) -> AppParCurves_MultiBSpCurve: ... def RemoveFirst(self) -> None: ... def Reverse(self) -> None: ... - def Value(self, theIndex: int) -> AppParCurves_MultiBSpCurve: ... def SetValue(self, theIndex: int, theValue: AppParCurves_MultiBSpCurve) -> None: ... - -class AppParCurves_SequenceOfMultiCurve: + def Size(self) -> int: ... + def UpdateUpperBound(self, int) -> None: ... + def UpdateLowerBound(self, int) -> None: ... + def Upper(self) -> int: ... + def Value(self, theIndex: int) -> AppParCurves_MultiBSpCurve: ... def __init__(self) -> None: ... def __len__(self) -> int: ... - def Size(self) -> int: ... + +class AppParCurves_SequenceOfMultiCurve: + def Assign(self, theItem: AppParCurves_MultiCurve) -> AppParCurves_MultiCurve: ... def Clear(self) -> None: ... def First(self) -> AppParCurves_MultiCurve: ... + def IsDeletables(self) -> bool: ... + def IsEmpty(self) -> bool: ... def Last(self) -> AppParCurves_MultiCurve: ... def Length(self) -> int: ... - def Append(self, theItem: AppParCurves_MultiCurve) -> AppParCurves_MultiCurve: ... + def Lower(self) -> int: ... def Prepend(self, theItem: AppParCurves_MultiCurve) -> AppParCurves_MultiCurve: ... def RemoveFirst(self) -> None: ... def Reverse(self) -> None: ... - def Value(self, theIndex: int) -> AppParCurves_MultiCurve: ... def SetValue(self, theIndex: int, theValue: AppParCurves_MultiCurve) -> None: ... + def Size(self) -> int: ... + def UpdateUpperBound(self, int) -> None: ... + def UpdateLowerBound(self, int) -> None: ... + def Upper(self) -> int: ... + def Value(self, theIndex: int) -> AppParCurves_MultiCurve: ... + def __init__(self) -> None: ... + def __len__(self) -> int: ... class AppParCurves_Constraint(IntEnum): - AppParCurves_NoConstraint: int = ... - AppParCurves_PassPoint: int = ... - AppParCurves_TangencyPoint: int = ... - AppParCurves_CurvaturePoint: int = ... + AppParCurves_NoConstraint: int = ... + AppParCurves_PassPoint: int = ... + AppParCurves_TangencyPoint: int = ... + AppParCurves_CurvaturePoint: int = ... + AppParCurves_NoConstraint = AppParCurves_Constraint.AppParCurves_NoConstraint AppParCurves_PassPoint = AppParCurves_Constraint.AppParCurves_PassPoint AppParCurves_TangencyPoint = AppParCurves_Constraint.AppParCurves_TangencyPoint AppParCurves_CurvaturePoint = AppParCurves_Constraint.AppParCurves_CurvaturePoint class appparcurves: - @staticmethod - def Bernstein(NbPoles: int, U: math_Vector, A: math_Matrix, DA: math_Matrix) -> None: ... - @staticmethod - def BernsteinMatrix(NbPoles: int, U: math_Vector, A: math_Matrix) -> None: ... - @staticmethod - def SecondDerivativeBernstein(U: float, DDA: math_Vector) -> None: ... - @staticmethod - def SplineFunction(NbPoles: int, Degree: int, Parameters: math_Vector, FlatKnots: math_Vector, A: math_Matrix, DA: math_Matrix, Index: math_IntegerVector) -> None: ... + @staticmethod + def Bernstein( + NbPoles: int, U: math_Vector, A: math_Matrix, DA: math_Matrix + ) -> None: ... + @staticmethod + def BernsteinMatrix(NbPoles: int, U: math_Vector, A: math_Matrix) -> None: ... + @staticmethod + def SecondDerivativeBernstein(U: float, DDA: math_Vector) -> None: ... + @staticmethod + def SplineFunction( + NbPoles: int, + Degree: int, + Parameters: math_Vector, + FlatKnots: math_Vector, + A: math_Matrix, + DA: math_Matrix, + Index: math_IntegerVector, + ) -> None: ... class AppParCurves_ConstraintCouple: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, TheIndex: int, Cons: AppParCurves_Constraint) -> None: ... - def Constraint(self) -> AppParCurves_Constraint: ... - def Index(self) -> int: ... - def SetConstraint(self, Cons: AppParCurves_Constraint) -> None: ... - def SetIndex(self, TheIndex: int) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, TheIndex: int, Cons: AppParCurves_Constraint) -> None: ... + def Constraint(self) -> AppParCurves_Constraint: ... + def Index(self) -> int: ... + def SetConstraint(self, Cons: AppParCurves_Constraint) -> None: ... + def SetIndex(self, TheIndex: int) -> None: ... class AppParCurves_MultiCurve: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, NbPol: int) -> None: ... - @overload - def __init__(self, tabMU: AppParCurves_Array1OfMultiPoint) -> None: ... - @overload - def Curve(self, CuIndex: int, TabPnt: TColgp_Array1OfPnt) -> None: ... - @overload - def Curve(self, CuIndex: int, TabPnt: TColgp_Array1OfPnt2d) -> None: ... - @overload - def D1(self, CuIndex: int, U: float, Pt: gp_Pnt, V1: gp_Vec) -> None: ... - @overload - def D1(self, CuIndex: int, U: float, Pt: gp_Pnt2d, V1: gp_Vec2d) -> None: ... - @overload - def D2(self, CuIndex: int, U: float, Pt: gp_Pnt, V1: gp_Vec, V2: gp_Vec) -> None: ... - @overload - def D2(self, CuIndex: int, U: float, Pt: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d) -> None: ... - def Degree(self) -> int: ... - def Dimension(self, CuIndex: int) -> int: ... - def NbCurves(self) -> int: ... - def NbPoles(self) -> int: ... - def Pole(self, CuIndex: int, Nieme: int) -> gp_Pnt: ... - def Pole2d(self, CuIndex: int, Nieme: int) -> gp_Pnt2d: ... - def SetNbPoles(self, nbPoles: int) -> None: ... - def SetValue(self, Index: int, MPoint: AppParCurves_MultiPoint) -> None: ... - def Transform(self, CuIndex: int, x: float, dx: float, y: float, dy: float, z: float, dz: float) -> None: ... - def Transform2d(self, CuIndex: int, x: float, dx: float, y: float, dy: float) -> None: ... - @overload - def Value(self, Index: int) -> AppParCurves_MultiPoint: ... - @overload - def Value(self, CuIndex: int, U: float, Pt: gp_Pnt) -> None: ... - @overload - def Value(self, CuIndex: int, U: float, Pt: gp_Pnt2d) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, NbPol: int) -> None: ... + @overload + def __init__(self, tabMU: AppParCurves_Array1OfMultiPoint) -> None: ... + @overload + def Curve(self, CuIndex: int, TabPnt: TColgp_Array1OfPnt) -> None: ... + @overload + def Curve(self, CuIndex: int, TabPnt: TColgp_Array1OfPnt2d) -> None: ... + @overload + def D1(self, CuIndex: int, U: float, Pt: gp_Pnt, V1: gp_Vec) -> None: ... + @overload + def D1(self, CuIndex: int, U: float, Pt: gp_Pnt2d, V1: gp_Vec2d) -> None: ... + @overload + def D2( + self, CuIndex: int, U: float, Pt: gp_Pnt, V1: gp_Vec, V2: gp_Vec + ) -> None: ... + @overload + def D2( + self, CuIndex: int, U: float, Pt: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d + ) -> None: ... + def Degree(self) -> int: ... + def Dimension(self, CuIndex: int) -> int: ... + def Dump(self) -> str: ... + def NbCurves(self) -> int: ... + def NbPoles(self) -> int: ... + def Pole(self, CuIndex: int, Nieme: int) -> gp_Pnt: ... + def Pole2d(self, CuIndex: int, Nieme: int) -> gp_Pnt2d: ... + def SetNbPoles(self, nbPoles: int) -> None: ... + def SetValue(self, Index: int, MPoint: AppParCurves_MultiPoint) -> None: ... + def Transform( + self, + CuIndex: int, + x: float, + dx: float, + y: float, + dy: float, + z: float, + dz: float, + ) -> None: ... + def Transform2d( + self, CuIndex: int, x: float, dx: float, y: float, dy: float + ) -> None: ... + @overload + def Value(self, Index: int) -> AppParCurves_MultiPoint: ... + @overload + def Value(self, CuIndex: int, U: float, Pt: gp_Pnt) -> None: ... + @overload + def Value(self, CuIndex: int, U: float, Pt: gp_Pnt2d) -> None: ... class AppParCurves_MultiPoint: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, NbPoints: int, NbPoints2d: int) -> None: ... - @overload - def __init__(self, tabP: TColgp_Array1OfPnt) -> None: ... - @overload - def __init__(self, tabP2d: TColgp_Array1OfPnt2d) -> None: ... - @overload - def __init__(self, tabP: TColgp_Array1OfPnt, tabP2d: TColgp_Array1OfPnt2d) -> None: ... - def Dimension(self, Index: int) -> int: ... - def NbPoints(self) -> int: ... - def NbPoints2d(self) -> int: ... - def Point(self, Index: int) -> gp_Pnt: ... - def Point2d(self, Index: int) -> gp_Pnt2d: ... - def SetPoint(self, Index: int, Point: gp_Pnt) -> None: ... - def SetPoint2d(self, Index: int, Point: gp_Pnt2d) -> None: ... - def Transform(self, CuIndex: int, x: float, dx: float, y: float, dy: float, z: float, dz: float) -> None: ... - def Transform2d(self, CuIndex: int, x: float, dx: float, y: float, dy: float) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, NbPoints: int, NbPoints2d: int) -> None: ... + @overload + def __init__(self, tabP: TColgp_Array1OfPnt) -> None: ... + @overload + def __init__(self, tabP2d: TColgp_Array1OfPnt2d) -> None: ... + @overload + def __init__( + self, tabP: TColgp_Array1OfPnt, tabP2d: TColgp_Array1OfPnt2d + ) -> None: ... + def Dimension(self, Index: int) -> int: ... + def Dump(self) -> str: ... + def NbPoints(self) -> int: ... + def NbPoints2d(self) -> int: ... + def Point(self, Index: int) -> gp_Pnt: ... + def Point2d(self, Index: int) -> gp_Pnt2d: ... + def SetPoint(self, Index: int, Point: gp_Pnt) -> None: ... + def SetPoint2d(self, Index: int, Point: gp_Pnt2d) -> None: ... + def Transform( + self, + CuIndex: int, + x: float, + dx: float, + y: float, + dy: float, + z: float, + dz: float, + ) -> None: ... + def Transform2d( + self, CuIndex: int, x: float, dx: float, y: float, dy: float + ) -> None: ... class AppParCurves_MultiBSpCurve(AppParCurves_MultiCurve): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, NbPol: int) -> None: ... - @overload - def __init__(self, tabMU: AppParCurves_Array1OfMultiPoint, Knots: TColStd_Array1OfReal, Mults: TColStd_Array1OfInteger) -> None: ... - @overload - def __init__(self, SC: AppParCurves_MultiCurve, Knots: TColStd_Array1OfReal, Mults: TColStd_Array1OfInteger) -> None: ... - @overload - def D1(self, CuIndex: int, U: float, Pt: gp_Pnt, V1: gp_Vec) -> None: ... - @overload - def D1(self, CuIndex: int, U: float, Pt: gp_Pnt2d, V1: gp_Vec2d) -> None: ... - @overload - def D2(self, CuIndex: int, U: float, Pt: gp_Pnt, V1: gp_Vec, V2: gp_Vec) -> None: ... - @overload - def D2(self, CuIndex: int, U: float, Pt: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d) -> None: ... - def Degree(self) -> int: ... - def Knots(self) -> TColStd_Array1OfReal: ... - def Multiplicities(self) -> TColStd_Array1OfInteger: ... - def SetKnots(self, theKnots: TColStd_Array1OfReal) -> None: ... - def SetMultiplicities(self, theMults: TColStd_Array1OfInteger) -> None: ... - @overload - def Value(self, CuIndex: int, U: float, Pt: gp_Pnt) -> None: ... - @overload - def Value(self, CuIndex: int, U: float, Pt: gp_Pnt2d) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, NbPol: int) -> None: ... + @overload + def __init__( + self, + tabMU: AppParCurves_Array1OfMultiPoint, + Knots: TColStd_Array1OfReal, + Mults: TColStd_Array1OfInteger, + ) -> None: ... + @overload + def __init__( + self, + SC: AppParCurves_MultiCurve, + Knots: TColStd_Array1OfReal, + Mults: TColStd_Array1OfInteger, + ) -> None: ... + @overload + def D1(self, CuIndex: int, U: float, Pt: gp_Pnt, V1: gp_Vec) -> None: ... + @overload + def D1(self, CuIndex: int, U: float, Pt: gp_Pnt2d, V1: gp_Vec2d) -> None: ... + @overload + def D2( + self, CuIndex: int, U: float, Pt: gp_Pnt, V1: gp_Vec, V2: gp_Vec + ) -> None: ... + @overload + def D2( + self, CuIndex: int, U: float, Pt: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d + ) -> None: ... + def Degree(self) -> int: ... + def Dump(self) -> str: ... + def Knots(self) -> TColStd_Array1OfReal: ... + def Multiplicities(self) -> TColStd_Array1OfInteger: ... + def SetKnots(self, theKnots: TColStd_Array1OfReal) -> None: ... + def SetMultiplicities(self, theMults: TColStd_Array1OfInteger) -> None: ... + @overload + def Value(self, CuIndex: int, U: float, Pt: gp_Pnt) -> None: ... + @overload + def Value(self, CuIndex: int, U: float, Pt: gp_Pnt2d) -> None: ... # harray1 classes -class AppParCurves_HArray1OfMultiCurve(AppParCurves_Array1OfMultiCurve, Standard_Transient): - def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> AppParCurves_Array1OfMultiCurve: ... - - -class AppParCurves_HArray1OfConstraintCouple(AppParCurves_Array1OfConstraintCouple, Standard_Transient): +class AppParCurves_HArray1OfConstraintCouple( + AppParCurves_Array1OfConstraintCouple, Standard_Transient +): def __init__(self, theLower: int, theUpper: int) -> None: ... def Array1(self) -> AppParCurves_Array1OfConstraintCouple: ... - -class AppParCurves_HArray1OfMultiPoint(AppParCurves_Array1OfMultiPoint, Standard_Transient): +class AppParCurves_HArray1OfMultiBSpCurve( + AppParCurves_Array1OfMultiBSpCurve, Standard_Transient +): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> AppParCurves_Array1OfMultiPoint: ... + def Array1(self) -> AppParCurves_Array1OfMultiBSpCurve: ... +class AppParCurves_HArray1OfMultiCurve( + AppParCurves_Array1OfMultiCurve, Standard_Transient +): + def __init__(self, theLower: int, theUpper: int) -> None: ... + def Array1(self) -> AppParCurves_Array1OfMultiCurve: ... -class AppParCurves_HArray1OfMultiBSpCurve(AppParCurves_Array1OfMultiBSpCurve, Standard_Transient): +class AppParCurves_HArray1OfMultiPoint( + AppParCurves_Array1OfMultiPoint, Standard_Transient +): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> AppParCurves_Array1OfMultiBSpCurve: ... + def Array1(self) -> AppParCurves_Array1OfMultiPoint: ... # harray2 classes # hsequence classes - -appparcurves_Bernstein = appparcurves.Bernstein -appparcurves_BernsteinMatrix = appparcurves.BernsteinMatrix -appparcurves_SecondDerivativeBernstein = appparcurves.SecondDerivativeBernstein -appparcurves_SplineFunction = appparcurves.SplineFunction diff --git a/src/SWIG_files/wrapper/AppStd.i b/src/SWIG_files/wrapper/AppStd.i index 527c0a9da..e1ab2b61f 100644 --- a/src/SWIG_files/wrapper/AppStd.i +++ b/src/SWIG_files/wrapper/AppStd.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define APPSTDDOCSTRING "AppStd module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_appstd.html" +https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_appstd.html" %enddef %module (package="OCC.Core", docstring=APPSTDDOCSTRING) AppStd @@ -31,8 +31,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_appstd.html" %include ../common/CommonIncludes.i %include ../common/ExceptionCatcher.i %include ../common/FunctionTransformers.i +%include ../common/EnumTemplates.i %include ../common/Operators.i %include ../common/OccHandle.i +%include ../common/IOStream.i +%include ../common/ArrayMacros.i %{ @@ -65,7 +68,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -86,23 +89,38 @@ from OCC.Core.Exception import * class AppStd_Application : public TDocStd_Application { public: - %feature("autodoc", "1"); - %extend{ - std::string DumpJsonToString(int depth=-1) { - std::stringstream s; - self->DumpJson(s, depth); - return s.str();} - }; - /****************** ResourcesName ******************/ - /**** md5 signature: 93814b3160304ee63e9655e18518a289 ****/ - %feature("compactdefaultargs") ResourcesName; - %feature("autodoc", "Returns the file name which contains application resources. + /****************** DumpJson ******************/ + %feature("autodoc", " +Parameters +---------- +depth: int, default=-1 -Returns +Return +------- +str + +Description +----------- +Dump the object to JSON string. +") DumpJson; + %extend{ + std::string DumpJson(int depth=-1) { + std::stringstream s; + self->DumpJson(s, depth); + return "{" + s.str() + "}" ;} + }; + /****** AppStd_Application::ResourcesName ******/ + /****** md5 signature: 93814b3160304ee63e9655e18518a289 ******/ + %feature("compactdefaultargs") ResourcesName; + %feature("autodoc", "Return ------- -char * +str + +Description +----------- +returns the file name which contains application resources. ") ResourcesName; - const char * ResourcesName(); + Standard_CString ResourcesName(); }; diff --git a/src/SWIG_files/wrapper/AppStd.pyi b/src/SWIG_files/wrapper/AppStd.pyi index 6c536a2a0..b945842ca 100644 --- a/src/SWIG_files/wrapper/AppStd.pyi +++ b/src/SWIG_files/wrapper/AppStd.pyi @@ -5,11 +5,10 @@ from OCC.Core.Standard import * from OCC.Core.NCollection import * from OCC.Core.TDocStd import * - class AppStd_Application(TDocStd_Application): - def ResourcesName(self) -> str: ... + def DumpJson(self, depth: Optional[int] = -1) -> str: ... + def ResourcesName(self) -> str: ... # harray1 classes # harray2 classes # hsequence classes - diff --git a/src/SWIG_files/wrapper/AppStdL.i b/src/SWIG_files/wrapper/AppStdL.i index 6e1e5dbb3..16ebe910b 100644 --- a/src/SWIG_files/wrapper/AppStdL.i +++ b/src/SWIG_files/wrapper/AppStdL.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define APPSTDLDOCSTRING "AppStdL module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_appstdl.html" +https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_appstdl.html" %enddef %module (package="OCC.Core", docstring=APPSTDLDOCSTRING) AppStdL @@ -31,8 +31,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_appstdl.html" %include ../common/CommonIncludes.i %include ../common/ExceptionCatcher.i %include ../common/FunctionTransformers.i +%include ../common/EnumTemplates.i %include ../common/Operators.i %include ../common/OccHandle.i +%include ../common/IOStream.i +%include ../common/ArrayMacros.i %{ @@ -66,7 +69,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -87,23 +90,38 @@ from OCC.Core.Exception import * class AppStdL_Application : public TDocStd_Application { public: - %feature("autodoc", "1"); - %extend{ - std::string DumpJsonToString(int depth=-1) { - std::stringstream s; - self->DumpJson(s, depth); - return s.str();} - }; - /****************** ResourcesName ******************/ - /**** md5 signature: 93814b3160304ee63e9655e18518a289 ****/ - %feature("compactdefaultargs") ResourcesName; - %feature("autodoc", "Returns the file name which contains application resources. + /****************** DumpJson ******************/ + %feature("autodoc", " +Parameters +---------- +depth: int, default=-1 -Returns +Return +------- +str + +Description +----------- +Dump the object to JSON string. +") DumpJson; + %extend{ + std::string DumpJson(int depth=-1) { + std::stringstream s; + self->DumpJson(s, depth); + return "{" + s.str() + "}" ;} + }; + /****** AppStdL_Application::ResourcesName ******/ + /****** md5 signature: 93814b3160304ee63e9655e18518a289 ******/ + %feature("compactdefaultargs") ResourcesName; + %feature("autodoc", "Return ------- -char * +str + +Description +----------- +returns the file name which contains application resources. ") ResourcesName; - const char * ResourcesName(); + Standard_CString ResourcesName(); }; diff --git a/src/SWIG_files/wrapper/AppStdL.pyi b/src/SWIG_files/wrapper/AppStdL.pyi index d28d9da80..31812bb1e 100644 --- a/src/SWIG_files/wrapper/AppStdL.pyi +++ b/src/SWIG_files/wrapper/AppStdL.pyi @@ -5,11 +5,10 @@ from OCC.Core.Standard import * from OCC.Core.NCollection import * from OCC.Core.TDocStd import * - class AppStdL_Application(TDocStd_Application): - def ResourcesName(self) -> str: ... + def DumpJson(self, depth: Optional[int] = -1) -> str: ... + def ResourcesName(self) -> str: ... # harray1 classes # harray2 classes # hsequence classes - diff --git a/src/SWIG_files/wrapper/Approx.i b/src/SWIG_files/wrapper/Approx.i index d1a10d28b..77ccd38c4 100644 --- a/src/SWIG_files/wrapper/Approx.i +++ b/src/SWIG_files/wrapper/Approx.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define APPROXDOCSTRING "Approx module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_approx.html" +https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_approx.html" %enddef %module (package="OCC.Core", docstring=APPROXDOCSTRING) Approx @@ -31,8 +31,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_approx.html" %include ../common/CommonIncludes.i %include ../common/ExceptionCatcher.i %include ../common/FunctionTransformers.i +%include ../common/EnumTemplates.i %include ../common/Operators.i %include ../common/OccHandle.i +%include ../common/IOStream.i +%include ../common/ArrayMacros.i %{ @@ -41,8 +44,8 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_approx.html" //Dependencies #include #include -#include #include +#include #include #include #include @@ -61,8 +64,8 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_approx.html" %}; %import Standard.i %import NCollection.i -%import TColStd.i %import Adaptor3d.i +%import TColStd.i %import Adaptor2d.i %import GeomAbs.i %import Geom2d.i @@ -78,31 +81,23 @@ from OCC.Core.Exception import * }; /* public enums */ -enum Approx_Status { - Approx_PointsAdded = 0, - Approx_NoPointsAdded = 1, - Approx_NoApproximation = 2, -}; - enum Approx_ParametrizationType { Approx_ChordLength = 0, Approx_Centripetal = 1, Approx_IsoParametric = 2, }; +enum Approx_Status { + Approx_PointsAdded = 0, + Approx_NoPointsAdded = 1, + Approx_NoApproximation = 2, +}; + /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { -class Approx_Status(IntEnum): - Approx_PointsAdded = 0 - Approx_NoPointsAdded = 1 - Approx_NoApproximation = 2 -Approx_PointsAdded = Approx_Status.Approx_PointsAdded -Approx_NoPointsAdded = Approx_Status.Approx_NoPointsAdded -Approx_NoApproximation = Approx_Status.Approx_NoApproximation - class Approx_ParametrizationType(IntEnum): Approx_ChordLength = 0 Approx_Centripetal = 1 @@ -110,87 +105,31 @@ class Approx_ParametrizationType(IntEnum): Approx_ChordLength = Approx_ParametrizationType.Approx_ChordLength Approx_Centripetal = Approx_ParametrizationType.Approx_Centripetal Approx_IsoParametric = Approx_ParametrizationType.Approx_IsoParametric + +class Approx_Status(IntEnum): + Approx_PointsAdded = 0 + Approx_NoPointsAdded = 1 + Approx_NoApproximation = 2 +Approx_PointsAdded = Approx_Status.Approx_PointsAdded +Approx_NoPointsAdded = Approx_Status.Approx_NoPointsAdded +Approx_NoApproximation = Approx_Status.Approx_NoApproximation }; /* end python proxy for enums */ /* handles */ %wrap_handle(Approx_CurvlinFunc) %wrap_handle(Approx_SweepFunction) -%wrap_handle(Approx_HArray1OfGTrsf2d) %wrap_handle(Approx_HArray1OfAdHSurface) +%wrap_handle(Approx_HArray1OfGTrsf2d) /* end handles declaration */ /* templates */ -%template(Approx_Array1OfAdHSurface) NCollection_Array1>; +%template(Approx_Array1OfAdHSurface) NCollection_Array1>; +Array1ExtendIter(opencascade::handle) -%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(Approx_Array1OfGTrsf2d) NCollection_Array1; +Array1ExtendIter(gp_GTrsf2d) -%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(Approx_SequenceOfHArray1OfReal) NCollection_Sequence>; %extend NCollection_Sequence> { @@ -202,7 +141,7 @@ Approx_IsoParametric = Approx_ParametrizationType.Approx_IsoParametric /* end templates declaration */ /* typedefs */ -typedef NCollection_Array1> Approx_Array1OfAdHSurface; +typedef NCollection_Array1> Approx_Array1OfAdHSurface; typedef NCollection_Array1 Approx_Array1OfGTrsf2d; typedef NCollection_Sequence> Approx_SequenceOfHArray1OfReal; /* end typedefs declaration */ @@ -212,14 +151,13 @@ typedef NCollection_Sequence> Approx_ ***********************/ class Approx_Curve2d { public: - /****************** Approx_Curve2d ******************/ - /**** md5 signature: 3808819d209e1def3c108ec4c293e785 ****/ + /****** Approx_Curve2d::Approx_Curve2d ******/ + /****** md5 signature: 1cf9afd9ee459ec2a81ee32abee6de50 ******/ %feature("compactdefaultargs") Approx_Curve2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -C2D: Adaptor2d_HCurve2d +C2D: Adaptor2d_Curve2d First: float Last: float TolU: float @@ -228,64 +166,78 @@ Continuity: GeomAbs_Shape MaxDegree: int MaxSegments: int -Returns +Return ------- None + +Description +----------- +No available documentation. ") Approx_Curve2d; - Approx_Curve2d(const opencascade::handle & C2D, const Standard_Real First, const Standard_Real Last, const Standard_Real TolU, const Standard_Real TolV, const GeomAbs_Shape Continuity, const Standard_Integer MaxDegree, const Standard_Integer MaxSegments); + Approx_Curve2d(const opencascade::handle & C2D, const Standard_Real First, const Standard_Real Last, const Standard_Real TolU, const Standard_Real TolV, const GeomAbs_Shape Continuity, const Standard_Integer MaxDegree, const Standard_Integer MaxSegments); - /****************** Curve ******************/ - /**** md5 signature: 1960069de54819d72fccc75ab85806ec ****/ + /****** Approx_Curve2d::Curve ******/ + /****** md5 signature: 1960069de54819d72fccc75ab85806ec ******/ %feature("compactdefaultargs") Curve; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Curve; opencascade::handle Curve(); - /****************** HasResult ******************/ - /**** md5 signature: 345d4b0f7e88f528928167976d8256d5 ****/ + /****** Approx_Curve2d::HasResult ******/ + /****** md5 signature: 345d4b0f7e88f528928167976d8256d5 ******/ %feature("compactdefaultargs") HasResult; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") HasResult; Standard_Boolean HasResult(); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** Approx_Curve2d::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsDone; Standard_Boolean IsDone(); - /****************** MaxError2dU ******************/ - /**** md5 signature: 847075004569102dbcc931f742530c0e ****/ + /****** Approx_Curve2d::MaxError2dU ******/ + /****** md5 signature: 847075004569102dbcc931f742530c0e ******/ %feature("compactdefaultargs") MaxError2dU; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") MaxError2dU; Standard_Real MaxError2dU(); - /****************** MaxError2dV ******************/ - /**** md5 signature: 641a3fe3b7d3b163d6a32b23f94b6eec ****/ + /****** Approx_Curve2d::MaxError2dV ******/ + /****** md5 signature: 641a3fe3b7d3b163d6a32b23f94b6eec ******/ %feature("compactdefaultargs") MaxError2dV; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") MaxError2dV; Standard_Real MaxError2dV(); @@ -303,74 +255,94 @@ float ***********************/ class Approx_Curve3d { public: - /****************** Approx_Curve3d ******************/ - /**** md5 signature: 65c8fcb0b3c6c7d1df42f0bb0ba09688 ****/ + /****** Approx_Curve3d::Approx_Curve3d ******/ + /****** md5 signature: 4662771ab9a9bb958e880ba73bec8340 ******/ %feature("compactdefaultargs") Approx_Curve3d; - %feature("autodoc", "Approximation of a curve with respect of the requiered tolerance tol3d. - + %feature("autodoc", " Parameters ---------- -Curve: Adaptor3d_HCurve +Curve: Adaptor3d_Curve Tol3d: float Order: GeomAbs_Shape MaxSegments: int MaxDegree: int -Returns +Return ------- None + +Description +----------- +Approximation of a curve with respect of the required tolerance Tol3D. ") Approx_Curve3d; - Approx_Curve3d(const opencascade::handle & Curve, const Standard_Real Tol3d, const GeomAbs_Shape Order, const Standard_Integer MaxSegments, const Standard_Integer MaxDegree); + Approx_Curve3d(const opencascade::handle & Curve, const Standard_Real Tol3d, const GeomAbs_Shape Order, const Standard_Integer MaxSegments, const Standard_Integer MaxDegree); - /****************** Curve ******************/ - /**** md5 signature: 8f61eb8bebb31bbd1fd75a7da450accd ****/ + /****** Approx_Curve3d::Curve ******/ + /****** md5 signature: 8f61eb8bebb31bbd1fd75a7da450accd ******/ %feature("compactdefaultargs") Curve; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Curve; opencascade::handle Curve(); + /****** Approx_Curve3d::Dump ******/ + /****** md5 signature: d37b43e0b2386dc096d5d707876db157 ******/ + %feature("compactdefaultargs") Dump; + %feature("autodoc", " +Parameters +---------- - %feature("autodoc", "1"); - %extend{ - std::string DumpToString() { - std::stringstream s; - self->Dump(s); - return s.str();} - }; - /****************** HasResult ******************/ - /**** md5 signature: 345d4b0f7e88f528928167976d8256d5 ****/ - %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. +Return +------- +o: Standard_OStream -Returns +Description +----------- +Print on the stream o information about the object. +") Dump; + void Dump(std::ostream &OutValue); + + /****** Approx_Curve3d::HasResult ******/ + /****** md5 signature: 345d4b0f7e88f528928167976d8256d5 ******/ + %feature("compactdefaultargs") HasResult; + %feature("autodoc", "Return ------- bool + +Description +----------- +returns Standard_True if the approximation did come out with a result that is not NECESSARELY within the required tolerance. ") HasResult; Standard_Boolean HasResult(); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** Approx_Curve3d::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Returns standard_true if the approximation has been done within requiered tolerance. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns Standard_True if the approximation has been done within required tolerance. ") IsDone; Standard_Boolean IsDone(); - /****************** MaxError ******************/ - /**** md5 signature: 90f2419f0b1537a77da84305579339a2 ****/ + /****** Approx_Curve3d::MaxError ******/ + /****** md5 signature: 90f2419f0b1537a77da84305579339a2 ******/ %feature("compactdefaultargs") MaxError; - %feature("autodoc", "Returns the maximum error (>0 when an approximation has been done, 0 if no approximation). - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the Maximum Error (>0 when an approximation has been done, 0 if no approximation). ") MaxError; Standard_Real MaxError(); @@ -388,146 +360,175 @@ float ******************************/ class Approx_CurveOnSurface { public: - /****************** Approx_CurveOnSurface ******************/ - /**** md5 signature: 44953400bcecd6141157e0f3eb58084e ****/ + /****** Approx_CurveOnSurface::Approx_CurveOnSurface ******/ + /****** md5 signature: 8924b9935f0fc05dc273ee96b9ecd51b ******/ %feature("compactdefaultargs") Approx_CurveOnSurface; - %feature("autodoc", "This constructor calls perform method. this constructor is deprecated. - + %feature("autodoc", " Parameters ---------- -C2D: Adaptor2d_HCurve2d -Surf: Adaptor3d_HSurface +C2D: Adaptor2d_Curve2d +Surf: Adaptor3d_Surface First: float Last: float Tol: float Continuity: GeomAbs_Shape MaxDegree: int MaxSegments: int -Only3d: bool,optional - default value is Standard_False -Only2d: bool,optional - default value is Standard_False +Only3d: bool (optional, default to Standard_False) +Only2d: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +This constructor calls perform method. This constructor is deprecated. ") Approx_CurveOnSurface; - Approx_CurveOnSurface(const opencascade::handle & C2D, const opencascade::handle & Surf, const Standard_Real First, const Standard_Real Last, const Standard_Real Tol, const GeomAbs_Shape Continuity, const Standard_Integer MaxDegree, const Standard_Integer MaxSegments, const Standard_Boolean Only3d = Standard_False, const Standard_Boolean Only2d = Standard_False); + Approx_CurveOnSurface(const opencascade::handle & C2D, const opencascade::handle & Surf, const Standard_Real First, const Standard_Real Last, const Standard_Real Tol, const GeomAbs_Shape Continuity, const Standard_Integer MaxDegree, const Standard_Integer MaxSegments, const Standard_Boolean Only3d = Standard_False, const Standard_Boolean Only2d = Standard_False); - /****************** Approx_CurveOnSurface ******************/ - /**** md5 signature: 1870fd9a1e6fea950b25fca64ce963ff ****/ + /****** Approx_CurveOnSurface::Approx_CurveOnSurface ******/ + /****** md5 signature: 6bf6e1de687ad8553d00cd8a3f1f8344 ******/ %feature("compactdefaultargs") Approx_CurveOnSurface; - %feature("autodoc", "This constructor does not call perform method. @param thec2d 2d curve to be approximated in 3d. @param thesurf surface where 2d curve is located. @param thefirst first parameter of resulting curve. @param thefirst last parameter of resulting curve. @param thetol computation tolerance. - + %feature("autodoc", " Parameters ---------- -theC2D: Adaptor2d_HCurve2d -theSurf: Adaptor3d_HSurface +theC2D: Adaptor2d_Curve2d +theSurf: Adaptor3d_Surface theFirst: float theLast: float theTol: float -Returns +Return ------- None + +Description +----------- +This constructor does not call perform method. +Parameter theC2D 2D Curve to be approximated in 3D. +Parameter theSurf Surface where 2D curve is located. +Parameter theFirst First parameter of resulting curve. +Parameter theFirst Last parameter of resulting curve. +Parameter theTol Computation tolerance. ") Approx_CurveOnSurface; - Approx_CurveOnSurface(const opencascade::handle & theC2D, const opencascade::handle & theSurf, const Standard_Real theFirst, const Standard_Real theLast, const Standard_Real theTol); + Approx_CurveOnSurface(const opencascade::handle & theC2D, const opencascade::handle & theSurf, const Standard_Real theFirst, const Standard_Real theLast, const Standard_Real theTol); - /****************** Curve2d ******************/ - /**** md5 signature: a68a2dac2ad11e4da3864dc2433ead7f ****/ + /****** Approx_CurveOnSurface::Curve2d ******/ + /****** md5 signature: a68a2dac2ad11e4da3864dc2433ead7f ******/ %feature("compactdefaultargs") Curve2d; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Curve2d; opencascade::handle Curve2d(); - /****************** Curve3d ******************/ - /**** md5 signature: 40af7069a21d4ba6c9b73d59c7d6dc50 ****/ + /****** Approx_CurveOnSurface::Curve3d ******/ + /****** md5 signature: 40af7069a21d4ba6c9b73d59c7d6dc50 ******/ %feature("compactdefaultargs") Curve3d; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Curve3d; opencascade::handle Curve3d(); - /****************** HasResult ******************/ - /**** md5 signature: 345d4b0f7e88f528928167976d8256d5 ****/ + /****** Approx_CurveOnSurface::HasResult ******/ + /****** md5 signature: 345d4b0f7e88f528928167976d8256d5 ******/ %feature("compactdefaultargs") HasResult; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") HasResult; Standard_Boolean HasResult(); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** Approx_CurveOnSurface::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsDone; Standard_Boolean IsDone(); - /****************** MaxError2dU ******************/ - /**** md5 signature: 847075004569102dbcc931f742530c0e ****/ + /****** Approx_CurveOnSurface::MaxError2dU ******/ + /****** md5 signature: 847075004569102dbcc931f742530c0e ******/ %feature("compactdefaultargs") MaxError2dU; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") MaxError2dU; Standard_Real MaxError2dU(); - /****************** MaxError2dV ******************/ - /**** md5 signature: 641a3fe3b7d3b163d6a32b23f94b6eec ****/ + /****** Approx_CurveOnSurface::MaxError2dV ******/ + /****** md5 signature: 641a3fe3b7d3b163d6a32b23f94b6eec ******/ %feature("compactdefaultargs") MaxError2dV; - %feature("autodoc", "Returns the maximum errors relativly to the u component or the v component of the 2d curve. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the maximum errors relatively to the U component or the V component of the 2d Curve. ") MaxError2dV; Standard_Real MaxError2dV(); - /****************** MaxError3d ******************/ - /**** md5 signature: c6ba463cdf4a0e426329b589363186b7 ****/ + /****** Approx_CurveOnSurface::MaxError3d ******/ + /****** md5 signature: c6ba463cdf4a0e426329b589363186b7 ******/ %feature("compactdefaultargs") MaxError3d; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") MaxError3d; Standard_Real MaxError3d(); - /****************** Perform ******************/ - /**** md5 signature: fe8b2a86aab3827740ea72c22a54e926 ****/ + /****** Approx_CurveOnSurface::Perform ******/ + /****** md5 signature: fe8b2a86aab3827740ea72c22a54e926 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Constructs the 3d curve. input parameters are ignored when the input curve is u-isoline or v-isoline. @param themaxsegments maximal number of segments in the resulting spline. @param themaxdegree maximal degree of the result. @param thecontinuity resulting continuity. @param theonly3d determines building only 3d curve. @param theonly2d determines building only 2d curve. - + %feature("autodoc", " Parameters ---------- theMaxSegments: int theMaxDegree: int theContinuity: GeomAbs_Shape -theOnly3d: bool,optional - default value is Standard_False -theOnly2d: bool,optional - default value is Standard_False +theOnly3d: bool (optional, default to Standard_False) +theOnly2d: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +Constructs the 3d curve. Input parameters are ignored when the input curve is U-isoline or V-isoline. +Parameter theMaxSegments Maximal number of segments in the resulting spline. +Parameter theMaxDegree Maximal degree of the result. +Parameter theContinuity Resulting continuity. +Parameter theOnly3d Determines building only 3D curve. +Parameter theOnly2d Determines building only 2D curve. ") Perform; void Perform(const Standard_Integer theMaxSegments, const Standard_Integer theMaxDegree, const GeomAbs_Shape theContinuity, const Standard_Boolean theOnly3d = Standard_False, const Standard_Boolean theOnly2d = Standard_False); @@ -545,160 +546,194 @@ None ************************************/ class Approx_CurvilinearParameter { public: - /****************** Approx_CurvilinearParameter ******************/ - /**** md5 signature: 87a8d57e93c58fe13b36b4f14487e297 ****/ + /****** Approx_CurvilinearParameter::Approx_CurvilinearParameter ******/ + /****** md5 signature: 8d18e8dfacd0a079eb20447b49586c35 ******/ %feature("compactdefaultargs") Approx_CurvilinearParameter; - %feature("autodoc", "Case of a free 3d curve. - + %feature("autodoc", " Parameters ---------- -C3D: Adaptor3d_HCurve +C3D: Adaptor3d_Curve Tol: float Order: GeomAbs_Shape MaxDegree: int MaxSegments: int -Returns +Return ------- None + +Description +----------- +case of a free 3D curve. ") Approx_CurvilinearParameter; - Approx_CurvilinearParameter(const opencascade::handle & C3D, const Standard_Real Tol, const GeomAbs_Shape Order, const Standard_Integer MaxDegree, const Standard_Integer MaxSegments); + Approx_CurvilinearParameter(const opencascade::handle & C3D, const Standard_Real Tol, const GeomAbs_Shape Order, const Standard_Integer MaxDegree, const Standard_Integer MaxSegments); - /****************** Approx_CurvilinearParameter ******************/ - /**** md5 signature: 5e6af048127e41f0e55fb4904bc8c476 ****/ + /****** Approx_CurvilinearParameter::Approx_CurvilinearParameter ******/ + /****** md5 signature: 55fdfdb6b236c7342a9df38b0c499ba5 ******/ %feature("compactdefaultargs") Approx_CurvilinearParameter; - %feature("autodoc", "Case of a curve on one surface. - + %feature("autodoc", " Parameters ---------- -C2D: Adaptor2d_HCurve2d -Surf: Adaptor3d_HSurface +C2D: Adaptor2d_Curve2d +Surf: Adaptor3d_Surface Tol: float Order: GeomAbs_Shape MaxDegree: int MaxSegments: int -Returns +Return ------- None + +Description +----------- +case of a curve on one surface. ") Approx_CurvilinearParameter; - Approx_CurvilinearParameter(const opencascade::handle & C2D, const opencascade::handle & Surf, const Standard_Real Tol, const GeomAbs_Shape Order, const Standard_Integer MaxDegree, const Standard_Integer MaxSegments); + Approx_CurvilinearParameter(const opencascade::handle & C2D, const opencascade::handle & Surf, const Standard_Real Tol, const GeomAbs_Shape Order, const Standard_Integer MaxDegree, const Standard_Integer MaxSegments); - /****************** Approx_CurvilinearParameter ******************/ - /**** md5 signature: c20ec6318bb423836fdfcdd350ec13c6 ****/ + /****** Approx_CurvilinearParameter::Approx_CurvilinearParameter ******/ + /****** md5 signature: c239a7061007faa74c11bd361d60ce57 ******/ %feature("compactdefaultargs") Approx_CurvilinearParameter; - %feature("autodoc", "Case of a curve on two surfaces. - + %feature("autodoc", " Parameters ---------- -C2D1: Adaptor2d_HCurve2d -Surf1: Adaptor3d_HSurface -C2D2: Adaptor2d_HCurve2d -Surf2: Adaptor3d_HSurface +C2D1: Adaptor2d_Curve2d +Surf1: Adaptor3d_Surface +C2D2: Adaptor2d_Curve2d +Surf2: Adaptor3d_Surface Tol: float Order: GeomAbs_Shape MaxDegree: int MaxSegments: int -Returns +Return ------- None + +Description +----------- +case of a curve on two surfaces. ") Approx_CurvilinearParameter; - Approx_CurvilinearParameter(const opencascade::handle & C2D1, const opencascade::handle & Surf1, const opencascade::handle & C2D2, const opencascade::handle & Surf2, const Standard_Real Tol, const GeomAbs_Shape Order, const Standard_Integer MaxDegree, const Standard_Integer MaxSegments); + Approx_CurvilinearParameter(const opencascade::handle & C2D1, const opencascade::handle & Surf1, const opencascade::handle & C2D2, const opencascade::handle & Surf2, const Standard_Real Tol, const GeomAbs_Shape Order, const Standard_Integer MaxDegree, const Standard_Integer MaxSegments); - /****************** Curve2d1 ******************/ - /**** md5 signature: 320386716849305473262b1fbe175d01 ****/ + /****** Approx_CurvilinearParameter::Curve2d1 ******/ + /****** md5 signature: 320386716849305473262b1fbe175d01 ******/ %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). - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +returns the BsplineCurve representing the reparametrized 2D curve on the first surface (case of a curve on one or two surfaces). ") Curve2d1; opencascade::handle Curve2d1(); - /****************** Curve2d2 ******************/ - /**** md5 signature: c454b48582ae4e125bffbd0a7c1ecb65 ****/ + /****** Approx_CurvilinearParameter::Curve2d2 ******/ + /****** md5 signature: c454b48582ae4e125bffbd0a7c1ecb65 ******/ %feature("compactdefaultargs") Curve2d2; - %feature("autodoc", "Returns the bsplinecurve representing the reparametrized 2d curve on the second surface (case of a curve on two surfaces). - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +returns the BsplineCurve representing the reparametrized 2D curve on the second surface (case of a curve on two surfaces). ") Curve2d2; opencascade::handle Curve2d2(); - /****************** Curve3d ******************/ - /**** md5 signature: 40af7069a21d4ba6c9b73d59c7d6dc50 ****/ + /****** Approx_CurvilinearParameter::Curve3d ******/ + /****** md5 signature: 40af7069a21d4ba6c9b73d59c7d6dc50 ******/ %feature("compactdefaultargs") Curve3d; - %feature("autodoc", "Returns the bspline curve corresponding to the reparametrized 3d curve. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +returns the Bspline curve corresponding to the reparametrized 3D curve. ") Curve3d; opencascade::handle Curve3d(); + /****** Approx_CurvilinearParameter::Dump ******/ + /****** md5 signature: d37b43e0b2386dc096d5d707876db157 ******/ + %feature("compactdefaultargs") Dump; + %feature("autodoc", " +Parameters +---------- - %feature("autodoc", "1"); - %extend{ - std::string DumpToString() { - std::stringstream s; - self->Dump(s); - return s.str();} - }; - /****************** HasResult ******************/ - /**** md5 signature: 345d4b0f7e88f528928167976d8256d5 ****/ - %feature("compactdefaultargs") HasResult; - %feature("autodoc", "No available documentation. +Return +------- +o: Standard_OStream + +Description +----------- +print the maximum errors(s). +") Dump; + void Dump(std::ostream &OutValue); -Returns + /****** Approx_CurvilinearParameter::HasResult ******/ + /****** md5 signature: 345d4b0f7e88f528928167976d8256d5 ******/ + %feature("compactdefaultargs") HasResult; + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") HasResult; Standard_Boolean HasResult(); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** Approx_CurvilinearParameter::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsDone; Standard_Boolean IsDone(); - /****************** MaxError2d1 ******************/ - /**** md5 signature: 455a6dc1101b77daa7669b3852e634a6 ****/ + /****** Approx_CurvilinearParameter::MaxError2d1 ******/ + /****** md5 signature: 455a6dc1101b77daa7669b3852e634a6 ******/ %feature("compactdefaultargs") MaxError2d1; - %feature("autodoc", "Returns the maximum error on the first reparametrized 2d curve. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the maximum error on the first reparametrized 2D curve. ") MaxError2d1; Standard_Real MaxError2d1(); - /****************** MaxError2d2 ******************/ - /**** md5 signature: 415b1db6afd0a77c250335998bc39142 ****/ + /****** Approx_CurvilinearParameter::MaxError2d2 ******/ + /****** md5 signature: 415b1db6afd0a77c250335998bc39142 ******/ %feature("compactdefaultargs") MaxError2d2; - %feature("autodoc", "Returns the maximum error on the second reparametrized 2d curve. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the maximum error on the second reparametrized 2D curve. ") MaxError2d2; Standard_Real MaxError2d2(); - /****************** MaxError3d ******************/ - /**** md5 signature: c6ba463cdf4a0e426329b589363186b7 ****/ + /****** Approx_CurvilinearParameter::MaxError3d ******/ + /****** md5 signature: c6ba463cdf4a0e426329b589363186b7 ******/ %feature("compactdefaultargs") MaxError3d; - %feature("autodoc", "Returns the maximum error on the reparametrized 3d curve. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the maximum error on the reparametrized 3D curve. ") MaxError3d; Standard_Real MaxError3d(); @@ -716,262 +751,309 @@ float ***************************/ class Approx_CurvlinFunc : public Standard_Transient { public: - /****************** Approx_CurvlinFunc ******************/ - /**** md5 signature: 13612be4e5b55611b7eb0ad987bab15a ****/ + /****** Approx_CurvlinFunc::Approx_CurvlinFunc ******/ + /****** md5 signature: c91fd83aabe931a1e52d13473ccfd009 ******/ %feature("compactdefaultargs") Approx_CurvlinFunc; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Tol: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") Approx_CurvlinFunc; - Approx_CurvlinFunc(const opencascade::handle & C, const Standard_Real Tol); + Approx_CurvlinFunc(const opencascade::handle & C, const Standard_Real Tol); - /****************** Approx_CurvlinFunc ******************/ - /**** md5 signature: 07e78bf99be942395ed9cc13ea9bc1cf ****/ + /****** Approx_CurvlinFunc::Approx_CurvlinFunc ******/ + /****** md5 signature: c69a4fe4cbfe7c5d7648f238e2e8b84a ******/ %feature("compactdefaultargs") Approx_CurvlinFunc; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -C2D: Adaptor2d_HCurve2d -S: Adaptor3d_HSurface +C2D: Adaptor2d_Curve2d +S: Adaptor3d_Surface Tol: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") Approx_CurvlinFunc; - Approx_CurvlinFunc(const opencascade::handle & C2D, const opencascade::handle & S, const Standard_Real Tol); + Approx_CurvlinFunc(const opencascade::handle & C2D, const opencascade::handle & S, const Standard_Real Tol); - /****************** Approx_CurvlinFunc ******************/ - /**** md5 signature: e575afd63226bf2aaec13682942a488d ****/ + /****** Approx_CurvlinFunc::Approx_CurvlinFunc ******/ + /****** md5 signature: d04cb6fd18225e82ef40a4e61e7e3bdf ******/ %feature("compactdefaultargs") Approx_CurvlinFunc; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -C2D1: Adaptor2d_HCurve2d -C2D2: Adaptor2d_HCurve2d -S1: Adaptor3d_HSurface -S2: Adaptor3d_HSurface +C2D1: Adaptor2d_Curve2d +C2D2: Adaptor2d_Curve2d +S1: Adaptor3d_Surface +S2: Adaptor3d_Surface Tol: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") Approx_CurvlinFunc; - Approx_CurvlinFunc(const opencascade::handle & C2D1, const opencascade::handle & C2D2, const opencascade::handle & S1, const opencascade::handle & S2, const Standard_Real Tol); + Approx_CurvlinFunc(const opencascade::handle & C2D1, const opencascade::handle & C2D2, const opencascade::handle & S1, const opencascade::handle & S2, const Standard_Real Tol); - /****************** EvalCase1 ******************/ - /**** md5 signature: d6f977aec2ba6ef7261ad448995f2a1d ****/ + /****** Approx_CurvlinFunc::EvalCase1 ******/ + /****** md5 signature: d6f977aec2ba6ef7261ad448995f2a1d ******/ %feature("compactdefaultargs") EvalCase1; - %feature("autodoc", "If mycase != 1. - + %feature("autodoc", " Parameters ---------- S: float Order: int Result: TColStd_Array1OfReal -Returns +Return ------- bool + +Description +----------- +if myCase != 1. ") EvalCase1; Standard_Boolean EvalCase1(const Standard_Real S, const Standard_Integer Order, TColStd_Array1OfReal & Result); - /****************** EvalCase2 ******************/ - /**** md5 signature: af7190c5733447d4dcb3107db703f25d ****/ + /****** Approx_CurvlinFunc::EvalCase2 ******/ + /****** md5 signature: af7190c5733447d4dcb3107db703f25d ******/ %feature("compactdefaultargs") EvalCase2; - %feature("autodoc", "If mycase != 2. - + %feature("autodoc", " Parameters ---------- S: float Order: int Result: TColStd_Array1OfReal -Returns +Return ------- bool + +Description +----------- +if myCase != 2. ") EvalCase2; Standard_Boolean EvalCase2(const Standard_Real S, const Standard_Integer Order, TColStd_Array1OfReal & Result); - /****************** EvalCase3 ******************/ - /**** md5 signature: 6ecbd89f3323d6c9fcd40c282e079d3c ****/ + /****** Approx_CurvlinFunc::EvalCase3 ******/ + /****** md5 signature: 6ecbd89f3323d6c9fcd40c282e079d3c ******/ %feature("compactdefaultargs") EvalCase3; - %feature("autodoc", "If mycase != 3. - + %feature("autodoc", " Parameters ---------- S: float Order: int Result: TColStd_Array1OfReal -Returns +Return ------- bool + +Description +----------- +if myCase != 3. ") EvalCase3; Standard_Boolean EvalCase3(const Standard_Real S, const Standard_Integer Order, TColStd_Array1OfReal & Result); - /****************** FirstParameter ******************/ - /**** md5 signature: 4ccedbaad83be904f510b4760c75f69c ****/ + /****** Approx_CurvlinFunc::FirstParameter ******/ + /****** md5 signature: 4ccedbaad83be904f510b4760c75f69c ******/ %feature("compactdefaultargs") FirstParameter; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") FirstParameter; Standard_Real FirstParameter(); - /****************** GetLength ******************/ - /**** md5 signature: 9390a920d888683f8b474026b2d95a49 ****/ + /****** Approx_CurvlinFunc::GetLength ******/ + /****** md5 signature: 9390a920d888683f8b474026b2d95a49 ******/ %feature("compactdefaultargs") GetLength; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") GetLength; Standard_Real GetLength(); - /****************** GetSParameter ******************/ - /**** md5 signature: de8883031fb26c06bc41920f0af259b5 ****/ + /****** Approx_CurvlinFunc::GetSParameter ******/ + /****** md5 signature: de8883031fb26c06bc41920f0af259b5 ******/ %feature("compactdefaultargs") GetSParameter; - %feature("autodoc", "Returns original parameter correponding s. - + %feature("autodoc", " Parameters ---------- U: float -Returns +Return ------- float + +Description +----------- +returns original parameter corresponding S. ") GetSParameter; Standard_Real GetSParameter(const Standard_Real U); - /****************** GetUParameter ******************/ - /**** md5 signature: a288323291b5a7c86e97e5e379347550 ****/ + /****** Approx_CurvlinFunc::GetUParameter ******/ + /****** md5 signature: a288323291b5a7c86e97e5e379347550 ******/ %feature("compactdefaultargs") GetUParameter; - %feature("autodoc", "Returns original parameter correponding s. if case == 1 computation is performed on myc2d1 and mysurf1, otherwise it is done on myc2d2 and mysurf2. - + %feature("autodoc", " Parameters ---------- C: Adaptor3d_Curve S: float NumberOfCurve: int -Returns +Return ------- float + +Description +----------- +returns original parameter corresponding S. if Case == 1 computation is performed on myC2D1 and mySurf1, otherwise it is done on myC2D2 and mySurf2. ") GetUParameter; Standard_Real GetUParameter(Adaptor3d_Curve & C, const Standard_Real S, const Standard_Integer NumberOfCurve); - /****************** Intervals ******************/ - /**** md5 signature: c7a2f17df7514293a67a56baae0afb68 ****/ + /****** Approx_CurvlinFunc::Intervals ******/ + /****** md5 signature: c7a2f17df7514293a67a56baae0afb68 ******/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). - + %feature("autodoc", " Parameters ---------- T: TColStd_Array1OfReal S: GeomAbs_Shape -Returns +Return ------- None + +Description +----------- +Stores in the parameters bounding the intervals of continuity . //! The array must provide enough room to accommodate for the parameters. i.e. T.Length() > NbIntervals(). ") Intervals; void Intervals(TColStd_Array1OfReal & T, const GeomAbs_Shape S); - /****************** LastParameter ******************/ - /**** md5 signature: 7cdf630921ee47ad365a5a6bafd4b46e ****/ + /****** Approx_CurvlinFunc::LastParameter ******/ + /****** md5 signature: 7cdf630921ee47ad365a5a6bafd4b46e ******/ %feature("compactdefaultargs") LastParameter; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") LastParameter; Standard_Real LastParameter(); - /****************** Length ******************/ - /**** md5 signature: 389864b782ecf5fea5b568ea6b4ee166 ****/ + /****** Approx_CurvlinFunc::Length ******/ + /****** md5 signature: 389864b782ecf5fea5b568ea6b4ee166 ******/ %feature("compactdefaultargs") Length; - %feature("autodoc", "Computes length of the curve. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Computes length of the curve. ") Length; void Length(); - /****************** Length ******************/ - /**** md5 signature: a36b32537f2aaeb51d308d784a8bcd1e ****/ + /****** Approx_CurvlinFunc::Length ******/ + /****** md5 signature: a36b32537f2aaeb51d308d784a8bcd1e ******/ %feature("compactdefaultargs") Length; - %feature("autodoc", "Computes length of the curve segment. - + %feature("autodoc", " Parameters ---------- C: Adaptor3d_Curve FirstU: float LasrU: float -Returns +Return ------- float + +Description +----------- +Computes length of the curve segment. ") Length; Standard_Real Length(Adaptor3d_Curve & C, const Standard_Real FirstU, const Standard_Real LasrU); - /****************** NbIntervals ******************/ - /**** md5 signature: a9cec7e4e6cb5b355a27e6de1f3fc9d9 ****/ + /****** Approx_CurvlinFunc::NbIntervals ******/ + /****** md5 signature: a9cec7e4e6cb5b355a27e6de1f3fc9d9 ******/ %feature("compactdefaultargs") NbIntervals; - %feature("autodoc", "Returns the number of intervals for continuity . may be one if continuity(me) >= . - + %feature("autodoc", " Parameters ---------- S: GeomAbs_Shape -Returns +Return ------- int + +Description +----------- +Returns the number of intervals for continuity . May be one if Continuity(me) >= . ") NbIntervals; Standard_Integer NbIntervals(const GeomAbs_Shape S); - /****************** SetTol ******************/ - /**** md5 signature: 807eaaa5cf0c0afd4dc54d9743374704 ****/ + /****** Approx_CurvlinFunc::SetTol ******/ + /****** md5 signature: 807eaaa5cf0c0afd4dc54d9743374704 ******/ %feature("compactdefaultargs") SetTol; - %feature("autodoc", "---purpose update the tolerance to used. - + %feature("autodoc", " Parameters ---------- Tol: float -Returns +Return ------- None + +Description +----------- +---Purpose Update the tolerance to used. ") SetTol; void SetTol(const Standard_Real Tol); - /****************** Trim ******************/ - /**** md5 signature: e4c090d64e46a6e2ad68afd1ac49d0f1 ****/ + /****** Approx_CurvlinFunc::Trim ******/ + /****** md5 signature: e4c090d64e46a6e2ad68afd1ac49d0f1 ******/ %feature("compactdefaultargs") Trim; - %feature("autodoc", "If first < 0 or last > 1. - + %feature("autodoc", " Parameters ---------- First: float Last: float Tol: float -Returns +Return ------- None + +Description +----------- +if First < 0 or Last > 1. ") Trim; void Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); @@ -991,249 +1073,276 @@ None ****************************/ class Approx_FitAndDivide { public: - /****************** Approx_FitAndDivide ******************/ - /**** md5 signature: ea3ebc13b87efed4a03fe4693299cd01 ****/ + /****** Approx_FitAndDivide::Approx_FitAndDivide ******/ + /****** md5 signature: ea3ebc13b87efed4a03fe4693299cd01 ******/ %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. - + %feature("autodoc", " Parameters ---------- Line: AppCont_Function -degreemin: int,optional - default value is 3 -degreemax: int,optional - default value is 8 -Tolerance3d: float,optional - default value is 1.0e-5 -Tolerance2d: float,optional - default value is 1.0e-5 -cutting: bool,optional - default value is Standard_False -FirstC: AppParCurves_Constraint,optional - default value is AppParCurves_TangencyPoint -LastC: AppParCurves_Constraint,optional - default value is AppParCurves_TangencyPoint - -Returns +degreemin: int (optional, default to 3) +degreemax: int (optional, default to 8) +Tolerance3d: float (optional, default to 1.0e-5) +Tolerance2d: float (optional, default to 1.0e-5) +cutting: bool (optional, default to Standard_False) +FirstC: AppParCurves_Constraint (optional, default to AppParCurves_TangencyPoint) +LastC: AppParCurves_Constraint (optional, default to AppParCurves_TangencyPoint) + +Return ------- None + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: c98a0117adc1bef392f7f6b0763498fd ****/ + /****** Approx_FitAndDivide::Approx_FitAndDivide ******/ + /****** md5 signature: c98a0117adc1bef392f7f6b0763498fd ******/ %feature("compactdefaultargs") Approx_FitAndDivide; - %feature("autodoc", "Initializes the fields of the algorithm. - + %feature("autodoc", " Parameters ---------- -degreemin: int,optional - default value is 3 -degreemax: int,optional - default value is 8 -Tolerance3d: float,optional - default value is 1.0e-05 -Tolerance2d: float,optional - default value is 1.0e-05 -cutting: bool,optional - default value is Standard_False -FirstC: AppParCurves_Constraint,optional - default value is AppParCurves_TangencyPoint -LastC: AppParCurves_Constraint,optional - default value is AppParCurves_TangencyPoint +degreemin: int (optional, default to 3) +degreemax: int (optional, default to 8) +Tolerance3d: float (optional, default to 1.0e-05) +Tolerance2d: float (optional, default to 1.0e-05) +cutting: bool (optional, default to Standard_False) +FirstC: AppParCurves_Constraint (optional, default to AppParCurves_TangencyPoint) +LastC: AppParCurves_Constraint (optional, default to AppParCurves_TangencyPoint) -Returns +Return ------- None + +Description +----------- +Initializes the fields of the algorithm. ") 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 ******************/ - /**** md5 signature: 6a8061230005ba951097d8b73e7dbec6 ****/ + /****** Approx_FitAndDivide::Error ******/ + /****** md5 signature: 6a8061230005ba951097d8b73e7dbec6 ******/ %feature("compactdefaultargs") Error; - %feature("autodoc", "Returns the tolerances 2d and 3d of the multicurve. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- tol3d: float tol2d: float + +Description +----------- +returns the tolerances 2d and 3d of the MultiCurve. ") Error; void Error(const Standard_Integer Index, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** IsAllApproximated ******************/ - /**** md5 signature: bf42a9f9ee3a867655d96a0c1fdcd853 ****/ + /****** Approx_FitAndDivide::IsAllApproximated ******/ + /****** md5 signature: bf42a9f9ee3a867655d96a0c1fdcd853 ******/ %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. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns False if at a moment of the approximation, the status NoApproximation has been sent by the user when more points were needed. ") IsAllApproximated; Standard_Boolean IsAllApproximated(); - /****************** IsToleranceReached ******************/ - /**** md5 signature: cbd7380250e74c96655b10c8025eb873 ****/ + /****** Approx_FitAndDivide::IsToleranceReached ******/ + /****** md5 signature: cbd7380250e74c96655b10c8025eb873 ******/ %feature("compactdefaultargs") IsToleranceReached; - %feature("autodoc", "Returns false if the status nopointsadded has been sent. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns False if the status NoPointsAdded has been sent. ") IsToleranceReached; Standard_Boolean IsToleranceReached(); - /****************** NbMultiCurves ******************/ - /**** md5 signature: 944d4af40d93d46a8a3a888df2d8b388 ****/ + /****** Approx_FitAndDivide::NbMultiCurves ******/ + /****** md5 signature: 944d4af40d93d46a8a3a888df2d8b388 ******/ %feature("compactdefaultargs") NbMultiCurves; - %feature("autodoc", "Returns the number of multicurve doing the approximation of the multiline. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns the number of MultiCurve doing the approximation of the MultiLine. ") NbMultiCurves; Standard_Integer NbMultiCurves(); - /****************** Parameters ******************/ - /**** md5 signature: da3dbf6a597566992bf85427f2de867b ****/ + /****** Approx_FitAndDivide::Parameters ******/ + /****** md5 signature: da3dbf6a597566992bf85427f2de867b ******/ %feature("compactdefaultargs") Parameters; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- firstp: float lastp: float + +Description +----------- +No available documentation. ") Parameters; void Parameters(const Standard_Integer Index, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** Perform ******************/ - /**** md5 signature: caf6a1aea817b16df8ee08ce9b993f4f ****/ + /****** Approx_FitAndDivide::Perform ******/ + /****** md5 signature: caf6a1aea817b16df8ee08ce9b993f4f ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Runs the algorithm after having initialized the fields. - + %feature("autodoc", " Parameters ---------- Line: AppCont_Function -Returns +Return ------- None + +Description +----------- +runs the algorithm after having initialized the fields. ") Perform; void Perform(const AppCont_Function & Line); - /****************** SetConstraints ******************/ - /**** md5 signature: 99b92dc193142adf44568f800cd394dc ****/ + /****** Approx_FitAndDivide::SetConstraints ******/ + /****** md5 signature: 99b92dc193142adf44568f800cd394dc ******/ %feature("compactdefaultargs") SetConstraints; - %feature("autodoc", "Changes the constraints of the approximation. - + %feature("autodoc", " Parameters ---------- FirstC: AppParCurves_Constraint LastC: AppParCurves_Constraint -Returns +Return ------- None + +Description +----------- +Changes the constraints of the approximation. ") SetConstraints; void SetConstraints(const AppParCurves_Constraint FirstC, const AppParCurves_Constraint LastC); - /****************** SetDegrees ******************/ - /**** md5 signature: 545fdd7d739fa58cc970e73d0413f8ef ****/ + /****** Approx_FitAndDivide::SetDegrees ******/ + /****** md5 signature: 545fdd7d739fa58cc970e73d0413f8ef ******/ %feature("compactdefaultargs") SetDegrees; - %feature("autodoc", "Changes the degrees of the approximation. - + %feature("autodoc", " Parameters ---------- degreemin: int degreemax: int -Returns +Return ------- None + +Description +----------- +changes the degrees of the approximation. ") SetDegrees; void SetDegrees(const Standard_Integer degreemin, const Standard_Integer degreemax); - /****************** SetHangChecking ******************/ - /**** md5 signature: 082382da7c6c3da9061b500893941826 ****/ + /****** Approx_FitAndDivide::SetHangChecking ******/ + /****** md5 signature: 082382da7c6c3da9061b500893941826 ******/ %feature("compactdefaultargs") SetHangChecking; - %feature("autodoc", "Set value of hang checking flag if this flag = true, possible hang of algorithm is checked and algorithm is forced to stop. by default hang checking is used. - + %feature("autodoc", " Parameters ---------- theHangChecking: bool -Returns +Return ------- None + +Description +----------- +Set value of hang checking flag if this flag = true, possible hang of algorithm is checked and algorithm is forced to stop. By default hang checking is used. ") SetHangChecking; void SetHangChecking(const Standard_Boolean theHangChecking); - /****************** SetInvOrder ******************/ - /**** md5 signature: 50bac5968816111fd573c6f1be407215 ****/ + /****** Approx_FitAndDivide::SetInvOrder ******/ + /****** md5 signature: 50bac5968816111fd573c6f1be407215 ******/ %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. - + %feature("autodoc", " Parameters ---------- theInvOrder: bool -Returns +Return ------- None + +Description +----------- +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. ") SetInvOrder; void SetInvOrder(const Standard_Boolean theInvOrder); - /****************** SetMaxSegments ******************/ - /**** md5 signature: 649dded305ab339e1c7f2a819b32eedd ****/ + /****** Approx_FitAndDivide::SetMaxSegments ******/ + /****** md5 signature: 649dded305ab339e1c7f2a819b32eedd ******/ %feature("compactdefaultargs") SetMaxSegments; - %feature("autodoc", "Changes the max number of segments, which is allowed for cutting. - + %feature("autodoc", " Parameters ---------- theMaxSegments: int -Returns +Return ------- None + +Description +----------- +Changes the max number of segments, which is allowed for cutting. ") SetMaxSegments; void SetMaxSegments(const Standard_Integer theMaxSegments); - /****************** SetTolerances ******************/ - /**** md5 signature: ce7879738ace848f7a3a27c56467be10 ****/ + /****** Approx_FitAndDivide::SetTolerances ******/ + /****** md5 signature: ce7879738ace848f7a3a27c56467be10 ******/ %feature("compactdefaultargs") SetTolerances; - %feature("autodoc", "Changes the tolerances of the approximation. - + %feature("autodoc", " Parameters ---------- Tolerance3d: float Tolerance2d: float -Returns +Return ------- None + +Description +----------- +Changes the tolerances of the approximation. ") SetTolerances; void SetTolerances(const Standard_Real Tolerance3d, const Standard_Real Tolerance2d); - /****************** Value ******************/ - /**** md5 signature: 89790f3ff3d6d18a45f409a34e79bd67 ****/ + /****** Approx_FitAndDivide::Value ******/ + /****** md5 signature: 89790f3ff3d6d18a45f409a34e79bd67 ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns the approximation multicurve of range . - + %feature("autodoc", " Parameters ---------- -Index: int,optional - default value is 1 +Index: int (optional, default to 1) -Returns +Return ------- AppParCurves_MultiCurve + +Description +----------- +returns the approximation MultiCurve of range . ") Value; AppParCurves_MultiCurve Value(const Standard_Integer Index = 1); @@ -1251,249 +1360,276 @@ AppParCurves_MultiCurve ******************************/ class Approx_FitAndDivide2d { public: - /****************** Approx_FitAndDivide2d ******************/ - /**** md5 signature: 661477a957a15a70835b41b5c2bb9698 ****/ + /****** Approx_FitAndDivide2d::Approx_FitAndDivide2d ******/ + /****** md5 signature: 661477a957a15a70835b41b5c2bb9698 ******/ %feature("compactdefaultargs") Approx_FitAndDivide2d; - %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. - + %feature("autodoc", " Parameters ---------- Line: AppCont_Function -degreemin: int,optional - default value is 3 -degreemax: int,optional - default value is 8 -Tolerance3d: float,optional - default value is 1.0e-5 -Tolerance2d: float,optional - default value is 1.0e-5 -cutting: bool,optional - default value is Standard_False -FirstC: AppParCurves_Constraint,optional - default value is AppParCurves_TangencyPoint -LastC: AppParCurves_Constraint,optional - default value is AppParCurves_TangencyPoint - -Returns +degreemin: int (optional, default to 3) +degreemax: int (optional, default to 8) +Tolerance3d: float (optional, default to 1.0e-5) +Tolerance2d: float (optional, default to 1.0e-5) +cutting: bool (optional, default to Standard_False) +FirstC: AppParCurves_Constraint (optional, default to AppParCurves_TangencyPoint) +LastC: AppParCurves_Constraint (optional, default to AppParCurves_TangencyPoint) + +Return ------- None + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: bca52594fb84bdf1c9b46ce4d487e8cb ****/ + /****** Approx_FitAndDivide2d::Approx_FitAndDivide2d ******/ + /****** md5 signature: bca52594fb84bdf1c9b46ce4d487e8cb ******/ %feature("compactdefaultargs") Approx_FitAndDivide2d; - %feature("autodoc", "Initializes the fields of the algorithm. - + %feature("autodoc", " Parameters ---------- -degreemin: int,optional - default value is 3 -degreemax: int,optional - default value is 8 -Tolerance3d: float,optional - default value is 1.0e-05 -Tolerance2d: float,optional - default value is 1.0e-05 -cutting: bool,optional - default value is Standard_False -FirstC: AppParCurves_Constraint,optional - default value is AppParCurves_TangencyPoint -LastC: AppParCurves_Constraint,optional - default value is AppParCurves_TangencyPoint +degreemin: int (optional, default to 3) +degreemax: int (optional, default to 8) +Tolerance3d: float (optional, default to 1.0e-05) +Tolerance2d: float (optional, default to 1.0e-05) +cutting: bool (optional, default to Standard_False) +FirstC: AppParCurves_Constraint (optional, default to AppParCurves_TangencyPoint) +LastC: AppParCurves_Constraint (optional, default to AppParCurves_TangencyPoint) -Returns +Return ------- None + +Description +----------- +Initializes the fields of the algorithm. ") 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); - /****************** Error ******************/ - /**** md5 signature: 6a8061230005ba951097d8b73e7dbec6 ****/ + /****** Approx_FitAndDivide2d::Error ******/ + /****** md5 signature: 6a8061230005ba951097d8b73e7dbec6 ******/ %feature("compactdefaultargs") Error; - %feature("autodoc", "Returns the tolerances 2d and 3d of the multicurve. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- tol3d: float tol2d: float + +Description +----------- +returns the tolerances 2d and 3d of the MultiCurve. ") Error; void Error(const Standard_Integer Index, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** IsAllApproximated ******************/ - /**** md5 signature: bf42a9f9ee3a867655d96a0c1fdcd853 ****/ + /****** Approx_FitAndDivide2d::IsAllApproximated ******/ + /****** md5 signature: bf42a9f9ee3a867655d96a0c1fdcd853 ******/ %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. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns False if at a moment of the approximation, the status NoApproximation has been sent by the user when more points were needed. ") IsAllApproximated; Standard_Boolean IsAllApproximated(); - /****************** IsToleranceReached ******************/ - /**** md5 signature: cbd7380250e74c96655b10c8025eb873 ****/ + /****** Approx_FitAndDivide2d::IsToleranceReached ******/ + /****** md5 signature: cbd7380250e74c96655b10c8025eb873 ******/ %feature("compactdefaultargs") IsToleranceReached; - %feature("autodoc", "Returns false if the status nopointsadded has been sent. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns False if the status NoPointsAdded has been sent. ") IsToleranceReached; Standard_Boolean IsToleranceReached(); - /****************** NbMultiCurves ******************/ - /**** md5 signature: 944d4af40d93d46a8a3a888df2d8b388 ****/ + /****** Approx_FitAndDivide2d::NbMultiCurves ******/ + /****** md5 signature: 944d4af40d93d46a8a3a888df2d8b388 ******/ %feature("compactdefaultargs") NbMultiCurves; - %feature("autodoc", "Returns the number of multicurve doing the approximation of the multiline. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns the number of MultiCurve doing the approximation of the MultiLine. ") NbMultiCurves; Standard_Integer NbMultiCurves(); - /****************** Parameters ******************/ - /**** md5 signature: da3dbf6a597566992bf85427f2de867b ****/ + /****** Approx_FitAndDivide2d::Parameters ******/ + /****** md5 signature: da3dbf6a597566992bf85427f2de867b ******/ %feature("compactdefaultargs") Parameters; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- firstp: float lastp: float + +Description +----------- +No available documentation. ") Parameters; void Parameters(const Standard_Integer Index, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** Perform ******************/ - /**** md5 signature: caf6a1aea817b16df8ee08ce9b993f4f ****/ + /****** Approx_FitAndDivide2d::Perform ******/ + /****** md5 signature: caf6a1aea817b16df8ee08ce9b993f4f ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Runs the algorithm after having initialized the fields. - + %feature("autodoc", " Parameters ---------- Line: AppCont_Function -Returns +Return ------- None + +Description +----------- +runs the algorithm after having initialized the fields. ") Perform; void Perform(const AppCont_Function & Line); - /****************** SetConstraints ******************/ - /**** md5 signature: 99b92dc193142adf44568f800cd394dc ****/ + /****** Approx_FitAndDivide2d::SetConstraints ******/ + /****** md5 signature: 99b92dc193142adf44568f800cd394dc ******/ %feature("compactdefaultargs") SetConstraints; - %feature("autodoc", "Changes the constraints of the approximation. - + %feature("autodoc", " Parameters ---------- FirstC: AppParCurves_Constraint LastC: AppParCurves_Constraint -Returns +Return ------- None + +Description +----------- +Changes the constraints of the approximation. ") SetConstraints; void SetConstraints(const AppParCurves_Constraint FirstC, const AppParCurves_Constraint LastC); - /****************** SetDegrees ******************/ - /**** md5 signature: 545fdd7d739fa58cc970e73d0413f8ef ****/ + /****** Approx_FitAndDivide2d::SetDegrees ******/ + /****** md5 signature: 545fdd7d739fa58cc970e73d0413f8ef ******/ %feature("compactdefaultargs") SetDegrees; - %feature("autodoc", "Changes the degrees of the approximation. - + %feature("autodoc", " Parameters ---------- degreemin: int degreemax: int -Returns +Return ------- None + +Description +----------- +changes the degrees of the approximation. ") SetDegrees; void SetDegrees(const Standard_Integer degreemin, const Standard_Integer degreemax); - /****************** SetHangChecking ******************/ - /**** md5 signature: 082382da7c6c3da9061b500893941826 ****/ + /****** Approx_FitAndDivide2d::SetHangChecking ******/ + /****** md5 signature: 082382da7c6c3da9061b500893941826 ******/ %feature("compactdefaultargs") SetHangChecking; - %feature("autodoc", "Set value of hang checking flag if this flag = true, possible hang of algorithm is checked and algorithm is forced to stop. by default hang checking is used. - + %feature("autodoc", " Parameters ---------- theHangChecking: bool -Returns +Return ------- None + +Description +----------- +Set value of hang checking flag if this flag = true, possible hang of algorithm is checked and algorithm is forced to stop. By default hang checking is used. ") SetHangChecking; void SetHangChecking(const Standard_Boolean theHangChecking); - /****************** SetInvOrder ******************/ - /**** md5 signature: 50bac5968816111fd573c6f1be407215 ****/ + /****** Approx_FitAndDivide2d::SetInvOrder ******/ + /****** md5 signature: 50bac5968816111fd573c6f1be407215 ******/ %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. - + %feature("autodoc", " Parameters ---------- theInvOrder: bool -Returns +Return ------- None + +Description +----------- +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. ") SetInvOrder; void SetInvOrder(const Standard_Boolean theInvOrder); - /****************** SetMaxSegments ******************/ - /**** md5 signature: 649dded305ab339e1c7f2a819b32eedd ****/ + /****** Approx_FitAndDivide2d::SetMaxSegments ******/ + /****** md5 signature: 649dded305ab339e1c7f2a819b32eedd ******/ %feature("compactdefaultargs") SetMaxSegments; - %feature("autodoc", "Changes the max number of segments, which is allowed for cutting. - + %feature("autodoc", " Parameters ---------- theMaxSegments: int -Returns +Return ------- None + +Description +----------- +Changes the max number of segments, which is allowed for cutting. ") SetMaxSegments; void SetMaxSegments(const Standard_Integer theMaxSegments); - /****************** SetTolerances ******************/ - /**** md5 signature: ce7879738ace848f7a3a27c56467be10 ****/ + /****** Approx_FitAndDivide2d::SetTolerances ******/ + /****** md5 signature: ce7879738ace848f7a3a27c56467be10 ******/ %feature("compactdefaultargs") SetTolerances; - %feature("autodoc", "Changes the tolerances of the approximation. - + %feature("autodoc", " Parameters ---------- Tolerance3d: float Tolerance2d: float -Returns +Return ------- None + +Description +----------- +Changes the tolerances of the approximation. ") SetTolerances; void SetTolerances(const Standard_Real Tolerance3d, const Standard_Real Tolerance2d); - /****************** Value ******************/ - /**** md5 signature: 89790f3ff3d6d18a45f409a34e79bd67 ****/ + /****** Approx_FitAndDivide2d::Value ******/ + /****** md5 signature: 89790f3ff3d6d18a45f409a34e79bd67 ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns the approximation multicurve of range . - + %feature("autodoc", " Parameters ---------- -Index: int,optional - default value is 1 +Index: int (optional, default to 1) -Returns +Return ------- AppParCurves_MultiCurve + +Description +----------- +returns the approximation MultiCurve of range . ") Value; AppParCurves_MultiCurve Value(const Standard_Integer Index = 1); @@ -1511,90 +1647,106 @@ AppParCurves_MultiCurve *********************************/ class Approx_MCurvesToBSpCurve { public: - /****************** Approx_MCurvesToBSpCurve ******************/ - /**** md5 signature: f2ce6c1a8e6e0de7a78187ebdf09738b ****/ + /****** Approx_MCurvesToBSpCurve::Approx_MCurvesToBSpCurve ******/ + /****** md5 signature: f2ce6c1a8e6e0de7a78187ebdf09738b ******/ %feature("compactdefaultargs") Approx_MCurvesToBSpCurve; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") Approx_MCurvesToBSpCurve; Approx_MCurvesToBSpCurve(); - /****************** Append ******************/ - /**** md5 signature: ffc631c7b8994b3171041a1a53a9ce0c ****/ + /****** Approx_MCurvesToBSpCurve::Append ******/ + /****** md5 signature: ffc631c7b8994b3171041a1a53a9ce0c ******/ %feature("compactdefaultargs") Append; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- MC: AppParCurves_MultiCurve -Returns +Return ------- None + +Description +----------- +No available documentation. ") Append; void Append(const AppParCurves_MultiCurve & MC); - /****************** ChangeValue ******************/ - /**** md5 signature: 2275e53c2101f0a946b62e87720ec0a1 ****/ + /****** Approx_MCurvesToBSpCurve::ChangeValue ******/ + /****** md5 signature: 2275e53c2101f0a946b62e87720ec0a1 ******/ %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", "Return the composite multicurves as a multibspcurve. - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiBSpCurve + +Description +----------- +return the composite MultiCurves as a MultiBSpCurve. ") ChangeValue; - const AppParCurves_MultiBSpCurve & ChangeValue(); + AppParCurves_MultiBSpCurve ChangeValue(); - /****************** Perform ******************/ - /**** md5 signature: c04b01412cba7220c024b5eb4532697f ****/ + /****** Approx_MCurvesToBSpCurve::Perform ******/ + /****** md5 signature: c04b01412cba7220c024b5eb4532697f ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") Perform; void Perform(); - /****************** Perform ******************/ - /**** md5 signature: ecc994138ac3982c8ac29315eac11580 ****/ + /****** Approx_MCurvesToBSpCurve::Perform ******/ + /****** md5 signature: ecc994138ac3982c8ac29315eac11580 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- TheSeq: AppParCurves_SequenceOfMultiCurve -Returns +Return ------- None + +Description +----------- +No available documentation. ") Perform; void Perform(const AppParCurves_SequenceOfMultiCurve & TheSeq); - /****************** Reset ******************/ - /**** md5 signature: 7beb446fe26b948f797f8de87e46c23d ****/ + /****** Approx_MCurvesToBSpCurve::Reset ******/ + /****** md5 signature: 7beb446fe26b948f797f8de87e46c23d ******/ %feature("compactdefaultargs") Reset; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") Reset; void Reset(); - /****************** Value ******************/ - /**** md5 signature: c818c96a9a832640b6267a997c4dbd3b ****/ + /****** Approx_MCurvesToBSpCurve::Value ******/ + /****** md5 signature: c818c96a9a832640b6267a997c4dbd3b ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Return the composite multicurves as a multibspcurve. - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiBSpCurve + +Description +----------- +return the composite MultiCurves as a MultiBSpCurve. ") Value; - const AppParCurves_MultiBSpCurve & Value(); + AppParCurves_MultiBSpCurve Value(); }; @@ -1611,11 +1763,10 @@ AppParCurves_MultiBSpCurve class Approx_SameParameter { public: class Approx_SameParameter_Data {}; - /****************** Approx_SameParameter ******************/ - /**** md5 signature: 2930666ec596179e1ab77039278ff0c2 ****/ + /****** Approx_SameParameter::Approx_SameParameter ******/ + /****** md5 signature: 2930666ec596179e1ab77039278ff0c2 ******/ %feature("compactdefaultargs") Approx_SameParameter; - %feature("autodoc", "Warning: the c3d and c2d must have the same parametric domain. - + %feature("autodoc", " Parameters ---------- C3D: Geom_Curve @@ -1623,89 +1774,133 @@ C2D: Geom2d_Curve S: Geom_Surface Tol: float -Returns +Return ------- None + +Description +----------- +Warning: the C3D and C2D must have the same parametric domain. ") Approx_SameParameter; Approx_SameParameter(const opencascade::handle & C3D, const opencascade::handle & C2D, const opencascade::handle & S, const Standard_Real Tol); - /****************** Approx_SameParameter ******************/ - /**** md5 signature: bcc24beb554e4ba834ebfad460b28050 ****/ + /****** Approx_SameParameter::Approx_SameParameter ******/ + /****** md5 signature: c5ca4b0fa91714a7d8dbbb7f74166b6e ******/ %feature("compactdefaultargs") Approx_SameParameter; - %feature("autodoc", "Warning: the c3d and c2d must have the same parametric domain. - + %feature("autodoc", " Parameters ---------- -C3D: Adaptor3d_HCurve +C3D: Adaptor3d_Curve C2D: Geom2d_Curve -S: Adaptor3d_HSurface +S: Adaptor3d_Surface Tol: float -Returns +Return ------- None + +Description +----------- +Warning: the C3D and C2D must have the same parametric domain. ") Approx_SameParameter; - Approx_SameParameter(const opencascade::handle & C3D, const opencascade::handle & C2D, const opencascade::handle & S, const Standard_Real Tol); + Approx_SameParameter(const opencascade::handle & C3D, const opencascade::handle & C2D, const opencascade::handle & S, const Standard_Real Tol); - /****************** Approx_SameParameter ******************/ - /**** md5 signature: b09fa1bc62b4172d25965850dec9f2da ****/ + /****** Approx_SameParameter::Approx_SameParameter ******/ + /****** md5 signature: fd528457c519a0cdcaefab6e6d47b26f ******/ %feature("compactdefaultargs") Approx_SameParameter; - %feature("autodoc", "Warning: the c3d and c2d must have the same parametric domain. - + %feature("autodoc", " Parameters ---------- -C3D: Adaptor3d_HCurve -C2D: Adaptor2d_HCurve2d -S: Adaptor3d_HSurface +C3D: Adaptor3d_Curve +C2D: Adaptor2d_Curve2d +S: Adaptor3d_Surface Tol: float -Returns +Return ------- None + +Description +----------- +Warning: the C3D and C2D must have the same parametric domain. ") Approx_SameParameter; - Approx_SameParameter(const opencascade::handle & C3D, const opencascade::handle & C2D, const opencascade::handle & S, const Standard_Real Tol); + Approx_SameParameter(const opencascade::handle & C3D, const opencascade::handle & C2D, const opencascade::handle & S, const Standard_Real Tol); - /****************** Curve2d ******************/ - /**** md5 signature: 5fab5e35541cfe36f16f0294e27855ba ****/ + /****** Approx_SameParameter::Curve2d ******/ + /****** md5 signature: 5fab5e35541cfe36f16f0294e27855ba ******/ %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. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns the 2D curve that has the same parameter as the 3D curve once evaluated on the surface up to the specified tolerance. ") Curve2d; opencascade::handle Curve2d(); - /****************** IsDone ******************/ - /**** md5 signature: e385477ab1bec806154173d4a550fd68 ****/ - %feature("compactdefaultargs") IsDone; - %feature("autodoc", "//!@returns .false. if calculations failed, .true. if calculations succeed. + /****** Approx_SameParameter::Curve3d ******/ + /****** md5 signature: bf4d235dc27cc25572185a2b068878b7 ******/ + %feature("compactdefaultargs") Curve3d; + %feature("autodoc", "Return +------- +opencascade::handle -Returns +Description +----------- +Returns the 3D curve that has the same parameter as the 3D curve once evaluated on the surface up to the specified tolerance. +") Curve3d; + opencascade::handle Curve3d(); + + /****** Approx_SameParameter::CurveOnSurface ******/ + /****** md5 signature: 4576c068b1d09f135c33c1fb035c3e4f ******/ + %feature("compactdefaultargs") CurveOnSurface; + %feature("autodoc", "Return +------- +opencascade::handle + +Description +----------- +Returns the 3D curve on surface that has the same parameter as the 3D curve up to the specified tolerance. +") CurveOnSurface; + opencascade::handle CurveOnSurface(); + + /****** Approx_SameParameter::IsDone ******/ + /****** md5 signature: e385477ab1bec806154173d4a550fd68 ******/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "Return ------- bool + +Description +----------- +//!@Returns .false. if calculations failed, .true. if calculations succeed. ") IsDone; Standard_Boolean IsDone(); - /****************** IsSameParameter ******************/ - /**** md5 signature: cc3eb7385472632cf8547c37090fb098 ****/ + /****** Approx_SameParameter::IsSameParameter ******/ + /****** md5 signature: cc3eb7385472632cf8547c37090fb098 ******/ %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. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Tells whether the original data had already the same parameter up to the tolerance: in that case nothing is done. ") IsSameParameter; Standard_Boolean IsSameParameter(); - /****************** TolReached ******************/ - /**** md5 signature: 1f37a98b0772d31c830ed1321616b6c5 ****/ + /****** Approx_SameParameter::TolReached ******/ + /****** md5 signature: 1f37a98b0772d31c830ed1321616b6c5 ******/ %feature("compactdefaultargs") TolReached; - %feature("autodoc", "//!@returns tolerance (maximal distance) between 3d curve and curve on surface, generated by 2d curve and surface. . - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +//!@Returns tolerance (maximal distance) between 3d curve and curve on surface, generated by 2d curve and surface. ") TolReached; Standard_Real TolReached(); @@ -1723,52 +1918,59 @@ float **********************************/ class Approx_SweepApproximation { public: - /****************** Approx_SweepApproximation ******************/ - /**** md5 signature: 1e58ff1dd49473e8ec1efa55877921aa ****/ + /****** Approx_SweepApproximation::Approx_SweepApproximation ******/ + /****** md5 signature: 1e58ff1dd49473e8ec1efa55877921aa ******/ %feature("compactdefaultargs") Approx_SweepApproximation; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Func: Approx_SweepFunction -Returns +Return ------- None + +Description +----------- +No available documentation. ") Approx_SweepApproximation; Approx_SweepApproximation(const opencascade::handle & Func); - /****************** Average2dError ******************/ - /**** md5 signature: 8ed28c3aca266ff5de26936a7d153ffb ****/ + /****** Approx_SweepApproximation::Average2dError ******/ + /****** md5 signature: 8ed28c3aca266ff5de26936a7d153ffb ******/ %feature("compactdefaultargs") Average2dError; - %feature("autodoc", "Returns the average error of the 2d curve approximation. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- float + +Description +----------- +returns the average error of the 2d curve approximation. ") Average2dError; Standard_Real Average2dError(const Standard_Integer Index); - /****************** AverageErrorOnSurf ******************/ - /**** md5 signature: bac8be79201b06f130f6dd21a4817d03 ****/ + /****** Approx_SweepApproximation::AverageErrorOnSurf ******/ + /****** md5 signature: bac8be79201b06f130f6dd21a4817d03 ******/ %feature("compactdefaultargs") AverageErrorOnSurf; - %feature("autodoc", "Returns the average error in the suface approximation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the average error in the surface approximation. ") AverageErrorOnSurf; Standard_Real AverageErrorOnSurf(); - /****************** Curve2d ******************/ - /**** md5 signature: 45f5fb41b7daba7a20d1fb56ead05f0f ****/ + /****** Approx_SweepApproximation::Curve2d ******/ + /****** md5 signature: 45f5fb41b7daba7a20d1fb56ead05f0f ******/ %feature("compactdefaultargs") Curve2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Index: int @@ -1776,89 +1978,113 @@ TPoles: TColgp_Array1OfPnt2d TKnots: TColStd_Array1OfReal TMults: TColStd_Array1OfInteger -Returns +Return ------- None + +Description +----------- +No available documentation. ") Curve2d; void Curve2d(const Standard_Integer Index, TColgp_Array1OfPnt2d & TPoles, TColStd_Array1OfReal & TKnots, TColStd_Array1OfInteger & TMults); - /****************** Curve2dPoles ******************/ - /**** md5 signature: 8df321abd16a4651f96229eab1c5f048 ****/ + /****** Approx_SweepApproximation::Curve2dPoles ******/ + /****** md5 signature: 8df321abd16a4651f96229eab1c5f048 ******/ %feature("compactdefaultargs") Curve2dPoles; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- TColgp_Array1OfPnt2d + +Description +----------- +No available documentation. ") Curve2dPoles; const TColgp_Array1OfPnt2d & Curve2dPoles(const Standard_Integer Index); - /****************** Curves2dDegree ******************/ - /**** md5 signature: 85ba31033da623d05ad75c9b051842b3 ****/ + /****** Approx_SweepApproximation::Curves2dDegree ******/ + /****** md5 signature: 85ba31033da623d05ad75c9b051842b3 ******/ %feature("compactdefaultargs") Curves2dDegree; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") Curves2dDegree; Standard_Integer Curves2dDegree(); - /****************** Curves2dKnots ******************/ - /**** md5 signature: cd12725d88c425f3fe1ebccf9467256f ****/ + /****** Approx_SweepApproximation::Curves2dKnots ******/ + /****** md5 signature: cd12725d88c425f3fe1ebccf9467256f ******/ %feature("compactdefaultargs") Curves2dKnots; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TColStd_Array1OfReal + +Description +----------- +No available documentation. ") Curves2dKnots; const TColStd_Array1OfReal & Curves2dKnots(); - /****************** Curves2dMults ******************/ - /**** md5 signature: d4f1ca5a39a589bb289460010c5bbf39 ****/ + /****** Approx_SweepApproximation::Curves2dMults ******/ + /****** md5 signature: d4f1ca5a39a589bb289460010c5bbf39 ******/ %feature("compactdefaultargs") Curves2dMults; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TColStd_Array1OfInteger + +Description +----------- +No available documentation. ") Curves2dMults; const TColStd_Array1OfInteger & Curves2dMults(); - /****************** Curves2dShape ******************/ - /**** md5 signature: 28bf2faa4b8e811f12223cb99d1721ea ****/ + /****** Approx_SweepApproximation::Curves2dShape ******/ + /****** md5 signature: 28bf2faa4b8e811f12223cb99d1721ea ******/ %feature("compactdefaultargs") Curves2dShape; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- Degree: int NbPoles: int NbKnots: int + +Description +----------- +No available documentation. ") Curves2dShape; void Curves2dShape(Standard_Integer &OutValue, Standard_Integer &OutValue, Standard_Integer &OutValue); + /****** Approx_SweepApproximation::Dump ******/ + /****** md5 signature: d37b43e0b2386dc096d5d707876db157 ******/ + %feature("compactdefaultargs") Dump; + %feature("autodoc", " +Parameters +---------- - %feature("autodoc", "1"); - %extend{ - std::string DumpToString() { - std::stringstream s; - self->Dump(s); - return s.str();} - }; - /****************** Eval ******************/ - /**** md5 signature: 71e7f11e45548ac47de3b270019a0b2d ****/ - %feature("compactdefaultargs") Eval; - %feature("autodoc", "The evaluatorfunction from advapprox;. +Return +------- +o: Standard_OStream +Description +----------- +display information on approximation. +") Dump; + void Dump(std::ostream &OutValue); + + /****** Approx_SweepApproximation::Eval ******/ + /****** md5 signature: 71e7f11e45548ac47de3b270019a0b2d ******/ + %feature("compactdefaultargs") Eval; + %feature("autodoc", " Parameters ---------- Parameter: float @@ -1866,65 +2092,77 @@ DerivativeRequest: int First: float Last: float -Returns +Return ------- Result: float + +Description +----------- +The EvaluatorFunction from AdvApprox;. ") Eval; Standard_Integer Eval(const Standard_Real Parameter, const Standard_Integer DerivativeRequest, const Standard_Real First, const Standard_Real Last, Standard_Real &OutValue); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** Approx_SweepApproximation::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Returns if we have an result. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns if we have an result. ") IsDone; Standard_Boolean IsDone(); - /****************** Max2dError ******************/ - /**** md5 signature: bb3f56b4b55e0d91b8620b3ad4fad758 ****/ + /****** Approx_SweepApproximation::Max2dError ******/ + /****** md5 signature: bb3f56b4b55e0d91b8620b3ad4fad758 ******/ %feature("compactdefaultargs") Max2dError; - %feature("autodoc", "Returns the maximum error of the 2d curve approximation. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- float + +Description +----------- +returns the maximum error of the 2d curve approximation. ") Max2dError; Standard_Real Max2dError(const Standard_Integer Index); - /****************** MaxErrorOnSurf ******************/ - /**** md5 signature: e42290da593c42adaac24f68c51ecbda ****/ + /****** Approx_SweepApproximation::MaxErrorOnSurf ******/ + /****** md5 signature: e42290da593c42adaac24f68c51ecbda ******/ %feature("compactdefaultargs") MaxErrorOnSurf; - %feature("autodoc", "Returns the maximum error in the suface approximation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the maximum error in the surface approximation. ") MaxErrorOnSurf; Standard_Real MaxErrorOnSurf(); - /****************** NbCurves2d ******************/ - /**** md5 signature: 91ae967daa54efe7d38afad4a5698e5b ****/ + /****** Approx_SweepApproximation::NbCurves2d ******/ + /****** md5 signature: 91ae967daa54efe7d38afad4a5698e5b ******/ %feature("compactdefaultargs") NbCurves2d; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbCurves2d; Standard_Integer NbCurves2d(); - /****************** Perform ******************/ - /**** md5 signature: 306f26941735cb759216a105543fe10a ****/ + /****** Approx_SweepApproximation::Perform ******/ + /****** md5 signature: 306f26941735cb759216a105543fe10a ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Perform the approximation [first, last] : approx_sweepapproximation.cdl tol3d : tolerance to surface approximation tol2d : tolerance used to perform curve approximation normaly the 2d curve are approximated with a tolerance given by the resolution on support surfaces, but if this tolerance is too large tol2d is used. tolangular : tolerance (in radian) to control the angle beetween tangents on the section law and tangent of iso-v on approximed surface continuity : the continuity in v waiting on the surface degmax : the maximum degree in v requiered on the surface segmax : the maximum number of span in v requiered on the surface warning : the continuity ci can be obtained only if ft is ci. - + %feature("autodoc", " Parameters ---------- First: float @@ -1933,39 +2171,41 @@ Tol3d: float BoundTol: float Tol2d: float TolAngular: float -Continuity: GeomAbs_Shape,optional - default value is GeomAbs_C0 -Degmax: int,optional - default value is 11 -Segmax: int,optional - default value is 50 +Continuity: GeomAbs_Shape (optional, default to GeomAbs_C0) +Degmax: int (optional, default to 11) +Segmax: int (optional, default to 50) -Returns +Return ------- None + +Description +----------- +Perform the Approximation [First, Last]: Approx_SweepApproximation.cdl Tol3d: Tolerance to surface approximation Tol2d: Tolerance used to perform curve approximation Normally the 2d curve are approximated with a tolerance given by the resolution on support surfaces, but if this tolerance is too large Tol2d is used. TolAngular: Tolerance (in radian) to control the angle between tangents on the section law and tangent of iso-v on approximated surface Continuity: The continuity in v waiting on the surface Degmax: The maximum degree in v required on the surface Segmax: The maximum number of span in v required on the surface Warning: The continuity ci can be obtained only if Ft is Ci. ") 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); - /****************** SurfPoles ******************/ - /**** md5 signature: 33be5d08621b237fcd73b5b9accd2338 ****/ + /****** Approx_SweepApproximation::SurfPoles ******/ + /****** md5 signature: 33be5d08621b237fcd73b5b9accd2338 ******/ %feature("compactdefaultargs") SurfPoles; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TColgp_Array2OfPnt + +Description +----------- +No available documentation. ") SurfPoles; const TColgp_Array2OfPnt & SurfPoles(); - /****************** SurfShape ******************/ - /**** md5 signature: 6dbc9c018a92aabb9f9d1988ac20cb43 ****/ + /****** Approx_SweepApproximation::SurfShape ******/ + /****** md5 signature: 6dbc9c018a92aabb9f9d1988ac20cb43 ******/ %feature("compactdefaultargs") SurfShape; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- UDegree: int VDegree: int @@ -1973,69 +2213,82 @@ NbUPoles: int NbVPoles: int NbUKnots: int NbVKnots: int + +Description +----------- +No available documentation. ") SurfShape; void SurfShape(Standard_Integer &OutValue, Standard_Integer &OutValue, Standard_Integer &OutValue, Standard_Integer &OutValue, Standard_Integer &OutValue, Standard_Integer &OutValue); - /****************** SurfUKnots ******************/ - /**** md5 signature: 30cf4dd9deaf04a1c77052e14ae7392b ****/ + /****** Approx_SweepApproximation::SurfUKnots ******/ + /****** md5 signature: 30cf4dd9deaf04a1c77052e14ae7392b ******/ %feature("compactdefaultargs") SurfUKnots; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TColStd_Array1OfReal + +Description +----------- +No available documentation. ") SurfUKnots; const TColStd_Array1OfReal & SurfUKnots(); - /****************** SurfUMults ******************/ - /**** md5 signature: ef046447df8e4b2931da90e1475e731f ****/ + /****** Approx_SweepApproximation::SurfUMults ******/ + /****** md5 signature: ef046447df8e4b2931da90e1475e731f ******/ %feature("compactdefaultargs") SurfUMults; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TColStd_Array1OfInteger + +Description +----------- +No available documentation. ") SurfUMults; const TColStd_Array1OfInteger & SurfUMults(); - /****************** SurfVKnots ******************/ - /**** md5 signature: 52c9dafc43c5e3713c77d7aa4381da5c ****/ + /****** Approx_SweepApproximation::SurfVKnots ******/ + /****** md5 signature: 52c9dafc43c5e3713c77d7aa4381da5c ******/ %feature("compactdefaultargs") SurfVKnots; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TColStd_Array1OfReal + +Description +----------- +No available documentation. ") SurfVKnots; const TColStd_Array1OfReal & SurfVKnots(); - /****************** SurfVMults ******************/ - /**** md5 signature: 589e6536c77c512e7a37f99faf0fa21c ****/ + /****** Approx_SweepApproximation::SurfVMults ******/ + /****** md5 signature: 589e6536c77c512e7a37f99faf0fa21c ******/ %feature("compactdefaultargs") SurfVMults; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TColStd_Array1OfInteger + +Description +----------- +No available documentation. ") SurfVMults; const TColStd_Array1OfInteger & SurfVMults(); - /****************** SurfWeights ******************/ - /**** md5 signature: 894d2a3f2c33f7d641aef9c7f9e3fa57 ****/ + /****** Approx_SweepApproximation::SurfWeights ******/ + /****** md5 signature: 894d2a3f2c33f7d641aef9c7f9e3fa57 ******/ %feature("compactdefaultargs") SurfWeights; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TColStd_Array2OfReal + +Description +----------- +No available documentation. ") SurfWeights; const TColStd_Array2OfReal & SurfWeights(); - /****************** Surface ******************/ - /**** md5 signature: 49bb9dd6da49966f0010e14dd0ffef04 ****/ + /****** Approx_SweepApproximation::Surface ******/ + /****** md5 signature: 49bb9dd6da49966f0010e14dd0ffef04 ******/ %feature("compactdefaultargs") Surface; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- TPoles: TColgp_Array2OfPnt @@ -2045,46 +2298,57 @@ TVKnots: TColStd_Array1OfReal TUMults: TColStd_Array1OfInteger TVMults: TColStd_Array1OfInteger -Returns +Return ------- None + +Description +----------- +No available documentation. ") Surface; void Surface(TColgp_Array2OfPnt & TPoles, TColStd_Array2OfReal & TWeights, TColStd_Array1OfReal & TUKnots, TColStd_Array1OfReal & TVKnots, TColStd_Array1OfInteger & TUMults, TColStd_Array1OfInteger & TVMults); - /****************** TolCurveOnSurf ******************/ - /**** md5 signature: f21f0f877b35cf67581fa59260f72857 ****/ + /****** Approx_SweepApproximation::TolCurveOnSurf ******/ + /****** md5 signature: f21f0f877b35cf67581fa59260f72857 ******/ %feature("compactdefaultargs") TolCurveOnSurf; - %feature("autodoc", "Returns the maximum 3d error of the 2d curve approximation on the surface. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- float + +Description +----------- +returns the maximum 3d error of the 2d curve approximation on the Surface. ") TolCurveOnSurf; Standard_Real TolCurveOnSurf(const Standard_Integer Index); - /****************** UDegree ******************/ - /**** md5 signature: f204e5fbf1c49e3d9e4889dfead5a190 ****/ + /****** Approx_SweepApproximation::UDegree ******/ + /****** md5 signature: f204e5fbf1c49e3d9e4889dfead5a190 ******/ %feature("compactdefaultargs") UDegree; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") UDegree; Standard_Integer UDegree(); - /****************** VDegree ******************/ - /**** md5 signature: 4901bdb3b29a5c2410ca93d6a7816f06 ****/ + /****** Approx_SweepApproximation::VDegree ******/ + /****** md5 signature: 4901bdb3b29a5c2410ca93d6a7816f06 ******/ %feature("compactdefaultargs") VDegree; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") VDegree; Standard_Integer VDegree(); @@ -2103,22 +2367,23 @@ int %nodefaultctor Approx_SweepFunction; class Approx_SweepFunction : public Standard_Transient { public: - /****************** BarycentreOfSurf ******************/ - /**** md5 signature: cbc6eaf5619edbfc0f2839466f8de856 ****/ + /****** Approx_SweepFunction::BarycentreOfSurf ******/ + /****** md5 signature: cbc6eaf5619edbfc0f2839466f8de856 ******/ %feature("compactdefaultargs") BarycentreOfSurf; - %feature("autodoc", "Get the barycentre of surface. an very poor estimation is sufficent. this information is usefull to perform well conditioned rational approximation. warning: used only if isrational. - -Returns + %feature("autodoc", "Return ------- gp_Pnt + +Description +----------- +Get the barycentre of Surface. An very poor estimation is sufficient. This information is useful to perform well conditioned rational approximation. Warning: Used only if IsRational. ") BarycentreOfSurf; virtual gp_Pnt BarycentreOfSurf(); - /****************** D0 ******************/ - /**** md5 signature: 59d4398da857a954d97c3c261c2f0d6a ****/ + /****** Approx_SweepFunction::D0 ******/ + /****** md5 signature: 59d4398da857a954d97c3c261c2f0d6a ******/ %feature("compactdefaultargs") D0; - %feature("autodoc", "Compute the section for v = param. - + %feature("autodoc", " Parameters ---------- Param: float @@ -2128,17 +2393,20 @@ Poles: TColgp_Array1OfPnt Poles2d: TColgp_Array1OfPnt2d Weigths: TColStd_Array1OfReal -Returns +Return ------- bool + +Description +----------- +compute the section for v = param. ") 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); - /****************** D1 ******************/ - /**** md5 signature: 509d473b60471c40fb84a525daccf7b2 ****/ + /****** Approx_SweepFunction::D1 ******/ + /****** md5 signature: 509d473b60471c40fb84a525daccf7b2 ******/ %feature("compactdefaultargs") D1; - %feature("autodoc", "Compute the first derivative in v direction of the section for v = param warning : it used only for c1 or c2 aproximation. - + %feature("autodoc", " Parameters ---------- Param: float @@ -2151,17 +2419,20 @@ DPoles2d: TColgp_Array1OfVec2d Weigths: TColStd_Array1OfReal DWeigths: TColStd_Array1OfReal -Returns +Return ------- bool + +Description +----------- +compute the first derivative in v direction of the section for v = param Warning: It used only for C1 or C2 approximation. ") 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); - /****************** D2 ******************/ - /**** md5 signature: 9688db55fcb73e40afa5da6bce93a93e ****/ + /****** Approx_SweepFunction::D2 ******/ + /****** md5 signature: 9688db55fcb73e40afa5da6bce93a93e ******/ %feature("compactdefaultargs") D2; - %feature("autodoc", "Compute the second derivative in v direction of the section for v = param warning : it used only for c2 aproximation. - + %feature("autodoc", " Parameters ---------- Param: float @@ -2177,32 +2448,38 @@ Weigths: TColStd_Array1OfReal DWeigths: TColStd_Array1OfReal D2Weigths: TColStd_Array1OfReal -Returns +Return ------- bool + +Description +----------- +compute the second derivative in v direction of the section for v = param Warning: It used only for C2 approximation. ") 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); - /****************** GetMinimalWeight ******************/ - /**** md5 signature: 6fdd12d5da1669c5217b9449c91c0d9e ****/ + /****** Approx_SweepFunction::GetMinimalWeight ******/ + /****** md5 signature: 6fdd12d5da1669c5217b9449c91c0d9e ******/ %feature("compactdefaultargs") GetMinimalWeight; - %feature("autodoc", "Compute the minimal value of weight for each poles in all sections. this information is usefull to control error in rational approximation. warning: used only if isrational. - + %feature("autodoc", " Parameters ---------- Weigths: TColStd_Array1OfReal -Returns +Return ------- None + +Description +----------- +Compute the minimal value of weight for each poles in all sections. This information is useful to control error in rational approximation. Warning: Used only if IsRational. ") GetMinimalWeight; virtual void GetMinimalWeight(TColStd_Array1OfReal & Weigths); - /****************** GetTolerance ******************/ - /**** md5 signature: 1096196f89d9fc10f33e62e0d43284fe ****/ + /****** Approx_SweepFunction::GetTolerance ******/ + /****** md5 signature: 1096196f89d9fc10f33e62e0d43284fe ******/ %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. - + %feature("autodoc", " Parameters ---------- BoundTol: float @@ -2210,168 +2487,202 @@ SurfTol: float AngleTol: float Tol3d: TColStd_Array1OfReal -Returns +Return ------- None + +Description +----------- +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. ") GetTolerance; virtual void GetTolerance(const Standard_Real BoundTol, const Standard_Real SurfTol, const Standard_Real AngleTol, TColStd_Array1OfReal & Tol3d); - /****************** Intervals ******************/ - /**** md5 signature: 7d2bf038a9213acf1609cc1244a3ee03 ****/ + /****** Approx_SweepFunction::Intervals ******/ + /****** md5 signature: 7d2bf038a9213acf1609cc1244a3ee03 ******/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). - + %feature("autodoc", " Parameters ---------- T: TColStd_Array1OfReal S: GeomAbs_Shape -Returns +Return ------- None + +Description +----------- +Stores in the parameters bounding the intervals of continuity . //! The array must provide enough room to accommodate for the parameters. i.e. T.Length() > NbIntervals(). ") Intervals; virtual void Intervals(TColStd_Array1OfReal & T, const GeomAbs_Shape S); - /****************** IsRational ******************/ - /**** md5 signature: e2d546fe827c13e22032dacc2ce90819 ****/ + /****** Approx_SweepFunction::IsRational ******/ + /****** md5 signature: e2d546fe827c13e22032dacc2ce90819 ******/ %feature("compactdefaultargs") IsRational; - %feature("autodoc", "Returns if the sections are rationnal or not. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns if the sections are rational or not. ") IsRational; virtual Standard_Boolean IsRational(); - /****************** Knots ******************/ - /**** md5 signature: 7e71a376fdfa4fc27638b1b7f6f203bb ****/ + /****** Approx_SweepFunction::Knots ******/ + /****** md5 signature: 7e71a376fdfa4fc27638b1b7f6f203bb ******/ %feature("compactdefaultargs") Knots; - %feature("autodoc", "Get the knots of the section. - + %feature("autodoc", " Parameters ---------- TKnots: TColStd_Array1OfReal -Returns +Return ------- None + +Description +----------- +get the Knots of the section. ") Knots; virtual void Knots(TColStd_Array1OfReal & TKnots); - /****************** MaximalSection ******************/ - /**** md5 signature: d9acdf10cc3735a15f259a425c017f62 ****/ + /****** Approx_SweepFunction::MaximalSection ******/ + /****** md5 signature: d9acdf10cc3735a15f259a425c017f62 ******/ %feature("compactdefaultargs") MaximalSection; - %feature("autodoc", "Returns the length of the greater section. this information is usefull to g1's control. warning: with an little value, approximation can be slower. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the length of the greater section. Thisinformation is useful to G1's control. Warning: With an little value, approximation can be slower. ") MaximalSection; virtual Standard_Real MaximalSection(); - /****************** Mults ******************/ - /**** md5 signature: d5fb3b1381d15914585fd7e6e0eafecb ****/ + /****** Approx_SweepFunction::Mults ******/ + /****** md5 signature: d5fb3b1381d15914585fd7e6e0eafecb ******/ %feature("compactdefaultargs") Mults; - %feature("autodoc", "Get the multplicities of the section. - + %feature("autodoc", " Parameters ---------- TMults: TColStd_Array1OfInteger -Returns +Return ------- None + +Description +----------- +get the Multplicities of the section. ") Mults; virtual void Mults(TColStd_Array1OfInteger & TMults); - /****************** Nb2dCurves ******************/ - /**** md5 signature: 1badd0e2d38d18f16705a0a708ba7c67 ****/ + /****** Approx_SweepFunction::Nb2dCurves ******/ + /****** md5 signature: 1badd0e2d38d18f16705a0a708ba7c67 ******/ %feature("compactdefaultargs") Nb2dCurves; - %feature("autodoc", "Get the number of 2d curves to approximate. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +get the number of 2d curves to approximate. ") Nb2dCurves; virtual Standard_Integer Nb2dCurves(); - /****************** NbIntervals ******************/ - /**** md5 signature: cb7f68d4b2c30f29cd5ba6f81443d314 ****/ + /****** Approx_SweepFunction::NbIntervals ******/ + /****** md5 signature: cb7f68d4b2c30f29cd5ba6f81443d314 ******/ %feature("compactdefaultargs") NbIntervals; - %feature("autodoc", "Returns the number of intervals for continuity . may be one if continuity(me) >= . - + %feature("autodoc", " Parameters ---------- S: GeomAbs_Shape -Returns +Return ------- int + +Description +----------- +Returns the number of intervals for continuity . May be one if Continuity(me) >= . ") NbIntervals; virtual Standard_Integer NbIntervals(const GeomAbs_Shape S); - /****************** Resolution ******************/ - /**** md5 signature: 70b0f0265ef5802a650e7ab2f0220a7e ****/ + /****** Approx_SweepFunction::Resolution ******/ + /****** md5 signature: 70b0f0265ef5802a650e7ab2f0220a7e ******/ %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", " Parameters ---------- Index: int Tol: float -Returns +Return ------- TolU: float TolV: float + +Description +----------- +Returns the resolutions in the sub-space 2d This information is usfull to find an good tolerance in 2d approximation. ") Resolution; virtual void Resolution(const Standard_Integer Index, const Standard_Real Tol, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** SectionShape ******************/ - /**** md5 signature: 2709d0545e048eec44ae3de66392188f ****/ + /****** Approx_SweepFunction::SectionShape ******/ + /****** md5 signature: 2709d0545e048eec44ae3de66392188f ******/ %feature("compactdefaultargs") SectionShape; - %feature("autodoc", "Get the format of an section. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- NbPoles: int NbKnots: int Degree: int + +Description +----------- +get the format of an section. ") SectionShape; virtual void SectionShape(Standard_Integer &OutValue, Standard_Integer &OutValue, Standard_Integer &OutValue); - /****************** SetInterval ******************/ - /**** md5 signature: 0547f3a9c04c5f6c0363c26295b2e795 ****/ + /****** Approx_SweepFunction::SetInterval ******/ + /****** md5 signature: 0547f3a9c04c5f6c0363c26295b2e795 ******/ %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. - + %feature("autodoc", " Parameters ---------- First: float Last: float -Returns +Return ------- None + +Description +----------- +Sets the bounds of the parametric interval on the fonction This determines the derivatives in these values if the function is not Cn. ") SetInterval; virtual void SetInterval(const Standard_Real First, const Standard_Real Last); - /****************** SetTolerance ******************/ - /**** md5 signature: 93e9274684dae026e60334d9dec71409 ****/ + /****** Approx_SweepFunction::SetTolerance ******/ + /****** md5 signature: 93e9274684dae026e60334d9dec71409 ******/ %feature("compactdefaultargs") SetTolerance; - %feature("autodoc", "Is usefull, if (me) have to run numerical algorithm to perform d0, d1 or d2. - + %feature("autodoc", " Parameters ---------- Tol3d: float Tol2d: float -Returns +Return ------- None + +Description +----------- +Is useful, if (me) have to run numerical algorithm to perform D0, D1 or D2. ") SetTolerance; virtual void SetTolerance(const Standard_Real Tol3d, const Standard_Real Tol2d); @@ -2388,17 +2699,6 @@ None /* harray1 classes */ -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); @@ -2409,6 +2709,17 @@ class Approx_HArray1OfAdHSurface : public Approx_Array1OfAdHSurface, public Stan }; %make_alias(Approx_HArray1OfAdHSurface) + +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) + /* harray2 classes */ /* hsequence classes */ /* class aliases */ diff --git a/src/SWIG_files/wrapper/Approx.pyi b/src/SWIG_files/wrapper/Approx.pyi index c92be0233..ace52e2ff 100644 --- a/src/SWIG_files/wrapper/Approx.pyi +++ b/src/SWIG_files/wrapper/Approx.pyi @@ -3,8 +3,8 @@ from typing import overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * -from OCC.Core.TColStd import * from OCC.Core.Adaptor3d import * +from OCC.Core.TColStd import * from OCC.Core.Adaptor2d import * from OCC.Core.GeomAbs import * from OCC.Core.Geom2d import * @@ -14,7 +14,6 @@ from OCC.Core.AppParCurves import * from OCC.Core.TColgp import * from OCC.Core.gp import * - class Approx_Array1OfAdHSurface: @overload def __init__(self) -> None: ... @@ -64,224 +63,432 @@ class Approx_Array1OfGTrsf2d: def SetValue(self, theIndex: int, theValue: gp_GTrsf2d) -> None: ... class Approx_SequenceOfHArray1OfReal: - def __init__(self) -> None: ... - def __len__(self) -> int: ... - def Size(self) -> int: ... + def Assign(self, theItem: False) -> False: ... def Clear(self) -> None: ... def First(self) -> False: ... + def IsDeletables(self) -> bool: ... + def IsEmpty(self) -> bool: ... def Last(self) -> False: ... def Length(self) -> int: ... - def Append(self, theItem: False) -> False: ... + def Lower(self) -> int: ... def Prepend(self, theItem: False) -> False: ... def RemoveFirst(self) -> None: ... def Reverse(self) -> None: ... - def Value(self, theIndex: int) -> False: ... def SetValue(self, theIndex: int, theValue: False) -> None: ... - -class Approx_Status(IntEnum): - Approx_PointsAdded: int = ... - Approx_NoPointsAdded: int = ... - Approx_NoApproximation: int = ... -Approx_PointsAdded = Approx_Status.Approx_PointsAdded -Approx_NoPointsAdded = Approx_Status.Approx_NoPointsAdded -Approx_NoApproximation = Approx_Status.Approx_NoApproximation + def Size(self) -> int: ... + def UpdateUpperBound(self, int) -> None: ... + def UpdateLowerBound(self, int) -> None: ... + def Upper(self) -> int: ... + def Value(self, theIndex: int) -> False: ... + def __init__(self) -> None: ... + def __len__(self) -> int: ... class Approx_ParametrizationType(IntEnum): - Approx_ChordLength: int = ... - Approx_Centripetal: int = ... - Approx_IsoParametric: int = ... + Approx_ChordLength: int = ... + Approx_Centripetal: int = ... + Approx_IsoParametric: int = ... + Approx_ChordLength = Approx_ParametrizationType.Approx_ChordLength Approx_Centripetal = Approx_ParametrizationType.Approx_Centripetal Approx_IsoParametric = Approx_ParametrizationType.Approx_IsoParametric +class Approx_Status(IntEnum): + Approx_PointsAdded: int = ... + Approx_NoPointsAdded: int = ... + Approx_NoApproximation: int = ... + +Approx_PointsAdded = Approx_Status.Approx_PointsAdded +Approx_NoPointsAdded = Approx_Status.Approx_NoPointsAdded +Approx_NoApproximation = Approx_Status.Approx_NoApproximation + class Approx_Curve2d: - def __init__(self, C2D: Adaptor2d_HCurve2d, First: float, Last: float, TolU: float, TolV: float, Continuity: GeomAbs_Shape, MaxDegree: int, MaxSegments: int) -> None: ... - def Curve(self) -> Geom2d_BSplineCurve: ... - def HasResult(self) -> bool: ... - def IsDone(self) -> bool: ... - def MaxError2dU(self) -> float: ... - def MaxError2dV(self) -> float: ... + def __init__( + self, + C2D: Adaptor2d_Curve2d, + First: float, + Last: float, + TolU: float, + TolV: float, + Continuity: GeomAbs_Shape, + MaxDegree: int, + MaxSegments: int, + ) -> None: ... + def Curve(self) -> Geom2d_BSplineCurve: ... + def HasResult(self) -> bool: ... + def IsDone(self) -> bool: ... + def MaxError2dU(self) -> float: ... + def MaxError2dV(self) -> float: ... class Approx_Curve3d: - def __init__(self, Curve: Adaptor3d_HCurve, Tol3d: float, Order: GeomAbs_Shape, MaxSegments: int, MaxDegree: int) -> None: ... - def Curve(self) -> Geom_BSplineCurve: ... - def HasResult(self) -> bool: ... - def IsDone(self) -> bool: ... - def MaxError(self) -> float: ... + def __init__( + self, + Curve: Adaptor3d_Curve, + Tol3d: float, + Order: GeomAbs_Shape, + MaxSegments: int, + MaxDegree: int, + ) -> None: ... + def Curve(self) -> Geom_BSplineCurve: ... + def Dump(self) -> str: ... + def HasResult(self) -> bool: ... + def IsDone(self) -> bool: ... + def MaxError(self) -> float: ... class Approx_CurveOnSurface: - @overload - def __init__(self, C2D: Adaptor2d_HCurve2d, Surf: Adaptor3d_HSurface, First: float, Last: float, Tol: float, Continuity: GeomAbs_Shape, MaxDegree: int, MaxSegments: int, Only3d: Optional[bool] = False, Only2d: Optional[bool] = False) -> None: ... - @overload - def __init__(self, theC2D: Adaptor2d_HCurve2d, theSurf: Adaptor3d_HSurface, theFirst: float, theLast: float, theTol: float) -> None: ... - def Curve2d(self) -> Geom2d_BSplineCurve: ... - def Curve3d(self) -> Geom_BSplineCurve: ... - def HasResult(self) -> bool: ... - def IsDone(self) -> bool: ... - def MaxError2dU(self) -> float: ... - def MaxError2dV(self) -> float: ... - def MaxError3d(self) -> float: ... - def Perform(self, theMaxSegments: int, theMaxDegree: int, theContinuity: GeomAbs_Shape, theOnly3d: Optional[bool] = False, theOnly2d: Optional[bool] = False) -> None: ... + @overload + def __init__( + self, + C2D: Adaptor2d_Curve2d, + Surf: Adaptor3d_Surface, + First: float, + Last: float, + Tol: float, + Continuity: GeomAbs_Shape, + MaxDegree: int, + MaxSegments: int, + Only3d: Optional[bool] = False, + Only2d: Optional[bool] = False, + ) -> None: ... + @overload + def __init__( + self, + theC2D: Adaptor2d_Curve2d, + theSurf: Adaptor3d_Surface, + theFirst: float, + theLast: float, + theTol: float, + ) -> None: ... + def Curve2d(self) -> Geom2d_BSplineCurve: ... + def Curve3d(self) -> Geom_BSplineCurve: ... + def HasResult(self) -> bool: ... + def IsDone(self) -> bool: ... + def MaxError2dU(self) -> float: ... + def MaxError2dV(self) -> float: ... + def MaxError3d(self) -> float: ... + def Perform( + self, + theMaxSegments: int, + theMaxDegree: int, + theContinuity: GeomAbs_Shape, + theOnly3d: Optional[bool] = False, + theOnly2d: Optional[bool] = False, + ) -> None: ... class Approx_CurvilinearParameter: - @overload - def __init__(self, C3D: Adaptor3d_HCurve, Tol: float, Order: GeomAbs_Shape, MaxDegree: int, MaxSegments: int) -> None: ... - @overload - def __init__(self, C2D: Adaptor2d_HCurve2d, Surf: Adaptor3d_HSurface, Tol: float, Order: GeomAbs_Shape, MaxDegree: int, MaxSegments: int) -> None: ... - @overload - def __init__(self, C2D1: Adaptor2d_HCurve2d, Surf1: Adaptor3d_HSurface, C2D2: Adaptor2d_HCurve2d, Surf2: Adaptor3d_HSurface, Tol: float, Order: GeomAbs_Shape, MaxDegree: int, MaxSegments: int) -> None: ... - def Curve2d1(self) -> Geom2d_BSplineCurve: ... - def Curve2d2(self) -> Geom2d_BSplineCurve: ... - def Curve3d(self) -> Geom_BSplineCurve: ... - def HasResult(self) -> bool: ... - def IsDone(self) -> bool: ... - def MaxError2d1(self) -> float: ... - def MaxError2d2(self) -> float: ... - def MaxError3d(self) -> float: ... + @overload + def __init__( + self, + C3D: Adaptor3d_Curve, + Tol: float, + Order: GeomAbs_Shape, + MaxDegree: int, + MaxSegments: int, + ) -> None: ... + @overload + def __init__( + self, + C2D: Adaptor2d_Curve2d, + Surf: Adaptor3d_Surface, + Tol: float, + Order: GeomAbs_Shape, + MaxDegree: int, + MaxSegments: int, + ) -> None: ... + @overload + def __init__( + self, + C2D1: Adaptor2d_Curve2d, + Surf1: Adaptor3d_Surface, + C2D2: Adaptor2d_Curve2d, + Surf2: Adaptor3d_Surface, + Tol: float, + Order: GeomAbs_Shape, + MaxDegree: int, + MaxSegments: int, + ) -> None: ... + def Curve2d1(self) -> Geom2d_BSplineCurve: ... + def Curve2d2(self) -> Geom2d_BSplineCurve: ... + def Curve3d(self) -> Geom_BSplineCurve: ... + def Dump(self) -> str: ... + def HasResult(self) -> bool: ... + def IsDone(self) -> bool: ... + def MaxError2d1(self) -> float: ... + def MaxError2d2(self) -> float: ... + def MaxError3d(self) -> float: ... class Approx_CurvlinFunc(Standard_Transient): - @overload - def __init__(self, C: Adaptor3d_HCurve, Tol: float) -> None: ... - @overload - def __init__(self, C2D: Adaptor2d_HCurve2d, S: Adaptor3d_HSurface, Tol: float) -> None: ... - @overload - def __init__(self, C2D1: Adaptor2d_HCurve2d, C2D2: Adaptor2d_HCurve2d, S1: Adaptor3d_HSurface, S2: Adaptor3d_HSurface, Tol: float) -> None: ... - def EvalCase1(self, S: float, Order: int, Result: TColStd_Array1OfReal) -> bool: ... - def EvalCase2(self, S: float, Order: int, Result: TColStd_Array1OfReal) -> bool: ... - def EvalCase3(self, S: float, Order: int, Result: TColStd_Array1OfReal) -> bool: ... - def FirstParameter(self) -> float: ... - def GetLength(self) -> float: ... - def GetSParameter(self, U: float) -> float: ... - def GetUParameter(self, C: Adaptor3d_Curve, S: float, NumberOfCurve: int) -> float: ... - def Intervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... - def LastParameter(self) -> float: ... - @overload - def Length(self) -> None: ... - @overload - def Length(self, C: Adaptor3d_Curve, FirstU: float, LasrU: float) -> float: ... - def NbIntervals(self, S: GeomAbs_Shape) -> int: ... - def SetTol(self, Tol: float) -> None: ... - def Trim(self, First: float, Last: float, Tol: float) -> None: ... + @overload + def __init__(self, C: Adaptor3d_Curve, Tol: float) -> None: ... + @overload + def __init__( + self, C2D: Adaptor2d_Curve2d, S: Adaptor3d_Surface, Tol: float + ) -> None: ... + @overload + def __init__( + self, + C2D1: Adaptor2d_Curve2d, + C2D2: Adaptor2d_Curve2d, + S1: Adaptor3d_Surface, + S2: Adaptor3d_Surface, + Tol: float, + ) -> None: ... + def EvalCase1(self, S: float, Order: int, Result: TColStd_Array1OfReal) -> bool: ... + def EvalCase2(self, S: float, Order: int, Result: TColStd_Array1OfReal) -> bool: ... + def EvalCase3(self, S: float, Order: int, Result: TColStd_Array1OfReal) -> bool: ... + def FirstParameter(self) -> float: ... + def GetLength(self) -> float: ... + def GetSParameter(self, U: float) -> float: ... + def GetUParameter( + self, C: Adaptor3d_Curve, S: float, NumberOfCurve: int + ) -> float: ... + def Intervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... + def LastParameter(self) -> float: ... + @overload + def Length(self) -> None: ... + @overload + def Length(self, C: Adaptor3d_Curve, FirstU: float, LasrU: float) -> float: ... + def NbIntervals(self, S: GeomAbs_Shape) -> int: ... + def SetTol(self, Tol: float) -> None: ... + def Trim(self, First: float, Last: float, Tol: float) -> None: ... class Approx_FitAndDivide: - @overload - def __init__(self, Line: AppCont_Function, degreemin: Optional[int] = 3, degreemax: Optional[int] = 8, Tolerance3d: Optional[float] = 1.0e-5, Tolerance2d: Optional[float] = 1.0e-5, cutting: Optional[bool] = False, FirstC: Optional[AppParCurves_Constraint] = AppParCurves_TangencyPoint, LastC: Optional[AppParCurves_Constraint] = AppParCurves_TangencyPoint) -> None: ... - @overload - def __init__(self, degreemin: Optional[int] = 3, degreemax: Optional[int] = 8, Tolerance3d: Optional[float] = 1.0e-05, Tolerance2d: Optional[float] = 1.0e-05, cutting: Optional[bool] = False, FirstC: Optional[AppParCurves_Constraint] = AppParCurves_TangencyPoint, LastC: Optional[AppParCurves_Constraint] = AppParCurves_TangencyPoint) -> None: ... - def Error(self, Index: int) -> Tuple[float, float]: ... - def IsAllApproximated(self) -> bool: ... - def IsToleranceReached(self) -> bool: ... - def NbMultiCurves(self) -> int: ... - def Parameters(self, Index: int) -> Tuple[float, float]: ... - def Perform(self, Line: AppCont_Function) -> None: ... - def SetConstraints(self, FirstC: AppParCurves_Constraint, LastC: AppParCurves_Constraint) -> None: ... - def SetDegrees(self, degreemin: int, degreemax: int) -> None: ... - def SetHangChecking(self, theHangChecking: bool) -> None: ... - def SetInvOrder(self, theInvOrder: bool) -> None: ... - def SetMaxSegments(self, theMaxSegments: int) -> None: ... - def SetTolerances(self, Tolerance3d: float, Tolerance2d: float) -> None: ... - def Value(self, Index: Optional[int] = 1) -> AppParCurves_MultiCurve: ... + @overload + def __init__( + self, + Line: AppCont_Function, + degreemin: Optional[int] = 3, + degreemax: Optional[int] = 8, + Tolerance3d: Optional[float] = 1.0e-5, + Tolerance2d: Optional[float] = 1.0e-5, + cutting: Optional[bool] = False, + FirstC: Optional[AppParCurves_Constraint] = AppParCurves_TangencyPoint, + LastC: Optional[AppParCurves_Constraint] = AppParCurves_TangencyPoint, + ) -> None: ... + @overload + def __init__( + self, + degreemin: Optional[int] = 3, + degreemax: Optional[int] = 8, + Tolerance3d: Optional[float] = 1.0e-05, + Tolerance2d: Optional[float] = 1.0e-05, + cutting: Optional[bool] = False, + FirstC: Optional[AppParCurves_Constraint] = AppParCurves_TangencyPoint, + LastC: Optional[AppParCurves_Constraint] = AppParCurves_TangencyPoint, + ) -> None: ... + def Error(self, Index: int) -> Tuple[float, float]: ... + def IsAllApproximated(self) -> bool: ... + def IsToleranceReached(self) -> bool: ... + def NbMultiCurves(self) -> int: ... + def Parameters(self, Index: int) -> Tuple[float, float]: ... + def Perform(self, Line: AppCont_Function) -> None: ... + def SetConstraints( + self, FirstC: AppParCurves_Constraint, LastC: AppParCurves_Constraint + ) -> None: ... + def SetDegrees(self, degreemin: int, degreemax: int) -> None: ... + def SetHangChecking(self, theHangChecking: bool) -> None: ... + def SetInvOrder(self, theInvOrder: bool) -> None: ... + def SetMaxSegments(self, theMaxSegments: int) -> None: ... + def SetTolerances(self, Tolerance3d: float, Tolerance2d: float) -> None: ... + def Value(self, Index: Optional[int] = 1) -> AppParCurves_MultiCurve: ... class Approx_FitAndDivide2d: - @overload - def __init__(self, Line: AppCont_Function, degreemin: Optional[int] = 3, degreemax: Optional[int] = 8, Tolerance3d: Optional[float] = 1.0e-5, Tolerance2d: Optional[float] = 1.0e-5, cutting: Optional[bool] = False, FirstC: Optional[AppParCurves_Constraint] = AppParCurves_TangencyPoint, LastC: Optional[AppParCurves_Constraint] = AppParCurves_TangencyPoint) -> None: ... - @overload - def __init__(self, degreemin: Optional[int] = 3, degreemax: Optional[int] = 8, Tolerance3d: Optional[float] = 1.0e-05, Tolerance2d: Optional[float] = 1.0e-05, cutting: Optional[bool] = False, FirstC: Optional[AppParCurves_Constraint] = AppParCurves_TangencyPoint, LastC: Optional[AppParCurves_Constraint] = AppParCurves_TangencyPoint) -> None: ... - def Error(self, Index: int) -> Tuple[float, float]: ... - def IsAllApproximated(self) -> bool: ... - def IsToleranceReached(self) -> bool: ... - def NbMultiCurves(self) -> int: ... - def Parameters(self, Index: int) -> Tuple[float, float]: ... - def Perform(self, Line: AppCont_Function) -> None: ... - def SetConstraints(self, FirstC: AppParCurves_Constraint, LastC: AppParCurves_Constraint) -> None: ... - def SetDegrees(self, degreemin: int, degreemax: int) -> None: ... - def SetHangChecking(self, theHangChecking: bool) -> None: ... - def SetInvOrder(self, theInvOrder: bool) -> None: ... - def SetMaxSegments(self, theMaxSegments: int) -> None: ... - def SetTolerances(self, Tolerance3d: float, Tolerance2d: float) -> None: ... - def Value(self, Index: Optional[int] = 1) -> AppParCurves_MultiCurve: ... + @overload + def __init__( + self, + Line: AppCont_Function, + degreemin: Optional[int] = 3, + degreemax: Optional[int] = 8, + Tolerance3d: Optional[float] = 1.0e-5, + Tolerance2d: Optional[float] = 1.0e-5, + cutting: Optional[bool] = False, + FirstC: Optional[AppParCurves_Constraint] = AppParCurves_TangencyPoint, + LastC: Optional[AppParCurves_Constraint] = AppParCurves_TangencyPoint, + ) -> None: ... + @overload + def __init__( + self, + degreemin: Optional[int] = 3, + degreemax: Optional[int] = 8, + Tolerance3d: Optional[float] = 1.0e-05, + Tolerance2d: Optional[float] = 1.0e-05, + cutting: Optional[bool] = False, + FirstC: Optional[AppParCurves_Constraint] = AppParCurves_TangencyPoint, + LastC: Optional[AppParCurves_Constraint] = AppParCurves_TangencyPoint, + ) -> None: ... + def Error(self, Index: int) -> Tuple[float, float]: ... + def IsAllApproximated(self) -> bool: ... + def IsToleranceReached(self) -> bool: ... + def NbMultiCurves(self) -> int: ... + def Parameters(self, Index: int) -> Tuple[float, float]: ... + def Perform(self, Line: AppCont_Function) -> None: ... + def SetConstraints( + self, FirstC: AppParCurves_Constraint, LastC: AppParCurves_Constraint + ) -> None: ... + def SetDegrees(self, degreemin: int, degreemax: int) -> None: ... + def SetHangChecking(self, theHangChecking: bool) -> None: ... + def SetInvOrder(self, theInvOrder: bool) -> None: ... + def SetMaxSegments(self, theMaxSegments: int) -> None: ... + def SetTolerances(self, Tolerance3d: float, Tolerance2d: float) -> None: ... + def Value(self, Index: Optional[int] = 1) -> AppParCurves_MultiCurve: ... class Approx_MCurvesToBSpCurve: - def __init__(self) -> None: ... - def Append(self, MC: AppParCurves_MultiCurve) -> None: ... - def ChangeValue(self) -> AppParCurves_MultiBSpCurve: ... - @overload - def Perform(self) -> None: ... - @overload - def Perform(self, TheSeq: AppParCurves_SequenceOfMultiCurve) -> None: ... - def Reset(self) -> None: ... - def Value(self) -> AppParCurves_MultiBSpCurve: ... + def __init__(self) -> None: ... + def Append(self, MC: AppParCurves_MultiCurve) -> None: ... + def ChangeValue(self) -> AppParCurves_MultiBSpCurve: ... + @overload + def Perform(self) -> None: ... + @overload + def Perform(self, TheSeq: AppParCurves_SequenceOfMultiCurve) -> None: ... + def Reset(self) -> None: ... + def Value(self) -> AppParCurves_MultiBSpCurve: ... class Approx_SameParameter: - @overload - def __init__(self, C3D: Geom_Curve, C2D: Geom2d_Curve, S: Geom_Surface, Tol: float) -> None: ... - @overload - def __init__(self, C3D: Adaptor3d_HCurve, C2D: Geom2d_Curve, S: Adaptor3d_HSurface, Tol: float) -> None: ... - @overload - def __init__(self, C3D: Adaptor3d_HCurve, C2D: Adaptor2d_HCurve2d, S: Adaptor3d_HSurface, Tol: float) -> None: ... - def Curve2d(self) -> Geom2d_Curve: ... - def IsDone(self) -> bool: ... - def IsSameParameter(self) -> bool: ... - def TolReached(self) -> float: ... + @overload + def __init__( + self, C3D: Geom_Curve, C2D: Geom2d_Curve, S: Geom_Surface, Tol: float + ) -> None: ... + @overload + def __init__( + self, C3D: Adaptor3d_Curve, C2D: Geom2d_Curve, S: Adaptor3d_Surface, Tol: float + ) -> None: ... + @overload + def __init__( + self, + C3D: Adaptor3d_Curve, + C2D: Adaptor2d_Curve2d, + S: Adaptor3d_Surface, + Tol: float, + ) -> None: ... + def Curve2d(self) -> Geom2d_Curve: ... + def Curve3d(self) -> Adaptor3d_Curve: ... + def CurveOnSurface(self) -> Adaptor3d_CurveOnSurface: ... + def IsDone(self) -> bool: ... + def IsSameParameter(self) -> bool: ... + def TolReached(self) -> float: ... class Approx_SweepApproximation: - def __init__(self, Func: Approx_SweepFunction) -> None: ... - def Average2dError(self, Index: int) -> float: ... - def AverageErrorOnSurf(self) -> float: ... - def Curve2d(self, Index: int, TPoles: TColgp_Array1OfPnt2d, TKnots: TColStd_Array1OfReal, TMults: TColStd_Array1OfInteger) -> None: ... - def Curve2dPoles(self, Index: int) -> TColgp_Array1OfPnt2d: ... - def Curves2dDegree(self) -> int: ... - def Curves2dKnots(self) -> TColStd_Array1OfReal: ... - def Curves2dMults(self) -> TColStd_Array1OfInteger: ... - def Curves2dShape(self) -> Tuple[int, int, int]: ... - def Eval(self, Parameter: float, DerivativeRequest: int, First: float, Last: float) -> Tuple[int, float]: ... - def IsDone(self) -> bool: ... - def Max2dError(self, Index: int) -> float: ... - def MaxErrorOnSurf(self) -> float: ... - def NbCurves2d(self) -> int: ... - def Perform(self, First: float, Last: float, Tol3d: float, BoundTol: float, Tol2d: float, TolAngular: float, Continuity: Optional[GeomAbs_Shape] = GeomAbs_C0, Degmax: Optional[int] = 11, Segmax: Optional[int] = 50) -> None: ... - def SurfPoles(self) -> TColgp_Array2OfPnt: ... - def SurfShape(self) -> Tuple[int, int, int, int, int, int]: ... - def SurfUKnots(self) -> TColStd_Array1OfReal: ... - def SurfUMults(self) -> TColStd_Array1OfInteger: ... - def SurfVKnots(self) -> TColStd_Array1OfReal: ... - def SurfVMults(self) -> TColStd_Array1OfInteger: ... - def SurfWeights(self) -> TColStd_Array2OfReal: ... - def Surface(self, TPoles: TColgp_Array2OfPnt, TWeights: TColStd_Array2OfReal, TUKnots: TColStd_Array1OfReal, TVKnots: TColStd_Array1OfReal, TUMults: TColStd_Array1OfInteger, TVMults: TColStd_Array1OfInteger) -> None: ... - def TolCurveOnSurf(self, Index: int) -> float: ... - def UDegree(self) -> int: ... - def VDegree(self) -> int: ... + def __init__(self, Func: Approx_SweepFunction) -> None: ... + def Average2dError(self, Index: int) -> float: ... + def AverageErrorOnSurf(self) -> float: ... + def Curve2d( + self, + Index: int, + TPoles: TColgp_Array1OfPnt2d, + TKnots: TColStd_Array1OfReal, + TMults: TColStd_Array1OfInteger, + ) -> None: ... + def Curve2dPoles(self, Index: int) -> TColgp_Array1OfPnt2d: ... + def Curves2dDegree(self) -> int: ... + def Curves2dKnots(self) -> TColStd_Array1OfReal: ... + def Curves2dMults(self) -> TColStd_Array1OfInteger: ... + def Curves2dShape(self) -> Tuple[int, int, int]: ... + def Dump(self) -> str: ... + def Eval( + self, Parameter: float, DerivativeRequest: int, First: float, Last: float + ) -> Tuple[int, float]: ... + def IsDone(self) -> bool: ... + def Max2dError(self, Index: int) -> float: ... + def MaxErrorOnSurf(self) -> float: ... + def NbCurves2d(self) -> int: ... + def Perform( + self, + First: float, + Last: float, + Tol3d: float, + BoundTol: float, + Tol2d: float, + TolAngular: float, + Continuity: Optional[GeomAbs_Shape] = GeomAbs_C0, + Degmax: Optional[int] = 11, + Segmax: Optional[int] = 50, + ) -> None: ... + def SurfPoles(self) -> TColgp_Array2OfPnt: ... + def SurfShape(self) -> Tuple[int, int, int, int, int, int]: ... + def SurfUKnots(self) -> TColStd_Array1OfReal: ... + def SurfUMults(self) -> TColStd_Array1OfInteger: ... + def SurfVKnots(self) -> TColStd_Array1OfReal: ... + def SurfVMults(self) -> TColStd_Array1OfInteger: ... + def SurfWeights(self) -> TColStd_Array2OfReal: ... + def Surface( + self, + TPoles: TColgp_Array2OfPnt, + TWeights: TColStd_Array2OfReal, + TUKnots: TColStd_Array1OfReal, + TVKnots: TColStd_Array1OfReal, + TUMults: TColStd_Array1OfInteger, + TVMults: TColStd_Array1OfInteger, + ) -> None: ... + def TolCurveOnSurf(self, Index: int) -> float: ... + def UDegree(self) -> int: ... + def VDegree(self) -> int: ... class Approx_SweepFunction(Standard_Transient): - def BarycentreOfSurf(self) -> gp_Pnt: ... - def D0(self, Param: float, First: float, Last: float, Poles: TColgp_Array1OfPnt, Poles2d: TColgp_Array1OfPnt2d, Weigths: TColStd_Array1OfReal) -> bool: ... - def D1(self, Param: float, First: float, Last: float, Poles: TColgp_Array1OfPnt, DPoles: TColgp_Array1OfVec, Poles2d: TColgp_Array1OfPnt2d, DPoles2d: TColgp_Array1OfVec2d, Weigths: TColStd_Array1OfReal, DWeigths: TColStd_Array1OfReal) -> bool: ... - def D2(self, Param: float, First: float, Last: float, Poles: TColgp_Array1OfPnt, DPoles: TColgp_Array1OfVec, D2Poles: TColgp_Array1OfVec, Poles2d: TColgp_Array1OfPnt2d, DPoles2d: TColgp_Array1OfVec2d, D2Poles2d: TColgp_Array1OfVec2d, Weigths: TColStd_Array1OfReal, DWeigths: TColStd_Array1OfReal, D2Weigths: TColStd_Array1OfReal) -> bool: ... - def GetMinimalWeight(self, Weigths: TColStd_Array1OfReal) -> None: ... - def GetTolerance(self, BoundTol: float, SurfTol: float, AngleTol: float, Tol3d: TColStd_Array1OfReal) -> None: ... - def Intervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... - def IsRational(self) -> bool: ... - def Knots(self, TKnots: TColStd_Array1OfReal) -> None: ... - def MaximalSection(self) -> float: ... - def Mults(self, TMults: TColStd_Array1OfInteger) -> None: ... - def Nb2dCurves(self) -> int: ... - def NbIntervals(self, S: GeomAbs_Shape) -> int: ... - def Resolution(self, Index: int, Tol: float) -> Tuple[float, float]: ... - def SectionShape(self) -> Tuple[int, int, int]: ... - def SetInterval(self, First: float, Last: float) -> None: ... - def SetTolerance(self, Tol3d: float, Tol2d: float) -> None: ... + def BarycentreOfSurf(self) -> gp_Pnt: ... + def D0( + self, + Param: float, + First: float, + Last: float, + Poles: TColgp_Array1OfPnt, + Poles2d: TColgp_Array1OfPnt2d, + Weigths: TColStd_Array1OfReal, + ) -> bool: ... + def D1( + self, + Param: float, + First: float, + Last: float, + Poles: TColgp_Array1OfPnt, + DPoles: TColgp_Array1OfVec, + Poles2d: TColgp_Array1OfPnt2d, + DPoles2d: TColgp_Array1OfVec2d, + Weigths: TColStd_Array1OfReal, + DWeigths: TColStd_Array1OfReal, + ) -> bool: ... + def D2( + self, + Param: float, + First: float, + Last: float, + Poles: TColgp_Array1OfPnt, + DPoles: TColgp_Array1OfVec, + D2Poles: TColgp_Array1OfVec, + Poles2d: TColgp_Array1OfPnt2d, + DPoles2d: TColgp_Array1OfVec2d, + D2Poles2d: TColgp_Array1OfVec2d, + Weigths: TColStd_Array1OfReal, + DWeigths: TColStd_Array1OfReal, + D2Weigths: TColStd_Array1OfReal, + ) -> bool: ... + def GetMinimalWeight(self, Weigths: TColStd_Array1OfReal) -> None: ... + def GetTolerance( + self, + BoundTol: float, + SurfTol: float, + AngleTol: float, + Tol3d: TColStd_Array1OfReal, + ) -> None: ... + def Intervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... + def IsRational(self) -> bool: ... + def Knots(self, TKnots: TColStd_Array1OfReal) -> None: ... + def MaximalSection(self) -> float: ... + def Mults(self, TMults: TColStd_Array1OfInteger) -> None: ... + def Nb2dCurves(self) -> int: ... + def NbIntervals(self, S: GeomAbs_Shape) -> int: ... + def Resolution(self, Index: int, Tol: float) -> Tuple[float, float]: ... + def SectionShape(self) -> Tuple[int, int, int]: ... + def SetInterval(self, First: float, Last: float) -> None: ... + def SetTolerance(self, Tol3d: float, Tol2d: float) -> None: ... # harray1 classes -class Approx_HArray1OfGTrsf2d(Approx_Array1OfGTrsf2d, Standard_Transient): - def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> Approx_Array1OfGTrsf2d: ... - - class Approx_HArray1OfAdHSurface(Approx_Array1OfAdHSurface, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... def Array1(self) -> Approx_Array1OfAdHSurface: ... +class Approx_HArray1OfGTrsf2d(Approx_Array1OfGTrsf2d, Standard_Transient): + def __init__(self, theLower: int, theUpper: int) -> None: ... + def Array1(self) -> Approx_Array1OfGTrsf2d: ... + # harray2 classes # hsequence classes - diff --git a/src/SWIG_files/wrapper/ApproxInt.i b/src/SWIG_files/wrapper/ApproxInt.i index 9cd9ffcf0..6aae4d552 100644 --- a/src/SWIG_files/wrapper/ApproxInt.i +++ b/src/SWIG_files/wrapper/ApproxInt.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define APPROXINTDOCSTRING "ApproxInt module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_approxint.html" +https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_approxint.html" %enddef %module (package="OCC.Core", docstring=APPROXINTDOCSTRING) ApproxInt @@ -31,8 +31,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_approxint.html" %include ../common/CommonIncludes.i %include ../common/ExceptionCatcher.i %include ../common/FunctionTransformers.i +%include ../common/EnumTemplates.i %include ../common/Operators.i %include ../common/OccHandle.i +%include ../common/IOStream.i +%include ../common/ArrayMacros.i %{ @@ -41,8 +44,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_approxint.html" //Dependencies #include #include -#include #include +#include +#include +#include +#include #include #include #include @@ -50,6 +56,8 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_approxint.html" #include #include #include +#include +#include #include #include #include @@ -57,8 +65,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_approxint.html" %}; %import Standard.i %import NCollection.i -%import TColgp.i %import math.i +%import TColStd.i +%import TColgp.i +%import IntPatch.i +%import Approx.i %import gp.i %import IntSurf.i @@ -70,7 +81,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -89,11 +100,31 @@ from OCC.Core.Exception import * ****************************/ class ApproxInt_KnotTools { public: - /****************** BuildKnots ******************/ - /**** md5 signature: 49c65485e14fc730360039ad6109a047 ****/ - %feature("compactdefaultargs") BuildKnots; - %feature("autodoc", "Main function to build optimal knot sequence. at least one set from (thepntsxyz, thepntsu1v1, thepntsu2v2) should exist. @param thepntsxyz - set of 3d points. @param thepntsu1v1 - set of 2d points. @param thepntsu2v2 - set of 2d points. @param thepars - expected parameters assoiated with set. @param theapproxxyz - flag, existence of 3d set. @param theapproxu1v1 - flag existence of first 2d set. @param theapproxu2v2 - flag existence of second 2d set. @param theminnbpnts - minimal number of points per knot interval. @param theknots - output knots sequence. + /****** ApproxInt_KnotTools::BuildCurvature ******/ + /****** md5 signature: b62269124f28a23358303630ee8d4ebf ******/ + %feature("compactdefaultargs") BuildCurvature; + %feature("autodoc", " +Parameters +---------- +theCoords: NCollection_LocalArray +theDim: int +thePars: math_Vector +theCurv: TColStd_Array1OfReal + +Return +------- +theMaxCurv: float + +Description +----------- +Builds discrete curvature. +") BuildCurvature; + static void BuildCurvature(const NCollection_LocalArray & theCoords, const Standard_Integer theDim, const math_Vector & thePars, TColStd_Array1OfReal & theCurv, Standard_Real &OutValue); + /****** ApproxInt_KnotTools::BuildKnots ******/ + /****** md5 signature: 49c65485e14fc730360039ad6109a047 ******/ + %feature("compactdefaultargs") BuildKnots; + %feature("autodoc", " Parameters ---------- thePntsXYZ: TColgp_Array1OfPnt @@ -106,12 +137,48 @@ theApproxU2V2: bool theMinNbPnts: int theKnots: NCollection_Vector -Returns +Return ------- None + +Description +----------- +Main function to build optimal knot sequence. At least one set from (thePntsXYZ, thePntsU1V1, thePntsU2V2) should exist. +Parameter thePntsXYZ - Set of 3d points. +Parameter thePntsU1V1 - Set of 2d points. +Parameter thePntsU2V2 - Set of 2d points. +Parameter thePars - Expected parameters associated with set. +Parameter theApproxXYZ - Flag, existence of 3d set. +Parameter theApproxU1V1 - Flag existence of first 2d set. +Parameter theApproxU2V2 - Flag existence of second 2d set. +Parameter theMinNbPnts - Minimal number of points per knot interval. +Parameter theKnots - output knots sequence. ") 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); + /****** ApproxInt_KnotTools::DefineParType ******/ + /****** md5 signature: e1d91690eade86173e6384cbb3ec9b53 ******/ + %feature("compactdefaultargs") DefineParType; + %feature("autodoc", " +Parameters +---------- +theWL: IntPatch_WLine +theFpar: int +theLpar: int +theApproxXYZ: bool +theApproxU1V1: bool +theApproxU2V2: bool + +Return +------- +Approx_ParametrizationType + +Description +----------- +Defines preferable parametrization type for theWL. +") DefineParType; + static Approx_ParametrizationType DefineParType(const opencascade::handle & theWL, const Standard_Integer theFpar, const Standard_Integer theLpar, const Standard_Boolean theApproxXYZ, const Standard_Boolean theApproxU1V1, const Standard_Boolean theApproxU2V2); + }; @@ -127,11 +194,10 @@ None %nodefaultctor ApproxInt_SvSurfaces; class ApproxInt_SvSurfaces { public: - /****************** Compute ******************/ - /**** md5 signature: 9bdd8cb0fe1ff936e14f942b7906c8f7 ****/ + /****** ApproxInt_SvSurfaces::Compute ******/ + /****** md5 signature: 9bdd8cb0fe1ff936e14f942b7906c8f7 ******/ %feature("compactdefaultargs") Compute; - %feature("autodoc", "Returns true if tg,tguv1 tguv2 can be computed. - + %feature("autodoc", " Parameters ---------- Pt: gp_Pnt @@ -139,20 +205,36 @@ Tg: gp_Vec Tguv1: gp_Vec2d Tguv2: gp_Vec2d -Returns +Return ------- u1: float v1: float u2: float v2: float + +Description +----------- +returns True if Tg,Tguv1 Tguv2 can be computed. ") 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 ******************/ - /**** md5 signature: 16f6732cc231fab7357ba8adcca3b24d ****/ - %feature("compactdefaultargs") Pnt; - %feature("autodoc", "No available documentation. + /****** ApproxInt_SvSurfaces::GetUseSolver ******/ + /****** md5 signature: 0cd3174a4b9b13255f5e86b8e6432347 ******/ + %feature("compactdefaultargs") GetUseSolver; + %feature("autodoc", "Return +------- +bool +Description +----------- +No available documentation. +") GetUseSolver; + virtual Standard_Boolean GetUseSolver(); + + /****** ApproxInt_SvSurfaces::Pnt ******/ + /****** md5 signature: 16f6732cc231fab7357ba8adcca3b24d ******/ + %feature("compactdefaultargs") Pnt; + %feature("autodoc", " Parameters ---------- u1: float @@ -161,17 +243,20 @@ u2: float v2: float P: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") Pnt; virtual void Pnt(const Standard_Real u1, const Standard_Real v1, const Standard_Real u2, const Standard_Real v2, gp_Pnt & P); - /****************** SeekPoint ******************/ - /**** md5 signature: 8aa752ba1a03beb45a63885928b32852 ****/ + /****** ApproxInt_SvSurfaces::SeekPoint ******/ + /****** md5 signature: 8aa752ba1a03beb45a63885928b32852 ******/ %feature("compactdefaultargs") SeekPoint; - %feature("autodoc", "Computes point on curve and parameters on the surfaces. - + %feature("autodoc", " Parameters ---------- u1: float @@ -180,17 +265,38 @@ u2: float v2: float Point: IntSurf_PntOn2S -Returns +Return ------- bool + +Description +----------- +computes point on curve and parameters on the surfaces. ") 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 ******************/ - /**** md5 signature: 2d07e542429be7042ab790c78def5d62 ****/ - %feature("compactdefaultargs") Tangency; - %feature("autodoc", "No available documentation. + /****** ApproxInt_SvSurfaces::SetUseSolver ******/ + /****** md5 signature: 8daf390fbfdad2bd58b32fcfe3098b8e ******/ + %feature("compactdefaultargs") SetUseSolver; + %feature("autodoc", " +Parameters +---------- +theUseSol: bool + +Return +------- +None +Description +----------- +No available documentation. +") SetUseSolver; + void SetUseSolver(const Standard_Boolean theUseSol); + + /****** ApproxInt_SvSurfaces::Tangency ******/ + /****** md5 signature: 2d07e542429be7042ab790c78def5d62 ******/ + %feature("compactdefaultargs") Tangency; + %feature("autodoc", " Parameters ---------- u1: float @@ -199,17 +305,20 @@ u2: float v2: float Tg: gp_Vec -Returns +Return ------- bool + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: ee7bf3b7674ea843f917140a18295d41 ****/ + /****** ApproxInt_SvSurfaces::TangencyOnSurf1 ******/ + /****** md5 signature: ee7bf3b7674ea843f917140a18295d41 ******/ %feature("compactdefaultargs") TangencyOnSurf1; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- u1: float @@ -218,17 +327,20 @@ u2: float v2: float Tg: gp_Vec2d -Returns +Return ------- bool + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: f01fe4b58e226a7dd00bc8969effe750 ****/ + /****** ApproxInt_SvSurfaces::TangencyOnSurf2 ******/ + /****** md5 signature: f01fe4b58e226a7dd00bc8969effe750 ******/ %feature("compactdefaultargs") TangencyOnSurf2; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- u1: float @@ -237,9 +349,13 @@ u2: float v2: float Tg: gp_Vec2d -Returns +Return ------- bool + +Description +----------- +No available documentation. ") TangencyOnSurf2; virtual Standard_Boolean TangencyOnSurf2(const Standard_Real u1, const Standard_Real v1, const Standard_Real u2, const Standard_Real v2, gp_Vec2d & Tg); @@ -258,3 +374,18 @@ bool /* class aliases */ %pythoncode { } +/* deprecated methods */ +%pythoncode { +@deprecated +def ApproxInt_KnotTools_BuildCurvature(*args): + return ApproxInt_KnotTools.BuildCurvature(*args) + +@deprecated +def ApproxInt_KnotTools_BuildKnots(*args): + return ApproxInt_KnotTools.BuildKnots(*args) + +@deprecated +def ApproxInt_KnotTools_DefineParType(*args): + return ApproxInt_KnotTools.DefineParType(*args) + +} diff --git a/src/SWIG_files/wrapper/ApproxInt.pyi b/src/SWIG_files/wrapper/ApproxInt.pyi index 4cd8a7f29..8910a2846 100644 --- a/src/SWIG_files/wrapper/ApproxInt.pyi +++ b/src/SWIG_files/wrapper/ApproxInt.pyi @@ -3,25 +3,45 @@ from typing import overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * -from OCC.Core.TColgp import * from OCC.Core.math import * +from OCC.Core.TColStd import * +from OCC.Core.TColgp import * +from OCC.Core.IntPatch import * +from OCC.Core.Approx import * from OCC.Core.gp import * from OCC.Core.IntSurf import * - class ApproxInt_KnotTools: - pass + @staticmethod + def DefineParType( + theWL: IntPatch_WLine, + theFpar: int, + theLpar: int, + theApproxXYZ: bool, + theApproxU1V1: bool, + theApproxU2V2: bool, + ) -> Approx_ParametrizationType: ... class ApproxInt_SvSurfaces: - def Compute(self, Pt: gp_Pnt, Tg: gp_Vec, Tguv1: gp_Vec2d, Tguv2: gp_Vec2d) -> Tuple[bool, float, float, float, float]: ... - def Pnt(self, u1: float, v1: float, u2: float, v2: float, P: gp_Pnt) -> None: ... - def SeekPoint(self, u1: float, v1: float, u2: float, v2: float, Point: IntSurf_PntOn2S) -> bool: ... - def Tangency(self, u1: float, v1: float, u2: float, v2: float, Tg: gp_Vec) -> bool: ... - def TangencyOnSurf1(self, u1: float, v1: float, u2: float, v2: float, Tg: gp_Vec2d) -> bool: ... - def TangencyOnSurf2(self, u1: float, v1: float, u2: float, v2: float, Tg: gp_Vec2d) -> bool: ... + def Compute( + self, Pt: gp_Pnt, Tg: gp_Vec, Tguv1: gp_Vec2d, Tguv2: gp_Vec2d + ) -> Tuple[bool, float, float, float, float]: ... + def GetUseSolver(self) -> bool: ... + def Pnt(self, u1: float, v1: float, u2: float, v2: float, P: gp_Pnt) -> None: ... + def SeekPoint( + self, u1: float, v1: float, u2: float, v2: float, Point: IntSurf_PntOn2S + ) -> bool: ... + def SetUseSolver(self, theUseSol: bool) -> None: ... + def Tangency( + self, u1: float, v1: float, u2: float, v2: float, Tg: gp_Vec + ) -> bool: ... + def TangencyOnSurf1( + self, u1: float, v1: float, u2: float, v2: float, Tg: gp_Vec2d + ) -> bool: ... + def TangencyOnSurf2( + self, u1: float, v1: float, u2: float, v2: float, Tg: gp_Vec2d + ) -> bool: ... # harray1 classes # harray2 classes # hsequence classes - -ApproxInt_KnotTools_BuildKnots = ApproxInt_KnotTools.BuildKnots diff --git a/src/SWIG_files/wrapper/Aspect.i b/src/SWIG_files/wrapper/Aspect.i index 9eb0ce813..503021dc1 100644 --- a/src/SWIG_files/wrapper/Aspect.i +++ b/src/SWIG_files/wrapper/Aspect.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define ASPECTDOCSTRING "Aspect module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_aspect.html" +https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_aspect.html" %enddef %module (package="OCC.Core", docstring=ASPECTDOCSTRING) Aspect @@ -31,8 +31,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_aspect.html" %include ../common/CommonIncludes.i %include ../common/ExceptionCatcher.i %include ../common/FunctionTransformers.i +%include ../common/EnumTemplates.i %include ../common/Operators.i %include ../common/OccHandle.i +%include ../common/IOStream.i +%include ../common/ArrayMacros.i %{ @@ -42,10 +45,10 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_aspect.html" #include #include #include -#include #include -#include #include +#include +#include #include #include #include @@ -56,10 +59,10 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_aspect.html" %import Standard.i %import NCollection.i %import Quantity.i -%import TCollection.i %import gp.i -%import Image.i %import Graphic3d.i +%import TCollection.i +%import Image.i %pythoncode { from enum import IntEnum @@ -67,11 +70,198 @@ from OCC.Core.Exception import * }; /* public enums */ +enum Aspect_ColorSpace { + Aspect_ColorSpace_sRGB = 0, + Aspect_ColorSpace_Linear = 1, +}; + enum Aspect_Eye { Aspect_Eye_Left = 0, Aspect_Eye_Right = 1, }; +enum Aspect_FillMethod { + Aspect_FM_NONE = 0, + Aspect_FM_CENTERED = 1, + Aspect_FM_TILED = 2, + Aspect_FM_STRETCH = 3, +}; + +enum Aspect_GradientFillMethod { + Aspect_GradientFillMethod_None = 0, + Aspect_GradientFillMethod_Horizontal = 1, + Aspect_GradientFillMethod_Vertical = 2, + Aspect_GradientFillMethod_Diagonal1 = 3, + Aspect_GradientFillMethod_Diagonal2 = 4, + Aspect_GradientFillMethod_Corner1 = 5, + Aspect_GradientFillMethod_Corner2 = 6, + Aspect_GradientFillMethod_Corner3 = 7, + Aspect_GradientFillMethod_Corner4 = 8, + Aspect_GradientFillMethod_Elliptical = 9, + Aspect_GFM_NONE = Aspect_GradientFillMethod_None, + Aspect_GFM_HOR = Aspect_GradientFillMethod_Horizontal, + Aspect_GFM_VER = Aspect_GradientFillMethod_Vertical, + Aspect_GFM_DIAG1 = Aspect_GradientFillMethod_Diagonal1, + Aspect_GFM_DIAG2 = Aspect_GradientFillMethod_Diagonal2, + Aspect_GFM_CORNER1 = Aspect_GradientFillMethod_Corner1, + Aspect_GFM_CORNER2 = Aspect_GradientFillMethod_Corner2, + Aspect_GFM_CORNER3 = Aspect_GradientFillMethod_Corner3, + Aspect_GFM_CORNER4 = Aspect_GradientFillMethod_Corner4, +}; + +enum Aspect_GraphicsLibrary { + Aspect_GraphicsLibrary_OpenGL = 0, + Aspect_GraphicsLibrary_OpenGLES = 1, +}; + +enum Aspect_GridDrawMode { + Aspect_GDM_Lines = 0, + Aspect_GDM_Points = 1, + Aspect_GDM_None = 2, +}; + +enum Aspect_GridType { + Aspect_GT_Rectangular = 0, + Aspect_GT_Circular = 1, +}; + +enum Aspect_HatchStyle { + 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 = 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_InteriorStyle { + 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, +}; + +enum Aspect_PolygonOffsetMode { + Aspect_POM_Off = 0, + Aspect_POM_Fill = 1, + Aspect_POM_Line = 2, + Aspect_POM_Point = 4, + Aspect_POM_All = Aspect_POM_Fill | Aspect_POM_Line | Aspect_POM_Point, + Aspect_POM_None = 8, + Aspect_POM_Mask = Aspect_POM_All | Aspect_POM_None, +}; + +enum Aspect_TypeOfColorScaleData { + Aspect_TOCSD_AUTO = 0, + Aspect_TOCSD_USER = 1, +}; + +enum Aspect_TypeOfColorScaleOrientation { + Aspect_TOCSO_NONE = 0, + Aspect_TOCSO_LEFT = 1, + Aspect_TOCSO_RIGHT = 2, + Aspect_TOCSO_CENTER = 3, +}; + +enum Aspect_TypeOfColorScalePosition { + Aspect_TOCSP_NONE = 0, + Aspect_TOCSP_LEFT = 1, + Aspect_TOCSP_RIGHT = 2, + Aspect_TOCSP_CENTER = 3, +}; + +enum Aspect_TypeOfDeflection { + Aspect_TOD_RELATIVE = 0, + Aspect_TOD_ABSOLUTE = 1, +}; + +enum Aspect_TypeOfDisplayText { + Aspect_TODT_NORMAL = 0, + Aspect_TODT_SUBTITLE = 1, + Aspect_TODT_DEKALE = 2, + Aspect_TODT_BLEND = 3, + Aspect_TODT_DIMENSION = 4, + Aspect_TODT_SHADOW = 5, +}; + +enum Aspect_TypeOfFacingModel { + Aspect_TOFM_BOTH_SIDE = 0, + Aspect_TOFM_BACK_SIDE = 1, + Aspect_TOFM_FRONT_SIDE = 2, +}; + +enum Aspect_TypeOfHighlightMethod { + Aspect_TOHM_COLOR = 0, + Aspect_TOHM_BOUNDBOX = 1, +}; + +enum Aspect_TypeOfLine { + Aspect_TOL_EMPTY = - 1, + Aspect_TOL_SOLID = 0, + Aspect_TOL_DASH = 1, + Aspect_TOL_DOT = 2, + Aspect_TOL_DOTDASH = 3, + Aspect_TOL_USERDEFINED = 4, +}; + +enum Aspect_TypeOfMarker { + Aspect_TOM_EMPTY = - 1, + Aspect_TOM_POINT = 0, + Aspect_TOM_PLUS = 1, + Aspect_TOM_STAR = 2, + Aspect_TOM_X = 3, + Aspect_TOM_O = 4, + Aspect_TOM_O_POINT = 5, + Aspect_TOM_O_PLUS = 6, + Aspect_TOM_O_STAR = 7, + Aspect_TOM_O_X = 8, + Aspect_TOM_RING1 = 9, + Aspect_TOM_RING2 = 10, + Aspect_TOM_RING3 = 11, + Aspect_TOM_BALL = 12, + Aspect_TOM_USERDEFINED = 13, +}; + +enum Aspect_TypeOfResize { + Aspect_TOR_UNKNOWN = 0, + Aspect_TOR_NO_BORDER = 1, + Aspect_TOR_TOP_BORDER = 2, + Aspect_TOR_RIGHT_BORDER = 3, + Aspect_TOR_BOTTOM_BORDER = 4, + Aspect_TOR_LEFT_BORDER = 5, + Aspect_TOR_TOP_AND_RIGHT_BORDER = 6, + Aspect_TOR_RIGHT_AND_BOTTOM_BORDER = 7, + Aspect_TOR_BOTTOM_AND_LEFT_BORDER = 8, + Aspect_TOR_LEFT_AND_TOP_BORDER = 9, +}; + +enum Aspect_TypeOfStyleText { + Aspect_TOST_NORMAL = 0, + Aspect_TOST_ANNOTATION = 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_VKeyBasic { Aspect_VKey_UNKNOWN = 0, Aspect_VKey_A = 1, @@ -229,30 +419,42 @@ enum { Aspect_VKey_MAX = 255, }; -enum Aspect_TypeOfDeflection { - Aspect_TOD_RELATIVE = 0, - Aspect_TOD_ABSOLUTE = 1, +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_TypeOfLine { - Aspect_TOL_EMPTY = - 1, - Aspect_TOL_SOLID = 0, - Aspect_TOL_DASH = 1, - Aspect_TOL_DOT = 2, - Aspect_TOL_DOTDASH = 3, - Aspect_TOL_USERDEFINED = 4, +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_GradientFillMethod { - Aspect_GFM_NONE = 0, - Aspect_GFM_HOR = 1, - Aspect_GFM_VER = 2, - Aspect_GFM_DIAG1 = 3, - Aspect_GFM_DIAG2 = 4, - Aspect_GFM_CORNER1 = 5, - Aspect_GFM_CORNER2 = 6, - Aspect_GFM_CORNER3 = 7, - Aspect_GFM_CORNER4 = 8, +enum Aspect_WidthOfLine { + Aspect_WOL_THIN = 0, + Aspect_WOL_MEDIUM = 1, + Aspect_WOL_THICK = 2, + Aspect_WOL_VERYTHICK = 3, + Aspect_WOL_USERDEFINED = 4, +}; + +enum Aspect_XAtom { + Aspect_XA_DELETE_WINDOW = 0, +}; + +enum Aspect_XRActionType { + Aspect_XRActionType_InputDigital = 0, + Aspect_XRActionType_InputAnalog = 1, + Aspect_XRActionType_InputPose = 2, + Aspect_XRActionType_InputSkeletal = 3, + Aspect_XRActionType_OutputHaptic = 4, }; enum Aspect_XRGenericAction { @@ -279,216 +481,317 @@ enum { Aspect_XRGenericAction_NB = Aspect_XRGenericAction_OutputHaptic + 1, }; -enum Aspect_TypeOfHighlightMethod { - Aspect_TOHM_COLOR = 0, - Aspect_TOHM_BOUNDBOX = 1, -}; - -enum Aspect_TypeOfResize { - Aspect_TOR_UNKNOWN = 0, - Aspect_TOR_NO_BORDER = 1, - Aspect_TOR_TOP_BORDER = 2, - Aspect_TOR_RIGHT_BORDER = 3, - Aspect_TOR_BOTTOM_BORDER = 4, - Aspect_TOR_LEFT_BORDER = 5, - Aspect_TOR_TOP_AND_RIGHT_BORDER = 6, - Aspect_TOR_RIGHT_AND_BOTTOM_BORDER = 7, - Aspect_TOR_BOTTOM_AND_LEFT_BORDER = 8, - Aspect_TOR_LEFT_AND_TOP_BORDER = 9, +enum Aspect_XRTrackedDeviceRole { + Aspect_XRTrackedDeviceRole_Head = 0, + Aspect_XRTrackedDeviceRole_LeftHand = 1, + Aspect_XRTrackedDeviceRole_RightHand = 2, + Aspect_XRTrackedDeviceRole_Other = 3, }; -enum Aspect_GridType { - Aspect_GT_Rectangular = 0, - Aspect_GT_Circular = 1, +enum { + Aspect_XRTrackedDeviceRole_NB = Aspect_XRTrackedDeviceRole_Other + 1, }; -enum Aspect_TypeOfColorScaleData { - Aspect_TOCSD_AUTO = 0, - Aspect_TOCSD_USER = 1, -}; +/* end public enums declaration */ -enum Aspect_TypeOfStyleText { - Aspect_TOST_NORMAL = 0, - Aspect_TOST_ANNOTATION = 1, -}; +/* python proxy classes for enums */ +%pythoncode { -enum Aspect_TypeOfMarker { - Aspect_TOM_EMPTY = - 1, - Aspect_TOM_POINT = 0, - Aspect_TOM_PLUS = 1, - Aspect_TOM_STAR = 2, - Aspect_TOM_X = 3, - Aspect_TOM_O = 4, - Aspect_TOM_O_POINT = 5, - Aspect_TOM_O_PLUS = 6, - Aspect_TOM_O_STAR = 7, - Aspect_TOM_O_X = 8, - Aspect_TOM_RING1 = 9, - Aspect_TOM_RING2 = 10, - Aspect_TOM_RING3 = 11, - Aspect_TOM_BALL = 12, - Aspect_TOM_USERDEFINED = 13, -}; +class Aspect_ColorSpace(IntEnum): + Aspect_ColorSpace_sRGB = 0 + Aspect_ColorSpace_Linear = 1 +Aspect_ColorSpace_sRGB = Aspect_ColorSpace.Aspect_ColorSpace_sRGB +Aspect_ColorSpace_Linear = Aspect_ColorSpace.Aspect_ColorSpace_Linear -enum Aspect_TypeOfColorScaleOrientation { - Aspect_TOCSO_NONE = 0, - Aspect_TOCSO_LEFT = 1, - Aspect_TOCSO_RIGHT = 2, - Aspect_TOCSO_CENTER = 3, -}; +class Aspect_Eye(IntEnum): + Aspect_Eye_Left = 0 + Aspect_Eye_Right = 1 +Aspect_Eye_Left = Aspect_Eye.Aspect_Eye_Left +Aspect_Eye_Right = Aspect_Eye.Aspect_Eye_Right -enum Aspect_TypeOfFacingModel { - Aspect_TOFM_BOTH_SIDE = 0, - Aspect_TOFM_BACK_SIDE = 1, - Aspect_TOFM_FRONT_SIDE = 2, -}; +class Aspect_FillMethod(IntEnum): + Aspect_FM_NONE = 0 + Aspect_FM_CENTERED = 1 + Aspect_FM_TILED = 2 + Aspect_FM_STRETCH = 3 +Aspect_FM_NONE = Aspect_FillMethod.Aspect_FM_NONE +Aspect_FM_CENTERED = Aspect_FillMethod.Aspect_FM_CENTERED +Aspect_FM_TILED = Aspect_FillMethod.Aspect_FM_TILED +Aspect_FM_STRETCH = Aspect_FillMethod.Aspect_FM_STRETCH -enum Aspect_FillMethod { - Aspect_FM_NONE = 0, - Aspect_FM_CENTERED = 1, - Aspect_FM_TILED = 2, - Aspect_FM_STRETCH = 3, -}; +class Aspect_GradientFillMethod(IntEnum): + Aspect_GradientFillMethod_None = 0 + Aspect_GradientFillMethod_Horizontal = 1 + Aspect_GradientFillMethod_Vertical = 2 + Aspect_GradientFillMethod_Diagonal1 = 3 + Aspect_GradientFillMethod_Diagonal2 = 4 + Aspect_GradientFillMethod_Corner1 = 5 + Aspect_GradientFillMethod_Corner2 = 6 + Aspect_GradientFillMethod_Corner3 = 7 + Aspect_GradientFillMethod_Corner4 = 8 + Aspect_GradientFillMethod_Elliptical = 9 + Aspect_GFM_NONE = Aspect_GradientFillMethod_None + Aspect_GFM_HOR = Aspect_GradientFillMethod_Horizontal + Aspect_GFM_VER = Aspect_GradientFillMethod_Vertical + Aspect_GFM_DIAG1 = Aspect_GradientFillMethod_Diagonal1 + Aspect_GFM_DIAG2 = Aspect_GradientFillMethod_Diagonal2 + Aspect_GFM_CORNER1 = Aspect_GradientFillMethod_Corner1 + Aspect_GFM_CORNER2 = Aspect_GradientFillMethod_Corner2 + Aspect_GFM_CORNER3 = Aspect_GradientFillMethod_Corner3 + Aspect_GFM_CORNER4 = Aspect_GradientFillMethod_Corner4 +Aspect_GradientFillMethod_None = Aspect_GradientFillMethod.Aspect_GradientFillMethod_None +Aspect_GradientFillMethod_Horizontal = Aspect_GradientFillMethod.Aspect_GradientFillMethod_Horizontal +Aspect_GradientFillMethod_Vertical = Aspect_GradientFillMethod.Aspect_GradientFillMethod_Vertical +Aspect_GradientFillMethod_Diagonal1 = Aspect_GradientFillMethod.Aspect_GradientFillMethod_Diagonal1 +Aspect_GradientFillMethod_Diagonal2 = Aspect_GradientFillMethod.Aspect_GradientFillMethod_Diagonal2 +Aspect_GradientFillMethod_Corner1 = Aspect_GradientFillMethod.Aspect_GradientFillMethod_Corner1 +Aspect_GradientFillMethod_Corner2 = Aspect_GradientFillMethod.Aspect_GradientFillMethod_Corner2 +Aspect_GradientFillMethod_Corner3 = Aspect_GradientFillMethod.Aspect_GradientFillMethod_Corner3 +Aspect_GradientFillMethod_Corner4 = Aspect_GradientFillMethod.Aspect_GradientFillMethod_Corner4 +Aspect_GradientFillMethod_Elliptical = Aspect_GradientFillMethod.Aspect_GradientFillMethod_Elliptical +Aspect_GFM_NONE = Aspect_GradientFillMethod.Aspect_GFM_NONE +Aspect_GFM_HOR = Aspect_GradientFillMethod.Aspect_GFM_HOR +Aspect_GFM_VER = Aspect_GradientFillMethod.Aspect_GFM_VER +Aspect_GFM_DIAG1 = Aspect_GradientFillMethod.Aspect_GFM_DIAG1 +Aspect_GFM_DIAG2 = Aspect_GradientFillMethod.Aspect_GFM_DIAG2 +Aspect_GFM_CORNER1 = Aspect_GradientFillMethod.Aspect_GFM_CORNER1 +Aspect_GFM_CORNER2 = Aspect_GradientFillMethod.Aspect_GFM_CORNER2 +Aspect_GFM_CORNER3 = Aspect_GradientFillMethod.Aspect_GFM_CORNER3 +Aspect_GFM_CORNER4 = Aspect_GradientFillMethod.Aspect_GFM_CORNER4 -enum Aspect_ColorSpace { - Aspect_ColorSpace_sRGB = 0, - Aspect_ColorSpace_Linear = 1, -}; +class Aspect_GraphicsLibrary(IntEnum): + Aspect_GraphicsLibrary_OpenGL = 0 + Aspect_GraphicsLibrary_OpenGLES = 1 +Aspect_GraphicsLibrary_OpenGL = Aspect_GraphicsLibrary.Aspect_GraphicsLibrary_OpenGL +Aspect_GraphicsLibrary_OpenGLES = Aspect_GraphicsLibrary.Aspect_GraphicsLibrary_OpenGLES -enum Aspect_HatchStyle { - 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 = 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, -}; +class Aspect_GridDrawMode(IntEnum): + Aspect_GDM_Lines = 0 + Aspect_GDM_Points = 1 + Aspect_GDM_None = 2 +Aspect_GDM_Lines = Aspect_GridDrawMode.Aspect_GDM_Lines +Aspect_GDM_Points = Aspect_GridDrawMode.Aspect_GDM_Points +Aspect_GDM_None = Aspect_GridDrawMode.Aspect_GDM_None -enum Aspect_XRActionType { - Aspect_XRActionType_InputDigital = 0, - Aspect_XRActionType_InputAnalog = 1, - Aspect_XRActionType_InputPose = 2, - Aspect_XRActionType_InputSkeletal = 3, - Aspect_XRActionType_OutputHaptic = 4, -}; +class Aspect_GridType(IntEnum): + Aspect_GT_Rectangular = 0 + Aspect_GT_Circular = 1 +Aspect_GT_Rectangular = Aspect_GridType.Aspect_GT_Rectangular +Aspect_GT_Circular = Aspect_GridType.Aspect_GT_Circular -enum Aspect_PolygonOffsetMode { - Aspect_POM_Off = 0, - Aspect_POM_Fill = 1, - Aspect_POM_Line = 2, - Aspect_POM_Point = 4, - Aspect_POM_All = Aspect_POM_Fill | Aspect_POM_Line | Aspect_POM_Point, - Aspect_POM_None = 8, - Aspect_POM_Mask = Aspect_POM_All | Aspect_POM_None, -}; +class Aspect_HatchStyle(IntEnum): + 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 = 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 +Aspect_HS_SOLID = Aspect_HatchStyle.Aspect_HS_SOLID +Aspect_HS_HORIZONTAL = Aspect_HatchStyle.Aspect_HS_HORIZONTAL +Aspect_HS_HORIZONTAL_WIDE = Aspect_HatchStyle.Aspect_HS_HORIZONTAL_WIDE +Aspect_HS_VERTICAL = Aspect_HatchStyle.Aspect_HS_VERTICAL +Aspect_HS_VERTICAL_WIDE = Aspect_HatchStyle.Aspect_HS_VERTICAL_WIDE +Aspect_HS_DIAGONAL_45 = Aspect_HatchStyle.Aspect_HS_DIAGONAL_45 +Aspect_HS_DIAGONAL_45_WIDE = Aspect_HatchStyle.Aspect_HS_DIAGONAL_45_WIDE +Aspect_HS_DIAGONAL_135 = Aspect_HatchStyle.Aspect_HS_DIAGONAL_135 +Aspect_HS_DIAGONAL_135_WIDE = Aspect_HatchStyle.Aspect_HS_DIAGONAL_135_WIDE +Aspect_HS_GRID = Aspect_HatchStyle.Aspect_HS_GRID +Aspect_HS_GRID_WIDE = Aspect_HatchStyle.Aspect_HS_GRID_WIDE +Aspect_HS_GRID_DIAGONAL = Aspect_HatchStyle.Aspect_HS_GRID_DIAGONAL +Aspect_HS_GRID_DIAGONAL_WIDE = Aspect_HatchStyle.Aspect_HS_GRID_DIAGONAL_WIDE +Aspect_HS_NB = Aspect_HatchStyle.Aspect_HS_NB -enum Aspect_XRTrackedDeviceRole { - Aspect_XRTrackedDeviceRole_Head = 0, - Aspect_XRTrackedDeviceRole_LeftHand = 1, - Aspect_XRTrackedDeviceRole_RightHand = 2, - Aspect_XRTrackedDeviceRole_Other = 3, -}; +class Aspect_InteriorStyle(IntEnum): + 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 +Aspect_IS_EMPTY = Aspect_InteriorStyle.Aspect_IS_EMPTY +Aspect_IS_SOLID = Aspect_InteriorStyle.Aspect_IS_SOLID +Aspect_IS_HATCH = Aspect_InteriorStyle.Aspect_IS_HATCH +Aspect_IS_HIDDENLINE = Aspect_InteriorStyle.Aspect_IS_HIDDENLINE +Aspect_IS_POINT = Aspect_InteriorStyle.Aspect_IS_POINT +Aspect_IS_HOLLOW = Aspect_InteriorStyle.Aspect_IS_HOLLOW -enum { - Aspect_XRTrackedDeviceRole_NB = Aspect_XRTrackedDeviceRole_Other + 1, -}; +class Aspect_PolygonOffsetMode(IntEnum): + Aspect_POM_Off = 0 + Aspect_POM_Fill = 1 + Aspect_POM_Line = 2 + Aspect_POM_Point = 4 + Aspect_POM_All = Aspect_POM_Fill | Aspect_POM_Line | Aspect_POM_Point + Aspect_POM_None = 8 + Aspect_POM_Mask = Aspect_POM_All | Aspect_POM_None +Aspect_POM_Off = Aspect_PolygonOffsetMode.Aspect_POM_Off +Aspect_POM_Fill = Aspect_PolygonOffsetMode.Aspect_POM_Fill +Aspect_POM_Line = Aspect_PolygonOffsetMode.Aspect_POM_Line +Aspect_POM_Point = Aspect_PolygonOffsetMode.Aspect_POM_Point +Aspect_POM_All = Aspect_PolygonOffsetMode.Aspect_POM_All +Aspect_POM_None = Aspect_PolygonOffsetMode.Aspect_POM_None +Aspect_POM_Mask = Aspect_PolygonOffsetMode.Aspect_POM_Mask -enum Aspect_TypeOfColorScalePosition { - Aspect_TOCSP_NONE = 0, - Aspect_TOCSP_LEFT = 1, - Aspect_TOCSP_RIGHT = 2, - Aspect_TOCSP_CENTER = 3, -}; +class Aspect_TypeOfColorScaleData(IntEnum): + Aspect_TOCSD_AUTO = 0 + Aspect_TOCSD_USER = 1 +Aspect_TOCSD_AUTO = Aspect_TypeOfColorScaleData.Aspect_TOCSD_AUTO +Aspect_TOCSD_USER = Aspect_TypeOfColorScaleData.Aspect_TOCSD_USER -enum Aspect_GraphicsLibrary { - Aspect_GraphicsLibrary_OpenGL = 0, - Aspect_GraphicsLibrary_OpenGLES = 1, -}; +class Aspect_TypeOfColorScaleOrientation(IntEnum): + Aspect_TOCSO_NONE = 0 + Aspect_TOCSO_LEFT = 1 + Aspect_TOCSO_RIGHT = 2 + Aspect_TOCSO_CENTER = 3 +Aspect_TOCSO_NONE = Aspect_TypeOfColorScaleOrientation.Aspect_TOCSO_NONE +Aspect_TOCSO_LEFT = Aspect_TypeOfColorScaleOrientation.Aspect_TOCSO_LEFT +Aspect_TOCSO_RIGHT = Aspect_TypeOfColorScaleOrientation.Aspect_TOCSO_RIGHT +Aspect_TOCSO_CENTER = Aspect_TypeOfColorScaleOrientation.Aspect_TOCSO_CENTER -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, -}; +class Aspect_TypeOfColorScalePosition(IntEnum): + Aspect_TOCSP_NONE = 0 + Aspect_TOCSP_LEFT = 1 + Aspect_TOCSP_RIGHT = 2 + Aspect_TOCSP_CENTER = 3 +Aspect_TOCSP_NONE = Aspect_TypeOfColorScalePosition.Aspect_TOCSP_NONE +Aspect_TOCSP_LEFT = Aspect_TypeOfColorScalePosition.Aspect_TOCSP_LEFT +Aspect_TOCSP_RIGHT = Aspect_TypeOfColorScalePosition.Aspect_TOCSP_RIGHT +Aspect_TOCSP_CENTER = Aspect_TypeOfColorScalePosition.Aspect_TOCSP_CENTER -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, -}; +class Aspect_TypeOfDeflection(IntEnum): + Aspect_TOD_RELATIVE = 0 + Aspect_TOD_ABSOLUTE = 1 +Aspect_TOD_RELATIVE = Aspect_TypeOfDeflection.Aspect_TOD_RELATIVE +Aspect_TOD_ABSOLUTE = Aspect_TypeOfDeflection.Aspect_TOD_ABSOLUTE -enum Aspect_XAtom { - Aspect_XA_DELETE_WINDOW = 0, -}; +class Aspect_TypeOfDisplayText(IntEnum): + Aspect_TODT_NORMAL = 0 + Aspect_TODT_SUBTITLE = 1 + Aspect_TODT_DEKALE = 2 + Aspect_TODT_BLEND = 3 + Aspect_TODT_DIMENSION = 4 + Aspect_TODT_SHADOW = 5 +Aspect_TODT_NORMAL = Aspect_TypeOfDisplayText.Aspect_TODT_NORMAL +Aspect_TODT_SUBTITLE = Aspect_TypeOfDisplayText.Aspect_TODT_SUBTITLE +Aspect_TODT_DEKALE = Aspect_TypeOfDisplayText.Aspect_TODT_DEKALE +Aspect_TODT_BLEND = Aspect_TypeOfDisplayText.Aspect_TODT_BLEND +Aspect_TODT_DIMENSION = Aspect_TypeOfDisplayText.Aspect_TODT_DIMENSION +Aspect_TODT_SHADOW = Aspect_TypeOfDisplayText.Aspect_TODT_SHADOW -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 { - Aspect_GDM_Lines = 0, - Aspect_GDM_Points = 1, - Aspect_GDM_None = 2, -}; +class Aspect_TypeOfFacingModel(IntEnum): + Aspect_TOFM_BOTH_SIDE = 0 + Aspect_TOFM_BACK_SIDE = 1 + Aspect_TOFM_FRONT_SIDE = 2 +Aspect_TOFM_BOTH_SIDE = Aspect_TypeOfFacingModel.Aspect_TOFM_BOTH_SIDE +Aspect_TOFM_BACK_SIDE = Aspect_TypeOfFacingModel.Aspect_TOFM_BACK_SIDE +Aspect_TOFM_FRONT_SIDE = Aspect_TypeOfFacingModel.Aspect_TOFM_FRONT_SIDE -enum Aspect_WidthOfLine { - Aspect_WOL_THIN = 0, - Aspect_WOL_MEDIUM = 1, - Aspect_WOL_THICK = 2, - Aspect_WOL_VERYTHICK = 3, - Aspect_WOL_USERDEFINED = 4, -}; +class Aspect_TypeOfHighlightMethod(IntEnum): + Aspect_TOHM_COLOR = 0 + Aspect_TOHM_BOUNDBOX = 1 +Aspect_TOHM_COLOR = Aspect_TypeOfHighlightMethod.Aspect_TOHM_COLOR +Aspect_TOHM_BOUNDBOX = Aspect_TypeOfHighlightMethod.Aspect_TOHM_BOUNDBOX -enum Aspect_TypeOfDisplayText { - Aspect_TODT_NORMAL = 0, - Aspect_TODT_SUBTITLE = 1, - Aspect_TODT_DEKALE = 2, - Aspect_TODT_BLEND = 3, - Aspect_TODT_DIMENSION = 4, - Aspect_TODT_SHADOW = 5, -}; +class Aspect_TypeOfLine(IntEnum): + Aspect_TOL_EMPTY = - 1 + Aspect_TOL_SOLID = 0 + Aspect_TOL_DASH = 1 + Aspect_TOL_DOT = 2 + Aspect_TOL_DOTDASH = 3 + Aspect_TOL_USERDEFINED = 4 +Aspect_TOL_EMPTY = Aspect_TypeOfLine.Aspect_TOL_EMPTY +Aspect_TOL_SOLID = Aspect_TypeOfLine.Aspect_TOL_SOLID +Aspect_TOL_DASH = Aspect_TypeOfLine.Aspect_TOL_DASH +Aspect_TOL_DOT = Aspect_TypeOfLine.Aspect_TOL_DOT +Aspect_TOL_DOTDASH = Aspect_TypeOfLine.Aspect_TOL_DOTDASH +Aspect_TOL_USERDEFINED = Aspect_TypeOfLine.Aspect_TOL_USERDEFINED -enum Aspect_InteriorStyle { - 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, -}; +class Aspect_TypeOfMarker(IntEnum): + Aspect_TOM_EMPTY = - 1 + Aspect_TOM_POINT = 0 + Aspect_TOM_PLUS = 1 + Aspect_TOM_STAR = 2 + Aspect_TOM_X = 3 + Aspect_TOM_O = 4 + Aspect_TOM_O_POINT = 5 + Aspect_TOM_O_PLUS = 6 + Aspect_TOM_O_STAR = 7 + Aspect_TOM_O_X = 8 + Aspect_TOM_RING1 = 9 + Aspect_TOM_RING2 = 10 + Aspect_TOM_RING3 = 11 + Aspect_TOM_BALL = 12 + Aspect_TOM_USERDEFINED = 13 +Aspect_TOM_EMPTY = Aspect_TypeOfMarker.Aspect_TOM_EMPTY +Aspect_TOM_POINT = Aspect_TypeOfMarker.Aspect_TOM_POINT +Aspect_TOM_PLUS = Aspect_TypeOfMarker.Aspect_TOM_PLUS +Aspect_TOM_STAR = Aspect_TypeOfMarker.Aspect_TOM_STAR +Aspect_TOM_X = Aspect_TypeOfMarker.Aspect_TOM_X +Aspect_TOM_O = Aspect_TypeOfMarker.Aspect_TOM_O +Aspect_TOM_O_POINT = Aspect_TypeOfMarker.Aspect_TOM_O_POINT +Aspect_TOM_O_PLUS = Aspect_TypeOfMarker.Aspect_TOM_O_PLUS +Aspect_TOM_O_STAR = Aspect_TypeOfMarker.Aspect_TOM_O_STAR +Aspect_TOM_O_X = Aspect_TypeOfMarker.Aspect_TOM_O_X +Aspect_TOM_RING1 = Aspect_TypeOfMarker.Aspect_TOM_RING1 +Aspect_TOM_RING2 = Aspect_TypeOfMarker.Aspect_TOM_RING2 +Aspect_TOM_RING3 = Aspect_TypeOfMarker.Aspect_TOM_RING3 +Aspect_TOM_BALL = Aspect_TypeOfMarker.Aspect_TOM_BALL +Aspect_TOM_USERDEFINED = Aspect_TypeOfMarker.Aspect_TOM_USERDEFINED -/* end public enums declaration */ +class Aspect_TypeOfResize(IntEnum): + Aspect_TOR_UNKNOWN = 0 + Aspect_TOR_NO_BORDER = 1 + Aspect_TOR_TOP_BORDER = 2 + Aspect_TOR_RIGHT_BORDER = 3 + Aspect_TOR_BOTTOM_BORDER = 4 + Aspect_TOR_LEFT_BORDER = 5 + Aspect_TOR_TOP_AND_RIGHT_BORDER = 6 + Aspect_TOR_RIGHT_AND_BOTTOM_BORDER = 7 + Aspect_TOR_BOTTOM_AND_LEFT_BORDER = 8 + Aspect_TOR_LEFT_AND_TOP_BORDER = 9 +Aspect_TOR_UNKNOWN = Aspect_TypeOfResize.Aspect_TOR_UNKNOWN +Aspect_TOR_NO_BORDER = Aspect_TypeOfResize.Aspect_TOR_NO_BORDER +Aspect_TOR_TOP_BORDER = Aspect_TypeOfResize.Aspect_TOR_TOP_BORDER +Aspect_TOR_RIGHT_BORDER = Aspect_TypeOfResize.Aspect_TOR_RIGHT_BORDER +Aspect_TOR_BOTTOM_BORDER = Aspect_TypeOfResize.Aspect_TOR_BOTTOM_BORDER +Aspect_TOR_LEFT_BORDER = Aspect_TypeOfResize.Aspect_TOR_LEFT_BORDER +Aspect_TOR_TOP_AND_RIGHT_BORDER = Aspect_TypeOfResize.Aspect_TOR_TOP_AND_RIGHT_BORDER +Aspect_TOR_RIGHT_AND_BOTTOM_BORDER = Aspect_TypeOfResize.Aspect_TOR_RIGHT_AND_BOTTOM_BORDER +Aspect_TOR_BOTTOM_AND_LEFT_BORDER = Aspect_TypeOfResize.Aspect_TOR_BOTTOM_AND_LEFT_BORDER +Aspect_TOR_LEFT_AND_TOP_BORDER = Aspect_TypeOfResize.Aspect_TOR_LEFT_AND_TOP_BORDER -/* python proy classes for enums */ -%pythoncode { +class Aspect_TypeOfStyleText(IntEnum): + Aspect_TOST_NORMAL = 0 + Aspect_TOST_ANNOTATION = 1 +Aspect_TOST_NORMAL = Aspect_TypeOfStyleText.Aspect_TOST_NORMAL +Aspect_TOST_ANNOTATION = Aspect_TypeOfStyleText.Aspect_TOST_ANNOTATION -class Aspect_Eye(IntEnum): - Aspect_Eye_Left = 0 - Aspect_Eye_Right = 1 -Aspect_Eye_Left = Aspect_Eye.Aspect_Eye_Left -Aspect_Eye_Right = Aspect_Eye.Aspect_Eye_Right +class Aspect_TypeOfTriedronPosition(IntEnum): + 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 +Aspect_TOTP_CENTER = Aspect_TypeOfTriedronPosition.Aspect_TOTP_CENTER +Aspect_TOTP_TOP = Aspect_TypeOfTriedronPosition.Aspect_TOTP_TOP +Aspect_TOTP_BOTTOM = Aspect_TypeOfTriedronPosition.Aspect_TOTP_BOTTOM +Aspect_TOTP_LEFT = Aspect_TypeOfTriedronPosition.Aspect_TOTP_LEFT +Aspect_TOTP_RIGHT = Aspect_TypeOfTriedronPosition.Aspect_TOTP_RIGHT +Aspect_TOTP_LEFT_LOWER = Aspect_TypeOfTriedronPosition.Aspect_TOTP_LEFT_LOWER +Aspect_TOTP_LEFT_UPPER = Aspect_TypeOfTriedronPosition.Aspect_TOTP_LEFT_UPPER +Aspect_TOTP_RIGHT_LOWER = Aspect_TypeOfTriedronPosition.Aspect_TOTP_RIGHT_LOWER +Aspect_TOTP_RIGHT_UPPER = Aspect_TypeOfTriedronPosition.Aspect_TOTP_RIGHT_UPPER class Aspect_VKeyBasic(IntEnum): Aspect_VKey_UNKNOWN = 0 @@ -778,45 +1081,33 @@ Aspect_VKey_NavThrustStop = Aspect_VKeyBasic.Aspect_VKey_NavThrustStop Aspect_VKey_NavSpeedIncrease = Aspect_VKeyBasic.Aspect_VKey_NavSpeedIncrease Aspect_VKey_NavSpeedDecrease = Aspect_VKeyBasic.Aspect_VKey_NavSpeedDecrease -class Aspect_TypeOfDeflection(IntEnum): - Aspect_TOD_RELATIVE = 0 - Aspect_TOD_ABSOLUTE = 1 -Aspect_TOD_RELATIVE = Aspect_TypeOfDeflection.Aspect_TOD_RELATIVE -Aspect_TOD_ABSOLUTE = Aspect_TypeOfDeflection.Aspect_TOD_ABSOLUTE +class Aspect_WidthOfLine(IntEnum): + Aspect_WOL_THIN = 0 + Aspect_WOL_MEDIUM = 1 + Aspect_WOL_THICK = 2 + Aspect_WOL_VERYTHICK = 3 + Aspect_WOL_USERDEFINED = 4 +Aspect_WOL_THIN = Aspect_WidthOfLine.Aspect_WOL_THIN +Aspect_WOL_MEDIUM = Aspect_WidthOfLine.Aspect_WOL_MEDIUM +Aspect_WOL_THICK = Aspect_WidthOfLine.Aspect_WOL_THICK +Aspect_WOL_VERYTHICK = Aspect_WidthOfLine.Aspect_WOL_VERYTHICK +Aspect_WOL_USERDEFINED = Aspect_WidthOfLine.Aspect_WOL_USERDEFINED -class Aspect_TypeOfLine(IntEnum): - Aspect_TOL_EMPTY = - 1 - Aspect_TOL_SOLID = 0 - Aspect_TOL_DASH = 1 - Aspect_TOL_DOT = 2 - Aspect_TOL_DOTDASH = 3 - Aspect_TOL_USERDEFINED = 4 -Aspect_TOL_EMPTY = Aspect_TypeOfLine.Aspect_TOL_EMPTY -Aspect_TOL_SOLID = Aspect_TypeOfLine.Aspect_TOL_SOLID -Aspect_TOL_DASH = Aspect_TypeOfLine.Aspect_TOL_DASH -Aspect_TOL_DOT = Aspect_TypeOfLine.Aspect_TOL_DOT -Aspect_TOL_DOTDASH = Aspect_TypeOfLine.Aspect_TOL_DOTDASH -Aspect_TOL_USERDEFINED = Aspect_TypeOfLine.Aspect_TOL_USERDEFINED +class Aspect_XAtom(IntEnum): + Aspect_XA_DELETE_WINDOW = 0 +Aspect_XA_DELETE_WINDOW = Aspect_XAtom.Aspect_XA_DELETE_WINDOW -class Aspect_GradientFillMethod(IntEnum): - Aspect_GFM_NONE = 0 - Aspect_GFM_HOR = 1 - Aspect_GFM_VER = 2 - Aspect_GFM_DIAG1 = 3 - Aspect_GFM_DIAG2 = 4 - Aspect_GFM_CORNER1 = 5 - Aspect_GFM_CORNER2 = 6 - Aspect_GFM_CORNER3 = 7 - Aspect_GFM_CORNER4 = 8 -Aspect_GFM_NONE = Aspect_GradientFillMethod.Aspect_GFM_NONE -Aspect_GFM_HOR = Aspect_GradientFillMethod.Aspect_GFM_HOR -Aspect_GFM_VER = Aspect_GradientFillMethod.Aspect_GFM_VER -Aspect_GFM_DIAG1 = Aspect_GradientFillMethod.Aspect_GFM_DIAG1 -Aspect_GFM_DIAG2 = Aspect_GradientFillMethod.Aspect_GFM_DIAG2 -Aspect_GFM_CORNER1 = Aspect_GradientFillMethod.Aspect_GFM_CORNER1 -Aspect_GFM_CORNER2 = Aspect_GradientFillMethod.Aspect_GFM_CORNER2 -Aspect_GFM_CORNER3 = Aspect_GradientFillMethod.Aspect_GFM_CORNER3 -Aspect_GFM_CORNER4 = Aspect_GradientFillMethod.Aspect_GFM_CORNER4 +class Aspect_XRActionType(IntEnum): + Aspect_XRActionType_InputDigital = 0 + Aspect_XRActionType_InputAnalog = 1 + Aspect_XRActionType_InputPose = 2 + Aspect_XRActionType_InputSkeletal = 3 + Aspect_XRActionType_OutputHaptic = 4 +Aspect_XRActionType_InputDigital = Aspect_XRActionType.Aspect_XRActionType_InputDigital +Aspect_XRActionType_InputAnalog = Aspect_XRActionType.Aspect_XRActionType_InputAnalog +Aspect_XRActionType_InputPose = Aspect_XRActionType.Aspect_XRActionType_InputPose +Aspect_XRActionType_InputSkeletal = Aspect_XRActionType.Aspect_XRActionType_InputSkeletal +Aspect_XRActionType_OutputHaptic = Aspect_XRActionType.Aspect_XRActionType_OutputHaptic class Aspect_XRGenericAction(IntEnum): Aspect_XRGenericAction_IsHeadsetOn = 0 @@ -854,1391 +1145,2586 @@ Aspect_XRGenericAction_InputPoseHandGrip = Aspect_XRGenericAction.Aspect_XRGener Aspect_XRGenericAction_InputPoseFingerTip = Aspect_XRGenericAction.Aspect_XRGenericAction_InputPoseFingerTip Aspect_XRGenericAction_OutputHaptic = Aspect_XRGenericAction.Aspect_XRGenericAction_OutputHaptic -class Aspect_TypeOfHighlightMethod(IntEnum): - Aspect_TOHM_COLOR = 0 - Aspect_TOHM_BOUNDBOX = 1 -Aspect_TOHM_COLOR = Aspect_TypeOfHighlightMethod.Aspect_TOHM_COLOR -Aspect_TOHM_BOUNDBOX = Aspect_TypeOfHighlightMethod.Aspect_TOHM_BOUNDBOX - -class Aspect_TypeOfResize(IntEnum): - Aspect_TOR_UNKNOWN = 0 - Aspect_TOR_NO_BORDER = 1 - Aspect_TOR_TOP_BORDER = 2 - Aspect_TOR_RIGHT_BORDER = 3 - Aspect_TOR_BOTTOM_BORDER = 4 - Aspect_TOR_LEFT_BORDER = 5 - Aspect_TOR_TOP_AND_RIGHT_BORDER = 6 - Aspect_TOR_RIGHT_AND_BOTTOM_BORDER = 7 - Aspect_TOR_BOTTOM_AND_LEFT_BORDER = 8 - Aspect_TOR_LEFT_AND_TOP_BORDER = 9 -Aspect_TOR_UNKNOWN = Aspect_TypeOfResize.Aspect_TOR_UNKNOWN -Aspect_TOR_NO_BORDER = Aspect_TypeOfResize.Aspect_TOR_NO_BORDER -Aspect_TOR_TOP_BORDER = Aspect_TypeOfResize.Aspect_TOR_TOP_BORDER -Aspect_TOR_RIGHT_BORDER = Aspect_TypeOfResize.Aspect_TOR_RIGHT_BORDER -Aspect_TOR_BOTTOM_BORDER = Aspect_TypeOfResize.Aspect_TOR_BOTTOM_BORDER -Aspect_TOR_LEFT_BORDER = Aspect_TypeOfResize.Aspect_TOR_LEFT_BORDER -Aspect_TOR_TOP_AND_RIGHT_BORDER = Aspect_TypeOfResize.Aspect_TOR_TOP_AND_RIGHT_BORDER -Aspect_TOR_RIGHT_AND_BOTTOM_BORDER = Aspect_TypeOfResize.Aspect_TOR_RIGHT_AND_BOTTOM_BORDER -Aspect_TOR_BOTTOM_AND_LEFT_BORDER = Aspect_TypeOfResize.Aspect_TOR_BOTTOM_AND_LEFT_BORDER -Aspect_TOR_LEFT_AND_TOP_BORDER = Aspect_TypeOfResize.Aspect_TOR_LEFT_AND_TOP_BORDER +class Aspect_XRTrackedDeviceRole(IntEnum): + Aspect_XRTrackedDeviceRole_Head = 0 + Aspect_XRTrackedDeviceRole_LeftHand = 1 + Aspect_XRTrackedDeviceRole_RightHand = 2 + Aspect_XRTrackedDeviceRole_Other = 3 +Aspect_XRTrackedDeviceRole_Head = Aspect_XRTrackedDeviceRole.Aspect_XRTrackedDeviceRole_Head +Aspect_XRTrackedDeviceRole_LeftHand = Aspect_XRTrackedDeviceRole.Aspect_XRTrackedDeviceRole_LeftHand +Aspect_XRTrackedDeviceRole_RightHand = Aspect_XRTrackedDeviceRole.Aspect_XRTrackedDeviceRole_RightHand +Aspect_XRTrackedDeviceRole_Other = Aspect_XRTrackedDeviceRole.Aspect_XRTrackedDeviceRole_Other +}; +/* end python proxy for enums */ -class Aspect_GridType(IntEnum): - Aspect_GT_Rectangular = 0 - Aspect_GT_Circular = 1 -Aspect_GT_Rectangular = Aspect_GridType.Aspect_GT_Rectangular -Aspect_GT_Circular = Aspect_GridType.Aspect_GT_Circular +/* handles */ +%wrap_handle(Aspect_DisplayConnection) +%wrap_handle(Aspect_Grid) +%wrap_handle(Aspect_VKeySet) +%wrap_handle(Aspect_Window) +%wrap_handle(Aspect_XRAction) +%wrap_handle(Aspect_XRActionSet) +%wrap_handle(Aspect_XRSession) +%wrap_handle(Aspect_OpenVRSession) +/* end handles declaration */ -class Aspect_TypeOfColorScaleData(IntEnum): - Aspect_TOCSD_AUTO = 0 - Aspect_TOCSD_USER = 1 -Aspect_TOCSD_AUTO = Aspect_TypeOfColorScaleData.Aspect_TOCSD_AUTO -Aspect_TOCSD_USER = Aspect_TypeOfColorScaleData.Aspect_TOCSD_USER +/* templates */ +%template(Aspect_SequenceOfColor) NCollection_Sequence; -class Aspect_TypeOfStyleText(IntEnum): - Aspect_TOST_NORMAL = 0 - Aspect_TOST_ANNOTATION = 1 -Aspect_TOST_NORMAL = Aspect_TypeOfStyleText.Aspect_TOST_NORMAL -Aspect_TOST_ANNOTATION = Aspect_TypeOfStyleText.Aspect_TOST_ANNOTATION +%extend NCollection_Sequence { + %pythoncode { + def __len__(self): + return self.Size() + } +}; +%template(Aspect_TouchMap) NCollection_IndexedDataMap; +%template(Aspect_TrackedDevicePoseArray) NCollection_Array1; +Array1ExtendIter(Aspect_TrackedDevicePose) + +%template(Aspect_XRActionMap) NCollection_IndexedDataMap>; +%template(Aspect_XRActionSetMap) NCollection_IndexedDataMap>; +/* end templates declaration */ + +/* typedefs */ +typedef void * Aspect_Display; +typedef unsigned long Aspect_Drawable; +typedef GLXFBConfig Aspect_FBConfig; +typedef unsigned long Aspect_Handle; +typedef void * Aspect_RenderingContext; +typedef NCollection_Sequence Aspect_SequenceOfColor; +typedef NCollection_IndexedDataMap Aspect_TouchMap; +typedef NCollection_Array1 Aspect_TrackedDevicePoseArray; +typedef unsigned int Aspect_VKey; +typedef unsigned int Aspect_VKeyFlags; +typedef unsigned int Aspect_VKeyMouse; +typedef NCollection_IndexedDataMap> Aspect_XRActionMap; +typedef NCollection_IndexedDataMap> Aspect_XRActionSetMap; +typedef struct __GLXFBConfigRec * GLXFBConfig; +typedef void * HANDLE; +/* end typedefs declaration */ + +/************************** +* class Aspect_Background * +**************************/ +class Aspect_Background { + public: + /****** Aspect_Background::Aspect_Background ******/ + /****** md5 signature: c285d3f164d7d45415123925b55dfa2d ******/ + %feature("compactdefaultargs") Aspect_Background; + %feature("autodoc", "Return +------- +None + +Description +----------- +Creates a window background. Default color: NOC_MATRAGRAY. +") Aspect_Background; + Aspect_Background(); + + /****** Aspect_Background::Aspect_Background ******/ + /****** md5 signature: 5dbd53dd21ee3414ceec63d3dadf45f2 ******/ + %feature("compactdefaultargs") Aspect_Background; + %feature("autodoc", " +Parameters +---------- +AColor: Quantity_Color + +Return +------- +None + +Description +----------- +Creates a window background with the colour . +") Aspect_Background; + Aspect_Background(const Quantity_Color & AColor); + + /****** Aspect_Background::Color ******/ + /****** md5 signature: b37a2e584a895a08fcf8ead60940b246 ******/ + %feature("compactdefaultargs") Color; + %feature("autodoc", "Return +------- +Quantity_Color + +Description +----------- +Returns the colour of the window background . +") Color; + Quantity_Color Color(); + + + /****************** DumpJson ******************/ + %feature("autodoc", " +Parameters +---------- +depth: int, default=-1 + +Return +------- +str + +Description +----------- +Dump the object to JSON string. +") DumpJson; + %extend{ + std::string DumpJson(int depth=-1) { + std::stringstream s; + self->DumpJson(s, depth); + return "{" + s.str() + "}" ;} + }; + /****** Aspect_Background::SetColor ******/ + /****** md5 signature: 5aebf70a123538e7dff670112c56db0d ******/ + %feature("compactdefaultargs") SetColor; + %feature("autodoc", " +Parameters +---------- +AColor: Quantity_Color + +Return +------- +None + +Description +----------- +Modifies the colour of the window background . +") SetColor; + void SetColor(const Quantity_Color & AColor); + +}; + + +%extend Aspect_Background { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/********************************* +* class Aspect_DisplayConnection * +*********************************/ +class Aspect_DisplayConnection : public Standard_Transient { + public: + /****** Aspect_DisplayConnection::GetDefaultFBConfig ******/ + /****** md5 signature: 622b64beb2b73c32aace98cc90ab7793 ******/ + %feature("compactdefaultargs") GetDefaultFBConfig; + %feature("autodoc", "Return +------- +Aspect_FBConfig + +Description +----------- +Return: native Window FB config (GLXFBConfig on Xlib). +") GetDefaultFBConfig; + Aspect_FBConfig GetDefaultFBConfig(); + + /****** Aspect_DisplayConnection::GetDefaultVisualInfo ******/ + /****** md5 signature: dde27c64c5cbb24e80531c18197370c1 ******/ + %feature("compactdefaultargs") GetDefaultVisualInfo; + %feature("autodoc", "Return +------- +Aspect_XVisualInfo * + +Description +----------- +Return default window visual or NULL when undefined. +") GetDefaultVisualInfo; + Aspect_XVisualInfo * GetDefaultVisualInfo(); + + /****** Aspect_DisplayConnection::GetDisplayAspect ******/ + /****** md5 signature: b7c859e60cde1d6a2d363b0c0841abb9 ******/ + %feature("compactdefaultargs") GetDisplayAspect; + %feature("autodoc", "Return +------- +Aspect_XDisplay * + +Description +----------- +Return: pointer to Display structure that serves as the connection to the X server. +") GetDisplayAspect; + Aspect_XDisplay * GetDisplayAspect(); + +}; + + +%make_alias(Aspect_DisplayConnection) + +%extend Aspect_DisplayConnection { + %pythoncode { + __repr__ = _dumps_object + + @methodnotwrapped + def GetAtom(self): + pass + + @methodnotwrapped + def GetDisplay(self): + pass + + @methodnotwrapped + def GetDisplayName(self): + pass + + @methodnotwrapped + def Init(self): + pass + + @methodnotwrapped + def IsOwnDisplay(self): + pass + + @methodnotwrapped + def GetAtomX(self): + pass + + @methodnotwrapped + def GetDefaultVisualInfoX(self): + pass + + @methodnotwrapped + def SetDefaultVisualInfo(self): + pass + } +}; + +/*************************** +* class Aspect_FrustumLRBT * +***************************/ +/********************* +* class Aspect_GenId * +*********************/ +class Aspect_GenId { + public: + /****** Aspect_GenId::Aspect_GenId ******/ + /****** md5 signature: 569c368c12c13ee3f3906663aa53662b ******/ + %feature("compactdefaultargs") Aspect_GenId; + %feature("autodoc", "Return +------- +None + +Description +----------- +Creates an available set of identifiers with the lower bound 0 and the upper bound INT_MAX / 2. +") Aspect_GenId; + Aspect_GenId(); + + /****** Aspect_GenId::Aspect_GenId ******/ + /****** md5 signature: 3f26c1994924a0cb83cef8d1c5e3f8d3 ******/ + %feature("compactdefaultargs") Aspect_GenId; + %feature("autodoc", " +Parameters +---------- +theLow: int +theUpper: int + +Return +------- +None + +Description +----------- +Creates an available set of identifiers with specified range. Raises IdentDefinitionError if theUpper is less than theLow. +") Aspect_GenId; + Aspect_GenId(const Standard_Integer theLow, const Standard_Integer theUpper); + + /****** Aspect_GenId::Available ******/ + /****** md5 signature: 697caaa4e9190a2cfddfe8f6ce24ea8c ******/ + %feature("compactdefaultargs") Available; + %feature("autodoc", "Return +------- +int + +Description +----------- +Returns the number of available identifiers. +") Available; + Standard_Integer Available(); + + + /****************** DumpJson ******************/ + %feature("autodoc", " +Parameters +---------- +depth: int, default=-1 + +Return +------- +str + +Description +----------- +Dump the object to JSON string. +") DumpJson; + %extend{ + std::string DumpJson(int depth=-1) { + std::stringstream s; + self->DumpJson(s, depth); + return "{" + s.str() + "}" ;} + }; + /****** Aspect_GenId::Free ******/ + /****** md5 signature: adf04b00a0d9dc585c1f31bcdbc395bf ******/ + %feature("compactdefaultargs") Free; + %feature("autodoc", "Return +------- +None + +Description +----------- +Free all identifiers - make the whole range available again. +") Free; + void Free(); + + /****** Aspect_GenId::Free ******/ + /****** md5 signature: 912044af0159c0455ab1de14a2ea922d ******/ + %feature("compactdefaultargs") Free; + %feature("autodoc", " +Parameters +---------- +theId: int + +Return +------- +None + +Description +----------- +Free specified identifier. Warning - method has no protection against double-freeing!. +") Free; + void Free(const Standard_Integer theId); + + /****** Aspect_GenId::HasFree ******/ + /****** md5 signature: b1851639e312df8e9d1643954f18fb9e ******/ + %feature("compactdefaultargs") HasFree; + %feature("autodoc", "Return +------- +bool + +Description +----------- +Returns true if there are available identifiers in range. +") HasFree; + Standard_Boolean HasFree(); + + /****** Aspect_GenId::Lower ******/ + /****** md5 signature: a2a9f1c3c17fa0f26434aadaabeff45a ******/ + %feature("compactdefaultargs") Lower; + %feature("autodoc", "Return +------- +int + +Description +----------- +Returns the lower identifier in range. +") Lower; + Standard_Integer Lower(); + + /****** Aspect_GenId::Next ******/ + /****** md5 signature: e7361d634adcab8f63c24d757e1e478e ******/ + %feature("compactdefaultargs") Next; + %feature("autodoc", "Return +------- +int + +Description +----------- +Returns the next available identifier. Warning: Raises IdentDefinitionError if all identifiers are busy. +") Next; + Standard_Integer Next(); + + /****** Aspect_GenId::Next ******/ + /****** md5 signature: 3fd1eee7f153c7ff797dea1b9f67ad85 ******/ + %feature("compactdefaultargs") Next; + %feature("autodoc", " +Parameters +---------- + +Return +------- +theId: int + +Description +----------- +Generates the next available identifier. @param[out] theId generated identifier +Return: False if all identifiers are busy. +") Next; + Standard_Boolean Next(Standard_Integer &OutValue); + + /****** Aspect_GenId::Upper ******/ + /****** md5 signature: 621f04fab59b49711e54299100973c4e ******/ + %feature("compactdefaultargs") Upper; + %feature("autodoc", "Return +------- +int + +Description +----------- +Returns the upper identifier in range. +") Upper; + Standard_Integer Upper(); + +}; + + +%extend Aspect_GenId { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/******************** +* class Aspect_Grid * +********************/ +%nodefaultctor Aspect_Grid; +class Aspect_Grid : public Standard_Transient { + public: + /****** Aspect_Grid::Activate ******/ + /****** md5 signature: 3c1c2136e4be5cb74d5a6a6df9f2730e ******/ + %feature("compactdefaultargs") Activate; + %feature("autodoc", "Return +------- +None + +Description +----------- +activates the grid. The Hit method will return gridx and gridx computed according to the steps of the grid. +") Activate; + void Activate(); + + /****** Aspect_Grid::Colors ******/ + /****** md5 signature: febac332dabf87330fc8ae564a90811c ******/ + %feature("compactdefaultargs") Colors; + %feature("autodoc", " +Parameters +---------- +aColor: Quantity_Color +aTenthColor: Quantity_Color + +Return +------- +None + +Description +----------- +Returns the colors of the grid. +") Colors; + void Colors(Quantity_Color & aColor, Quantity_Color & aTenthColor); + + /****** Aspect_Grid::Compute ******/ + /****** md5 signature: f2dc3bb20b3dea64f42829e338efc410 ******/ + %feature("compactdefaultargs") Compute; + %feature("autodoc", " +Parameters +---------- +X: float +Y: float + +Return +------- +gridX: float +gridY: float + +Description +----------- +returns the point of the grid the closest to the point X,Y. +") Compute; + virtual void Compute(const Standard_Real X, const Standard_Real Y, Standard_Real &OutValue, Standard_Real &OutValue); + + /****** Aspect_Grid::Deactivate ******/ + /****** md5 signature: d5b1d14a550597a64031c7a7feceee08 ******/ + %feature("compactdefaultargs") Deactivate; + %feature("autodoc", "Return +------- +None + +Description +----------- +deactivates the grid. The hit method will return gridx and gridx as the enter value X & Y. +") Deactivate; + void Deactivate(); + + /****** Aspect_Grid::Display ******/ + /****** md5 signature: a5bb9d443eb910f59769ed67aea52525 ******/ + %feature("compactdefaultargs") Display; + %feature("autodoc", "Return +------- +None + +Description +----------- +Display the grid at screen. +") Display; + virtual void Display(); + + /****** Aspect_Grid::DrawMode ******/ + /****** md5 signature: 820acf5cdbd9b081ca2fdb9e8fa43978 ******/ + %feature("compactdefaultargs") DrawMode; + %feature("autodoc", "Return +------- +Aspect_GridDrawMode + +Description +----------- +Returns the grid aspect. +") DrawMode; + Aspect_GridDrawMode DrawMode(); + + + /****************** DumpJson ******************/ + %feature("autodoc", " +Parameters +---------- +depth: int, default=-1 + +Return +------- +str + +Description +----------- +Dump the object to JSON string. +") DumpJson; + %extend{ + std::string DumpJson(int depth=-1) { + std::stringstream s; + self->DumpJson(s, depth); + return "{" + s.str() + "}" ;} + }; + /****** Aspect_Grid::Erase ******/ + /****** md5 signature: c55517fe39ff6c9fe42803167b097498 ******/ + %feature("compactdefaultargs") Erase; + %feature("autodoc", "Return +------- +None + +Description +----------- +Erase the grid from screen. +") Erase; + virtual void Erase(); + + /****** Aspect_Grid::Hit ******/ + /****** md5 signature: a0d754d9f4e2a7f6a6b3cbe673f29375 ******/ + %feature("compactdefaultargs") Hit; + %feature("autodoc", " +Parameters +---------- +X: float +Y: float -class Aspect_TypeOfMarker(IntEnum): - Aspect_TOM_EMPTY = - 1 - Aspect_TOM_POINT = 0 - Aspect_TOM_PLUS = 1 - Aspect_TOM_STAR = 2 - Aspect_TOM_X = 3 - Aspect_TOM_O = 4 - Aspect_TOM_O_POINT = 5 - Aspect_TOM_O_PLUS = 6 - Aspect_TOM_O_STAR = 7 - Aspect_TOM_O_X = 8 - Aspect_TOM_RING1 = 9 - Aspect_TOM_RING2 = 10 - Aspect_TOM_RING3 = 11 - Aspect_TOM_BALL = 12 - Aspect_TOM_USERDEFINED = 13 -Aspect_TOM_EMPTY = Aspect_TypeOfMarker.Aspect_TOM_EMPTY -Aspect_TOM_POINT = Aspect_TypeOfMarker.Aspect_TOM_POINT -Aspect_TOM_PLUS = Aspect_TypeOfMarker.Aspect_TOM_PLUS -Aspect_TOM_STAR = Aspect_TypeOfMarker.Aspect_TOM_STAR -Aspect_TOM_X = Aspect_TypeOfMarker.Aspect_TOM_X -Aspect_TOM_O = Aspect_TypeOfMarker.Aspect_TOM_O -Aspect_TOM_O_POINT = Aspect_TypeOfMarker.Aspect_TOM_O_POINT -Aspect_TOM_O_PLUS = Aspect_TypeOfMarker.Aspect_TOM_O_PLUS -Aspect_TOM_O_STAR = Aspect_TypeOfMarker.Aspect_TOM_O_STAR -Aspect_TOM_O_X = Aspect_TypeOfMarker.Aspect_TOM_O_X -Aspect_TOM_RING1 = Aspect_TypeOfMarker.Aspect_TOM_RING1 -Aspect_TOM_RING2 = Aspect_TypeOfMarker.Aspect_TOM_RING2 -Aspect_TOM_RING3 = Aspect_TypeOfMarker.Aspect_TOM_RING3 -Aspect_TOM_BALL = Aspect_TypeOfMarker.Aspect_TOM_BALL -Aspect_TOM_USERDEFINED = Aspect_TypeOfMarker.Aspect_TOM_USERDEFINED +Return +------- +gridX: float +gridY: float + +Description +----------- +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. +") Hit; + void Hit(const Standard_Real X, const Standard_Real Y, Standard_Real &OutValue, Standard_Real &OutValue); + + /****** Aspect_Grid::Init ******/ + /****** md5 signature: ae70d610df2081e50f19659c49fb9bd4 ******/ + %feature("compactdefaultargs") Init; + %feature("autodoc", "Return +------- +None + +Description +----------- +No available documentation. +") Init; + virtual void Init(); + + /****** Aspect_Grid::IsActive ******/ + /****** md5 signature: 1430a89053d4b0413f25b185201efe70 ******/ + %feature("compactdefaultargs") IsActive; + %feature("autodoc", "Return +------- +bool + +Description +----------- +Returns True when the grid is active. +") IsActive; + Standard_Boolean IsActive(); + + /****** Aspect_Grid::IsDisplayed ******/ + /****** md5 signature: f0a946c4c132eaa80b7a2b5b8752ab0c ******/ + %feature("compactdefaultargs") IsDisplayed; + %feature("autodoc", "Return +------- +bool + +Description +----------- +Returns True when the grid is displayed at screen. +") IsDisplayed; + virtual Standard_Boolean IsDisplayed(); + + /****** Aspect_Grid::Rotate ******/ + /****** md5 signature: ba6155601a6a3ebf5db401b4fcb0cac9 ******/ + %feature("compactdefaultargs") Rotate; + %feature("autodoc", " +Parameters +---------- +anAngle: float + +Return +------- +None + +Description +----------- +Rotate the grid from a relative angle. +") Rotate; + void Rotate(const Standard_Real anAngle); + + /****** Aspect_Grid::RotationAngle ******/ + /****** md5 signature: 6c7adcb07df938548950d9bd86bc732a ******/ + %feature("compactdefaultargs") RotationAngle; + %feature("autodoc", "Return +------- +float + +Description +----------- +returns the x Angle of the grid. +") RotationAngle; + Standard_Real RotationAngle(); + + /****** Aspect_Grid::SetColors ******/ + /****** md5 signature: f81cf1490ceea17485c0de0269e7ec9c ******/ + %feature("compactdefaultargs") SetColors; + %feature("autodoc", " +Parameters +---------- +aColor: Quantity_Color +aTenthColor: Quantity_Color + +Return +------- +None + +Description +----------- +Change the colors of the grid. +") SetColors; + virtual void SetColors(const Quantity_Color & aColor, const Quantity_Color & aTenthColor); + + /****** Aspect_Grid::SetDrawMode ******/ + /****** md5 signature: ee6037d77208349cb9a8e316a9952fc6 ******/ + %feature("compactdefaultargs") SetDrawMode; + %feature("autodoc", " +Parameters +---------- +aDrawMode: Aspect_GridDrawMode + +Return +------- +None + +Description +----------- +Change the grid aspect. +") SetDrawMode; + void SetDrawMode(const Aspect_GridDrawMode aDrawMode); + + /****** Aspect_Grid::SetRotationAngle ******/ + /****** md5 signature: f85165df588b8bb105e7c1fc95c0038c ******/ + %feature("compactdefaultargs") SetRotationAngle; + %feature("autodoc", " +Parameters +---------- +anAngle: float + +Return +------- +None + +Description +----------- +defines the orientation of the grid. +") SetRotationAngle; + void SetRotationAngle(const Standard_Real anAngle); + + /****** Aspect_Grid::SetXOrigin ******/ + /****** md5 signature: 5f29e91eabd84d1fb448e2f1a42216fa ******/ + %feature("compactdefaultargs") SetXOrigin; + %feature("autodoc", " +Parameters +---------- +anOrigin: float + +Return +------- +None + +Description +----------- +defines the x Origin of the grid. +") SetXOrigin; + void SetXOrigin(const Standard_Real anOrigin); + + /****** Aspect_Grid::SetYOrigin ******/ + /****** md5 signature: 8ae28e02e415aeae0cabe4ebeb845aac ******/ + %feature("compactdefaultargs") SetYOrigin; + %feature("autodoc", " +Parameters +---------- +anOrigin: float + +Return +------- +None + +Description +----------- +defines the y Origin of the grid. +") SetYOrigin; + void SetYOrigin(const Standard_Real anOrigin); + + /****** Aspect_Grid::Translate ******/ + /****** md5 signature: 2c4d53c487acc4e66ea6ff494e659356 ******/ + %feature("compactdefaultargs") Translate; + %feature("autodoc", " +Parameters +---------- +aDx: float +aDy: float + +Return +------- +None + +Description +----------- +Translate the grid from a relative distance. +") Translate; + void Translate(const Standard_Real aDx, const Standard_Real aDy); + + /****** Aspect_Grid::XOrigin ******/ + /****** md5 signature: 2ca8cc35b96fb011ff973786f0ef31b1 ******/ + %feature("compactdefaultargs") XOrigin; + %feature("autodoc", "Return +------- +float + +Description +----------- +returns the x Origin of the grid. +") XOrigin; + Standard_Real XOrigin(); + + /****** Aspect_Grid::YOrigin ******/ + /****** md5 signature: 7f8bdf33836dd27df5ea3c3e718919d0 ******/ + %feature("compactdefaultargs") YOrigin; + %feature("autodoc", "Return +------- +float + +Description +----------- +returns the x Origin of the grid. +") YOrigin; + Standard_Real YOrigin(); + +}; + + +%make_alias(Aspect_Grid) + +%extend Aspect_Grid { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/*************************** +* class Aspect_ScrollDelta * +***************************/ +class Aspect_ScrollDelta { + public: + /****** Aspect_ScrollDelta::Aspect_ScrollDelta ******/ + /****** md5 signature: 0d3fcbaf34563dcd0f20bf50c1b22bc1 ******/ + %feature("compactdefaultargs") Aspect_ScrollDelta; + %feature("autodoc", "Return +------- +None + +Description +----------- +Empty constructor. +") Aspect_ScrollDelta; + Aspect_ScrollDelta(); + + /****** Aspect_ScrollDelta::Aspect_ScrollDelta ******/ + /****** md5 signature: f8460f2fd92f69dbd6ae1c79508cf38b ******/ + %feature("compactdefaultargs") Aspect_ScrollDelta; + %feature("autodoc", " +Parameters +---------- +thePnt: NCollection_Vec2 +theValue: float +theFlags: Aspect_VKeyFlags (optional, default to Aspect_VKeyFlags_NONE) + +Return +------- +None + +Description +----------- +Constructor. +") Aspect_ScrollDelta; + Aspect_ScrollDelta(const NCollection_Vec2 & thePnt, Standard_Real theValue, Aspect_VKeyFlags theFlags = Aspect_VKeyFlags_NONE); + + /****** Aspect_ScrollDelta::Aspect_ScrollDelta ******/ + /****** md5 signature: 4c6a15a03d5e8065050d3ebd39119299 ******/ + %feature("compactdefaultargs") Aspect_ScrollDelta; + %feature("autodoc", " +Parameters +---------- +theValue: float +theFlags: Aspect_VKeyFlags (optional, default to Aspect_VKeyFlags_NONE) + +Return +------- +None + +Description +----------- +Constructor with undefined point. +") Aspect_ScrollDelta; + Aspect_ScrollDelta(Standard_Real theValue, Aspect_VKeyFlags theFlags = Aspect_VKeyFlags_NONE); + + /****** Aspect_ScrollDelta::HasPoint ******/ + /****** md5 signature: 314e70d3c9f0b28261d75c0c6244be38 ******/ + %feature("compactdefaultargs") HasPoint; + %feature("autodoc", "Return +------- +bool + +Description +----------- +Return true if action has point defined. +") HasPoint; + bool HasPoint(); + + /****** Aspect_ScrollDelta::ResetPoint ******/ + /****** md5 signature: d4f07a32710ac608e876db8058caee64 ******/ + %feature("compactdefaultargs") ResetPoint; + %feature("autodoc", "Return +------- +None + +Description +----------- +Reset at point. +") ResetPoint; + void ResetPoint(); + +}; + + +%extend Aspect_ScrollDelta { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/********************************* +* class Aspect_SkydomeBackground * +*********************************/ +class Aspect_SkydomeBackground { + public: + /****** Aspect_SkydomeBackground::Aspect_SkydomeBackground ******/ + /****** md5 signature: 3c25f69c902a4ad07c515cd932d3d294 ******/ + %feature("compactdefaultargs") Aspect_SkydomeBackground; + %feature("autodoc", "Return +------- +None + +Description +----------- +Creates a window skydome background. By default skydome is initialized with sun at its zenith (0.0, 1.0, 0.0), average clody (0.2), zero time parameter, zero fogginess, 512x512 texture size. +") Aspect_SkydomeBackground; + Aspect_SkydomeBackground(); + + /****** Aspect_SkydomeBackground::Aspect_SkydomeBackground ******/ + /****** md5 signature: 3a75c743ed1f3d8ea420373174e19a33 ******/ + %feature("compactdefaultargs") Aspect_SkydomeBackground; + %feature("autodoc", " +Parameters +---------- +theSunDirection: gp_Dir +theCloudiness: float +theTime: float +theFogginess: float +theSize: int + +Return +------- +None + +Description +----------- +Creates a window skydome background with given parameters. +Input parameter: theSunDirection direction to the sun (moon). Sun direction with negative Y component represents moon with (-X, -Y, -Z) direction. +Input parameter: theCloudiness cloud intensity, 0.0 means no clouds at all and 1.0 - high clody. +Input parameter: theTime time parameter of simulation. Might be tweaked to slightly change appearance. +Input parameter: theFogginess fog intensity, 0.0 means no fog and 1.0 - high fogginess +Input parameter: theSize size of cubemap side in pixels. +") Aspect_SkydomeBackground; + Aspect_SkydomeBackground(const gp_Dir & theSunDirection, Standard_ShortReal theCloudiness, Standard_ShortReal theTime, Standard_ShortReal theFogginess, Standard_Integer theSize); + + /****** Aspect_SkydomeBackground::Cloudiness ******/ + /****** md5 signature: dc5cc52623d8691a38ed69cd8a0c18b7 ******/ + %feature("compactdefaultargs") Cloudiness; + %feature("autodoc", "Return +------- +float + +Description +----------- +Get cloud intensity. By default this value is 0.2 0.0 means no clouds at all and 1.0 - high clody. +") Cloudiness; + Standard_ShortReal Cloudiness(); + + + /****************** DumpJson ******************/ + %feature("autodoc", " +Parameters +---------- +depth: int, default=-1 + +Return +------- +str + +Description +----------- +Dump the object to JSON string. +") DumpJson; + %extend{ + std::string DumpJson(int depth=-1) { + std::stringstream s; + self->DumpJson(s, depth); + return "{" + s.str() + "}" ;} + }; + /****** Aspect_SkydomeBackground::Fogginess ******/ + /****** md5 signature: c50b52b93dcf09580ca9736bc7f6571e ******/ + %feature("compactdefaultargs") Fogginess; + %feature("autodoc", "Return +------- +float + +Description +----------- +Get fog intensity. By default this value is 0.0 0.0 means no fog and 1.0 - high fogginess. +") Fogginess; + Standard_ShortReal Fogginess(); + + /****** Aspect_SkydomeBackground::SetCloudiness ******/ + /****** md5 signature: 920d86159a2674d4c13553ecbeb16824 ******/ + %feature("compactdefaultargs") SetCloudiness; + %feature("autodoc", " +Parameters +---------- +theCloudiness: float -class Aspect_TypeOfColorScaleOrientation(IntEnum): - Aspect_TOCSO_NONE = 0 - Aspect_TOCSO_LEFT = 1 - Aspect_TOCSO_RIGHT = 2 - Aspect_TOCSO_CENTER = 3 -Aspect_TOCSO_NONE = Aspect_TypeOfColorScaleOrientation.Aspect_TOCSO_NONE -Aspect_TOCSO_LEFT = Aspect_TypeOfColorScaleOrientation.Aspect_TOCSO_LEFT -Aspect_TOCSO_RIGHT = Aspect_TypeOfColorScaleOrientation.Aspect_TOCSO_RIGHT -Aspect_TOCSO_CENTER = Aspect_TypeOfColorScaleOrientation.Aspect_TOCSO_CENTER +Return +------- +None -class Aspect_TypeOfFacingModel(IntEnum): - Aspect_TOFM_BOTH_SIDE = 0 - Aspect_TOFM_BACK_SIDE = 1 - Aspect_TOFM_FRONT_SIDE = 2 -Aspect_TOFM_BOTH_SIDE = Aspect_TypeOfFacingModel.Aspect_TOFM_BOTH_SIDE -Aspect_TOFM_BACK_SIDE = Aspect_TypeOfFacingModel.Aspect_TOFM_BACK_SIDE -Aspect_TOFM_FRONT_SIDE = Aspect_TypeOfFacingModel.Aspect_TOFM_FRONT_SIDE +Description +----------- +Set cloud intensity. By default this value is 0.2 0.0 means no clouds at all and 1.0 - high clody. +") SetCloudiness; + void SetCloudiness(Standard_ShortReal theCloudiness); -class Aspect_FillMethod(IntEnum): - Aspect_FM_NONE = 0 - Aspect_FM_CENTERED = 1 - Aspect_FM_TILED = 2 - Aspect_FM_STRETCH = 3 -Aspect_FM_NONE = Aspect_FillMethod.Aspect_FM_NONE -Aspect_FM_CENTERED = Aspect_FillMethod.Aspect_FM_CENTERED -Aspect_FM_TILED = Aspect_FillMethod.Aspect_FM_TILED -Aspect_FM_STRETCH = Aspect_FillMethod.Aspect_FM_STRETCH + /****** Aspect_SkydomeBackground::SetFogginess ******/ + /****** md5 signature: 96294984cc974e9ab6dd33824cb4a7b8 ******/ + %feature("compactdefaultargs") SetFogginess; + %feature("autodoc", " +Parameters +---------- +theFogginess: float -class Aspect_ColorSpace(IntEnum): - Aspect_ColorSpace_sRGB = 0 - Aspect_ColorSpace_Linear = 1 -Aspect_ColorSpace_sRGB = Aspect_ColorSpace.Aspect_ColorSpace_sRGB -Aspect_ColorSpace_Linear = Aspect_ColorSpace.Aspect_ColorSpace_Linear +Return +------- +None -class Aspect_HatchStyle(IntEnum): - 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 = 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 -Aspect_HS_SOLID = Aspect_HatchStyle.Aspect_HS_SOLID -Aspect_HS_HORIZONTAL = Aspect_HatchStyle.Aspect_HS_HORIZONTAL -Aspect_HS_HORIZONTAL_WIDE = Aspect_HatchStyle.Aspect_HS_HORIZONTAL_WIDE -Aspect_HS_VERTICAL = Aspect_HatchStyle.Aspect_HS_VERTICAL -Aspect_HS_VERTICAL_WIDE = Aspect_HatchStyle.Aspect_HS_VERTICAL_WIDE -Aspect_HS_DIAGONAL_45 = Aspect_HatchStyle.Aspect_HS_DIAGONAL_45 -Aspect_HS_DIAGONAL_45_WIDE = Aspect_HatchStyle.Aspect_HS_DIAGONAL_45_WIDE -Aspect_HS_DIAGONAL_135 = Aspect_HatchStyle.Aspect_HS_DIAGONAL_135 -Aspect_HS_DIAGONAL_135_WIDE = Aspect_HatchStyle.Aspect_HS_DIAGONAL_135_WIDE -Aspect_HS_GRID = Aspect_HatchStyle.Aspect_HS_GRID -Aspect_HS_GRID_WIDE = Aspect_HatchStyle.Aspect_HS_GRID_WIDE -Aspect_HS_GRID_DIAGONAL = Aspect_HatchStyle.Aspect_HS_GRID_DIAGONAL -Aspect_HS_GRID_DIAGONAL_WIDE = Aspect_HatchStyle.Aspect_HS_GRID_DIAGONAL_WIDE -Aspect_HS_NB = Aspect_HatchStyle.Aspect_HS_NB +Description +----------- +Set fog intensity. By default this value is 0.0 0.0 means no fog and 1.0 - high fogginess. +") SetFogginess; + void SetFogginess(Standard_ShortReal theFogginess); -class Aspect_XRActionType(IntEnum): - Aspect_XRActionType_InputDigital = 0 - Aspect_XRActionType_InputAnalog = 1 - Aspect_XRActionType_InputPose = 2 - Aspect_XRActionType_InputSkeletal = 3 - Aspect_XRActionType_OutputHaptic = 4 -Aspect_XRActionType_InputDigital = Aspect_XRActionType.Aspect_XRActionType_InputDigital -Aspect_XRActionType_InputAnalog = Aspect_XRActionType.Aspect_XRActionType_InputAnalog -Aspect_XRActionType_InputPose = Aspect_XRActionType.Aspect_XRActionType_InputPose -Aspect_XRActionType_InputSkeletal = Aspect_XRActionType.Aspect_XRActionType_InputSkeletal -Aspect_XRActionType_OutputHaptic = Aspect_XRActionType.Aspect_XRActionType_OutputHaptic + /****** Aspect_SkydomeBackground::SetSize ******/ + /****** md5 signature: 5a379cce6c2fb68b87bbdd7ae6575397 ******/ + %feature("compactdefaultargs") SetSize; + %feature("autodoc", " +Parameters +---------- +theSize: int -class Aspect_PolygonOffsetMode(IntEnum): - Aspect_POM_Off = 0 - Aspect_POM_Fill = 1 - Aspect_POM_Line = 2 - Aspect_POM_Point = 4 - Aspect_POM_All = Aspect_POM_Fill | Aspect_POM_Line | Aspect_POM_Point - Aspect_POM_None = 8 - Aspect_POM_Mask = Aspect_POM_All | Aspect_POM_None -Aspect_POM_Off = Aspect_PolygonOffsetMode.Aspect_POM_Off -Aspect_POM_Fill = Aspect_PolygonOffsetMode.Aspect_POM_Fill -Aspect_POM_Line = Aspect_PolygonOffsetMode.Aspect_POM_Line -Aspect_POM_Point = Aspect_PolygonOffsetMode.Aspect_POM_Point -Aspect_POM_All = Aspect_PolygonOffsetMode.Aspect_POM_All -Aspect_POM_None = Aspect_PolygonOffsetMode.Aspect_POM_None -Aspect_POM_Mask = Aspect_PolygonOffsetMode.Aspect_POM_Mask +Return +------- +None -class Aspect_XRTrackedDeviceRole(IntEnum): - Aspect_XRTrackedDeviceRole_Head = 0 - Aspect_XRTrackedDeviceRole_LeftHand = 1 - Aspect_XRTrackedDeviceRole_RightHand = 2 - Aspect_XRTrackedDeviceRole_Other = 3 -Aspect_XRTrackedDeviceRole_Head = Aspect_XRTrackedDeviceRole.Aspect_XRTrackedDeviceRole_Head -Aspect_XRTrackedDeviceRole_LeftHand = Aspect_XRTrackedDeviceRole.Aspect_XRTrackedDeviceRole_LeftHand -Aspect_XRTrackedDeviceRole_RightHand = Aspect_XRTrackedDeviceRole.Aspect_XRTrackedDeviceRole_RightHand -Aspect_XRTrackedDeviceRole_Other = Aspect_XRTrackedDeviceRole.Aspect_XRTrackedDeviceRole_Other +Description +----------- +Set size of cubemap. By default this value is 512. +") SetSize; + void SetSize(Standard_Integer theSize); -class Aspect_TypeOfColorScalePosition(IntEnum): - Aspect_TOCSP_NONE = 0 - Aspect_TOCSP_LEFT = 1 - Aspect_TOCSP_RIGHT = 2 - Aspect_TOCSP_CENTER = 3 -Aspect_TOCSP_NONE = Aspect_TypeOfColorScalePosition.Aspect_TOCSP_NONE -Aspect_TOCSP_LEFT = Aspect_TypeOfColorScalePosition.Aspect_TOCSP_LEFT -Aspect_TOCSP_RIGHT = Aspect_TypeOfColorScalePosition.Aspect_TOCSP_RIGHT -Aspect_TOCSP_CENTER = Aspect_TypeOfColorScalePosition.Aspect_TOCSP_CENTER + /****** Aspect_SkydomeBackground::SetSunDirection ******/ + /****** md5 signature: d85bbe95c7e3d45dd1408af0a7346203 ******/ + %feature("compactdefaultargs") SetSunDirection; + %feature("autodoc", " +Parameters +---------- +theSunDirection: gp_Dir -class Aspect_GraphicsLibrary(IntEnum): - Aspect_GraphicsLibrary_OpenGL = 0 - Aspect_GraphicsLibrary_OpenGLES = 1 -Aspect_GraphicsLibrary_OpenGL = Aspect_GraphicsLibrary.Aspect_GraphicsLibrary_OpenGL -Aspect_GraphicsLibrary_OpenGLES = Aspect_GraphicsLibrary.Aspect_GraphicsLibrary_OpenGLES +Return +------- +None -class Aspect_XAtom(IntEnum): - Aspect_XA_DELETE_WINDOW = 0 -Aspect_XA_DELETE_WINDOW = Aspect_XAtom.Aspect_XA_DELETE_WINDOW +Description +----------- +Set sun direction. By default this value is (0, 1, 0) Sun direction with negative Y component represents moon with (-X, -Y, -Z) direction. +") SetSunDirection; + void SetSunDirection(const gp_Dir & theSunDirection); -class Aspect_TypeOfTriedronPosition(IntEnum): - 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 -Aspect_TOTP_CENTER = Aspect_TypeOfTriedronPosition.Aspect_TOTP_CENTER -Aspect_TOTP_TOP = Aspect_TypeOfTriedronPosition.Aspect_TOTP_TOP -Aspect_TOTP_BOTTOM = Aspect_TypeOfTriedronPosition.Aspect_TOTP_BOTTOM -Aspect_TOTP_LEFT = Aspect_TypeOfTriedronPosition.Aspect_TOTP_LEFT -Aspect_TOTP_RIGHT = Aspect_TypeOfTriedronPosition.Aspect_TOTP_RIGHT -Aspect_TOTP_LEFT_LOWER = Aspect_TypeOfTriedronPosition.Aspect_TOTP_LEFT_LOWER -Aspect_TOTP_LEFT_UPPER = Aspect_TypeOfTriedronPosition.Aspect_TOTP_LEFT_UPPER -Aspect_TOTP_RIGHT_LOWER = Aspect_TypeOfTriedronPosition.Aspect_TOTP_RIGHT_LOWER -Aspect_TOTP_RIGHT_UPPER = Aspect_TypeOfTriedronPosition.Aspect_TOTP_RIGHT_UPPER + /****** Aspect_SkydomeBackground::SetTimeParameter ******/ + /****** md5 signature: a44786d752ad3eaf0c2cb124be7e0294 ******/ + %feature("compactdefaultargs") SetTimeParameter; + %feature("autodoc", " +Parameters +---------- +theTime: float -class Aspect_GridDrawMode(IntEnum): - Aspect_GDM_Lines = 0 - Aspect_GDM_Points = 1 - Aspect_GDM_None = 2 -Aspect_GDM_Lines = Aspect_GridDrawMode.Aspect_GDM_Lines -Aspect_GDM_Points = Aspect_GridDrawMode.Aspect_GDM_Points -Aspect_GDM_None = Aspect_GridDrawMode.Aspect_GDM_None +Return +------- +None -class Aspect_WidthOfLine(IntEnum): - Aspect_WOL_THIN = 0 - Aspect_WOL_MEDIUM = 1 - Aspect_WOL_THICK = 2 - Aspect_WOL_VERYTHICK = 3 - Aspect_WOL_USERDEFINED = 4 -Aspect_WOL_THIN = Aspect_WidthOfLine.Aspect_WOL_THIN -Aspect_WOL_MEDIUM = Aspect_WidthOfLine.Aspect_WOL_MEDIUM -Aspect_WOL_THICK = Aspect_WidthOfLine.Aspect_WOL_THICK -Aspect_WOL_VERYTHICK = Aspect_WidthOfLine.Aspect_WOL_VERYTHICK -Aspect_WOL_USERDEFINED = Aspect_WidthOfLine.Aspect_WOL_USERDEFINED +Description +----------- +Set time of cloud simulation. By default this value is 0.0 This value might be tweaked to slightly change appearance of clouds. +") SetTimeParameter; + void SetTimeParameter(Standard_ShortReal theTime); -class Aspect_TypeOfDisplayText(IntEnum): - Aspect_TODT_NORMAL = 0 - Aspect_TODT_SUBTITLE = 1 - Aspect_TODT_DEKALE = 2 - Aspect_TODT_BLEND = 3 - Aspect_TODT_DIMENSION = 4 - Aspect_TODT_SHADOW = 5 -Aspect_TODT_NORMAL = Aspect_TypeOfDisplayText.Aspect_TODT_NORMAL -Aspect_TODT_SUBTITLE = Aspect_TypeOfDisplayText.Aspect_TODT_SUBTITLE -Aspect_TODT_DEKALE = Aspect_TypeOfDisplayText.Aspect_TODT_DEKALE -Aspect_TODT_BLEND = Aspect_TypeOfDisplayText.Aspect_TODT_BLEND -Aspect_TODT_DIMENSION = Aspect_TypeOfDisplayText.Aspect_TODT_DIMENSION -Aspect_TODT_SHADOW = Aspect_TypeOfDisplayText.Aspect_TODT_SHADOW + /****** Aspect_SkydomeBackground::Size ******/ + /****** md5 signature: fe6e16e0f1e86558dd017c7384c76cd6 ******/ + %feature("compactdefaultargs") Size; + %feature("autodoc", "Return +------- +int -class Aspect_InteriorStyle(IntEnum): - 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 -Aspect_IS_EMPTY = Aspect_InteriorStyle.Aspect_IS_EMPTY -Aspect_IS_SOLID = Aspect_InteriorStyle.Aspect_IS_SOLID -Aspect_IS_HATCH = Aspect_InteriorStyle.Aspect_IS_HATCH -Aspect_IS_HIDDENLINE = Aspect_InteriorStyle.Aspect_IS_HIDDENLINE -Aspect_IS_POINT = Aspect_InteriorStyle.Aspect_IS_POINT -Aspect_IS_HOLLOW = Aspect_InteriorStyle.Aspect_IS_HOLLOW -}; -/* end python proxy for enums */ +Description +----------- +Get size of cubemap. By default this value is 512. +") Size; + Standard_Integer Size(); -/* handles */ -%wrap_handle(Aspect_DisplayConnection) -%wrap_handle(Aspect_Grid) -%wrap_handle(Aspect_Window) -%wrap_handle(Aspect_XRAction) -%wrap_handle(Aspect_XRActionSet) -%wrap_handle(Aspect_XRSession) -%wrap_handle(Aspect_OpenVRSession) -/* end handles declaration */ + /****** Aspect_SkydomeBackground::SunDirection ******/ + /****** md5 signature: 468ebca31659264b29a8630921783c51 ******/ + %feature("compactdefaultargs") SunDirection; + %feature("autodoc", "Return +------- +gp_Dir -/* templates */ -%template(Aspect_SequenceOfColor) NCollection_Sequence; +Description +----------- +Get sun direction. By default this value is (0, 1, 0) Sun direction with negative Y component represents moon with (-X, -Y, -Z) direction. +") SunDirection; + const gp_Dir SunDirection(); -%extend NCollection_Sequence { - %pythoncode { - def __len__(self): - return self.Size() - } -}; -%template(Aspect_TouchMap) NCollection_IndexedDataMap; -%template(Aspect_TrackedDevicePoseArray) NCollection_Array1; + /****** Aspect_SkydomeBackground::TimeParameter ******/ + /****** md5 signature: cab33c32ebd5264ea67ec9d3936a9232 ******/ + %feature("compactdefaultargs") TimeParameter; + %feature("autodoc", "Return +------- +float -%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) +Description +----------- +Get time of cloud simulation. By default this value is 0.0 This value might be tweaked to slightly change appearance of clouds. +") TimeParameter; + Standard_ShortReal TimeParameter(); - 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(Aspect_XRActionMap) NCollection_IndexedDataMap,TCollection_AsciiString>; -%template(Aspect_XRActionSetMap) NCollection_IndexedDataMap,TCollection_AsciiString>; -/* end templates declaration */ -/* typedefs */ -typedef void * Aspect_Display; -typedef unsigned long Aspect_Drawable; -typedef void * Aspect_FBConfig; -typedef unsigned long Aspect_Handle; -typedef void * Aspect_RenderingContext; -typedef NCollection_Sequence Aspect_SequenceOfColor; -typedef NCollection_IndexedDataMap Aspect_TouchMap; -typedef NCollection_Array1 Aspect_TrackedDevicePoseArray; -typedef unsigned int Aspect_VKey; -typedef unsigned int Aspect_VKeyFlags; -typedef unsigned int Aspect_VKeyMouse; -typedef NCollection_IndexedDataMap, TCollection_AsciiString> Aspect_XRActionMap; -typedef NCollection_IndexedDataMap, TCollection_AsciiString> Aspect_XRActionSetMap; -typedef struct __GLXFBConfigRec * GLXFBConfig; -typedef void * HANDLE; -/* end typedefs declaration */ -/************************** -* class Aspect_Background * -**************************/ -class Aspect_Background { - public: - /****************** Aspect_Background ******************/ - /**** md5 signature: c285d3f164d7d45415123925b55dfa2d ****/ - %feature("compactdefaultargs") Aspect_Background; - %feature("autodoc", "Creates a window background. default color : noc_matragray. +%extend Aspect_SkydomeBackground { + %pythoncode { + __repr__ = _dumps_object + } +}; -Returns +/********************* +* class Aspect_Touch * +*********************/ +class Aspect_Touch { + public: + /****** Aspect_Touch::Aspect_Touch ******/ + /****** md5 signature: a51d1277d944673675b62a1916b1d065 ******/ + %feature("compactdefaultargs") Aspect_Touch; + %feature("autodoc", "Return ------- None -") Aspect_Background; - Aspect_Background(); - /****************** Aspect_Background ******************/ - /**** md5 signature: 5dbd53dd21ee3414ceec63d3dadf45f2 ****/ - %feature("compactdefaultargs") Aspect_Background; - %feature("autodoc", "Creates a window background with the colour . +Description +----------- +Empty constructor. +") Aspect_Touch; + Aspect_Touch(); + /****** Aspect_Touch::Aspect_Touch ******/ + /****** md5 signature: f577ccd3298bca230729e387e7c8ee22 ******/ + %feature("compactdefaultargs") Aspect_Touch; + %feature("autodoc", " Parameters ---------- -AColor: Quantity_Color +thePnt: NCollection_Vec2 +theIsPreciseDevice: bool -Returns +Return ------- None -") Aspect_Background; - Aspect_Background(const Quantity_Color & AColor); - - /****************** Color ******************/ - /**** md5 signature: b37a2e584a895a08fcf8ead60940b246 ****/ - %feature("compactdefaultargs") Color; - %feature("autodoc", "Returns the colour of the window background . - -Returns -------- -Quantity_Color -") Color; - Quantity_Color Color(); +Description +----------- +Constructor with initialization. +") Aspect_Touch; + Aspect_Touch(const NCollection_Vec2 & thePnt, Standard_Boolean theIsPreciseDevice); - %feature("autodoc", "1"); - %extend{ - std::string DumpJsonToString(int depth=-1) { - std::stringstream s; - self->DumpJson(s, depth); - return s.str();} - }; - /****************** SetColor ******************/ - /**** md5 signature: 5aebf70a123538e7dff670112c56db0d ****/ - %feature("compactdefaultargs") SetColor; - %feature("autodoc", "Modifies the colour of the window background . - + /****** Aspect_Touch::Aspect_Touch ******/ + /****** md5 signature: d7a9f77f97f217469aa14c1453a5ec71 ******/ + %feature("compactdefaultargs") Aspect_Touch; + %feature("autodoc", " Parameters ---------- -AColor: Quantity_Color +theX: float +theY: float +theIsPreciseDevice: bool -Returns +Return ------- None -") SetColor; - void SetColor(const Quantity_Color & AColor); + +Description +----------- +Constructor with initialization. +") Aspect_Touch; + Aspect_Touch(Standard_Real theX, Standard_Real theY, Standard_Boolean theIsPreciseDevice); + + /****** Aspect_Touch::Delta ******/ + /****** md5 signature: 633ea93d8b8f65b7d72a9eb7e3592640 ******/ + %feature("compactdefaultargs") Delta; + %feature("autodoc", "Return +------- +NCollection_Vec2 + +Description +----------- +Return values delta. +") Delta; + NCollection_Vec2 Delta(); }; -%extend Aspect_Background { +%extend Aspect_Touch { %pythoncode { __repr__ = _dumps_object } }; /********************************* -* class Aspect_DisplayConnection * +* class Aspect_TrackedDevicePose * *********************************/ -class Aspect_DisplayConnection : public Standard_Transient { +class Aspect_TrackedDevicePose { public: -}; + /****** Aspect_TrackedDevicePose::Aspect_TrackedDevicePose ******/ + /****** md5 signature: 02737e00df27ee4bc5574676177782f9 ******/ + %feature("compactdefaultargs") Aspect_TrackedDevicePose; + %feature("autodoc", "Return +------- +None +Description +----------- +Empty constructor. +") Aspect_TrackedDevicePose; + Aspect_TrackedDevicePose(); -%make_alias(Aspect_DisplayConnection) +}; -%extend Aspect_DisplayConnection { + +%extend Aspect_TrackedDevicePose { %pythoncode { __repr__ = _dumps_object - - @methodnotwrapped - def Aspect_DisplayConnection(self): - pass - - @methodnotwrapped - def GetAtom(self): - pass - - @methodnotwrapped - def GetDisplay(self): - pass - - @methodnotwrapped - def GetDisplayName(self): - pass - - @methodnotwrapped - def Init(self): - pass - - @methodnotwrapped - def IsOwnDisplay(self): - pass } }; -/*************************** -* class Aspect_FrustumLRBT * -***************************/ -/********************* -* class Aspect_GenId * -*********************/ -class Aspect_GenId { +/*********************** +* class Aspect_VKeySet * +***********************/ +class Aspect_VKeySet : public Standard_Transient { public: - /****************** Aspect_GenId ******************/ - /**** md5 signature: 569c368c12c13ee3f3906663aa53662b ****/ - %feature("compactdefaultargs") Aspect_GenId; - %feature("autodoc", "Creates an available set of identifiers with the lower bound 0 and the upper bound int_max / 2. - -Returns + class KeyState {}; + /****** Aspect_VKeySet::Aspect_VKeySet ******/ + /****** md5 signature: 8566e8fc57970db201c78c2232c80056 ******/ + %feature("compactdefaultargs") Aspect_VKeySet; + %feature("autodoc", "Return ------- None -") Aspect_GenId; - Aspect_GenId(); - /****************** Aspect_GenId ******************/ - /**** md5 signature: 3f26c1994924a0cb83cef8d1c5e3f8d3 ****/ - %feature("compactdefaultargs") Aspect_GenId; - %feature("autodoc", "Creates an available set of identifiers with specified range. raises identdefinitionerror if theupper is less than thelow. +Description +----------- +Main constructor. +") Aspect_VKeySet; + Aspect_VKeySet(); + /****** Aspect_VKeySet::DownTime ******/ + /****** md5 signature: 3ce4407cc0d1bbc0d6555aa3d5a3e2b0 ******/ + %feature("compactdefaultargs") DownTime; + %feature("autodoc", " Parameters ---------- -theLow: int -theUpper: int +theKey: Aspect_VKey -Returns +Return ------- -None -") Aspect_GenId; - Aspect_GenId(const Standard_Integer theLow, const Standard_Integer theUpper); +double - /****************** Available ******************/ - /**** md5 signature: 697caaa4e9190a2cfddfe8f6ce24ea8c ****/ - %feature("compactdefaultargs") Available; - %feature("autodoc", "Returns the number of available identifiers. +Description +----------- +Return timestamp of press event. +") DownTime; + double DownTime(Aspect_VKey theKey); + + /****** Aspect_VKeySet::HoldDuration ******/ + /****** md5 signature: d3a6b36f0626be624be57b5a073be7fd ******/ + %feature("compactdefaultargs") HoldDuration; + %feature("autodoc", " +Parameters +---------- +theKey: Aspect_VKey +theTime: double + +Return +------- +theDuration: double + +Description +----------- +Return duration of the button in pressed state. +Parameter theKey key to check +Parameter theTime current time (for computing duration from key down time) +Parameter theDuration key press duration +Return: True if key was in pressed state. +") HoldDuration; + bool HoldDuration(Aspect_VKey theKey, double theTime, Standard_Real &OutValue); + + /****** Aspect_VKeySet::HoldDuration ******/ + /****** md5 signature: c1573ef0fa9ba2fd5946552e14276981 ******/ + %feature("compactdefaultargs") HoldDuration; + %feature("autodoc", " +Parameters +---------- +theKey: Aspect_VKey +theTime: double + +Return +------- +theDuration: double +thePressure: double + +Description +----------- +Return duration of the button in pressed state. +Parameter theKey key to check +Parameter theTime current time (for computing duration from key down time) +Parameter theDuration key press duration +Parameter thePressure key pressure +Return: True if key was in pressed state. +") HoldDuration; + bool HoldDuration(Aspect_VKey theKey, double theTime, Standard_Real &OutValue, Standard_Real &OutValue); + + /****** Aspect_VKeySet::IsFreeKey ******/ + /****** md5 signature: bbd218ecf93898ecf459b9331a00f136 ******/ + %feature("compactdefaultargs") IsFreeKey; + %feature("autodoc", " +Parameters +---------- +theKey: Aspect_VKey -Returns +Return ------- -int -") Available; - Standard_Integer Available(); +bool +Description +----------- +Return True if key is in Free state. +") IsFreeKey; + bool IsFreeKey(Aspect_VKey theKey); - %feature("autodoc", "1"); - %extend{ - std::string DumpJsonToString(int depth=-1) { - std::stringstream s; - self->DumpJson(s, depth); - return s.str();} - }; - /****************** Free ******************/ - /**** md5 signature: adf04b00a0d9dc585c1f31bcdbc395bf ****/ - %feature("compactdefaultargs") Free; - %feature("autodoc", "Free all identifiers - make the whole range available again. + /****** Aspect_VKeySet::IsKeyDown ******/ + /****** md5 signature: 1c60f9b4e5ebb4fb8f0fb2113d64b286 ******/ + %feature("compactdefaultargs") IsKeyDown; + %feature("autodoc", " +Parameters +---------- +theKey: Aspect_VKey -Returns +Return ------- -None -") Free; - void Free(); +bool - /****************** Free ******************/ - /**** md5 signature: 912044af0159c0455ab1de14a2ea922d ****/ - %feature("compactdefaultargs") Free; - %feature("autodoc", "Free specified identifier. warning - method has no protection against double-freeing!. +Description +----------- +Return True if key is in Pressed state. +") IsKeyDown; + bool IsKeyDown(Aspect_VKey theKey); + /****** Aspect_VKeySet::KeyDown ******/ + /****** md5 signature: 3009abb37f57f319280f9ae379b163aa ******/ + %feature("compactdefaultargs") KeyDown; + %feature("autodoc", " Parameters ---------- -theId: int +theKey: Aspect_VKey +theTime: double +thePressure: double (optional, default to 1.0) -Returns +Return ------- None -") Free; - void Free(const Standard_Integer theId); - /****************** HasFree ******************/ - /**** md5 signature: b1851639e312df8e9d1643954f18fb9e ****/ - %feature("compactdefaultargs") HasFree; - %feature("autodoc", "Returns true if there are available identifiers in range. +Description +----------- +Press key. +Parameter theKey key pressed +Parameter theTime event timestamp. +") KeyDown; + void KeyDown(Aspect_VKey theKey, double theTime, double thePressure = 1.0); + + /****** Aspect_VKeySet::KeyFromAxis ******/ + /****** md5 signature: 3db941cede9d9409a6324a91a2be5069 ******/ + %feature("compactdefaultargs") KeyFromAxis; + %feature("autodoc", " +Parameters +---------- +theNegative: Aspect_VKey +thePositive: Aspect_VKey +theTime: double +thePressure: double -Returns +Return ------- -bool -") HasFree; - Standard_Boolean HasFree(); +None - /****************** Lower ******************/ - /**** md5 signature: a2a9f1c3c17fa0f26434aadaabeff45a ****/ - %feature("compactdefaultargs") Lower; - %feature("autodoc", "Returns the lower identifier in range. +Description +----------- +Simulate key up/down events from axis value. +") KeyFromAxis; + void KeyFromAxis(Aspect_VKey theNegative, Aspect_VKey thePositive, double theTime, double thePressure); -Returns -------- -int -") Lower; - Standard_Integer Lower(); + /****** Aspect_VKeySet::KeyUp ******/ + /****** md5 signature: d12e8a77599562d728d7ebfb35b14614 ******/ + %feature("compactdefaultargs") KeyUp; + %feature("autodoc", " +Parameters +---------- +theKey: Aspect_VKey +theTime: double - /****************** Next ******************/ - /**** md5 signature: e7361d634adcab8f63c24d757e1e478e ****/ - %feature("compactdefaultargs") Next; - %feature("autodoc", "Returns the next available identifier. warning: raises identdefinitionerror if all identifiers are busy. +Return +------- +None -Returns +Description +----------- +Release key. +Parameter theKey key pressed +Parameter theTime event timestamp. +") KeyUp; + void KeyUp(Aspect_VKey theKey, double theTime); + + /****** Aspect_VKeySet::Modifiers ******/ + /****** md5 signature: a988577c8f2d9e201ff486761a6a056b ******/ + %feature("compactdefaultargs") Modifiers; + %feature("autodoc", "Return +------- +Aspect_VKeyFlags + +Description +----------- +Return active modifiers. +") Modifiers; + Aspect_VKeyFlags Modifiers(); + + /****** Aspect_VKeySet::Mutex ******/ + /****** md5 signature: 902e13b2343e132a88f2b4c5433ad6d8 ******/ + %feature("compactdefaultargs") Mutex; + %feature("autodoc", "Return +------- +Standard_Mutex + +Description +----------- +Return mutex for thread-safe updates. All operations in class implicitly locks this mutex, so this method could be used only for batch processing of keys. +") Mutex; + Standard_Mutex & Mutex(); + + /****** Aspect_VKeySet::Reset ******/ + /****** md5 signature: 7beb446fe26b948f797f8de87e46c23d ******/ + %feature("compactdefaultargs") Reset; + %feature("autodoc", "Return ------- -int -") Next; - Standard_Integer Next(); +None - /****************** Next ******************/ - /**** md5 signature: 3fd1eee7f153c7ff797dea1b9f67ad85 ****/ - %feature("compactdefaultargs") Next; - %feature("autodoc", "Generates the next available identifier. @param theid [out] generated identifier returns false if all identifiers are busy. +Description +----------- +Reset the key state into unpressed state. +") Reset; + void Reset(); + /****** Aspect_VKeySet::TimeUp ******/ + /****** md5 signature: 4131ea8db309e72b20edf20cb930f105 ******/ + %feature("compactdefaultargs") TimeUp; + %feature("autodoc", " Parameters ---------- +theKey: Aspect_VKey -Returns +Return ------- -theId: int -") Next; - Standard_Boolean Next(Standard_Integer &OutValue); +double - /****************** Upper ******************/ - /**** md5 signature: 621f04fab59b49711e54299100973c4e ****/ - %feature("compactdefaultargs") Upper; - %feature("autodoc", "Returns the upper identifier in range. - -Returns -------- -int -") Upper; - Standard_Integer Upper(); +Description +----------- +Return timestamp of release event. +") TimeUp; + double TimeUp(Aspect_VKey theKey); }; -%extend Aspect_GenId { +%make_alias(Aspect_VKeySet) + +%extend Aspect_VKeySet { %pythoncode { __repr__ = _dumps_object } }; -/******************** -* class Aspect_Grid * -********************/ -%nodefaultctor Aspect_Grid; -class Aspect_Grid : public Standard_Transient { +/********************** +* class Aspect_Window * +**********************/ +%nodefaultctor Aspect_Window; +class Aspect_Window : public Standard_Transient { public: - /****************** Activate ******************/ - /**** md5 signature: 3c1c2136e4be5cb74d5a6a6df9f2730e ****/ - %feature("compactdefaultargs") Activate; - %feature("autodoc", "Activates the grid. the hit method will return gridx and gridx computed according to the steps of the grid. + /****** Aspect_Window::Background ******/ + /****** md5 signature: c745ba92fb6d5e6544856c59b201a620 ******/ + %feature("compactdefaultargs") Background; + %feature("autodoc", "Return +------- +Aspect_Background + +Description +----------- +Returns the window background. +") Background; + Aspect_Background Background(); -Returns + /****** Aspect_Window::BackgroundFillMethod ******/ + /****** md5 signature: 3dc602ad8e5026afe96d15088c7b9833 ******/ + %feature("compactdefaultargs") BackgroundFillMethod; + %feature("autodoc", "Return ------- -None -") Activate; - void Activate(); +Aspect_FillMethod - /****************** Colors ******************/ - /**** md5 signature: febac332dabf87330fc8ae564a90811c ****/ - %feature("compactdefaultargs") Colors; - %feature("autodoc", "Returns the colors of the grid. +Description +----------- +Returns the current image background fill mode. +") BackgroundFillMethod; + Aspect_FillMethod BackgroundFillMethod(); + /****** Aspect_Window::ConvertPointFromBacking ******/ + /****** md5 signature: 621f59446c2c34234eba0b43cd724552 ******/ + %feature("compactdefaultargs") ConvertPointFromBacking; + %feature("autodoc", " Parameters ---------- -aColor: Quantity_Color -aTenthColor: Quantity_Color +thePnt: Graphic3d_Vec2d -Returns +Return ------- -None -") Colors; - void Colors(Quantity_Color & aColor, Quantity_Color & aTenthColor); +Graphic3d_Vec2d - /****************** Compute ******************/ - /**** md5 signature: f2dc3bb20b3dea64f42829e338efc410 ****/ - %feature("compactdefaultargs") Compute; - %feature("autodoc", "Returns the point of the grid the closest to the point x,y. +Description +----------- +Convert point from backing store units to logical units. +") ConvertPointFromBacking; + virtual Graphic3d_Vec2d ConvertPointFromBacking(const Graphic3d_Vec2d & thePnt); + /****** Aspect_Window::ConvertPointToBacking ******/ + /****** md5 signature: 37a4876c01cca0dee435e17d82ae73d5 ******/ + %feature("compactdefaultargs") ConvertPointToBacking; + %feature("autodoc", " Parameters ---------- -X: float -Y: float +thePnt: Graphic3d_Vec2d -Returns +Return ------- -gridX: float -gridY: float -") Compute; - virtual void Compute(const Standard_Real X, const Standard_Real Y, Standard_Real &OutValue, Standard_Real &OutValue); +Graphic3d_Vec2d - /****************** Deactivate ******************/ - /**** md5 signature: d5b1d14a550597a64031c7a7feceee08 ****/ - %feature("compactdefaultargs") Deactivate; - %feature("autodoc", "Deactivates the grid. the hit method will return gridx and gridx as the enter value x & y. +Description +----------- +Convert point from logical units into backing store units. +") ConvertPointToBacking; + virtual Graphic3d_Vec2d ConvertPointToBacking(const Graphic3d_Vec2d & thePnt); -Returns + /****** Aspect_Window::DevicePixelRatio ******/ + /****** md5 signature: 6492ff955dcc6243b26fa4c3bdea7bf0 ******/ + %feature("compactdefaultargs") DevicePixelRatio; + %feature("autodoc", "Return ------- -None -") Deactivate; - void Deactivate(); +float - /****************** Display ******************/ - /**** md5 signature: a5bb9d443eb910f59769ed67aea52525 ****/ - %feature("compactdefaultargs") Display; - %feature("autodoc", "Display the grid at screen. +Description +----------- +Return device pixel ratio (logical to backing store scale factor). +") DevicePixelRatio; + virtual Standard_Real DevicePixelRatio(); -Returns + /****** Aspect_Window::Dimensions ******/ + /****** md5 signature: 7e270212c8ea0579f85528495512097b ******/ + %feature("compactdefaultargs") Dimensions; + %feature("autodoc", "Return ------- -None -") Display; - virtual void Display(); +Graphic3d_Vec2i - /****************** DrawMode ******************/ - /**** md5 signature: 820acf5cdbd9b081ca2fdb9e8fa43978 ****/ - %feature("compactdefaultargs") DrawMode; - %feature("autodoc", "Returns the grid aspect. +Description +----------- +Returns window dimensions. +") Dimensions; + Graphic3d_Vec2i Dimensions(); -Returns + /****** Aspect_Window::DisplayConnection ******/ + /****** md5 signature: 411dcd7f318927d5a5c6c027eda3726a ******/ + %feature("compactdefaultargs") DisplayConnection; + %feature("autodoc", "Return ------- -Aspect_GridDrawMode -") DrawMode; - Aspect_GridDrawMode DrawMode(); +opencascade::handle +Description +----------- +Returns connection to Display or NULL. +") DisplayConnection; + const opencascade::handle & DisplayConnection(); - %feature("autodoc", "1"); - %extend{ - std::string DumpJsonToString(int depth=-1) { - std::stringstream s; - self->DumpJson(s, depth); - return s.str();} - }; - /****************** Erase ******************/ - /**** md5 signature: c55517fe39ff6c9fe42803167b097498 ****/ - %feature("compactdefaultargs") Erase; - %feature("autodoc", "Erase the grid from screen. + /****** Aspect_Window::DoMapping ******/ + /****** md5 signature: bccedbb13c087bbcb0fdc2dc4be5fafa ******/ + %feature("compactdefaultargs") DoMapping; + %feature("autodoc", "Return +------- +bool + +Description +----------- +Apply the mapping change to the window . and returns True if the window is mapped at screen. +") DoMapping; + virtual Standard_Boolean DoMapping(); -Returns + /****** Aspect_Window::DoResize ******/ + /****** md5 signature: 53e251c7364926b7f0881bdd95b8bb10 ******/ + %feature("compactdefaultargs") DoResize; + %feature("autodoc", "Return ------- -None -") Erase; - virtual void Erase(); +Aspect_TypeOfResize + +Description +----------- +Apply the resizing to the window . +") DoResize; + virtual Aspect_TypeOfResize DoResize(); - /****************** Hit ******************/ - /**** md5 signature: a0d754d9f4e2a7f6a6b3cbe673f29375 ****/ - %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. + /****************** DumpJson ******************/ + %feature("autodoc", " Parameters ---------- -X: float -Y: float - -Returns +depth: int, default=-1 + +Return +------- +str + +Description +----------- +Dump the object to JSON string. +") DumpJson; + %extend{ + std::string DumpJson(int depth=-1) { + std::stringstream s; + self->DumpJson(s, depth); + return "{" + s.str() + "}" ;} + }; + /****** Aspect_Window::GradientBackground ******/ + /****** md5 signature: d48840592ec4f12118e8b8d065c33698 ******/ + %feature("compactdefaultargs") GradientBackground; + %feature("autodoc", "Return ------- -gridX: float -gridY: float -") Hit; - void Hit(const Standard_Real X, const Standard_Real Y, Standard_Real &OutValue, Standard_Real &OutValue); +Aspect_GradientBackground - /****************** Init ******************/ - /**** md5 signature: ae70d610df2081e50f19659c49fb9bd4 ****/ - %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. +Description +----------- +Returns the window gradient background. +") GradientBackground; + Aspect_GradientBackground GradientBackground(); + + /****** Aspect_Window::InvalidateContent ******/ + /****** md5 signature: c3842a52e192571bdc8176fffa5e2159 ******/ + %feature("compactdefaultargs") InvalidateContent; + %feature("autodoc", " +Parameters +---------- +theDisp: Aspect_DisplayConnection -Returns +Return ------- None -") Init; - virtual void Init(); - /****************** IsActive ******************/ - /**** md5 signature: 1430a89053d4b0413f25b185201efe70 ****/ - %feature("compactdefaultargs") IsActive; - %feature("autodoc", "Returns true when the grid is active. +Description +----------- +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. +") InvalidateContent; + virtual void InvalidateContent(const opencascade::handle & theDisp); -Returns + /****** Aspect_Window::IsMapped ******/ + /****** md5 signature: 4d5cfb66280177c9e63a17b79e45005f ******/ + %feature("compactdefaultargs") IsMapped; + %feature("autodoc", "Return ------- bool -") IsActive; - Standard_Boolean IsActive(); - /****************** IsDisplayed ******************/ - /**** md5 signature: f0a946c4c132eaa80b7a2b5b8752ab0c ****/ - %feature("compactdefaultargs") IsDisplayed; - %feature("autodoc", "Returns true when the grid is displayed at screen. +Description +----------- +Returns True if the window is opened and False if the window is closed. +") IsMapped; + virtual Standard_Boolean IsMapped(); + + /****** Aspect_Window::IsVirtual ******/ + /****** md5 signature: 6b108b5483133abeb2e67cd521931989 ******/ + %feature("compactdefaultargs") IsVirtual; + %feature("autodoc", "Return +------- +bool + +Description +----------- +Returns True if the window is virtual. +") IsVirtual; + Standard_Boolean IsVirtual(); + + /****** Aspect_Window::Map ******/ + /****** md5 signature: 0e63cf65e00294792f8d62b1c43bea62 ******/ + %feature("compactdefaultargs") Map; + %feature("autodoc", "Return +------- +None + +Description +----------- +Opens the window . +") Map; + virtual void Map(); -Returns + /****** Aspect_Window::NativeFBConfig ******/ + /****** md5 signature: 4c353bf7a84ef94261f833f6d54eaa5e ******/ + %feature("compactdefaultargs") NativeFBConfig; + %feature("autodoc", "Return ------- -bool -") IsDisplayed; - virtual Standard_Boolean IsDisplayed(); +Aspect_FBConfig - /****************** Rotate ******************/ - /**** md5 signature: ba6155601a6a3ebf5db401b4fcb0cac9 ****/ - %feature("compactdefaultargs") Rotate; - %feature("autodoc", "Rotate the grid from a relative angle. +Description +----------- +Returns native Window FB config (GLXFBConfig on Xlib). +") NativeFBConfig; + virtual Aspect_FBConfig NativeFBConfig(); + /****** Aspect_Window::Position ******/ + /****** md5 signature: 30fa6ef63eb4cfa1d4d0a6a072935a04 ******/ + %feature("compactdefaultargs") Position; + %feature("autodoc", " Parameters ---------- -anAngle: float -Returns +Return ------- -None -") Rotate; - void Rotate(const Standard_Real anAngle); +X1: int +Y1: int +X2: int +Y2: int - /****************** RotationAngle ******************/ - /**** md5 signature: 6c7adcb07df938548950d9bd86bc732a ****/ - %feature("compactdefaultargs") RotationAngle; - %feature("autodoc", "Returns the x angle of the grid. +Description +----------- +Returns The Window POSITION in PIXEL. +") Position; + virtual void Position(Standard_Integer &OutValue, Standard_Integer &OutValue, Standard_Integer &OutValue, Standard_Integer &OutValue); -Returns + /****** Aspect_Window::Ratio ******/ + /****** md5 signature: d40ca1d2627bbb87a34e5c89b2c7db06 ******/ + %feature("compactdefaultargs") Ratio; + %feature("autodoc", "Return ------- float -") RotationAngle; - Standard_Real RotationAngle(); - /****************** SetColors ******************/ - /**** md5 signature: f81cf1490ceea17485c0de0269e7ec9c ****/ - %feature("compactdefaultargs") SetColors; - %feature("autodoc", "Change the colors of the grid. +Description +----------- +Returns The Window RATIO equal to the physical WIDTH/HEIGHT dimensions. +") Ratio; + virtual Standard_Real Ratio(); + /****** Aspect_Window::SetBackground ******/ + /****** md5 signature: 1060a0f428ba58a6057f242d39040d7b ******/ + %feature("compactdefaultargs") SetBackground; + %feature("autodoc", " Parameters ---------- -aColor: Quantity_Color -aTenthColor: Quantity_Color +theBack: Aspect_Background -Returns +Return ------- None -") SetColors; - virtual void SetColors(const Quantity_Color & aColor, const Quantity_Color & aTenthColor); - /****************** SetDrawMode ******************/ - /**** md5 signature: ee6037d77208349cb9a8e316a9952fc6 ****/ - %feature("compactdefaultargs") SetDrawMode; - %feature("autodoc", "Change the grid aspect. +Description +----------- +Modifies the window background. +") SetBackground; + void SetBackground(const Aspect_Background & theBack); + /****** Aspect_Window::SetBackground ******/ + /****** md5 signature: cbe59d034bfe68360b6e7b8aeecdb1e1 ******/ + %feature("compactdefaultargs") SetBackground; + %feature("autodoc", " Parameters ---------- -aDrawMode: Aspect_GridDrawMode +theColor: Quantity_Color -Returns +Return ------- None -") SetDrawMode; - void SetDrawMode(const Aspect_GridDrawMode aDrawMode); - /****************** SetRotationAngle ******************/ - /**** md5 signature: f85165df588b8bb105e7c1fc95c0038c ****/ - %feature("compactdefaultargs") SetRotationAngle; - %feature("autodoc", "Defines the orientation of the grid. +Description +----------- +Modifies the window background. +") SetBackground; + void SetBackground(const Quantity_Color & theColor); + /****** Aspect_Window::SetBackground ******/ + /****** md5 signature: f4e2412715795dcef62591ecfa331106 ******/ + %feature("compactdefaultargs") SetBackground; + %feature("autodoc", " Parameters ---------- -anAngle: float +theBackground: Aspect_GradientBackground -Returns +Return ------- None -") SetRotationAngle; - void SetRotationAngle(const Standard_Real anAngle); - /****************** SetXOrigin ******************/ - /**** md5 signature: 5f29e91eabd84d1fb448e2f1a42216fa ****/ - %feature("compactdefaultargs") SetXOrigin; - %feature("autodoc", "Defines the x origin of the grid. +Description +----------- +Modifies the window gradient background. +") SetBackground; + void SetBackground(const Aspect_GradientBackground & theBackground); + /****** Aspect_Window::SetBackground ******/ + /****** md5 signature: 333d66c15042163afcf370e304fa7b6a ******/ + %feature("compactdefaultargs") SetBackground; + %feature("autodoc", " Parameters ---------- -anOrigin: float +theFirstColor: Quantity_Color +theSecondColor: Quantity_Color +theFillMethod: Aspect_GradientFillMethod -Returns +Return ------- None -") SetXOrigin; - void SetXOrigin(const Standard_Real anOrigin); - /****************** SetYOrigin ******************/ - /**** md5 signature: 8ae28e02e415aeae0cabe4ebeb845aac ****/ - %feature("compactdefaultargs") SetYOrigin; - %feature("autodoc", "Defines the y origin of the grid. +Description +----------- +Modifies the window gradient background. +") SetBackground; + void SetBackground(const Quantity_Color & theFirstColor, const Quantity_Color & theSecondColor, const Aspect_GradientFillMethod theFillMethod); + /****** Aspect_Window::SetTitle ******/ + /****** md5 signature: e6432d7e27226322b8262b3f3f4d5a28 ******/ + %feature("compactdefaultargs") SetTitle; + %feature("autodoc", " Parameters ---------- -anOrigin: float +theTitle: str -Returns +Return ------- None -") SetYOrigin; - void SetYOrigin(const Standard_Real anOrigin); - /****************** Translate ******************/ - /**** md5 signature: 2c4d53c487acc4e66ea6ff494e659356 ****/ - %feature("compactdefaultargs") Translate; - %feature("autodoc", "Translate the grid from a relative distance. +Description +----------- +Sets window title. +") SetTitle; + virtual void SetTitle(TCollection_AsciiString theTitle); + /****** Aspect_Window::SetVirtual ******/ + /****** md5 signature: f013b7099e5195f3ad8ac5f9c350083a ******/ + %feature("compactdefaultargs") SetVirtual; + %feature("autodoc", " Parameters ---------- -aDx: float -aDy: float +theVirtual: bool -Returns +Return ------- None -") Translate; - void Translate(const Standard_Real aDx, const Standard_Real aDy); - /****************** XOrigin ******************/ - /**** md5 signature: 2ca8cc35b96fb011ff973786f0ef31b1 ****/ - %feature("compactdefaultargs") XOrigin; - %feature("autodoc", "Returns the x origin of the grid. +Description +----------- +Setup the virtual state. +") SetVirtual; + void SetVirtual(const Standard_Boolean theVirtual); + + /****** Aspect_Window::Size ******/ + /****** md5 signature: 5ff69e0e67e54ec54de4bd366eb3aa6a ******/ + %feature("compactdefaultargs") Size; + %feature("autodoc", " +Parameters +---------- -Returns +Return ------- -float -") XOrigin; - Standard_Real XOrigin(); +Width: int +Height: int - /****************** YOrigin ******************/ - /**** md5 signature: 7f8bdf33836dd27df5ea3c3e718919d0 ****/ - %feature("compactdefaultargs") YOrigin; - %feature("autodoc", "Returns the x origin of the grid. +Description +----------- +Returns The Window SIZE in PIXEL. +") Size; + virtual void Size(Standard_Integer &OutValue, Standard_Integer &OutValue); -Returns + /****** Aspect_Window::TopLeft ******/ + /****** md5 signature: 3da1646606e47f0bfb9b901a144b8b7a ******/ + %feature("compactdefaultargs") TopLeft; + %feature("autodoc", "Return ------- -float -") YOrigin; - Standard_Real YOrigin(); +Graphic3d_Vec2i + +Description +----------- +Returns window top-left corner. +") TopLeft; + Graphic3d_Vec2i TopLeft(); + + /****** Aspect_Window::Unmap ******/ + /****** md5 signature: 2681daf3d4beece6a894fb54cb645818 ******/ + %feature("compactdefaultargs") Unmap; + %feature("autodoc", "Return +------- +None + +Description +----------- +Closes the window . +") Unmap; + virtual void Unmap(); }; -%make_alias(Aspect_Grid) +%make_alias(Aspect_Window) -%extend Aspect_Grid { +%extend Aspect_Window { %pythoncode { __repr__ = _dumps_object + + @methodnotwrapped + def NativeHandle(self): + pass + + @methodnotwrapped + def NativeParentHandle(self): + pass } }; -/*************************** -* class Aspect_ScrollDelta * -***************************/ -class Aspect_ScrollDelta { +/*********************************** +* class Aspect_WindowInputListener * +***********************************/ +%nodefaultctor Aspect_WindowInputListener; +class Aspect_WindowInputListener { public: - float Delta; - Aspect_VKeyFlags Flags; - /****************** Aspect_ScrollDelta ******************/ - /**** md5 signature: 0d3fcbaf34563dcd0f20bf50c1b22bc1 ****/ - %feature("compactdefaultargs") Aspect_ScrollDelta; - %feature("autodoc", "Empty constructor. - -Returns -------- -None -") Aspect_ScrollDelta; - Aspect_ScrollDelta(); - - /****************** Aspect_ScrollDelta ******************/ - /**** md5 signature: f8460f2fd92f69dbd6ae1c79508cf38b ****/ - %feature("compactdefaultargs") Aspect_ScrollDelta; - %feature("autodoc", "Constructor. - + /****** Aspect_WindowInputListener::AddTouchPoint ******/ + /****** md5 signature: 93b82d6d34eb813c208bc4163ef671c4 ******/ + %feature("compactdefaultargs") AddTouchPoint; + %feature("autodoc", " Parameters ---------- -thePnt: NCollection_Vec2 -theValue: float -theFlags: Aspect_VKeyFlags,optional - default value is Aspect_VKeyFlags_NONE +theId: Standard_Size +thePnt: Graphic3d_Vec2d +theClearBefore: bool (optional, default to false) -Returns +Return ------- None -") Aspect_ScrollDelta; - Aspect_ScrollDelta(const NCollection_Vec2 & thePnt, Standard_Real theValue, Aspect_VKeyFlags theFlags = Aspect_VKeyFlags_NONE); - /****************** Aspect_ScrollDelta ******************/ - /**** md5 signature: 4c6a15a03d5e8065050d3ebd39119299 ****/ - %feature("compactdefaultargs") Aspect_ScrollDelta; - %feature("autodoc", "Constructor with undefined point. - -Parameters ----------- -theValue: float -theFlags: Aspect_VKeyFlags,optional - default value is Aspect_VKeyFlags_NONE - -Returns +Description +----------- +Add touch point with the given ID. This method is expected to be called from UI thread. +Parameter theId touch unique identifier +Parameter thePnt touch coordinates +Parameter theClearBefore if True previously registered touches will be removed. +") AddTouchPoint; + virtual void AddTouchPoint(Standard_Size theId, const Graphic3d_Vec2d & thePnt, Standard_Boolean theClearBefore = false); + + /****** Aspect_WindowInputListener::Change3dMouseIsNoRotate ******/ + /****** md5 signature: b2ff1af628a01e66606ed582c146ef69 ******/ + %feature("compactdefaultargs") Change3dMouseIsNoRotate; + %feature("autodoc", "Return +------- +NCollection_Vec3 + +Description +----------- +Return 3d mouse rotation axes (tilt/roll/spin) ignore flag; (False, False, False) by default. +") Change3dMouseIsNoRotate; + NCollection_Vec3 & Change3dMouseIsNoRotate(); + + /****** Aspect_WindowInputListener::Change3dMouseToReverse ******/ + /****** md5 signature: 74994d53f8199fd2049bc1854acbcdb2 ******/ + %feature("compactdefaultargs") Change3dMouseToReverse; + %feature("autodoc", "Return +------- +NCollection_Vec3 + +Description +----------- +Return 3d mouse rotation axes (tilt/roll/spin) reverse flag; (True, False, False) by default. +") Change3dMouseToReverse; + NCollection_Vec3 & Change3dMouseToReverse(); + + /****** Aspect_WindowInputListener::ChangeKeys ******/ + /****** md5 signature: 5ba331e57bcd00b6539ab5d9145324ac ******/ + %feature("compactdefaultargs") ChangeKeys; + %feature("autodoc", "Return +------- +Aspect_VKeySet + +Description +----------- +Return keyboard state. +") ChangeKeys; + Aspect_VKeySet & ChangeKeys(); + + /****** Aspect_WindowInputListener::EventTime ******/ + /****** md5 signature: 6bdc5b17561b5be0e9e4dbdd76a72ace ******/ + %feature("compactdefaultargs") EventTime; + %feature("autodoc", "Return +------- +double + +Description +----------- +Return event time (e.g. current time). +") EventTime; + double EventTime(); + + /****** Aspect_WindowInputListener::Get3dMouseIsNoRotate ******/ + /****** md5 signature: ae14b65261c4d2a6b12679cc1f5c5ed4 ******/ + %feature("compactdefaultargs") Get3dMouseIsNoRotate; + %feature("autodoc", "Return +------- +NCollection_Vec3 + +Description +----------- +Return 3d mouse rotation axes (tilt/roll/spin) ignore flag; (False, False, False) by default. +") Get3dMouseIsNoRotate; + const NCollection_Vec3 & Get3dMouseIsNoRotate(); + + /****** Aspect_WindowInputListener::Get3dMouseRotationScale ******/ + /****** md5 signature: 6e7927184907412546b0e3bf5c131f00 ******/ + %feature("compactdefaultargs") Get3dMouseRotationScale; + %feature("autodoc", "Return ------- -None -") Aspect_ScrollDelta; - Aspect_ScrollDelta(Standard_Real theValue, Aspect_VKeyFlags theFlags = Aspect_VKeyFlags_NONE); +float - /****************** HasPoint ******************/ - /**** md5 signature: 314e70d3c9f0b28261d75c0c6244be38 ****/ - %feature("compactdefaultargs") HasPoint; - %feature("autodoc", "Return true if action has point defined. +Description +----------- +Return acceleration ratio for rotation event; 4.0 by default. +") Get3dMouseRotationScale; + float Get3dMouseRotationScale(); -Returns + /****** Aspect_WindowInputListener::Get3dMouseToReverse ******/ + /****** md5 signature: a365f1e9e4397aece1eb44aa7383f6d5 ******/ + %feature("compactdefaultargs") Get3dMouseToReverse; + %feature("autodoc", "Return ------- -bool -") HasPoint; - bool HasPoint(); +NCollection_Vec3 - /****************** ResetPoint ******************/ - /**** md5 signature: d4f07a32710ac608e876db8058caee64 ****/ - %feature("compactdefaultargs") ResetPoint; - %feature("autodoc", "Reset at point. +Description +----------- +Return 3d mouse rotation axes (tilt/roll/spin) reverse flag; (True, False, False) by default. +") Get3dMouseToReverse; + const NCollection_Vec3 & Get3dMouseToReverse(); -Returns + /****** Aspect_WindowInputListener::Get3dMouseTranslationScale ******/ + /****** md5 signature: f426a4558b5227de61530d9d20b93e7e ******/ + %feature("compactdefaultargs") Get3dMouseTranslationScale; + %feature("autodoc", "Return ------- -None -") ResetPoint; - void ResetPoint(); +float -}; +Description +----------- +Return acceleration ratio for translation event; 2.0 by default. +") Get3dMouseTranslationScale; + float Get3dMouseTranslationScale(); + /****** Aspect_WindowInputListener::HasTouchPoints ******/ + /****** md5 signature: f6532233e79841283a6d00ea2e7477d5 ******/ + %feature("compactdefaultargs") HasTouchPoints; + %feature("autodoc", "Return +------- +bool -%extend Aspect_ScrollDelta { - %pythoncode { - __repr__ = _dumps_object - } -}; +Description +----------- +Return True if touches map is not empty. +") HasTouchPoints; + bool HasTouchPoints(); -/********************* -* class Aspect_Touch * -*********************/ -class Aspect_Touch { - public: - bool IsPreciseDevice; - /****************** Aspect_Touch ******************/ - /**** md5 signature: a51d1277d944673675b62a1916b1d065 ****/ - %feature("compactdefaultargs") Aspect_Touch; - %feature("autodoc", "Empty constructor. + /****** Aspect_WindowInputListener::KeyDown ******/ + /****** md5 signature: 5192d78be0f66dc0b2cf998103ed19af ******/ + %feature("compactdefaultargs") KeyDown; + %feature("autodoc", " +Parameters +---------- +theKey: Aspect_VKey +theTime: double +thePressure: double (optional, default to 1.0) -Returns +Return ------- None -") Aspect_Touch; - Aspect_Touch(); - - /****************** Aspect_Touch ******************/ - /**** md5 signature: f577ccd3298bca230729e387e7c8ee22 ****/ - %feature("compactdefaultargs") Aspect_Touch; - %feature("autodoc", "Constructor with initialization. +Description +----------- +Press key. Default implementation updates internal cache. +Parameter theKey key pressed +Parameter theTime event timestamp. +") KeyDown; + virtual void KeyDown(Aspect_VKey theKey, double theTime, double thePressure = 1.0); + + /****** Aspect_WindowInputListener::KeyFromAxis ******/ + /****** md5 signature: a8592c856484d5ea635556005b4dbf66 ******/ + %feature("compactdefaultargs") KeyFromAxis; + %feature("autodoc", " Parameters ---------- -thePnt: NCollection_Vec2 -theIsPreciseDevice: bool +theNegative: Aspect_VKey +thePositive: Aspect_VKey +theTime: double +thePressure: double -Returns +Return ------- None -") Aspect_Touch; - Aspect_Touch(const NCollection_Vec2 & thePnt, Standard_Boolean theIsPreciseDevice); - /****************** Aspect_Touch ******************/ - /**** md5 signature: d7a9f77f97f217469aa14c1453a5ec71 ****/ - %feature("compactdefaultargs") Aspect_Touch; - %feature("autodoc", "Constructor with initialization. +Description +----------- +Simulate key up/down events from axis value. Default implementation updates internal cache. +") KeyFromAxis; + virtual void KeyFromAxis(Aspect_VKey theNegative, Aspect_VKey thePositive, double theTime, double thePressure); + /****** Aspect_WindowInputListener::KeyUp ******/ + /****** md5 signature: facf026fe52d5d68e622d779a08b26c3 ******/ + %feature("compactdefaultargs") KeyUp; + %feature("autodoc", " Parameters ---------- -theX: float -theY: float -theIsPreciseDevice: bool +theKey: Aspect_VKey +theTime: double -Returns +Return ------- None -") Aspect_Touch; - Aspect_Touch(Standard_Real theX, Standard_Real theY, Standard_Boolean theIsPreciseDevice); - /****************** Delta ******************/ - /**** md5 signature: 633ea93d8b8f65b7d72a9eb7e3592640 ****/ - %feature("compactdefaultargs") Delta; - %feature("autodoc", "Return values delta. +Description +----------- +Release key. Default implementation updates internal cache. +Parameter theKey key pressed +Parameter theTime event timestamp. +") KeyUp; + virtual void KeyUp(Aspect_VKey theKey, double theTime); + + /****** Aspect_WindowInputListener::Keys ******/ + /****** md5 signature: 71088904ae13bced99cf6e1155c58478 ******/ + %feature("compactdefaultargs") Keys; + %feature("autodoc", "Return +------- +Aspect_VKeySet + +Description +----------- +Return keyboard state. +") Keys; + const Aspect_VKeySet & Keys(); + + /****** Aspect_WindowInputListener::LastMouseFlags ******/ + /****** md5 signature: 891e38e0b645d78e87ef09c802ac2d63 ******/ + %feature("compactdefaultargs") LastMouseFlags; + %feature("autodoc", "Return +------- +Aspect_VKeyFlags + +Description +----------- +Return active key modifiers passed with last mouse event. +") LastMouseFlags; + Aspect_VKeyFlags LastMouseFlags(); + + /****** Aspect_WindowInputListener::LastMousePosition ******/ + /****** md5 signature: 69040771a57339f922c8a0c6021122bb ******/ + %feature("compactdefaultargs") LastMousePosition; + %feature("autodoc", "Return +------- +Graphic3d_Vec2i + +Description +----------- +Return last mouse position. +") LastMousePosition; + const Graphic3d_Vec2i & LastMousePosition(); + + /****** Aspect_WindowInputListener::PressMouseButton ******/ + /****** md5 signature: 3011ceaa0add6213ae689425180a9aab ******/ + %feature("compactdefaultargs") PressMouseButton; + %feature("autodoc", " +Parameters +---------- +thePoint: Graphic3d_Vec2i +theButton: Aspect_VKeyMouse +theModifiers: Aspect_VKeyFlags +theIsEmulated: bool -Returns +Return ------- -NCollection_Vec2 -") Delta; - NCollection_Vec2 Delta(); - -}; - - -%extend Aspect_Touch { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/********************************* -* class Aspect_TrackedDevicePose * -*********************************/ -class Aspect_TrackedDevicePose { - public: - gp_Trsf Orientation; - gp_Vec Velocity; - gp_Vec AngularVelocity; - bool IsValidPose; - bool IsConnectedDevice; - /****************** Aspect_TrackedDevicePose ******************/ - /**** md5 signature: 02737e00df27ee4bc5574676177782f9 ****/ - %feature("compactdefaultargs") Aspect_TrackedDevicePose; - %feature("autodoc", "Empty constructor. +bool -Returns +Description +----------- +Handle mouse button press event. This method is expected to be called from UI thread. Default implementation redirects to UpdateMousePosition(). +Parameter thePoint mouse cursor position +Parameter theButton pressed button +Parameter theModifiers key modifiers +Parameter theIsEmulated if True then mouse event comes NOT from real mouse but emulated from non-precise input like touch on screen +Return: True if window content should be redrawn. +") PressMouseButton; + bool PressMouseButton(const Graphic3d_Vec2i & thePoint, Aspect_VKeyMouse theButton, Aspect_VKeyFlags theModifiers, bool theIsEmulated); + + /****** Aspect_WindowInputListener::PressedMouseButtons ******/ + /****** md5 signature: 28ea733557be0052235dc8a7fe3ed119 ******/ + %feature("compactdefaultargs") PressedMouseButtons; + %feature("autodoc", "Return +------- +Aspect_VKeyMouse + +Description +----------- +Return currently pressed mouse buttons. +") PressedMouseButtons; + Aspect_VKeyMouse PressedMouseButtons(); + + /****** Aspect_WindowInputListener::ProcessClose ******/ + /****** md5 signature: 59654ad0d3a6816d4daa90e13a580cde ******/ + %feature("compactdefaultargs") ProcessClose; + %feature("autodoc", "Return ------- None -") Aspect_TrackedDevicePose; - Aspect_TrackedDevicePose(); - -}; - - -%extend Aspect_TrackedDevicePose { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/********************** -* class Aspect_Window * -**********************/ -%nodefaultctor Aspect_Window; -class Aspect_Window : public Standard_Transient { - public: - /****************** Background ******************/ - /**** md5 signature: c745ba92fb6d5e6544856c59b201a620 ****/ - %feature("compactdefaultargs") Background; - %feature("autodoc", "Returns the window background. - -Returns -------- -Aspect_Background -") Background; - Aspect_Background Background(); - /****************** BackgroundFillMethod ******************/ - /**** md5 signature: 3dc602ad8e5026afe96d15088c7b9833 ****/ - %feature("compactdefaultargs") BackgroundFillMethod; - %feature("autodoc", "Returns the current image background fill mode. - -Returns -------- -Aspect_FillMethod -") BackgroundFillMethod; - Aspect_FillMethod BackgroundFillMethod(); +Description +----------- +Handle window close event. +") ProcessClose; + virtual void ProcessClose(); - /****************** DoMapping ******************/ - /**** md5 signature: bccedbb13c087bbcb0fdc2dc4be5fafa ****/ - %feature("compactdefaultargs") DoMapping; - %feature("autodoc", "Apply the mapping change to the window . and returns true if the window is mapped at screen. + /****** Aspect_WindowInputListener::ProcessConfigure ******/ + /****** md5 signature: ca30e387334b4284a619ea054d2c8c75 ******/ + %feature("compactdefaultargs") ProcessConfigure; + %feature("autodoc", " +Parameters +---------- +theIsResized: bool -Returns +Return ------- -bool -") DoMapping; - virtual Standard_Boolean DoMapping(); +None - /****************** DoResize ******************/ - /**** md5 signature: 53e251c7364926b7f0881bdd95b8bb10 ****/ - %feature("compactdefaultargs") DoResize; - %feature("autodoc", "Apply the resizing to the window . +Description +----------- +Handle window resize event. +") ProcessConfigure; + virtual void ProcessConfigure(bool theIsResized); -Returns + /****** Aspect_WindowInputListener::ProcessExpose ******/ + /****** md5 signature: f597030918979508d41a1535a55a52da ******/ + %feature("compactdefaultargs") ProcessExpose; + %feature("autodoc", "Return ------- -Aspect_TypeOfResize -") DoResize; - virtual Aspect_TypeOfResize DoResize(); +None +Description +----------- +Handle expose event (window content has been invalidation and should be redrawn). +") ProcessExpose; + virtual void ProcessExpose(); - %feature("autodoc", "1"); - %extend{ - std::string DumpJsonToString(int depth=-1) { - std::stringstream s; - self->DumpJson(s, depth); - return s.str();} - }; - /****************** GradientBackground ******************/ - /**** md5 signature: d48840592ec4f12118e8b8d065c33698 ****/ - %feature("compactdefaultargs") GradientBackground; - %feature("autodoc", "Returns the window gradient background. + /****** Aspect_WindowInputListener::ProcessFocus ******/ + /****** md5 signature: 62ed591bdb7901b7386a340b9d7b2f9b ******/ + %feature("compactdefaultargs") ProcessFocus; + %feature("autodoc", " +Parameters +---------- +theIsActivated: bool -Returns +Return ------- -Aspect_GradientBackground -") GradientBackground; - Aspect_GradientBackground GradientBackground(); - - /****************** InvalidateContent ******************/ - /**** md5 signature: c3842a52e192571bdc8176fffa5e2159 ****/ - %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. +None -Parameters ----------- -theDisp: Aspect_DisplayConnection +Description +----------- +Handle focus event. +") ProcessFocus; + virtual void ProcessFocus(bool theIsActivated); -Returns + /****** Aspect_WindowInputListener::ProcessInput ******/ + /****** md5 signature: 25eccaa30cc27b2a88e167899d319730 ******/ + %feature("compactdefaultargs") ProcessInput; + %feature("autodoc", "Return ------- None -") InvalidateContent; - virtual void InvalidateContent(const opencascade::handle & theDisp); - /****************** IsMapped ******************/ - /**** md5 signature: 4d5cfb66280177c9e63a17b79e45005f ****/ - %feature("compactdefaultargs") IsMapped; - %feature("autodoc", "Returns true if the window is opened and false if the window is closed. +Description +----------- +Handle window input event immediately (flush input buffer or ignore). +") ProcessInput; + virtual void ProcessInput(); + + /****** Aspect_WindowInputListener::ReleaseMouseButton ******/ + /****** md5 signature: a9b43da8768564266828a78fde53802f ******/ + %feature("compactdefaultargs") ReleaseMouseButton; + %feature("autodoc", " +Parameters +---------- +thePoint: Graphic3d_Vec2i +theButton: Aspect_VKeyMouse +theModifiers: Aspect_VKeyFlags +theIsEmulated: bool -Returns +Return ------- bool -") IsMapped; - virtual Standard_Boolean IsMapped(); - /****************** IsVirtual ******************/ - /**** md5 signature: 6b108b5483133abeb2e67cd521931989 ****/ - %feature("compactdefaultargs") IsVirtual; - %feature("autodoc", "Returns true if the window is virtual. +Description +----------- +Handle mouse button release event. This method is expected to be called from UI thread. Default implementation redirects to UpdateMousePosition(). +Parameter thePoint mouse cursor position +Parameter theButton released button +Parameter theModifiers key modifiers +Parameter theIsEmulated if True then mouse event comes NOT from real mouse but emulated from non-precise input like touch on screen +Return: True if window content should be redrawn. +") ReleaseMouseButton; + bool ReleaseMouseButton(const Graphic3d_Vec2i & thePoint, Aspect_VKeyMouse theButton, Aspect_VKeyFlags theModifiers, bool theIsEmulated); + + /****** Aspect_WindowInputListener::RemoveTouchPoint ******/ + /****** md5 signature: 45c3401339716ca58b815f7e44a3d196 ******/ + %feature("compactdefaultargs") RemoveTouchPoint; + %feature("autodoc", " +Parameters +---------- +theId: Standard_Size +theClearSelectPnts: bool (optional, default to false) -Returns +Return ------- bool -") IsVirtual; - Standard_Boolean IsVirtual(); - /****************** Map ******************/ - /**** md5 signature: 0e63cf65e00294792f8d62b1c43bea62 ****/ - %feature("compactdefaultargs") Map; - %feature("autodoc", "Opens the window . +Description +----------- +Remove touch point with the given ID. This method is expected to be called from UI thread. +Parameter theId touch unique identifier +Parameter theClearSelectPnts if True will initiate clearing of selection points +Return: True if point has been removed. +") RemoveTouchPoint; + virtual bool RemoveTouchPoint(Standard_Size theId, Standard_Boolean theClearSelectPnts = false); + + /****** Aspect_WindowInputListener::Set3dMousePreciseInput ******/ + /****** md5 signature: 0ff4172c7dce21c124fb3941d21634cd ******/ + %feature("compactdefaultargs") Set3dMousePreciseInput; + %feature("autodoc", " +Parameters +---------- +theIsQuadric: bool -Returns +Return ------- None -") Map; - virtual void Map(); - /****************** NativeFBConfig ******************/ - /**** md5 signature: 4c353bf7a84ef94261f833f6d54eaa5e ****/ - %feature("compactdefaultargs") NativeFBConfig; - %feature("autodoc", "Returns native window fb config (glxfbconfig on xlib). +Description +----------- +Set quadric acceleration flag. +") Set3dMousePreciseInput; + void Set3dMousePreciseInput(bool theIsQuadric); + + /****** Aspect_WindowInputListener::Set3dMouseRotationScale ******/ + /****** md5 signature: 26cc1d3413bc1ed0806210cb74503bf8 ******/ + %feature("compactdefaultargs") Set3dMouseRotationScale; + %feature("autodoc", " +Parameters +---------- +theScale: float -Returns +Return ------- -Aspect_FBConfig -") NativeFBConfig; - virtual Aspect_FBConfig NativeFBConfig(); +None - /****************** Position ******************/ - /**** md5 signature: 30fa6ef63eb4cfa1d4d0a6a072935a04 ****/ - %feature("compactdefaultargs") Position; - %feature("autodoc", "Returns the window position in pixel. +Description +----------- +Set acceleration ratio for rotation event. +") Set3dMouseRotationScale; + void Set3dMouseRotationScale(float theScale); + /****** Aspect_WindowInputListener::Set3dMouseTranslationScale ******/ + /****** md5 signature: d66cf6c87510f4cf28118e77235f6dc1 ******/ + %feature("compactdefaultargs") Set3dMouseTranslationScale; + %feature("autodoc", " Parameters ---------- +theScale: float -Returns +Return ------- -X1: int -Y1: int -X2: int -Y2: int -") Position; - virtual void Position(Standard_Integer &OutValue, Standard_Integer &OutValue, Standard_Integer &OutValue, Standard_Integer &OutValue); +None - /****************** Ratio ******************/ - /**** md5 signature: d40ca1d2627bbb87a34e5c89b2c7db06 ****/ - %feature("compactdefaultargs") Ratio; - %feature("autodoc", "Returns the window ratio equal to the physical width/height dimensions. +Description +----------- +Set acceleration ratio for translation event. +") Set3dMouseTranslationScale; + void Set3dMouseTranslationScale(float theScale); -Returns + /****** Aspect_WindowInputListener::To3dMousePreciseInput ******/ + /****** md5 signature: e7d1cbbce6f739652fb2dcffebfdc574 ******/ + %feature("compactdefaultargs") To3dMousePreciseInput; + %feature("autodoc", "Return ------- -float -") Ratio; - virtual Standard_Real Ratio(); - - /****************** SetBackground ******************/ - /**** md5 signature: 1ead7ff97ae08966fe95d016244fe9b6 ****/ - %feature("compactdefaultargs") SetBackground; - %feature("autodoc", "Modifies the window background. +bool +Description +----------- +Return quadric acceleration flag; True by default. +") To3dMousePreciseInput; + bool To3dMousePreciseInput(); + + /****** Aspect_WindowInputListener::TouchPoints ******/ + /****** md5 signature: aae5a0777c45c41be0cc42d98cb8d6a5 ******/ + %feature("compactdefaultargs") TouchPoints; + %feature("autodoc", "Return +------- +Aspect_TouchMap + +Description +----------- +Return map of active touches. +") TouchPoints; + const Aspect_TouchMap & TouchPoints(); + + /****** Aspect_WindowInputListener::Update3dMouse ******/ + /****** md5 signature: 989c941c2b66167e2e5fa84999e81fe3 ******/ + %feature("compactdefaultargs") Update3dMouse; + %feature("autodoc", " Parameters ---------- -ABack: Aspect_Background +theEvent: WNT_HIDSpaceMouse -Returns +Return ------- -None -") SetBackground; - void SetBackground(const Aspect_Background & ABack); +bool - /****************** SetBackground ******************/ - /**** md5 signature: d24f1efd14ab0c25fed5c82da2583a6f ****/ - %feature("compactdefaultargs") SetBackground; - %feature("autodoc", "Modifies the window background. +Description +----------- +Process 3d mouse input event (redirects to translation, rotation and keys). +") Update3dMouse; + virtual bool Update3dMouse(const WNT_HIDSpaceMouse & theEvent); + /****** Aspect_WindowInputListener::UpdateMouseButtons ******/ + /****** md5 signature: 344a32c08e48df63d66f82e75f14f4ac ******/ + %feature("compactdefaultargs") UpdateMouseButtons; + %feature("autodoc", " Parameters ---------- -color: Quantity_Color +thePoint: Graphic3d_Vec2i +theButtons: Aspect_VKeyMouse +theModifiers: Aspect_VKeyFlags +theIsEmulated: bool -Returns +Return ------- -None -") SetBackground; - void SetBackground(const Quantity_Color & color); - - /****************** SetBackground ******************/ - /**** md5 signature: e326ee0ef2c818116b46fe0d832b2c39 ****/ - %feature("compactdefaultargs") SetBackground; - %feature("autodoc", "Modifies the window gradient background. +bool +Description +----------- +Handle mouse button press/release event. This method is expected to be called from UI thread. +Parameter thePoint mouse cursor position +Parameter theButtons pressed buttons +Parameter theModifiers key modifiers +Parameter theIsEmulated if True then mouse event comes NOT from real mouse but emulated from non-precise input like touch on screen +Return: True if window content should be redrawn. +") UpdateMouseButtons; + virtual bool UpdateMouseButtons(const Graphic3d_Vec2i & thePoint, Aspect_VKeyMouse theButtons, Aspect_VKeyFlags theModifiers, bool theIsEmulated); + + /****** Aspect_WindowInputListener::UpdateMousePosition ******/ + /****** md5 signature: 217f410d7de77f6f79b905cc2f67eaf4 ******/ + %feature("compactdefaultargs") UpdateMousePosition; + %feature("autodoc", " Parameters ---------- -ABackground: Aspect_GradientBackground +thePoint: Graphic3d_Vec2i +theButtons: Aspect_VKeyMouse +theModifiers: Aspect_VKeyFlags +theIsEmulated: bool -Returns +Return ------- -None -") SetBackground; - void SetBackground(const Aspect_GradientBackground & ABackground); - - /****************** SetBackground ******************/ - /**** md5 signature: 333d66c15042163afcf370e304fa7b6a ****/ - %feature("compactdefaultargs") SetBackground; - %feature("autodoc", "Modifies the window gradient background. +bool +Description +----------- +Handle mouse cursor movement event. This method is expected to be called from UI thread. Default implementation does nothing. +Parameter thePoint mouse cursor position +Parameter theButtons pressed buttons +Parameter theModifiers key modifiers +Parameter theIsEmulated if True then mouse event comes NOT from real mouse but emulated from non-precise input like touch on screen +Return: True if window content should be redrawn. +") UpdateMousePosition; + virtual bool UpdateMousePosition(const Graphic3d_Vec2i & thePoint, Aspect_VKeyMouse theButtons, Aspect_VKeyFlags theModifiers, bool theIsEmulated); + + /****** Aspect_WindowInputListener::UpdateMouseScroll ******/ + /****** md5 signature: 33a1d2af16e7dcdaa2ec2c0ec68a7748 ******/ + %feature("compactdefaultargs") UpdateMouseScroll; + %feature("autodoc", " Parameters ---------- -theFirstColor: Quantity_Color -theSecondColor: Quantity_Color -theFillMethod: Aspect_GradientFillMethod +theDelta: Aspect_ScrollDelta -Returns +Return ------- -None -") SetBackground; - void SetBackground(const Quantity_Color & theFirstColor, const Quantity_Color & theSecondColor, const Aspect_GradientFillMethod theFillMethod); - - /****************** SetTitle ******************/ - /**** md5 signature: e6432d7e27226322b8262b3f3f4d5a28 ****/ - %feature("compactdefaultargs") SetTitle; - %feature("autodoc", "Sets window title. +bool +Description +----------- +Update mouse scroll event. This method is expected to be called from UI thread. +Parameter theDelta mouse cursor position and delta +Return: True if new event has been created or False if existing one has been updated. +") UpdateMouseScroll; + virtual bool UpdateMouseScroll(const Aspect_ScrollDelta & theDelta); + + /****** Aspect_WindowInputListener::UpdateTouchPoint ******/ + /****** md5 signature: 32b5b3a5782487b44b49157cf52c6e04 ******/ + %feature("compactdefaultargs") UpdateTouchPoint; + %feature("autodoc", " Parameters ---------- -theTitle: TCollection_AsciiString +theId: Standard_Size +thePnt: Graphic3d_Vec2d -Returns +Return ------- None -") SetTitle; - virtual void SetTitle(const TCollection_AsciiString & theTitle); - - /****************** SetVirtual ******************/ - /**** md5 signature: f013b7099e5195f3ad8ac5f9c350083a ****/ - %feature("compactdefaultargs") SetVirtual; - %feature("autodoc", "Setup the virtual state. +Description +----------- +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. +Parameter theId touch unique identifier +Parameter thePnt touch coordinates. +") UpdateTouchPoint; + virtual void UpdateTouchPoint(Standard_Size theId, const Graphic3d_Vec2d & thePnt); + + /****** Aspect_WindowInputListener::update3dMouseKeys ******/ + /****** md5 signature: 7068d4e0858b2659de00f111094ecc7f ******/ + %feature("compactdefaultargs") update3dMouseKeys; + %feature("autodoc", " Parameters ---------- -theVirtual: bool +theEvent: WNT_HIDSpaceMouse -Returns +Return ------- -None -") SetVirtual; - void SetVirtual(const Standard_Boolean theVirtual); +bool - /****************** Size ******************/ - /**** md5 signature: 5ff69e0e67e54ec54de4bd366eb3aa6a ****/ - %feature("compactdefaultargs") Size; - %feature("autodoc", "Returns the window size in pixel. +Description +----------- +Process 3d mouse input keys event. +") update3dMouseKeys; + virtual bool update3dMouseKeys(const WNT_HIDSpaceMouse & theEvent); + /****** Aspect_WindowInputListener::update3dMouseRotation ******/ + /****** md5 signature: 0e88dd09859b6f02e48c9b73ec73f69b ******/ + %feature("compactdefaultargs") update3dMouseRotation; + %feature("autodoc", " Parameters ---------- +theEvent: WNT_HIDSpaceMouse -Returns +Return ------- -Width: int -Height: int -") Size; - virtual void Size(Standard_Integer &OutValue, Standard_Integer &OutValue); +bool - /****************** Unmap ******************/ - /**** md5 signature: 2681daf3d4beece6a894fb54cb645818 ****/ - %feature("compactdefaultargs") Unmap; - %feature("autodoc", "Closes the window . +Description +----------- +Process 3d mouse input rotation event. +") update3dMouseRotation; + virtual bool update3dMouseRotation(const WNT_HIDSpaceMouse & theEvent); + + /****** Aspect_WindowInputListener::update3dMouseTranslation ******/ + /****** md5 signature: c826319c70a567fbe2c3401c0a5c2471 ******/ + %feature("compactdefaultargs") update3dMouseTranslation; + %feature("autodoc", " +Parameters +---------- +theEvent: WNT_HIDSpaceMouse -Returns +Return ------- -None -") Unmap; - virtual void Unmap(); +bool -}; +Description +----------- +Process 3d mouse input translation event. +") update3dMouseTranslation; + virtual bool update3dMouseTranslation(const WNT_HIDSpaceMouse & theEvent); +}; -%make_alias(Aspect_Window) -%extend Aspect_Window { +%extend Aspect_WindowInputListener { %pythoncode { __repr__ = _dumps_object - - @methodnotwrapped - def NativeHandle(self): - pass - - @methodnotwrapped - def NativeParentHandle(self): - pass } }; @@ -2247,78 +3733,92 @@ None ************************/ class Aspect_XRAction : public Standard_Transient { public: - /****************** Aspect_XRAction ******************/ - /**** md5 signature: 40a266a780195e2fd6ebc2e8b13a5281 ****/ + /****** Aspect_XRAction::Aspect_XRAction ******/ + /****** md5 signature: 40a266a780195e2fd6ebc2e8b13a5281 ******/ %feature("compactdefaultargs") Aspect_XRAction; - %feature("autodoc", "Main constructor. - + %feature("autodoc", " Parameters ---------- -theId: TCollection_AsciiString +theId: str theType: Aspect_XRActionType -Returns +Return ------- None + +Description +----------- +Main constructor. ") Aspect_XRAction; - Aspect_XRAction(const TCollection_AsciiString & theId, const Aspect_XRActionType theType); + Aspect_XRAction(TCollection_AsciiString theId, const Aspect_XRActionType theType); - /****************** Id ******************/ - /**** md5 signature: 932272b78b9184cc2485436a72cc2df4 ****/ + /****** Aspect_XRAction::Id ******/ + /****** md5 signature: 932272b78b9184cc2485436a72cc2df4 ******/ %feature("compactdefaultargs") Id; - %feature("autodoc", "Return action id. - -Returns + %feature("autodoc", "Return ------- TCollection_AsciiString + +Description +----------- +Return action id. ") Id; const TCollection_AsciiString & Id(); - /****************** IsValid ******************/ - /**** md5 signature: 735088818cf24ebe0ebc7005a507da69 ****/ + /****** Aspect_XRAction::IsValid ******/ + /****** md5 signature: 735088818cf24ebe0ebc7005a507da69 ******/ %feature("compactdefaultargs") IsValid; - %feature("autodoc", "Return true if action is defined. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return True if action is defined. ") IsValid; bool IsValid(); - /****************** RawHandle ******************/ - /**** md5 signature: 9d20e0a6fff437dc17426cf4e026b189 ****/ + /****** Aspect_XRAction::RawHandle ******/ + /****** md5 signature: 9d20e0a6fff437dc17426cf4e026b189 ******/ %feature("compactdefaultargs") RawHandle; - %feature("autodoc", "Return action handle. - -Returns + %feature("autodoc", "Return ------- uint64_t + +Description +----------- +Return action handle. ") RawHandle; uint64_t RawHandle(); - /****************** SetRawHandle ******************/ - /**** md5 signature: deb51d9baa50e7628d1bd2ab92c27b11 ****/ + /****** Aspect_XRAction::SetRawHandle ******/ + /****** md5 signature: deb51d9baa50e7628d1bd2ab92c27b11 ******/ %feature("compactdefaultargs") SetRawHandle; - %feature("autodoc", "Set action handle. - + %feature("autodoc", " Parameters ---------- theHande: uint64_t -Returns +Return ------- None + +Description +----------- +Set action handle. ") SetRawHandle; void SetRawHandle(uint64_t theHande); - /****************** Type ******************/ - /**** md5 signature: 0d72e5323e44404dea40a38f3ba7d11c ****/ + /****** Aspect_XRAction::Type ******/ + /****** md5 signature: 0d72e5323e44404dea40a38f3ba7d11c ******/ %feature("compactdefaultargs") Type; - %feature("autodoc", "Return action type. - -Returns + %feature("autodoc", "Return ------- Aspect_XRActionType + +Description +----------- +Return action type. ") Type; Aspect_XRActionType Type(); @@ -2338,81 +3838,96 @@ Aspect_XRActionType ***************************/ class Aspect_XRActionSet : public Standard_Transient { public: - /****************** Aspect_XRActionSet ******************/ - /**** md5 signature: d45a5ec20e38bdb339eb2ee8d975e996 ****/ + /****** Aspect_XRActionSet::Aspect_XRActionSet ******/ + /****** md5 signature: d45a5ec20e38bdb339eb2ee8d975e996 ******/ %feature("compactdefaultargs") Aspect_XRActionSet; - %feature("autodoc", "Main constructor. - + %feature("autodoc", " Parameters ---------- -theId: TCollection_AsciiString +theId: str -Returns +Return ------- None + +Description +----------- +Main constructor. ") Aspect_XRActionSet; - Aspect_XRActionSet(const TCollection_AsciiString & theId); + Aspect_XRActionSet(TCollection_AsciiString theId); - /****************** Actions ******************/ - /**** md5 signature: 8711ba344778f38c5ecdfeccb1ff6133 ****/ + /****** Aspect_XRActionSet::Actions ******/ + /****** md5 signature: 8711ba344778f38c5ecdfeccb1ff6133 ******/ %feature("compactdefaultargs") Actions; - %feature("autodoc", "Return map of actions. - -Returns + %feature("autodoc", "Return ------- Aspect_XRActionMap + +Description +----------- +Return map of actions. ") Actions; const Aspect_XRActionMap & Actions(); - /****************** AddAction ******************/ - /**** md5 signature: 41c9367a03de48c635cea24270f2015a ****/ + /****** Aspect_XRActionSet::AddAction ******/ + /****** md5 signature: 41c9367a03de48c635cea24270f2015a ******/ %feature("compactdefaultargs") AddAction; - %feature("autodoc", "Add action. - + %feature("autodoc", " Parameters ---------- theAction: Aspect_XRAction -Returns +Return ------- None + +Description +----------- +Add action. ") AddAction; void AddAction(const opencascade::handle & theAction); - /****************** Id ******************/ - /**** md5 signature: 932272b78b9184cc2485436a72cc2df4 ****/ + /****** Aspect_XRActionSet::Id ******/ + /****** md5 signature: 932272b78b9184cc2485436a72cc2df4 ******/ %feature("compactdefaultargs") Id; - %feature("autodoc", "Return action id. - -Returns + %feature("autodoc", "Return ------- TCollection_AsciiString + +Description +----------- +Return action id. ") Id; const TCollection_AsciiString & Id(); - /****************** RawHandle ******************/ - /**** md5 signature: 9d20e0a6fff437dc17426cf4e026b189 ****/ + /****** Aspect_XRActionSet::RawHandle ******/ + /****** md5 signature: 9d20e0a6fff437dc17426cf4e026b189 ******/ %feature("compactdefaultargs") RawHandle; - %feature("autodoc", "Return action handle. - -Returns + %feature("autodoc", "Return ------- uint64_t + +Description +----------- +Return action handle. ") RawHandle; uint64_t RawHandle(); - /****************** SetRawHandle ******************/ - /**** md5 signature: deb51d9baa50e7628d1bd2ab92c27b11 ****/ + /****** Aspect_XRActionSet::SetRawHandle ******/ + /****** md5 signature: deb51d9baa50e7628d1bd2ab92c27b11 ******/ %feature("compactdefaultargs") SetRawHandle; - %feature("autodoc", "Set action handle. - + %feature("autodoc", " Parameters ---------- theHande: uint64_t -Returns +Return ------- None + +Description +----------- +Set action handle. ") SetRawHandle; void SetRawHandle(uint64_t theHande); @@ -2432,30 +3947,29 @@ None **********************************/ class Aspect_XRAnalogActionData { public: - uint64_t ActiveOrigin; - float UpdateTime; - NCollection_Vec3 VecXYZ; - NCollection_Vec3 DeltaXYZ; - bool IsActive; - /****************** Aspect_XRAnalogActionData ******************/ - /**** md5 signature: 2f2cb24f7e51cc622f48142c162305a9 ****/ + /****** Aspect_XRAnalogActionData::Aspect_XRAnalogActionData ******/ + /****** md5 signature: 2f2cb24f7e51cc622f48142c162305a9 ******/ %feature("compactdefaultargs") Aspect_XRAnalogActionData; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") Aspect_XRAnalogActionData; Aspect_XRAnalogActionData(); - /****************** IsChanged ******************/ - /**** md5 signature: 6d97ce9bcd3b0740efa5aa99476487a7 ****/ + /****** Aspect_XRAnalogActionData::IsChanged ******/ + /****** md5 signature: 6d97ce9bcd3b0740efa5aa99476487a7 ******/ %feature("compactdefaultargs") IsChanged; - %feature("autodoc", "Return true if delta is non-zero. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return True if delta is non-zero. ") IsChanged; bool IsChanged(); @@ -2473,19 +3987,16 @@ bool ***********************************/ class Aspect_XRDigitalActionData { public: - uint64_t ActiveOrigin; - float UpdateTime; - bool IsActive; - bool IsPressed; - bool IsChanged; - /****************** Aspect_XRDigitalActionData ******************/ - /**** md5 signature: 11e9cfb288833ee07981b262b013a14e ****/ + /****** Aspect_XRDigitalActionData::Aspect_XRDigitalActionData ******/ + /****** md5 signature: 11e9cfb288833ee07981b262b013a14e ******/ %feature("compactdefaultargs") Aspect_XRDigitalActionData; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") Aspect_XRDigitalActionData; Aspect_XRDigitalActionData(); @@ -2503,29 +4014,29 @@ None **********************************/ class Aspect_XRHapticActionData { public: - float Delay; - float Duration; - float Frequency; - float Amplitude; - /****************** Aspect_XRHapticActionData ******************/ - /**** md5 signature: c42f3b26d235df1234aa3b319bd587d7 ****/ + /****** Aspect_XRHapticActionData::Aspect_XRHapticActionData ******/ + /****** md5 signature: c42f3b26d235df1234aa3b319bd587d7 ******/ %feature("compactdefaultargs") Aspect_XRHapticActionData; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") Aspect_XRHapticActionData; Aspect_XRHapticActionData(); - /****************** IsValid ******************/ - /**** md5 signature: 735088818cf24ebe0ebc7005a507da69 ****/ + /****** Aspect_XRHapticActionData::IsValid ******/ + /****** md5 signature: 735088818cf24ebe0ebc7005a507da69 ******/ %feature("compactdefaultargs") IsValid; - %feature("autodoc", "Return true if data is not empty. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return True if data is not empty. ") IsValid; bool IsValid(); @@ -2543,17 +4054,16 @@ bool ********************************/ class Aspect_XRPoseActionData { public: - Aspect_TrackedDevicePose Pose; - uint64_t ActiveOrigin; - bool IsActive; - /****************** Aspect_XRPoseActionData ******************/ - /**** md5 signature: 37cbeeeffeaedd7d742097ec767fe262 ****/ + /****** Aspect_XRPoseActionData::Aspect_XRPoseActionData ******/ + /****** md5 signature: 37cbeeeffeaedd7d742097ec767fe262 ******/ %feature("compactdefaultargs") Aspect_XRPoseActionData; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") Aspect_XRPoseActionData; Aspect_XRPoseActionData(); @@ -2587,7 +4097,7 @@ enum InfoString { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class TrackingUniverseOrigin(IntEnum): @@ -2608,400 +4118,484 @@ InfoString_SerialNumber = InfoString.InfoString_SerialNumber }; /* end python proxy for enums */ - /****************** AbortHapticVibrationAction ******************/ - /**** md5 signature: 2c091ce7d5b95edbd8b37ef2a7d5033f ****/ + /****** Aspect_XRSession::AbortHapticVibrationAction ******/ + /****** md5 signature: 2c091ce7d5b95edbd8b37ef2a7d5033f ******/ %feature("compactdefaultargs") AbortHapticVibrationAction; - %feature("autodoc", "Abort vibration. - + %feature("autodoc", " Parameters ---------- theAction: Aspect_XRAction -Returns +Return ------- None + +Description +----------- +Abort vibration. ") AbortHapticVibrationAction; void AbortHapticVibrationAction(const opencascade::handle & theAction); - /****************** Aspect ******************/ - /**** md5 signature: 2e31d5d4e9d98682a1043fbc438ab30a ****/ + /****** Aspect_XRSession::Aspect ******/ + /****** md5 signature: 2e31d5d4e9d98682a1043fbc438ab30a ******/ %feature("compactdefaultargs") Aspect; - %feature("autodoc", "Return aspect ratio. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Return aspect ratio. ") Aspect; Standard_Real Aspect(); - /****************** Close ******************/ - /**** md5 signature: 1b03fb860325770bc6fb04462ecfd6fe ****/ + /****** Aspect_XRSession::Close ******/ + /****** md5 signature: 1b03fb860325770bc6fb04462ecfd6fe ******/ %feature("compactdefaultargs") Close; - %feature("autodoc", "Release session. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Release session. ") Close; virtual void Close(); - /****************** DisplayFrequency ******************/ - /**** md5 signature: 7bc433f33163de75c917820a29539856 ****/ + /****** Aspect_XRSession::DisplayFrequency ******/ + /****** md5 signature: 7bc433f33163de75c917820a29539856 ******/ %feature("compactdefaultargs") DisplayFrequency; - %feature("autodoc", "Return display frequency or 0 if unknown. - -Returns + %feature("autodoc", "Return ------- -Standard_ShortReal +float + +Description +----------- +Return display frequency or 0 if unknown. ") DisplayFrequency; Standard_ShortReal DisplayFrequency(); - /****************** EyeToHeadTransform ******************/ - /**** md5 signature: f29783bde9cca028ac265ae76bdafba8 ****/ + /****** Aspect_XRSession::EyeToHeadTransform ******/ + /****** md5 signature: f29783bde9cca028ac265ae76bdafba8 ******/ %feature("compactdefaultargs") EyeToHeadTransform; - %feature("autodoc", "Return transformation from eye to head. - + %feature("autodoc", " Parameters ---------- theEye: Aspect_Eye -Returns +Return ------- NCollection_Mat4 + +Description +----------- +Return transformation from eye to head. ") EyeToHeadTransform; virtual NCollection_Mat4 EyeToHeadTransform(Aspect_Eye theEye); - /****************** FieldOfView ******************/ - /**** md5 signature: db3c9855b4bf6bb7c82f4c6a1b35efb3 ****/ + /****** Aspect_XRSession::FieldOfView ******/ + /****** md5 signature: db3c9855b4bf6bb7c82f4c6a1b35efb3 ******/ %feature("compactdefaultargs") FieldOfView; - %feature("autodoc", "Return field of view. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Return field of view. ") FieldOfView; Standard_Real FieldOfView(); - /****************** GenericAction ******************/ - /**** md5 signature: 7b32709a9882affc64e34a4979e4522d ****/ + /****** Aspect_XRSession::GenericAction ******/ + /****** md5 signature: 7b32709a9882affc64e34a4979e4522d ******/ %feature("compactdefaultargs") GenericAction; - %feature("autodoc", "Return generic action for specific hand or null if undefined. - + %feature("autodoc", " Parameters ---------- theDevice: Aspect_XRTrackedDeviceRole theAction: Aspect_XRGenericAction -Returns +Return ------- opencascade::handle + +Description +----------- +Return generic action for specific hand or NULL if undefined. ") GenericAction; const opencascade::handle & GenericAction(Aspect_XRTrackedDeviceRole theDevice, Aspect_XRGenericAction theAction); - /****************** GetAnalogActionData ******************/ - /**** md5 signature: 8ba907292e43d1a641030bff3bf5b326 ****/ + /****** Aspect_XRSession::GetAnalogActionData ******/ + /****** md5 signature: 8ba907292e43d1a641030bff3bf5b326 ******/ %feature("compactdefaultargs") GetAnalogActionData; - %feature("autodoc", "Fetch data for digital input action (like axis). @param theaction [in] action of aspect_xractiontype_inputanalog type. - + %feature("autodoc", " Parameters ---------- theAction: Aspect_XRAction -Returns +Return ------- Aspect_XRAnalogActionData + +Description +----------- +Fetch data for digital input action (like axis). +Input parameter: theAction action of Aspect_XRActionType_InputAnalog type. ") GetAnalogActionData; virtual Aspect_XRAnalogActionData GetAnalogActionData(const opencascade::handle & theAction); - /****************** GetDigitalActionData ******************/ - /**** md5 signature: 481010d4545a367f4cd3dfec52bd745b ****/ + /****** Aspect_XRSession::GetDigitalActionData ******/ + /****** md5 signature: 481010d4545a367f4cd3dfec52bd745b ******/ %feature("compactdefaultargs") GetDigitalActionData; - %feature("autodoc", "Fetch data for digital input action (like button). @param theaction [in] action of aspect_xractiontype_inputdigital type. - + %feature("autodoc", " Parameters ---------- theAction: Aspect_XRAction -Returns +Return ------- Aspect_XRDigitalActionData + +Description +----------- +Fetch data for digital input action (like button). +Input parameter: theAction action of Aspect_XRActionType_InputDigital type. ") GetDigitalActionData; virtual Aspect_XRDigitalActionData GetDigitalActionData(const opencascade::handle & theAction); - /****************** GetPoseActionDataForNextFrame ******************/ - /**** md5 signature: 98eeea2ec9abd109afa8aea11fadf00d ****/ + /****** Aspect_XRSession::GetPoseActionDataForNextFrame ******/ + /****** md5 signature: 98eeea2ec9abd109afa8aea11fadf00d ******/ %feature("compactdefaultargs") GetPoseActionDataForNextFrame; - %feature("autodoc", "Fetch data for pose input action (like fingertip position). the returned values will match the values returned by the last call to waitposes(). @param theaction [in] action of aspect_xractiontype_inputpose type. - + %feature("autodoc", " Parameters ---------- theAction: Aspect_XRAction -Returns +Return ------- Aspect_XRPoseActionData + +Description +----------- +Fetch data for pose input action (like fingertip position). The returned values will match the values returned by the last call to WaitPoses(). +Input parameter: theAction action of Aspect_XRActionType_InputPose type. ") GetPoseActionDataForNextFrame; virtual Aspect_XRPoseActionData GetPoseActionDataForNextFrame(const opencascade::handle & theAction); - /****************** GetString ******************/ - /**** md5 signature: 995a5d10180a3ba1d11d529669c70c62 ****/ + /****** Aspect_XRSession::GetString ******/ + /****** md5 signature: 995a5d10180a3ba1d11d529669c70c62 ******/ %feature("compactdefaultargs") GetString; - %feature("autodoc", "Query information. - + %feature("autodoc", " Parameters ---------- theInfo: InfoString -Returns +Return ------- TCollection_AsciiString + +Description +----------- +Query information. ") GetString; virtual TCollection_AsciiString GetString(InfoString theInfo); - /****************** HasProjectionFrustums ******************/ - /**** md5 signature: b21c3c98901bb0d2fe751c0f535b874e ****/ + /****** Aspect_XRSession::HasProjectionFrustums ******/ + /****** md5 signature: b21c3c98901bb0d2fe751c0f535b874e ******/ %feature("compactdefaultargs") HasProjectionFrustums; - %feature("autodoc", "Return false if projection frustums are unsupported and general 4x4 projection matrix should be fetched instead. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return False if projection frustums are unsupported and general 4x4 projection matrix should be fetched instead. ") HasProjectionFrustums; virtual bool HasProjectionFrustums(); - /****************** HasTrackedPose ******************/ - /**** md5 signature: dcd15c00cc4b480b4c1512a9d69b0c35 ****/ + /****** Aspect_XRSession::HasTrackedPose ******/ + /****** md5 signature: dcd15c00cc4b480b4c1512a9d69b0c35 ******/ %feature("compactdefaultargs") HasTrackedPose; - %feature("autodoc", "Return true if device orientation is defined. - + %feature("autodoc", " Parameters ---------- theDevice: int -Returns +Return ------- bool + +Description +----------- +Return True if device orientation is defined. ") HasTrackedPose; bool HasTrackedPose(Standard_Integer theDevice); - /****************** HeadPose ******************/ - /**** md5 signature: d492f7441f83aa8c0f430cdab6e86f73 ****/ + /****** Aspect_XRSession::HeadPose ******/ + /****** md5 signature: d492f7441f83aa8c0f430cdab6e86f73 ******/ %feature("compactdefaultargs") HeadPose; - %feature("autodoc", "Return head orientation in right-handed system: +y is up +x is to the right -z is forward distance unit is meters by default (@sa unitfactor()). - -Returns + %feature("autodoc", "Return ------- gp_Trsf + +Description +----------- +Return head orientation in right-handed system: +y is up +x is to the right -z is forward Distance unit is meters by default ( +See also: UnitFactor()). ") HeadPose; const gp_Trsf HeadPose(); - /****************** HeadToEyeTransform ******************/ - /**** md5 signature: eefc127028406cfe34b43880dc164bed ****/ + /****** Aspect_XRSession::HeadToEyeTransform ******/ + /****** md5 signature: eefc127028406cfe34b43880dc164bed ******/ %feature("compactdefaultargs") HeadToEyeTransform; - %feature("autodoc", "Return transformation from head to eye. - + %feature("autodoc", " Parameters ---------- theEye: Aspect_Eye -Returns +Return ------- NCollection_Mat4 + +Description +----------- +Return transformation from head to eye. ") HeadToEyeTransform; NCollection_Mat4 HeadToEyeTransform(Aspect_Eye theEye); - /****************** IOD ******************/ - /**** md5 signature: 0cc7208beeec9544d745fd8edb710bd8 ****/ + /****** Aspect_XRSession::IOD ******/ + /****** md5 signature: 0cc7208beeec9544d745fd8edb710bd8 ******/ %feature("compactdefaultargs") IOD; - %feature("autodoc", "Return intra-ocular distance (iod); also known as interpupillary distance (ipd). defined in meters by default (@sa unitfactor()). - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Return Intra-ocular Distance (IOD); also known as Interpupillary Distance (IPD). Defined in meters by default ( +See also: UnitFactor()). ") IOD; Standard_Real IOD(); - /****************** IsOpen ******************/ - /**** md5 signature: cbb165b1058ff52986668925b81dfa08 ****/ + /****** Aspect_XRSession::IsOpen ******/ + /****** md5 signature: cbb165b1058ff52986668925b81dfa08 ******/ %feature("compactdefaultargs") IsOpen; - %feature("autodoc", "Return true if session is opened. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return True if session is opened. ") IsOpen; virtual bool IsOpen(); - /****************** LeftHandPose ******************/ - /**** md5 signature: ff3b4ff1b6e9278d95fc3d221947728e ****/ + /****** Aspect_XRSession::LeftHandPose ******/ + /****** md5 signature: ff3b4ff1b6e9278d95fc3d221947728e ******/ %feature("compactdefaultargs") LeftHandPose; - %feature("autodoc", "Return left hand orientation. - -Returns + %feature("autodoc", "Return ------- gp_Trsf + +Description +----------- +Return left hand orientation. ") LeftHandPose; gp_Trsf LeftHandPose(); - /****************** LoadRenderModel ******************/ - /**** md5 signature: bff61e6a6656e5eb23f9e9b72f8fdb71 ****/ + /****** Aspect_XRSession::LoadRenderModel ******/ + /****** md5 signature: bff61e6a6656e5eb23f9e9b72f8fdb71 ******/ %feature("compactdefaultargs") LoadRenderModel; - %feature("autodoc", "Load model for displaying device. @param thedevice [in] device index @param thetexture [out] texture source returns model triangulation or null if not found. - + %feature("autodoc", " Parameters ---------- theDevice: int theTexture: Image_Texture -Returns +Return ------- opencascade::handle + +Description +----------- +Load model for displaying device. +Input parameter: theDevice device index @param[out] theTexture texture source +Return: model triangulation or NULL if not found. ") LoadRenderModel; opencascade::handle LoadRenderModel(Standard_Integer theDevice, opencascade::handle & theTexture); - /****************** LoadRenderModel ******************/ - /**** md5 signature: c440d49a8c5ac84455fadd4495c2ab80 ****/ + /****** Aspect_XRSession::LoadRenderModel ******/ + /****** md5 signature: c440d49a8c5ac84455fadd4495c2ab80 ******/ %feature("compactdefaultargs") LoadRenderModel; - %feature("autodoc", "Load model for displaying device. @param thedevice [in] device index @param thetoapplyunitfactor [in] flag to apply unit scale factor @param thetexture [out] texture source returns model triangulation or null if not found. - + %feature("autodoc", " Parameters ---------- theDevice: int theToApplyUnitFactor: bool theTexture: Image_Texture -Returns +Return ------- opencascade::handle + +Description +----------- +Load model for displaying device. +Input parameter: theDevice device index +Input parameter: theToApplyUnitFactor flag to apply unit scale factor @param[out] theTexture texture source +Return: model triangulation or NULL if not found. ") LoadRenderModel; opencascade::handle LoadRenderModel(Standard_Integer theDevice, Standard_Boolean theToApplyUnitFactor, opencascade::handle & theTexture); - /****************** NamedTrackedDevice ******************/ - /**** md5 signature: 6224d7e8e485715e872fc28cc2afe1f0 ****/ + /****** Aspect_XRSession::NamedTrackedDevice ******/ + /****** md5 signature: 6224d7e8e485715e872fc28cc2afe1f0 ******/ %feature("compactdefaultargs") NamedTrackedDevice; - %feature("autodoc", "Return index of tracked device of known role, or -1 if undefined. - + %feature("autodoc", " Parameters ---------- theDevice: Aspect_XRTrackedDeviceRole -Returns +Return ------- int + +Description +----------- +Return index of tracked device of known role, or -1 if undefined. ") NamedTrackedDevice; virtual Standard_Integer NamedTrackedDevice(Aspect_XRTrackedDeviceRole theDevice); - /****************** Open ******************/ - /**** md5 signature: d00ec1bf018b5e93ac2a5d97d9dde636 ****/ + /****** Aspect_XRSession::Open ******/ + /****** md5 signature: d00ec1bf018b5e93ac2a5d97d9dde636 ******/ %feature("compactdefaultargs") Open; - %feature("autodoc", "Initialize session. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Initialize session. ") Open; virtual bool Open(); - /****************** ProcessEvents ******************/ - /**** md5 signature: 240ee1d1e4a0e42cba1c56aac9611f29 ****/ + /****** Aspect_XRSession::ProcessEvents ******/ + /****** md5 signature: 240ee1d1e4a0e42cba1c56aac9611f29 ******/ %feature("compactdefaultargs") ProcessEvents; - %feature("autodoc", "Receive xr events. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Receive XR events. ") ProcessEvents; virtual void ProcessEvents(); - /****************** ProjectionFrustum ******************/ - /**** md5 signature: 9dc4ecde0b8d7e55944cdeade4e5bbf9 ****/ + /****** Aspect_XRSession::ProjectionFrustum ******/ + /****** md5 signature: 9dc4ecde0b8d7e55944cdeade4e5bbf9 ******/ %feature("compactdefaultargs") ProjectionFrustum; - %feature("autodoc", "Return projection frustum. @sa hasprojectionfrustums(). - + %feature("autodoc", " Parameters ---------- theEye: Aspect_Eye -Returns +Return ------- Aspect_FrustumLRBT + +Description +----------- +Return projection frustum. +See also: HasProjectionFrustums(). ") ProjectionFrustum; const Aspect_FrustumLRBT & ProjectionFrustum(Aspect_Eye theEye); - /****************** ProjectionMatrix ******************/ - /**** md5 signature: 5da23c248f3062bca81dea5a0b78608f ****/ + /****** Aspect_XRSession::ProjectionMatrix ******/ + /****** md5 signature: 5da23c248f3062bca81dea5a0b78608f ******/ %feature("compactdefaultargs") ProjectionMatrix; - %feature("autodoc", "Return projection matrix. - + %feature("autodoc", " Parameters ---------- theEye: Aspect_Eye theZNear: double theZFar: double -Returns +Return ------- NCollection_Mat4 + +Description +----------- +Return projection matrix. ") ProjectionMatrix; virtual NCollection_Mat4 ProjectionMatrix(Aspect_Eye theEye, double theZNear, double theZFar); - /****************** RecommendedViewport ******************/ - /**** md5 signature: 1072307c44dc5ac0c775b17e1c89ea5c ****/ + /****** Aspect_XRSession::RecommendedViewport ******/ + /****** md5 signature: 1072307c44dc5ac0c775b17e1c89ea5c ******/ %feature("compactdefaultargs") RecommendedViewport; - %feature("autodoc", "Return recommended viewport width x height for rendering into vr. - -Returns + %feature("autodoc", "Return ------- NCollection_Vec2 + +Description +----------- +Return recommended viewport Width x Height for rendering into VR. ") RecommendedViewport; virtual NCollection_Vec2 RecommendedViewport(); - /****************** RightHandPose ******************/ - /**** md5 signature: b997db6d22c5309fef58aaa7a85929a9 ****/ + /****** Aspect_XRSession::RightHandPose ******/ + /****** md5 signature: b997db6d22c5309fef58aaa7a85929a9 ******/ %feature("compactdefaultargs") RightHandPose; - %feature("autodoc", "Return right hand orientation. - -Returns + %feature("autodoc", "Return ------- gp_Trsf + +Description +----------- +Return right hand orientation. ") RightHandPose; gp_Trsf RightHandPose(); - /****************** SetTrackingOrigin ******************/ - /**** md5 signature: c5848a9d52580d64afea846e587f5e68 ****/ + /****** Aspect_XRSession::SetTrackingOrigin ******/ + /****** md5 signature: c5848a9d52580d64afea846e587f5e68 ******/ %feature("compactdefaultargs") SetTrackingOrigin; - %feature("autodoc", "Set tracking origin. - + %feature("autodoc", " Parameters ---------- theOrigin: TrackingUniverseOrigin -Returns +Return ------- None + +Description +----------- +Set tracking origin. ") SetTrackingOrigin; virtual void SetTrackingOrigin(TrackingUniverseOrigin theOrigin); - /****************** SetUnitFactor ******************/ - /**** md5 signature: 7440cb148f828c471e5d9b5248eb7c9b ****/ + /****** Aspect_XRSession::SetUnitFactor ******/ + /****** md5 signature: 7440cb148f828c471e5d9b5248eb7c9b ******/ %feature("compactdefaultargs") SetUnitFactor; - %feature("autodoc", "Set unit scale factor. - + %feature("autodoc", " Parameters ---------- theFactor: float -Returns +Return ------- None + +Description +----------- +Set unit scale factor. ") SetUnitFactor; void SetUnitFactor(Standard_Real theFactor); - /****************** SubmitEye ******************/ - /**** md5 signature: e715d68400865ca08b80b6b4be7a6117 ****/ + /****** Aspect_XRSession::SubmitEye ******/ + /****** md5 signature: e715d68400865ca08b80b6b4be7a6117 ******/ %feature("compactdefaultargs") SubmitEye; - %feature("autodoc", "Submit texture eye to xr composer. @param thetexture [in] texture handle @param thegraphicslib [in] graphics library in which texture handle is defined @param thecolorspace [in] texture color space; srgb means no color conversion by composer; linear means to srgb color conversion by composer @param theeye [in] eye to display returns false on error. - + %feature("autodoc", " Parameters ---------- theTexture: void * @@ -3009,69 +4603,89 @@ theGraphicsLib: Aspect_GraphicsLibrary theColorSpace: Aspect_ColorSpace theEye: Aspect_Eye -Returns +Return ------- bool + +Description +----------- +Submit texture eye to XR Composer. +Input parameter: theTexture texture handle +Input parameter: theGraphicsLib graphics library in which texture handle is defined +Input parameter: theColorSpace texture color space; sRGB means no color conversion by composer; Linear means to sRGB color conversion by composer +Input parameter: theEye eye to display +Return: False on error. ") SubmitEye; virtual bool SubmitEye(void * theTexture, Aspect_GraphicsLibrary theGraphicsLib, Aspect_ColorSpace theColorSpace, Aspect_Eye theEye); - /****************** TrackedPoses ******************/ - /**** md5 signature: 1e6c5e707589403f73daf6e2bdd7bf60 ****/ + /****** Aspect_XRSession::TrackedPoses ******/ + /****** md5 signature: 1e6c5e707589403f73daf6e2bdd7bf60 ******/ %feature("compactdefaultargs") TrackedPoses; - %feature("autodoc", "Return number of tracked poses array. - -Returns + %feature("autodoc", "Return ------- Aspect_TrackedDevicePoseArray + +Description +----------- +Return number of tracked poses array. ") TrackedPoses; const Aspect_TrackedDevicePoseArray & TrackedPoses(); - /****************** TrackingOrigin ******************/ - /**** md5 signature: db35db8c9365604e0d9a180025f9d9da ****/ + /****** Aspect_XRSession::TrackingOrigin ******/ + /****** md5 signature: db35db8c9365604e0d9a180025f9d9da ******/ %feature("compactdefaultargs") TrackingOrigin; - %feature("autodoc", "Return tracking origin. - -Returns + %feature("autodoc", "Return ------- Aspect_XRSession::TrackingUniverseOrigin + +Description +----------- +Return tracking origin. ") TrackingOrigin; Aspect_XRSession::TrackingUniverseOrigin TrackingOrigin(); - /****************** TriggerHapticVibrationAction ******************/ - /**** md5 signature: 039fc9219b24c9a39bd343511f01b47b ****/ + /****** Aspect_XRSession::TriggerHapticVibrationAction ******/ + /****** md5 signature: 039fc9219b24c9a39bd343511f01b47b ******/ %feature("compactdefaultargs") TriggerHapticVibrationAction; - %feature("autodoc", "Trigger vibration. - + %feature("autodoc", " Parameters ---------- theAction: Aspect_XRAction theParams: Aspect_XRHapticActionData -Returns +Return ------- None + +Description +----------- +Trigger vibration. ") TriggerHapticVibrationAction; void TriggerHapticVibrationAction(const opencascade::handle & theAction, const Aspect_XRHapticActionData & theParams); - /****************** UnitFactor ******************/ - /**** md5 signature: ef896b413f2d707283340a4407bd979a ****/ + /****** Aspect_XRSession::UnitFactor ******/ + /****** md5 signature: ef896b413f2d707283340a4407bd979a ******/ %feature("compactdefaultargs") UnitFactor; - %feature("autodoc", "Return unit scale factor defined as scale factor for m (meters); 1.0 by default. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Return unit scale factor defined as scale factor for m (meters); 1.0 by default. ") UnitFactor; Standard_Real UnitFactor(); - /****************** WaitPoses ******************/ - /**** md5 signature: 2cd6ece8094e306806174f976e95a323 ****/ + /****** Aspect_XRSession::WaitPoses ******/ + /****** md5 signature: 2cd6ece8094e306806174f976e95a323 ******/ %feature("compactdefaultargs") WaitPoses; - %feature("autodoc", "Fetch actual poses of tracked devices. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Fetch actual poses of tracked devices. ") WaitPoses; virtual bool WaitPoses(); @@ -3094,87 +4708,111 @@ bool **********************************/ class Aspect_GradientBackground : public Aspect_Background { public: - /****************** Aspect_GradientBackground ******************/ - /**** md5 signature: 2a3b12e3984621a36868307403d00696 ****/ + /****** Aspect_GradientBackground::Aspect_GradientBackground ******/ + /****** md5 signature: 2a3b12e3984621a36868307403d00696 ******/ %feature("compactdefaultargs") Aspect_GradientBackground; - %feature("autodoc", "Creates a window gradient background. default colors : quantity_noc_black. default fill method : aspect_gfm_none. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Creates a window gradient background. Default color is Quantity_NOC_BLACK. Default fill method is Aspect_GradientFillMethod_None. ") Aspect_GradientBackground; Aspect_GradientBackground(); - /****************** Aspect_GradientBackground ******************/ - /**** md5 signature: a6f68c9f1a0e9cb605f0a1cfca9bada3 ****/ + /****** Aspect_GradientBackground::Aspect_GradientBackground ******/ + /****** md5 signature: 85f06b5f3ce72c2ed98cd0a1aa2d2a99 ******/ %feature("compactdefaultargs") Aspect_GradientBackground; - %feature("autodoc", "Creates a window gradient background with colours . - + %feature("autodoc", " Parameters ---------- -AColor1: Quantity_Color -AColor2: Quantity_Color -AMethod: Aspect_GradientFillMethod,optional - default value is Aspect_GFM_HOR +theColor1: Quantity_Color +theColor2: Quantity_Color +theMethod: Aspect_GradientFillMethod (optional, default to Aspect_GradientFillMethod_Horizontal) -Returns +Return ------- None + +Description +----------- +Creates a window gradient background with two colours. ") Aspect_GradientBackground; - Aspect_GradientBackground(const Quantity_Color & AColor1, const Quantity_Color & AColor2, const Aspect_GradientFillMethod AMethod = Aspect_GFM_HOR); + Aspect_GradientBackground(const Quantity_Color & theColor1, const Quantity_Color & theColor2, const Aspect_GradientFillMethod theMethod = Aspect_GradientFillMethod_Horizontal); - /****************** BgGradientFillMethod ******************/ - /**** md5 signature: 7ed50907542306114d5e90acbea724cc ****/ + /****** Aspect_GradientBackground::BgGradientFillMethod ******/ + /****** md5 signature: 7ed50907542306114d5e90acbea724cc ******/ %feature("compactdefaultargs") BgGradientFillMethod; - %feature("autodoc", "Returns the current gradient background fill mode. - -Returns + %feature("autodoc", "Return ------- Aspect_GradientFillMethod + +Description +----------- +Returns the current gradient background fill mode. ") BgGradientFillMethod; Aspect_GradientFillMethod BgGradientFillMethod(); - /****************** Colors ******************/ - /**** md5 signature: 1f444dae8ef6192a952d97253320da63 ****/ + /****** Aspect_GradientBackground::Colors ******/ + /****** md5 signature: 2e3f4d55b92b83e682d47f9e5901fc34 ******/ %feature("compactdefaultargs") Colors; - %feature("autodoc", "Returns colours of the window gradient background . - + %feature("autodoc", " Parameters ---------- -AColor1: Quantity_Color -AColor2: Quantity_Color +theColor1: Quantity_Color +theColor2: Quantity_Color -Returns +Return ------- None + +Description +----------- +Returns colours of the window gradient background. ") Colors; - void Colors(Quantity_Color & AColor1, Quantity_Color & AColor2); - - - %feature("autodoc", "1"); - %extend{ - std::string DumpJsonToString(int depth=-1) { - std::stringstream s; - self->DumpJson(s, depth); - return s.str();} - }; - /****************** SetColors ******************/ - /**** md5 signature: e9d1a160fb9ca8b15bcaf9ca8e97b5f0 ****/ - %feature("compactdefaultargs") SetColors; - %feature("autodoc", "Modifies the colours of the window gradient background . + void Colors(Quantity_Color & theColor1, Quantity_Color & theColor2); + + /****************** DumpJson ******************/ + %feature("autodoc", " +Parameters +---------- +depth: int, default=-1 + +Return +------- +str + +Description +----------- +Dump the object to JSON string. +") DumpJson; + %extend{ + std::string DumpJson(int depth=-1) { + std::stringstream s; + self->DumpJson(s, depth); + return "{" + s.str() + "}" ;} + }; + /****** Aspect_GradientBackground::SetColors ******/ + /****** md5 signature: ca78c9c4d4c2f941b5264058f8f3157f ******/ + %feature("compactdefaultargs") SetColors; + %feature("autodoc", " Parameters ---------- -AColor1: Quantity_Color -AColor2: Quantity_Color -AMethod: Aspect_GradientFillMethod,optional - default value is Aspect_GFM_HOR +theColor1: Quantity_Color +theColor2: Quantity_Color +theMethod: Aspect_GradientFillMethod (optional, default to Aspect_GradientFillMethod_Horizontal) -Returns +Return ------- None + +Description +----------- +Modifies the colours of the window gradient background. ") SetColors; - void SetColors(const Quantity_Color & AColor1, const Quantity_Color & AColor2, const Aspect_GradientFillMethod AMethod = Aspect_GFM_HOR); + void SetColors(const Quantity_Color & theColor1, const Quantity_Color & theColor2, const Aspect_GradientFillMethod theMethod = Aspect_GradientFillMethod_Horizontal); }; @@ -3193,221 +4831,260 @@ None *****************************/ class Aspect_OpenVRSession : public Aspect_XRSession { public: - /****************** Aspect_OpenVRSession ******************/ - /**** md5 signature: 8b3b2149154ace218f7a658179bb9520 ****/ + /****** Aspect_OpenVRSession::Aspect_OpenVRSession ******/ + /****** md5 signature: 8b3b2149154ace218f7a658179bb9520 ******/ %feature("compactdefaultargs") Aspect_OpenVRSession; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") Aspect_OpenVRSession; Aspect_OpenVRSession(); - /****************** Close ******************/ - /**** md5 signature: af3f9495fd31a183ccb17c90b08cd92c ****/ + /****** Aspect_OpenVRSession::Close ******/ + /****** md5 signature: af3f9495fd31a183ccb17c90b08cd92c ******/ %feature("compactdefaultargs") Close; - %feature("autodoc", "Release session. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Release session. ") Close; virtual void Close(); - /****************** EyeToHeadTransform ******************/ - /**** md5 signature: 4415cbfdc523c9bc0033cf691701a27a ****/ + /****** Aspect_OpenVRSession::EyeToHeadTransform ******/ + /****** md5 signature: 4415cbfdc523c9bc0033cf691701a27a ******/ %feature("compactdefaultargs") EyeToHeadTransform; - %feature("autodoc", "Return transformation from eye to head. vr::geteyetoheadtransform() wrapper. - + %feature("autodoc", " Parameters ---------- theEye: Aspect_Eye -Returns +Return ------- NCollection_Mat4 + +Description +----------- +Return transformation from eye to head. vr::GetEyeToHeadTransform() wrapper. ") EyeToHeadTransform; virtual NCollection_Mat4 EyeToHeadTransform(Aspect_Eye theEye); - /****************** GetAnalogActionData ******************/ - /**** md5 signature: 7774d891f52d1f379e2c6300ddcfa99c ****/ + /****** Aspect_OpenVRSession::GetAnalogActionData ******/ + /****** md5 signature: 7774d891f52d1f379e2c6300ddcfa99c ******/ %feature("compactdefaultargs") GetAnalogActionData; - %feature("autodoc", "Fetch data for analog input action (like axis). - + %feature("autodoc", " Parameters ---------- theAction: Aspect_XRAction -Returns +Return ------- Aspect_XRAnalogActionData + +Description +----------- +Fetch data for analog input action (like axis). ") GetAnalogActionData; virtual Aspect_XRAnalogActionData GetAnalogActionData(const opencascade::handle & theAction); - /****************** GetDigitalActionData ******************/ - /**** md5 signature: 62087c046bab5d0c5cfd257afcb1772b ****/ + /****** Aspect_OpenVRSession::GetDigitalActionData ******/ + /****** md5 signature: 62087c046bab5d0c5cfd257afcb1772b ******/ %feature("compactdefaultargs") GetDigitalActionData; - %feature("autodoc", "Fetch data for digital input action (like button). - + %feature("autodoc", " Parameters ---------- theAction: Aspect_XRAction -Returns +Return ------- Aspect_XRDigitalActionData + +Description +----------- +Fetch data for digital input action (like button). ") GetDigitalActionData; virtual Aspect_XRDigitalActionData GetDigitalActionData(const opencascade::handle & theAction); - /****************** GetPoseActionDataForNextFrame ******************/ - /**** md5 signature: 94b2429e28b3df982111ec7a8efde11d ****/ + /****** Aspect_OpenVRSession::GetPoseActionDataForNextFrame ******/ + /****** md5 signature: 94b2429e28b3df982111ec7a8efde11d ******/ %feature("compactdefaultargs") GetPoseActionDataForNextFrame; - %feature("autodoc", "Fetch data for pose input action (like fingertip position). - + %feature("autodoc", " Parameters ---------- theAction: Aspect_XRAction -Returns +Return ------- Aspect_XRPoseActionData + +Description +----------- +Fetch data for pose input action (like fingertip position). ") GetPoseActionDataForNextFrame; virtual Aspect_XRPoseActionData GetPoseActionDataForNextFrame(const opencascade::handle & theAction); - /****************** GetString ******************/ - /**** md5 signature: 3a5fdf2eb740dfbb9e9ab8002cc6ed4f ****/ + /****** Aspect_OpenVRSession::GetString ******/ + /****** md5 signature: 3a5fdf2eb740dfbb9e9ab8002cc6ed4f ******/ %feature("compactdefaultargs") GetString; - %feature("autodoc", "Query information. - + %feature("autodoc", " Parameters ---------- theInfo: InfoString -Returns +Return ------- TCollection_AsciiString + +Description +----------- +Query information. ") GetString; virtual TCollection_AsciiString GetString(InfoString theInfo); - /****************** HasProjectionFrustums ******************/ - /**** md5 signature: b05b67863b5b65463aa7504a39e5d4ea ****/ + /****** Aspect_OpenVRSession::HasProjectionFrustums ******/ + /****** md5 signature: b05b67863b5b65463aa7504a39e5d4ea ******/ %feature("compactdefaultargs") HasProjectionFrustums; - %feature("autodoc", "Return true. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return True. ") HasProjectionFrustums; virtual bool HasProjectionFrustums(); - /****************** IsHmdPresent ******************/ - /**** md5 signature: 4d92006ecb61453020c0338ef46db688 ****/ + /****** Aspect_OpenVRSession::IsHmdPresent ******/ + /****** md5 signature: 4d92006ecb61453020c0338ef46db688 ******/ %feature("compactdefaultargs") IsHmdPresent; - %feature("autodoc", "Return true if an hmd may be presented on the system (e.g. to show vr checkbox in application gui). this is fast check, and even if it returns true, opening session may fail. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return True if an HMD may be presented on the system (e.g. to show VR checkbox in application GUI). This is fast check, and even if it returns True, opening session may fail. ") IsHmdPresent; static bool IsHmdPresent(); - /****************** IsOpen ******************/ - /**** md5 signature: 207917360702df01f95e48cf1c178d3d ****/ + /****** Aspect_OpenVRSession::IsOpen ******/ + /****** md5 signature: 207917360702df01f95e48cf1c178d3d ******/ %feature("compactdefaultargs") IsOpen; - %feature("autodoc", "Return true if session is opened. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Return True if session is opened. ") IsOpen; virtual bool IsOpen(); - /****************** NamedTrackedDevice ******************/ - /**** md5 signature: fd01aebe7b7d48f130828b68b0d31a8b ****/ + /****** Aspect_OpenVRSession::NamedTrackedDevice ******/ + /****** md5 signature: fd01aebe7b7d48f130828b68b0d31a8b ******/ %feature("compactdefaultargs") NamedTrackedDevice; - %feature("autodoc", "Return index of tracked device of known role. - + %feature("autodoc", " Parameters ---------- theDevice: Aspect_XRTrackedDeviceRole -Returns +Return ------- int + +Description +----------- +Return index of tracked device of known role. ") NamedTrackedDevice; virtual Standard_Integer NamedTrackedDevice(Aspect_XRTrackedDeviceRole theDevice); - /****************** Open ******************/ - /**** md5 signature: 46feeb1ae37ec453aafb34d187389cb4 ****/ + /****** Aspect_OpenVRSession::Open ******/ + /****** md5 signature: 46feeb1ae37ec453aafb34d187389cb4 ******/ %feature("compactdefaultargs") Open; - %feature("autodoc", "Initialize session. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Initialize session. ") Open; virtual bool Open(); - /****************** ProcessEvents ******************/ - /**** md5 signature: 2a27463c633ed52dfa06a85b1bab9a97 ****/ + /****** Aspect_OpenVRSession::ProcessEvents ******/ + /****** md5 signature: 2a27463c633ed52dfa06a85b1bab9a97 ******/ %feature("compactdefaultargs") ProcessEvents; - %feature("autodoc", "Receive xr events. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Receive XR events. ") ProcessEvents; virtual void ProcessEvents(); - /****************** ProjectionMatrix ******************/ - /**** md5 signature: 1e7c67acc983090242ecfc7d738f648b ****/ + /****** Aspect_OpenVRSession::ProjectionMatrix ******/ + /****** md5 signature: 1e7c67acc983090242ecfc7d738f648b ******/ %feature("compactdefaultargs") ProjectionMatrix; - %feature("autodoc", "Return projection matrix. - + %feature("autodoc", " Parameters ---------- theEye: Aspect_Eye theZNear: double theZFar: double -Returns +Return ------- NCollection_Mat4 + +Description +----------- +Return projection matrix. ") ProjectionMatrix; virtual NCollection_Mat4 ProjectionMatrix(Aspect_Eye theEye, double theZNear, double theZFar); - /****************** RecommendedViewport ******************/ - /**** md5 signature: 67fa46d4104407c65ef24f06d7830ce5 ****/ + /****** Aspect_OpenVRSession::RecommendedViewport ******/ + /****** md5 signature: 67fa46d4104407c65ef24f06d7830ce5 ******/ %feature("compactdefaultargs") RecommendedViewport; - %feature("autodoc", "Return recommended viewport width x height for rendering into vr. - -Returns + %feature("autodoc", "Return ------- NCollection_Vec2 + +Description +----------- +Return recommended viewport Width x Height for rendering into VR. ") RecommendedViewport; virtual NCollection_Vec2 RecommendedViewport(); - /****************** SetTrackingOrigin ******************/ - /**** md5 signature: 76cb2a6b6235da6e0398fa78d9f5cc46 ****/ + /****** Aspect_OpenVRSession::SetTrackingOrigin ******/ + /****** md5 signature: 76cb2a6b6235da6e0398fa78d9f5cc46 ******/ %feature("compactdefaultargs") SetTrackingOrigin; - %feature("autodoc", "Set tracking origin. - + %feature("autodoc", " Parameters ---------- theOrigin: TrackingUniverseOrigin -Returns +Return ------- None + +Description +----------- +Set tracking origin. ") SetTrackingOrigin; virtual void SetTrackingOrigin(TrackingUniverseOrigin theOrigin); - /****************** SubmitEye ******************/ - /**** md5 signature: 7a622ff719a9418d497f3caffcac0d80 ****/ + /****** Aspect_OpenVRSession::SubmitEye ******/ + /****** md5 signature: 7a622ff719a9418d497f3caffcac0d80 ******/ %feature("compactdefaultargs") SubmitEye; - %feature("autodoc", "Submit texture eye to xr composer. @param thetexture [in] texture handle @param thegraphicslib [in] graphics library in which texture handle is defined @param thecolorspace [in] texture color space; srgb means no color conversion by composer; linear means to srgb color conversion by composer @param theeye [in] eye to display returns false on error. - + %feature("autodoc", " Parameters ---------- theTexture: void * @@ -3415,20 +5092,31 @@ theGraphicsLib: Aspect_GraphicsLibrary theColorSpace: Aspect_ColorSpace theEye: Aspect_Eye -Returns +Return ------- bool + +Description +----------- +Submit texture eye to XR Composer. +Input parameter: theTexture texture handle +Input parameter: theGraphicsLib graphics library in which texture handle is defined +Input parameter: theColorSpace texture color space; sRGB means no color conversion by composer; Linear means to sRGB color conversion by composer +Input parameter: theEye eye to display +Return: False on error. ") SubmitEye; virtual bool SubmitEye(void * theTexture, Aspect_GraphicsLibrary theGraphicsLib, Aspect_ColorSpace theColorSpace, Aspect_Eye theEye); - /****************** WaitPoses ******************/ - /**** md5 signature: 5922daa4301bb4074ae95962b4f8d15b ****/ + /****** Aspect_OpenVRSession::WaitPoses ******/ + /****** md5 signature: 5922daa4301bb4074ae95962b4f8d15b ******/ %feature("compactdefaultargs") WaitPoses; - %feature("autodoc", "Fetch actual poses of tracked devices. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Fetch actual poses of tracked devices. ") WaitPoses; virtual bool WaitPoses(); @@ -3472,3 +5160,10 @@ class Aspect_FrustumLRBT: /* class aliases */ %pythoncode { } +/* deprecated methods */ +%pythoncode { +@deprecated +def Aspect_OpenVRSession_IsHmdPresent(*args): + return Aspect_OpenVRSession.IsHmdPresent(*args) + +} diff --git a/src/SWIG_files/wrapper/Aspect.pyi b/src/SWIG_files/wrapper/Aspect.pyi index ab6324a8d..f8ce0c52c 100644 --- a/src/SWIG_files/wrapper/Aspect.pyi +++ b/src/SWIG_files/wrapper/Aspect.pyi @@ -4,43 +4,49 @@ from typing import overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * from OCC.Core.Quantity import * -from OCC.Core.TCollection import * from OCC.Core.gp import * -from OCC.Core.Image import * from OCC.Core.Graphic3d import * +from OCC.Core.TCollection import * +from OCC.Core.Image import * -Aspect_Display = NewType('Aspect_Display', None) -Aspect_Drawable = NewType('Aspect_Drawable', int) -Aspect_FBConfig = NewType('Aspect_FBConfig', None) -Aspect_Handle = NewType('Aspect_Handle', int) -Aspect_RenderingContext = NewType('Aspect_RenderingContext', None) -#the following typedef cannot be wrapped as is -Aspect_TouchMap = NewType('Aspect_TouchMap', Any) -Aspect_VKey = NewType('Aspect_VKey', int) -Aspect_VKeyFlags = NewType('Aspect_VKeyFlags', int) -Aspect_VKeyMouse = NewType('Aspect_VKeyMouse', int) -#the following typedef cannot be wrapped as is -Aspect_XRActionMap = NewType('Aspect_XRActionMap', Any) -#the following typedef cannot be wrapped as is -Aspect_XRActionSetMap = NewType('Aspect_XRActionSetMap', Any) -#the following typedef cannot be wrapped as is -GLXFBConfig = NewType('GLXFBConfig', Any) -HANDLE = NewType('HANDLE', None) +Aspect_Display = NewType("Aspect_Display", None) +Aspect_Drawable = NewType("Aspect_Drawable", int) +Aspect_FBConfig = NewType("Aspect_FBConfig", GLXFBConfig) +Aspect_Handle = NewType("Aspect_Handle", int) +Aspect_RenderingContext = NewType("Aspect_RenderingContext", None) +# the following typedef cannot be wrapped as is +Aspect_TouchMap = NewType("Aspect_TouchMap", Any) +Aspect_VKey = NewType("Aspect_VKey", int) +Aspect_VKeyFlags = NewType("Aspect_VKeyFlags", int) +Aspect_VKeyMouse = NewType("Aspect_VKeyMouse", int) +# the following typedef cannot be wrapped as is +Aspect_XRActionMap = NewType("Aspect_XRActionMap", Any) +# the following typedef cannot be wrapped as is +Aspect_XRActionSetMap = NewType("Aspect_XRActionSetMap", Any) +# the following typedef cannot be wrapped as is +GLXFBConfig = NewType("GLXFBConfig", Any) +HANDLE = NewType("HANDLE", None) class Aspect_SequenceOfColor: - def __init__(self) -> None: ... - def __len__(self) -> int: ... - def Size(self) -> int: ... + def Assign(self, theItem: Quantity_Color) -> Quantity_Color: ... def Clear(self) -> None: ... def First(self) -> Quantity_Color: ... + def IsDeletables(self) -> bool: ... + def IsEmpty(self) -> bool: ... def Last(self) -> Quantity_Color: ... def Length(self) -> int: ... - def Append(self, theItem: Quantity_Color) -> Quantity_Color: ... + def Lower(self) -> int: ... def Prepend(self, theItem: Quantity_Color) -> Quantity_Color: ... def RemoveFirst(self) -> None: ... def Reverse(self) -> None: ... - def Value(self, theIndex: int) -> Quantity_Color: ... def SetValue(self, theIndex: int, theValue: Quantity_Color) -> None: ... + def Size(self) -> int: ... + def UpdateUpperBound(self, int) -> None: ... + def UpdateLowerBound(self, int) -> None: ... + def Upper(self) -> int: ... + def Value(self, theIndex: int) -> Quantity_Color: ... + def __init__(self) -> None: ... + def __len__(self) -> int: ... class Aspect_TrackedDevicePoseArray: @overload @@ -66,156 +72,493 @@ class Aspect_TrackedDevicePoseArray: def Value(self, theIndex: int) -> Aspect_TrackedDevicePose: ... def SetValue(self, theIndex: int, theValue: Aspect_TrackedDevicePose) -> None: ... +class Aspect_ColorSpace(IntEnum): + Aspect_ColorSpace_sRGB: int = ... + Aspect_ColorSpace_Linear: int = ... + +Aspect_ColorSpace_sRGB = Aspect_ColorSpace.Aspect_ColorSpace_sRGB +Aspect_ColorSpace_Linear = Aspect_ColorSpace.Aspect_ColorSpace_Linear + class Aspect_Eye(IntEnum): - Aspect_Eye_Left: int = ... - Aspect_Eye_Right: int = ... + Aspect_Eye_Left: int = ... + Aspect_Eye_Right: int = ... + Aspect_Eye_Left = Aspect_Eye.Aspect_Eye_Left Aspect_Eye_Right = Aspect_Eye.Aspect_Eye_Right +class Aspect_FillMethod(IntEnum): + Aspect_FM_NONE: int = ... + Aspect_FM_CENTERED: int = ... + Aspect_FM_TILED: int = ... + Aspect_FM_STRETCH: int = ... + +Aspect_FM_NONE = Aspect_FillMethod.Aspect_FM_NONE +Aspect_FM_CENTERED = Aspect_FillMethod.Aspect_FM_CENTERED +Aspect_FM_TILED = Aspect_FillMethod.Aspect_FM_TILED +Aspect_FM_STRETCH = Aspect_FillMethod.Aspect_FM_STRETCH + +class Aspect_GradientFillMethod(IntEnum): + Aspect_GradientFillMethod_None: int = ... + Aspect_GradientFillMethod_Horizontal: int = ... + Aspect_GradientFillMethod_Vertical: int = ... + Aspect_GradientFillMethod_Diagonal1: int = ... + Aspect_GradientFillMethod_Diagonal2: int = ... + Aspect_GradientFillMethod_Corner1: int = ... + Aspect_GradientFillMethod_Corner2: int = ... + Aspect_GradientFillMethod_Corner3: int = ... + Aspect_GradientFillMethod_Corner4: int = ... + Aspect_GradientFillMethod_Elliptical: int = ... + Aspect_GFM_NONE: int = ... + Aspect_GFM_HOR: int = ... + Aspect_GFM_VER: int = ... + Aspect_GFM_DIAG1: int = ... + Aspect_GFM_DIAG2: int = ... + Aspect_GFM_CORNER1: int = ... + Aspect_GFM_CORNER2: int = ... + Aspect_GFM_CORNER3: int = ... + Aspect_GFM_CORNER4: int = ... + +Aspect_GradientFillMethod_None = ( + Aspect_GradientFillMethod.Aspect_GradientFillMethod_None +) +Aspect_GradientFillMethod_Horizontal = ( + Aspect_GradientFillMethod.Aspect_GradientFillMethod_Horizontal +) +Aspect_GradientFillMethod_Vertical = ( + Aspect_GradientFillMethod.Aspect_GradientFillMethod_Vertical +) +Aspect_GradientFillMethod_Diagonal1 = ( + Aspect_GradientFillMethod.Aspect_GradientFillMethod_Diagonal1 +) +Aspect_GradientFillMethod_Diagonal2 = ( + Aspect_GradientFillMethod.Aspect_GradientFillMethod_Diagonal2 +) +Aspect_GradientFillMethod_Corner1 = ( + Aspect_GradientFillMethod.Aspect_GradientFillMethod_Corner1 +) +Aspect_GradientFillMethod_Corner2 = ( + Aspect_GradientFillMethod.Aspect_GradientFillMethod_Corner2 +) +Aspect_GradientFillMethod_Corner3 = ( + Aspect_GradientFillMethod.Aspect_GradientFillMethod_Corner3 +) +Aspect_GradientFillMethod_Corner4 = ( + Aspect_GradientFillMethod.Aspect_GradientFillMethod_Corner4 +) +Aspect_GradientFillMethod_Elliptical = ( + Aspect_GradientFillMethod.Aspect_GradientFillMethod_Elliptical +) +Aspect_GFM_NONE = Aspect_GradientFillMethod.Aspect_GFM_NONE +Aspect_GFM_HOR = Aspect_GradientFillMethod.Aspect_GFM_HOR +Aspect_GFM_VER = Aspect_GradientFillMethod.Aspect_GFM_VER +Aspect_GFM_DIAG1 = Aspect_GradientFillMethod.Aspect_GFM_DIAG1 +Aspect_GFM_DIAG2 = Aspect_GradientFillMethod.Aspect_GFM_DIAG2 +Aspect_GFM_CORNER1 = Aspect_GradientFillMethod.Aspect_GFM_CORNER1 +Aspect_GFM_CORNER2 = Aspect_GradientFillMethod.Aspect_GFM_CORNER2 +Aspect_GFM_CORNER3 = Aspect_GradientFillMethod.Aspect_GFM_CORNER3 +Aspect_GFM_CORNER4 = Aspect_GradientFillMethod.Aspect_GFM_CORNER4 + +class Aspect_GraphicsLibrary(IntEnum): + Aspect_GraphicsLibrary_OpenGL: int = ... + Aspect_GraphicsLibrary_OpenGLES: int = ... + +Aspect_GraphicsLibrary_OpenGL = Aspect_GraphicsLibrary.Aspect_GraphicsLibrary_OpenGL +Aspect_GraphicsLibrary_OpenGLES = Aspect_GraphicsLibrary.Aspect_GraphicsLibrary_OpenGLES + +class Aspect_GridDrawMode(IntEnum): + Aspect_GDM_Lines: int = ... + Aspect_GDM_Points: int = ... + Aspect_GDM_None: int = ... + +Aspect_GDM_Lines = Aspect_GridDrawMode.Aspect_GDM_Lines +Aspect_GDM_Points = Aspect_GridDrawMode.Aspect_GDM_Points +Aspect_GDM_None = Aspect_GridDrawMode.Aspect_GDM_None + +class Aspect_GridType(IntEnum): + Aspect_GT_Rectangular: int = ... + Aspect_GT_Circular: int = ... + +Aspect_GT_Rectangular = Aspect_GridType.Aspect_GT_Rectangular +Aspect_GT_Circular = Aspect_GridType.Aspect_GT_Circular + +class Aspect_HatchStyle(IntEnum): + Aspect_HS_SOLID: int = ... + Aspect_HS_HORIZONTAL: int = ... + Aspect_HS_HORIZONTAL_WIDE: int = ... + Aspect_HS_VERTICAL: int = ... + Aspect_HS_VERTICAL_WIDE: int = ... + Aspect_HS_DIAGONAL_45: int = ... + Aspect_HS_DIAGONAL_45_WIDE: int = ... + Aspect_HS_DIAGONAL_135: int = ... + Aspect_HS_DIAGONAL_135_WIDE: int = ... + Aspect_HS_GRID: int = ... + Aspect_HS_GRID_WIDE: int = ... + Aspect_HS_GRID_DIAGONAL: int = ... + Aspect_HS_GRID_DIAGONAL_WIDE: int = ... + Aspect_HS_NB: int = ... + +Aspect_HS_SOLID = Aspect_HatchStyle.Aspect_HS_SOLID +Aspect_HS_HORIZONTAL = Aspect_HatchStyle.Aspect_HS_HORIZONTAL +Aspect_HS_HORIZONTAL_WIDE = Aspect_HatchStyle.Aspect_HS_HORIZONTAL_WIDE +Aspect_HS_VERTICAL = Aspect_HatchStyle.Aspect_HS_VERTICAL +Aspect_HS_VERTICAL_WIDE = Aspect_HatchStyle.Aspect_HS_VERTICAL_WIDE +Aspect_HS_DIAGONAL_45 = Aspect_HatchStyle.Aspect_HS_DIAGONAL_45 +Aspect_HS_DIAGONAL_45_WIDE = Aspect_HatchStyle.Aspect_HS_DIAGONAL_45_WIDE +Aspect_HS_DIAGONAL_135 = Aspect_HatchStyle.Aspect_HS_DIAGONAL_135 +Aspect_HS_DIAGONAL_135_WIDE = Aspect_HatchStyle.Aspect_HS_DIAGONAL_135_WIDE +Aspect_HS_GRID = Aspect_HatchStyle.Aspect_HS_GRID +Aspect_HS_GRID_WIDE = Aspect_HatchStyle.Aspect_HS_GRID_WIDE +Aspect_HS_GRID_DIAGONAL = Aspect_HatchStyle.Aspect_HS_GRID_DIAGONAL +Aspect_HS_GRID_DIAGONAL_WIDE = Aspect_HatchStyle.Aspect_HS_GRID_DIAGONAL_WIDE +Aspect_HS_NB = Aspect_HatchStyle.Aspect_HS_NB + +class Aspect_InteriorStyle(IntEnum): + Aspect_IS_EMPTY: int = ... + Aspect_IS_SOLID: int = ... + Aspect_IS_HATCH: int = ... + Aspect_IS_HIDDENLINE: int = ... + Aspect_IS_POINT: int = ... + Aspect_IS_HOLLOW: int = ... + +Aspect_IS_EMPTY = Aspect_InteriorStyle.Aspect_IS_EMPTY +Aspect_IS_SOLID = Aspect_InteriorStyle.Aspect_IS_SOLID +Aspect_IS_HATCH = Aspect_InteriorStyle.Aspect_IS_HATCH +Aspect_IS_HIDDENLINE = Aspect_InteriorStyle.Aspect_IS_HIDDENLINE +Aspect_IS_POINT = Aspect_InteriorStyle.Aspect_IS_POINT +Aspect_IS_HOLLOW = Aspect_InteriorStyle.Aspect_IS_HOLLOW + +class Aspect_PolygonOffsetMode(IntEnum): + Aspect_POM_Off: int = ... + Aspect_POM_Fill: int = ... + Aspect_POM_Line: int = ... + Aspect_POM_Point: int = ... + Aspect_POM_All: int = ... + Aspect_POM_None: int = ... + Aspect_POM_Mask: int = ... + +Aspect_POM_Off = Aspect_PolygonOffsetMode.Aspect_POM_Off +Aspect_POM_Fill = Aspect_PolygonOffsetMode.Aspect_POM_Fill +Aspect_POM_Line = Aspect_PolygonOffsetMode.Aspect_POM_Line +Aspect_POM_Point = Aspect_PolygonOffsetMode.Aspect_POM_Point +Aspect_POM_All = Aspect_PolygonOffsetMode.Aspect_POM_All +Aspect_POM_None = Aspect_PolygonOffsetMode.Aspect_POM_None +Aspect_POM_Mask = Aspect_PolygonOffsetMode.Aspect_POM_Mask + +class Aspect_TypeOfColorScaleData(IntEnum): + Aspect_TOCSD_AUTO: int = ... + Aspect_TOCSD_USER: int = ... + +Aspect_TOCSD_AUTO = Aspect_TypeOfColorScaleData.Aspect_TOCSD_AUTO +Aspect_TOCSD_USER = Aspect_TypeOfColorScaleData.Aspect_TOCSD_USER + +class Aspect_TypeOfColorScaleOrientation(IntEnum): + Aspect_TOCSO_NONE: int = ... + Aspect_TOCSO_LEFT: int = ... + Aspect_TOCSO_RIGHT: int = ... + Aspect_TOCSO_CENTER: int = ... + +Aspect_TOCSO_NONE = Aspect_TypeOfColorScaleOrientation.Aspect_TOCSO_NONE +Aspect_TOCSO_LEFT = Aspect_TypeOfColorScaleOrientation.Aspect_TOCSO_LEFT +Aspect_TOCSO_RIGHT = Aspect_TypeOfColorScaleOrientation.Aspect_TOCSO_RIGHT +Aspect_TOCSO_CENTER = Aspect_TypeOfColorScaleOrientation.Aspect_TOCSO_CENTER + +class Aspect_TypeOfColorScalePosition(IntEnum): + Aspect_TOCSP_NONE: int = ... + Aspect_TOCSP_LEFT: int = ... + Aspect_TOCSP_RIGHT: int = ... + Aspect_TOCSP_CENTER: int = ... + +Aspect_TOCSP_NONE = Aspect_TypeOfColorScalePosition.Aspect_TOCSP_NONE +Aspect_TOCSP_LEFT = Aspect_TypeOfColorScalePosition.Aspect_TOCSP_LEFT +Aspect_TOCSP_RIGHT = Aspect_TypeOfColorScalePosition.Aspect_TOCSP_RIGHT +Aspect_TOCSP_CENTER = Aspect_TypeOfColorScalePosition.Aspect_TOCSP_CENTER + +class Aspect_TypeOfDeflection(IntEnum): + Aspect_TOD_RELATIVE: int = ... + Aspect_TOD_ABSOLUTE: int = ... + +Aspect_TOD_RELATIVE = Aspect_TypeOfDeflection.Aspect_TOD_RELATIVE +Aspect_TOD_ABSOLUTE = Aspect_TypeOfDeflection.Aspect_TOD_ABSOLUTE + +class Aspect_TypeOfDisplayText(IntEnum): + Aspect_TODT_NORMAL: int = ... + Aspect_TODT_SUBTITLE: int = ... + Aspect_TODT_DEKALE: int = ... + Aspect_TODT_BLEND: int = ... + Aspect_TODT_DIMENSION: int = ... + Aspect_TODT_SHADOW: int = ... + +Aspect_TODT_NORMAL = Aspect_TypeOfDisplayText.Aspect_TODT_NORMAL +Aspect_TODT_SUBTITLE = Aspect_TypeOfDisplayText.Aspect_TODT_SUBTITLE +Aspect_TODT_DEKALE = Aspect_TypeOfDisplayText.Aspect_TODT_DEKALE +Aspect_TODT_BLEND = Aspect_TypeOfDisplayText.Aspect_TODT_BLEND +Aspect_TODT_DIMENSION = Aspect_TypeOfDisplayText.Aspect_TODT_DIMENSION +Aspect_TODT_SHADOW = Aspect_TypeOfDisplayText.Aspect_TODT_SHADOW + +class Aspect_TypeOfFacingModel(IntEnum): + Aspect_TOFM_BOTH_SIDE: int = ... + Aspect_TOFM_BACK_SIDE: int = ... + Aspect_TOFM_FRONT_SIDE: int = ... + +Aspect_TOFM_BOTH_SIDE = Aspect_TypeOfFacingModel.Aspect_TOFM_BOTH_SIDE +Aspect_TOFM_BACK_SIDE = Aspect_TypeOfFacingModel.Aspect_TOFM_BACK_SIDE +Aspect_TOFM_FRONT_SIDE = Aspect_TypeOfFacingModel.Aspect_TOFM_FRONT_SIDE + +class Aspect_TypeOfHighlightMethod(IntEnum): + Aspect_TOHM_COLOR: int = ... + Aspect_TOHM_BOUNDBOX: int = ... + +Aspect_TOHM_COLOR = Aspect_TypeOfHighlightMethod.Aspect_TOHM_COLOR +Aspect_TOHM_BOUNDBOX = Aspect_TypeOfHighlightMethod.Aspect_TOHM_BOUNDBOX + +class Aspect_TypeOfLine(IntEnum): + Aspect_TOL_EMPTY: int = ... + Aspect_TOL_SOLID: int = ... + Aspect_TOL_DASH: int = ... + Aspect_TOL_DOT: int = ... + Aspect_TOL_DOTDASH: int = ... + Aspect_TOL_USERDEFINED: int = ... + +Aspect_TOL_EMPTY = Aspect_TypeOfLine.Aspect_TOL_EMPTY +Aspect_TOL_SOLID = Aspect_TypeOfLine.Aspect_TOL_SOLID +Aspect_TOL_DASH = Aspect_TypeOfLine.Aspect_TOL_DASH +Aspect_TOL_DOT = Aspect_TypeOfLine.Aspect_TOL_DOT +Aspect_TOL_DOTDASH = Aspect_TypeOfLine.Aspect_TOL_DOTDASH +Aspect_TOL_USERDEFINED = Aspect_TypeOfLine.Aspect_TOL_USERDEFINED + +class Aspect_TypeOfMarker(IntEnum): + Aspect_TOM_EMPTY: int = ... + Aspect_TOM_POINT: int = ... + Aspect_TOM_PLUS: int = ... + Aspect_TOM_STAR: int = ... + Aspect_TOM_X: int = ... + Aspect_TOM_O: int = ... + Aspect_TOM_O_POINT: int = ... + Aspect_TOM_O_PLUS: int = ... + Aspect_TOM_O_STAR: int = ... + Aspect_TOM_O_X: int = ... + Aspect_TOM_RING1: int = ... + Aspect_TOM_RING2: int = ... + Aspect_TOM_RING3: int = ... + Aspect_TOM_BALL: int = ... + Aspect_TOM_USERDEFINED: int = ... + +Aspect_TOM_EMPTY = Aspect_TypeOfMarker.Aspect_TOM_EMPTY +Aspect_TOM_POINT = Aspect_TypeOfMarker.Aspect_TOM_POINT +Aspect_TOM_PLUS = Aspect_TypeOfMarker.Aspect_TOM_PLUS +Aspect_TOM_STAR = Aspect_TypeOfMarker.Aspect_TOM_STAR +Aspect_TOM_X = Aspect_TypeOfMarker.Aspect_TOM_X +Aspect_TOM_O = Aspect_TypeOfMarker.Aspect_TOM_O +Aspect_TOM_O_POINT = Aspect_TypeOfMarker.Aspect_TOM_O_POINT +Aspect_TOM_O_PLUS = Aspect_TypeOfMarker.Aspect_TOM_O_PLUS +Aspect_TOM_O_STAR = Aspect_TypeOfMarker.Aspect_TOM_O_STAR +Aspect_TOM_O_X = Aspect_TypeOfMarker.Aspect_TOM_O_X +Aspect_TOM_RING1 = Aspect_TypeOfMarker.Aspect_TOM_RING1 +Aspect_TOM_RING2 = Aspect_TypeOfMarker.Aspect_TOM_RING2 +Aspect_TOM_RING3 = Aspect_TypeOfMarker.Aspect_TOM_RING3 +Aspect_TOM_BALL = Aspect_TypeOfMarker.Aspect_TOM_BALL +Aspect_TOM_USERDEFINED = Aspect_TypeOfMarker.Aspect_TOM_USERDEFINED + +class Aspect_TypeOfResize(IntEnum): + Aspect_TOR_UNKNOWN: int = ... + Aspect_TOR_NO_BORDER: int = ... + Aspect_TOR_TOP_BORDER: int = ... + Aspect_TOR_RIGHT_BORDER: int = ... + Aspect_TOR_BOTTOM_BORDER: int = ... + Aspect_TOR_LEFT_BORDER: int = ... + Aspect_TOR_TOP_AND_RIGHT_BORDER: int = ... + Aspect_TOR_RIGHT_AND_BOTTOM_BORDER: int = ... + Aspect_TOR_BOTTOM_AND_LEFT_BORDER: int = ... + Aspect_TOR_LEFT_AND_TOP_BORDER: int = ... + +Aspect_TOR_UNKNOWN = Aspect_TypeOfResize.Aspect_TOR_UNKNOWN +Aspect_TOR_NO_BORDER = Aspect_TypeOfResize.Aspect_TOR_NO_BORDER +Aspect_TOR_TOP_BORDER = Aspect_TypeOfResize.Aspect_TOR_TOP_BORDER +Aspect_TOR_RIGHT_BORDER = Aspect_TypeOfResize.Aspect_TOR_RIGHT_BORDER +Aspect_TOR_BOTTOM_BORDER = Aspect_TypeOfResize.Aspect_TOR_BOTTOM_BORDER +Aspect_TOR_LEFT_BORDER = Aspect_TypeOfResize.Aspect_TOR_LEFT_BORDER +Aspect_TOR_TOP_AND_RIGHT_BORDER = Aspect_TypeOfResize.Aspect_TOR_TOP_AND_RIGHT_BORDER +Aspect_TOR_RIGHT_AND_BOTTOM_BORDER = ( + Aspect_TypeOfResize.Aspect_TOR_RIGHT_AND_BOTTOM_BORDER +) +Aspect_TOR_BOTTOM_AND_LEFT_BORDER = ( + Aspect_TypeOfResize.Aspect_TOR_BOTTOM_AND_LEFT_BORDER +) +Aspect_TOR_LEFT_AND_TOP_BORDER = Aspect_TypeOfResize.Aspect_TOR_LEFT_AND_TOP_BORDER + +class Aspect_TypeOfStyleText(IntEnum): + Aspect_TOST_NORMAL: int = ... + Aspect_TOST_ANNOTATION: int = ... + +Aspect_TOST_NORMAL = Aspect_TypeOfStyleText.Aspect_TOST_NORMAL +Aspect_TOST_ANNOTATION = Aspect_TypeOfStyleText.Aspect_TOST_ANNOTATION + +class Aspect_TypeOfTriedronPosition(IntEnum): + Aspect_TOTP_CENTER: int = ... + Aspect_TOTP_TOP: int = ... + Aspect_TOTP_BOTTOM: int = ... + Aspect_TOTP_LEFT: int = ... + Aspect_TOTP_RIGHT: int = ... + Aspect_TOTP_LEFT_LOWER: int = ... + Aspect_TOTP_LEFT_UPPER: int = ... + Aspect_TOTP_RIGHT_LOWER: int = ... + Aspect_TOTP_RIGHT_UPPER: int = ... + +Aspect_TOTP_CENTER = Aspect_TypeOfTriedronPosition.Aspect_TOTP_CENTER +Aspect_TOTP_TOP = Aspect_TypeOfTriedronPosition.Aspect_TOTP_TOP +Aspect_TOTP_BOTTOM = Aspect_TypeOfTriedronPosition.Aspect_TOTP_BOTTOM +Aspect_TOTP_LEFT = Aspect_TypeOfTriedronPosition.Aspect_TOTP_LEFT +Aspect_TOTP_RIGHT = Aspect_TypeOfTriedronPosition.Aspect_TOTP_RIGHT +Aspect_TOTP_LEFT_LOWER = Aspect_TypeOfTriedronPosition.Aspect_TOTP_LEFT_LOWER +Aspect_TOTP_LEFT_UPPER = Aspect_TypeOfTriedronPosition.Aspect_TOTP_LEFT_UPPER +Aspect_TOTP_RIGHT_LOWER = Aspect_TypeOfTriedronPosition.Aspect_TOTP_RIGHT_LOWER +Aspect_TOTP_RIGHT_UPPER = Aspect_TypeOfTriedronPosition.Aspect_TOTP_RIGHT_UPPER + class Aspect_VKeyBasic(IntEnum): - Aspect_VKey_UNKNOWN: int = ... - Aspect_VKey_A: int = ... - Aspect_VKey_B: int = ... - Aspect_VKey_C: int = ... - Aspect_VKey_D: int = ... - Aspect_VKey_E: int = ... - Aspect_VKey_F: int = ... - Aspect_VKey_G: int = ... - Aspect_VKey_H: int = ... - Aspect_VKey_I: int = ... - Aspect_VKey_J: int = ... - Aspect_VKey_K: int = ... - Aspect_VKey_L: int = ... - Aspect_VKey_M: int = ... - Aspect_VKey_N: int = ... - Aspect_VKey_O: int = ... - Aspect_VKey_P: int = ... - Aspect_VKey_Q: int = ... - Aspect_VKey_R: int = ... - Aspect_VKey_S: int = ... - Aspect_VKey_T: int = ... - Aspect_VKey_U: int = ... - Aspect_VKey_V: int = ... - Aspect_VKey_W: int = ... - Aspect_VKey_X: int = ... - Aspect_VKey_Y: int = ... - Aspect_VKey_Z: int = ... - Aspect_VKey_0: int = ... - Aspect_VKey_1: int = ... - Aspect_VKey_2: int = ... - Aspect_VKey_3: int = ... - Aspect_VKey_4: int = ... - Aspect_VKey_5: int = ... - Aspect_VKey_6: int = ... - Aspect_VKey_7: int = ... - Aspect_VKey_8: int = ... - Aspect_VKey_9: int = ... - Aspect_VKey_F1: int = ... - Aspect_VKey_F2: int = ... - Aspect_VKey_F3: int = ... - Aspect_VKey_F4: int = ... - Aspect_VKey_F5: int = ... - Aspect_VKey_F6: int = ... - Aspect_VKey_F7: int = ... - Aspect_VKey_F8: int = ... - Aspect_VKey_F9: int = ... - Aspect_VKey_F10: int = ... - Aspect_VKey_F11: int = ... - Aspect_VKey_F12: int = ... - Aspect_VKey_Up: int = ... - Aspect_VKey_Down: int = ... - Aspect_VKey_Left: int = ... - Aspect_VKey_Right: int = ... - Aspect_VKey_Plus: int = ... - Aspect_VKey_Minus: int = ... - Aspect_VKey_Equal: int = ... - Aspect_VKey_PageUp: int = ... - Aspect_VKey_PageDown: int = ... - Aspect_VKey_Home: int = ... - Aspect_VKey_End: int = ... - Aspect_VKey_Escape: int = ... - Aspect_VKey_Back: int = ... - Aspect_VKey_Enter: int = ... - Aspect_VKey_Backspace: int = ... - Aspect_VKey_Space: int = ... - Aspect_VKey_Delete: int = ... - Aspect_VKey_Tilde: int = ... - Aspect_VKey_Tab: int = ... - Aspect_VKey_Comma: int = ... - Aspect_VKey_Period: int = ... - Aspect_VKey_Semicolon: int = ... - Aspect_VKey_Slash: int = ... - Aspect_VKey_BracketLeft: int = ... - Aspect_VKey_Backslash: int = ... - Aspect_VKey_BracketRight: int = ... - Aspect_VKey_Apostrophe: int = ... - Aspect_VKey_Numlock: int = ... - Aspect_VKey_Scroll: int = ... - Aspect_VKey_Numpad0: int = ... - Aspect_VKey_Numpad1: int = ... - Aspect_VKey_Numpad2: int = ... - Aspect_VKey_Numpad3: int = ... - Aspect_VKey_Numpad4: int = ... - Aspect_VKey_Numpad5: int = ... - Aspect_VKey_Numpad6: int = ... - Aspect_VKey_Numpad7: int = ... - Aspect_VKey_Numpad8: int = ... - Aspect_VKey_Numpad9: int = ... - Aspect_VKey_NumpadMultiply: int = ... - Aspect_VKey_NumpadAdd: int = ... - Aspect_VKey_NumpadSubtract: int = ... - Aspect_VKey_NumpadDivide: int = ... - Aspect_VKey_MediaNextTrack: int = ... - Aspect_VKey_MediaPreviousTrack: int = ... - Aspect_VKey_MediaStop: int = ... - Aspect_VKey_MediaPlayPause: int = ... - Aspect_VKey_VolumeMute: int = ... - Aspect_VKey_VolumeDown: int = ... - Aspect_VKey_VolumeUp: int = ... - Aspect_VKey_BrowserBack: int = ... - Aspect_VKey_BrowserForward: int = ... - Aspect_VKey_BrowserRefresh: int = ... - Aspect_VKey_BrowserStop: int = ... - Aspect_VKey_BrowserSearch: int = ... - Aspect_VKey_BrowserFavorites: int = ... - Aspect_VKey_BrowserHome: int = ... - Aspect_VKey_ViewTop: int = ... - Aspect_VKey_ViewBottom: int = ... - Aspect_VKey_ViewLeft: int = ... - Aspect_VKey_ViewRight: int = ... - Aspect_VKey_ViewFront: int = ... - Aspect_VKey_ViewBack: int = ... - Aspect_VKey_ViewAxoLeftProj: int = ... - Aspect_VKey_ViewAxoRightProj: int = ... - Aspect_VKey_ViewFitAll: int = ... - Aspect_VKey_ViewRoll90CW: int = ... - Aspect_VKey_ViewRoll90CCW: int = ... - Aspect_VKey_ViewSwitchRotate: int = ... - Aspect_VKey_Shift: int = ... - Aspect_VKey_Control: int = ... - Aspect_VKey_Alt: int = ... - Aspect_VKey_Menu: int = ... - Aspect_VKey_Meta: int = ... - Aspect_VKey_NavInteract: int = ... - Aspect_VKey_NavForward: int = ... - Aspect_VKey_NavBackward: int = ... - Aspect_VKey_NavSlideLeft: int = ... - Aspect_VKey_NavSlideRight: int = ... - Aspect_VKey_NavSlideUp: int = ... - Aspect_VKey_NavSlideDown: int = ... - Aspect_VKey_NavRollCCW: int = ... - Aspect_VKey_NavRollCW: int = ... - Aspect_VKey_NavLookLeft: int = ... - Aspect_VKey_NavLookRight: int = ... - Aspect_VKey_NavLookUp: int = ... - Aspect_VKey_NavLookDown: int = ... - Aspect_VKey_NavCrouch: int = ... - Aspect_VKey_NavJump: int = ... - Aspect_VKey_NavThrustForward: int = ... - Aspect_VKey_NavThrustBackward: int = ... - Aspect_VKey_NavThrustStop: int = ... - Aspect_VKey_NavSpeedIncrease: int = ... - Aspect_VKey_NavSpeedDecrease: int = ... + Aspect_VKey_UNKNOWN: int = ... + Aspect_VKey_A: int = ... + Aspect_VKey_B: int = ... + Aspect_VKey_C: int = ... + Aspect_VKey_D: int = ... + Aspect_VKey_E: int = ... + Aspect_VKey_F: int = ... + Aspect_VKey_G: int = ... + Aspect_VKey_H: int = ... + Aspect_VKey_I: int = ... + Aspect_VKey_J: int = ... + Aspect_VKey_K: int = ... + Aspect_VKey_L: int = ... + Aspect_VKey_M: int = ... + Aspect_VKey_N: int = ... + Aspect_VKey_O: int = ... + Aspect_VKey_P: int = ... + Aspect_VKey_Q: int = ... + Aspect_VKey_R: int = ... + Aspect_VKey_S: int = ... + Aspect_VKey_T: int = ... + Aspect_VKey_U: int = ... + Aspect_VKey_V: int = ... + Aspect_VKey_W: int = ... + Aspect_VKey_X: int = ... + Aspect_VKey_Y: int = ... + Aspect_VKey_Z: int = ... + Aspect_VKey_0: int = ... + Aspect_VKey_1: int = ... + Aspect_VKey_2: int = ... + Aspect_VKey_3: int = ... + Aspect_VKey_4: int = ... + Aspect_VKey_5: int = ... + Aspect_VKey_6: int = ... + Aspect_VKey_7: int = ... + Aspect_VKey_8: int = ... + Aspect_VKey_9: int = ... + Aspect_VKey_F1: int = ... + Aspect_VKey_F2: int = ... + Aspect_VKey_F3: int = ... + Aspect_VKey_F4: int = ... + Aspect_VKey_F5: int = ... + Aspect_VKey_F6: int = ... + Aspect_VKey_F7: int = ... + Aspect_VKey_F8: int = ... + Aspect_VKey_F9: int = ... + Aspect_VKey_F10: int = ... + Aspect_VKey_F11: int = ... + Aspect_VKey_F12: int = ... + Aspect_VKey_Up: int = ... + Aspect_VKey_Down: int = ... + Aspect_VKey_Left: int = ... + Aspect_VKey_Right: int = ... + Aspect_VKey_Plus: int = ... + Aspect_VKey_Minus: int = ... + Aspect_VKey_Equal: int = ... + Aspect_VKey_PageUp: int = ... + Aspect_VKey_PageDown: int = ... + Aspect_VKey_Home: int = ... + Aspect_VKey_End: int = ... + Aspect_VKey_Escape: int = ... + Aspect_VKey_Back: int = ... + Aspect_VKey_Enter: int = ... + Aspect_VKey_Backspace: int = ... + Aspect_VKey_Space: int = ... + Aspect_VKey_Delete: int = ... + Aspect_VKey_Tilde: int = ... + Aspect_VKey_Tab: int = ... + Aspect_VKey_Comma: int = ... + Aspect_VKey_Period: int = ... + Aspect_VKey_Semicolon: int = ... + Aspect_VKey_Slash: int = ... + Aspect_VKey_BracketLeft: int = ... + Aspect_VKey_Backslash: int = ... + Aspect_VKey_BracketRight: int = ... + Aspect_VKey_Apostrophe: int = ... + Aspect_VKey_Numlock: int = ... + Aspect_VKey_Scroll: int = ... + Aspect_VKey_Numpad0: int = ... + Aspect_VKey_Numpad1: int = ... + Aspect_VKey_Numpad2: int = ... + Aspect_VKey_Numpad3: int = ... + Aspect_VKey_Numpad4: int = ... + Aspect_VKey_Numpad5: int = ... + Aspect_VKey_Numpad6: int = ... + Aspect_VKey_Numpad7: int = ... + Aspect_VKey_Numpad8: int = ... + Aspect_VKey_Numpad9: int = ... + Aspect_VKey_NumpadMultiply: int = ... + Aspect_VKey_NumpadAdd: int = ... + Aspect_VKey_NumpadSubtract: int = ... + Aspect_VKey_NumpadDivide: int = ... + Aspect_VKey_MediaNextTrack: int = ... + Aspect_VKey_MediaPreviousTrack: int = ... + Aspect_VKey_MediaStop: int = ... + Aspect_VKey_MediaPlayPause: int = ... + Aspect_VKey_VolumeMute: int = ... + Aspect_VKey_VolumeDown: int = ... + Aspect_VKey_VolumeUp: int = ... + Aspect_VKey_BrowserBack: int = ... + Aspect_VKey_BrowserForward: int = ... + Aspect_VKey_BrowserRefresh: int = ... + Aspect_VKey_BrowserStop: int = ... + Aspect_VKey_BrowserSearch: int = ... + Aspect_VKey_BrowserFavorites: int = ... + Aspect_VKey_BrowserHome: int = ... + Aspect_VKey_ViewTop: int = ... + Aspect_VKey_ViewBottom: int = ... + Aspect_VKey_ViewLeft: int = ... + Aspect_VKey_ViewRight: int = ... + Aspect_VKey_ViewFront: int = ... + Aspect_VKey_ViewBack: int = ... + Aspect_VKey_ViewAxoLeftProj: int = ... + Aspect_VKey_ViewAxoRightProj: int = ... + Aspect_VKey_ViewFitAll: int = ... + Aspect_VKey_ViewRoll90CW: int = ... + Aspect_VKey_ViewRoll90CCW: int = ... + Aspect_VKey_ViewSwitchRotate: int = ... + Aspect_VKey_Shift: int = ... + Aspect_VKey_Control: int = ... + Aspect_VKey_Alt: int = ... + Aspect_VKey_Menu: int = ... + Aspect_VKey_Meta: int = ... + Aspect_VKey_NavInteract: int = ... + Aspect_VKey_NavForward: int = ... + Aspect_VKey_NavBackward: int = ... + Aspect_VKey_NavSlideLeft: int = ... + Aspect_VKey_NavSlideRight: int = ... + Aspect_VKey_NavSlideUp: int = ... + Aspect_VKey_NavSlideDown: int = ... + Aspect_VKey_NavRollCCW: int = ... + Aspect_VKey_NavRollCW: int = ... + Aspect_VKey_NavLookLeft: int = ... + Aspect_VKey_NavLookRight: int = ... + Aspect_VKey_NavLookUp: int = ... + Aspect_VKey_NavLookDown: int = ... + Aspect_VKey_NavCrouch: int = ... + Aspect_VKey_NavJump: int = ... + Aspect_VKey_NavThrustForward: int = ... + Aspect_VKey_NavThrustBackward: int = ... + Aspect_VKey_NavThrustStop: int = ... + Aspect_VKey_NavSpeedIncrease: int = ... + Aspect_VKey_NavSpeedDecrease: int = ... + Aspect_VKey_UNKNOWN = Aspect_VKeyBasic.Aspect_VKey_UNKNOWN Aspect_VKey_A = Aspect_VKeyBasic.Aspect_VKey_A Aspect_VKey_B = Aspect_VKeyBasic.Aspect_VKey_B @@ -360,551 +703,524 @@ Aspect_VKey_NavThrustStop = Aspect_VKeyBasic.Aspect_VKey_NavThrustStop Aspect_VKey_NavSpeedIncrease = Aspect_VKeyBasic.Aspect_VKey_NavSpeedIncrease Aspect_VKey_NavSpeedDecrease = Aspect_VKeyBasic.Aspect_VKey_NavSpeedDecrease -class Aspect_TypeOfDeflection(IntEnum): - Aspect_TOD_RELATIVE: int = ... - Aspect_TOD_ABSOLUTE: int = ... -Aspect_TOD_RELATIVE = Aspect_TypeOfDeflection.Aspect_TOD_RELATIVE -Aspect_TOD_ABSOLUTE = Aspect_TypeOfDeflection.Aspect_TOD_ABSOLUTE - -class Aspect_TypeOfLine(IntEnum): - Aspect_TOL_EMPTY: int = ... - Aspect_TOL_SOLID: int = ... - Aspect_TOL_DASH: int = ... - Aspect_TOL_DOT: int = ... - Aspect_TOL_DOTDASH: int = ... - Aspect_TOL_USERDEFINED: int = ... -Aspect_TOL_EMPTY = Aspect_TypeOfLine.Aspect_TOL_EMPTY -Aspect_TOL_SOLID = Aspect_TypeOfLine.Aspect_TOL_SOLID -Aspect_TOL_DASH = Aspect_TypeOfLine.Aspect_TOL_DASH -Aspect_TOL_DOT = Aspect_TypeOfLine.Aspect_TOL_DOT -Aspect_TOL_DOTDASH = Aspect_TypeOfLine.Aspect_TOL_DOTDASH -Aspect_TOL_USERDEFINED = Aspect_TypeOfLine.Aspect_TOL_USERDEFINED - -class Aspect_GradientFillMethod(IntEnum): - Aspect_GFM_NONE: int = ... - Aspect_GFM_HOR: int = ... - Aspect_GFM_VER: int = ... - Aspect_GFM_DIAG1: int = ... - Aspect_GFM_DIAG2: int = ... - Aspect_GFM_CORNER1: int = ... - Aspect_GFM_CORNER2: int = ... - Aspect_GFM_CORNER3: int = ... - Aspect_GFM_CORNER4: int = ... -Aspect_GFM_NONE = Aspect_GradientFillMethod.Aspect_GFM_NONE -Aspect_GFM_HOR = Aspect_GradientFillMethod.Aspect_GFM_HOR -Aspect_GFM_VER = Aspect_GradientFillMethod.Aspect_GFM_VER -Aspect_GFM_DIAG1 = Aspect_GradientFillMethod.Aspect_GFM_DIAG1 -Aspect_GFM_DIAG2 = Aspect_GradientFillMethod.Aspect_GFM_DIAG2 -Aspect_GFM_CORNER1 = Aspect_GradientFillMethod.Aspect_GFM_CORNER1 -Aspect_GFM_CORNER2 = Aspect_GradientFillMethod.Aspect_GFM_CORNER2 -Aspect_GFM_CORNER3 = Aspect_GradientFillMethod.Aspect_GFM_CORNER3 -Aspect_GFM_CORNER4 = Aspect_GradientFillMethod.Aspect_GFM_CORNER4 - -class Aspect_XRGenericAction(IntEnum): - Aspect_XRGenericAction_IsHeadsetOn: int = ... - Aspect_XRGenericAction_InputAppMenu: int = ... - Aspect_XRGenericAction_InputSysMenu: int = ... - Aspect_XRGenericAction_InputTriggerPull: int = ... - Aspect_XRGenericAction_InputTriggerClick: int = ... - Aspect_XRGenericAction_InputGripClick: int = ... - Aspect_XRGenericAction_InputTrackPadPosition: int = ... - Aspect_XRGenericAction_InputTrackPadTouch: int = ... - Aspect_XRGenericAction_InputTrackPadClick: int = ... - Aspect_XRGenericAction_InputThumbstickPosition: int = ... - Aspect_XRGenericAction_InputThumbstickTouch: int = ... - Aspect_XRGenericAction_InputThumbstickClick: int = ... - Aspect_XRGenericAction_InputPoseBase: int = ... - Aspect_XRGenericAction_InputPoseFront: int = ... - Aspect_XRGenericAction_InputPoseHandGrip: int = ... - Aspect_XRGenericAction_InputPoseFingerTip: int = ... - Aspect_XRGenericAction_OutputHaptic: int = ... -Aspect_XRGenericAction_IsHeadsetOn = Aspect_XRGenericAction.Aspect_XRGenericAction_IsHeadsetOn -Aspect_XRGenericAction_InputAppMenu = Aspect_XRGenericAction.Aspect_XRGenericAction_InputAppMenu -Aspect_XRGenericAction_InputSysMenu = Aspect_XRGenericAction.Aspect_XRGenericAction_InputSysMenu -Aspect_XRGenericAction_InputTriggerPull = Aspect_XRGenericAction.Aspect_XRGenericAction_InputTriggerPull -Aspect_XRGenericAction_InputTriggerClick = Aspect_XRGenericAction.Aspect_XRGenericAction_InputTriggerClick -Aspect_XRGenericAction_InputGripClick = Aspect_XRGenericAction.Aspect_XRGenericAction_InputGripClick -Aspect_XRGenericAction_InputTrackPadPosition = Aspect_XRGenericAction.Aspect_XRGenericAction_InputTrackPadPosition -Aspect_XRGenericAction_InputTrackPadTouch = Aspect_XRGenericAction.Aspect_XRGenericAction_InputTrackPadTouch -Aspect_XRGenericAction_InputTrackPadClick = Aspect_XRGenericAction.Aspect_XRGenericAction_InputTrackPadClick -Aspect_XRGenericAction_InputThumbstickPosition = Aspect_XRGenericAction.Aspect_XRGenericAction_InputThumbstickPosition -Aspect_XRGenericAction_InputThumbstickTouch = Aspect_XRGenericAction.Aspect_XRGenericAction_InputThumbstickTouch -Aspect_XRGenericAction_InputThumbstickClick = Aspect_XRGenericAction.Aspect_XRGenericAction_InputThumbstickClick -Aspect_XRGenericAction_InputPoseBase = Aspect_XRGenericAction.Aspect_XRGenericAction_InputPoseBase -Aspect_XRGenericAction_InputPoseFront = Aspect_XRGenericAction.Aspect_XRGenericAction_InputPoseFront -Aspect_XRGenericAction_InputPoseHandGrip = Aspect_XRGenericAction.Aspect_XRGenericAction_InputPoseHandGrip -Aspect_XRGenericAction_InputPoseFingerTip = Aspect_XRGenericAction.Aspect_XRGenericAction_InputPoseFingerTip -Aspect_XRGenericAction_OutputHaptic = Aspect_XRGenericAction.Aspect_XRGenericAction_OutputHaptic - -class Aspect_TypeOfHighlightMethod(IntEnum): - Aspect_TOHM_COLOR: int = ... - Aspect_TOHM_BOUNDBOX: int = ... -Aspect_TOHM_COLOR = Aspect_TypeOfHighlightMethod.Aspect_TOHM_COLOR -Aspect_TOHM_BOUNDBOX = Aspect_TypeOfHighlightMethod.Aspect_TOHM_BOUNDBOX - -class Aspect_TypeOfResize(IntEnum): - Aspect_TOR_UNKNOWN: int = ... - Aspect_TOR_NO_BORDER: int = ... - Aspect_TOR_TOP_BORDER: int = ... - Aspect_TOR_RIGHT_BORDER: int = ... - Aspect_TOR_BOTTOM_BORDER: int = ... - Aspect_TOR_LEFT_BORDER: int = ... - Aspect_TOR_TOP_AND_RIGHT_BORDER: int = ... - Aspect_TOR_RIGHT_AND_BOTTOM_BORDER: int = ... - Aspect_TOR_BOTTOM_AND_LEFT_BORDER: int = ... - Aspect_TOR_LEFT_AND_TOP_BORDER: int = ... -Aspect_TOR_UNKNOWN = Aspect_TypeOfResize.Aspect_TOR_UNKNOWN -Aspect_TOR_NO_BORDER = Aspect_TypeOfResize.Aspect_TOR_NO_BORDER -Aspect_TOR_TOP_BORDER = Aspect_TypeOfResize.Aspect_TOR_TOP_BORDER -Aspect_TOR_RIGHT_BORDER = Aspect_TypeOfResize.Aspect_TOR_RIGHT_BORDER -Aspect_TOR_BOTTOM_BORDER = Aspect_TypeOfResize.Aspect_TOR_BOTTOM_BORDER -Aspect_TOR_LEFT_BORDER = Aspect_TypeOfResize.Aspect_TOR_LEFT_BORDER -Aspect_TOR_TOP_AND_RIGHT_BORDER = Aspect_TypeOfResize.Aspect_TOR_TOP_AND_RIGHT_BORDER -Aspect_TOR_RIGHT_AND_BOTTOM_BORDER = Aspect_TypeOfResize.Aspect_TOR_RIGHT_AND_BOTTOM_BORDER -Aspect_TOR_BOTTOM_AND_LEFT_BORDER = Aspect_TypeOfResize.Aspect_TOR_BOTTOM_AND_LEFT_BORDER -Aspect_TOR_LEFT_AND_TOP_BORDER = Aspect_TypeOfResize.Aspect_TOR_LEFT_AND_TOP_BORDER - -class Aspect_GridType(IntEnum): - Aspect_GT_Rectangular: int = ... - Aspect_GT_Circular: int = ... -Aspect_GT_Rectangular = Aspect_GridType.Aspect_GT_Rectangular -Aspect_GT_Circular = Aspect_GridType.Aspect_GT_Circular - -class Aspect_TypeOfColorScaleData(IntEnum): - Aspect_TOCSD_AUTO: int = ... - Aspect_TOCSD_USER: int = ... -Aspect_TOCSD_AUTO = Aspect_TypeOfColorScaleData.Aspect_TOCSD_AUTO -Aspect_TOCSD_USER = Aspect_TypeOfColorScaleData.Aspect_TOCSD_USER - -class Aspect_TypeOfStyleText(IntEnum): - Aspect_TOST_NORMAL: int = ... - Aspect_TOST_ANNOTATION: int = ... -Aspect_TOST_NORMAL = Aspect_TypeOfStyleText.Aspect_TOST_NORMAL -Aspect_TOST_ANNOTATION = Aspect_TypeOfStyleText.Aspect_TOST_ANNOTATION - -class Aspect_TypeOfMarker(IntEnum): - Aspect_TOM_EMPTY: int = ... - Aspect_TOM_POINT: int = ... - Aspect_TOM_PLUS: int = ... - Aspect_TOM_STAR: int = ... - Aspect_TOM_X: int = ... - Aspect_TOM_O: int = ... - Aspect_TOM_O_POINT: int = ... - Aspect_TOM_O_PLUS: int = ... - Aspect_TOM_O_STAR: int = ... - Aspect_TOM_O_X: int = ... - Aspect_TOM_RING1: int = ... - Aspect_TOM_RING2: int = ... - Aspect_TOM_RING3: int = ... - Aspect_TOM_BALL: int = ... - Aspect_TOM_USERDEFINED: int = ... -Aspect_TOM_EMPTY = Aspect_TypeOfMarker.Aspect_TOM_EMPTY -Aspect_TOM_POINT = Aspect_TypeOfMarker.Aspect_TOM_POINT -Aspect_TOM_PLUS = Aspect_TypeOfMarker.Aspect_TOM_PLUS -Aspect_TOM_STAR = Aspect_TypeOfMarker.Aspect_TOM_STAR -Aspect_TOM_X = Aspect_TypeOfMarker.Aspect_TOM_X -Aspect_TOM_O = Aspect_TypeOfMarker.Aspect_TOM_O -Aspect_TOM_O_POINT = Aspect_TypeOfMarker.Aspect_TOM_O_POINT -Aspect_TOM_O_PLUS = Aspect_TypeOfMarker.Aspect_TOM_O_PLUS -Aspect_TOM_O_STAR = Aspect_TypeOfMarker.Aspect_TOM_O_STAR -Aspect_TOM_O_X = Aspect_TypeOfMarker.Aspect_TOM_O_X -Aspect_TOM_RING1 = Aspect_TypeOfMarker.Aspect_TOM_RING1 -Aspect_TOM_RING2 = Aspect_TypeOfMarker.Aspect_TOM_RING2 -Aspect_TOM_RING3 = Aspect_TypeOfMarker.Aspect_TOM_RING3 -Aspect_TOM_BALL = Aspect_TypeOfMarker.Aspect_TOM_BALL -Aspect_TOM_USERDEFINED = Aspect_TypeOfMarker.Aspect_TOM_USERDEFINED - -class Aspect_TypeOfColorScaleOrientation(IntEnum): - Aspect_TOCSO_NONE: int = ... - Aspect_TOCSO_LEFT: int = ... - Aspect_TOCSO_RIGHT: int = ... - Aspect_TOCSO_CENTER: int = ... -Aspect_TOCSO_NONE = Aspect_TypeOfColorScaleOrientation.Aspect_TOCSO_NONE -Aspect_TOCSO_LEFT = Aspect_TypeOfColorScaleOrientation.Aspect_TOCSO_LEFT -Aspect_TOCSO_RIGHT = Aspect_TypeOfColorScaleOrientation.Aspect_TOCSO_RIGHT -Aspect_TOCSO_CENTER = Aspect_TypeOfColorScaleOrientation.Aspect_TOCSO_CENTER - -class Aspect_TypeOfFacingModel(IntEnum): - Aspect_TOFM_BOTH_SIDE: int = ... - Aspect_TOFM_BACK_SIDE: int = ... - Aspect_TOFM_FRONT_SIDE: int = ... -Aspect_TOFM_BOTH_SIDE = Aspect_TypeOfFacingModel.Aspect_TOFM_BOTH_SIDE -Aspect_TOFM_BACK_SIDE = Aspect_TypeOfFacingModel.Aspect_TOFM_BACK_SIDE -Aspect_TOFM_FRONT_SIDE = Aspect_TypeOfFacingModel.Aspect_TOFM_FRONT_SIDE +class Aspect_WidthOfLine(IntEnum): + Aspect_WOL_THIN: int = ... + Aspect_WOL_MEDIUM: int = ... + Aspect_WOL_THICK: int = ... + Aspect_WOL_VERYTHICK: int = ... + Aspect_WOL_USERDEFINED: int = ... -class Aspect_FillMethod(IntEnum): - Aspect_FM_NONE: int = ... - Aspect_FM_CENTERED: int = ... - Aspect_FM_TILED: int = ... - Aspect_FM_STRETCH: int = ... -Aspect_FM_NONE = Aspect_FillMethod.Aspect_FM_NONE -Aspect_FM_CENTERED = Aspect_FillMethod.Aspect_FM_CENTERED -Aspect_FM_TILED = Aspect_FillMethod.Aspect_FM_TILED -Aspect_FM_STRETCH = Aspect_FillMethod.Aspect_FM_STRETCH +Aspect_WOL_THIN = Aspect_WidthOfLine.Aspect_WOL_THIN +Aspect_WOL_MEDIUM = Aspect_WidthOfLine.Aspect_WOL_MEDIUM +Aspect_WOL_THICK = Aspect_WidthOfLine.Aspect_WOL_THICK +Aspect_WOL_VERYTHICK = Aspect_WidthOfLine.Aspect_WOL_VERYTHICK +Aspect_WOL_USERDEFINED = Aspect_WidthOfLine.Aspect_WOL_USERDEFINED -class Aspect_ColorSpace(IntEnum): - Aspect_ColorSpace_sRGB: int = ... - Aspect_ColorSpace_Linear: int = ... -Aspect_ColorSpace_sRGB = Aspect_ColorSpace.Aspect_ColorSpace_sRGB -Aspect_ColorSpace_Linear = Aspect_ColorSpace.Aspect_ColorSpace_Linear +class Aspect_XAtom(IntEnum): + Aspect_XA_DELETE_WINDOW: int = ... -class Aspect_HatchStyle(IntEnum): - Aspect_HS_SOLID: int = ... - Aspect_HS_HORIZONTAL: int = ... - Aspect_HS_HORIZONTAL_WIDE: int = ... - Aspect_HS_VERTICAL: int = ... - Aspect_HS_VERTICAL_WIDE: int = ... - Aspect_HS_DIAGONAL_45: int = ... - Aspect_HS_DIAGONAL_45_WIDE: int = ... - Aspect_HS_DIAGONAL_135: int = ... - Aspect_HS_DIAGONAL_135_WIDE: int = ... - Aspect_HS_GRID: int = ... - Aspect_HS_GRID_WIDE: int = ... - Aspect_HS_GRID_DIAGONAL: int = ... - Aspect_HS_GRID_DIAGONAL_WIDE: int = ... - Aspect_HS_NB: int = ... -Aspect_HS_SOLID = Aspect_HatchStyle.Aspect_HS_SOLID -Aspect_HS_HORIZONTAL = Aspect_HatchStyle.Aspect_HS_HORIZONTAL -Aspect_HS_HORIZONTAL_WIDE = Aspect_HatchStyle.Aspect_HS_HORIZONTAL_WIDE -Aspect_HS_VERTICAL = Aspect_HatchStyle.Aspect_HS_VERTICAL -Aspect_HS_VERTICAL_WIDE = Aspect_HatchStyle.Aspect_HS_VERTICAL_WIDE -Aspect_HS_DIAGONAL_45 = Aspect_HatchStyle.Aspect_HS_DIAGONAL_45 -Aspect_HS_DIAGONAL_45_WIDE = Aspect_HatchStyle.Aspect_HS_DIAGONAL_45_WIDE -Aspect_HS_DIAGONAL_135 = Aspect_HatchStyle.Aspect_HS_DIAGONAL_135 -Aspect_HS_DIAGONAL_135_WIDE = Aspect_HatchStyle.Aspect_HS_DIAGONAL_135_WIDE -Aspect_HS_GRID = Aspect_HatchStyle.Aspect_HS_GRID -Aspect_HS_GRID_WIDE = Aspect_HatchStyle.Aspect_HS_GRID_WIDE -Aspect_HS_GRID_DIAGONAL = Aspect_HatchStyle.Aspect_HS_GRID_DIAGONAL -Aspect_HS_GRID_DIAGONAL_WIDE = Aspect_HatchStyle.Aspect_HS_GRID_DIAGONAL_WIDE -Aspect_HS_NB = Aspect_HatchStyle.Aspect_HS_NB +Aspect_XA_DELETE_WINDOW = Aspect_XAtom.Aspect_XA_DELETE_WINDOW class Aspect_XRActionType(IntEnum): - Aspect_XRActionType_InputDigital: int = ... - Aspect_XRActionType_InputAnalog: int = ... - Aspect_XRActionType_InputPose: int = ... - Aspect_XRActionType_InputSkeletal: int = ... - Aspect_XRActionType_OutputHaptic: int = ... + Aspect_XRActionType_InputDigital: int = ... + Aspect_XRActionType_InputAnalog: int = ... + Aspect_XRActionType_InputPose: int = ... + Aspect_XRActionType_InputSkeletal: int = ... + Aspect_XRActionType_OutputHaptic: int = ... + Aspect_XRActionType_InputDigital = Aspect_XRActionType.Aspect_XRActionType_InputDigital Aspect_XRActionType_InputAnalog = Aspect_XRActionType.Aspect_XRActionType_InputAnalog Aspect_XRActionType_InputPose = Aspect_XRActionType.Aspect_XRActionType_InputPose -Aspect_XRActionType_InputSkeletal = Aspect_XRActionType.Aspect_XRActionType_InputSkeletal +Aspect_XRActionType_InputSkeletal = ( + Aspect_XRActionType.Aspect_XRActionType_InputSkeletal +) Aspect_XRActionType_OutputHaptic = Aspect_XRActionType.Aspect_XRActionType_OutputHaptic -class Aspect_PolygonOffsetMode(IntEnum): - Aspect_POM_Off: int = ... - Aspect_POM_Fill: int = ... - Aspect_POM_Line: int = ... - Aspect_POM_Point: int = ... - Aspect_POM_All: int = ... - Aspect_POM_None: int = ... - Aspect_POM_Mask: int = ... -Aspect_POM_Off = Aspect_PolygonOffsetMode.Aspect_POM_Off -Aspect_POM_Fill = Aspect_PolygonOffsetMode.Aspect_POM_Fill -Aspect_POM_Line = Aspect_PolygonOffsetMode.Aspect_POM_Line -Aspect_POM_Point = Aspect_PolygonOffsetMode.Aspect_POM_Point -Aspect_POM_All = Aspect_PolygonOffsetMode.Aspect_POM_All -Aspect_POM_None = Aspect_PolygonOffsetMode.Aspect_POM_None -Aspect_POM_Mask = Aspect_PolygonOffsetMode.Aspect_POM_Mask - -class Aspect_XRTrackedDeviceRole(IntEnum): - Aspect_XRTrackedDeviceRole_Head: int = ... - Aspect_XRTrackedDeviceRole_LeftHand: int = ... - Aspect_XRTrackedDeviceRole_RightHand: int = ... - Aspect_XRTrackedDeviceRole_Other: int = ... -Aspect_XRTrackedDeviceRole_Head = Aspect_XRTrackedDeviceRole.Aspect_XRTrackedDeviceRole_Head -Aspect_XRTrackedDeviceRole_LeftHand = Aspect_XRTrackedDeviceRole.Aspect_XRTrackedDeviceRole_LeftHand -Aspect_XRTrackedDeviceRole_RightHand = Aspect_XRTrackedDeviceRole.Aspect_XRTrackedDeviceRole_RightHand -Aspect_XRTrackedDeviceRole_Other = Aspect_XRTrackedDeviceRole.Aspect_XRTrackedDeviceRole_Other - -class Aspect_TypeOfColorScalePosition(IntEnum): - Aspect_TOCSP_NONE: int = ... - Aspect_TOCSP_LEFT: int = ... - Aspect_TOCSP_RIGHT: int = ... - Aspect_TOCSP_CENTER: int = ... -Aspect_TOCSP_NONE = Aspect_TypeOfColorScalePosition.Aspect_TOCSP_NONE -Aspect_TOCSP_LEFT = Aspect_TypeOfColorScalePosition.Aspect_TOCSP_LEFT -Aspect_TOCSP_RIGHT = Aspect_TypeOfColorScalePosition.Aspect_TOCSP_RIGHT -Aspect_TOCSP_CENTER = Aspect_TypeOfColorScalePosition.Aspect_TOCSP_CENTER - -class Aspect_GraphicsLibrary(IntEnum): - Aspect_GraphicsLibrary_OpenGL: int = ... - Aspect_GraphicsLibrary_OpenGLES: int = ... -Aspect_GraphicsLibrary_OpenGL = Aspect_GraphicsLibrary.Aspect_GraphicsLibrary_OpenGL -Aspect_GraphicsLibrary_OpenGLES = Aspect_GraphicsLibrary.Aspect_GraphicsLibrary_OpenGLES - -class Aspect_XAtom(IntEnum): - Aspect_XA_DELETE_WINDOW: int = ... -Aspect_XA_DELETE_WINDOW = Aspect_XAtom.Aspect_XA_DELETE_WINDOW - -class Aspect_TypeOfTriedronPosition(IntEnum): - Aspect_TOTP_CENTER: int = ... - Aspect_TOTP_TOP: int = ... - Aspect_TOTP_BOTTOM: int = ... - Aspect_TOTP_LEFT: int = ... - Aspect_TOTP_RIGHT: int = ... - Aspect_TOTP_LEFT_LOWER: int = ... - Aspect_TOTP_LEFT_UPPER: int = ... - Aspect_TOTP_RIGHT_LOWER: int = ... - Aspect_TOTP_RIGHT_UPPER: int = ... -Aspect_TOTP_CENTER = Aspect_TypeOfTriedronPosition.Aspect_TOTP_CENTER -Aspect_TOTP_TOP = Aspect_TypeOfTriedronPosition.Aspect_TOTP_TOP -Aspect_TOTP_BOTTOM = Aspect_TypeOfTriedronPosition.Aspect_TOTP_BOTTOM -Aspect_TOTP_LEFT = Aspect_TypeOfTriedronPosition.Aspect_TOTP_LEFT -Aspect_TOTP_RIGHT = Aspect_TypeOfTriedronPosition.Aspect_TOTP_RIGHT -Aspect_TOTP_LEFT_LOWER = Aspect_TypeOfTriedronPosition.Aspect_TOTP_LEFT_LOWER -Aspect_TOTP_LEFT_UPPER = Aspect_TypeOfTriedronPosition.Aspect_TOTP_LEFT_UPPER -Aspect_TOTP_RIGHT_LOWER = Aspect_TypeOfTriedronPosition.Aspect_TOTP_RIGHT_LOWER -Aspect_TOTP_RIGHT_UPPER = Aspect_TypeOfTriedronPosition.Aspect_TOTP_RIGHT_UPPER +class Aspect_XRGenericAction(IntEnum): + Aspect_XRGenericAction_IsHeadsetOn: int = ... + Aspect_XRGenericAction_InputAppMenu: int = ... + Aspect_XRGenericAction_InputSysMenu: int = ... + Aspect_XRGenericAction_InputTriggerPull: int = ... + Aspect_XRGenericAction_InputTriggerClick: int = ... + Aspect_XRGenericAction_InputGripClick: int = ... + Aspect_XRGenericAction_InputTrackPadPosition: int = ... + Aspect_XRGenericAction_InputTrackPadTouch: int = ... + Aspect_XRGenericAction_InputTrackPadClick: int = ... + Aspect_XRGenericAction_InputThumbstickPosition: int = ... + Aspect_XRGenericAction_InputThumbstickTouch: int = ... + Aspect_XRGenericAction_InputThumbstickClick: int = ... + Aspect_XRGenericAction_InputPoseBase: int = ... + Aspect_XRGenericAction_InputPoseFront: int = ... + Aspect_XRGenericAction_InputPoseHandGrip: int = ... + Aspect_XRGenericAction_InputPoseFingerTip: int = ... + Aspect_XRGenericAction_OutputHaptic: int = ... -class Aspect_GridDrawMode(IntEnum): - Aspect_GDM_Lines: int = ... - Aspect_GDM_Points: int = ... - Aspect_GDM_None: int = ... -Aspect_GDM_Lines = Aspect_GridDrawMode.Aspect_GDM_Lines -Aspect_GDM_Points = Aspect_GridDrawMode.Aspect_GDM_Points -Aspect_GDM_None = Aspect_GridDrawMode.Aspect_GDM_None +Aspect_XRGenericAction_IsHeadsetOn = ( + Aspect_XRGenericAction.Aspect_XRGenericAction_IsHeadsetOn +) +Aspect_XRGenericAction_InputAppMenu = ( + Aspect_XRGenericAction.Aspect_XRGenericAction_InputAppMenu +) +Aspect_XRGenericAction_InputSysMenu = ( + Aspect_XRGenericAction.Aspect_XRGenericAction_InputSysMenu +) +Aspect_XRGenericAction_InputTriggerPull = ( + Aspect_XRGenericAction.Aspect_XRGenericAction_InputTriggerPull +) +Aspect_XRGenericAction_InputTriggerClick = ( + Aspect_XRGenericAction.Aspect_XRGenericAction_InputTriggerClick +) +Aspect_XRGenericAction_InputGripClick = ( + Aspect_XRGenericAction.Aspect_XRGenericAction_InputGripClick +) +Aspect_XRGenericAction_InputTrackPadPosition = ( + Aspect_XRGenericAction.Aspect_XRGenericAction_InputTrackPadPosition +) +Aspect_XRGenericAction_InputTrackPadTouch = ( + Aspect_XRGenericAction.Aspect_XRGenericAction_InputTrackPadTouch +) +Aspect_XRGenericAction_InputTrackPadClick = ( + Aspect_XRGenericAction.Aspect_XRGenericAction_InputTrackPadClick +) +Aspect_XRGenericAction_InputThumbstickPosition = ( + Aspect_XRGenericAction.Aspect_XRGenericAction_InputThumbstickPosition +) +Aspect_XRGenericAction_InputThumbstickTouch = ( + Aspect_XRGenericAction.Aspect_XRGenericAction_InputThumbstickTouch +) +Aspect_XRGenericAction_InputThumbstickClick = ( + Aspect_XRGenericAction.Aspect_XRGenericAction_InputThumbstickClick +) +Aspect_XRGenericAction_InputPoseBase = ( + Aspect_XRGenericAction.Aspect_XRGenericAction_InputPoseBase +) +Aspect_XRGenericAction_InputPoseFront = ( + Aspect_XRGenericAction.Aspect_XRGenericAction_InputPoseFront +) +Aspect_XRGenericAction_InputPoseHandGrip = ( + Aspect_XRGenericAction.Aspect_XRGenericAction_InputPoseHandGrip +) +Aspect_XRGenericAction_InputPoseFingerTip = ( + Aspect_XRGenericAction.Aspect_XRGenericAction_InputPoseFingerTip +) +Aspect_XRGenericAction_OutputHaptic = ( + Aspect_XRGenericAction.Aspect_XRGenericAction_OutputHaptic +) -class Aspect_WidthOfLine(IntEnum): - Aspect_WOL_THIN: int = ... - Aspect_WOL_MEDIUM: int = ... - Aspect_WOL_THICK: int = ... - Aspect_WOL_VERYTHICK: int = ... - Aspect_WOL_USERDEFINED: int = ... -Aspect_WOL_THIN = Aspect_WidthOfLine.Aspect_WOL_THIN -Aspect_WOL_MEDIUM = Aspect_WidthOfLine.Aspect_WOL_MEDIUM -Aspect_WOL_THICK = Aspect_WidthOfLine.Aspect_WOL_THICK -Aspect_WOL_VERYTHICK = Aspect_WidthOfLine.Aspect_WOL_VERYTHICK -Aspect_WOL_USERDEFINED = Aspect_WidthOfLine.Aspect_WOL_USERDEFINED +class Aspect_XRTrackedDeviceRole(IntEnum): + Aspect_XRTrackedDeviceRole_Head: int = ... + Aspect_XRTrackedDeviceRole_LeftHand: int = ... + Aspect_XRTrackedDeviceRole_RightHand: int = ... + Aspect_XRTrackedDeviceRole_Other: int = ... -class Aspect_TypeOfDisplayText(IntEnum): - Aspect_TODT_NORMAL: int = ... - Aspect_TODT_SUBTITLE: int = ... - Aspect_TODT_DEKALE: int = ... - Aspect_TODT_BLEND: int = ... - Aspect_TODT_DIMENSION: int = ... - Aspect_TODT_SHADOW: int = ... -Aspect_TODT_NORMAL = Aspect_TypeOfDisplayText.Aspect_TODT_NORMAL -Aspect_TODT_SUBTITLE = Aspect_TypeOfDisplayText.Aspect_TODT_SUBTITLE -Aspect_TODT_DEKALE = Aspect_TypeOfDisplayText.Aspect_TODT_DEKALE -Aspect_TODT_BLEND = Aspect_TypeOfDisplayText.Aspect_TODT_BLEND -Aspect_TODT_DIMENSION = Aspect_TypeOfDisplayText.Aspect_TODT_DIMENSION -Aspect_TODT_SHADOW = Aspect_TypeOfDisplayText.Aspect_TODT_SHADOW - -class Aspect_InteriorStyle(IntEnum): - Aspect_IS_EMPTY: int = ... - Aspect_IS_SOLID: int = ... - Aspect_IS_HATCH: int = ... - Aspect_IS_HIDDENLINE: int = ... - Aspect_IS_POINT: int = ... - Aspect_IS_HOLLOW: int = ... -Aspect_IS_EMPTY = Aspect_InteriorStyle.Aspect_IS_EMPTY -Aspect_IS_SOLID = Aspect_InteriorStyle.Aspect_IS_SOLID -Aspect_IS_HATCH = Aspect_InteriorStyle.Aspect_IS_HATCH -Aspect_IS_HIDDENLINE = Aspect_InteriorStyle.Aspect_IS_HIDDENLINE -Aspect_IS_POINT = Aspect_InteriorStyle.Aspect_IS_POINT -Aspect_IS_HOLLOW = Aspect_InteriorStyle.Aspect_IS_HOLLOW +Aspect_XRTrackedDeviceRole_Head = ( + Aspect_XRTrackedDeviceRole.Aspect_XRTrackedDeviceRole_Head +) +Aspect_XRTrackedDeviceRole_LeftHand = ( + Aspect_XRTrackedDeviceRole.Aspect_XRTrackedDeviceRole_LeftHand +) +Aspect_XRTrackedDeviceRole_RightHand = ( + Aspect_XRTrackedDeviceRole.Aspect_XRTrackedDeviceRole_RightHand +) +Aspect_XRTrackedDeviceRole_Other = ( + Aspect_XRTrackedDeviceRole.Aspect_XRTrackedDeviceRole_Other +) class Aspect_Background: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, AColor: Quantity_Color) -> None: ... - def Color(self) -> Quantity_Color: ... - def SetColor(self, AColor: Quantity_Color) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, AColor: Quantity_Color) -> None: ... + def Color(self) -> Quantity_Color: ... + def DumpJson(self, depth: Optional[int] = -1) -> str: ... + def SetColor(self, AColor: Quantity_Color) -> None: ... class Aspect_DisplayConnection(Standard_Transient): - pass + def GetDefaultFBConfig(self) -> Aspect_FBConfig: ... + def GetDefaultVisualInfo(self) -> Aspect_XVisualInfo: ... + def GetDisplayAspect(self) -> Aspect_XDisplay: ... class Aspect_GenId: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theLow: int, theUpper: int) -> None: ... - def Available(self) -> int: ... - @overload - def Free(self) -> None: ... - @overload - def Free(self, theId: int) -> None: ... - def HasFree(self) -> bool: ... - def Lower(self) -> int: ... - @overload - def Next(self) -> int: ... - @overload - def Next(self) -> Tuple[bool, int]: ... - def Upper(self) -> int: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theLow: int, theUpper: int) -> None: ... + def Available(self) -> int: ... + def DumpJson(self, depth: Optional[int] = -1) -> str: ... + @overload + def Free(self) -> None: ... + @overload + def Free(self, theId: int) -> None: ... + def HasFree(self) -> bool: ... + def Lower(self) -> int: ... + @overload + def Next(self) -> int: ... + @overload + def Next(self) -> Tuple[bool, int]: ... + def Upper(self) -> int: ... class Aspect_Grid(Standard_Transient): - def Activate(self) -> None: ... - def Colors(self, aColor: Quantity_Color, aTenthColor: Quantity_Color) -> None: ... - def Compute(self, X: float, Y: float) -> Tuple[float, float]: ... - def Deactivate(self) -> None: ... - def Display(self) -> None: ... - def DrawMode(self) -> Aspect_GridDrawMode: ... - def Erase(self) -> None: ... - def Hit(self, X: float, Y: float) -> Tuple[float, float]: ... - def Init(self) -> None: ... - def IsActive(self) -> bool: ... - def IsDisplayed(self) -> bool: ... - def Rotate(self, anAngle: float) -> None: ... - def RotationAngle(self) -> float: ... - def SetColors(self, aColor: Quantity_Color, aTenthColor: Quantity_Color) -> None: ... - def SetDrawMode(self, aDrawMode: Aspect_GridDrawMode) -> None: ... - def SetRotationAngle(self, anAngle: float) -> None: ... - def SetXOrigin(self, anOrigin: float) -> None: ... - def SetYOrigin(self, anOrigin: float) -> None: ... - def Translate(self, aDx: float, aDy: float) -> None: ... - def XOrigin(self) -> float: ... - def YOrigin(self) -> float: ... + def Activate(self) -> None: ... + def Colors(self, aColor: Quantity_Color, aTenthColor: Quantity_Color) -> None: ... + def Compute(self, X: float, Y: float) -> Tuple[float, float]: ... + def Deactivate(self) -> None: ... + def Display(self) -> None: ... + def DrawMode(self) -> Aspect_GridDrawMode: ... + def DumpJson(self, depth: Optional[int] = -1) -> str: ... + def Erase(self) -> None: ... + def Hit(self, X: float, Y: float) -> Tuple[float, float]: ... + def Init(self) -> None: ... + def IsActive(self) -> bool: ... + def IsDisplayed(self) -> bool: ... + def Rotate(self, anAngle: float) -> None: ... + def RotationAngle(self) -> float: ... + def SetColors( + self, aColor: Quantity_Color, aTenthColor: Quantity_Color + ) -> None: ... + def SetDrawMode(self, aDrawMode: Aspect_GridDrawMode) -> None: ... + def SetRotationAngle(self, anAngle: float) -> None: ... + def SetXOrigin(self, anOrigin: float) -> None: ... + def SetYOrigin(self, anOrigin: float) -> None: ... + def Translate(self, aDx: float, aDy: float) -> None: ... + def XOrigin(self) -> float: ... + def YOrigin(self) -> float: ... class Aspect_ScrollDelta: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theValue: float, theFlags: Optional[Aspect_VKeyFlags] = Aspect_VKeyFlags_NONE) -> None: ... - def HasPoint(self) -> False: ... - def ResetPoint(self) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__( + self, + theValue: float, + theFlags: Optional[Aspect_VKeyFlags] = Aspect_VKeyFlags_NONE, + ) -> None: ... + def HasPoint(self) -> bool: ... + def ResetPoint(self) -> None: ... + +class Aspect_SkydomeBackground: + @overload + def __init__(self) -> None: ... + @overload + def __init__( + self, + theSunDirection: gp_Dir, + theCloudiness: float, + theTime: float, + theFogginess: float, + theSize: int, + ) -> None: ... + def Cloudiness(self) -> float: ... + def DumpJson(self, depth: Optional[int] = -1) -> str: ... + def Fogginess(self) -> float: ... + def SetCloudiness(self, theCloudiness: float) -> None: ... + def SetFogginess(self, theFogginess: float) -> None: ... + def SetSize(self, theSize: int) -> None: ... + def SetSunDirection(self, theSunDirection: gp_Dir) -> None: ... + def SetTimeParameter(self, theTime: float) -> None: ... + def Size(self) -> int: ... + def SunDirection(self) -> gp_Dir: ... + def TimeParameter(self) -> float: ... class Aspect_Touch: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theX: float, theY: float, theIsPreciseDevice: bool) -> None: ... - def Delta(self) -> False: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theX: float, theY: float, theIsPreciseDevice: bool) -> None: ... + def Delta(self) -> False: ... class Aspect_TrackedDevicePose: - def __init__(self) -> None: ... + def __init__(self) -> None: ... + +class Aspect_VKeySet(Standard_Transient): + def __init__(self) -> None: ... + def DownTime(self, theKey: Aspect_VKey) -> float: ... + def IsFreeKey(self, theKey: Aspect_VKey) -> bool: ... + def IsKeyDown(self, theKey: Aspect_VKey) -> bool: ... + def KeyDown( + self, theKey: Aspect_VKey, theTime: float, thePressure: Optional[float] = 1.0 + ) -> None: ... + def KeyFromAxis( + self, + theNegative: Aspect_VKey, + thePositive: Aspect_VKey, + theTime: float, + thePressure: float, + ) -> None: ... + def KeyUp(self, theKey: Aspect_VKey, theTime: float) -> None: ... + def Modifiers(self) -> Aspect_VKeyFlags: ... + def Mutex(self) -> Standard_Mutex: ... + def Reset(self) -> None: ... + def TimeUp(self, theKey: Aspect_VKey) -> float: ... class Aspect_Window(Standard_Transient): - def Background(self) -> Aspect_Background: ... - def BackgroundFillMethod(self) -> Aspect_FillMethod: ... - def DoMapping(self) -> bool: ... - def DoResize(self) -> Aspect_TypeOfResize: ... - def GradientBackground(self) -> Aspect_GradientBackground: ... - def InvalidateContent(self, theDisp: Aspect_DisplayConnection) -> None: ... - def IsMapped(self) -> bool: ... - def IsVirtual(self) -> bool: ... - def Map(self) -> None: ... - def NativeFBConfig(self) -> Aspect_FBConfig: ... - def Position(self) -> Tuple[int, int, int, int]: ... - def Ratio(self) -> float: ... - @overload - def SetBackground(self, ABack: Aspect_Background) -> None: ... - @overload - def SetBackground(self, color: Quantity_Color) -> None: ... - @overload - def SetBackground(self, ABackground: Aspect_GradientBackground) -> None: ... - @overload - def SetBackground(self, theFirstColor: Quantity_Color, theSecondColor: Quantity_Color, theFillMethod: Aspect_GradientFillMethod) -> None: ... - def SetTitle(self, theTitle: TCollection_AsciiString) -> None: ... - def SetVirtual(self, theVirtual: bool) -> None: ... - def Size(self) -> Tuple[int, int]: ... - def Unmap(self) -> None: ... + def Background(self) -> Aspect_Background: ... + def BackgroundFillMethod(self) -> Aspect_FillMethod: ... + def ConvertPointFromBacking(self, thePnt: Graphic3d_Vec2d) -> Graphic3d_Vec2d: ... + def ConvertPointToBacking(self, thePnt: Graphic3d_Vec2d) -> Graphic3d_Vec2d: ... + def DevicePixelRatio(self) -> float: ... + def Dimensions(self) -> Graphic3d_Vec2i: ... + def DisplayConnection(self) -> Aspect_DisplayConnection: ... + def DoMapping(self) -> bool: ... + def DoResize(self) -> Aspect_TypeOfResize: ... + def DumpJson(self, depth: Optional[int] = -1) -> str: ... + def GradientBackground(self) -> Aspect_GradientBackground: ... + def InvalidateContent(self, theDisp: Aspect_DisplayConnection) -> None: ... + def IsMapped(self) -> bool: ... + def IsVirtual(self) -> bool: ... + def Map(self) -> None: ... + def NativeFBConfig(self) -> Aspect_FBConfig: ... + def Position(self) -> Tuple[int, int, int, int]: ... + def Ratio(self) -> float: ... + @overload + def SetBackground(self, theBack: Aspect_Background) -> None: ... + @overload + def SetBackground(self, theColor: Quantity_Color) -> None: ... + @overload + def SetBackground(self, theBackground: Aspect_GradientBackground) -> None: ... + @overload + def SetBackground( + self, + theFirstColor: Quantity_Color, + theSecondColor: Quantity_Color, + theFillMethod: Aspect_GradientFillMethod, + ) -> None: ... + def SetTitle(self, theTitle: str) -> None: ... + def SetVirtual(self, theVirtual: bool) -> None: ... + def Size(self) -> Tuple[int, int]: ... + def TopLeft(self) -> Graphic3d_Vec2i: ... + def Unmap(self) -> None: ... + +class Aspect_WindowInputListener: + def AddTouchPoint( + self, + theId: int, + thePnt: Graphic3d_Vec2d, + theClearBefore: Optional[bool] = false, + ) -> None: ... + def Change3dMouseIsNoRotate(self) -> bool: ... + def Change3dMouseToReverse(self) -> bool: ... + def ChangeKeys(self) -> Aspect_VKeySet: ... + def EventTime(self) -> float: ... + def Get3dMouseIsNoRotate(self) -> bool: ... + def Get3dMouseRotationScale(self) -> float: ... + def Get3dMouseToReverse(self) -> bool: ... + def Get3dMouseTranslationScale(self) -> float: ... + def HasTouchPoints(self) -> bool: ... + def KeyDown( + self, theKey: Aspect_VKey, theTime: float, thePressure: Optional[float] = 1.0 + ) -> None: ... + def KeyFromAxis( + self, + theNegative: Aspect_VKey, + thePositive: Aspect_VKey, + theTime: float, + thePressure: float, + ) -> None: ... + def KeyUp(self, theKey: Aspect_VKey, theTime: float) -> None: ... + def Keys(self) -> Aspect_VKeySet: ... + def LastMouseFlags(self) -> Aspect_VKeyFlags: ... + def LastMousePosition(self) -> Graphic3d_Vec2i: ... + def PressMouseButton( + self, + thePoint: Graphic3d_Vec2i, + theButton: Aspect_VKeyMouse, + theModifiers: Aspect_VKeyFlags, + theIsEmulated: bool, + ) -> bool: ... + def PressedMouseButtons(self) -> Aspect_VKeyMouse: ... + def ProcessClose(self) -> None: ... + def ProcessConfigure(self, theIsResized: bool) -> None: ... + def ProcessExpose(self) -> None: ... + def ProcessFocus(self, theIsActivated: bool) -> None: ... + def ProcessInput(self) -> None: ... + def ReleaseMouseButton( + self, + thePoint: Graphic3d_Vec2i, + theButton: Aspect_VKeyMouse, + theModifiers: Aspect_VKeyFlags, + theIsEmulated: bool, + ) -> bool: ... + def RemoveTouchPoint( + self, theId: int, theClearSelectPnts: Optional[bool] = false + ) -> bool: ... + def Set3dMousePreciseInput(self, theIsQuadric: bool) -> None: ... + def Set3dMouseRotationScale(self, theScale: float) -> None: ... + def Set3dMouseTranslationScale(self, theScale: float) -> None: ... + def To3dMousePreciseInput(self) -> bool: ... + def TouchPoints(self) -> Aspect_TouchMap: ... + def UpdateMouseButtons( + self, + thePoint: Graphic3d_Vec2i, + theButtons: Aspect_VKeyMouse, + theModifiers: Aspect_VKeyFlags, + theIsEmulated: bool, + ) -> bool: ... + def UpdateMousePosition( + self, + thePoint: Graphic3d_Vec2i, + theButtons: Aspect_VKeyMouse, + theModifiers: Aspect_VKeyFlags, + theIsEmulated: bool, + ) -> bool: ... + def UpdateMouseScroll(self, theDelta: Aspect_ScrollDelta) -> bool: ... + def UpdateTouchPoint(self, theId: int, thePnt: Graphic3d_Vec2d) -> None: ... class Aspect_XRAction(Standard_Transient): - def __init__(self, theId: TCollection_AsciiString, theType: Aspect_XRActionType) -> None: ... - def Id(self) -> TCollection_AsciiString: ... - def IsValid(self) -> False: ... - def RawHandle(self) -> False: ... - def Type(self) -> Aspect_XRActionType: ... + def __init__(self, theId: str, theType: Aspect_XRActionType) -> None: ... + def Id(self) -> str: ... + def IsValid(self) -> bool: ... + def RawHandle(self) -> False: ... + def Type(self) -> Aspect_XRActionType: ... class Aspect_XRActionSet(Standard_Transient): - def __init__(self, theId: TCollection_AsciiString) -> None: ... - def Actions(self) -> Aspect_XRActionMap: ... - def AddAction(self, theAction: Aspect_XRAction) -> None: ... - def Id(self) -> TCollection_AsciiString: ... - def RawHandle(self) -> False: ... + def __init__(self, theId: str) -> None: ... + def Actions(self) -> Aspect_XRActionMap: ... + def AddAction(self, theAction: Aspect_XRAction) -> None: ... + def Id(self) -> str: ... + def RawHandle(self) -> False: ... class Aspect_XRAnalogActionData: - def __init__(self) -> None: ... - def IsChanged(self) -> False: ... + def __init__(self) -> None: ... + def IsChanged(self) -> bool: ... class Aspect_XRDigitalActionData: - def __init__(self) -> None: ... + def __init__(self) -> None: ... class Aspect_XRHapticActionData: - def __init__(self) -> None: ... - def IsValid(self) -> False: ... + def __init__(self) -> None: ... + def IsValid(self) -> bool: ... class Aspect_XRPoseActionData: - def __init__(self) -> None: ... + def __init__(self) -> None: ... class Aspect_XRSession(Standard_Transient): - def AbortHapticVibrationAction(self, theAction: Aspect_XRAction) -> None: ... - def Aspect(self) -> float: ... - def Close(self) -> None: ... - def DisplayFrequency(self) -> float: ... - def EyeToHeadTransform(self, theEye: Aspect_Eye) -> False: ... - def FieldOfView(self) -> float: ... - def GenericAction(self, theDevice: Aspect_XRTrackedDeviceRole, theAction: Aspect_XRGenericAction) -> Aspect_XRAction: ... - def GetAnalogActionData(self, theAction: Aspect_XRAction) -> Aspect_XRAnalogActionData: ... - def GetDigitalActionData(self, theAction: Aspect_XRAction) -> Aspect_XRDigitalActionData: ... - def GetPoseActionDataForNextFrame(self, theAction: Aspect_XRAction) -> Aspect_XRPoseActionData: ... - def HasProjectionFrustums(self) -> False: ... - def HasTrackedPose(self, theDevice: int) -> False: ... - def HeadPose(self) -> gp_Trsf: ... - def HeadToEyeTransform(self, theEye: Aspect_Eye) -> False: ... - def IOD(self) -> float: ... - def IsOpen(self) -> False: ... - def LeftHandPose(self) -> gp_Trsf: ... - @overload - def LoadRenderModel(self, theDevice: int, theTexture: Image_Texture) -> Graphic3d_ArrayOfTriangles: ... - @overload - def LoadRenderModel(self, theDevice: int, theToApplyUnitFactor: bool, theTexture: Image_Texture) -> Graphic3d_ArrayOfTriangles: ... - def NamedTrackedDevice(self, theDevice: Aspect_XRTrackedDeviceRole) -> int: ... - def Open(self) -> False: ... - def ProcessEvents(self) -> None: ... - def ProjectionFrustum(self, theEye: Aspect_Eye) -> False: ... - def RecommendedViewport(self) -> False: ... - def RightHandPose(self) -> gp_Trsf: ... - def SetUnitFactor(self, theFactor: float) -> None: ... - def SubmitEye(self, theTexture: None, theGraphicsLib: Aspect_GraphicsLibrary, theColorSpace: Aspect_ColorSpace, theEye: Aspect_Eye) -> False: ... - def TrackedPoses(self) -> Aspect_TrackedDevicePoseArray: ... - def TrackingOrigin(self) -> False: ... - def TriggerHapticVibrationAction(self, theAction: Aspect_XRAction, theParams: Aspect_XRHapticActionData) -> None: ... - def UnitFactor(self) -> float: ... - def WaitPoses(self) -> False: ... + def AbortHapticVibrationAction(self, theAction: Aspect_XRAction) -> None: ... + def Aspect(self) -> float: ... + def Close(self) -> None: ... + def DisplayFrequency(self) -> float: ... + def EyeToHeadTransform(self, theEye: Aspect_Eye) -> False: ... + def FieldOfView(self) -> float: ... + def GenericAction( + self, theDevice: Aspect_XRTrackedDeviceRole, theAction: Aspect_XRGenericAction + ) -> Aspect_XRAction: ... + def GetAnalogActionData( + self, theAction: Aspect_XRAction + ) -> Aspect_XRAnalogActionData: ... + def GetDigitalActionData( + self, theAction: Aspect_XRAction + ) -> Aspect_XRDigitalActionData: ... + def GetPoseActionDataForNextFrame( + self, theAction: Aspect_XRAction + ) -> Aspect_XRPoseActionData: ... + def HasProjectionFrustums(self) -> bool: ... + def HasTrackedPose(self, theDevice: int) -> bool: ... + def HeadPose(self) -> gp_Trsf: ... + def HeadToEyeTransform(self, theEye: Aspect_Eye) -> False: ... + def IOD(self) -> float: ... + def IsOpen(self) -> bool: ... + def LeftHandPose(self) -> gp_Trsf: ... + @overload + def LoadRenderModel( + self, theDevice: int, theTexture: Image_Texture + ) -> Graphic3d_ArrayOfTriangles: ... + @overload + def LoadRenderModel( + self, theDevice: int, theToApplyUnitFactor: bool, theTexture: Image_Texture + ) -> Graphic3d_ArrayOfTriangles: ... + def NamedTrackedDevice(self, theDevice: Aspect_XRTrackedDeviceRole) -> int: ... + def Open(self) -> bool: ... + def ProcessEvents(self) -> None: ... + def ProjectionFrustum(self, theEye: Aspect_Eye) -> False: ... + def ProjectionMatrix( + self, theEye: Aspect_Eye, theZNear: float, theZFar: float + ) -> False: ... + def RecommendedViewport(self) -> False: ... + def RightHandPose(self) -> gp_Trsf: ... + def SetUnitFactor(self, theFactor: float) -> None: ... + def SubmitEye( + self, + theTexture: None, + theGraphicsLib: Aspect_GraphicsLibrary, + theColorSpace: Aspect_ColorSpace, + theEye: Aspect_Eye, + ) -> bool: ... + def TrackedPoses(self) -> Aspect_TrackedDevicePoseArray: ... + def TrackingOrigin(self) -> False: ... + def TriggerHapticVibrationAction( + self, theAction: Aspect_XRAction, theParams: Aspect_XRHapticActionData + ) -> None: ... + def UnitFactor(self) -> float: ... + def WaitPoses(self) -> bool: ... class Aspect_GradientBackground(Aspect_Background): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, AColor1: Quantity_Color, AColor2: Quantity_Color, AMethod: Optional[Aspect_GradientFillMethod] = Aspect_GFM_HOR) -> None: ... - def BgGradientFillMethod(self) -> Aspect_GradientFillMethod: ... - def Colors(self, AColor1: Quantity_Color, AColor2: Quantity_Color) -> None: ... - def SetColors(self, AColor1: Quantity_Color, AColor2: Quantity_Color, AMethod: Optional[Aspect_GradientFillMethod] = Aspect_GFM_HOR) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__( + self, + theColor1: Quantity_Color, + theColor2: Quantity_Color, + theMethod: Optional[ + Aspect_GradientFillMethod + ] = Aspect_GradientFillMethod_Horizontal, + ) -> None: ... + def BgGradientFillMethod(self) -> Aspect_GradientFillMethod: ... + def Colors(self, theColor1: Quantity_Color, theColor2: Quantity_Color) -> None: ... + def DumpJson(self, depth: Optional[int] = -1) -> str: ... + def SetColors( + self, + theColor1: Quantity_Color, + theColor2: Quantity_Color, + theMethod: Optional[ + Aspect_GradientFillMethod + ] = Aspect_GradientFillMethod_Horizontal, + ) -> None: ... class Aspect_OpenVRSession(Aspect_XRSession): - def __init__(self) -> None: ... - def Close(self) -> None: ... - def EyeToHeadTransform(self, theEye: Aspect_Eye) -> False: ... - def GetAnalogActionData(self, theAction: Aspect_XRAction) -> Aspect_XRAnalogActionData: ... - def GetDigitalActionData(self, theAction: Aspect_XRAction) -> Aspect_XRDigitalActionData: ... - def GetPoseActionDataForNextFrame(self, theAction: Aspect_XRAction) -> Aspect_XRPoseActionData: ... - def HasProjectionFrustums(self) -> False: ... - @staticmethod - def IsHmdPresent() -> False: ... - def IsOpen(self) -> False: ... - def NamedTrackedDevice(self, theDevice: Aspect_XRTrackedDeviceRole) -> int: ... - def Open(self) -> False: ... - def ProcessEvents(self) -> None: ... - def RecommendedViewport(self) -> False: ... - def SubmitEye(self, theTexture: None, theGraphicsLib: Aspect_GraphicsLibrary, theColorSpace: Aspect_ColorSpace, theEye: Aspect_Eye) -> False: ... - def WaitPoses(self) -> False: ... - -#classnotwrapped + def __init__(self) -> None: ... + def Close(self) -> None: ... + def EyeToHeadTransform(self, theEye: Aspect_Eye) -> False: ... + def GetAnalogActionData( + self, theAction: Aspect_XRAction + ) -> Aspect_XRAnalogActionData: ... + def GetDigitalActionData( + self, theAction: Aspect_XRAction + ) -> Aspect_XRDigitalActionData: ... + def GetPoseActionDataForNextFrame( + self, theAction: Aspect_XRAction + ) -> Aspect_XRPoseActionData: ... + def HasProjectionFrustums(self) -> bool: ... + @staticmethod + def IsHmdPresent() -> bool: ... + def IsOpen(self) -> bool: ... + def NamedTrackedDevice(self, theDevice: Aspect_XRTrackedDeviceRole) -> int: ... + def Open(self) -> bool: ... + def ProcessEvents(self) -> None: ... + def ProjectionMatrix( + self, theEye: Aspect_Eye, theZNear: float, theZFar: float + ) -> False: ... + def RecommendedViewport(self) -> False: ... + def SubmitEye( + self, + theTexture: None, + theGraphicsLib: Aspect_GraphicsLibrary, + theColorSpace: Aspect_ColorSpace, + theEye: Aspect_Eye, + ) -> bool: ... + def WaitPoses(self) -> bool: ... + +# classnotwrapped class Aspect_CircularGrid: ... -#classnotwrapped +# classnotwrapped class Aspect_NeutralWindow: ... -#classnotwrapped +# classnotwrapped class Aspect_RectangularGrid: ... -#classnotwrapped +# classnotwrapped class Aspect_FrustumLRBT: ... # harray1 classes # harray2 classes # hsequence classes - -Aspect_OpenVRSession_IsHmdPresent = Aspect_OpenVRSession.IsHmdPresent diff --git a/src/SWIG_files/wrapper/BOPAlgo.i b/src/SWIG_files/wrapper/BOPAlgo.i index a37720c04..b7a035fdd 100644 --- a/src/SWIG_files/wrapper/BOPAlgo.i +++ b/src/SWIG_files/wrapper/BOPAlgo.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BOPALGODOCSTRING "BOPAlgo module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_bopalgo.html" +https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_bopalgo.html" %enddef %module (package="OCC.Core", docstring=BOPALGODOCSTRING) BOPAlgo @@ -31,8 +31,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_bopalgo.html" %include ../common/CommonIncludes.i %include ../common/ExceptionCatcher.i %include ../common/FunctionTransformers.i +%include ../common/EnumTemplates.i %include ../common/Operators.i %include ../common/OccHandle.i +%include ../common/IOStream.i +%include ../common/ArrayMacros.i %{ @@ -44,6 +47,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_bopalgo.html" #include #include #include +#include #include #include #include @@ -68,6 +72,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_bopalgo.html" #include #include #include +#include #include #include #include @@ -78,6 +83,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_bopalgo.html" %import TopoDS.i %import TopTools.i %import Message.i +%import TColStd.i %import IntTools.i %import BOPDS.i %import Bnd.i @@ -107,6 +113,12 @@ enum BOPAlgo_CheckStatus { BOPAlgo_NotValid = 11, }; +enum BOPAlgo_GlueEnum { + BOPAlgo_GlueOff = 0, + BOPAlgo_GlueShift = 1, + BOPAlgo_GlueFull = 2, +}; + enum BOPAlgo_Operation { BOPAlgo_COMMON = 0, BOPAlgo_FUSE = 1, @@ -116,15 +128,9 @@ enum BOPAlgo_Operation { BOPAlgo_UNKNOWN = 5, }; -enum BOPAlgo_GlueEnum { - BOPAlgo_GlueOff = 0, - BOPAlgo_GlueShift = 1, - BOPAlgo_GlueFull = 2, -}; - /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class BOPAlgo_CheckStatus(IntEnum): @@ -153,6 +159,14 @@ BOPAlgo_GeomAbs_C0 = BOPAlgo_CheckStatus.BOPAlgo_GeomAbs_C0 BOPAlgo_InvalidCurveOnSurface = BOPAlgo_CheckStatus.BOPAlgo_InvalidCurveOnSurface BOPAlgo_NotValid = BOPAlgo_CheckStatus.BOPAlgo_NotValid +class BOPAlgo_GlueEnum(IntEnum): + BOPAlgo_GlueOff = 0 + BOPAlgo_GlueShift = 1 + BOPAlgo_GlueFull = 2 +BOPAlgo_GlueOff = BOPAlgo_GlueEnum.BOPAlgo_GlueOff +BOPAlgo_GlueShift = BOPAlgo_GlueEnum.BOPAlgo_GlueShift +BOPAlgo_GlueFull = BOPAlgo_GlueEnum.BOPAlgo_GlueFull + class BOPAlgo_Operation(IntEnum): BOPAlgo_COMMON = 0 BOPAlgo_FUSE = 1 @@ -166,14 +180,6 @@ BOPAlgo_CUT = BOPAlgo_Operation.BOPAlgo_CUT BOPAlgo_CUT21 = BOPAlgo_Operation.BOPAlgo_CUT21 BOPAlgo_SECTION = BOPAlgo_Operation.BOPAlgo_SECTION BOPAlgo_UNKNOWN = BOPAlgo_Operation.BOPAlgo_UNKNOWN - -class BOPAlgo_GlueEnum(IntEnum): - BOPAlgo_GlueOff = 0 - BOPAlgo_GlueShift = 1 - BOPAlgo_GlueFull = 2 -BOPAlgo_GlueOff = BOPAlgo_GlueEnum.BOPAlgo_GlueOff -BOPAlgo_GlueShift = BOPAlgo_GlueEnum.BOPAlgo_GlueShift -BOPAlgo_GlueFull = BOPAlgo_GlueEnum.BOPAlgo_GlueFull }; /* end python proxy for enums */ @@ -187,6 +193,12 @@ BOPAlgo_GlueFull = BOPAlgo_GlueEnum.BOPAlgo_GlueFull %pythoncode { def __len__(self): return self.Size() + + def __iter__(self): + it = BOPAlgo_ListIteratorOfListOfCheckResult(self.this) + while it.More(): + yield it.Value() + it.Next() } }; /* end templates declaration */ @@ -207,248 +219,295 @@ typedef BOPAlgo_WireEdgeSet * BOPAlgo_PWireEdgeSet; ****************************/ class BOPAlgo_CheckResult { public: - /****************** BOPAlgo_CheckResult ******************/ - /**** md5 signature: dea769d54f4bd763585ebd4034c98353 ****/ + /****** BOPAlgo_CheckResult::BOPAlgo_CheckResult ******/ + /****** md5 signature: dea769d54f4bd763585ebd4034c98353 ******/ %feature("compactdefaultargs") BOPAlgo_CheckResult; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +empty constructor. ") BOPAlgo_CheckResult; BOPAlgo_CheckResult(); - /****************** AddFaultyShape1 ******************/ - /**** md5 signature: f4fc4348e7f32438e74e5bc925fb83c5 ****/ + /****** BOPAlgo_CheckResult::AddFaultyShape1 ******/ + /****** md5 signature: f4fc4348e7f32438e74e5bc925fb83c5 ******/ %feature("compactdefaultargs") AddFaultyShape1; - %feature("autodoc", "Adds faulty sub-shapes from object to a list. - + %feature("autodoc", " Parameters ---------- TheShape: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +adds faulty sub-shapes from object to a list. ") AddFaultyShape1; void AddFaultyShape1(const TopoDS_Shape & TheShape); - /****************** AddFaultyShape2 ******************/ - /**** md5 signature: 08dbc2a8aeed47639b770ec0ac24b612 ****/ + /****** BOPAlgo_CheckResult::AddFaultyShape2 ******/ + /****** md5 signature: 08dbc2a8aeed47639b770ec0ac24b612 ******/ %feature("compactdefaultargs") AddFaultyShape2; - %feature("autodoc", "Adds faulty sub-shapes from tool to a list. - + %feature("autodoc", " Parameters ---------- TheShape: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +adds faulty sub-shapes from tool to a list. ") AddFaultyShape2; void AddFaultyShape2(const TopoDS_Shape & TheShape); - /****************** GetCheckStatus ******************/ - /**** md5 signature: 89e09e6d4b68f3aacbd1de7dc2d4e2f8 ****/ + /****** BOPAlgo_CheckResult::GetCheckStatus ******/ + /****** md5 signature: 89e09e6d4b68f3aacbd1de7dc2d4e2f8 ******/ %feature("compactdefaultargs") GetCheckStatus; - %feature("autodoc", "Gets status of faulty. - -Returns + %feature("autodoc", "Return ------- BOPAlgo_CheckStatus + +Description +----------- +gets status of faulty. ") GetCheckStatus; BOPAlgo_CheckStatus GetCheckStatus(); - /****************** GetFaultyShapes1 ******************/ - /**** md5 signature: f728fddcc353c4062194134e5bf43fd5 ****/ + /****** BOPAlgo_CheckResult::GetFaultyShapes1 ******/ + /****** md5 signature: f728fddcc353c4062194134e5bf43fd5 ******/ %feature("compactdefaultargs") GetFaultyShapes1; - %feature("autodoc", "Returns list of faulty shapes for object. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +returns list of faulty shapes for object. ") GetFaultyShapes1; const TopTools_ListOfShape & GetFaultyShapes1(); - /****************** GetFaultyShapes2 ******************/ - /**** md5 signature: 547a4a2e3a84bbf43143e6bb8c0f757f ****/ + /****** BOPAlgo_CheckResult::GetFaultyShapes2 ******/ + /****** md5 signature: 547a4a2e3a84bbf43143e6bb8c0f757f ******/ %feature("compactdefaultargs") GetFaultyShapes2; - %feature("autodoc", "Returns list of faulty shapes for tool. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +returns list of faulty shapes for tool. ") GetFaultyShapes2; const TopTools_ListOfShape & GetFaultyShapes2(); - /****************** GetMaxDistance1 ******************/ - /**** md5 signature: a08934026a64239752b614e124fd393f ****/ + /****** BOPAlgo_CheckResult::GetMaxDistance1 ******/ + /****** md5 signature: a08934026a64239752b614e124fd393f ******/ %feature("compactdefaultargs") GetMaxDistance1; - %feature("autodoc", "Returns the distance for the first shape. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the distance for the first shape. ") GetMaxDistance1; Standard_Real GetMaxDistance1(); - /****************** GetMaxDistance2 ******************/ - /**** md5 signature: 635ed89e8c069eba76d435dbbab735c2 ****/ + /****** BOPAlgo_CheckResult::GetMaxDistance2 ******/ + /****** md5 signature: 635ed89e8c069eba76d435dbbab735c2 ******/ %feature("compactdefaultargs") GetMaxDistance2; - %feature("autodoc", "Returns the distance for the second shape. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the distance for the second shape. ") GetMaxDistance2; Standard_Real GetMaxDistance2(); - /****************** GetMaxParameter1 ******************/ - /**** md5 signature: 2d7b754d07c9650db3d770a6a970655c ****/ + /****** BOPAlgo_CheckResult::GetMaxParameter1 ******/ + /****** md5 signature: 2d7b754d07c9650db3d770a6a970655c ******/ %feature("compactdefaultargs") GetMaxParameter1; - %feature("autodoc", "Returns the parameter for the fircst shape. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the parameter for the fircst shape. ") GetMaxParameter1; Standard_Real GetMaxParameter1(); - /****************** GetMaxParameter2 ******************/ - /**** md5 signature: 339892b104483047abe995771a167705 ****/ + /****** BOPAlgo_CheckResult::GetMaxParameter2 ******/ + /****** md5 signature: 339892b104483047abe995771a167705 ******/ %feature("compactdefaultargs") GetMaxParameter2; - %feature("autodoc", "Returns the parameter for the second shape. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the parameter for the second shape. ") GetMaxParameter2; Standard_Real GetMaxParameter2(); - /****************** GetShape1 ******************/ - /**** md5 signature: da65271fea68f494586b07012e23b4bb ****/ + /****** BOPAlgo_CheckResult::GetShape1 ******/ + /****** md5 signature: da65271fea68f494586b07012e23b4bb ******/ %feature("compactdefaultargs") GetShape1; - %feature("autodoc", "Returns ancestor shape (object) for faulties. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +returns ancestor shape (object) for faulties. ") GetShape1; const TopoDS_Shape GetShape1(); - /****************** GetShape2 ******************/ - /**** md5 signature: ad646522ebe6de8820d9424e4f21edb9 ****/ + /****** BOPAlgo_CheckResult::GetShape2 ******/ + /****** md5 signature: ad646522ebe6de8820d9424e4f21edb9 ******/ %feature("compactdefaultargs") GetShape2; - %feature("autodoc", "Returns ancestor shape (tool) for faulties. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +returns ancestor shape (tool) for faulties. ") GetShape2; const TopoDS_Shape GetShape2(); - /****************** SetCheckStatus ******************/ - /**** md5 signature: f3c122c6cb39ad6a91e7b859c005e322 ****/ + /****** BOPAlgo_CheckResult::SetCheckStatus ******/ + /****** md5 signature: f3c122c6cb39ad6a91e7b859c005e322 ******/ %feature("compactdefaultargs") SetCheckStatus; - %feature("autodoc", "Set status of faulty. - + %feature("autodoc", " Parameters ---------- TheStatus: BOPAlgo_CheckStatus -Returns +Return ------- None + +Description +----------- +set status of faulty. ") SetCheckStatus; void SetCheckStatus(const BOPAlgo_CheckStatus TheStatus); - /****************** SetMaxDistance1 ******************/ - /**** md5 signature: f3f7c583b2244f7a9a07fbaa143b9f22 ****/ + /****** BOPAlgo_CheckResult::SetMaxDistance1 ******/ + /****** md5 signature: f3f7c583b2244f7a9a07fbaa143b9f22 ******/ %feature("compactdefaultargs") SetMaxDistance1; - %feature("autodoc", "Sets max distance for the first shape. - + %feature("autodoc", " Parameters ---------- theDist: float -Returns +Return ------- None + +Description +----------- +Sets max distance for the first shape. ") SetMaxDistance1; void SetMaxDistance1(const Standard_Real theDist); - /****************** SetMaxDistance2 ******************/ - /**** md5 signature: 26e9a5acae152632933809ad11c56749 ****/ + /****** BOPAlgo_CheckResult::SetMaxDistance2 ******/ + /****** md5 signature: 26e9a5acae152632933809ad11c56749 ******/ %feature("compactdefaultargs") SetMaxDistance2; - %feature("autodoc", "Sets max distance for the second shape. - + %feature("autodoc", " Parameters ---------- theDist: float -Returns +Return ------- None + +Description +----------- +Sets max distance for the second shape. ") SetMaxDistance2; void SetMaxDistance2(const Standard_Real theDist); - /****************** SetMaxParameter1 ******************/ - /**** md5 signature: 5df07c2f24ee4c4939cb016c85dc1437 ****/ + /****** BOPAlgo_CheckResult::SetMaxParameter1 ******/ + /****** md5 signature: 5df07c2f24ee4c4939cb016c85dc1437 ******/ %feature("compactdefaultargs") SetMaxParameter1; - %feature("autodoc", "Sets the parameter for the first shape. - + %feature("autodoc", " Parameters ---------- thePar: float -Returns +Return ------- None + +Description +----------- +Sets the parameter for the first shape. ") SetMaxParameter1; void SetMaxParameter1(const Standard_Real thePar); - /****************** SetMaxParameter2 ******************/ - /**** md5 signature: ebcf38f33cf83375bcefa3a54a26e5ba ****/ + /****** BOPAlgo_CheckResult::SetMaxParameter2 ******/ + /****** md5 signature: ebcf38f33cf83375bcefa3a54a26e5ba ******/ %feature("compactdefaultargs") SetMaxParameter2; - %feature("autodoc", "Sets the parameter for the second shape. - + %feature("autodoc", " Parameters ---------- thePar: float -Returns +Return ------- None + +Description +----------- +Sets the parameter for the second shape. ") SetMaxParameter2; void SetMaxParameter2(const Standard_Real thePar); - /****************** SetShape1 ******************/ - /**** md5 signature: 32d06bb8d221a179d322a30597a4d6c8 ****/ + /****** BOPAlgo_CheckResult::SetShape1 ******/ + /****** md5 signature: 32d06bb8d221a179d322a30597a4d6c8 ******/ %feature("compactdefaultargs") SetShape1; - %feature("autodoc", "Sets ancestor shape (object) for faulty sub-shapes. - + %feature("autodoc", " Parameters ---------- TheShape: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +sets ancestor shape (object) for faulty sub-shapes. ") SetShape1; void SetShape1(const TopoDS_Shape & TheShape); - /****************** SetShape2 ******************/ - /**** md5 signature: 872074f224a41d220ff8f15ed451c9ac ****/ + /****** BOPAlgo_CheckResult::SetShape2 ******/ + /****** md5 signature: 872074f224a41d220ff8f15ed451c9ac ******/ %feature("compactdefaultargs") SetShape2; - %feature("autodoc", "Sets ancestor shape (tool) for faulty sub-shapes. - + %feature("autodoc", " Parameters ---------- TheShape: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +sets ancestor shape (tool) for faulty sub-shapes. ") SetShape2; void SetShape2(const TopoDS_Shape & TheShape); @@ -466,290 +525,342 @@ None ************************/ class BOPAlgo_Options { public: - /****************** BOPAlgo_Options ******************/ - /**** md5 signature: 1d3be438f8467a9d42a76784f9e361b9 ****/ + /****** BOPAlgo_Options::BOPAlgo_Options ******/ + /****** md5 signature: 1d3be438f8467a9d42a76784f9e361b9 ******/ %feature("compactdefaultargs") BOPAlgo_Options; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BOPAlgo_Options; BOPAlgo_Options(); - /****************** BOPAlgo_Options ******************/ - /**** md5 signature: 1e4b6fcd71a6eff1c7af075708751619 ****/ + /****** BOPAlgo_Options::BOPAlgo_Options ******/ + /****** md5 signature: 1e4b6fcd71a6eff1c7af075708751619 ******/ %feature("compactdefaultargs") BOPAlgo_Options; - %feature("autodoc", "Constructor with allocator. - + %feature("autodoc", " Parameters ---------- theAllocator: NCollection_BaseAllocator -Returns +Return ------- None + +Description +----------- +Constructor with allocator. ") BOPAlgo_Options; BOPAlgo_Options(const opencascade::handle & theAllocator); - /****************** AddError ******************/ - /**** md5 signature: f00155f55c673f9e74c0f0dd7c25fadd ****/ + /****** BOPAlgo_Options::AddError ******/ + /****** md5 signature: f00155f55c673f9e74c0f0dd7c25fadd ******/ %feature("compactdefaultargs") AddError; - %feature("autodoc", "Adds the alert as error (fail). - + %feature("autodoc", " Parameters ---------- theAlert: Message_Alert -Returns +Return ------- None + +Description +----------- +Adds the alert as error (fail). ") AddError; void AddError(const opencascade::handle & theAlert); - /****************** AddWarning ******************/ - /**** md5 signature: 53094085790ca6daea4eb2a4ce8de10e ****/ + /****** BOPAlgo_Options::AddWarning ******/ + /****** md5 signature: 53094085790ca6daea4eb2a4ce8de10e ******/ %feature("compactdefaultargs") AddWarning; - %feature("autodoc", "Adds the alert as warning. - + %feature("autodoc", " Parameters ---------- theAlert: Message_Alert -Returns +Return ------- None + +Description +----------- +Adds the alert as warning. ") AddWarning; void AddWarning(const opencascade::handle & theAlert); - /****************** Allocator ******************/ - /**** md5 signature: c2190efebec564fb34d6c8e52682605e ****/ + /****** BOPAlgo_Options::Allocator ******/ + /****** md5 signature: c2190efebec564fb34d6c8e52682605e ******/ %feature("compactdefaultargs") Allocator; - %feature("autodoc", "Returns allocator. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns allocator. ") Allocator; const opencascade::handle & Allocator(); - /****************** Clear ******************/ - /**** md5 signature: ee228ed41450ea46d6b542478ce426ba ****/ + /****** BOPAlgo_Options::Clear ******/ + /****** md5 signature: ee228ed41450ea46d6b542478ce426ba ******/ %feature("compactdefaultargs") Clear; - %feature("autodoc", "Clears all warnings and errors, and any data cached by the algorithm. user defined options are not cleared. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Clears all warnings and errors, and any data cached by the algorithm. User defined options are not cleared. ") Clear; virtual void Clear(); - /****************** ClearWarnings ******************/ - /**** md5 signature: 73c3b8280143bf02663ce560b2171c2b ****/ + /****** BOPAlgo_Options::ClearWarnings ******/ + /****** md5 signature: 73c3b8280143bf02663ce560b2171c2b ******/ %feature("compactdefaultargs") ClearWarnings; - %feature("autodoc", "Clears the warnings of the algorithm. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Clears the warnings of the algorithm. ") ClearWarnings; void ClearWarnings(); + /****** BOPAlgo_Options::DumpErrors ******/ + /****** md5 signature: 90a98b1a0d228edd0b78f11fc13715d9 ******/ + %feature("compactdefaultargs") DumpErrors; + %feature("autodoc", " +Parameters +---------- - %feature("autodoc", "1"); - %extend{ - std::string DumpErrorsToString() { - std::stringstream s; - self->DumpErrors(s); - return s.str();} - }; +Return +------- +theOS: Standard_OStream - %feature("autodoc", "1"); - %extend{ - std::string DumpWarningsToString() { - std::stringstream s; - self->DumpWarnings(s); - return s.str();} - }; - /****************** FuzzyValue ******************/ - /**** md5 signature: c7081d612ee5325e18733e215807d19f ****/ - %feature("compactdefaultargs") FuzzyValue; - %feature("autodoc", "Returns the additional tolerance. +Description +----------- +Dumps the error status into the given stream. +") DumpErrors; + void DumpErrors(std::ostream &OutValue); -Returns + /****** BOPAlgo_Options::DumpWarnings ******/ + /****** md5 signature: b7a54acbfda1ad785ffbd552beb749fd ******/ + %feature("compactdefaultargs") DumpWarnings; + %feature("autodoc", " +Parameters +---------- + +Return +------- +theOS: Standard_OStream + +Description +----------- +Dumps the warning statuses into the given stream. +") DumpWarnings; + void DumpWarnings(std::ostream &OutValue); + + /****** BOPAlgo_Options::FuzzyValue ******/ + /****** md5 signature: c7081d612ee5325e18733e215807d19f ******/ + %feature("compactdefaultargs") FuzzyValue; + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the additional tolerance. ") FuzzyValue; Standard_Real FuzzyValue(); - /****************** GetParallelMode ******************/ - /**** md5 signature: feaeebd94ff83efc7e77e3c0da668764 ****/ + /****** BOPAlgo_Options::GetParallelMode ******/ + /****** md5 signature: feaeebd94ff83efc7e77e3c0da668764 ******/ %feature("compactdefaultargs") GetParallelMode; - %feature("autodoc", "Gets the global parallel mode. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Gets the global parallel mode. ") GetParallelMode; static Standard_Boolean GetParallelMode(); - /****************** GetReport ******************/ - /**** md5 signature: 58a2006fc09eb4744f2647f5bb6aa259 ****/ + /****** BOPAlgo_Options::GetReport ******/ + /****** md5 signature: 58a2006fc09eb4744f2647f5bb6aa259 ******/ %feature("compactdefaultargs") GetReport; - %feature("autodoc", "Returns report collecting all errors and warnings. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns report collecting all errors and warnings. ") GetReport; const opencascade::handle & GetReport(); - /****************** HasError ******************/ - /**** md5 signature: 16c1e1370b1b00520fec769582a88f3a ****/ + /****** BOPAlgo_Options::HasError ******/ + /****** md5 signature: 16c1e1370b1b00520fec769582a88f3a ******/ %feature("compactdefaultargs") HasError; - %feature("autodoc", "Returns true if algorithm has generated error of specified type. - + %feature("autodoc", " Parameters ---------- theType: Standard_Type -Returns +Return ------- bool + +Description +----------- +Returns true if algorithm has generated error of specified type. ") HasError; Standard_Boolean HasError(const opencascade::handle & theType); - /****************** HasErrors ******************/ - /**** md5 signature: bf718c128e76868673dd300f349b7f68 ****/ + /****** BOPAlgo_Options::HasErrors ******/ + /****** md5 signature: bf718c128e76868673dd300f349b7f68 ******/ %feature("compactdefaultargs") HasErrors; - %feature("autodoc", "Returns true if algorithm has failed. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns true if algorithm has failed. ") HasErrors; Standard_Boolean HasErrors(); - /****************** HasWarning ******************/ - /**** md5 signature: f643e1ca521c66e8183b395e733ed0da ****/ + /****** BOPAlgo_Options::HasWarning ******/ + /****** md5 signature: f643e1ca521c66e8183b395e733ed0da ******/ %feature("compactdefaultargs") HasWarning; - %feature("autodoc", "Returns true if algorithm has generated warning of specified type. - + %feature("autodoc", " Parameters ---------- theType: Standard_Type -Returns +Return ------- bool + +Description +----------- +Returns true if algorithm has generated warning of specified type. ") HasWarning; Standard_Boolean HasWarning(const opencascade::handle & theType); - /****************** HasWarnings ******************/ - /**** md5 signature: 0d7f1d0092f1dca69e861f3bce5f0267 ****/ + /****** BOPAlgo_Options::HasWarnings ******/ + /****** md5 signature: 0d7f1d0092f1dca69e861f3bce5f0267 ******/ %feature("compactdefaultargs") HasWarnings; - %feature("autodoc", "Returns true if algorithm has generated some warning alerts. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns true if algorithm has generated some warning alerts. ") HasWarnings; Standard_Boolean HasWarnings(); - /****************** RunParallel ******************/ - /**** md5 signature: 53cb29f6811f4f276d6c103cc8a9e7e1 ****/ + /****** BOPAlgo_Options::RunParallel ******/ + /****** md5 signature: 53cb29f6811f4f276d6c103cc8a9e7e1 ******/ %feature("compactdefaultargs") RunParallel; - %feature("autodoc", "Returns the flag of parallel processing. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns the flag of parallel processing. ") RunParallel; Standard_Boolean RunParallel(); - /****************** SetFuzzyValue ******************/ - /**** md5 signature: a6e52c994eeddfce238b90491de5f35c ****/ + /****** BOPAlgo_Options::SetFuzzyValue ******/ + /****** md5 signature: a6e52c994eeddfce238b90491de5f35c ******/ %feature("compactdefaultargs") SetFuzzyValue; - %feature("autodoc", "Sets the additional tolerance. - + %feature("autodoc", " Parameters ---------- theFuzz: float -Returns +Return ------- None + +Description +----------- +Sets the additional tolerance. ") SetFuzzyValue; void SetFuzzyValue(const Standard_Real theFuzz); - /****************** SetParallelMode ******************/ - /**** md5 signature: b461eee387cc9df4779b32f144c1de40 ****/ + /****** BOPAlgo_Options::SetParallelMode ******/ + /****** md5 signature: b461eee387cc9df4779b32f144c1de40 ******/ %feature("compactdefaultargs") SetParallelMode; - %feature("autodoc", "Sets the global parallel mode. - + %feature("autodoc", " Parameters ---------- theNewMode: bool -Returns +Return ------- None + +Description +----------- +Sets the global parallel mode. ") SetParallelMode; static void SetParallelMode(const Standard_Boolean theNewMode); - /****************** SetProgressIndicator ******************/ - /**** md5 signature: 57981193097658933e1f62427ed993d3 ****/ - %feature("compactdefaultargs") SetProgressIndicator; - %feature("autodoc", "Set the progress indicator object. - -Parameters ----------- -theProgress: Message_ProgressScope - -Returns -------- -None -") SetProgressIndicator; - void SetProgressIndicator(const Message_ProgressScope & theProgress); - - /****************** SetRunParallel ******************/ - /**** md5 signature: bf7fbc3e9b126cd865579ef58026ce14 ****/ + /****** BOPAlgo_Options::SetRunParallel ******/ + /****** md5 signature: bf7fbc3e9b126cd865579ef58026ce14 ******/ %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", " Parameters ---------- theFlag: bool -Returns +Return ------- None + +Description +----------- +Set the flag of parallel processing if is true the parallel processing is switched on if is false the parallel processing is switched off. ") SetRunParallel; void SetRunParallel(const Standard_Boolean theFlag); - /****************** SetUseOBB ******************/ - /**** md5 signature: 6d40fa7ee94de6963b0a47968b0c2b35 ****/ + /****** BOPAlgo_Options::SetUseOBB ******/ + /****** md5 signature: 6d40fa7ee94de6963b0a47968b0c2b35 ******/ %feature("compactdefaultargs") SetUseOBB; - %feature("autodoc", "Enables/disables the usage of obb. - + %feature("autodoc", " Parameters ---------- theUseOBB: bool -Returns +Return ------- None + +Description +----------- +Enables/Disables the usage of OBB. ") SetUseOBB; void SetUseOBB(const Standard_Boolean theUseOBB); - /****************** UseOBB ******************/ - /**** md5 signature: 439d685e26e7394528c125780fc412da ****/ + /****** BOPAlgo_Options::UseOBB ******/ + /****** md5 signature: 439d685e26e7394528c125780fc412da ******/ %feature("compactdefaultargs") UseOBB; - %feature("autodoc", "Returns the flag defining usage of obb. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns the flag defining usage of OBB. ") UseOBB; Standard_Boolean UseOBB(); @@ -762,114 +873,229 @@ bool } }; +/************************ +* class BOPAlgo_PISteps * +************************/ +class BOPAlgo_PISteps { + public: + /****** BOPAlgo_PISteps::BOPAlgo_PISteps ******/ + /****** md5 signature: 678f847738ab187532af2fc55a728601 ******/ + %feature("compactdefaultargs") BOPAlgo_PISteps; + %feature("autodoc", " +Parameters +---------- +theNbOp: int + +Return +------- +None + +Description +----------- +Constructor. +") BOPAlgo_PISteps; + BOPAlgo_PISteps(const Standard_Integer theNbOp); + + /****** BOPAlgo_PISteps::ChangeSteps ******/ + /****** md5 signature: 6afaf1bdd0c07a7da0643b663ae7e1bf ******/ + %feature("compactdefaultargs") ChangeSteps; + %feature("autodoc", "Return +------- +TColStd_Array1OfReal + +Description +----------- +Returns modifiable steps. +") ChangeSteps; + TColStd_Array1OfReal & ChangeSteps(); + + /****** BOPAlgo_PISteps::GetStep ******/ + /****** md5 signature: 085c03e320fb55492a498c74030ef52d ******/ + %feature("compactdefaultargs") GetStep; + %feature("autodoc", " +Parameters +---------- +theOperation: int + +Return +------- +float + +Description +----------- +Returns the step assigned to the operation. +") GetStep; + Standard_Real GetStep(const Standard_Integer theOperation); + + /****** BOPAlgo_PISteps::SetStep ******/ + /****** md5 signature: 0ecefcccd3c3f72bac80ecf106cf7705 ******/ + %feature("compactdefaultargs") SetStep; + %feature("autodoc", " +Parameters +---------- +theOperation: int +theStep: float + +Return +------- +None + +Description +----------- +Assign the value theStep to theOperation. +") SetStep; + void SetStep(const Standard_Integer theOperation, const Standard_Real theStep); + + /****** BOPAlgo_PISteps::Steps ******/ + /****** md5 signature: 5fc38fb11ebee5e2c132b891668077b8 ******/ + %feature("compactdefaultargs") Steps; + %feature("autodoc", "Return +------- +TColStd_Array1OfReal + +Description +----------- +Returns the steps. +") Steps; + const TColStd_Array1OfReal & Steps(); + +}; + + +%extend BOPAlgo_PISteps { + %pythoncode { + __repr__ = _dumps_object + } +}; + /********************************* * class BOPAlgo_SectionAttribute * *********************************/ class BOPAlgo_SectionAttribute { public: - /****************** BOPAlgo_SectionAttribute ******************/ - /**** md5 signature: d009c63d3a8a919760589f1003ae4986 ****/ + /****** BOPAlgo_SectionAttribute::BOPAlgo_SectionAttribute ******/ + /****** md5 signature: d009c63d3a8a919760589f1003ae4986 ******/ %feature("compactdefaultargs") BOPAlgo_SectionAttribute; - %feature("autodoc", "Default constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Default constructor. ") BOPAlgo_SectionAttribute; BOPAlgo_SectionAttribute(); - /****************** BOPAlgo_SectionAttribute ******************/ - /**** md5 signature: 3d85e8151b6f1576f015e50486ffbe64 ****/ + /****** BOPAlgo_SectionAttribute::BOPAlgo_SectionAttribute ******/ + /****** md5 signature: 3d85e8151b6f1576f015e50486ffbe64 ******/ %feature("compactdefaultargs") BOPAlgo_SectionAttribute; - %feature("autodoc", "Constructor. - + %feature("autodoc", " Parameters ---------- theAproximation: bool thePCurveOnS1: bool thePCurveOnS2: bool -Returns +Return ------- None + +Description +----------- +Constructor. ") BOPAlgo_SectionAttribute; BOPAlgo_SectionAttribute(const Standard_Boolean theAproximation, const Standard_Boolean thePCurveOnS1, const Standard_Boolean thePCurveOnS2); - /****************** Approximation ******************/ - /**** md5 signature: 0dc0c40b42d72f7fa0d8967d76779a9f ****/ + /****** BOPAlgo_SectionAttribute::Approximation ******/ + /****** md5 signature: 0dc0c40b42d72f7fa0d8967d76779a9f ******/ %feature("compactdefaultargs") Approximation; - %feature("autodoc", "Sets the approximation flag. - + %feature("autodoc", " Parameters ---------- theApprox: bool -Returns +Return ------- None + +Description +----------- +Sets the Approximation flag. ") Approximation; void Approximation(const Standard_Boolean theApprox); - /****************** Approximation ******************/ - /**** md5 signature: 56d3eec8cfa6eef2526f5faec043653f ****/ + /****** BOPAlgo_SectionAttribute::Approximation ******/ + /****** md5 signature: 56d3eec8cfa6eef2526f5faec043653f ******/ %feature("compactdefaultargs") Approximation; - %feature("autodoc", "Returns the approximation flag. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns the Approximation flag. ") Approximation; Standard_Boolean Approximation(); - /****************** PCurveOnS1 ******************/ - /**** md5 signature: ecc19b7110b044c15c461a8b82ccb0f6 ****/ + /****** BOPAlgo_SectionAttribute::PCurveOnS1 ******/ + /****** md5 signature: ecc19b7110b044c15c461a8b82ccb0f6 ******/ %feature("compactdefaultargs") PCurveOnS1; - %feature("autodoc", "Sets the pcurveons1 flag. - + %feature("autodoc", " Parameters ---------- thePCurveOnS1: bool -Returns +Return ------- None + +Description +----------- +Sets the PCurveOnS1 flag. ") PCurveOnS1; void PCurveOnS1(const Standard_Boolean thePCurveOnS1); - /****************** PCurveOnS1 ******************/ - /**** md5 signature: 9a1e47121e59cd144b5b6675616ace9c ****/ + /****** BOPAlgo_SectionAttribute::PCurveOnS1 ******/ + /****** md5 signature: 9a1e47121e59cd144b5b6675616ace9c ******/ %feature("compactdefaultargs") PCurveOnS1; - %feature("autodoc", "Returns the pcurveons1 flag. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns the PCurveOnS1 flag. ") PCurveOnS1; Standard_Boolean PCurveOnS1(); - /****************** PCurveOnS2 ******************/ - /**** md5 signature: ff2501955a1d5673be11ed993fee2b79 ****/ + /****** BOPAlgo_SectionAttribute::PCurveOnS2 ******/ + /****** md5 signature: ff2501955a1d5673be11ed993fee2b79 ******/ %feature("compactdefaultargs") PCurveOnS2; - %feature("autodoc", "Sets the pcurveons2 flag. - + %feature("autodoc", " Parameters ---------- thePCurveOnS2: bool -Returns +Return ------- None + +Description +----------- +Sets the PCurveOnS2 flag. ") PCurveOnS2; void PCurveOnS2(const Standard_Boolean thePCurveOnS2); - /****************** PCurveOnS2 ******************/ - /**** md5 signature: 5b774e4d6136cf12a4b36814eaa92d44 ****/ + /****** BOPAlgo_SectionAttribute::PCurveOnS2 ******/ + /****** md5 signature: 5b774e4d6136cf12a4b36814eaa92d44 ******/ %feature("compactdefaultargs") PCurveOnS2; - %feature("autodoc", "Returns the pcurveons2 flag. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns the PCurveOnS2 flag. ") PCurveOnS2; Standard_Boolean PCurveOnS2(); @@ -887,11 +1113,10 @@ bool **********************/ class BOPAlgo_Tools { public: - /****************** ClassifyFaces ******************/ - /**** md5 signature: 7a3a4e079fbca663eebea4065ac21345 ****/ + /****** BOPAlgo_Tools::ClassifyFaces ******/ + /****** md5 signature: aecd30a1f788074add579e534de83f3d ******/ %feature("compactdefaultargs") ClassifyFaces; - %feature("autodoc", "Classifies the faces relatively solids . the in faces for solids are stored into output data map . //! the map contains internal faces of the solids, to avoid their additional classification. //! firstly, it checks the intersection of bounding boxes of the shapes. if the box is not stored in the map, it builds the box. if the bounding boxes of solid and face are interfering the classification is performed. //! it is assumed that all faces and solids are already intersected and do not have any geometrically coinciding parts without topological sharing of these parts. - + %feature("autodoc", " Parameters ---------- theFaces: TopTools_ListOfShape @@ -899,59 +1124,65 @@ theSolids: TopTools_ListOfShape theRunParallel: bool theContext: IntTools_Context theInParts: TopTools_IndexedDataMapOfShapeListOfShape -theShapeBoxMap: TopTools_DataMapOfShapeBox,optional - default value is TopTools_DataMapOfShapeBox() -theSolidsIF: TopTools_DataMapOfShapeListOfShape,optional - default value is TopTools_DataMapOfShapeListOfShape() +theShapeBoxMap: TopTools_DataMapOfShapeBox (optional, default to TopTools_DataMapOfShapeBox()) +theSolidsIF: TopTools_DataMapOfShapeListOfShape (optional, default to TopTools_DataMapOfShapeListOfShape()) +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- None + +Description +----------- +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. ") ClassifyFaces; - static void ClassifyFaces(const TopTools_ListOfShape & theFaces, const TopTools_ListOfShape & theSolids, const Standard_Boolean theRunParallel, opencascade::handle & theContext, TopTools_IndexedDataMapOfShapeListOfShape & theInParts, const TopTools_DataMapOfShapeBox & theShapeBoxMap = TopTools_DataMapOfShapeBox(), const TopTools_DataMapOfShapeListOfShape & theSolidsIF = TopTools_DataMapOfShapeListOfShape()); + static void ClassifyFaces(const TopTools_ListOfShape & theFaces, const TopTools_ListOfShape & theSolids, const Standard_Boolean theRunParallel, opencascade::handle & theContext, TopTools_IndexedDataMapOfShapeListOfShape & theInParts, const TopTools_DataMapOfShapeBox & theShapeBoxMap = TopTools_DataMapOfShapeBox(), const TopTools_DataMapOfShapeListOfShape & theSolidsIF = TopTools_DataMapOfShapeListOfShape(), const Message_ProgressRange & theRange = Message_ProgressRange()); - /****************** ComputeToleranceOfCB ******************/ - /**** md5 signature: e685c89cf11769ed8a1377be0947b846 ****/ + /****** BOPAlgo_Tools::ComputeToleranceOfCB ******/ + /****** md5 signature: e685c89cf11769ed8a1377be0947b846 ******/ %feature("compactdefaultargs") ComputeToleranceOfCB; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theCB: BOPDS_CommonBlock theDS: BOPDS_PDS theContext: IntTools_Context -Returns +Return ------- float + +Description +----------- +No available documentation. ") ComputeToleranceOfCB; static Standard_Real ComputeToleranceOfCB(const opencascade::handle & theCB, const BOPDS_PDS theDS, const opencascade::handle & theContext); - /****************** EdgesToWires ******************/ - /**** md5 signature: e795d71da8d102674043cf89e2807135 ****/ + /****** BOPAlgo_Tools::EdgesToWires ******/ + /****** md5 signature: e795d71da8d102674043cf89e2807135 ******/ %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. - + %feature("autodoc", " Parameters ---------- theEdges: TopoDS_Shape theWires: TopoDS_Shape -theShared: bool,optional - default value is Standard_False -theAngTol: float,optional - default value is 1e-8 +theShared: bool (optional, default to Standard_False) +theAngTol: float (optional, default to 1e-8) -Returns +Return ------- int + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 114b79f8adcd1665a2acbeeb894b98bb ****/ + /****** BOPAlgo_Tools::FillInternals ******/ + /****** md5 signature: 114b79f8adcd1665a2acbeeb894b98bb ******/ %feature("compactdefaultargs") FillInternals; - %feature("autodoc", "Classifies the given parts relatively the given solids and fills the solids with the parts classified as internal. //! @param thesolids - the solids to put internals to @param theparts - the parts to classify relatively solids @param theimages - possible images of the parts that has to be classified @param thecontext - cashed geometrical tools to speed-up classifications. - + %feature("autodoc", " Parameters ---------- theSolids: TopTools_ListOfShape @@ -959,103 +1190,126 @@ theParts: TopTools_ListOfShape theImages: TopTools_DataMapOfShapeListOfShape theContext: IntTools_Context -Returns +Return ------- None + +Description +----------- +Classifies the given parts relatively the given solids and fills the solids with the parts classified as INTERNAL. //! +Parameter theSolids - The solids to put internals to +Parameter theParts - The parts to classify relatively solids +Parameter theImages - Possible images of the parts that has to be classified +Parameter theContext - cached geometrical tools to speed-up classifications. ") FillInternals; static void FillInternals(const TopTools_ListOfShape & theSolids, const TopTools_ListOfShape & theParts, const TopTools_DataMapOfShapeListOfShape & theImages, const opencascade::handle & theContext); - /****************** IntersectVertices ******************/ - /**** md5 signature: d4914d07780a11972f73f6bbf3116baa ****/ + /****** BOPAlgo_Tools::IntersectVertices ******/ + /****** md5 signature: d4914d07780a11972f73f6bbf3116baa ******/ %feature("compactdefaultargs") IntersectVertices; - %feature("autodoc", "Finds chains of intersecting vertices. - + %feature("autodoc", " Parameters ---------- theVertices: TopTools_IndexedDataMapOfShapeReal theFuzzyValue: float theChains: TopTools_ListOfListOfShape -Returns +Return ------- None + +Description +----------- +Finds chains of intersecting vertices. ") IntersectVertices; static void IntersectVertices(const TopTools_IndexedDataMapOfShapeReal & theVertices, const Standard_Real theFuzzyValue, TopTools_ListOfListOfShape & theChains); - /****************** PerformCommonBlocks ******************/ - /**** md5 signature: 399b23698e9567012367f4351d1a8f04 ****/ + /****** BOPAlgo_Tools::PerformCommonBlocks ******/ + /****** md5 signature: 399b23698e9567012367f4351d1a8f04 ******/ %feature("compactdefaultargs") PerformCommonBlocks; - %feature("autodoc", "Create common blocks from the groups of pave blocks of connection map. - + %feature("autodoc", " Parameters ---------- theMBlocks: BOPDS_IndexedDataMapOfPaveBlockListOfPaveBlock theAllocator: NCollection_BaseAllocator theDS: BOPDS_PDS -theContext: IntTools_Context,optional - default value is opencascade::handle() +theContext: IntTools_Context (optional, default to opencascade::handle()) -Returns +Return ------- None + +Description +----------- +Create Common Blocks from the groups of pave blocks of connection map. ") PerformCommonBlocks; static void PerformCommonBlocks(BOPDS_IndexedDataMapOfPaveBlockListOfPaveBlock & theMBlocks, const opencascade::handle & theAllocator, BOPDS_PDS & theDS, const opencascade::handle & theContext = opencascade::handle()); - /****************** PerformCommonBlocks ******************/ - /**** md5 signature: b795477e345159b0ed6f4ffbbc4c6f74 ****/ + /****** BOPAlgo_Tools::PerformCommonBlocks ******/ + /****** md5 signature: b795477e345159b0ed6f4ffbbc4c6f74 ******/ %feature("compactdefaultargs") PerformCommonBlocks; - %feature("autodoc", "Create common blocks on faces using the pb->faces connection map . - + %feature("autodoc", " Parameters ---------- theMBlocks: BOPDS_IndexedDataMapOfPaveBlockListOfInteger theAllocator: NCollection_BaseAllocator pDS: BOPDS_PDS -theContext: IntTools_Context,optional - default value is opencascade::handle() +theContext: IntTools_Context (optional, default to opencascade::handle()) -Returns +Return ------- None + +Description +----------- +Create Common Blocks on faces using the PB->Faces connection map . ") PerformCommonBlocks; static void PerformCommonBlocks(const BOPDS_IndexedDataMapOfPaveBlockListOfInteger & theMBlocks, const opencascade::handle & theAllocator, BOPDS_PDS & pDS, const opencascade::handle & theContext = opencascade::handle()); - /****************** TrsfToPoint ******************/ - /**** md5 signature: 836e5f67ee22544085d9d2fab2016425 ****/ + /****** BOPAlgo_Tools::TrsfToPoint ******/ + /****** md5 signature: 836e5f67ee22544085d9d2fab2016425 ******/ %feature("compactdefaultargs") TrsfToPoint; - %feature("autodoc", "Computes the transformation needed to move the objects to the given point to increase the quality of computations. returns true if the objects are located far from the given point (relatively given criteria), false otherwise. @param thebox1 the aabb of the first object @param thebox2 the aabb of the second object @param thetrsf the computed transformation @param thepoint the point to compute transformation to @param thecriteria the criteria to check whether thranformation is required. - + %feature("autodoc", " Parameters ---------- theBox1: Bnd_Box theBox2: Bnd_Box theTrsf: gp_Trsf -thePoint: gp_Pnt,optional - default value is gp_Pnt(0.0,0.0,0.0) -theCriteria: float,optional - default value is 1e+5 +thePoint: gp_Pnt (optional, default to gp_Pnt(0.0,0.0,0.0)) +theCriteria: float (optional, default to 1e+5) -Returns +Return ------- bool + +Description +----------- +Computes the transformation needed to move the objects to the given point to increase the quality of computations. Returns true if the objects are located far from the given point (relatively given criteria), false otherwise. +Parameter theBox1 the AABB of the first object +Parameter theBox2 the AABB of the second object +Parameter theTrsf the computed transformation +Parameter thePoint the Point to compute transformation to +Parameter theCriteria the Criteria to check whether thranformation is required. ") TrsfToPoint; static Standard_Boolean TrsfToPoint(const Bnd_Box & theBox1, const Bnd_Box & theBox2, gp_Trsf & theTrsf, const gp_Pnt & thePoint = gp_Pnt(0.0,0.0,0.0), const Standard_Real theCriteria = 1e+5); - /****************** WiresToFaces ******************/ - /**** md5 signature: 16dc9996c77bddaa892446101a7cb4b5 ****/ + /****** BOPAlgo_Tools::WiresToFaces ******/ + /****** md5 signature: 16dc9996c77bddaa892446101a7cb4b5 ******/ %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. - + %feature("autodoc", " Parameters ---------- theWires: TopoDS_Shape theFaces: TopoDS_Shape -theAngTol: float,optional - default value is 1e-8 +theAngTol: float (optional, default to 1e-8) -Returns +Return ------- bool + +Description +----------- +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. ") WiresToFaces; static Standard_Boolean WiresToFaces(const TopoDS_Shape & theWires, TopoDS_Shape & theFaces, const Standard_Real theAngTol = 1e-8); @@ -1085,118 +1339,140 @@ bool ****************************/ class BOPAlgo_WireEdgeSet { public: - /****************** BOPAlgo_WireEdgeSet ******************/ - /**** md5 signature: ea26cbe6076f94b3b025b7fe930fa557 ****/ + /****** BOPAlgo_WireEdgeSet::BOPAlgo_WireEdgeSet ******/ + /****** md5 signature: ea26cbe6076f94b3b025b7fe930fa557 ******/ %feature("compactdefaultargs") BOPAlgo_WireEdgeSet; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BOPAlgo_WireEdgeSet; BOPAlgo_WireEdgeSet(); - /****************** BOPAlgo_WireEdgeSet ******************/ - /**** md5 signature: d5706b19a4e41f85b2410340b2a1f3b4 ****/ + /****** BOPAlgo_WireEdgeSet::BOPAlgo_WireEdgeSet ******/ + /****** md5 signature: d5706b19a4e41f85b2410340b2a1f3b4 ******/ %feature("compactdefaultargs") BOPAlgo_WireEdgeSet; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theAllocator: NCollection_BaseAllocator -Returns +Return ------- None + +Description +----------- +No available documentation. ") BOPAlgo_WireEdgeSet; BOPAlgo_WireEdgeSet(const opencascade::handle & theAllocator); - /****************** AddShape ******************/ - /**** md5 signature: e2f1c05bc83d83e844b57971adeb089a ****/ + /****** BOPAlgo_WireEdgeSet::AddShape ******/ + /****** md5 signature: e2f1c05bc83d83e844b57971adeb089a ******/ %feature("compactdefaultargs") AddShape; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- sS: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +No available documentation. ") AddShape; void AddShape(const TopoDS_Shape & sS); - /****************** AddStartElement ******************/ - /**** md5 signature: c6623538c007f9731413da5cb7eb7f1b ****/ + /****** BOPAlgo_WireEdgeSet::AddStartElement ******/ + /****** md5 signature: c6623538c007f9731413da5cb7eb7f1b ******/ %feature("compactdefaultargs") AddStartElement; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- sS: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +No available documentation. ") AddStartElement; void AddStartElement(const TopoDS_Shape & sS); - /****************** Clear ******************/ - /**** md5 signature: ae54be580b423a6eadbe062e0bdb44c2 ****/ + /****** BOPAlgo_WireEdgeSet::Clear ******/ + /****** md5 signature: ae54be580b423a6eadbe062e0bdb44c2 ******/ %feature("compactdefaultargs") Clear; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") Clear; void Clear(); - /****************** Face ******************/ - /**** md5 signature: 91e216ebeb76e55c73eb9e179241a6ff ****/ + /****** BOPAlgo_WireEdgeSet::Face ******/ + /****** md5 signature: 91e216ebeb76e55c73eb9e179241a6ff ******/ %feature("compactdefaultargs") Face; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopoDS_Face + +Description +----------- +No available documentation. ") Face; const TopoDS_Face Face(); - /****************** SetFace ******************/ - /**** md5 signature: b689a8f4d5c8b24783cd7ff1ee539b06 ****/ + /****** BOPAlgo_WireEdgeSet::SetFace ******/ + /****** md5 signature: b689a8f4d5c8b24783cd7ff1ee539b06 ******/ %feature("compactdefaultargs") SetFace; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- aF: TopoDS_Face -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetFace; void SetFace(const TopoDS_Face & aF); - /****************** Shapes ******************/ - /**** md5 signature: bd11cb23d06c39c15707d62c9b6c054e ****/ + /****** BOPAlgo_WireEdgeSet::Shapes ******/ + /****** md5 signature: bd11cb23d06c39c15707d62c9b6c054e ******/ %feature("compactdefaultargs") Shapes; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +No available documentation. ") Shapes; const TopTools_ListOfShape & Shapes(); - /****************** StartElements ******************/ - /**** md5 signature: 4df71127781e1f235af21a1e6e23cfbe ****/ + /****** BOPAlgo_WireEdgeSet::StartElements ******/ + /****** md5 signature: 4df71127781e1f235af21a1e6e23cfbe ******/ %feature("compactdefaultargs") StartElements; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +No available documentation. ") StartElements; const TopTools_ListOfShape & StartElements(); @@ -1216,16 +1492,23 @@ TopTools_ListOfShape %ignore BOPAlgo_Algo::~BOPAlgo_Algo(); class BOPAlgo_Algo : public BOPAlgo_Options { public: - /****************** Perform ******************/ - /**** md5 signature: e23b98e5ba6fc1b2692a5d6fc76fd990 ****/ + /****** BOPAlgo_Algo::Perform ******/ + /****** md5 signature: 398f71859219956837273801c6ed1f07 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. + %feature("autodoc", " +Parameters +---------- +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- None + +Description +----------- +The main method to implement the operation Providing the range allows to enable Progress indicator User break functionalities. ") Perform; - virtual void Perform(); + virtual void Perform(const Message_ProgressRange & theRange = Message_ProgressRange()); }; @@ -1241,223 +1524,274 @@ None ******************************/ class BOPAlgo_MakeConnected : public BOPAlgo_Options { public: - /****************** BOPAlgo_MakeConnected ******************/ - /**** md5 signature: b6b80e8925410141807a3d11286b03bf ****/ + /****** BOPAlgo_MakeConnected::BOPAlgo_MakeConnected ******/ + /****** md5 signature: b6b80e8925410141807a3d11286b03bf ******/ %feature("compactdefaultargs") BOPAlgo_MakeConnected; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BOPAlgo_MakeConnected; BOPAlgo_MakeConnected(); - /****************** AddArgument ******************/ - /**** md5 signature: 11101b8c38f2080ebb6a92f924c1e316 ****/ + /****** BOPAlgo_MakeConnected::AddArgument ******/ + /****** md5 signature: 11101b8c38f2080ebb6a92f924c1e316 ******/ %feature("compactdefaultargs") AddArgument; - %feature("autodoc", "Adds the shape to the arguments. @param thes [in] one of the argument shapes. - + %feature("autodoc", " Parameters ---------- theS: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Adds the shape to the arguments. +Input parameter: theS One of the argument shapes. ") AddArgument; void AddArgument(const TopoDS_Shape & theS); - /****************** Arguments ******************/ - /**** md5 signature: 5c44416d889811943ccde89673d3c270 ****/ + /****** BOPAlgo_MakeConnected::Arguments ******/ + /****** md5 signature: 5c44416d889811943ccde89673d3c270 ******/ %feature("compactdefaultargs") Arguments; - %feature("autodoc", "Returns the list of arguments of the operation. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +Returns the list of arguments of the operation. ") Arguments; const TopTools_ListOfShape & Arguments(); - /****************** Clear ******************/ - /**** md5 signature: 75abd67f132413fc11c19201aabf1126 ****/ + /****** BOPAlgo_MakeConnected::Clear ******/ + /****** md5 signature: 75abd67f132413fc11c19201aabf1126 ******/ %feature("compactdefaultargs") Clear; - %feature("autodoc", "Clears the contents of the algorithm. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Clears the contents of the algorithm. ") Clear; void Clear(); - /****************** ClearRepetitions ******************/ - /**** md5 signature: 1c0185ac8e9e0e24db025dcc70e76ee3 ****/ + /****** BOPAlgo_MakeConnected::ClearRepetitions ******/ + /****** md5 signature: 1c0185ac8e9e0e24db025dcc70e76ee3 ******/ %feature("compactdefaultargs") ClearRepetitions; - %feature("autodoc", "Clears the repetitions performed on the periodic shape, keeping the shape periodic. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Clears the repetitions performed on the periodic shape, keeping the shape periodic. ") ClearRepetitions; void ClearRepetitions(); - /****************** GetModified ******************/ - /**** md5 signature: 67b726d6ad41609c9d81facb302563d9 ****/ + /****** BOPAlgo_MakeConnected::GetModified ******/ + /****** md5 signature: 67b726d6ad41609c9d81facb302563d9 ******/ %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. - + %feature("autodoc", " Parameters ---------- theS: TopoDS_Shape -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Returns the list of shapes modified from the given shape. +Input parameter: theS The shape for which the modified shapes are necessary. ") GetModified; const TopTools_ListOfShape & GetModified(const TopoDS_Shape & theS); - /****************** GetOrigins ******************/ - /**** md5 signature: 7db29e58de3213ff94b819ac6e61a362 ****/ + /****** BOPAlgo_MakeConnected::GetOrigins ******/ + /****** md5 signature: 7db29e58de3213ff94b819ac6e61a362 ******/ %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. - + %feature("autodoc", " Parameters ---------- theS: TopoDS_Shape -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Returns the list of original shapes from which the current shape has been created. +Input parameter: theS The shape for which the origins are necessary. ") GetOrigins; const TopTools_ListOfShape & GetOrigins(const TopoDS_Shape & theS); - /****************** History ******************/ - /**** md5 signature: 773151b712351341bc4cedd074c69f00 ****/ + /****** BOPAlgo_MakeConnected::History ******/ + /****** md5 signature: 773151b712351341bc4cedd074c69f00 ******/ %feature("compactdefaultargs") History; - %feature("autodoc", "Returns the history of operations. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns the history of operations. ") History; const opencascade::handle & History(); - /****************** MakePeriodic ******************/ - /**** md5 signature: fa6a1689dfb3f4346cf8892a55e9eab9 ****/ + /****** BOPAlgo_MakeConnected::MakePeriodic ******/ + /****** md5 signature: fa6a1689dfb3f4346cf8892a55e9eab9 ******/ %feature("compactdefaultargs") MakePeriodic; - %feature("autodoc", "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. - + %feature("autodoc", " Parameters ---------- theParams: BOPAlgo_MakePeriodic::PeriodicityParams -Returns +Return ------- None + +Description +----------- +Makes the connected shape periodic. Repeated calls of this method overwrite the previous calls working with the basis connected shape. +Input parameter: theParams Periodic options. ") MakePeriodic; void MakePeriodic(const BOPAlgo_MakePeriodic::PeriodicityParams & theParams); - /****************** MaterialsOnNegativeSide ******************/ - /**** md5 signature: 5f6193d727b8ebf6a2769408a4b22a5c ****/ + /****** BOPAlgo_MakeConnected::MaterialsOnNegativeSide ******/ + /****** md5 signature: 5f6193d727b8ebf6a2769408a4b22a5c ******/ %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. - + %feature("autodoc", " Parameters ---------- theS: TopoDS_Shape -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Returns the original shapes which images contain the the given shape with REVERSED orientation. +Input parameter: theS The shape for which the materials are necessary. ") MaterialsOnNegativeSide; const TopTools_ListOfShape & MaterialsOnNegativeSide(const TopoDS_Shape & theS); - /****************** MaterialsOnPositiveSide ******************/ - /**** md5 signature: 08f98025f671410be24c9e1ce19c2d94 ****/ + /****** BOPAlgo_MakeConnected::MaterialsOnPositiveSide ******/ + /****** md5 signature: 08f98025f671410be24c9e1ce19c2d94 ******/ %feature("compactdefaultargs") MaterialsOnPositiveSide; - %feature("autodoc", "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. - + %feature("autodoc", " Parameters ---------- theS: TopoDS_Shape -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Returns the original shapes which images contain the the given shape with FORWARD orientation. +Input parameter: theS The shape for which the materials are necessary. ") MaterialsOnPositiveSide; const TopTools_ListOfShape & MaterialsOnPositiveSide(const TopoDS_Shape & theS); - /****************** Perform ******************/ - /**** md5 signature: c04b01412cba7220c024b5eb4532697f ****/ + /****** BOPAlgo_MakeConnected::Perform ******/ + /****** md5 signature: c04b01412cba7220c024b5eb4532697f ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Performs the operation, i.e. makes the input shapes connected. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Performs the operation, i.e. makes the input shapes connected. ") Perform; void Perform(); - /****************** PeriodicShape ******************/ - /**** md5 signature: 0cadd972cbc9b05f82bfa5506c7cee42 ****/ + /****** BOPAlgo_MakeConnected::PeriodicShape ******/ + /****** md5 signature: 0cadd972cbc9b05f82bfa5506c7cee42 ******/ %feature("compactdefaultargs") PeriodicShape; - %feature("autodoc", "Returns the resulting periodic & repeated shape. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +Returns the resulting periodic & repeated shape. ") PeriodicShape; const TopoDS_Shape PeriodicShape(); - /****************** PeriodicityTool ******************/ - /**** md5 signature: 73b35be00edb65bd2ce0a4bea38ba204 ****/ + /****** BOPAlgo_MakeConnected::PeriodicityTool ******/ + /****** md5 signature: 73b35be00edb65bd2ce0a4bea38ba204 ******/ %feature("compactdefaultargs") PeriodicityTool; - %feature("autodoc", "Returns the periodicity tool. - -Returns + %feature("autodoc", "Return ------- BOPAlgo_MakePeriodic + +Description +----------- +Returns the periodicity tool. ") PeriodicityTool; const BOPAlgo_MakePeriodic & PeriodicityTool(); - /****************** RepeatShape ******************/ - /**** md5 signature: c36e05cb1b309b9ad4d6a379dec723ed ****/ + /****** BOPAlgo_MakeConnected::RepeatShape ******/ + /****** md5 signature: c36e05cb1b309b9ad4d6a379dec723ed ******/ %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)). - + %feature("autodoc", " Parameters ---------- theDirectionID: int theTimes: int -Returns +Return ------- None + +Description +----------- +Performs repetition of the periodic shape in specified direction required number of times. +Input parameter: theDirectionID The direction's ID (0 for X, 1 for Y, 2 for Z); +Input parameter: theTimes Requested number of repetitions (sign of the value defines the side of the repetition direction (positive or negative)). ") RepeatShape; void RepeatShape(const Standard_Integer theDirectionID, const Standard_Integer theTimes); - /****************** SetArguments ******************/ - /**** md5 signature: c11327ccf7873847aaf3c9f2c70f6eeb ****/ + /****** BOPAlgo_MakeConnected::SetArguments ******/ + /****** md5 signature: c11327ccf7873847aaf3c9f2c70f6eeb ******/ %feature("compactdefaultargs") SetArguments; - %feature("autodoc", "Sets the shape for making them connected. @param theargs [in] the arguments for the operation. - + %feature("autodoc", " Parameters ---------- theArgs: TopTools_ListOfShape -Returns +Return ------- None + +Description +----------- +Sets the shape for making them connected. +Input parameter: theArgs The arguments for the operation. ") SetArguments; void SetArguments(const TopTools_ListOfShape & theArgs); - /****************** Shape ******************/ - /**** md5 signature: 1058569f5d639354fedf11e73741b7df ****/ + /****** BOPAlgo_MakeConnected::Shape ******/ + /****** md5 signature: 1058569f5d639354fedf11e73741b7df ******/ %feature("compactdefaultargs") Shape; - %feature("autodoc", "Returns the resulting connected shape. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +Returns the resulting connected shape. ") Shape; const TopoDS_Shape Shape(); @@ -1476,542 +1810,664 @@ TopoDS_Shape class BOPAlgo_MakePeriodic : public BOPAlgo_Options { public: class PeriodicityParams {}; - /****************** BOPAlgo_MakePeriodic ******************/ - /**** md5 signature: 4d5c6c6476f6d1dac6cdff8dacf51577 ****/ + /****** BOPAlgo_MakePeriodic::BOPAlgo_MakePeriodic ******/ + /****** md5 signature: 4d5c6c6476f6d1dac6cdff8dacf51577 ******/ %feature("compactdefaultargs") BOPAlgo_MakePeriodic; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BOPAlgo_MakePeriodic; BOPAlgo_MakePeriodic(); - /****************** Clear ******************/ - /**** md5 signature: 75abd67f132413fc11c19201aabf1126 ****/ + /****** BOPAlgo_MakePeriodic::Clear ******/ + /****** md5 signature: 75abd67f132413fc11c19201aabf1126 ******/ %feature("compactdefaultargs") Clear; - %feature("autodoc", "Clears the algorithm from previous runs. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Clears the algorithm from previous runs. ") Clear; void Clear(); - /****************** ClearRepetitions ******************/ - /**** md5 signature: edf6e1354024889c605c1f3c39cbe513 ****/ + /****** BOPAlgo_MakePeriodic::ClearRepetitions ******/ + /****** md5 signature: edf6e1354024889c605c1f3c39cbe513 ******/ %feature("compactdefaultargs") ClearRepetitions; - %feature("autodoc", "Clears all performed repetitions. the next repetition will be performed on the base shape. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Clears all performed repetitions. The next repetition will be performed on the base shape. ") ClearRepetitions; void ClearRepetitions(); - /****************** GetTwins ******************/ - /**** md5 signature: 7acec2f72b7c127c74cb7b8ac498de87 ****/ + /****** BOPAlgo_MakePeriodic::GetTwins ******/ + /****** md5 signature: 7acec2f72b7c127c74cb7b8ac498de87 ******/ %feature("compactdefaultargs") GetTwins; - %feature("autodoc", "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. - + %feature("autodoc", " Parameters ---------- theS: TopoDS_Shape -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Returns the identical shapes for the given shape located on the opposite periodic side. Returns empty list in case the shape has no twin. //! +Input parameter: theS Shape to get the twins for. ") GetTwins; const TopTools_ListOfShape & GetTwins(const TopoDS_Shape & theS); - /****************** History ******************/ - /**** md5 signature: 773151b712351341bc4cedd074c69f00 ****/ + /****** BOPAlgo_MakePeriodic::History ******/ + /****** md5 signature: 773151b712351341bc4cedd074c69f00 ******/ %feature("compactdefaultargs") History; - %feature("autodoc", "Returns the history of the algorithm. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns the History of the algorithm. ") History; const opencascade::handle & History(); - /****************** IsInputTrimmed ******************/ - /**** md5 signature: 11de85435b7b5fa036606d9ce3973d08 ****/ + /****** BOPAlgo_MakePeriodic::IsInputTrimmed ******/ + /****** md5 signature: 11de85435b7b5fa036606d9ce3973d08 ******/ %feature("compactdefaultargs") IsInputTrimmed; - %feature("autodoc", "Returns whether the input shape was trimmed in the specified direction. @param thedirectionid [in] the direction's id. - + %feature("autodoc", " Parameters ---------- theDirectionID: int -Returns +Return ------- bool + +Description +----------- +Returns whether the input shape was trimmed in the specified direction. +Input parameter: theDirectionID The direction's ID. ") IsInputTrimmed; Standard_Boolean IsInputTrimmed(const Standard_Integer theDirectionID); - /****************** IsInputXTrimmed ******************/ - /**** md5 signature: 51fa4172f8e0eb40911b355e9680f28b ****/ + /****** BOPAlgo_MakePeriodic::IsInputXTrimmed ******/ + /****** md5 signature: 51fa4172f8e0eb40911b355e9680f28b ******/ %feature("compactdefaultargs") IsInputXTrimmed; - %feature("autodoc", "Returns whether the input shape was already trimmed for x period. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns whether the input shape was already trimmed for X period. ") IsInputXTrimmed; Standard_Boolean IsInputXTrimmed(); - /****************** IsInputYTrimmed ******************/ - /**** md5 signature: 60b80ff8725cbf223315f7aff8a660dc ****/ + /****** BOPAlgo_MakePeriodic::IsInputYTrimmed ******/ + /****** md5 signature: 60b80ff8725cbf223315f7aff8a660dc ******/ %feature("compactdefaultargs") IsInputYTrimmed; - %feature("autodoc", "Returns whether the input shape was already trimmed for y period. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns whether the input shape was already trimmed for Y period. ") IsInputYTrimmed; Standard_Boolean IsInputYTrimmed(); - /****************** IsInputZTrimmed ******************/ - /**** md5 signature: 1685b26b2863b1acec7025e907e61ef4 ****/ + /****** BOPAlgo_MakePeriodic::IsInputZTrimmed ******/ + /****** md5 signature: 1685b26b2863b1acec7025e907e61ef4 ******/ %feature("compactdefaultargs") IsInputZTrimmed; - %feature("autodoc", "Returns whether the input shape was already trimmed for z period. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns whether the input shape was already trimmed for Z period. ") IsInputZTrimmed; Standard_Boolean IsInputZTrimmed(); - /****************** IsPeriodic ******************/ - /**** md5 signature: bb8156b1e5d3c79256f3967acd61f561 ****/ + /****** BOPAlgo_MakePeriodic::IsPeriodic ******/ + /****** md5 signature: bb8156b1e5d3c79256f3967acd61f561 ******/ %feature("compactdefaultargs") IsPeriodic; - %feature("autodoc", "Returns the info about periodicity of the shape in specified direction. @param thedirectionid [in] the direction's id. - + %feature("autodoc", " Parameters ---------- theDirectionID: int -Returns +Return ------- bool + +Description +----------- +Returns the info about Periodicity of the shape in specified direction. +Input parameter: theDirectionID The direction's ID. ") IsPeriodic; Standard_Boolean IsPeriodic(const Standard_Integer theDirectionID); - /****************** IsXPeriodic ******************/ - /**** md5 signature: 825125bcd6f4a4228724ba85e488f68a ****/ + /****** BOPAlgo_MakePeriodic::IsXPeriodic ******/ + /****** md5 signature: 825125bcd6f4a4228724ba85e488f68a ******/ %feature("compactdefaultargs") IsXPeriodic; - %feature("autodoc", "Returns the info about periodicity of the shape in x direction. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns the info about periodicity of the shape in X direction. ") IsXPeriodic; Standard_Boolean IsXPeriodic(); - /****************** IsYPeriodic ******************/ - /**** md5 signature: bdf89adf6728f519216976b7f49a9c82 ****/ + /****** BOPAlgo_MakePeriodic::IsYPeriodic ******/ + /****** md5 signature: bdf89adf6728f519216976b7f49a9c82 ******/ %feature("compactdefaultargs") IsYPeriodic; - %feature("autodoc", "Returns the info about periodicity of the shape in y direction. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns the info about periodicity of the shape in Y direction. ") IsYPeriodic; Standard_Boolean IsYPeriodic(); - /****************** IsZPeriodic ******************/ - /**** md5 signature: 733ec7d6f8ce6b2035b30a926ed50f26 ****/ + /****** BOPAlgo_MakePeriodic::IsZPeriodic ******/ + /****** md5 signature: 733ec7d6f8ce6b2035b30a926ed50f26 ******/ %feature("compactdefaultargs") IsZPeriodic; - %feature("autodoc", "Returns the info about periodicity of the shape in z direction. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns the info about periodicity of the shape in Z direction. ") IsZPeriodic; Standard_Boolean IsZPeriodic(); - /****************** MakePeriodic ******************/ - /**** md5 signature: c4286c9a3e55c3953b69faa375b6e1b3 ****/ + /****** BOPAlgo_MakePeriodic::MakePeriodic ******/ + /****** md5 signature: c4286c9a3e55c3953b69faa375b6e1b3 ******/ %feature("compactdefaultargs") MakePeriodic; - %feature("autodoc", "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. - + %feature("autodoc", " Parameters ---------- theDirectionID: int theIsPeriodic: bool -thePeriod: float,optional - default value is 0.0 +thePeriod: float (optional, default to 0.0) -Returns +Return ------- None + +Description +----------- +Sets the flag to make the shape periodic in specified direction: - 0 - X direction; - 1 - Y direction; - 2 - Z direction. //! +Input parameter: theDirectionID The direction's ID; +Input parameter: theIsPeriodic Flag defining periodicity in given direction; +Input parameter: thePeriod Required period in given direction. ") MakePeriodic; void MakePeriodic(const Standard_Integer theDirectionID, const Standard_Boolean theIsPeriodic, const Standard_Real thePeriod = 0.0); - /****************** MakeXPeriodic ******************/ - /**** md5 signature: df3376e9d459c637fa867e10c13236ef ****/ + /****** BOPAlgo_MakePeriodic::MakeXPeriodic ******/ + /****** md5 signature: df3376e9d459c637fa867e10c13236ef ******/ %feature("compactdefaultargs") MakeXPeriodic; - %feature("autodoc", "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. - + %feature("autodoc", " Parameters ---------- theIsPeriodic: bool -thePeriod: float,optional - default value is 0.0 +thePeriod: float (optional, default to 0.0) -Returns +Return ------- None + +Description +----------- +Sets the flag to make the shape periodic in X direction. +Input parameter: theIsPeriodic Flag defining periodicity in X direction; +Input parameter: thePeriod Required period in X direction. ") MakeXPeriodic; void MakeXPeriodic(const Standard_Boolean theIsPeriodic, const Standard_Real thePeriod = 0.0); - /****************** MakeYPeriodic ******************/ - /**** md5 signature: 8e8ca05d15522a37581c6613d7770566 ****/ + /****** BOPAlgo_MakePeriodic::MakeYPeriodic ******/ + /****** md5 signature: 8e8ca05d15522a37581c6613d7770566 ******/ %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. - + %feature("autodoc", " Parameters ---------- theIsPeriodic: bool -thePeriod: float,optional - default value is 0.0 +thePeriod: float (optional, default to 0.0) -Returns +Return ------- None + +Description +----------- +Sets the flag to make the shape periodic in Y direction. +Input parameter: theIsPeriodic Flag defining periodicity in Y direction; +Input parameter: thePeriod Required period in Y direction. ") MakeYPeriodic; void MakeYPeriodic(const Standard_Boolean theIsPeriodic, const Standard_Real thePeriod = 0.0); - /****************** MakeZPeriodic ******************/ - /**** md5 signature: 6c09987fe2927a09f6f4d0ae3f02d323 ****/ + /****** BOPAlgo_MakePeriodic::MakeZPeriodic ******/ + /****** md5 signature: 6c09987fe2927a09f6f4d0ae3f02d323 ******/ %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. - + %feature("autodoc", " Parameters ---------- theIsPeriodic: bool -thePeriod: float,optional - default value is 0.0 +thePeriod: float (optional, default to 0.0) -Returns +Return ------- None + +Description +----------- +Sets the flag to make the shape periodic in Z direction. +Input parameter: theIsPeriodic Flag defining periodicity in Z direction; +Input parameter: thePeriod Required period in Z direction. ") MakeZPeriodic; void MakeZPeriodic(const Standard_Boolean theIsPeriodic, const Standard_Real thePeriod = 0.0); - /****************** Perform ******************/ - /**** md5 signature: c04b01412cba7220c024b5eb4532697f ****/ + /****** BOPAlgo_MakePeriodic::Perform ******/ + /****** md5 signature: c04b01412cba7220c024b5eb4532697f ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Makes the shape periodic in necessary directions. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Makes the shape periodic in necessary directions. ") Perform; void Perform(); - /****************** Period ******************/ - /**** md5 signature: 905dfc700c6784284a2257479c7ec087 ****/ + /****** BOPAlgo_MakePeriodic::Period ******/ + /****** md5 signature: 905dfc700c6784284a2257479c7ec087 ******/ %feature("compactdefaultargs") Period; - %feature("autodoc", "Returns the period of the shape in specified direction. @param thedirectionid [in] the direction's id. - + %feature("autodoc", " Parameters ---------- theDirectionID: int -Returns +Return ------- float + +Description +----------- +Returns the Period of the shape in specified direction. +Input parameter: theDirectionID The direction's ID. ") Period; Standard_Real Period(const Standard_Integer theDirectionID); - /****************** PeriodFirst ******************/ - /**** md5 signature: 65b281fb9f7dc9e2c35e5feaad2bfddf ****/ + /****** BOPAlgo_MakePeriodic::PeriodFirst ******/ + /****** md5 signature: 65b281fb9f7dc9e2c35e5feaad2bfddf ******/ %feature("compactdefaultargs") PeriodFirst; - %feature("autodoc", "Returns the first periodic parameter in the specified direction. @param thedirectionid [in] the direction's id. - + %feature("autodoc", " Parameters ---------- theDirectionID: int -Returns +Return ------- float + +Description +----------- +Returns the first periodic parameter in the specified direction. +Input parameter: theDirectionID The direction's ID. ") PeriodFirst; Standard_Real PeriodFirst(const Standard_Integer theDirectionID); - /****************** PeriodicityParameters ******************/ - /**** md5 signature: 056ef0516517eb60320d576453827503 ****/ + /****** BOPAlgo_MakePeriodic::PeriodicityParameters ******/ + /****** md5 signature: 056ef0516517eb60320d576453827503 ******/ %feature("compactdefaultargs") PeriodicityParameters; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- BOPAlgo_MakePeriodic::PeriodicityParams + +Description +----------- +No available documentation. ") PeriodicityParameters; BOPAlgo_MakePeriodic::PeriodicityParams PeriodicityParameters(); - /****************** RepeatShape ******************/ - /**** md5 signature: 498d51ce623dcf5bdb9974585637d231 ****/ + /****** BOPAlgo_MakePeriodic::RepeatShape ******/ + /****** md5 signature: 498d51ce623dcf5bdb9974585637d231 ******/ %feature("compactdefaultargs") RepeatShape; - %feature("autodoc", "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. - + %feature("autodoc", " Parameters ---------- theDirectionID: int theTimes: int -Returns +Return ------- TopoDS_Shape + +Description +----------- +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. //! +Input parameter: theDirectionID The direction's ID; +Input parameter: theTimes Requested number of repetitions. ") RepeatShape; const TopoDS_Shape RepeatShape(const Standard_Integer theDirectionID, const Standard_Integer theTimes); - /****************** RepeatedShape ******************/ - /**** md5 signature: bc344bbb89766dbca655721d874cfcd6 ****/ + /****** BOPAlgo_MakePeriodic::RepeatedShape ******/ + /****** md5 signature: bc344bbb89766dbca655721d874cfcd6 ******/ %feature("compactdefaultargs") RepeatedShape; - %feature("autodoc", "Returns the repeated shape. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +Returns the repeated shape. ") RepeatedShape; const TopoDS_Shape RepeatedShape(); - /****************** SetPeriodicityParameters ******************/ - /**** md5 signature: 0952cf9752b01bf7cfc1d3d1baacf266 ****/ + /****** BOPAlgo_MakePeriodic::SetPeriodicityParameters ******/ + /****** md5 signature: 0952cf9752b01bf7cfc1d3d1baacf266 ******/ %feature("compactdefaultargs") SetPeriodicityParameters; - %feature("autodoc", "Sets the periodicity parameters. @param theparams [in] periodicity parameters. - + %feature("autodoc", " Parameters ---------- theParams: PeriodicityParams -Returns +Return ------- None + +Description +----------- +Sets the periodicity parameters. +Input parameter: theParams Periodicity parameters. ") SetPeriodicityParameters; void SetPeriodicityParameters(PeriodicityParams theParams); - /****************** SetShape ******************/ - /**** md5 signature: 927e2ebe2fb5354dfb3da3c53e512cad ****/ + /****** BOPAlgo_MakePeriodic::SetShape ******/ + /****** md5 signature: 927e2ebe2fb5354dfb3da3c53e512cad ******/ %feature("compactdefaultargs") SetShape; - %feature("autodoc", "Sets the shape to make it periodic. @param theshape [in] the shape to make periodic. - + %feature("autodoc", " Parameters ---------- theShape: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Sets the shape to make it periodic. +Input parameter: theShape The shape to make periodic. ") SetShape; void SetShape(const TopoDS_Shape & theShape); - /****************** SetTrimmed ******************/ - /**** md5 signature: 36ad2721a8f03216522c13264ed2d5ec ****/ + /****** BOPAlgo_MakePeriodic::SetTrimmed ******/ + /****** md5 signature: 36ad2721a8f03216522c13264ed2d5ec ******/ %feature("compactdefaultargs") SetTrimmed; - %feature("autodoc", "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. - + %feature("autodoc", " Parameters ---------- theDirectionID: int theIsTrimmed: bool -theFirst: float,optional - default value is 0.0 +theFirst: float (optional, default to 0.0) -Returns +Return ------- None + +Description +----------- +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. //! +Input parameter: theDirectionID The direction's ID; +Input parameter: theIsTrimmed The flag defining trimming of the shape in given direction; +Input parameter: theFirst The first periodic parameter in the given direction. ") SetTrimmed; void SetTrimmed(const Standard_Integer theDirectionID, const Standard_Boolean theIsTrimmed, const Standard_Real theFirst = 0.0); - /****************** SetXTrimmed ******************/ - /**** md5 signature: 81bbfd4b7a5f26b85a82d52dc5af0149 ****/ + /****** BOPAlgo_MakePeriodic::SetXTrimmed ******/ + /****** md5 signature: 81bbfd4b7a5f26b85a82d52dc5af0149 ******/ %feature("compactdefaultargs") SetXTrimmed; - %feature("autodoc", "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. - + %feature("autodoc", " Parameters ---------- theIsTrimmed: bool -theFirst: bool,optional - default value is 0.0 +theFirst: bool (optional, default to 0.0) -Returns +Return ------- None + +Description +----------- +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. //! +Input parameter: theIsTrimmed Flag defining whether the shape is already trimmed in X direction to fit the X period; +Input parameter: theFirst The first X periodic parameter. ") SetXTrimmed; void SetXTrimmed(const Standard_Boolean theIsTrimmed, const Standard_Boolean theFirst = 0.0); - /****************** SetYTrimmed ******************/ - /**** md5 signature: 93fc3f210273049407ff8a8e1e7c3166 ****/ + /****** BOPAlgo_MakePeriodic::SetYTrimmed ******/ + /****** md5 signature: 93fc3f210273049407ff8a8e1e7c3166 ******/ %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. - + %feature("autodoc", " Parameters ---------- theIsTrimmed: bool -theFirst: bool,optional - default value is 0.0 +theFirst: bool (optional, default to 0.0) -Returns +Return ------- None + +Description +----------- +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. //! +Input parameter: theIsTrimmed Flag defining whether the shape is already trimmed in Y direction to fit the Y period; +Input parameter: theFirst The first Y periodic parameter. ") SetYTrimmed; void SetYTrimmed(const Standard_Boolean theIsTrimmed, const Standard_Boolean theFirst = 0.0); - /****************** SetZTrimmed ******************/ - /**** md5 signature: 45d195d98801cadb6112962160157fe8 ****/ + /****** BOPAlgo_MakePeriodic::SetZTrimmed ******/ + /****** md5 signature: 45d195d98801cadb6112962160157fe8 ******/ %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. - + %feature("autodoc", " Parameters ---------- theIsTrimmed: bool -theFirst: bool,optional - default value is 0.0 +theFirst: bool (optional, default to 0.0) -Returns +Return ------- None + +Description +----------- +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. //! +Input parameter: theIsTrimmed Flag defining whether the shape is already trimmed in Z direction to fit the Z period; +Input parameter: theFirst The first Z periodic parameter. ") SetZTrimmed; void SetZTrimmed(const Standard_Boolean theIsTrimmed, const Standard_Boolean theFirst = 0.0); - /****************** Shape ******************/ - /**** md5 signature: 1058569f5d639354fedf11e73741b7df ****/ + /****** BOPAlgo_MakePeriodic::Shape ******/ + /****** md5 signature: 1058569f5d639354fedf11e73741b7df ******/ %feature("compactdefaultargs") Shape; - %feature("autodoc", "Returns the resulting periodic shape. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +Returns the resulting periodic shape. ") Shape; const TopoDS_Shape Shape(); - /****************** ToDirectionID ******************/ - /**** md5 signature: 93eb37961bf75f72a1ed4293ff2f6860 ****/ + /****** BOPAlgo_MakePeriodic::ToDirectionID ******/ + /****** md5 signature: 93eb37961bf75f72a1ed4293ff2f6860 ******/ %feature("compactdefaultargs") ToDirectionID; - %feature("autodoc", "Converts the integer to id of periodic direction. - + %feature("autodoc", " Parameters ---------- theDirectionID: int -Returns +Return ------- int + +Description +----------- +Converts the integer to ID of periodic direction. ") ToDirectionID; static Standard_Integer ToDirectionID(const Standard_Integer theDirectionID); - /****************** XPeriod ******************/ - /**** md5 signature: 6dd89ec7e807f05a40688e7c6a838896 ****/ + /****** BOPAlgo_MakePeriodic::XPeriod ******/ + /****** md5 signature: 6dd89ec7e807f05a40688e7c6a838896 ******/ %feature("compactdefaultargs") XPeriod; - %feature("autodoc", "Returns the xperiod of the shape. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the XPeriod of the shape. ") XPeriod; Standard_Real XPeriod(); - /****************** XPeriodFirst ******************/ - /**** md5 signature: a02688bedcf5f9cc9871b6ab26e1dbae ****/ + /****** BOPAlgo_MakePeriodic::XPeriodFirst ******/ + /****** md5 signature: a02688bedcf5f9cc9871b6ab26e1dbae ******/ %feature("compactdefaultargs") XPeriodFirst; - %feature("autodoc", "Returns the first parameter for the x period. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the first parameter for the X period. ") XPeriodFirst; Standard_Real XPeriodFirst(); - /****************** XRepeat ******************/ - /**** md5 signature: 703940b883cbd562fdffcc37a48373f9 ****/ + /****** BOPAlgo_MakePeriodic::XRepeat ******/ + /****** md5 signature: 703940b883cbd562fdffcc37a48373f9 ******/ %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. - + %feature("autodoc", " Parameters ---------- theTimes: int -Returns +Return ------- TopoDS_Shape + +Description +----------- +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. //! +Input parameter: theTimes Requested number of repetitions. ") XRepeat; const TopoDS_Shape XRepeat(const Standard_Integer theTimes); - /****************** YPeriod ******************/ - /**** md5 signature: 52af3073f75d0fcc2884913777c9c0c1 ****/ + /****** BOPAlgo_MakePeriodic::YPeriod ******/ + /****** md5 signature: 52af3073f75d0fcc2884913777c9c0c1 ******/ %feature("compactdefaultargs") YPeriod; - %feature("autodoc", "Returns the yperiod of the shape. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the YPeriod of the shape. ") YPeriod; Standard_Real YPeriod(); - /****************** YPeriodFirst ******************/ - /**** md5 signature: 793e8a60b882882c47265a4c35326e0e ****/ + /****** BOPAlgo_MakePeriodic::YPeriodFirst ******/ + /****** md5 signature: 793e8a60b882882c47265a4c35326e0e ******/ %feature("compactdefaultargs") YPeriodFirst; - %feature("autodoc", "Returns the first parameter for the y period. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the first parameter for the Y period. ") YPeriodFirst; Standard_Real YPeriodFirst(); - /****************** YRepeat ******************/ - /**** md5 signature: ad506731f1c56bec1f509d4f39f93df1 ****/ + /****** BOPAlgo_MakePeriodic::YRepeat ******/ + /****** md5 signature: ad506731f1c56bec1f509d4f39f93df1 ******/ %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. - + %feature("autodoc", " Parameters ---------- theTimes: int -Returns +Return ------- TopoDS_Shape + +Description +----------- +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. //! +Input parameter: theTimes Requested number of repetitions. ") YRepeat; const TopoDS_Shape YRepeat(const Standard_Integer theTimes); - /****************** ZPeriod ******************/ - /**** md5 signature: ea552fd4bc539be2e22f25f495cc2938 ****/ + /****** BOPAlgo_MakePeriodic::ZPeriod ******/ + /****** md5 signature: ea552fd4bc539be2e22f25f495cc2938 ******/ %feature("compactdefaultargs") ZPeriod; - %feature("autodoc", "Returns the zperiod of the shape. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the ZPeriod of the shape. ") ZPeriod; Standard_Real ZPeriod(); - /****************** ZPeriodFirst ******************/ - /**** md5 signature: 75ea8dea98ac01ca4dd73841cb16f368 ****/ + /****** BOPAlgo_MakePeriodic::ZPeriodFirst ******/ + /****** md5 signature: 75ea8dea98ac01ca4dd73841cb16f368 ******/ %feature("compactdefaultargs") ZPeriodFirst; - %feature("autodoc", "Returns the first parameter for the z period. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the first parameter for the Z period. ") ZPeriodFirst; Standard_Real ZPeriodFirst(); - /****************** ZRepeat ******************/ - /**** md5 signature: 1b9e96904de0881a1a4d7b9b6fd78839 ****/ + /****** BOPAlgo_MakePeriodic::ZRepeat ******/ + /****** md5 signature: 1b9e96904de0881a1a4d7b9b6fd78839 ******/ %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. - + %feature("autodoc", " Parameters ---------- theTimes: int -Returns +Return ------- TopoDS_Shape + +Description +----------- +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. //! +Input parameter: theTimes Requested number of repetitions. ") ZRepeat; const TopoDS_Shape ZRepeat(const Standard_Integer theTimes); @@ -2029,14 +2485,16 @@ TopoDS_Shape *********************************/ class BOPAlgo_ArgumentAnalyzer : public BOPAlgo_Algo { public: - /****************** BOPAlgo_ArgumentAnalyzer ******************/ - /**** md5 signature: 9f14477a10a2e7722471042579c763b6 ****/ + /****** BOPAlgo_ArgumentAnalyzer::BOPAlgo_ArgumentAnalyzer ******/ + /****** md5 signature: 9f14477a10a2e7722471042579c763b6 ******/ %feature("compactdefaultargs") BOPAlgo_ArgumentAnalyzer; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +empty constructor. ") BOPAlgo_ArgumentAnalyzer; BOPAlgo_ArgumentAnalyzer(); @@ -2079,47 +2537,55 @@ None $self->CurveOnSurfaceMode()=value; } }; - /****************** GetCheckResult ******************/ - /**** md5 signature: ab448040cd97688d236e23189cee34b9 ****/ + /****** BOPAlgo_ArgumentAnalyzer::GetCheckResult ******/ + /****** md5 signature: ab448040cd97688d236e23189cee34b9 ******/ %feature("compactdefaultargs") GetCheckResult; - %feature("autodoc", "Returns a result of test. - -Returns + %feature("autodoc", "Return ------- BOPAlgo_ListOfCheckResult + +Description +----------- +returns a result of test. ") GetCheckResult; const BOPAlgo_ListOfCheckResult & GetCheckResult(); - /****************** GetShape1 ******************/ - /**** md5 signature: da65271fea68f494586b07012e23b4bb ****/ + /****** BOPAlgo_ArgumentAnalyzer::GetShape1 ******/ + /****** md5 signature: da65271fea68f494586b07012e23b4bb ******/ %feature("compactdefaultargs") GetShape1; - %feature("autodoc", "Returns object shape;. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +returns object shape;. ") GetShape1; const TopoDS_Shape GetShape1(); - /****************** GetShape2 ******************/ - /**** md5 signature: ad646522ebe6de8820d9424e4f21edb9 ****/ + /****** BOPAlgo_ArgumentAnalyzer::GetShape2 ******/ + /****** md5 signature: ad646522ebe6de8820d9424e4f21edb9 ******/ %feature("compactdefaultargs") GetShape2; - %feature("autodoc", "Returns tool shape. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +returns tool shape. ") GetShape2; const TopoDS_Shape GetShape2(); - /****************** HasFaulty ******************/ - /**** md5 signature: 4e2d963ca1680b1be6c5917993c51870 ****/ + /****** BOPAlgo_ArgumentAnalyzer::HasFaulty ******/ + /****** md5 signature: 4e2d963ca1680b1be6c5917993c51870 ******/ %feature("compactdefaultargs") HasFaulty; - %feature("autodoc", "Result of test. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +result of test. ") HasFaulty; Standard_Boolean HasFaulty(); @@ -2149,27 +2615,36 @@ bool $self->MergeVertexMode()=value; } }; - /****************** OperationType ******************/ - /**** md5 signature: 738397fdac6453814ea85c4462f40440 ****/ + /****** BOPAlgo_ArgumentAnalyzer::OperationType ******/ + /****** md5 signature: 738397fdac6453814ea85c4462f40440 ******/ %feature("compactdefaultargs") OperationType; - %feature("autodoc", "Returns ref. - -Returns + %feature("autodoc", "Return ------- BOPAlgo_Operation + +Description +----------- +returns ref. ") OperationType; BOPAlgo_Operation OperationType(); - /****************** Perform ******************/ - /**** md5 signature: c04b01412cba7220c024b5eb4532697f ****/ + /****** BOPAlgo_ArgumentAnalyzer::Perform ******/ + /****** md5 signature: 237808a6b51056c9f8e292d343f26d7d ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Performs analysis. + %feature("autodoc", " +Parameters +---------- +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- None + +Description +----------- +performs analysis. ") Perform; - void Perform(); + void Perform(const Message_ProgressRange & theRange = Message_ProgressRange()); %feature("autodoc","1"); @@ -2197,33 +2672,39 @@ None $self->SelfInterMode()=value; } }; - /****************** SetShape1 ******************/ - /**** md5 signature: 32d06bb8d221a179d322a30597a4d6c8 ****/ + /****** BOPAlgo_ArgumentAnalyzer::SetShape1 ******/ + /****** md5 signature: 32d06bb8d221a179d322a30597a4d6c8 ******/ %feature("compactdefaultargs") SetShape1; - %feature("autodoc", "Sets object shape. - + %feature("autodoc", " Parameters ---------- TheShape: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +sets object shape. ") SetShape1; void SetShape1(const TopoDS_Shape & TheShape); - /****************** SetShape2 ******************/ - /**** md5 signature: 872074f224a41d220ff8f15ed451c9ac ****/ + /****** BOPAlgo_ArgumentAnalyzer::SetShape2 ******/ + /****** md5 signature: 872074f224a41d220ff8f15ed451c9ac ******/ %feature("compactdefaultargs") SetShape2; - %feature("autodoc", "Sets tool shape. - + %feature("autodoc", " Parameters ---------- TheShape: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +sets tool shape. ") SetShape2; void SetShape2(const TopoDS_Shape & TheShape); @@ -2282,92 +2763,109 @@ None %ignore BOPAlgo_BuilderArea::~BOPAlgo_BuilderArea(); class BOPAlgo_BuilderArea : public BOPAlgo_Algo { public: - /****************** Areas ******************/ - /**** md5 signature: 25d90180c64c3e47d9200443b7a9d0e2 ****/ + /****** BOPAlgo_BuilderArea::Areas ******/ + /****** md5 signature: 25d90180c64c3e47d9200443b7a9d0e2 ******/ %feature("compactdefaultargs") Areas; - %feature("autodoc", "Returns the found areas. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +Returns the found areas. ") Areas; const TopTools_ListOfShape & Areas(); - /****************** IsAvoidInternalShapes ******************/ - /**** md5 signature: 8a7b9501581d682ae84b1516b6d067be ****/ + /****** BOPAlgo_BuilderArea::IsAvoidInternalShapes ******/ + /****** md5 signature: 8a7b9501581d682ae84b1516b6d067be ******/ %feature("compactdefaultargs") IsAvoidInternalShapes; - %feature("autodoc", "Returns the avoidinternalshapes flag. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns the AvoidInternalShapes flag. ") IsAvoidInternalShapes; Standard_Boolean IsAvoidInternalShapes(); - /****************** Loops ******************/ - /**** md5 signature: 28c8d70c5f0b2679616b2e020052a004 ****/ + /****** BOPAlgo_BuilderArea::Loops ******/ + /****** md5 signature: 28c8d70c5f0b2679616b2e020052a004 ******/ %feature("compactdefaultargs") Loops; - %feature("autodoc", "Returns the found loops. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +Returns the found loops. ") Loops; const TopTools_ListOfShape & Loops(); - /****************** SetAvoidInternalShapes ******************/ - /**** md5 signature: d4ee80659b0195413556579790baf956 ****/ + /****** BOPAlgo_BuilderArea::SetAvoidInternalShapes ******/ + /****** md5 signature: d4ee80659b0195413556579790baf956 ******/ %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. - + %feature("autodoc", " Parameters ---------- theAvoidInternal: bool -Returns +Return ------- None + +Description +----------- +Defines the preventing of addition of internal parts into result. The default value is False, i.e. the internal parts are added into result. ") SetAvoidInternalShapes; void SetAvoidInternalShapes(const Standard_Boolean theAvoidInternal); - /****************** SetContext ******************/ - /**** md5 signature: 45a35eea8f4e3016f544e19c60ac3b92 ****/ + /****** BOPAlgo_BuilderArea::SetContext ******/ + /****** md5 signature: 45a35eea8f4e3016f544e19c60ac3b92 ******/ %feature("compactdefaultargs") SetContext; - %feature("autodoc", "Sets the context for the algorithms. - + %feature("autodoc", " Parameters ---------- theContext: IntTools_Context -Returns +Return ------- None + +Description +----------- +Sets the context for the algorithms. ") SetContext; void SetContext(const opencascade::handle & theContext); - /****************** SetShapes ******************/ - /**** md5 signature: 7e1ffc178f673e4a1bd556c32957daf6 ****/ + /****** BOPAlgo_BuilderArea::SetShapes ******/ + /****** md5 signature: 7e1ffc178f673e4a1bd556c32957daf6 ******/ %feature("compactdefaultargs") SetShapes; - %feature("autodoc", "Sets the shapes for building areas. - + %feature("autodoc", " Parameters ---------- theLS: TopTools_ListOfShape -Returns +Return ------- None + +Description +----------- +Sets the shapes for building areas. ") SetShapes; void SetShapes(const TopTools_ListOfShape & theLS); - /****************** Shapes ******************/ - /**** md5 signature: 2884193c58152e0cda5e99b2900fdc8e ****/ + /****** BOPAlgo_BuilderArea::Shapes ******/ + /****** md5 signature: 2884193c58152e0cda5e99b2900fdc8e ******/ %feature("compactdefaultargs") Shapes; - %feature("autodoc", "Returns the input shapes. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +Returns the input shapes. ") Shapes; const TopTools_ListOfShape & Shapes(); @@ -2386,138 +2884,199 @@ TopTools_ListOfShape %nodefaultctor BOPAlgo_BuilderShape; class BOPAlgo_BuilderShape : public BOPAlgo_Algo { public: - /****************** Generated ******************/ - /**** md5 signature: 7ef86753d8f2afb4fbf4e1d513ada706 ****/ + /****** BOPAlgo_BuilderShape::Generated ******/ + /****** md5 signature: 7ef86753d8f2afb4fbf4e1d513ada706 ******/ %feature("compactdefaultargs") Generated; - %feature("autodoc", "Returns the list of shapes generated from the shape thes. - + %feature("autodoc", " Parameters ---------- theS: TopoDS_Shape -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Returns the list of shapes Generated from the shape theS. ") Generated; const TopTools_ListOfShape & Generated(const TopoDS_Shape & theS); - /****************** HasDeleted ******************/ - /**** md5 signature: d1376e4451370e5ff6d8e8d03d766bcb ****/ + /****** BOPAlgo_BuilderShape::HasDeleted ******/ + /****** md5 signature: d1376e4451370e5ff6d8e8d03d766bcb ******/ %feature("compactdefaultargs") HasDeleted; - %feature("autodoc", "Returns true if any of the input shapes has been deleted during operation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns true if any of the input shapes has been deleted during operation. ") HasDeleted; Standard_Boolean HasDeleted(); - /****************** HasGenerated ******************/ - /**** md5 signature: ff1185ae4caf1307e4399403e704df0a ****/ + /****** BOPAlgo_BuilderShape::HasGenerated ******/ + /****** md5 signature: ff1185ae4caf1307e4399403e704df0a ******/ %feature("compactdefaultargs") HasGenerated; - %feature("autodoc", "Returns true if any of the input shapes has generated shapes during operation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns true if any of the input shapes has generated shapes during operation. ") HasGenerated; Standard_Boolean HasGenerated(); - /****************** HasHistory ******************/ - /**** md5 signature: 707ba290c9cd0157e12b7038a0944657 ****/ + /****** BOPAlgo_BuilderShape::HasHistory ******/ + /****** md5 signature: 707ba290c9cd0157e12b7038a0944657 ******/ %feature("compactdefaultargs") HasHistory; - %feature("autodoc", "Returns flag of history availability. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns flag of history availability. ") HasHistory; Standard_Boolean HasHistory(); - /****************** HasModified ******************/ - /**** md5 signature: 5aa09ad744ac71dd47a6ec381a33bc9b ****/ + /****** BOPAlgo_BuilderShape::HasModified ******/ + /****** md5 signature: 5aa09ad744ac71dd47a6ec381a33bc9b ******/ %feature("compactdefaultargs") HasModified; - %feature("autodoc", "Returns true if any of the input shapes has been modified during operation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns true if any of the input shapes has been modified during operation. ") HasModified; Standard_Boolean HasModified(); - /****************** History ******************/ - /**** md5 signature: 1926fba5b3ef6c8825eef7dc63e4c382 ****/ + /****** BOPAlgo_BuilderShape::History ******/ + /****** md5 signature: 1926fba5b3ef6c8825eef7dc63e4c382 ******/ %feature("compactdefaultargs") History; - %feature("autodoc", "History tool. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +History Tool. ") History; opencascade::handle History(); - /****************** IsDeleted ******************/ - /**** md5 signature: c9a78c4cfde40b7040a0809bf3392d0a ****/ + /****** BOPAlgo_BuilderShape::IsDeleted ******/ + /****** md5 signature: c9a78c4cfde40b7040a0809bf3392d0a ******/ %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. - + %feature("autodoc", " Parameters ---------- theS: TopoDS_Shape -Returns +Return ------- bool + +Description +----------- +Returns true if the shape theS has been deleted. In this case the shape will have no Modified elements, but can have Generated elements. ") IsDeleted; Standard_Boolean IsDeleted(const TopoDS_Shape & theS); - /****************** Modified ******************/ - /**** md5 signature: 3627cf8d69b07cd5db7ba10195303d15 ****/ + /****** BOPAlgo_BuilderShape::Modified ******/ + /****** md5 signature: 3627cf8d69b07cd5db7ba10195303d15 ******/ %feature("compactdefaultargs") Modified; - %feature("autodoc", "Returns the list of shapes modified from the shape thes. - + %feature("autodoc", " Parameters ---------- theS: TopoDS_Shape -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Returns the list of shapes Modified from the shape theS. ") Modified; const TopTools_ListOfShape & Modified(const TopoDS_Shape & theS); - /****************** SetToFillHistory ******************/ - /**** md5 signature: 0645816549ab38af8118c8f63f46c0ea ****/ + /****** BOPAlgo_BuilderShape::SetToFillHistory ******/ + /****** md5 signature: 0645816549ab38af8118c8f63f46c0ea ******/ %feature("compactdefaultargs") SetToFillHistory; - %feature("autodoc", "Allows disabling the history collection. - + %feature("autodoc", " Parameters ---------- theHistFlag: bool -Returns +Return ------- None + +Description +----------- +Allows disabling the history collection. ") SetToFillHistory; void SetToFillHistory(const Standard_Boolean theHistFlag); - /****************** Shape ******************/ - /**** md5 signature: 1058569f5d639354fedf11e73741b7df ****/ + /****** BOPAlgo_BuilderShape::Shape ******/ + /****** md5 signature: 1058569f5d639354fedf11e73741b7df ******/ %feature("compactdefaultargs") Shape; - %feature("autodoc", "Returns the result of algorithm. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +Returns the result of algorithm. ") Shape; const TopoDS_Shape Shape(); }; -%extend BOPAlgo_BuilderShape { +%extend BOPAlgo_BuilderShape { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/***************************** +* class BOPAlgo_ParallelAlgo * +*****************************/ +%nodefaultctor BOPAlgo_ParallelAlgo; +class BOPAlgo_ParallelAlgo : public BOPAlgo_Algo { + public: + /****** BOPAlgo_ParallelAlgo::SetProgressRange ******/ + /****** md5 signature: e46fe49a703ffe9531bdc8614884d302 ******/ + %feature("compactdefaultargs") SetProgressRange; + %feature("autodoc", " +Parameters +---------- +theRange: Message_ProgressRange + +Return +------- +None + +Description +----------- +Sets the range for a single run. +") SetProgressRange; + void SetProgressRange(const Message_ProgressRange & theRange); + +}; + + +%extend BOPAlgo_ParallelAlgo { %pythoncode { __repr__ = _dumps_object + + @methodnotwrapped + def Perform(self): + pass } }; @@ -2527,207 +3086,251 @@ TopoDS_Shape class BOPAlgo_PaveFiller : public BOPAlgo_Algo { public: class EdgeRangeDistance {}; - /****************** BOPAlgo_PaveFiller ******************/ - /**** md5 signature: 695e98dd6d964c29b51abadeedf2b1c7 ****/ + /****** BOPAlgo_PaveFiller::BOPAlgo_PaveFiller ******/ + /****** md5 signature: 695e98dd6d964c29b51abadeedf2b1c7 ******/ %feature("compactdefaultargs") BOPAlgo_PaveFiller; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BOPAlgo_PaveFiller; BOPAlgo_PaveFiller(); - /****************** BOPAlgo_PaveFiller ******************/ - /**** md5 signature: 44433ddc985c762a918888031b5c5257 ****/ + /****** BOPAlgo_PaveFiller::BOPAlgo_PaveFiller ******/ + /****** md5 signature: 44433ddc985c762a918888031b5c5257 ******/ %feature("compactdefaultargs") BOPAlgo_PaveFiller; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theAllocator: NCollection_BaseAllocator -Returns +Return ------- None + +Description +----------- +No available documentation. ") BOPAlgo_PaveFiller; BOPAlgo_PaveFiller(const opencascade::handle & theAllocator); - /****************** AddArgument ******************/ - /**** md5 signature: 0ff8514ebea7960acbeb6ec826621ca9 ****/ + /****** BOPAlgo_PaveFiller::AddArgument ******/ + /****** md5 signature: 0ff8514ebea7960acbeb6ec826621ca9 ******/ %feature("compactdefaultargs") AddArgument; - %feature("autodoc", "Adds the argument for operation. - + %feature("autodoc", " Parameters ---------- theShape: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Adds the argument for operation. ") AddArgument; void AddArgument(const TopoDS_Shape & theShape); - /****************** Arguments ******************/ - /**** md5 signature: 5c44416d889811943ccde89673d3c270 ****/ + /****** BOPAlgo_PaveFiller::Arguments ******/ + /****** md5 signature: 5c44416d889811943ccde89673d3c270 ******/ %feature("compactdefaultargs") Arguments; - %feature("autodoc", "Returns the list of arguments. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +Returns the list of arguments. ") Arguments; const TopTools_ListOfShape & Arguments(); - /****************** Context ******************/ - /**** md5 signature: 61a08d8ec3c36cb7537272ccd635f363 ****/ + /****** BOPAlgo_PaveFiller::Context ******/ + /****** md5 signature: 61a08d8ec3c36cb7537272ccd635f363 ******/ %feature("compactdefaultargs") Context; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Context; const opencascade::handle & Context(); - /****************** DS ******************/ - /**** md5 signature: 87987374a37a857a957303627823fdb1 ****/ + /****** BOPAlgo_PaveFiller::DS ******/ + /****** md5 signature: 87987374a37a857a957303627823fdb1 ******/ %feature("compactdefaultargs") DS; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- BOPDS_DS + +Description +----------- +No available documentation. ") DS; const BOPDS_DS & DS(); - /****************** Glue ******************/ - /**** md5 signature: 19ce0746754d61539c274454d7b6b9dd ****/ + /****** BOPAlgo_PaveFiller::Glue ******/ + /****** md5 signature: 19ce0746754d61539c274454d7b6b9dd ******/ %feature("compactdefaultargs") Glue; - %feature("autodoc", "Returns the glue option of the algorithm. - -Returns + %feature("autodoc", "Return ------- BOPAlgo_GlueEnum + +Description +----------- +Returns the glue option of the algorithm. ") Glue; BOPAlgo_GlueEnum Glue(); - /****************** IsAvoidBuildPCurve ******************/ - /**** md5 signature: 99defd1abf1a714ec45f36a73ab8e479 ****/ + /****** BOPAlgo_PaveFiller::IsAvoidBuildPCurve ******/ + /****** md5 signature: 99defd1abf1a714ec45f36a73ab8e479 ******/ %feature("compactdefaultargs") IsAvoidBuildPCurve; - %feature("autodoc", "Returns the flag to avoid building of p-curves of edges on faces. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns the flag to avoid building of p-curves of edges on faces. ") IsAvoidBuildPCurve; Standard_Boolean IsAvoidBuildPCurve(); - /****************** NonDestructive ******************/ - /**** md5 signature: a86af6798e7fda924d6a75c2fa9ebb4e ****/ + /****** BOPAlgo_PaveFiller::NonDestructive ******/ + /****** md5 signature: a86af6798e7fda924d6a75c2fa9ebb4e ******/ %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. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +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. ") NonDestructive; Standard_Boolean NonDestructive(); - /****************** PDS ******************/ - /**** md5 signature: 420dd37c2c265b3b9f0a2eefd4b48c5a ****/ + /****** BOPAlgo_PaveFiller::PDS ******/ + /****** md5 signature: 420dd37c2c265b3b9f0a2eefd4b48c5a ******/ %feature("compactdefaultargs") PDS; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- BOPDS_PDS + +Description +----------- +No available documentation. ") PDS; BOPDS_PDS PDS(); - /****************** Perform ******************/ - /**** md5 signature: d73234ef092f057e6680afbd2a273a2a ****/ + /****** BOPAlgo_PaveFiller::Perform ******/ + /****** md5 signature: 0c284a2ff880da6562c1121fb4e216b7 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. + %feature("autodoc", " +Parameters +---------- +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- None + +Description +----------- +No available documentation. ") Perform; - virtual void Perform(); + virtual void Perform(const Message_ProgressRange & theRange = Message_ProgressRange()); - /****************** SetArguments ******************/ - /**** md5 signature: c8050caf960534f7d5c8a2cd210eb861 ****/ + /****** BOPAlgo_PaveFiller::SetArguments ******/ + /****** md5 signature: c8050caf960534f7d5c8a2cd210eb861 ******/ %feature("compactdefaultargs") SetArguments; - %feature("autodoc", "Sets the arguments for operation. - + %feature("autodoc", " Parameters ---------- theLS: TopTools_ListOfShape -Returns +Return ------- None + +Description +----------- +Sets the arguments for operation. ") SetArguments; void SetArguments(const TopTools_ListOfShape & theLS); - /****************** SetAvoidBuildPCurve ******************/ - /**** md5 signature: c3a78bac52d326c32b1cabef045578ae ****/ + /****** BOPAlgo_PaveFiller::SetAvoidBuildPCurve ******/ + /****** md5 signature: c3a78bac52d326c32b1cabef045578ae ******/ %feature("compactdefaultargs") SetAvoidBuildPCurve; - %feature("autodoc", "Sets the flag to avoid building of p-curves of edges on faces. - + %feature("autodoc", " Parameters ---------- theValue: bool -Returns +Return ------- None + +Description +----------- +Sets the flag to avoid building of p-curves of edges on faces. ") SetAvoidBuildPCurve; void SetAvoidBuildPCurve(const Standard_Boolean theValue); - /****************** SetGlue ******************/ - /**** md5 signature: 772d2dee7d8b078f8e12daf13dc476d6 ****/ + /****** BOPAlgo_PaveFiller::SetGlue ******/ + /****** md5 signature: 772d2dee7d8b078f8e12daf13dc476d6 ******/ %feature("compactdefaultargs") SetGlue; - %feature("autodoc", "Sets the glue option for the algorithm. - + %feature("autodoc", " Parameters ---------- theGlue: BOPAlgo_GlueEnum -Returns +Return ------- None + +Description +----------- +Sets the glue option for the algorithm. ") SetGlue; void SetGlue(const BOPAlgo_GlueEnum theGlue); - /****************** SetNonDestructive ******************/ - /**** md5 signature: a1a916959b0fbc23c0d8bd3935bb1670 ****/ + /****** BOPAlgo_PaveFiller::SetNonDestructive ******/ + /****** md5 signature: a1a916959b0fbc23c0d8bd3935bb1670 ******/ %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. - + %feature("autodoc", " Parameters ---------- theFlag: bool -Returns +Return ------- None + +Description +----------- +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. ") SetNonDestructive; void SetNonDestructive(const Standard_Boolean theFlag); - /****************** SetSectionAttribute ******************/ - /**** md5 signature: 2e1a6df4e17fe92b14ed2db288f2bebf ****/ + /****** BOPAlgo_PaveFiller::SetSectionAttribute ******/ + /****** md5 signature: 2e1a6df4e17fe92b14ed2db288f2bebf ******/ %feature("compactdefaultargs") SetSectionAttribute; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theSecAttr: BOPAlgo_SectionAttribute -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetSectionAttribute; void SetSectionAttribute(const BOPAlgo_SectionAttribute & theSecAttr); @@ -2749,92 +3352,114 @@ None ******************************/ class BOPAlgo_ShellSplitter : public BOPAlgo_Algo { public: - /****************** BOPAlgo_ShellSplitter ******************/ - /**** md5 signature: 1a413937e5bc85276cd970f7bd17f0e2 ****/ + /****** BOPAlgo_ShellSplitter::BOPAlgo_ShellSplitter ******/ + /****** md5 signature: 1a413937e5bc85276cd970f7bd17f0e2 ******/ %feature("compactdefaultargs") BOPAlgo_ShellSplitter; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +empty constructor. ") BOPAlgo_ShellSplitter; BOPAlgo_ShellSplitter(); - /****************** BOPAlgo_ShellSplitter ******************/ - /**** md5 signature: e293806183c127a6994ca543539a4ca7 ****/ + /****** BOPAlgo_ShellSplitter::BOPAlgo_ShellSplitter ******/ + /****** md5 signature: e293806183c127a6994ca543539a4ca7 ******/ %feature("compactdefaultargs") BOPAlgo_ShellSplitter; - %feature("autodoc", "Constructor. - + %feature("autodoc", " Parameters ---------- theAllocator: NCollection_BaseAllocator -Returns +Return ------- None + +Description +----------- +constructor. ") BOPAlgo_ShellSplitter; BOPAlgo_ShellSplitter(const opencascade::handle & theAllocator); - /****************** AddStartElement ******************/ - /**** md5 signature: 1f9a6cd0dc44399d66b6c1516e84d023 ****/ + /****** BOPAlgo_ShellSplitter::AddStartElement ******/ + /****** md5 signature: 1f9a6cd0dc44399d66b6c1516e84d023 ******/ %feature("compactdefaultargs") AddStartElement; - %feature("autodoc", "Adds a face to process. - + %feature("autodoc", " Parameters ---------- theS: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +adds a face to process. ") AddStartElement; void AddStartElement(const TopoDS_Shape & theS); - /****************** Perform ******************/ - /**** md5 signature: d73234ef092f057e6680afbd2a273a2a ****/ + /****** BOPAlgo_ShellSplitter::Perform ******/ + /****** md5 signature: 0c284a2ff880da6562c1121fb4e216b7 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Performs the algorithm. + %feature("autodoc", " +Parameters +---------- +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- None + +Description +----------- +performs the algorithm. ") Perform; - virtual void Perform(); + virtual void Perform(const Message_ProgressRange & theRange = Message_ProgressRange()); - /****************** Shells ******************/ - /**** md5 signature: 253534f051afc8c1348ee153669d53c1 ****/ + /****** BOPAlgo_ShellSplitter::Shells ******/ + /****** md5 signature: 253534f051afc8c1348ee153669d53c1 ******/ %feature("compactdefaultargs") Shells; - %feature("autodoc", "Returns the loops. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +returns the loops. ") Shells; const TopTools_ListOfShape & Shells(); - /****************** SplitBlock ******************/ - /**** md5 signature: b4a3a42e521935db4e11e49c5e4189a8 ****/ + /****** BOPAlgo_ShellSplitter::SplitBlock ******/ + /****** md5 signature: b4a3a42e521935db4e11e49c5e4189a8 ******/ %feature("compactdefaultargs") SplitBlock; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theCB: BOPTools_ConnexityBlock -Returns +Return ------- None + +Description +----------- +No available documentation. ") SplitBlock; static void SplitBlock(BOPTools_ConnexityBlock & theCB); - /****************** StartElements ******************/ - /**** md5 signature: 4df71127781e1f235af21a1e6e23cfbe ****/ + /****** BOPAlgo_ShellSplitter::StartElements ******/ + /****** md5 signature: 4df71127781e1f235af21a1e6e23cfbe ******/ %feature("compactdefaultargs") StartElements; - %feature("autodoc", "Return the faces to process. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +return the faces to process. ") StartElements; const TopTools_ListOfShape & StartElements(); @@ -2852,125 +3477,153 @@ TopTools_ListOfShape *****************************/ class BOPAlgo_WireSplitter : public BOPAlgo_Algo { public: - /****************** BOPAlgo_WireSplitter ******************/ - /**** md5 signature: 94705b115e84b6538c1dd87e9bd7d242 ****/ + /****** BOPAlgo_WireSplitter::BOPAlgo_WireSplitter ******/ + /****** md5 signature: 94705b115e84b6538c1dd87e9bd7d242 ******/ %feature("compactdefaultargs") BOPAlgo_WireSplitter; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BOPAlgo_WireSplitter; BOPAlgo_WireSplitter(); - /****************** BOPAlgo_WireSplitter ******************/ - /**** md5 signature: 7507f32d0dff651fc083ad87f3b26067 ****/ + /****** BOPAlgo_WireSplitter::BOPAlgo_WireSplitter ******/ + /****** md5 signature: 7507f32d0dff651fc083ad87f3b26067 ******/ %feature("compactdefaultargs") BOPAlgo_WireSplitter; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theAllocator: NCollection_BaseAllocator -Returns +Return ------- None + +Description +----------- +No available documentation. ") BOPAlgo_WireSplitter; BOPAlgo_WireSplitter(const opencascade::handle & theAllocator); - /****************** Context ******************/ - /**** md5 signature: 61a08d8ec3c36cb7537272ccd635f363 ****/ + /****** BOPAlgo_WireSplitter::Context ******/ + /****** md5 signature: 61a08d8ec3c36cb7537272ccd635f363 ******/ %feature("compactdefaultargs") Context; - %feature("autodoc", "Returns the context. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns the context. ") Context; const opencascade::handle & Context(); - /****************** MakeWire ******************/ - /**** md5 signature: 1f818413cf336ccce6872fc306458e7d ****/ + /****** BOPAlgo_WireSplitter::MakeWire ******/ + /****** md5 signature: 1f818413cf336ccce6872fc306458e7d ******/ %feature("compactdefaultargs") MakeWire; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theLE: TopTools_ListOfShape theW: TopoDS_Wire -Returns +Return ------- None + +Description +----------- +No available documentation. ") MakeWire; static void MakeWire(TopTools_ListOfShape & theLE, TopoDS_Wire & theW); - /****************** Perform ******************/ - /**** md5 signature: d73234ef092f057e6680afbd2a273a2a ****/ + /****** BOPAlgo_WireSplitter::Perform ******/ + /****** md5 signature: 0c284a2ff880da6562c1121fb4e216b7 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. + %feature("autodoc", " +Parameters +---------- +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- None + +Description +----------- +No available documentation. ") Perform; - virtual void Perform(); + virtual void Perform(const Message_ProgressRange & theRange = Message_ProgressRange()); - /****************** SetContext ******************/ - /**** md5 signature: e78608a6b667b26dfbb5221975ad17a2 ****/ + /****** BOPAlgo_WireSplitter::SetContext ******/ + /****** md5 signature: e78608a6b667b26dfbb5221975ad17a2 ******/ %feature("compactdefaultargs") SetContext; - %feature("autodoc", "Sets the context for the algorithm. - + %feature("autodoc", " Parameters ---------- theContext: IntTools_Context -Returns +Return ------- None + +Description +----------- +Sets the context for the algorithm. ") SetContext; void SetContext(const opencascade::handle & theContext); - /****************** SetWES ******************/ - /**** md5 signature: 8b89b7efde21e917d2d2fc92a5fcb271 ****/ + /****** BOPAlgo_WireSplitter::SetWES ******/ + /****** md5 signature: 8b89b7efde21e917d2d2fc92a5fcb271 ******/ %feature("compactdefaultargs") SetWES; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theWES: BOPAlgo_WireEdgeSet -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetWES; void SetWES(const BOPAlgo_WireEdgeSet & theWES); - /****************** SplitBlock ******************/ - /**** md5 signature: de0aea84749b1e20f54d75f31ecf8114 ****/ + /****** BOPAlgo_WireSplitter::SplitBlock ******/ + /****** md5 signature: de0aea84749b1e20f54d75f31ecf8114 ******/ %feature("compactdefaultargs") SplitBlock; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theF: TopoDS_Face theCB: BOPTools_ConnexityBlock theContext: IntTools_Context -Returns +Return ------- None + +Description +----------- +No available documentation. ") SplitBlock; static void SplitBlock(const TopoDS_Face & theF, BOPTools_ConnexityBlock & theCB, const opencascade::handle & theContext); - /****************** WES ******************/ - /**** md5 signature: 58e5fd1cf4257111802b170e6fd95635 ****/ + /****** BOPAlgo_WireSplitter::WES ******/ + /****** md5 signature: 58e5fd1cf4257111802b170e6fd95635 ******/ %feature("compactdefaultargs") WES; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- BOPAlgo_WireEdgeSet + +Description +----------- +No available documentation. ") WES; BOPAlgo_WireEdgeSet & WES(); @@ -2988,290 +3641,360 @@ BOPAlgo_WireEdgeSet ************************/ class BOPAlgo_Builder : public BOPAlgo_BuilderShape { public: - /****************** BOPAlgo_Builder ******************/ - /**** md5 signature: 1f86d9941e9ea86a4622ff7ec326d7fc ****/ + class NbShapes {}; + /****** BOPAlgo_Builder::BOPAlgo_Builder ******/ + /****** md5 signature: 1f86d9941e9ea86a4622ff7ec326d7fc ******/ %feature("compactdefaultargs") BOPAlgo_Builder; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BOPAlgo_Builder; BOPAlgo_Builder(); - /****************** BOPAlgo_Builder ******************/ - /**** md5 signature: f3353a4fea36ad4c50e43eda587bd535 ****/ + /****** BOPAlgo_Builder::BOPAlgo_Builder ******/ + /****** md5 signature: f3353a4fea36ad4c50e43eda587bd535 ******/ %feature("compactdefaultargs") BOPAlgo_Builder; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theAllocator: NCollection_BaseAllocator -Returns +Return ------- None + +Description +----------- +No available documentation. ") BOPAlgo_Builder; BOPAlgo_Builder(const opencascade::handle & theAllocator); - /****************** AddArgument ******************/ - /**** md5 signature: 60c2b0316a67e93c3535a28f84d56231 ****/ + /****** BOPAlgo_Builder::AddArgument ******/ + /****** md5 signature: 60c2b0316a67e93c3535a28f84d56231 ******/ %feature("compactdefaultargs") AddArgument; - %feature("autodoc", "Adds the argument to the operation. - + %feature("autodoc", " Parameters ---------- theShape: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Adds the argument to the operation. ") AddArgument; virtual void AddArgument(const TopoDS_Shape & theShape); - /****************** Arguments ******************/ - /**** md5 signature: 5c44416d889811943ccde89673d3c270 ****/ + /****** BOPAlgo_Builder::Arguments ******/ + /****** md5 signature: 5c44416d889811943ccde89673d3c270 ******/ %feature("compactdefaultargs") Arguments; - %feature("autodoc", "Returns the list of arguments. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +Returns the list of arguments. ") Arguments; const TopTools_ListOfShape & Arguments(); - /****************** BuildBOP ******************/ - /**** md5 signature: bf05d8cf5f4ff010d1c03062f4eaf238 ****/ + /****** BOPAlgo_Builder::BuildBOP ******/ + /****** md5 signature: 2e1b9ea27d66f788b2416af1e795c40a ******/ %feature("compactdefaultargs") BuildBOP; - %feature("autodoc", "Builds the result shape according to the given states for the objects and tools. these states can be unambiguously converted into the boolean operation type. thus, it performs the boolean operation on the given groups of shapes. //! the result is built basing on the result of builder operation (gf or any other). the only condition for the builder is that the splits of faces should be created and classified relatively solids. //! the method uses classification approach for choosing the faces which will participate in building the result shape: - all faces from each group having the given state for the opposite group will be taken into result. //! such approach shows better results (in comparison with bopalgo_buildersolid approach) when working with open solids. however, the result may not be always correct on such data (at least, not as expected) as the correct classification of the faces relatively open solids is not always possible and may vary depending on the chosen classification point on the face. //! history is not created for the solids in this method. //! to avoid pollution of the report of builder algorithm, there is a possibility to pass the different report to collect the alerts of the method only. but, if the new report is not given, the builder report will be used. so, even if builder passed without any errors, but some error has been stored into its report in this method, for the following calls the builder report must be cleared. //! the method may set the following errors: - bopalgo_alertbuilderfailed - building operation has not been performed yet or failed; - bopalgo_alertbopnotset - invalid bop type is given (common/fuse/cut/cut21 are supported); - bopalgo_alerttoofewarguments - arguments are not given; - bopalgo_alertunknownshape - the shape is unknown for the operation. //! parameters: @param theobjects - the group of objects for bop; @param theobjstate - state for objects faces to pass into result; @param thetools - the group of tools for bop; @param theobjstate - state for tools faces to pass into result; @param thereport - the alternative report to avoid pollution of the main one. - + %feature("autodoc", " Parameters ---------- theObjects: TopTools_ListOfShape theObjState: TopAbs_State theTools: TopTools_ListOfShape theToolsState: TopAbs_State -theReport: Message_Report,optional - default value is NULL +theRange: Message_ProgressRange +theReport: Message_Report (optional, default to NULL) -Returns +Return ------- None + +Description +----------- +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: +Parameter theObjects - The group of Objects for BOP; +Parameter theObjState - State for objects faces to pass into result; +Parameter theTools - The group of Tools for BOP; +Parameter theToolsState - State for tools faces to pass into result; +Parameter theReport - The alternative report to avoid pollution of the main one. ") BuildBOP; - virtual void BuildBOP(const TopTools_ListOfShape & theObjects, const TopAbs_State theObjState, const TopTools_ListOfShape & theTools, const TopAbs_State theToolsState, opencascade::handle theReport = NULL); + virtual void BuildBOP(const TopTools_ListOfShape & theObjects, const TopAbs_State theObjState, const TopTools_ListOfShape & theTools, const TopAbs_State theToolsState, const Message_ProgressRange & theRange, opencascade::handle theReport = NULL); - /****************** BuildBOP ******************/ - /**** md5 signature: 5f2c4d2c7b32fe57c63ffb4571f06910 ****/ + /****** BOPAlgo_Builder::BuildBOP ******/ + /****** md5 signature: 18c5ea0ce9eb413167db72fc87c235d6 ******/ %feature("compactdefaultargs") BuildBOP; - %feature("autodoc", "Builds the result of boolean operation of given type basing on the result of builder operation (gf or any other). //! the method converts the given type of operation into the states for the objects and tools required for their face to pass into result and performs the call to the same method, but with states instead of operation type. //! the conversion looks as follows: - common is built from the faces of objects located in any of the tools and vice versa. - fuse is built from the faces out of all given shapes; - cut is built from the faces of the objects out of the tools and faces of the tools located in solids of the objects. //! @param theobjects - the group of objects for bop; @param thetools - the group of tools for bop; @param theoperation - the bop type; @param thereport - the alternative report to avoid pollution of the global one. - + %feature("autodoc", " Parameters ---------- theObjects: TopTools_ListOfShape theTools: TopTools_ListOfShape theOperation: BOPAlgo_Operation -theReport: Message_Report,optional - default value is NULL +theRange: Message_ProgressRange +theReport: Message_Report (optional, default to NULL) -Returns +Return ------- None + +Description +----------- +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. //! +Parameter theObjects - The group of Objects for BOP; +Parameter theTools - The group of Tools for BOP; +Parameter theOperation - The BOP type; +Parameter theRange - The parameter to progressIndicator +Parameter theReport - The alternative report to avoid pollution of the global one. ") BuildBOP; - void BuildBOP(const TopTools_ListOfShape & theObjects, const TopTools_ListOfShape & theTools, const BOPAlgo_Operation theOperation, opencascade::handle theReport = NULL); + void BuildBOP(const TopTools_ListOfShape & theObjects, const TopTools_ListOfShape & theTools, const BOPAlgo_Operation theOperation, const Message_ProgressRange & theRange, opencascade::handle theReport = NULL); - /****************** CheckInverted ******************/ - /**** md5 signature: ce3c18df15bc3282101b99ee82f78b47 ****/ + /****** BOPAlgo_Builder::CheckInverted ******/ + /****** md5 signature: ce3c18df15bc3282101b99ee82f78b47 ******/ %feature("compactdefaultargs") CheckInverted; - %feature("autodoc", "Returns the flag defining whether the check for input solids on inverted status should be performed or not. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns the flag defining whether the check for input solids on inverted status should be performed or not. ") CheckInverted; Standard_Boolean CheckInverted(); - /****************** Clear ******************/ - /**** md5 signature: f671931d03948860d0ead34afbe920aa ****/ + /****** BOPAlgo_Builder::Clear ******/ + /****** md5 signature: f671931d03948860d0ead34afbe920aa ******/ %feature("compactdefaultargs") Clear; - %feature("autodoc", "Clears the content of the algorithm. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Clears the content of the algorithm. ") Clear; virtual void Clear(); - /****************** Context ******************/ - /**** md5 signature: 74fb770c962675c4ccf80c755850043b ****/ + /****** BOPAlgo_Builder::Context ******/ + /****** md5 signature: 74fb770c962675c4ccf80c755850043b ******/ %feature("compactdefaultargs") Context; - %feature("autodoc", "Returns the context, tool for cashing heavy algorithms. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns the Context, tool for cashing heavy algorithms. ") Context; opencascade::handle Context(); - /****************** Glue ******************/ - /**** md5 signature: 2a0ac34b43f154dd0238ac1408d9079b ****/ + /****** BOPAlgo_Builder::Glue ******/ + /****** md5 signature: 2a0ac34b43f154dd0238ac1408d9079b ******/ %feature("compactdefaultargs") Glue; - %feature("autodoc", "Returns the glue option of the algorithm. - -Returns + %feature("autodoc", "Return ------- BOPAlgo_GlueEnum + +Description +----------- +Returns the glue option of the algorithm. ") Glue; BOPAlgo_GlueEnum Glue(); - /****************** Images ******************/ - /**** md5 signature: b5e41f40108249a88217f4fca2899406 ****/ + /****** BOPAlgo_Builder::Images ******/ + /****** md5 signature: b5e41f40108249a88217f4fca2899406 ******/ %feature("compactdefaultargs") Images; - %feature("autodoc", "Returns the map of images. - -Returns + %feature("autodoc", "Return ------- TopTools_DataMapOfShapeListOfShape + +Description +----------- +Returns the map of images. ") Images; const TopTools_DataMapOfShapeListOfShape & Images(); - /****************** NonDestructive ******************/ - /**** md5 signature: debf4165891df54bd9a565d235f0d378 ****/ + /****** BOPAlgo_Builder::NonDestructive ******/ + /****** md5 signature: debf4165891df54bd9a565d235f0d378 ******/ %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. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +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. ") NonDestructive; Standard_Boolean NonDestructive(); - /****************** Origins ******************/ - /**** md5 signature: af47018f396466f88e1f40a1e0dda823 ****/ + /****** BOPAlgo_Builder::Origins ******/ + /****** md5 signature: af47018f396466f88e1f40a1e0dda823 ******/ %feature("compactdefaultargs") Origins; - %feature("autodoc", "Returns the map of origins. - -Returns + %feature("autodoc", "Return ------- TopTools_DataMapOfShapeListOfShape + +Description +----------- +Returns the map of origins. ") Origins; const TopTools_DataMapOfShapeListOfShape & Origins(); - /****************** PDS ******************/ - /**** md5 signature: a30b9b6ee088c51b53e93ae172dde611 ****/ + /****** BOPAlgo_Builder::PDS ******/ + /****** md5 signature: a30b9b6ee088c51b53e93ae172dde611 ******/ %feature("compactdefaultargs") PDS; - %feature("autodoc", "Returns the data structure, holder of intersection information. - -Returns + %feature("autodoc", "Return ------- BOPDS_PDS + +Description +----------- +Returns the Data Structure, holder of intersection information. ") PDS; BOPDS_PDS PDS(); - /****************** PPaveFiller ******************/ - /**** md5 signature: b4431f105883f2fda078ca3da828ad49 ****/ + /****** BOPAlgo_Builder::PPaveFiller ******/ + /****** md5 signature: b4431f105883f2fda078ca3da828ad49 ******/ %feature("compactdefaultargs") PPaveFiller; - %feature("autodoc", "Returns the pavefiller, algorithm for sub-shapes intersection. - -Returns + %feature("autodoc", "Return ------- BOPAlgo_PPaveFiller + +Description +----------- +Returns the PaveFiller, algorithm for sub-shapes intersection. ") PPaveFiller; BOPAlgo_PPaveFiller PPaveFiller(); - /****************** Perform ******************/ - /**** md5 signature: d73234ef092f057e6680afbd2a273a2a ****/ + /****** BOPAlgo_Builder::Perform ******/ + /****** md5 signature: 0c284a2ff880da6562c1121fb4e216b7 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Performs the operation. the intersection will be performed also. + %feature("autodoc", " +Parameters +---------- +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- None + +Description +----------- +Performs the operation. The intersection will be performed also. ") Perform; - virtual void Perform(); + virtual void Perform(const Message_ProgressRange & theRange = Message_ProgressRange()); - /****************** PerformWithFiller ******************/ - /**** md5 signature: ad9328f46e269c9c83bdf7ea4e1b2493 ****/ + /****** BOPAlgo_Builder::PerformWithFiller ******/ + /****** md5 signature: dcd0b26cc1d80352d6565f05cc10fd51 ******/ %feature("compactdefaultargs") PerformWithFiller; - %feature("autodoc", "Performs the operation with the prepared filler. the intersection will not be performed in this case. - + %feature("autodoc", " Parameters ---------- theFiller: BOPAlgo_PaveFiller +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- None + +Description +----------- +Performs the operation with the prepared filler. The intersection will not be performed in this case. ") PerformWithFiller; - virtual void PerformWithFiller(const BOPAlgo_PaveFiller & theFiller); + virtual void PerformWithFiller(const BOPAlgo_PaveFiller & theFiller, const Message_ProgressRange & theRange = Message_ProgressRange()); - /****************** SetArguments ******************/ - /**** md5 signature: 52d846757af37684f5519c7b7f1b4940 ****/ + /****** BOPAlgo_Builder::SetArguments ******/ + /****** md5 signature: 52d846757af37684f5519c7b7f1b4940 ******/ %feature("compactdefaultargs") SetArguments; - %feature("autodoc", "Sets the list of arguments for the operation. - + %feature("autodoc", " Parameters ---------- theLS: TopTools_ListOfShape -Returns +Return ------- None + +Description +----------- +Sets the list of arguments for the operation. ") SetArguments; virtual void SetArguments(const TopTools_ListOfShape & theLS); - /****************** SetCheckInverted ******************/ - /**** md5 signature: 9645001f4ab756df382f60cfc76654bc ****/ + /****** BOPAlgo_Builder::SetCheckInverted ******/ + /****** md5 signature: 9645001f4ab756df382f60cfc76654bc ******/ %feature("compactdefaultargs") SetCheckInverted; - %feature("autodoc", "Enables/disables the check of the input solids for inverted status. - + %feature("autodoc", " Parameters ---------- theCheck: bool -Returns +Return ------- None + +Description +----------- +Enables/Disables the check of the input solids for inverted status. ") SetCheckInverted; void SetCheckInverted(const Standard_Boolean theCheck); - /****************** SetGlue ******************/ - /**** md5 signature: bae09c43d6b988a5d7d19b6376a5aa05 ****/ + /****** BOPAlgo_Builder::SetGlue ******/ + /****** md5 signature: bae09c43d6b988a5d7d19b6376a5aa05 ******/ %feature("compactdefaultargs") SetGlue; - %feature("autodoc", "Sets the glue option for the algorithm. - + %feature("autodoc", " Parameters ---------- theGlue: BOPAlgo_GlueEnum -Returns +Return ------- None + +Description +----------- +Sets the glue option for the algorithm. ") SetGlue; void SetGlue(const BOPAlgo_GlueEnum theGlue); - /****************** SetNonDestructive ******************/ - /**** md5 signature: 0a29c6536a8337536ce71b892337fbbb ****/ + /****** BOPAlgo_Builder::SetNonDestructive ******/ + /****** md5 signature: 0a29c6536a8337536ce71b892337fbbb ******/ %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. 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. - + %feature("autodoc", " Parameters ---------- theFlag: bool -Returns +Return ------- None + +Description +----------- +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. ") SetNonDestructive; void SetNonDestructive(const Standard_Boolean theFlag); - /****************** ShapesSD ******************/ - /**** md5 signature: b1456fb65b85afaf3fe4896e268be23e ****/ + /****** BOPAlgo_Builder::ShapesSD ******/ + /****** md5 signature: b1456fb65b85afaf3fe4896e268be23e ******/ %feature("compactdefaultargs") ShapesSD; - %feature("autodoc", "Returns the map of same domain (sd) shapes - coinciding shapes from different arguments. - -Returns + %feature("autodoc", "Return ------- TopTools_DataMapOfShapeShape + +Description +----------- +Returns the map of Same Domain (SD) shapes - coinciding shapes from different arguments. ") ShapesSD; const TopTools_DataMapOfShapeShape & ShapesSD(); @@ -3289,77 +4012,96 @@ TopTools_DataMapOfShapeShape ****************************/ class BOPAlgo_BuilderFace : public BOPAlgo_BuilderArea { public: - /****************** BOPAlgo_BuilderFace ******************/ - /**** md5 signature: 55fb0e9f8f896e5e2f0cad2dee0ad4b9 ****/ + /****** BOPAlgo_BuilderFace::BOPAlgo_BuilderFace ******/ + /****** md5 signature: 55fb0e9f8f896e5e2f0cad2dee0ad4b9 ******/ %feature("compactdefaultargs") BOPAlgo_BuilderFace; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BOPAlgo_BuilderFace; BOPAlgo_BuilderFace(); - /****************** BOPAlgo_BuilderFace ******************/ - /**** md5 signature: b5c457f566a0d6c73144f78202d49cab ****/ + /****** BOPAlgo_BuilderFace::BOPAlgo_BuilderFace ******/ + /****** md5 signature: b5c457f566a0d6c73144f78202d49cab ******/ %feature("compactdefaultargs") BOPAlgo_BuilderFace; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theAllocator: NCollection_BaseAllocator -Returns +Return ------- None + +Description +----------- +No available documentation. ") BOPAlgo_BuilderFace; BOPAlgo_BuilderFace(const opencascade::handle & theAllocator); - /****************** Face ******************/ - /**** md5 signature: 91e216ebeb76e55c73eb9e179241a6ff ****/ + /****** BOPAlgo_BuilderFace::Face ******/ + /****** md5 signature: 91e216ebeb76e55c73eb9e179241a6ff ******/ %feature("compactdefaultargs") Face; - %feature("autodoc", "Returns the face generatix. - -Returns + %feature("autodoc", "Return ------- TopoDS_Face + +Description +----------- +Returns the face generatix. ") Face; const TopoDS_Face Face(); - /****************** Orientation ******************/ - /**** md5 signature: 328242fe19b1f80489d8169681ebc029 ****/ + /****** BOPAlgo_BuilderFace::Orientation ******/ + /****** md5 signature: 328242fe19b1f80489d8169681ebc029 ******/ %feature("compactdefaultargs") Orientation; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopAbs_Orientation + +Description +----------- +No available documentation. ") Orientation; TopAbs_Orientation Orientation(); - /****************** Perform ******************/ - /**** md5 signature: d73234ef092f057e6680afbd2a273a2a ****/ + /****** BOPAlgo_BuilderFace::Perform ******/ + /****** md5 signature: 0c284a2ff880da6562c1121fb4e216b7 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Performs the algorithm. + %feature("autodoc", " +Parameters +---------- +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- None + +Description +----------- +Performs the algorithm. ") Perform; - virtual void Perform(); + virtual void Perform(const Message_ProgressRange & theRange = Message_ProgressRange()); - /****************** SetFace ******************/ - /**** md5 signature: 5b74a256c8032110740067b9210114f8 ****/ + /****** BOPAlgo_BuilderFace::SetFace ******/ + /****** md5 signature: 5b74a256c8032110740067b9210114f8 ******/ %feature("compactdefaultargs") SetFace; - %feature("autodoc", "Sets the face generatix. - + %feature("autodoc", " Parameters ---------- theFace: TopoDS_Face -Returns +Return ------- None + +Description +----------- +Sets the face generatix. ") SetFace; void SetFace(const TopoDS_Face & theFace); @@ -3377,53 +4119,67 @@ None *****************************/ class BOPAlgo_BuilderSolid : public BOPAlgo_BuilderArea { public: - /****************** BOPAlgo_BuilderSolid ******************/ - /**** md5 signature: 3207f4476326a857182303f4e535631e ****/ + /****** BOPAlgo_BuilderSolid::BOPAlgo_BuilderSolid ******/ + /****** md5 signature: 3207f4476326a857182303f4e535631e ******/ %feature("compactdefaultargs") BOPAlgo_BuilderSolid; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BOPAlgo_BuilderSolid; BOPAlgo_BuilderSolid(); - /****************** BOPAlgo_BuilderSolid ******************/ - /**** md5 signature: ffc0a313e87b14e1192559b5a26c6ac8 ****/ + /****** BOPAlgo_BuilderSolid::BOPAlgo_BuilderSolid ******/ + /****** md5 signature: ffc0a313e87b14e1192559b5a26c6ac8 ******/ %feature("compactdefaultargs") BOPAlgo_BuilderSolid; - %feature("autodoc", "Constructor with allocator. - + %feature("autodoc", " Parameters ---------- theAllocator: NCollection_BaseAllocator -Returns +Return ------- None + +Description +----------- +Constructor with allocator. ") BOPAlgo_BuilderSolid; BOPAlgo_BuilderSolid(const opencascade::handle & theAllocator); - /****************** GetBoxesMap ******************/ - /**** md5 signature: a5a9e80370b6f3886c3433f1fcf548da ****/ + /****** BOPAlgo_BuilderSolid::GetBoxesMap ******/ + /****** md5 signature: a5a9e80370b6f3886c3433f1fcf548da ******/ %feature("compactdefaultargs") GetBoxesMap; - %feature("autodoc", "For classification purposes the algorithm builds the bounding boxes for all created solids. this method returns the data map of solid - box pairs. - -Returns + %feature("autodoc", "Return ------- TopTools_DataMapOfShapeBox + +Description +----------- +For classification purposes the algorithm builds the bounding boxes for all created solids. This method returns the data map of solid - box pairs. ") GetBoxesMap; const TopTools_DataMapOfShapeBox & GetBoxesMap(); - /****************** Perform ******************/ - /**** md5 signature: d73234ef092f057e6680afbd2a273a2a ****/ + /****** BOPAlgo_BuilderSolid::Perform ******/ + /****** md5 signature: 0c284a2ff880da6562c1121fb4e216b7 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Performs the construction of the solids from the given faces. + %feature("autodoc", " +Parameters +---------- +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- None + +Description +----------- +Performs the construction of the solids from the given faces. ") Perform; - virtual void Perform(); + virtual void Perform(const Message_ProgressRange & theRange = Message_ProgressRange()); }; @@ -3439,40 +4195,52 @@ None **************************/ class BOPAlgo_CheckerSI : public BOPAlgo_PaveFiller { public: - /****************** BOPAlgo_CheckerSI ******************/ - /**** md5 signature: 4509a2dedfaae61b75002e38bf4839ca ****/ + /****** BOPAlgo_CheckerSI::BOPAlgo_CheckerSI ******/ + /****** md5 signature: 4509a2dedfaae61b75002e38bf4839ca ******/ %feature("compactdefaultargs") BOPAlgo_CheckerSI; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BOPAlgo_CheckerSI; BOPAlgo_CheckerSI(); - /****************** Perform ******************/ - /**** md5 signature: d73234ef092f057e6680afbd2a273a2a ****/ + /****** BOPAlgo_CheckerSI::Perform ******/ + /****** md5 signature: 0c284a2ff880da6562c1121fb4e216b7 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. + %feature("autodoc", " +Parameters +---------- +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- None + +Description +----------- +No available documentation. ") Perform; - virtual void Perform(); + virtual void Perform(const Message_ProgressRange & theRange = Message_ProgressRange()); - /****************** SetLevelOfCheck ******************/ - /**** md5 signature: 8b368cd9515ac3e41d12f4691644e2cf ****/ + /****** BOPAlgo_CheckerSI::SetLevelOfCheck ******/ + /****** md5 signature: 8b368cd9515ac3e41d12f4691644e2cf ******/ %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). - + %feature("autodoc", " Parameters ---------- theLevel: int -Returns +Return ------- None + +Description +----------- +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). ") SetLevelOfCheck; void SetLevelOfCheck(const Standard_Integer theLevel); @@ -3490,103 +4258,130 @@ None *******************************/ class BOPAlgo_RemoveFeatures : public BOPAlgo_BuilderShape { public: - /****************** BOPAlgo_RemoveFeatures ******************/ - /**** md5 signature: 7b50bf592dac62efc3164c9eb9f4d77d ****/ + /****** BOPAlgo_RemoveFeatures::BOPAlgo_RemoveFeatures ******/ + /****** md5 signature: 7b50bf592dac62efc3164c9eb9f4d77d ******/ %feature("compactdefaultargs") BOPAlgo_RemoveFeatures; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BOPAlgo_RemoveFeatures; BOPAlgo_RemoveFeatures(); - /****************** AddFaceToRemove ******************/ - /**** md5 signature: 26c9409a587f43491552f28dbeb97ed4 ****/ + /****** BOPAlgo_RemoveFeatures::AddFaceToRemove ******/ + /****** md5 signature: 26c9409a587f43491552f28dbeb97ed4 ******/ %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. - + %feature("autodoc", " Parameters ---------- theFace: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Adds the face to remove from the input shape. +Input parameter: theFace The shape to extract the faces for removal. ") AddFaceToRemove; void AddFaceToRemove(const TopoDS_Shape & theFace); - /****************** AddFacesToRemove ******************/ - /**** md5 signature: de6da71dc89a49bec36f3c8a28a2c6dd ****/ + /****** BOPAlgo_RemoveFeatures::AddFacesToRemove ******/ + /****** md5 signature: de6da71dc89a49bec36f3c8a28a2c6dd ******/ %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. - + %feature("autodoc", " Parameters ---------- theFaces: TopTools_ListOfShape -Returns +Return ------- None + +Description +----------- +Adds the faces to remove from the input shape. +Input parameter: theFaces The list of shapes to extract the faces for removal. ") AddFacesToRemove; void AddFacesToRemove(const TopTools_ListOfShape & theFaces); - /****************** Clear ******************/ - /**** md5 signature: aed78bc7ea4fdcb55502fff982e7b775 ****/ + /****** BOPAlgo_RemoveFeatures::Clear ******/ + /****** md5 signature: aed78bc7ea4fdcb55502fff982e7b775 ******/ %feature("compactdefaultargs") Clear; - %feature("autodoc", "Clears the contents of the algorithm from previous run, allowing reusing it for following removals. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Clears the contents of the algorithm from previous run, allowing reusing it for following removals. ") Clear; virtual void Clear(); - /****************** FacesToRemove ******************/ - /**** md5 signature: 947971dfb74df8135dc7f7ce60eaaa90 ****/ + /****** BOPAlgo_RemoveFeatures::FacesToRemove ******/ + /****** md5 signature: 947971dfb74df8135dc7f7ce60eaaa90 ******/ %feature("compactdefaultargs") FacesToRemove; - %feature("autodoc", "Returns the list of faces which have been requested for removal from the input shape. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +Returns the list of faces which have been requested for removal from the input shape. ") FacesToRemove; const TopTools_ListOfShape & FacesToRemove(); - /****************** InputShape ******************/ - /**** md5 signature: c0c04276bd1d5989adf5070d423aadb7 ****/ + /****** BOPAlgo_RemoveFeatures::InputShape ******/ + /****** md5 signature: c0c04276bd1d5989adf5070d423aadb7 ******/ %feature("compactdefaultargs") InputShape; - %feature("autodoc", "Returns the input shape. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +Returns the input shape. ") InputShape; const TopoDS_Shape InputShape(); - /****************** Perform ******************/ - /**** md5 signature: d73234ef092f057e6680afbd2a273a2a ****/ + /****** BOPAlgo_RemoveFeatures::Perform ******/ + /****** md5 signature: 0c284a2ff880da6562c1121fb4e216b7 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Performs the operation. + %feature("autodoc", " +Parameters +---------- +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- None + +Description +----------- +Performs the operation. ") Perform; - virtual void Perform(); + virtual void Perform(const Message_ProgressRange & theRange = Message_ProgressRange()); - /****************** SetShape ******************/ - /**** md5 signature: 927e2ebe2fb5354dfb3da3c53e512cad ****/ + /****** BOPAlgo_RemoveFeatures::SetShape ******/ + /****** md5 signature: 927e2ebe2fb5354dfb3da3c53e512cad ******/ %feature("compactdefaultargs") SetShape; - %feature("autodoc", "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. - + %feature("autodoc", " Parameters ---------- theShape: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Sets the shape for processing. +Input parameter: theShape The shape to remove the faces from. It should either be the SOLID, COMPSOLID or COMPOUND of Solids. ") SetShape; void SetShape(const TopoDS_Shape & theShape); @@ -3604,138 +4399,158 @@ None *****************************/ class BOPAlgo_CellsBuilder : public BOPAlgo_Builder { public: - /****************** BOPAlgo_CellsBuilder ******************/ - /**** md5 signature: 283c387ed79b57aa716daf623c73a380 ****/ + /****** BOPAlgo_CellsBuilder::BOPAlgo_CellsBuilder ******/ + /****** md5 signature: 283c387ed79b57aa716daf623c73a380 ******/ %feature("compactdefaultargs") BOPAlgo_CellsBuilder; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BOPAlgo_CellsBuilder; BOPAlgo_CellsBuilder(); - /****************** BOPAlgo_CellsBuilder ******************/ - /**** md5 signature: 0c9a50e5a44f35e9ea990d6dd2e2c069 ****/ + /****** BOPAlgo_CellsBuilder::BOPAlgo_CellsBuilder ******/ + /****** md5 signature: 0c9a50e5a44f35e9ea990d6dd2e2c069 ******/ %feature("compactdefaultargs") BOPAlgo_CellsBuilder; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theAllocator: NCollection_BaseAllocator -Returns +Return ------- None + +Description +----------- +No available documentation. ") BOPAlgo_CellsBuilder; BOPAlgo_CellsBuilder(const opencascade::handle & theAllocator); - /****************** AddAllToResult ******************/ - /**** md5 signature: 58f1f9632579501c71d617e8b3be70df ****/ + /****** BOPAlgo_CellsBuilder::AddAllToResult ******/ + /****** md5 signature: 58f1f9632579501c71d617e8b3be70df ******/ %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. - + %feature("autodoc", " Parameters ---------- -theMaterial: int,optional - default value is 0 -theUpdate: bool,optional - default value is Standard_False +theMaterial: int (optional, default to 0) +theUpdate: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +Add all split parts to result. defines the removal of internal boundaries; parameter defines whether to remove boundaries now or not. ") AddAllToResult; void AddAllToResult(const Standard_Integer theMaterial = 0, const Standard_Boolean theUpdate = Standard_False); - /****************** AddToResult ******************/ - /**** md5 signature: 078f78bbeb3b4b698240216e4af3918a ****/ + /****** BOPAlgo_CellsBuilder::AddToResult ******/ + /****** md5 signature: 078f78bbeb3b4b698240216e4af3918a ******/ %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. - + %feature("autodoc", " Parameters ---------- theLSToTake: TopTools_ListOfShape theLSToAvoid: TopTools_ListOfShape -theMaterial: int,optional - default value is 0 -theUpdate: bool,optional - default value is Standard_False +theMaterial: int (optional, default to 0) +theUpdate: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +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. ") AddToResult; void AddToResult(const TopTools_ListOfShape & theLSToTake, const TopTools_ListOfShape & theLSToAvoid, const Standard_Integer theMaterial = 0, const Standard_Boolean theUpdate = Standard_False); - /****************** Clear ******************/ - /**** md5 signature: f671931d03948860d0ead34afbe920aa ****/ + /****** BOPAlgo_CellsBuilder::Clear ******/ + /****** md5 signature: f671931d03948860d0ead34afbe920aa ******/ %feature("compactdefaultargs") Clear; - %feature("autodoc", "Redefined method clear - clears the contents. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Redefined method Clear - clears the contents. ") Clear; virtual void Clear(); - /****************** GetAllParts ******************/ - /**** md5 signature: b2790f97d6203d4043686998a149d61a ****/ + /****** BOPAlgo_CellsBuilder::GetAllParts ******/ + /****** md5 signature: b2790f97d6203d4043686998a149d61a ******/ %feature("compactdefaultargs") GetAllParts; - %feature("autodoc", "Get all split parts. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +Get all split parts. ") GetAllParts; const TopoDS_Shape GetAllParts(); - /****************** MakeContainers ******************/ - /**** md5 signature: 9eacc65717dba6855fa4d05e42624e62 ****/ + /****** BOPAlgo_CellsBuilder::MakeContainers ******/ + /****** md5 signature: 9eacc65717dba6855fa4d05e42624e62 ******/ %feature("compactdefaultargs") MakeContainers; - %feature("autodoc", "Makes the containers of proper type from the parts added to result. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Makes the Containers of proper type from the parts added to result. ") MakeContainers; void MakeContainers(); - /****************** RemoveAllFromResult ******************/ - /**** md5 signature: da6f499056fba61c54387b307c110ed8 ****/ + /****** BOPAlgo_CellsBuilder::RemoveAllFromResult ******/ + /****** md5 signature: da6f499056fba61c54387b307c110ed8 ******/ %feature("compactdefaultargs") RemoveAllFromResult; - %feature("autodoc", "Remove all parts from result. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Remove all parts from result. ") RemoveAllFromResult; void RemoveAllFromResult(); - /****************** RemoveFromResult ******************/ - /**** md5 signature: 0a190413f81894fd0aedf2b6857a0e58 ****/ + /****** BOPAlgo_CellsBuilder::RemoveFromResult ******/ + /****** md5 signature: 0a190413f81894fd0aedf2b6857a0e58 ******/ %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 . - + %feature("autodoc", " Parameters ---------- theLSToTake: TopTools_ListOfShape theLSToAvoid: TopTools_ListOfShape -Returns +Return ------- None + +Description +----------- +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 . ") RemoveFromResult; void RemoveFromResult(const TopTools_ListOfShape & theLSToTake, const TopTools_ListOfShape & theLSToAvoid); - /****************** RemoveInternalBoundaries ******************/ - /**** md5 signature: 2ea3e927bcf8e9d3e7d159aea16eac8b ****/ + /****** BOPAlgo_CellsBuilder::RemoveInternalBoundaries ******/ + /****** md5 signature: 2ea3e927bcf8e9d3e7d159aea16eac8b ******/ %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. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +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. ") RemoveInternalBoundaries; void RemoveInternalBoundaries(); @@ -3753,125 +4568,153 @@ None ****************************/ class BOPAlgo_MakerVolume : public BOPAlgo_Builder { public: - /****************** BOPAlgo_MakerVolume ******************/ - /**** md5 signature: d0e6199b15a5886e06dc5392486c5729 ****/ + /****** BOPAlgo_MakerVolume::BOPAlgo_MakerVolume ******/ + /****** md5 signature: d0e6199b15a5886e06dc5392486c5729 ******/ %feature("compactdefaultargs") BOPAlgo_MakerVolume; - %feature("autodoc", "Empty contructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BOPAlgo_MakerVolume; BOPAlgo_MakerVolume(); - /****************** BOPAlgo_MakerVolume ******************/ - /**** md5 signature: d34685403aab74ebc2da37a1a29c02c6 ****/ + /****** BOPAlgo_MakerVolume::BOPAlgo_MakerVolume ******/ + /****** md5 signature: d34685403aab74ebc2da37a1a29c02c6 ******/ %feature("compactdefaultargs") BOPAlgo_MakerVolume; - %feature("autodoc", "Empty contructor. - + %feature("autodoc", " Parameters ---------- theAllocator: NCollection_BaseAllocator -Returns +Return ------- None + +Description +----------- +Empty constructor. ") BOPAlgo_MakerVolume; BOPAlgo_MakerVolume(const opencascade::handle & theAllocator); - /****************** Box ******************/ - /**** md5 signature: 3ac56b24f6371ebc9df716c917fc390f ****/ + /****** BOPAlgo_MakerVolume::Box ******/ + /****** md5 signature: 3ac56b24f6371ebc9df716c917fc390f ******/ %feature("compactdefaultargs") Box; - %feature("autodoc", "Returns the solid box . - -Returns + %feature("autodoc", "Return ------- TopoDS_Solid + +Description +----------- +Returns the solid box . ") Box; const TopoDS_Solid Box(); - /****************** Clear ******************/ - /**** md5 signature: f671931d03948860d0ead34afbe920aa ****/ + /****** BOPAlgo_MakerVolume::Clear ******/ + /****** md5 signature: f671931d03948860d0ead34afbe920aa ******/ %feature("compactdefaultargs") Clear; - %feature("autodoc", "Clears the data. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Clears the data. ") Clear; virtual void Clear(); - /****************** Faces ******************/ - /**** md5 signature: 9c2557bb3fea1d1ff5791937fe36a2f5 ****/ + /****** BOPAlgo_MakerVolume::Faces ******/ + /****** md5 signature: 9c2557bb3fea1d1ff5791937fe36a2f5 ******/ %feature("compactdefaultargs") Faces; - %feature("autodoc", "Returns the processed faces . - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +Returns the processed faces . ") Faces; const TopTools_ListOfShape & Faces(); - /****************** IsAvoidInternalShapes ******************/ - /**** md5 signature: 8a7b9501581d682ae84b1516b6d067be ****/ + /****** BOPAlgo_MakerVolume::IsAvoidInternalShapes ******/ + /****** md5 signature: 8a7b9501581d682ae84b1516b6d067be ******/ %feature("compactdefaultargs") IsAvoidInternalShapes; - %feature("autodoc", "Returns the avoidinternalshapes flag. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns the AvoidInternalShapes flag. ") IsAvoidInternalShapes; Standard_Boolean IsAvoidInternalShapes(); - /****************** IsIntersect ******************/ - /**** md5 signature: 83079d7138bb957f3b50f76e715d483c ****/ + /****** BOPAlgo_MakerVolume::IsIntersect ******/ + /****** md5 signature: 83079d7138bb957f3b50f76e715d483c ******/ %feature("compactdefaultargs") IsIntersect; - %feature("autodoc", "Returns the flag . - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns the flag . ") IsIntersect; Standard_Boolean IsIntersect(); - /****************** Perform ******************/ - /**** md5 signature: d73234ef092f057e6680afbd2a273a2a ****/ + /****** BOPAlgo_MakerVolume::Perform ******/ + /****** md5 signature: 0c284a2ff880da6562c1121fb4e216b7 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Performs the operation. + %feature("autodoc", " +Parameters +---------- +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- None + +Description +----------- +Performs the operation. ") Perform; - virtual void Perform(); + virtual void Perform(const Message_ProgressRange & theRange = Message_ProgressRange()); - /****************** SetAvoidInternalShapes ******************/ - /**** md5 signature: d4ee80659b0195413556579790baf956 ****/ + /****** BOPAlgo_MakerVolume::SetAvoidInternalShapes ******/ + /****** md5 signature: d4ee80659b0195413556579790baf956 ******/ %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. - + %feature("autodoc", " Parameters ---------- theAvoidInternal: bool -Returns +Return ------- None + +Description +----------- +Defines the preventing of addition of internal for solid parts into the result. By default the internal parts are added into result. ") SetAvoidInternalShapes; void SetAvoidInternalShapes(const Standard_Boolean theAvoidInternal); - /****************** SetIntersect ******************/ - /**** md5 signature: 91f9f86d3d941824ec34eddc9329ee23 ****/ + /****** BOPAlgo_MakerVolume::SetIntersect ******/ + /****** md5 signature: 91f9f86d3d941824ec34eddc9329ee23 ******/ %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. - + %feature("autodoc", " Parameters ---------- bIntersect: bool -Returns +Return ------- None + +Description +----------- +Sets the flag myIntersect: if is True the shapes from will be intersected. if is False no intersection will be done. ") SetIntersect; void SetIntersect(const Standard_Boolean bIntersect); @@ -3889,29 +4732,34 @@ None ************************/ class BOPAlgo_Section : public BOPAlgo_Builder { public: - /****************** BOPAlgo_Section ******************/ - /**** md5 signature: a6ca4919a6cd1765268a1adceee00250 ****/ + /****** BOPAlgo_Section::BOPAlgo_Section ******/ + /****** md5 signature: a6ca4919a6cd1765268a1adceee00250 ******/ %feature("compactdefaultargs") BOPAlgo_Section; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BOPAlgo_Section; BOPAlgo_Section(); - /****************** BOPAlgo_Section ******************/ - /**** md5 signature: 7d326de6218833e290f0512fe0e4cc7f ****/ + /****** BOPAlgo_Section::BOPAlgo_Section ******/ + /****** md5 signature: 7d326de6218833e290f0512fe0e4cc7f ******/ %feature("compactdefaultargs") BOPAlgo_Section; - %feature("autodoc", "Constructor with allocator. - + %feature("autodoc", " Parameters ---------- theAllocator: NCollection_BaseAllocator -Returns +Return ------- None + +Description +----------- +Constructor with allocator. ") BOPAlgo_Section; BOPAlgo_Section(const opencascade::handle & theAllocator); @@ -3929,81 +4777,96 @@ None ******************************/ class BOPAlgo_ToolsProvider : public BOPAlgo_Builder { public: - /****************** BOPAlgo_ToolsProvider ******************/ - /**** md5 signature: 6126476d277f9865fd5dc964255f5ab2 ****/ + /****** BOPAlgo_ToolsProvider::BOPAlgo_ToolsProvider ******/ + /****** md5 signature: 6126476d277f9865fd5dc964255f5ab2 ******/ %feature("compactdefaultargs") BOPAlgo_ToolsProvider; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BOPAlgo_ToolsProvider; BOPAlgo_ToolsProvider(); - /****************** BOPAlgo_ToolsProvider ******************/ - /**** md5 signature: 6bb0db70c66244e0cce5fe43bf078d78 ****/ + /****** BOPAlgo_ToolsProvider::BOPAlgo_ToolsProvider ******/ + /****** md5 signature: 6bb0db70c66244e0cce5fe43bf078d78 ******/ %feature("compactdefaultargs") BOPAlgo_ToolsProvider; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theAllocator: NCollection_BaseAllocator -Returns +Return ------- None + +Description +----------- +No available documentation. ") BOPAlgo_ToolsProvider; BOPAlgo_ToolsProvider(const opencascade::handle & theAllocator); - /****************** AddTool ******************/ - /**** md5 signature: 81f0977d7c049de98cc27f2491835535 ****/ + /****** BOPAlgo_ToolsProvider::AddTool ******/ + /****** md5 signature: 81f0977d7c049de98cc27f2491835535 ******/ %feature("compactdefaultargs") AddTool; - %feature("autodoc", "Adds tool argument of the operation. - + %feature("autodoc", " Parameters ---------- theShape: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Adds Tool argument of the operation. ") AddTool; virtual void AddTool(const TopoDS_Shape & theShape); - /****************** Clear ******************/ - /**** md5 signature: f671931d03948860d0ead34afbe920aa ****/ + /****** BOPAlgo_ToolsProvider::Clear ******/ + /****** md5 signature: f671931d03948860d0ead34afbe920aa ******/ %feature("compactdefaultargs") Clear; - %feature("autodoc", "Clears internal fields and arguments. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Clears internal fields and arguments. ") Clear; virtual void Clear(); - /****************** SetTools ******************/ - /**** md5 signature: da6d08fc771172834027c4c3bf810697 ****/ + /****** BOPAlgo_ToolsProvider::SetTools ******/ + /****** md5 signature: da6d08fc771172834027c4c3bf810697 ******/ %feature("compactdefaultargs") SetTools; - %feature("autodoc", "Adds the tool arguments of the operation. - + %feature("autodoc", " Parameters ---------- theShapes: TopTools_ListOfShape -Returns +Return ------- None + +Description +----------- +Adds the Tool arguments of the operation. ") SetTools; virtual void SetTools(const TopTools_ListOfShape & theShapes); - /****************** Tools ******************/ - /**** md5 signature: 0471973aac274d4f863776957a65fd19 ****/ + /****** BOPAlgo_ToolsProvider::Tools ******/ + /****** md5 signature: 0471973aac274d4f863776957a65fd19 ******/ %feature("compactdefaultargs") Tools; - %feature("autodoc", "Returns the tool arguments of the operation. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +Returns the Tool arguments of the operation. ") Tools; const TopTools_ListOfShape & Tools(); @@ -4021,77 +4884,96 @@ TopTools_ListOfShape ********************/ class BOPAlgo_BOP : public BOPAlgo_ToolsProvider { public: - /****************** BOPAlgo_BOP ******************/ - /**** md5 signature: 4d357b2740befe8a8d360cc2e02f478c ****/ + /****** BOPAlgo_BOP::BOPAlgo_BOP ******/ + /****** md5 signature: 4d357b2740befe8a8d360cc2e02f478c ******/ %feature("compactdefaultargs") BOPAlgo_BOP; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BOPAlgo_BOP; BOPAlgo_BOP(); - /****************** BOPAlgo_BOP ******************/ - /**** md5 signature: feb1029ccc5153f535a54dcb035cb288 ****/ + /****** BOPAlgo_BOP::BOPAlgo_BOP ******/ + /****** md5 signature: feb1029ccc5153f535a54dcb035cb288 ******/ %feature("compactdefaultargs") BOPAlgo_BOP; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theAllocator: NCollection_BaseAllocator -Returns +Return ------- None + +Description +----------- +No available documentation. ") BOPAlgo_BOP; BOPAlgo_BOP(const opencascade::handle & theAllocator); - /****************** Clear ******************/ - /**** md5 signature: f671931d03948860d0ead34afbe920aa ****/ + /****** BOPAlgo_BOP::Clear ******/ + /****** md5 signature: f671931d03948860d0ead34afbe920aa ******/ %feature("compactdefaultargs") Clear; - %feature("autodoc", "Clears internal fields and arguments. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Clears internal fields and arguments. ") Clear; virtual void Clear(); - /****************** Operation ******************/ - /**** md5 signature: 53685d2081d3d3f1f66792b3367f7ed4 ****/ + /****** BOPAlgo_BOP::Operation ******/ + /****** md5 signature: 53685d2081d3d3f1f66792b3367f7ed4 ******/ %feature("compactdefaultargs") Operation; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- BOPAlgo_Operation + +Description +----------- +No available documentation. ") Operation; BOPAlgo_Operation Operation(); - /****************** Perform ******************/ - /**** md5 signature: d73234ef092f057e6680afbd2a273a2a ****/ + /****** BOPAlgo_BOP::Perform ******/ + /****** md5 signature: 0c284a2ff880da6562c1121fb4e216b7 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. + %feature("autodoc", " +Parameters +---------- +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- None + +Description +----------- +No available documentation. ") Perform; - virtual void Perform(); + virtual void Perform(const Message_ProgressRange & theRange = Message_ProgressRange()); - /****************** SetOperation ******************/ - /**** md5 signature: 315e93f5dc046c73744bab20d8a0d13f ****/ + /****** BOPAlgo_BOP::SetOperation ******/ + /****** md5 signature: 315e93f5dc046c73744bab20d8a0d13f ******/ %feature("compactdefaultargs") SetOperation; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theOperation: BOPAlgo_Operation -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetOperation; void SetOperation(const BOPAlgo_Operation theOperation); @@ -4109,42 +4991,54 @@ None *************************/ class BOPAlgo_Splitter : public BOPAlgo_ToolsProvider { public: - /****************** BOPAlgo_Splitter ******************/ - /**** md5 signature: 41a4c344ea1bf552096cf49314155d42 ****/ + /****** BOPAlgo_Splitter::BOPAlgo_Splitter ******/ + /****** md5 signature: 41a4c344ea1bf552096cf49314155d42 ******/ %feature("compactdefaultargs") BOPAlgo_Splitter; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BOPAlgo_Splitter; BOPAlgo_Splitter(); - /****************** BOPAlgo_Splitter ******************/ - /**** md5 signature: 2c9575836a616bbcbb946e2ef6ad3a7a ****/ + /****** BOPAlgo_Splitter::BOPAlgo_Splitter ******/ + /****** md5 signature: 2c9575836a616bbcbb946e2ef6ad3a7a ******/ %feature("compactdefaultargs") BOPAlgo_Splitter; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theAllocator: NCollection_BaseAllocator -Returns +Return ------- None + +Description +----------- +No available documentation. ") BOPAlgo_Splitter; BOPAlgo_Splitter(const opencascade::handle & theAllocator); - /****************** Perform ******************/ - /**** md5 signature: d73234ef092f057e6680afbd2a273a2a ****/ + /****** BOPAlgo_Splitter::Perform ******/ + /****** md5 signature: 0c284a2ff880da6562c1121fb4e216b7 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Performs the operation. + %feature("autodoc", " +Parameters +---------- +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- None + +Description +----------- +Performs the operation. ") Perform; - virtual void Perform(); + virtual void Perform(const Message_ProgressRange & theRange = Message_ProgressRange()); }; @@ -4161,3 +5055,66 @@ None /* class aliases */ %pythoncode { } +/* deprecated methods */ +%pythoncode { +@deprecated +def BOPAlgo_Options_GetParallelMode(*args): + return BOPAlgo_Options.GetParallelMode(*args) + +@deprecated +def BOPAlgo_Options_SetParallelMode(*args): + return BOPAlgo_Options.SetParallelMode(*args) + +@deprecated +def BOPAlgo_Tools_ClassifyFaces(*args): + return BOPAlgo_Tools.ClassifyFaces(*args) + +@deprecated +def BOPAlgo_Tools_ComputeToleranceOfCB(*args): + return BOPAlgo_Tools.ComputeToleranceOfCB(*args) + +@deprecated +def BOPAlgo_Tools_EdgesToWires(*args): + return BOPAlgo_Tools.EdgesToWires(*args) + +@deprecated +def BOPAlgo_Tools_FillInternals(*args): + return BOPAlgo_Tools.FillInternals(*args) + +@deprecated +def BOPAlgo_Tools_IntersectVertices(*args): + return BOPAlgo_Tools.IntersectVertices(*args) + +@deprecated +def BOPAlgo_Tools_PerformCommonBlocks(*args): + return BOPAlgo_Tools.PerformCommonBlocks(*args) + +@deprecated +def BOPAlgo_Tools_PerformCommonBlocks(*args): + return BOPAlgo_Tools.PerformCommonBlocks(*args) + +@deprecated +def BOPAlgo_Tools_TrsfToPoint(*args): + return BOPAlgo_Tools.TrsfToPoint(*args) + +@deprecated +def BOPAlgo_Tools_WiresToFaces(*args): + return BOPAlgo_Tools.WiresToFaces(*args) + +@deprecated +def BOPAlgo_MakePeriodic_ToDirectionID(*args): + return BOPAlgo_MakePeriodic.ToDirectionID(*args) + +@deprecated +def BOPAlgo_ShellSplitter_SplitBlock(*args): + return BOPAlgo_ShellSplitter.SplitBlock(*args) + +@deprecated +def BOPAlgo_WireSplitter_MakeWire(*args): + return BOPAlgo_WireSplitter.MakeWire(*args) + +@deprecated +def BOPAlgo_WireSplitter_SplitBlock(*args): + return BOPAlgo_WireSplitter.SplitBlock(*args) + +} diff --git a/src/SWIG_files/wrapper/BOPAlgo.pyi b/src/SWIG_files/wrapper/BOPAlgo.pyi index 62d5e0555..f7aa95ddc 100644 --- a/src/SWIG_files/wrapper/BOPAlgo.pyi +++ b/src/SWIG_files/wrapper/BOPAlgo.pyi @@ -6,6 +6,7 @@ from OCC.Core.NCollection import * from OCC.Core.TopoDS import * from OCC.Core.TopTools import * from OCC.Core.Message import * +from OCC.Core.TColStd import * from OCC.Core.IntTools import * from OCC.Core.BOPDS import * from OCC.Core.Bnd import * @@ -14,42 +15,49 @@ from OCC.Core.BRepTools import * from OCC.Core.BOPTools import * from OCC.Core.TopAbs import * -#the following typedef cannot be wrapped as is -BOPAlgo_ListIteratorOfListOfCheckResult = NewType('BOPAlgo_ListIteratorOfListOfCheckResult', Any) -BOPAlgo_PArgumentAnalyzer = NewType('BOPAlgo_PArgumentAnalyzer', BOPAlgo_ArgumentAnalyzer) -BOPAlgo_PBOP = NewType('BOPAlgo_PBOP', BOPAlgo_BOP) -BOPAlgo_PBuilder = NewType('BOPAlgo_PBuilder', BOPAlgo_Builder) -BOPAlgo_PPaveFiller = NewType('BOPAlgo_PPaveFiller', BOPAlgo_PaveFiller) -BOPAlgo_PSection = NewType('BOPAlgo_PSection', BOPAlgo_Section) -BOPAlgo_PWireEdgeSet = NewType('BOPAlgo_PWireEdgeSet', BOPAlgo_WireEdgeSet) +# the following typedef cannot be wrapped as is +BOPAlgo_ListIteratorOfListOfCheckResult = NewType( + "BOPAlgo_ListIteratorOfListOfCheckResult", Any +) +BOPAlgo_PArgumentAnalyzer = NewType( + "BOPAlgo_PArgumentAnalyzer", BOPAlgo_ArgumentAnalyzer +) +BOPAlgo_PBOP = NewType("BOPAlgo_PBOP", BOPAlgo_BOP) +BOPAlgo_PBuilder = NewType("BOPAlgo_PBuilder", BOPAlgo_Builder) +BOPAlgo_PPaveFiller = NewType("BOPAlgo_PPaveFiller", BOPAlgo_PaveFiller) +BOPAlgo_PSection = NewType("BOPAlgo_PSection", BOPAlgo_Section) +BOPAlgo_PWireEdgeSet = NewType("BOPAlgo_PWireEdgeSet", BOPAlgo_WireEdgeSet) class BOPAlgo_ListOfCheckResult: - def __init__(self) -> None: ... - def __len__(self) -> int: ... - def Size(self) -> int: ... + def Append(self, theItem: BOPAlgo_CheckResult) -> BOPAlgo_CheckResult: ... + def Assign( + self, theItem: BOPAlgo_ListOfCheckResult + ) -> BOPAlgo_ListOfCheckResult: ... def Clear(self) -> None: ... def First(self) -> BOPAlgo_CheckResult: ... def Last(self) -> BOPAlgo_CheckResult: ... - def Append(self, theItem: BOPAlgo_CheckResult) -> BOPAlgo_CheckResult: ... def Prepend(self, theItem: BOPAlgo_CheckResult) -> BOPAlgo_CheckResult: ... def RemoveFirst(self) -> None: ... def Reverse(self) -> None: ... - def Value(self, theIndex: int) -> BOPAlgo_CheckResult: ... - def SetValue(self, theIndex: int, theValue: BOPAlgo_CheckResult) -> None: ... + def Size(self) -> int: ... + def __init__(self) -> None: ... + def __len__(self) -> int: ... + def __iter__(self) -> BOPAlgo_CheckResult: ... class BOPAlgo_CheckStatus(IntEnum): - BOPAlgo_CheckUnknown: int = ... - BOPAlgo_BadType: int = ... - BOPAlgo_SelfIntersect: int = ... - BOPAlgo_TooSmallEdge: int = ... - BOPAlgo_NonRecoverableFace: int = ... - BOPAlgo_IncompatibilityOfVertex: int = ... - BOPAlgo_IncompatibilityOfEdge: int = ... - BOPAlgo_IncompatibilityOfFace: int = ... - BOPAlgo_OperationAborted: int = ... - BOPAlgo_GeomAbs_C0: int = ... - BOPAlgo_InvalidCurveOnSurface: int = ... - BOPAlgo_NotValid: int = ... + BOPAlgo_CheckUnknown: int = ... + BOPAlgo_BadType: int = ... + BOPAlgo_SelfIntersect: int = ... + BOPAlgo_TooSmallEdge: int = ... + BOPAlgo_NonRecoverableFace: int = ... + BOPAlgo_IncompatibilityOfVertex: int = ... + BOPAlgo_IncompatibilityOfEdge: int = ... + BOPAlgo_IncompatibilityOfFace: int = ... + BOPAlgo_OperationAborted: int = ... + BOPAlgo_GeomAbs_C0: int = ... + BOPAlgo_InvalidCurveOnSurface: int = ... + BOPAlgo_NotValid: int = ... + BOPAlgo_CheckUnknown = BOPAlgo_CheckStatus.BOPAlgo_CheckUnknown BOPAlgo_BadType = BOPAlgo_CheckStatus.BOPAlgo_BadType BOPAlgo_SelfIntersect = BOPAlgo_CheckStatus.BOPAlgo_SelfIntersect @@ -63,13 +71,23 @@ BOPAlgo_GeomAbs_C0 = BOPAlgo_CheckStatus.BOPAlgo_GeomAbs_C0 BOPAlgo_InvalidCurveOnSurface = BOPAlgo_CheckStatus.BOPAlgo_InvalidCurveOnSurface BOPAlgo_NotValid = BOPAlgo_CheckStatus.BOPAlgo_NotValid +class BOPAlgo_GlueEnum(IntEnum): + BOPAlgo_GlueOff: int = ... + BOPAlgo_GlueShift: int = ... + BOPAlgo_GlueFull: int = ... + +BOPAlgo_GlueOff = BOPAlgo_GlueEnum.BOPAlgo_GlueOff +BOPAlgo_GlueShift = BOPAlgo_GlueEnum.BOPAlgo_GlueShift +BOPAlgo_GlueFull = BOPAlgo_GlueEnum.BOPAlgo_GlueFull + class BOPAlgo_Operation(IntEnum): - BOPAlgo_COMMON: int = ... - BOPAlgo_FUSE: int = ... - BOPAlgo_CUT: int = ... - BOPAlgo_CUT21: int = ... - BOPAlgo_SECTION: int = ... - BOPAlgo_UNKNOWN: int = ... + BOPAlgo_COMMON: int = ... + BOPAlgo_FUSE: int = ... + BOPAlgo_CUT: int = ... + BOPAlgo_CUT21: int = ... + BOPAlgo_SECTION: int = ... + BOPAlgo_UNKNOWN: int = ... + BOPAlgo_COMMON = BOPAlgo_Operation.BOPAlgo_COMMON BOPAlgo_FUSE = BOPAlgo_Operation.BOPAlgo_FUSE BOPAlgo_CUT = BOPAlgo_Operation.BOPAlgo_CUT @@ -77,415 +95,526 @@ BOPAlgo_CUT21 = BOPAlgo_Operation.BOPAlgo_CUT21 BOPAlgo_SECTION = BOPAlgo_Operation.BOPAlgo_SECTION BOPAlgo_UNKNOWN = BOPAlgo_Operation.BOPAlgo_UNKNOWN -class BOPAlgo_GlueEnum(IntEnum): - BOPAlgo_GlueOff: int = ... - BOPAlgo_GlueShift: int = ... - BOPAlgo_GlueFull: int = ... -BOPAlgo_GlueOff = BOPAlgo_GlueEnum.BOPAlgo_GlueOff -BOPAlgo_GlueShift = BOPAlgo_GlueEnum.BOPAlgo_GlueShift -BOPAlgo_GlueFull = BOPAlgo_GlueEnum.BOPAlgo_GlueFull - class BOPAlgo_CheckResult: - def __init__(self) -> None: ... - def AddFaultyShape1(self, TheShape: TopoDS_Shape) -> None: ... - def AddFaultyShape2(self, TheShape: TopoDS_Shape) -> None: ... - def GetCheckStatus(self) -> BOPAlgo_CheckStatus: ... - def GetFaultyShapes1(self) -> TopTools_ListOfShape: ... - def GetFaultyShapes2(self) -> TopTools_ListOfShape: ... - def GetMaxDistance1(self) -> float: ... - def GetMaxDistance2(self) -> float: ... - def GetMaxParameter1(self) -> float: ... - def GetMaxParameter2(self) -> float: ... - def GetShape1(self) -> TopoDS_Shape: ... - def GetShape2(self) -> TopoDS_Shape: ... - def SetCheckStatus(self, TheStatus: BOPAlgo_CheckStatus) -> None: ... - def SetMaxDistance1(self, theDist: float) -> None: ... - def SetMaxDistance2(self, theDist: float) -> None: ... - def SetMaxParameter1(self, thePar: float) -> None: ... - def SetMaxParameter2(self, thePar: float) -> None: ... - def SetShape1(self, TheShape: TopoDS_Shape) -> None: ... - def SetShape2(self, TheShape: TopoDS_Shape) -> None: ... + def __init__(self) -> None: ... + def AddFaultyShape1(self, TheShape: TopoDS_Shape) -> None: ... + def AddFaultyShape2(self, TheShape: TopoDS_Shape) -> None: ... + def GetCheckStatus(self) -> BOPAlgo_CheckStatus: ... + def GetFaultyShapes1(self) -> TopTools_ListOfShape: ... + def GetFaultyShapes2(self) -> TopTools_ListOfShape: ... + def GetMaxDistance1(self) -> float: ... + def GetMaxDistance2(self) -> float: ... + def GetMaxParameter1(self) -> float: ... + def GetMaxParameter2(self) -> float: ... + def GetShape1(self) -> TopoDS_Shape: ... + def GetShape2(self) -> TopoDS_Shape: ... + def SetCheckStatus(self, TheStatus: BOPAlgo_CheckStatus) -> None: ... + def SetMaxDistance1(self, theDist: float) -> None: ... + def SetMaxDistance2(self, theDist: float) -> None: ... + def SetMaxParameter1(self, thePar: float) -> None: ... + def SetMaxParameter2(self, thePar: float) -> None: ... + def SetShape1(self, TheShape: TopoDS_Shape) -> None: ... + def SetShape2(self, TheShape: TopoDS_Shape) -> None: ... class BOPAlgo_Options: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... - def AddError(self, theAlert: Message_Alert) -> None: ... - def AddWarning(self, theAlert: Message_Alert) -> None: ... - def Allocator(self) -> NCollection_BaseAllocator: ... - def Clear(self) -> None: ... - def ClearWarnings(self) -> None: ... - def FuzzyValue(self) -> float: ... - @staticmethod - def GetParallelMode() -> bool: ... - def GetReport(self) -> Message_Report: ... - def HasError(self, theType: Standard_Type) -> bool: ... - def HasErrors(self) -> bool: ... - def HasWarning(self, theType: Standard_Type) -> bool: ... - def HasWarnings(self) -> bool: ... - def RunParallel(self) -> bool: ... - def SetFuzzyValue(self, theFuzz: float) -> None: ... - @staticmethod - def SetParallelMode(theNewMode: bool) -> None: ... - def SetProgressIndicator(self, theProgress: Message_ProgressScope) -> None: ... - def SetRunParallel(self, theFlag: bool) -> None: ... - def SetUseOBB(self, theUseOBB: bool) -> None: ... - def UseOBB(self) -> bool: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... + def AddError(self, theAlert: Message_Alert) -> None: ... + def AddWarning(self, theAlert: Message_Alert) -> None: ... + def Allocator(self) -> NCollection_BaseAllocator: ... + def Clear(self) -> None: ... + def ClearWarnings(self) -> None: ... + def DumpErrors(self) -> str: ... + def DumpWarnings(self) -> str: ... + def FuzzyValue(self) -> float: ... + @staticmethod + def GetParallelMode() -> bool: ... + def GetReport(self) -> Message_Report: ... + def HasError(self, theType: Standard_Type) -> bool: ... + def HasErrors(self) -> bool: ... + def HasWarning(self, theType: Standard_Type) -> bool: ... + def HasWarnings(self) -> bool: ... + def RunParallel(self) -> bool: ... + def SetFuzzyValue(self, theFuzz: float) -> None: ... + @staticmethod + def SetParallelMode(theNewMode: bool) -> None: ... + def SetRunParallel(self, theFlag: bool) -> None: ... + def SetUseOBB(self, theUseOBB: bool) -> None: ... + def UseOBB(self) -> bool: ... + +class BOPAlgo_PISteps: + def __init__(self, theNbOp: int) -> None: ... + def ChangeSteps(self) -> TColStd_Array1OfReal: ... + def GetStep(self, theOperation: int) -> float: ... + def SetStep(self, theOperation: int, theStep: float) -> None: ... + def Steps(self) -> TColStd_Array1OfReal: ... class BOPAlgo_SectionAttribute: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theAproximation: bool, thePCurveOnS1: bool, thePCurveOnS2: bool) -> None: ... - @overload - def Approximation(self, theApprox: bool) -> None: ... - @overload - def Approximation(self) -> bool: ... - @overload - def PCurveOnS1(self, thePCurveOnS1: bool) -> None: ... - @overload - def PCurveOnS1(self) -> bool: ... - @overload - def PCurveOnS2(self, thePCurveOnS2: bool) -> None: ... - @overload - def PCurveOnS2(self) -> bool: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__( + self, theAproximation: bool, thePCurveOnS1: bool, thePCurveOnS2: bool + ) -> None: ... + @overload + def Approximation(self, theApprox: bool) -> None: ... + @overload + def Approximation(self) -> bool: ... + @overload + def PCurveOnS1(self, thePCurveOnS1: bool) -> None: ... + @overload + def PCurveOnS1(self) -> bool: ... + @overload + def PCurveOnS2(self, thePCurveOnS2: bool) -> None: ... + @overload + def PCurveOnS2(self) -> bool: ... class BOPAlgo_Tools: - @staticmethod - def ClassifyFaces(theFaces: TopTools_ListOfShape, theSolids: TopTools_ListOfShape, theRunParallel: bool, theContext: IntTools_Context, theInParts: TopTools_IndexedDataMapOfShapeListOfShape, theShapeBoxMap: Optional[TopTools_DataMapOfShapeBox] = TopTools_DataMapOfShapeBox(), theSolidsIF: Optional[TopTools_DataMapOfShapeListOfShape] = TopTools_DataMapOfShapeListOfShape()) -> None: ... - @staticmethod - def ComputeToleranceOfCB(theCB: BOPDS_CommonBlock, theDS: BOPDS_PDS, theContext: IntTools_Context) -> float: ... - @staticmethod - def EdgesToWires(theEdges: TopoDS_Shape, theWires: TopoDS_Shape, theShared: Optional[bool] = False, theAngTol: Optional[float] = 1e-8) -> int: ... - @staticmethod - def FillInternals(theSolids: TopTools_ListOfShape, theParts: TopTools_ListOfShape, theImages: TopTools_DataMapOfShapeListOfShape, theContext: IntTools_Context) -> None: ... - @staticmethod - def IntersectVertices(theVertices: TopTools_IndexedDataMapOfShapeReal, theFuzzyValue: float, theChains: TopTools_ListOfListOfShape) -> None: ... - @overload - @staticmethod - def PerformCommonBlocks(theMBlocks: BOPDS_IndexedDataMapOfPaveBlockListOfPaveBlock, theAllocator: NCollection_BaseAllocator, theDS: BOPDS_PDS, theContext: Optional[IntTools_Context] = IntTools_Context()) -> None: ... - @overload - @staticmethod - def PerformCommonBlocks(theMBlocks: BOPDS_IndexedDataMapOfPaveBlockListOfInteger, theAllocator: NCollection_BaseAllocator, pDS: BOPDS_PDS, theContext: Optional[IntTools_Context] = IntTools_Context()) -> None: ... - @staticmethod - def TrsfToPoint(theBox1: Bnd_Box, theBox2: Bnd_Box, theTrsf: gp_Trsf, thePoint: Optional[gp_Pnt] = gp_Pnt(0.0,0.0,0.0), theCriteria: Optional[float] = 1e+5) -> bool: ... - @staticmethod - def WiresToFaces(theWires: TopoDS_Shape, theFaces: TopoDS_Shape, theAngTol: Optional[float] = 1e-8) -> bool: ... + @staticmethod + def ClassifyFaces( + theFaces: TopTools_ListOfShape, + theSolids: TopTools_ListOfShape, + theRunParallel: bool, + theContext: IntTools_Context, + theInParts: TopTools_IndexedDataMapOfShapeListOfShape, + theShapeBoxMap: Optional[ + TopTools_DataMapOfShapeBox + ] = TopTools_DataMapOfShapeBox(), + theSolidsIF: Optional[ + TopTools_DataMapOfShapeListOfShape + ] = TopTools_DataMapOfShapeListOfShape(), + theRange: Optional[Message_ProgressRange] = Message_ProgressRange(), + ) -> None: ... + @staticmethod + def ComputeToleranceOfCB( + theCB: BOPDS_CommonBlock, theDS: BOPDS_PDS, theContext: IntTools_Context + ) -> float: ... + @staticmethod + def EdgesToWires( + theEdges: TopoDS_Shape, + theWires: TopoDS_Shape, + theShared: Optional[bool] = False, + theAngTol: Optional[float] = 1e-8, + ) -> int: ... + @staticmethod + def FillInternals( + theSolids: TopTools_ListOfShape, + theParts: TopTools_ListOfShape, + theImages: TopTools_DataMapOfShapeListOfShape, + theContext: IntTools_Context, + ) -> None: ... + @staticmethod + def IntersectVertices( + theVertices: TopTools_IndexedDataMapOfShapeReal, + theFuzzyValue: float, + theChains: TopTools_ListOfListOfShape, + ) -> None: ... + @overload + @staticmethod + def PerformCommonBlocks( + theMBlocks: BOPDS_IndexedDataMapOfPaveBlockListOfPaveBlock, + theAllocator: NCollection_BaseAllocator, + theDS: BOPDS_PDS, + theContext: Optional[IntTools_Context] = IntTools_Context(), + ) -> None: ... + @overload + @staticmethod + def PerformCommonBlocks( + theMBlocks: BOPDS_IndexedDataMapOfPaveBlockListOfInteger, + theAllocator: NCollection_BaseAllocator, + pDS: BOPDS_PDS, + theContext: Optional[IntTools_Context] = IntTools_Context(), + ) -> None: ... + @staticmethod + def TrsfToPoint( + theBox1: Bnd_Box, + theBox2: Bnd_Box, + theTrsf: gp_Trsf, + thePoint: Optional[gp_Pnt] = gp_Pnt(0.0, 0.0, 0.0), + theCriteria: Optional[float] = 1e5, + ) -> bool: ... + @staticmethod + def WiresToFaces( + theWires: TopoDS_Shape, + theFaces: TopoDS_Shape, + theAngTol: Optional[float] = 1e-8, + ) -> bool: ... class BOPAlgo_WireEdgeSet: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... - def AddShape(self, sS: TopoDS_Shape) -> None: ... - def AddStartElement(self, sS: TopoDS_Shape) -> None: ... - def Clear(self) -> None: ... - def Face(self) -> TopoDS_Face: ... - def SetFace(self, aF: TopoDS_Face) -> None: ... - def Shapes(self) -> TopTools_ListOfShape: ... - def StartElements(self) -> TopTools_ListOfShape: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... + def AddShape(self, sS: TopoDS_Shape) -> None: ... + def AddStartElement(self, sS: TopoDS_Shape) -> None: ... + def Clear(self) -> None: ... + def Face(self) -> TopoDS_Face: ... + def SetFace(self, aF: TopoDS_Face) -> None: ... + def Shapes(self) -> TopTools_ListOfShape: ... + def StartElements(self) -> TopTools_ListOfShape: ... class BOPAlgo_Algo(BOPAlgo_Options): - def Perform(self) -> None: ... + def Perform( + self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange() + ) -> None: ... class BOPAlgo_MakeConnected(BOPAlgo_Options): - def __init__(self) -> None: ... - def AddArgument(self, theS: TopoDS_Shape) -> None: ... - def Arguments(self) -> TopTools_ListOfShape: ... - def Clear(self) -> None: ... - def ClearRepetitions(self) -> None: ... - def GetModified(self, theS: TopoDS_Shape) -> TopTools_ListOfShape: ... - def GetOrigins(self, theS: TopoDS_Shape) -> TopTools_ListOfShape: ... - def History(self) -> BRepTools_History: ... - def MaterialsOnNegativeSide(self, theS: TopoDS_Shape) -> TopTools_ListOfShape: ... - def MaterialsOnPositiveSide(self, theS: TopoDS_Shape) -> TopTools_ListOfShape: ... - def Perform(self) -> None: ... - def PeriodicShape(self) -> TopoDS_Shape: ... - def PeriodicityTool(self) -> BOPAlgo_MakePeriodic: ... - def RepeatShape(self, theDirectionID: int, theTimes: int) -> None: ... - def SetArguments(self, theArgs: TopTools_ListOfShape) -> None: ... - def Shape(self) -> TopoDS_Shape: ... + def __init__(self) -> None: ... + def AddArgument(self, theS: TopoDS_Shape) -> None: ... + def Arguments(self) -> TopTools_ListOfShape: ... + def Clear(self) -> None: ... + def ClearRepetitions(self) -> None: ... + def GetModified(self, theS: TopoDS_Shape) -> TopTools_ListOfShape: ... + def GetOrigins(self, theS: TopoDS_Shape) -> TopTools_ListOfShape: ... + def History(self) -> BRepTools_History: ... + def MaterialsOnNegativeSide(self, theS: TopoDS_Shape) -> TopTools_ListOfShape: ... + def MaterialsOnPositiveSide(self, theS: TopoDS_Shape) -> TopTools_ListOfShape: ... + def Perform(self) -> None: ... + def PeriodicShape(self) -> TopoDS_Shape: ... + def PeriodicityTool(self) -> BOPAlgo_MakePeriodic: ... + def RepeatShape(self, theDirectionID: int, theTimes: int) -> None: ... + def SetArguments(self, theArgs: TopTools_ListOfShape) -> None: ... + def Shape(self) -> TopoDS_Shape: ... class BOPAlgo_MakePeriodic(BOPAlgo_Options): - def __init__(self) -> None: ... - def Clear(self) -> None: ... - def ClearRepetitions(self) -> None: ... - def GetTwins(self, theS: TopoDS_Shape) -> TopTools_ListOfShape: ... - def History(self) -> BRepTools_History: ... - def IsInputTrimmed(self, theDirectionID: int) -> bool: ... - def IsInputXTrimmed(self) -> bool: ... - def IsInputYTrimmed(self) -> bool: ... - def IsInputZTrimmed(self) -> bool: ... - def IsPeriodic(self, theDirectionID: int) -> bool: ... - def IsXPeriodic(self) -> bool: ... - def IsYPeriodic(self) -> bool: ... - def IsZPeriodic(self) -> bool: ... - def MakePeriodic(self, theDirectionID: int, theIsPeriodic: bool, thePeriod: Optional[float] = 0.0) -> None: ... - def MakeXPeriodic(self, theIsPeriodic: bool, thePeriod: Optional[float] = 0.0) -> None: ... - def MakeYPeriodic(self, theIsPeriodic: bool, thePeriod: Optional[float] = 0.0) -> None: ... - def MakeZPeriodic(self, theIsPeriodic: bool, thePeriod: Optional[float] = 0.0) -> None: ... - def Perform(self) -> None: ... - def Period(self, theDirectionID: int) -> float: ... - def PeriodFirst(self, theDirectionID: int) -> float: ... - def PeriodicityParameters(self) -> False: ... - def RepeatShape(self, theDirectionID: int, theTimes: int) -> TopoDS_Shape: ... - def RepeatedShape(self) -> TopoDS_Shape: ... - def SetShape(self, theShape: TopoDS_Shape) -> None: ... - def SetTrimmed(self, theDirectionID: int, theIsTrimmed: bool, theFirst: Optional[float] = 0.0) -> None: ... - def SetXTrimmed(self, theIsTrimmed: bool, theFirst: Optional[bool] = 0.0) -> None: ... - def SetYTrimmed(self, theIsTrimmed: bool, theFirst: Optional[bool] = 0.0) -> None: ... - def SetZTrimmed(self, theIsTrimmed: bool, theFirst: Optional[bool] = 0.0) -> None: ... - def Shape(self) -> TopoDS_Shape: ... - @staticmethod - def ToDirectionID(theDirectionID: int) -> int: ... - def XPeriod(self) -> float: ... - def XPeriodFirst(self) -> float: ... - def XRepeat(self, theTimes: int) -> TopoDS_Shape: ... - def YPeriod(self) -> float: ... - def YPeriodFirst(self) -> float: ... - def YRepeat(self, theTimes: int) -> TopoDS_Shape: ... - def ZPeriod(self) -> float: ... - def ZPeriodFirst(self) -> float: ... - def ZRepeat(self, theTimes: int) -> TopoDS_Shape: ... + def __init__(self) -> None: ... + def Clear(self) -> None: ... + def ClearRepetitions(self) -> None: ... + def GetTwins(self, theS: TopoDS_Shape) -> TopTools_ListOfShape: ... + def History(self) -> BRepTools_History: ... + def IsInputTrimmed(self, theDirectionID: int) -> bool: ... + def IsInputXTrimmed(self) -> bool: ... + def IsInputYTrimmed(self) -> bool: ... + def IsInputZTrimmed(self) -> bool: ... + def IsPeriodic(self, theDirectionID: int) -> bool: ... + def IsXPeriodic(self) -> bool: ... + def IsYPeriodic(self) -> bool: ... + def IsZPeriodic(self) -> bool: ... + def MakePeriodic( + self, theDirectionID: int, theIsPeriodic: bool, thePeriod: Optional[float] = 0.0 + ) -> None: ... + def MakeXPeriodic( + self, theIsPeriodic: bool, thePeriod: Optional[float] = 0.0 + ) -> None: ... + def MakeYPeriodic( + self, theIsPeriodic: bool, thePeriod: Optional[float] = 0.0 + ) -> None: ... + def MakeZPeriodic( + self, theIsPeriodic: bool, thePeriod: Optional[float] = 0.0 + ) -> None: ... + def Perform(self) -> None: ... + def Period(self, theDirectionID: int) -> float: ... + def PeriodFirst(self, theDirectionID: int) -> float: ... + def PeriodicityParameters(self) -> False: ... + def RepeatShape(self, theDirectionID: int, theTimes: int) -> TopoDS_Shape: ... + def RepeatedShape(self) -> TopoDS_Shape: ... + def SetShape(self, theShape: TopoDS_Shape) -> None: ... + def SetTrimmed( + self, theDirectionID: int, theIsTrimmed: bool, theFirst: Optional[float] = 0.0 + ) -> None: ... + def SetXTrimmed( + self, theIsTrimmed: bool, theFirst: Optional[bool] = 0.0 + ) -> None: ... + def SetYTrimmed( + self, theIsTrimmed: bool, theFirst: Optional[bool] = 0.0 + ) -> None: ... + def SetZTrimmed( + self, theIsTrimmed: bool, theFirst: Optional[bool] = 0.0 + ) -> None: ... + def Shape(self) -> TopoDS_Shape: ... + @staticmethod + def ToDirectionID(theDirectionID: int) -> int: ... + def XPeriod(self) -> float: ... + def XPeriodFirst(self) -> float: ... + def XRepeat(self, theTimes: int) -> TopoDS_Shape: ... + def YPeriod(self) -> float: ... + def YPeriodFirst(self) -> float: ... + def YRepeat(self, theTimes: int) -> TopoDS_Shape: ... + def ZPeriod(self) -> float: ... + def ZPeriodFirst(self) -> float: ... + def ZRepeat(self, theTimes: int) -> TopoDS_Shape: ... class BOPAlgo_ArgumentAnalyzer(BOPAlgo_Algo): - def __init__(self) -> None: ... - def GetArgumentTypeMode(self) -> bool: ... - def SetArgumentTypeMode(self, value: bool) -> None: ... - def GetContinuityMode(self) -> bool: ... - def SetContinuityMode(self, value: bool) -> None: ... - def GetCurveOnSurfaceMode(self) -> bool: ... - def SetCurveOnSurfaceMode(self, value: bool) -> None: ... - def GetCheckResult(self) -> BOPAlgo_ListOfCheckResult: ... - def GetShape1(self) -> TopoDS_Shape: ... - def GetShape2(self) -> TopoDS_Shape: ... - def HasFaulty(self) -> bool: ... - def GetMergeEdgeMode(self) -> bool: ... - def SetMergeEdgeMode(self, value: bool) -> None: ... - def GetMergeVertexMode(self) -> bool: ... - def SetMergeVertexMode(self, value: bool) -> None: ... - def OperationType(self) -> BOPAlgo_Operation: ... - def Perform(self) -> None: ... - def GetRebuildFaceMode(self) -> bool: ... - def SetRebuildFaceMode(self, value: bool) -> None: ... - def GetSelfInterMode(self) -> bool: ... - def SetSelfInterMode(self, value: bool) -> None: ... - def SetShape1(self, TheShape: TopoDS_Shape) -> None: ... - def SetShape2(self, TheShape: TopoDS_Shape) -> None: ... - def GetSmallEdgeMode(self) -> bool: ... - def SetSmallEdgeMode(self, value: bool) -> None: ... - def GetStopOnFirstFaulty(self) -> bool: ... - def SetStopOnFirstFaulty(self, value: bool) -> None: ... - def GetTangentMode(self) -> bool: ... - def SetTangentMode(self, value: bool) -> None: ... + def __init__(self) -> None: ... + def GetArgumentTypeMode(self) -> bool: ... + def SetArgumentTypeMode(self, value: bool) -> None: ... + def GetContinuityMode(self) -> bool: ... + def SetContinuityMode(self, value: bool) -> None: ... + def GetCurveOnSurfaceMode(self) -> bool: ... + def SetCurveOnSurfaceMode(self, value: bool) -> None: ... + def GetCheckResult(self) -> BOPAlgo_ListOfCheckResult: ... + def GetShape1(self) -> TopoDS_Shape: ... + def GetShape2(self) -> TopoDS_Shape: ... + def HasFaulty(self) -> bool: ... + def GetMergeEdgeMode(self) -> bool: ... + def SetMergeEdgeMode(self, value: bool) -> None: ... + def GetMergeVertexMode(self) -> bool: ... + def SetMergeVertexMode(self, value: bool) -> None: ... + def OperationType(self) -> BOPAlgo_Operation: ... + def Perform( + self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange() + ) -> None: ... + def GetRebuildFaceMode(self) -> bool: ... + def SetRebuildFaceMode(self, value: bool) -> None: ... + def GetSelfInterMode(self) -> bool: ... + def SetSelfInterMode(self, value: bool) -> None: ... + def SetShape1(self, TheShape: TopoDS_Shape) -> None: ... + def SetShape2(self, TheShape: TopoDS_Shape) -> None: ... + def GetSmallEdgeMode(self) -> bool: ... + def SetSmallEdgeMode(self, value: bool) -> None: ... + def GetStopOnFirstFaulty(self) -> bool: ... + def SetStopOnFirstFaulty(self, value: bool) -> None: ... + def GetTangentMode(self) -> bool: ... + def SetTangentMode(self, value: bool) -> None: ... class BOPAlgo_BuilderArea(BOPAlgo_Algo): - def Areas(self) -> TopTools_ListOfShape: ... - def IsAvoidInternalShapes(self) -> bool: ... - def Loops(self) -> TopTools_ListOfShape: ... - def SetAvoidInternalShapes(self, theAvoidInternal: bool) -> None: ... - def SetContext(self, theContext: IntTools_Context) -> None: ... - def SetShapes(self, theLS: TopTools_ListOfShape) -> None: ... - def Shapes(self) -> TopTools_ListOfShape: ... + def Areas(self) -> TopTools_ListOfShape: ... + def IsAvoidInternalShapes(self) -> bool: ... + def Loops(self) -> TopTools_ListOfShape: ... + def SetAvoidInternalShapes(self, theAvoidInternal: bool) -> None: ... + def SetContext(self, theContext: IntTools_Context) -> None: ... + def SetShapes(self, theLS: TopTools_ListOfShape) -> None: ... + def Shapes(self) -> TopTools_ListOfShape: ... class BOPAlgo_BuilderShape(BOPAlgo_Algo): - def Generated(self, theS: TopoDS_Shape) -> TopTools_ListOfShape: ... - def HasDeleted(self) -> bool: ... - def HasGenerated(self) -> bool: ... - def HasHistory(self) -> bool: ... - def HasModified(self) -> bool: ... - def History(self) -> BRepTools_History: ... - def IsDeleted(self, theS: TopoDS_Shape) -> bool: ... - def Modified(self, theS: TopoDS_Shape) -> TopTools_ListOfShape: ... - def SetToFillHistory(self, theHistFlag: bool) -> None: ... - def Shape(self) -> TopoDS_Shape: ... + def Generated(self, theS: TopoDS_Shape) -> TopTools_ListOfShape: ... + def HasDeleted(self) -> bool: ... + def HasGenerated(self) -> bool: ... + def HasHistory(self) -> bool: ... + def HasModified(self) -> bool: ... + def History(self) -> BRepTools_History: ... + def IsDeleted(self, theS: TopoDS_Shape) -> bool: ... + def Modified(self, theS: TopoDS_Shape) -> TopTools_ListOfShape: ... + def SetToFillHistory(self, theHistFlag: bool) -> None: ... + def Shape(self) -> TopoDS_Shape: ... + +class BOPAlgo_ParallelAlgo(BOPAlgo_Algo): + def SetProgressRange(self, theRange: Message_ProgressRange) -> None: ... class BOPAlgo_PaveFiller(BOPAlgo_Algo): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... - def AddArgument(self, theShape: TopoDS_Shape) -> None: ... - def Arguments(self) -> TopTools_ListOfShape: ... - def Context(self) -> IntTools_Context: ... - def DS(self) -> BOPDS_DS: ... - def Glue(self) -> BOPAlgo_GlueEnum: ... - def IsAvoidBuildPCurve(self) -> bool: ... - def NonDestructive(self) -> bool: ... - def PDS(self) -> BOPDS_PDS: ... - def Perform(self) -> None: ... - def SetArguments(self, theLS: TopTools_ListOfShape) -> None: ... - def SetAvoidBuildPCurve(self, theValue: bool) -> None: ... - def SetGlue(self, theGlue: BOPAlgo_GlueEnum) -> None: ... - def SetNonDestructive(self, theFlag: bool) -> None: ... - def SetSectionAttribute(self, theSecAttr: BOPAlgo_SectionAttribute) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... + def AddArgument(self, theShape: TopoDS_Shape) -> None: ... + def Arguments(self) -> TopTools_ListOfShape: ... + def Context(self) -> IntTools_Context: ... + def DS(self) -> BOPDS_DS: ... + def Glue(self) -> BOPAlgo_GlueEnum: ... + def IsAvoidBuildPCurve(self) -> bool: ... + def NonDestructive(self) -> bool: ... + def PDS(self) -> BOPDS_PDS: ... + def Perform( + self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange() + ) -> None: ... + def SetArguments(self, theLS: TopTools_ListOfShape) -> None: ... + def SetAvoidBuildPCurve(self, theValue: bool) -> None: ... + def SetGlue(self, theGlue: BOPAlgo_GlueEnum) -> None: ... + def SetNonDestructive(self, theFlag: bool) -> None: ... + def SetSectionAttribute(self, theSecAttr: BOPAlgo_SectionAttribute) -> None: ... class BOPAlgo_ShellSplitter(BOPAlgo_Algo): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... - def AddStartElement(self, theS: TopoDS_Shape) -> None: ... - def Perform(self) -> None: ... - def Shells(self) -> TopTools_ListOfShape: ... - @staticmethod - def SplitBlock(theCB: BOPTools_ConnexityBlock) -> None: ... - def StartElements(self) -> TopTools_ListOfShape: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... + def AddStartElement(self, theS: TopoDS_Shape) -> None: ... + def Perform( + self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange() + ) -> None: ... + def Shells(self) -> TopTools_ListOfShape: ... + @staticmethod + def SplitBlock(theCB: BOPTools_ConnexityBlock) -> None: ... + def StartElements(self) -> TopTools_ListOfShape: ... class BOPAlgo_WireSplitter(BOPAlgo_Algo): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... - def Context(self) -> IntTools_Context: ... - @staticmethod - def MakeWire(theLE: TopTools_ListOfShape, theW: TopoDS_Wire) -> None: ... - def Perform(self) -> None: ... - def SetContext(self, theContext: IntTools_Context) -> None: ... - def SetWES(self, theWES: BOPAlgo_WireEdgeSet) -> None: ... - @staticmethod - def SplitBlock(theF: TopoDS_Face, theCB: BOPTools_ConnexityBlock, theContext: IntTools_Context) -> None: ... - def WES(self) -> BOPAlgo_WireEdgeSet: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... + def Context(self) -> IntTools_Context: ... + @staticmethod + def MakeWire(theLE: TopTools_ListOfShape, theW: TopoDS_Wire) -> None: ... + def Perform( + self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange() + ) -> None: ... + def SetContext(self, theContext: IntTools_Context) -> None: ... + def SetWES(self, theWES: BOPAlgo_WireEdgeSet) -> None: ... + @staticmethod + def SplitBlock( + theF: TopoDS_Face, theCB: BOPTools_ConnexityBlock, theContext: IntTools_Context + ) -> None: ... + def WES(self) -> BOPAlgo_WireEdgeSet: ... class BOPAlgo_Builder(BOPAlgo_BuilderShape): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... - def AddArgument(self, theShape: TopoDS_Shape) -> None: ... - def Arguments(self) -> TopTools_ListOfShape: ... - @overload - def BuildBOP(self, theObjects: TopTools_ListOfShape, theObjState: TopAbs_State, theTools: TopTools_ListOfShape, theToolsState: TopAbs_State, theReport: Optional[Message_Report] = None) -> None: ... - @overload - def BuildBOP(self, theObjects: TopTools_ListOfShape, theTools: TopTools_ListOfShape, theOperation: BOPAlgo_Operation, theReport: Optional[Message_Report] = None) -> None: ... - def CheckInverted(self) -> bool: ... - def Clear(self) -> None: ... - def Context(self) -> IntTools_Context: ... - def Glue(self) -> BOPAlgo_GlueEnum: ... - def Images(self) -> TopTools_DataMapOfShapeListOfShape: ... - def NonDestructive(self) -> bool: ... - def Origins(self) -> TopTools_DataMapOfShapeListOfShape: ... - def PDS(self) -> BOPDS_PDS: ... - def PPaveFiller(self) -> BOPAlgo_PPaveFiller: ... - def Perform(self) -> None: ... - def PerformWithFiller(self, theFiller: BOPAlgo_PaveFiller) -> None: ... - def SetArguments(self, theLS: TopTools_ListOfShape) -> None: ... - def SetCheckInverted(self, theCheck: bool) -> None: ... - def SetGlue(self, theGlue: BOPAlgo_GlueEnum) -> None: ... - def SetNonDestructive(self, theFlag: bool) -> None: ... - def ShapesSD(self) -> TopTools_DataMapOfShapeShape: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... + def AddArgument(self, theShape: TopoDS_Shape) -> None: ... + def Arguments(self) -> TopTools_ListOfShape: ... + @overload + def BuildBOP( + self, + theObjects: TopTools_ListOfShape, + theObjState: TopAbs_State, + theTools: TopTools_ListOfShape, + theToolsState: TopAbs_State, + theRange: Message_ProgressRange, + theReport: Optional[Message_Report] = None, + ) -> None: ... + @overload + def BuildBOP( + self, + theObjects: TopTools_ListOfShape, + theTools: TopTools_ListOfShape, + theOperation: BOPAlgo_Operation, + theRange: Message_ProgressRange, + theReport: Optional[Message_Report] = None, + ) -> None: ... + def CheckInverted(self) -> bool: ... + def Clear(self) -> None: ... + def Context(self) -> IntTools_Context: ... + def Glue(self) -> BOPAlgo_GlueEnum: ... + def Images(self) -> TopTools_DataMapOfShapeListOfShape: ... + def NonDestructive(self) -> bool: ... + def Origins(self) -> TopTools_DataMapOfShapeListOfShape: ... + def PDS(self) -> BOPDS_PDS: ... + def PPaveFiller(self) -> BOPAlgo_PPaveFiller: ... + def Perform( + self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange() + ) -> None: ... + def PerformWithFiller( + self, + theFiller: BOPAlgo_PaveFiller, + theRange: Optional[Message_ProgressRange] = Message_ProgressRange(), + ) -> None: ... + def SetArguments(self, theLS: TopTools_ListOfShape) -> None: ... + def SetCheckInverted(self, theCheck: bool) -> None: ... + def SetGlue(self, theGlue: BOPAlgo_GlueEnum) -> None: ... + def SetNonDestructive(self, theFlag: bool) -> None: ... + def ShapesSD(self) -> TopTools_DataMapOfShapeShape: ... class BOPAlgo_BuilderFace(BOPAlgo_BuilderArea): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... - def Face(self) -> TopoDS_Face: ... - def Orientation(self) -> TopAbs_Orientation: ... - def Perform(self) -> None: ... - def SetFace(self, theFace: TopoDS_Face) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... + def Face(self) -> TopoDS_Face: ... + def Orientation(self) -> TopAbs_Orientation: ... + def Perform( + self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange() + ) -> None: ... + def SetFace(self, theFace: TopoDS_Face) -> None: ... class BOPAlgo_BuilderSolid(BOPAlgo_BuilderArea): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... - def GetBoxesMap(self) -> TopTools_DataMapOfShapeBox: ... - def Perform(self) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... + def GetBoxesMap(self) -> TopTools_DataMapOfShapeBox: ... + def Perform( + self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange() + ) -> None: ... class BOPAlgo_CheckerSI(BOPAlgo_PaveFiller): - def __init__(self) -> None: ... - def Perform(self) -> None: ... - def SetLevelOfCheck(self, theLevel: int) -> None: ... + def __init__(self) -> None: ... + def Perform( + self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange() + ) -> None: ... + def SetLevelOfCheck(self, theLevel: int) -> None: ... class BOPAlgo_RemoveFeatures(BOPAlgo_BuilderShape): - def __init__(self) -> None: ... - def AddFaceToRemove(self, theFace: TopoDS_Shape) -> None: ... - def AddFacesToRemove(self, theFaces: TopTools_ListOfShape) -> None: ... - def Clear(self) -> None: ... - def FacesToRemove(self) -> TopTools_ListOfShape: ... - def InputShape(self) -> TopoDS_Shape: ... - def Perform(self) -> None: ... - def SetShape(self, theShape: TopoDS_Shape) -> None: ... + def __init__(self) -> None: ... + def AddFaceToRemove(self, theFace: TopoDS_Shape) -> None: ... + def AddFacesToRemove(self, theFaces: TopTools_ListOfShape) -> None: ... + def Clear(self) -> None: ... + def FacesToRemove(self) -> TopTools_ListOfShape: ... + def InputShape(self) -> TopoDS_Shape: ... + def Perform( + self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange() + ) -> None: ... + def SetShape(self, theShape: TopoDS_Shape) -> None: ... class BOPAlgo_CellsBuilder(BOPAlgo_Builder): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... - def AddAllToResult(self, theMaterial: Optional[int] = 0, theUpdate: Optional[bool] = False) -> None: ... - def AddToResult(self, theLSToTake: TopTools_ListOfShape, theLSToAvoid: TopTools_ListOfShape, theMaterial: Optional[int] = 0, theUpdate: Optional[bool] = False) -> None: ... - def Clear(self) -> None: ... - def GetAllParts(self) -> TopoDS_Shape: ... - def MakeContainers(self) -> None: ... - def RemoveAllFromResult(self) -> None: ... - def RemoveFromResult(self, theLSToTake: TopTools_ListOfShape, theLSToAvoid: TopTools_ListOfShape) -> None: ... - def RemoveInternalBoundaries(self) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... + def AddAllToResult( + self, theMaterial: Optional[int] = 0, theUpdate: Optional[bool] = False + ) -> None: ... + def AddToResult( + self, + theLSToTake: TopTools_ListOfShape, + theLSToAvoid: TopTools_ListOfShape, + theMaterial: Optional[int] = 0, + theUpdate: Optional[bool] = False, + ) -> None: ... + def Clear(self) -> None: ... + def GetAllParts(self) -> TopoDS_Shape: ... + def MakeContainers(self) -> None: ... + def RemoveAllFromResult(self) -> None: ... + def RemoveFromResult( + self, theLSToTake: TopTools_ListOfShape, theLSToAvoid: TopTools_ListOfShape + ) -> None: ... + def RemoveInternalBoundaries(self) -> None: ... class BOPAlgo_MakerVolume(BOPAlgo_Builder): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... - def Box(self) -> TopoDS_Solid: ... - def Clear(self) -> None: ... - def Faces(self) -> TopTools_ListOfShape: ... - def IsAvoidInternalShapes(self) -> bool: ... - def IsIntersect(self) -> bool: ... - def Perform(self) -> None: ... - def SetAvoidInternalShapes(self, theAvoidInternal: bool) -> None: ... - def SetIntersect(self, bIntersect: bool) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... + def Box(self) -> TopoDS_Solid: ... + def Clear(self) -> None: ... + def Faces(self) -> TopTools_ListOfShape: ... + def IsAvoidInternalShapes(self) -> bool: ... + def IsIntersect(self) -> bool: ... + def Perform( + self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange() + ) -> None: ... + def SetAvoidInternalShapes(self, theAvoidInternal: bool) -> None: ... + def SetIntersect(self, bIntersect: bool) -> None: ... class BOPAlgo_Section(BOPAlgo_Builder): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... class BOPAlgo_ToolsProvider(BOPAlgo_Builder): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... - def AddTool(self, theShape: TopoDS_Shape) -> None: ... - def Clear(self) -> None: ... - def SetTools(self, theShapes: TopTools_ListOfShape) -> None: ... - def Tools(self) -> TopTools_ListOfShape: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... + def AddTool(self, theShape: TopoDS_Shape) -> None: ... + def Clear(self) -> None: ... + def SetTools(self, theShapes: TopTools_ListOfShape) -> None: ... + def Tools(self) -> TopTools_ListOfShape: ... class BOPAlgo_BOP(BOPAlgo_ToolsProvider): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... - def Clear(self) -> None: ... - def Operation(self) -> BOPAlgo_Operation: ... - def Perform(self) -> None: ... - def SetOperation(self, theOperation: BOPAlgo_Operation) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... + def Clear(self) -> None: ... + def Operation(self) -> BOPAlgo_Operation: ... + def Perform( + self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange() + ) -> None: ... + def SetOperation(self, theOperation: BOPAlgo_Operation) -> None: ... class BOPAlgo_Splitter(BOPAlgo_ToolsProvider): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... - def Perform(self) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... + def Perform( + self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange() + ) -> None: ... # harray1 classes # harray2 classes # hsequence classes - -BOPAlgo_Options_GetParallelMode = BOPAlgo_Options.GetParallelMode -BOPAlgo_Options_SetParallelMode = BOPAlgo_Options.SetParallelMode -BOPAlgo_Tools_ClassifyFaces = BOPAlgo_Tools.ClassifyFaces -BOPAlgo_Tools_ComputeToleranceOfCB = BOPAlgo_Tools.ComputeToleranceOfCB -BOPAlgo_Tools_EdgesToWires = BOPAlgo_Tools.EdgesToWires -BOPAlgo_Tools_FillInternals = BOPAlgo_Tools.FillInternals -BOPAlgo_Tools_IntersectVertices = BOPAlgo_Tools.IntersectVertices -BOPAlgo_Tools_PerformCommonBlocks = BOPAlgo_Tools.PerformCommonBlocks -BOPAlgo_Tools_PerformCommonBlocks = BOPAlgo_Tools.PerformCommonBlocks -BOPAlgo_Tools_TrsfToPoint = BOPAlgo_Tools.TrsfToPoint -BOPAlgo_Tools_WiresToFaces = BOPAlgo_Tools.WiresToFaces -BOPAlgo_MakePeriodic_ToDirectionID = BOPAlgo_MakePeriodic.ToDirectionID -BOPAlgo_ShellSplitter_SplitBlock = BOPAlgo_ShellSplitter.SplitBlock -BOPAlgo_WireSplitter_MakeWire = BOPAlgo_WireSplitter.MakeWire -BOPAlgo_WireSplitter_SplitBlock = BOPAlgo_WireSplitter.SplitBlock diff --git a/src/SWIG_files/wrapper/BOPDS.i b/src/SWIG_files/wrapper/BOPDS.i index f35acf509..8f22d59c5 100644 --- a/src/SWIG_files/wrapper/BOPDS.i +++ b/src/SWIG_files/wrapper/BOPDS.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BOPDSDOCSTRING "BOPDS module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_bopds.html" +https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_bopds.html" %enddef %module (package="OCC.Core", docstring=BOPDSDOCSTRING) BOPDS @@ -31,8 +31,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_bopds.html" %include ../common/CommonIncludes.i %include ../common/ExceptionCatcher.i %include ../common/FunctionTransformers.i +%include ../common/EnumTemplates.i %include ../common/Operators.i %include ../common/OccHandle.i +%include ../common/IOStream.i +%include ../common/ArrayMacros.i %{ @@ -97,7 +100,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -108,9 +111,9 @@ from OCC.Core.Exception import * /* end handles declaration */ /* templates */ -%template(BOPDS_DataMapOfIntegerListOfPaveBlock) NCollection_DataMap; +%template(BOPDS_DataMapOfIntegerListOfPaveBlock) NCollection_DataMap; -%extend NCollection_DataMap { +%extend NCollection_DataMap { PyObject* Keys() { PyObject *l=PyList_New(0); for (BOPDS_DataMapOfIntegerListOfPaveBlock::Iterator anIt1(*self); anIt1.More(); anIt1.Next()) { @@ -121,19 +124,25 @@ from OCC.Core.Exception import * return l; } }; -%template(BOPDS_DataMapOfPaveBlockListOfInteger) NCollection_DataMap,TColStd_ListOfInteger,TColStd_MapTransientHasher>; -%template(BOPDS_DataMapOfPaveBlockListOfPaveBlock) NCollection_DataMap,BOPDS_ListOfPaveBlock,TColStd_MapTransientHasher>; +%template(BOPDS_DataMapOfPaveBlockListOfInteger) NCollection_DataMap,TColStd_ListOfInteger>; +%template(BOPDS_DataMapOfPaveBlockListOfPaveBlock) NCollection_DataMap,BOPDS_ListOfPaveBlock>; %template(BOPDS_DataMapOfShapeCoupleOfPaveBlocks) NCollection_DataMap; -%template(BOPDS_IndexedDataMapOfPaveBlockListOfInteger) NCollection_IndexedDataMap,TColStd_ListOfInteger,TColStd_MapTransientHasher>; -%template(BOPDS_IndexedDataMapOfPaveBlockListOfPaveBlock) NCollection_IndexedDataMap,BOPDS_ListOfPaveBlock,TColStd_MapTransientHasher>; +%template(BOPDS_IndexedDataMapOfPaveBlockListOfInteger) NCollection_IndexedDataMap,TColStd_ListOfInteger>; +%template(BOPDS_IndexedDataMapOfPaveBlockListOfPaveBlock) NCollection_IndexedDataMap,BOPDS_ListOfPaveBlock>; %template(BOPDS_IndexedDataMapOfShapeCoupleOfPaveBlocks) NCollection_IndexedDataMap; -%template(BOPDS_IndexedMapOfPaveBlock) NCollection_IndexedMap,TColStd_MapTransientHasher>; +%template(BOPDS_IndexedMapOfPaveBlock) NCollection_IndexedMap>; %template(BOPDS_ListOfPave) NCollection_List; %extend NCollection_List { %pythoncode { def __len__(self): return self.Size() + + def __iter__(self): + it = BOPDS_ListIteratorOfListOfPave(self.this) + while it.More(): + yield it.Value() + it.Next() } }; %template(BOPDS_ListOfPaveBlock) NCollection_List>; @@ -142,12 +151,18 @@ from OCC.Core.Exception import * %pythoncode { def __len__(self): return self.Size() + + def __iter__(self): + it = BOPDS_ListIteratorOfListOfPaveBlock(self.this) + while it.More(): + yield it.Value() + it.Next() } }; -%template(BOPDS_MapOfCommonBlock) NCollection_Map,TColStd_MapTransientHasher>; -%template(BOPDS_MapOfPair) NCollection_Map; -%template(BOPDS_MapOfPave) NCollection_Map; -%template(BOPDS_MapOfPaveBlock) NCollection_Map,TColStd_MapTransientHasher>; +%template(BOPDS_MapOfCommonBlock) NCollection_Map>; +%template(BOPDS_MapOfPair) NCollection_Map; +%template(BOPDS_MapOfPave) NCollection_Map; +%template(BOPDS_MapOfPaveBlock) NCollection_Map>; %template(BOPDS_VectorOfCurve) NCollection_Vector; %template(BOPDS_VectorOfFaceInfo) NCollection_Vector; %template(BOPDS_VectorOfIndexRange) NCollection_Vector; @@ -164,40 +179,8 @@ from OCC.Core.Exception import * %template(BOPDS_VectorOfListOfPaveBlock) NCollection_Vector; %template(BOPDS_VectorOfPair) NCollection_Vector; %template(BOPDS_VectorOfPave) NCollection_Array1; +Array1ExtendIter(BOPDS_Pave) -%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_VectorOfPoint) NCollection_Vector; %template(BOPDS_VectorOfShapeInfo) NCollection_Vector; %template(BOPDS_VectorOfVectorOfPair) NCollection_Vector; @@ -208,14 +191,14 @@ typedef BOPDS_DataMapOfPaveBlockCommonBlock::Iterator BOPDS_DataMapIteratorOfDat typedef BOPDS_DataMapOfPaveBlockListOfInteger::Iterator BOPDS_DataMapIteratorOfDataMapOfPaveBlockListOfInteger; typedef BOPDS_DataMapOfPaveBlockListOfPaveBlock::Iterator BOPDS_DataMapIteratorOfDataMapOfPaveBlockListOfPaveBlock; typedef BOPDS_DataMapOfShapeCoupleOfPaveBlocks::Iterator BOPDS_DataMapIteratorOfDataMapOfShapeCoupleOfPaveBlocks; -typedef NCollection_DataMap BOPDS_DataMapOfIntegerListOfPaveBlock; -typedef NCollection_DataMap, TColStd_ListOfInteger, TColStd_MapTransientHasher> BOPDS_DataMapOfPaveBlockListOfInteger; -typedef NCollection_DataMap, BOPDS_ListOfPaveBlock, TColStd_MapTransientHasher> BOPDS_DataMapOfPaveBlockListOfPaveBlock; +typedef NCollection_DataMap BOPDS_DataMapOfIntegerListOfPaveBlock; +typedef NCollection_DataMap, TColStd_ListOfInteger> BOPDS_DataMapOfPaveBlockListOfInteger; +typedef NCollection_DataMap, BOPDS_ListOfPaveBlock> BOPDS_DataMapOfPaveBlockListOfPaveBlock; typedef NCollection_DataMap BOPDS_DataMapOfShapeCoupleOfPaveBlocks; -typedef NCollection_IndexedDataMap, TColStd_ListOfInteger, TColStd_MapTransientHasher> BOPDS_IndexedDataMapOfPaveBlockListOfInteger; -typedef NCollection_IndexedDataMap, BOPDS_ListOfPaveBlock, TColStd_MapTransientHasher> BOPDS_IndexedDataMapOfPaveBlockListOfPaveBlock; +typedef NCollection_IndexedDataMap, TColStd_ListOfInteger> BOPDS_IndexedDataMapOfPaveBlockListOfInteger; +typedef NCollection_IndexedDataMap, BOPDS_ListOfPaveBlock> BOPDS_IndexedDataMapOfPaveBlockListOfPaveBlock; typedef NCollection_IndexedDataMap BOPDS_IndexedDataMapOfShapeCoupleOfPaveBlocks; -typedef NCollection_IndexedMap, TColStd_MapTransientHasher> BOPDS_IndexedMapOfPaveBlock; +typedef NCollection_IndexedMap> BOPDS_IndexedMapOfPaveBlock; typedef BOPDS_ListOfPave::Iterator BOPDS_ListIteratorOfListOfPave; typedef BOPDS_ListOfPaveBlock::Iterator BOPDS_ListIteratorOfListOfPaveBlock; typedef NCollection_List BOPDS_ListOfPave; @@ -224,10 +207,10 @@ typedef BOPDS_MapOfCommonBlock::Iterator BOPDS_MapIteratorOfMapOfCommonBlock; typedef BOPDS_MapOfPair::Iterator BOPDS_MapIteratorOfMapOfPair; typedef BOPDS_MapOfPave::Iterator BOPDS_MapIteratorOfMapOfPave; typedef BOPDS_MapOfPaveBlock::Iterator BOPDS_MapIteratorOfMapOfPaveBlock; -typedef NCollection_Map, TColStd_MapTransientHasher> BOPDS_MapOfCommonBlock; -typedef NCollection_Map BOPDS_MapOfPair; -typedef NCollection_Map BOPDS_MapOfPave; -typedef NCollection_Map, TColStd_MapTransientHasher> BOPDS_MapOfPaveBlock; +typedef NCollection_Map> BOPDS_MapOfCommonBlock; +typedef NCollection_Map BOPDS_MapOfPair; +typedef NCollection_Map BOPDS_MapOfPave; +typedef NCollection_Map> BOPDS_MapOfPaveBlock; typedef BOPDS_DS * BOPDS_PDS; typedef BOPDS_Iterator * BOPDS_PIterator; typedef BOPDS_IteratorSI * BOPDS_PIteratorSI; @@ -257,290 +240,347 @@ typedef NCollection_Vector BOPDS_VectorOfVectorOfPair; **************************/ class BOPDS_CommonBlock : public Standard_Transient { public: - /****************** BOPDS_CommonBlock ******************/ - /**** md5 signature: 92a8163598663f388a0cc06d557c3d62 ****/ + /****** BOPDS_CommonBlock::BOPDS_CommonBlock ******/ + /****** md5 signature: 92a8163598663f388a0cc06d557c3d62 ******/ %feature("compactdefaultargs") BOPDS_CommonBlock; - %feature("autodoc", "Empty contructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BOPDS_CommonBlock; BOPDS_CommonBlock(); - /****************** BOPDS_CommonBlock ******************/ - /**** md5 signature: df854f8c56258e94a4fa5e1297ec0b70 ****/ + /****** BOPDS_CommonBlock::BOPDS_CommonBlock ******/ + /****** md5 signature: df854f8c56258e94a4fa5e1297ec0b70 ******/ %feature("compactdefaultargs") BOPDS_CommonBlock; - %feature("autodoc", "Contructor - the allocator to manage the memory. - + %feature("autodoc", " Parameters ---------- theAllocator: NCollection_BaseAllocator -Returns +Return ------- None + +Description +----------- +Constructor +Parameter theAllocator the allocator to manage the memory. ") BOPDS_CommonBlock; BOPDS_CommonBlock(const opencascade::handle & theAllocator); - /****************** AddFace ******************/ - /**** md5 signature: 714848e0da983a50147a1a6fe5cc137f ****/ + /****** BOPDS_CommonBlock::AddFace ******/ + /****** md5 signature: 714848e0da983a50147a1a6fe5cc137f ******/ %feature("compactdefaultargs") AddFace; - %feature("autodoc", "Modifier adds the index of the face to the list of indices of faces of the common block. - + %feature("autodoc", " Parameters ---------- aF: int -Returns +Return ------- None + +Description +----------- +Modifier Adds the index of the face to the list of indices of faces of the common block. ") AddFace; void AddFace(const Standard_Integer aF); - /****************** AddPaveBlock ******************/ - /**** md5 signature: 40476ddb9e36cdbcc5eee8010b97ab4c ****/ + /****** BOPDS_CommonBlock::AddPaveBlock ******/ + /****** md5 signature: 40476ddb9e36cdbcc5eee8010b97ab4c ******/ %feature("compactdefaultargs") AddPaveBlock; - %feature("autodoc", "Modifier adds the pave block to the list of pave blocks of the common block. - + %feature("autodoc", " Parameters ---------- aPB: BOPDS_PaveBlock -Returns +Return ------- None + +Description +----------- +Modifier Adds the pave block to the list of pave blocks of the common block. ") AddPaveBlock; void AddPaveBlock(const opencascade::handle & aPB); - /****************** AppendFaces ******************/ - /**** md5 signature: 5ce63b846074664c228a675dcb45a458 ****/ + /****** BOPDS_CommonBlock::AppendFaces ******/ + /****** md5 signature: 5ce63b846074664c228a675dcb45a458 ******/ %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). - + %feature("autodoc", " Parameters ---------- aLF: TColStd_ListOfInteger -Returns +Return ------- None + +Description +----------- +Modifier Appends the list of indices of faces to the list of indices of faces of the common block (the input list is emptied). ") AppendFaces; void AppendFaces(TColStd_ListOfInteger & aLF); - /****************** Contains ******************/ - /**** md5 signature: 5b22a1e11ec5b4dc5629d25b7250f464 ****/ + /****** BOPDS_CommonBlock::Contains ******/ + /****** md5 signature: 5b22a1e11ec5b4dc5629d25b7250f464 ******/ %feature("compactdefaultargs") Contains; - %feature("autodoc", "Query returns true if the common block contains a pave block that is equal to . - + %feature("autodoc", " Parameters ---------- thePB: BOPDS_PaveBlock -Returns +Return ------- bool + +Description +----------- +Query Returns true if the common block contains a pave block that is equal to . ") Contains; Standard_Boolean Contains(const opencascade::handle & thePB); - /****************** Contains ******************/ - /**** md5 signature: e176c1347c329fce1ef7d92975a35938 ****/ + /****** BOPDS_CommonBlock::Contains ******/ + /****** md5 signature: e176c1347c329fce1ef7d92975a35938 ******/ %feature("compactdefaultargs") Contains; - %feature("autodoc", "Query returns true if the common block contains the face with index equal to . - + %feature("autodoc", " Parameters ---------- theF: int -Returns +Return ------- bool + +Description +----------- +Query Returns true if the common block contains the face with index equal to . ") Contains; Standard_Boolean Contains(const Standard_Integer theF); - /****************** Dump ******************/ - /**** md5 signature: 15b4b2e195645aebb43170ff7f15952a ****/ + /****** BOPDS_CommonBlock::Dump ******/ + /****** md5 signature: 15b4b2e195645aebb43170ff7f15952a ******/ %feature("compactdefaultargs") Dump; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") Dump; void Dump(); - /****************** Edge ******************/ - /**** md5 signature: 76748ffd591f786c44105943fcd6acd5 ****/ + /****** BOPDS_CommonBlock::Edge ******/ + /****** md5 signature: 76748ffd591f786c44105943fcd6acd5 ******/ %feature("compactdefaultargs") Edge; - %feature("autodoc", "Selector returns the index of the edge of all pave blocks of the common block. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Selector Returns the index of the edge of all pave blocks of the common block. ") Edge; Standard_Integer Edge(); - /****************** Faces ******************/ - /**** md5 signature: f01cee5175506ebd45b83cb3b3b4131b ****/ + /****** BOPDS_CommonBlock::Faces ******/ + /****** md5 signature: f01cee5175506ebd45b83cb3b3b4131b ******/ %feature("compactdefaultargs") Faces; - %feature("autodoc", "Selector returns the list of indices of faces of the common block. - -Returns + %feature("autodoc", "Return ------- TColStd_ListOfInteger + +Description +----------- +Selector Returns the list of indices of faces of the common block. ") Faces; const TColStd_ListOfInteger & Faces(); - /****************** IsPaveBlockOnEdge ******************/ - /**** md5 signature: 556c9b86abcb2e00fd4015462e486e3a ****/ + /****** BOPDS_CommonBlock::IsPaveBlockOnEdge ******/ + /****** md5 signature: 556c9b86abcb2e00fd4015462e486e3a ******/ %feature("compactdefaultargs") IsPaveBlockOnEdge; - %feature("autodoc", "Query returns true if the common block contains a pave block that belongs to the edge with index . - + %feature("autodoc", " Parameters ---------- theIndex: int -Returns +Return ------- bool + +Description +----------- +Query Returns true if the common block contains a pave block that belongs to the edge with index . ") IsPaveBlockOnEdge; Standard_Boolean IsPaveBlockOnEdge(const Standard_Integer theIndex); - /****************** IsPaveBlockOnFace ******************/ - /**** md5 signature: a763ade0791732f6be00ac3203ae8699 ****/ + /****** BOPDS_CommonBlock::IsPaveBlockOnFace ******/ + /****** md5 signature: a763ade0791732f6be00ac3203ae8699 ******/ %feature("compactdefaultargs") IsPaveBlockOnFace; - %feature("autodoc", "Query returns true if the common block contains a pave block that belongs to the face with index . - + %feature("autodoc", " Parameters ---------- theIndex: int -Returns +Return ------- bool + +Description +----------- +Query Returns true if the common block contains a pave block that belongs to the face with index . ") IsPaveBlockOnFace; Standard_Boolean IsPaveBlockOnFace(const Standard_Integer theIndex); - /****************** PaveBlock1 ******************/ - /**** md5 signature: 38e85104f9e5048af41cb3d65ab07ee3 ****/ + /****** BOPDS_CommonBlock::PaveBlock1 ******/ + /****** md5 signature: 38e85104f9e5048af41cb3d65ab07ee3 ******/ %feature("compactdefaultargs") PaveBlock1; - %feature("autodoc", "Selector returns the first pave block of the common block. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Selector Returns the first pave block of the common block. ") PaveBlock1; const opencascade::handle & PaveBlock1(); - /****************** PaveBlockOnEdge ******************/ - /**** md5 signature: f3596403b9d0aac976dafd133944bfec ****/ + /****** BOPDS_CommonBlock::PaveBlockOnEdge ******/ + /****** md5 signature: f3596403b9d0aac976dafd133944bfec ******/ %feature("compactdefaultargs") PaveBlockOnEdge; - %feature("autodoc", "Selector returns the pave block that belongs to the edge with index . - + %feature("autodoc", " Parameters ---------- theIndex: int -Returns +Return ------- opencascade::handle + +Description +----------- +Selector Returns the pave block that belongs to the edge with index . ") PaveBlockOnEdge; opencascade::handle & PaveBlockOnEdge(const Standard_Integer theIndex); - /****************** PaveBlocks ******************/ - /**** md5 signature: 7d51c8e06f45b23721dd9a87453d2391 ****/ + /****** BOPDS_CommonBlock::PaveBlocks ******/ + /****** md5 signature: 7d51c8e06f45b23721dd9a87453d2391 ******/ %feature("compactdefaultargs") PaveBlocks; - %feature("autodoc", "Selector returns the list of pave blocks of the common block. - -Returns + %feature("autodoc", "Return ------- BOPDS_ListOfPaveBlock + +Description +----------- +Selector Returns the list of pave blocks of the common block. ") PaveBlocks; const BOPDS_ListOfPaveBlock & PaveBlocks(); - /****************** SetEdge ******************/ - /**** md5 signature: e5f0cb270588385f5c43b443c7a3911e ****/ + /****** BOPDS_CommonBlock::SetEdge ******/ + /****** md5 signature: e5f0cb270588385f5c43b443c7a3911e ******/ %feature("compactdefaultargs") SetEdge; - %feature("autodoc", "Modifier assign the index as the edge index to all pave blocks of the common block. - + %feature("autodoc", " Parameters ---------- theEdge: int -Returns +Return ------- None + +Description +----------- +Modifier Assign the index as the edge index to all pave blocks of the common block. ") SetEdge; void SetEdge(const Standard_Integer theEdge); - /****************** SetFaces ******************/ - /**** md5 signature: df9d7d397e0a70d489fa65f29e832130 ****/ + /****** BOPDS_CommonBlock::SetFaces ******/ + /****** md5 signature: df9d7d397e0a70d489fa65f29e832130 ******/ %feature("compactdefaultargs") SetFaces; - %feature("autodoc", "Modifier sets the list of indices of faces of the common block. - + %feature("autodoc", " Parameters ---------- aLF: TColStd_ListOfInteger -Returns +Return ------- None + +Description +----------- +Modifier Sets the list of indices of faces of the common block. ") SetFaces; void SetFaces(const TColStd_ListOfInteger & aLF); - /****************** SetPaveBlocks ******************/ - /**** md5 signature: 1b0483dad806e671b173313df9ef53b7 ****/ + /****** BOPDS_CommonBlock::SetPaveBlocks ******/ + /****** md5 signature: 1b0483dad806e671b173313df9ef53b7 ******/ %feature("compactdefaultargs") SetPaveBlocks; - %feature("autodoc", "Modifier sets the list of pave blocks for the common block. - + %feature("autodoc", " Parameters ---------- aLPB: BOPDS_ListOfPaveBlock -Returns +Return ------- None + +Description +----------- +Modifier Sets the list of pave blocks for the common block. ") SetPaveBlocks; void SetPaveBlocks(const BOPDS_ListOfPaveBlock & aLPB); - /****************** SetRealPaveBlock ******************/ - /**** md5 signature: bd90910404bf474e53d2306cbe0b543b ****/ + /****** BOPDS_CommonBlock::SetRealPaveBlock ******/ + /****** md5 signature: bd90910404bf474e53d2306cbe0b543b ******/ %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. - + %feature("autodoc", " Parameters ---------- thePB: BOPDS_PaveBlock -Returns +Return ------- None + +Description +----------- +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. ") SetRealPaveBlock; void SetRealPaveBlock(const opencascade::handle & thePB); - /****************** SetTolerance ******************/ - /**** md5 signature: 3d7576e44e771b252fc1783601ea4631 ****/ + /****** BOPDS_CommonBlock::SetTolerance ******/ + /****** md5 signature: 3d7576e44e771b252fc1783601ea4631 ******/ %feature("compactdefaultargs") SetTolerance; - %feature("autodoc", "Sets the tolerance for the common block. - + %feature("autodoc", " Parameters ---------- theTol: float -Returns +Return ------- None + +Description +----------- +Sets the tolerance for the common block. ") SetTolerance; void SetTolerance(const Standard_Real theTol); - /****************** Tolerance ******************/ - /**** md5 signature: 327dcbe220ae5ba3e0203f32c61c38db ****/ + /****** BOPDS_CommonBlock::Tolerance ******/ + /****** md5 signature: 327dcbe220ae5ba3e0203f32c61c38db ******/ %feature("compactdefaultargs") Tolerance; - %feature("autodoc", "Return the tolerance of common block. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Return the tolerance of common block. ") Tolerance; Standard_Real Tolerance(); @@ -560,192 +600,242 @@ float *********************************/ class BOPDS_CoupleOfPaveBlocks { public: - /****************** BOPDS_CoupleOfPaveBlocks ******************/ - /**** md5 signature: 4da52fdebc0ef3b3fa5901784d78a411 ****/ + /****** BOPDS_CoupleOfPaveBlocks::BOPDS_CoupleOfPaveBlocks ******/ + /****** md5 signature: 4da52fdebc0ef3b3fa5901784d78a411 ******/ %feature("compactdefaultargs") BOPDS_CoupleOfPaveBlocks; - %feature("autodoc", "/** * constructor */. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +/** * Constructor */. ") BOPDS_CoupleOfPaveBlocks; BOPDS_CoupleOfPaveBlocks(); - /****************** BOPDS_CoupleOfPaveBlocks ******************/ - /**** md5 signature: 172b7f8f41b35e1ec971579ff5740616 ****/ + /****** BOPDS_CoupleOfPaveBlocks::BOPDS_CoupleOfPaveBlocks ******/ + /****** md5 signature: 172b7f8f41b35e1ec971579ff5740616 ******/ %feature("compactdefaultargs") BOPDS_CoupleOfPaveBlocks; - %feature("autodoc", "/** * constructor * @param thepb1 * first pave block * @param thepb2 * secondt pave block */. - + %feature("autodoc", " Parameters ---------- thePB1: BOPDS_PaveBlock thePB2: BOPDS_PaveBlock -Returns +Return ------- None + +Description +----------- +/** * Constructor * +Parameter thePB1 * first pave block * +Parameter thePB2 * secondt pave block */. ") BOPDS_CoupleOfPaveBlocks; BOPDS_CoupleOfPaveBlocks(const opencascade::handle & thePB1, const opencascade::handle & thePB2); - /****************** Index ******************/ - /**** md5 signature: 0be2d384cf83d16771bb3f9c857c6326 ****/ + /****** BOPDS_CoupleOfPaveBlocks::Index ******/ + /****** md5 signature: 0be2d384cf83d16771bb3f9c857c6326 ******/ %feature("compactdefaultargs") Index; - %feature("autodoc", "/** * returns the index * returns * index */. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +/** * Returns the index * +Return: * index */. ") Index; Standard_Integer Index(); - /****************** IndexInterf ******************/ - /**** md5 signature: f53221f131b48fa86a70c5cca779b235 ****/ + /****** BOPDS_CoupleOfPaveBlocks::IndexInterf ******/ + /****** md5 signature: f53221f131b48fa86a70c5cca779b235 ******/ %feature("compactdefaultargs") IndexInterf; - %feature("autodoc", "/** * returns the index of an interference * returns * index of an interference */. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +/** * Returns the index of an interference * +Return: * index of an interference */. ") IndexInterf; Standard_Integer IndexInterf(); - /****************** PaveBlock1 ******************/ - /**** md5 signature: fbed016ee3e75bed6bbdc5dc7e5b9e3f ****/ + /****** BOPDS_CoupleOfPaveBlocks::PaveBlock1 ******/ + /****** md5 signature: fbed016ee3e75bed6bbdc5dc7e5b9e3f ******/ %feature("compactdefaultargs") PaveBlock1; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +/** * Returns the first pave block * +Return: * the first pave block */. ") PaveBlock1; const opencascade::handle & PaveBlock1(); - /****************** PaveBlock2 ******************/ - /**** md5 signature: c11c5d7da97830f552326c1f5060abd7 ****/ + /****** BOPDS_CoupleOfPaveBlocks::PaveBlock2 ******/ + /****** md5 signature: c11c5d7da97830f552326c1f5060abd7 ******/ %feature("compactdefaultargs") PaveBlock2; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +/** * Returns the second pave block * +Return: * the second pave block */. ") PaveBlock2; const opencascade::handle & PaveBlock2(); - /****************** PaveBlocks ******************/ - /**** md5 signature: 742498916321e6fa2c60c1c2fa641fb7 ****/ + /****** BOPDS_CoupleOfPaveBlocks::PaveBlocks ******/ + /****** md5 signature: 742498916321e6fa2c60c1c2fa641fb7 ******/ %feature("compactdefaultargs") PaveBlocks; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- thePB1: BOPDS_PaveBlock thePB2: BOPDS_PaveBlock -Returns +Return ------- None + +Description +----------- +/** * Returns pave blocks * +Parameter thePB1 * the first pave block * +Parameter thePB2 * the second pave block */. ") PaveBlocks; void PaveBlocks(opencascade::handle & thePB1, opencascade::handle & thePB2); - /****************** SetIndex ******************/ - /**** md5 signature: 5d636b968374ec848f4cd1fad9815499 ****/ + /****** BOPDS_CoupleOfPaveBlocks::SetIndex ******/ + /****** md5 signature: 5d636b968374ec848f4cd1fad9815499 ******/ %feature("compactdefaultargs") SetIndex; - %feature("autodoc", "/** * sets an index * @param theindex * index */. - + %feature("autodoc", " Parameters ---------- theIndex: int -Returns +Return ------- None + +Description +----------- +/** * Sets an index * +Parameter theIndex * index */. ") SetIndex; void SetIndex(const Standard_Integer theIndex); - /****************** SetIndexInterf ******************/ - /**** md5 signature: d82912a5e6070d14fdaa4e4b53bfbf16 ****/ + /****** BOPDS_CoupleOfPaveBlocks::SetIndexInterf ******/ + /****** md5 signature: d82912a5e6070d14fdaa4e4b53bfbf16 ******/ %feature("compactdefaultargs") SetIndexInterf; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theIndex: int -Returns +Return ------- None + +Description +----------- +/** * Sets an index of an interference * +Parameter theIndex * index of an interference */. ") SetIndexInterf; void SetIndexInterf(const Standard_Integer theIndex); - /****************** SetPaveBlock1 ******************/ - /**** md5 signature: acf4bc4664fb826b50250c087925e0d4 ****/ + /****** BOPDS_CoupleOfPaveBlocks::SetPaveBlock1 ******/ + /****** md5 signature: acf4bc4664fb826b50250c087925e0d4 ******/ %feature("compactdefaultargs") SetPaveBlock1; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- thePB: BOPDS_PaveBlock -Returns +Return ------- None + +Description +----------- +/** * Sets the first pave block * +Parameter thePB * the first pave block */. ") SetPaveBlock1; void SetPaveBlock1(const opencascade::handle & thePB); - /****************** SetPaveBlock2 ******************/ - /**** md5 signature: d8fe450c6b6529f87a18a0ffa11e9323 ****/ + /****** BOPDS_CoupleOfPaveBlocks::SetPaveBlock2 ******/ + /****** md5 signature: d8fe450c6b6529f87a18a0ffa11e9323 ******/ %feature("compactdefaultargs") SetPaveBlock2; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- thePB: BOPDS_PaveBlock -Returns +Return ------- None + +Description +----------- +/** * Sets the second pave block * +Parameter thePB * the second pave block */. ") SetPaveBlock2; void SetPaveBlock2(const opencascade::handle & thePB); - /****************** SetPaveBlocks ******************/ - /**** md5 signature: 718ca1b486bee0d326da69a80a6c9984 ****/ + /****** BOPDS_CoupleOfPaveBlocks::SetPaveBlocks ******/ + /****** md5 signature: 718ca1b486bee0d326da69a80a6c9984 ******/ %feature("compactdefaultargs") SetPaveBlocks; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- thePB1: BOPDS_PaveBlock thePB2: BOPDS_PaveBlock -Returns +Return ------- None + +Description +----------- +/** * Sets pave blocks * +Parameter thePB1 * first pave block * +Parameter thePB2 * secondt pave block */. ") SetPaveBlocks; void SetPaveBlocks(const opencascade::handle & thePB1, const opencascade::handle & thePB2); - /****************** SetTolerance ******************/ - /**** md5 signature: 3d7576e44e771b252fc1783601ea4631 ****/ + /****** BOPDS_CoupleOfPaveBlocks::SetTolerance ******/ + /****** md5 signature: 3d7576e44e771b252fc1783601ea4631 ******/ %feature("compactdefaultargs") SetTolerance; - %feature("autodoc", "/** * sets the tolerance associated with this couple */. - + %feature("autodoc", " Parameters ---------- theTol: float -Returns +Return ------- None + +Description +----------- +/** * Sets the tolerance associated with this couple */. ") SetTolerance; void SetTolerance(const Standard_Real theTol); - /****************** Tolerance ******************/ - /**** md5 signature: 327dcbe220ae5ba3e0203f32c61c38db ****/ + /****** BOPDS_CoupleOfPaveBlocks::Tolerance ******/ + /****** md5 signature: 327dcbe220ae5ba3e0203f32c61c38db ******/ %feature("compactdefaultargs") Tolerance; - %feature("autodoc", "/** * returns the tolerance associated with this couple */. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +/** * Returns the tolerance associated with this couple */. ") Tolerance; Standard_Real Tolerance(); @@ -763,221 +853,263 @@ float ********************/ class BOPDS_Curve { public: - /****************** BOPDS_Curve ******************/ - /**** md5 signature: b72e3545eb213b0dc6aafa98d0055770 ****/ + /****** BOPDS_Curve::BOPDS_Curve ******/ + /****** md5 signature: b72e3545eb213b0dc6aafa98d0055770 ******/ %feature("compactdefaultargs") BOPDS_Curve; - %feature("autodoc", "Empty contructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BOPDS_Curve; BOPDS_Curve(); - /****************** BOPDS_Curve ******************/ - /**** md5 signature: f93e5d7b27c0f12229424fa02dc011ee ****/ + /****** BOPDS_Curve::BOPDS_Curve ******/ + /****** md5 signature: f93e5d7b27c0f12229424fa02dc011ee ******/ %feature("compactdefaultargs") BOPDS_Curve; - %feature("autodoc", "Contructor - the allocator to manage the memory. - + %feature("autodoc", " Parameters ---------- theAllocator: NCollection_BaseAllocator -Returns +Return ------- None + +Description +----------- +Constructor +Parameter theAllocator the allocator to manage the memory. ") BOPDS_Curve; BOPDS_Curve(const opencascade::handle & theAllocator); - /****************** Box ******************/ - /**** md5 signature: 7c4ea237507e51916495e768089f878e ****/ + /****** BOPDS_Curve::Box ******/ + /****** md5 signature: 7c4ea237507e51916495e768089f878e ******/ %feature("compactdefaultargs") Box; - %feature("autodoc", "Selector returns the bounding box of the curve. - -Returns + %feature("autodoc", "Return ------- Bnd_Box + +Description +----------- +Selector Returns the bounding box of the curve. ") Box; const Bnd_Box & Box(); - /****************** ChangeBox ******************/ - /**** md5 signature: 5631b4e4d9ba9acf6c3e62a29ae5b2c2 ****/ + /****** BOPDS_Curve::ChangeBox ******/ + /****** md5 signature: 5631b4e4d9ba9acf6c3e62a29ae5b2c2 ******/ %feature("compactdefaultargs") ChangeBox; - %feature("autodoc", "Selector/modifier returns the bounding box of the curve. - -Returns + %feature("autodoc", "Return ------- Bnd_Box + +Description +----------- +Selector/Modifier Returns the bounding box of the curve. ") ChangeBox; Bnd_Box & ChangeBox(); - /****************** ChangePaveBlock1 ******************/ - /**** md5 signature: 33ecf769dcc3de2a931c764889747312 ****/ + /****** BOPDS_Curve::ChangePaveBlock1 ******/ + /****** md5 signature: 33ecf769dcc3de2a931c764889747312 ******/ %feature("compactdefaultargs") ChangePaveBlock1; - %feature("autodoc", "Selector/modifier returns initial pave block of the curve. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Selector/Modifier Returns initial pave block of the curve. ") ChangePaveBlock1; opencascade::handle & ChangePaveBlock1(); - /****************** ChangePaveBlocks ******************/ - /**** md5 signature: 5a68e5768876becb3226e5b71004feeb ****/ + /****** BOPDS_Curve::ChangePaveBlocks ******/ + /****** md5 signature: 5a68e5768876becb3226e5b71004feeb ******/ %feature("compactdefaultargs") ChangePaveBlocks; - %feature("autodoc", "Selector/modifier returns the list of pave blocks of the curve. - -Returns + %feature("autodoc", "Return ------- BOPDS_ListOfPaveBlock + +Description +----------- +Selector/Modifier Returns the list of pave blocks of the curve. ") ChangePaveBlocks; BOPDS_ListOfPaveBlock & ChangePaveBlocks(); - /****************** ChangeTechnoVertices ******************/ - /**** md5 signature: 4c2d6c6a355395f1703c558e7a77e79f ****/ + /****** BOPDS_Curve::ChangeTechnoVertices ******/ + /****** md5 signature: 4c2d6c6a355395f1703c558e7a77e79f ******/ %feature("compactdefaultargs") ChangeTechnoVertices; - %feature("autodoc", "Selector/modifier returns list of indices of technologic vertices of the curve. - -Returns + %feature("autodoc", "Return ------- TColStd_ListOfInteger + +Description +----------- +Selector/Modifier Returns list of indices of technologic vertices of the curve. ") ChangeTechnoVertices; TColStd_ListOfInteger & ChangeTechnoVertices(); - /****************** Curve ******************/ - /**** md5 signature: f601887c73fa6c5311bace5eeee9b758 ****/ + /****** BOPDS_Curve::Curve ******/ + /****** md5 signature: f601887c73fa6c5311bace5eeee9b758 ******/ %feature("compactdefaultargs") Curve; - %feature("autodoc", "Selector returns the curve. - -Returns + %feature("autodoc", "Return ------- IntTools_Curve + +Description +----------- +Selector Returns the curve. ") Curve; - const IntTools_Curve & Curve(); + IntTools_Curve Curve(); - /****************** HasEdge ******************/ - /**** md5 signature: b29d7c6fb0d75a5501e02d3f7002ad41 ****/ + /****** BOPDS_Curve::HasEdge ******/ + /****** md5 signature: b29d7c6fb0d75a5501e02d3f7002ad41 ******/ %feature("compactdefaultargs") HasEdge; - %feature("autodoc", "Query returns true if at least one pave block of the curve has edge. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Query Returns true if at least one pave block of the curve has edge. ") HasEdge; Standard_Boolean HasEdge(); - /****************** InitPaveBlock1 ******************/ - /**** md5 signature: 9029705f3ca329328cf1b75de1922c4e ****/ + /****** BOPDS_Curve::InitPaveBlock1 ******/ + /****** md5 signature: 9029705f3ca329328cf1b75de1922c4e ******/ %feature("compactdefaultargs") InitPaveBlock1; - %feature("autodoc", "Creates initial pave block of the curve. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Creates initial pave block of the curve. ") InitPaveBlock1; void InitPaveBlock1(); - /****************** PaveBlocks ******************/ - /**** md5 signature: 7d51c8e06f45b23721dd9a87453d2391 ****/ + /****** BOPDS_Curve::PaveBlocks ******/ + /****** md5 signature: 7d51c8e06f45b23721dd9a87453d2391 ******/ %feature("compactdefaultargs") PaveBlocks; - %feature("autodoc", "Selector returns the list of pave blocks of the curve. - -Returns + %feature("autodoc", "Return ------- BOPDS_ListOfPaveBlock + +Description +----------- +Selector Returns the list of pave blocks of the curve. ") PaveBlocks; const BOPDS_ListOfPaveBlock & PaveBlocks(); - /****************** SetBox ******************/ - /**** md5 signature: 08b5255d733c5c76b81013bedaa4c32d ****/ + /****** BOPDS_Curve::SetBox ******/ + /****** md5 signature: 08b5255d733c5c76b81013bedaa4c32d ******/ %feature("compactdefaultargs") SetBox; - %feature("autodoc", "Modifier sets the bounding box of the curve. - + %feature("autodoc", " Parameters ---------- theBox: Bnd_Box -Returns +Return ------- None + +Description +----------- +Modifier Sets the bounding box of the curve. ") SetBox; void SetBox(const Bnd_Box & theBox); - /****************** SetCurve ******************/ - /**** md5 signature: 7ef354f0cb8480e0895b05ee41111bd2 ****/ + /****** BOPDS_Curve::SetCurve ******/ + /****** md5 signature: 7ef354f0cb8480e0895b05ee41111bd2 ******/ %feature("compactdefaultargs") SetCurve; - %feature("autodoc", "Modifier sets the curve . - + %feature("autodoc", " Parameters ---------- theC: IntTools_Curve -Returns +Return ------- None + +Description +----------- +Modifier Sets the curve . ") SetCurve; void SetCurve(const IntTools_Curve & theC); - /****************** SetPaveBlocks ******************/ - /**** md5 signature: 396db1816ffe1d8df6fee2dd320f1385 ****/ + /****** BOPDS_Curve::SetPaveBlocks ******/ + /****** md5 signature: 396db1816ffe1d8df6fee2dd320f1385 ******/ %feature("compactdefaultargs") SetPaveBlocks; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theLPB: BOPDS_ListOfPaveBlock -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetPaveBlocks; void SetPaveBlocks(const BOPDS_ListOfPaveBlock & theLPB); - /****************** SetTolerance ******************/ - /**** md5 signature: 3d7576e44e771b252fc1783601ea4631 ****/ + /****** BOPDS_Curve::SetTolerance ******/ + /****** md5 signature: 3d7576e44e771b252fc1783601ea4631 ******/ %feature("compactdefaultargs") SetTolerance; - %feature("autodoc", "Sets the tolerance for the curve. - + %feature("autodoc", " Parameters ---------- theTol: float -Returns +Return ------- None + +Description +----------- +Sets the tolerance for the curve. ") SetTolerance; void SetTolerance(const Standard_Real theTol); - /****************** TangentialTolerance ******************/ - /**** md5 signature: c1e785de724669f2f929496d8c904a9c ****/ + /****** BOPDS_Curve::TangentialTolerance ******/ + /****** md5 signature: c1e785de724669f2f929496d8c904a9c ******/ %feature("compactdefaultargs") TangentialTolerance; - %feature("autodoc", "Returns the tangential tolerance of the curve. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the tangential tolerance of the curve. ") TangentialTolerance; Standard_Real TangentialTolerance(); - /****************** TechnoVertices ******************/ - /**** md5 signature: 9266b29efc3610cc962a9ba1b2063c66 ****/ + /****** BOPDS_Curve::TechnoVertices ******/ + /****** md5 signature: 9266b29efc3610cc962a9ba1b2063c66 ******/ %feature("compactdefaultargs") TechnoVertices; - %feature("autodoc", "Selector returns list of indices of technologic vertices of the curve. - -Returns + %feature("autodoc", "Return ------- TColStd_ListOfInteger + +Description +----------- +Selector Returns list of indices of technologic vertices of the curve. ") TechnoVertices; const TColStd_ListOfInteger & TechnoVertices(); - /****************** Tolerance ******************/ - /**** md5 signature: 327dcbe220ae5ba3e0203f32c61c38db ****/ + /****** BOPDS_Curve::Tolerance ******/ + /****** md5 signature: 327dcbe220ae5ba3e0203f32c61c38db ******/ %feature("compactdefaultargs") Tolerance; - %feature("autodoc", "Returns the tolerance of the curve. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the tolerance of the curve. ") Tolerance; Standard_Real Tolerance(); @@ -995,897 +1127,1062 @@ float *****************/ class BOPDS_DS { public: - /****************** BOPDS_DS ******************/ - /**** md5 signature: f9a3d2b6ab77d6d06736fd633088137f ****/ + /****** BOPDS_DS::BOPDS_DS ******/ + /****** md5 signature: f9a3d2b6ab77d6d06736fd633088137f ******/ %feature("compactdefaultargs") BOPDS_DS; - %feature("autodoc", "Empty contructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BOPDS_DS; BOPDS_DS(); - /****************** BOPDS_DS ******************/ - /**** md5 signature: 7ddac47ec4a184be023ac2ada301162c ****/ + /****** BOPDS_DS::BOPDS_DS ******/ + /****** md5 signature: 7ddac47ec4a184be023ac2ada301162c ******/ %feature("compactdefaultargs") BOPDS_DS; - %feature("autodoc", "Contructor theallocator - the allocator to manage the memory. - + %feature("autodoc", " Parameters ---------- theAllocator: NCollection_BaseAllocator -Returns +Return ------- None + +Description +----------- +Constructor +Parameter theAllocator the allocator to manage the memory. ") BOPDS_DS; BOPDS_DS(const opencascade::handle & theAllocator); - /****************** AddInterf ******************/ - /**** md5 signature: e208a2d1807b943e21900bd1a1bea9d8 ****/ + /****** BOPDS_DS::AddInterf ******/ + /****** md5 signature: e208a2d1807b943e21900bd1a1bea9d8 ******/ %feature("compactdefaultargs") AddInterf; - %feature("autodoc", "Modifier adds the information about an interference between shapes with indices thei1, thei2 to the summary table of interferences. - + %feature("autodoc", " Parameters ---------- theI1: int theI2: int -Returns +Return ------- bool + +Description +----------- +Modifier Adds the information about an interference between shapes with indices theI1, theI2 to the summary table of interferences. ") AddInterf; Standard_Boolean AddInterf(const Standard_Integer theI1, const Standard_Integer theI2); - /****************** AddShapeSD ******************/ - /**** md5 signature: 72049a70b73d8f79599bac8aa8fdfd13 ****/ + /****** BOPDS_DS::AddShapeSD ******/ + /****** md5 signature: 72049a70b73d8f79599bac8aa8fdfd13 ******/ %feature("compactdefaultargs") AddShapeSD; - %feature("autodoc", "Modifier adds the information about same domain shapes with indices theindex, theindexsd. - + %feature("autodoc", " Parameters ---------- theIndex: int theIndexSD: int -Returns +Return ------- None + +Description +----------- +Modifier Adds the information about same domain shapes with indices theIndex, theIndexSD. ") AddShapeSD; void AddShapeSD(const Standard_Integer theIndex, const Standard_Integer theIndexSD); - /****************** Allocator ******************/ - /**** md5 signature: 16ec5fa9c8407823fdb0339c9f1d453e ****/ + /****** BOPDS_DS::Allocator ******/ + /****** md5 signature: 16ec5fa9c8407823fdb0339c9f1d453e ******/ %feature("compactdefaultargs") Allocator; - %feature("autodoc", "Selector. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Selector. ") Allocator; const opencascade::handle & Allocator(); - /****************** AloneVertices ******************/ - /**** md5 signature: c93385a5f28b91fac106100deb86f0d3 ****/ + /****** BOPDS_DS::AloneVertices ******/ + /****** md5 signature: c93385a5f28b91fac106100deb86f0d3 ******/ %feature("compactdefaultargs") AloneVertices; - %feature("autodoc", "Selector returns the indices of alone vertices for the face with index theindex. - + %feature("autodoc", " Parameters ---------- theF: int theLI: TColStd_ListOfInteger -Returns +Return ------- None + +Description +----------- +Selector Returns the indices of alone vertices for the face with index theIndex. ") AloneVertices; void AloneVertices(const Standard_Integer theF, TColStd_ListOfInteger & theLI); - /****************** Append ******************/ - /**** md5 signature: 3e13f4e60ccb6615e6df53170490f097 ****/ + /****** BOPDS_DS::Append ******/ + /****** md5 signature: 3e13f4e60ccb6615e6df53170490f097 ******/ %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. - + %feature("autodoc", " Parameters ---------- theSI: BOPDS_ShapeInfo -Returns +Return ------- int + +Description +----------- +Modifier Appends the information about the shape [theSI] to the data structure Returns the index of theSI in the data structure. ") Append; Standard_Integer Append(const BOPDS_ShapeInfo & theSI); - /****************** Append ******************/ - /**** md5 signature: 59ffffc8522871f8f1bfab4c318f3466 ****/ + /****** BOPDS_DS::Append ******/ + /****** md5 signature: 59ffffc8522871f8f1bfab4c318f3466 ******/ %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. - + %feature("autodoc", " Parameters ---------- theS: TopoDS_Shape -Returns +Return ------- int + +Description +----------- +Modifier Appends the default information about the shape [theS] to the data structure Returns the index of theS in the data structure. ") Append; Standard_Integer Append(const TopoDS_Shape & theS); - /****************** Arguments ******************/ - /**** md5 signature: 80309a121493a4f5d1f74be6db70eb2e ****/ + /****** BOPDS_DS::Arguments ******/ + /****** md5 signature: 80309a121493a4f5d1f74be6db70eb2e ******/ %feature("compactdefaultargs") Arguments; - %feature("autodoc", "Selector returns the arguments of an operation. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +Selector Returns the arguments of an operation. ") Arguments; const TopTools_ListOfShape & Arguments(); - /****************** BuildBndBoxSolid ******************/ - /**** md5 signature: ffe165738dd3059a8eebdf7686b24a4d ****/ + /****** BOPDS_DS::BuildBndBoxSolid ******/ + /****** md5 signature: ffe165738dd3059a8eebdf7686b24a4d ******/ %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. - + %feature("autodoc", " Parameters ---------- theIndex: int theBox: Bnd_Box -theCheckInverted: bool,optional - default value is Standard_True +theCheckInverted: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +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. ") BuildBndBoxSolid; void BuildBndBoxSolid(const Standard_Integer theIndex, Bnd_Box & theBox, const Standard_Boolean theCheckInverted = Standard_True); - /****************** ChangeFaceInfo ******************/ - /**** md5 signature: 7172f9c4cd39086795416172658da4ba ****/ + /****** BOPDS_DS::ChangeFaceInfo ******/ + /****** md5 signature: 7172f9c4cd39086795416172658da4ba ******/ %feature("compactdefaultargs") ChangeFaceInfo; - %feature("autodoc", "Selector/modifier returns the state of face with index theindex. - + %feature("autodoc", " Parameters ---------- theIndex: int -Returns +Return ------- BOPDS_FaceInfo + +Description +----------- +Selector/Modifier Returns the state of face with index theIndex. ") ChangeFaceInfo; BOPDS_FaceInfo & ChangeFaceInfo(const Standard_Integer theIndex); - /****************** ChangePaveBlocks ******************/ - /**** md5 signature: 7299e5e8bc16bab9a322647e20d61b33 ****/ + /****** BOPDS_DS::ChangePaveBlocks ******/ + /****** md5 signature: 7299e5e8bc16bab9a322647e20d61b33 ******/ %feature("compactdefaultargs") ChangePaveBlocks; - %feature("autodoc", "Selector/modifier returns the pave blocks for the shape with index theindex. - + %feature("autodoc", " Parameters ---------- theIndex: int -Returns +Return ------- BOPDS_ListOfPaveBlock + +Description +----------- +Selector/Modifier Returns the pave blocks for the shape with index theIndex. ") ChangePaveBlocks; BOPDS_ListOfPaveBlock & ChangePaveBlocks(const Standard_Integer theIndex); - /****************** ChangePaveBlocksPool ******************/ - /**** md5 signature: 399ec244864e962bdc9de51c041427ce ****/ + /****** BOPDS_DS::ChangePaveBlocksPool ******/ + /****** md5 signature: 399ec244864e962bdc9de51c041427ce ******/ %feature("compactdefaultargs") ChangePaveBlocksPool; - %feature("autodoc", "Selector/modifier returns the information about pave blocks on source edges. - -Returns + %feature("autodoc", "Return ------- BOPDS_VectorOfListOfPaveBlock + +Description +----------- +Selector/Modifier Returns the information about pave blocks on source edges. ") ChangePaveBlocksPool; BOPDS_VectorOfListOfPaveBlock & ChangePaveBlocksPool(); - /****************** ChangeShapeInfo ******************/ - /**** md5 signature: 69ac6739f4453660035cfffcfae56704 ****/ + /****** BOPDS_DS::ChangeShapeInfo ******/ + /****** md5 signature: 69ac6739f4453660035cfffcfae56704 ******/ %feature("compactdefaultargs") ChangeShapeInfo; - %feature("autodoc", "Selector/modifier returns the information about the shape with index theindex. - + %feature("autodoc", " Parameters ---------- theIndex: int -Returns +Return ------- BOPDS_ShapeInfo + +Description +----------- +Selector/Modifier Returns the information about the shape with index theIndex. ") ChangeShapeInfo; BOPDS_ShapeInfo & ChangeShapeInfo(const Standard_Integer theIndex); - /****************** Clear ******************/ - /**** md5 signature: ae54be580b423a6eadbe062e0bdb44c2 ****/ + /****** BOPDS_DS::Clear ******/ + /****** md5 signature: ae54be580b423a6eadbe062e0bdb44c2 ******/ %feature("compactdefaultargs") Clear; - %feature("autodoc", "Clears the contents. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Clears the contents. ") Clear; void Clear(); - /****************** CommonBlock ******************/ - /**** md5 signature: d35c8087f25db24045441a719b2b5866 ****/ + /****** BOPDS_DS::CommonBlock ******/ + /****** md5 signature: d35c8087f25db24045441a719b2b5866 ******/ %feature("compactdefaultargs") CommonBlock; - %feature("autodoc", "Selector returns the common block. - + %feature("autodoc", " Parameters ---------- thePB: BOPDS_PaveBlock -Returns +Return ------- opencascade::handle + +Description +----------- +Selector Returns the common block. ") CommonBlock; opencascade::handle CommonBlock(const opencascade::handle & thePB); - /****************** Dump ******************/ - /**** md5 signature: 15b4b2e195645aebb43170ff7f15952a ****/ + /****** BOPDS_DS::Dump ******/ + /****** md5 signature: 15b4b2e195645aebb43170ff7f15952a ******/ %feature("compactdefaultargs") Dump; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") Dump; void Dump(); - /****************** FaceInfo ******************/ - /**** md5 signature: 6ec8ca3eb06b147f5132a85deff896dd ****/ + /****** BOPDS_DS::FaceInfo ******/ + /****** md5 signature: 6ec8ca3eb06b147f5132a85deff896dd ******/ %feature("compactdefaultargs") FaceInfo; - %feature("autodoc", "Selector returns the state of face with index theindex. - + %feature("autodoc", " Parameters ---------- theIndex: int -Returns +Return ------- BOPDS_FaceInfo + +Description +----------- +Selector Returns the state of face with index theIndex. ") FaceInfo; const BOPDS_FaceInfo & FaceInfo(const Standard_Integer theIndex); - /****************** FaceInfoIn ******************/ - /**** md5 signature: 1a244a93e8dfd09c6dfd80799a243c8c ****/ + /****** BOPDS_DS::FaceInfoIn ******/ + /****** md5 signature: 1a244a93e8dfd09c6dfd80799a243c8c ******/ %feature("compactdefaultargs") FaceInfoIn; - %feature("autodoc", "Selector returns the state in [thempb,themvp] of face with index theindex. - + %feature("autodoc", " Parameters ---------- theIndex: int theMPB: BOPDS_IndexedMapOfPaveBlock theMVP: TColStd_MapOfInteger -Returns +Return ------- None + +Description +----------- +Selector Returns the state In [theMPB,theMVP] of face with index theIndex. ") FaceInfoIn; void FaceInfoIn(const Standard_Integer theIndex, BOPDS_IndexedMapOfPaveBlock & theMPB, TColStd_MapOfInteger & theMVP); - /****************** FaceInfoOn ******************/ - /**** md5 signature: 8476cfdb28e35410fbccff7d3fea188c ****/ + /****** BOPDS_DS::FaceInfoOn ******/ + /****** md5 signature: 8476cfdb28e35410fbccff7d3fea188c ******/ %feature("compactdefaultargs") FaceInfoOn; - %feature("autodoc", "Selector returns the state on [thempb,themvp] of face with index theindex. - + %feature("autodoc", " Parameters ---------- theIndex: int theMPB: BOPDS_IndexedMapOfPaveBlock theMVP: TColStd_MapOfInteger -Returns +Return ------- None + +Description +----------- +Selector Returns the state On [theMPB,theMVP] of face with index theIndex. ") FaceInfoOn; void FaceInfoOn(const Standard_Integer theIndex, BOPDS_IndexedMapOfPaveBlock & theMPB, TColStd_MapOfInteger & theMVP); - /****************** FaceInfoPool ******************/ - /**** md5 signature: a6655407c6289d3016f98639683edc48 ****/ + /****** BOPDS_DS::FaceInfoPool ******/ + /****** md5 signature: a6655407c6289d3016f98639683edc48 ******/ %feature("compactdefaultargs") FaceInfoPool; - %feature("autodoc", "Selector returns the information about state of faces. - -Returns + %feature("autodoc", "Return ------- BOPDS_VectorOfFaceInfo + +Description +----------- +Selector Returns the information about state of faces. ") FaceInfoPool; const BOPDS_VectorOfFaceInfo & FaceInfoPool(); - /****************** HasFaceInfo ******************/ - /**** md5 signature: 028f8f8ab3e7f0f2ed26c8c06cf455c2 ****/ + /****** BOPDS_DS::HasFaceInfo ******/ + /****** md5 signature: 028f8f8ab3e7f0f2ed26c8c06cf455c2 ******/ %feature("compactdefaultargs") HasFaceInfo; - %feature("autodoc", "Query returns true if the shape with index theindex has the information about state of face. - + %feature("autodoc", " Parameters ---------- theIndex: int -Returns +Return ------- bool + +Description +----------- +Query Returns true if the shape with index theIndex has the information about state of face. ") HasFaceInfo; Standard_Boolean HasFaceInfo(const Standard_Integer theIndex); - /****************** HasInterf ******************/ - /**** md5 signature: 49283712d76e913ced59d7cd0e4cc6bf ****/ + /****** BOPDS_DS::HasInterf ******/ + /****** md5 signature: 49283712d76e913ced59d7cd0e4cc6bf ******/ %feature("compactdefaultargs") HasInterf; - %feature("autodoc", "Query returns true if the shape with index thei is interferred. - + %feature("autodoc", " Parameters ---------- theI: int -Returns +Return ------- bool + +Description +----------- +Query Returns true if the shape with index theI is interferred. ") HasInterf; Standard_Boolean HasInterf(const Standard_Integer theI); - /****************** HasInterf ******************/ - /**** md5 signature: 1d80e545b7d9a7723da7460ab8fc21ef ****/ + /****** BOPDS_DS::HasInterf ******/ + /****** md5 signature: 1d80e545b7d9a7723da7460ab8fc21ef ******/ %feature("compactdefaultargs") HasInterf; - %feature("autodoc", "Query returns true if the shapes with indices thei1, thei2 are interferred. - + %feature("autodoc", " Parameters ---------- theI1: int theI2: int -Returns +Return ------- bool + +Description +----------- +Query Returns true if the shapes with indices theI1, theI2 are interferred. ") HasInterf; Standard_Boolean HasInterf(const Standard_Integer theI1, const Standard_Integer theI2); - /****************** HasInterfShapeSubShapes ******************/ - /**** md5 signature: 0aa0734f4d409aa68bbb45efdedf95f0 ****/ + /****** BOPDS_DS::HasInterfShapeSubShapes ******/ + /****** md5 signature: 0aa0734f4d409aa68bbb45efdedf95f0 ******/ %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). - + %feature("autodoc", " Parameters ---------- theI1: int theI2: int -theFlag: bool,optional - default value is Standard_True +theFlag: bool (optional, default to Standard_True) -Returns +Return ------- bool + +Description +----------- +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). ") HasInterfShapeSubShapes; Standard_Boolean HasInterfShapeSubShapes(const Standard_Integer theI1, const Standard_Integer theI2, const Standard_Boolean theFlag = Standard_True); - /****************** HasInterfSubShapes ******************/ - /**** md5 signature: 2ae27af80945e532df7c2bbd58f11cd7 ****/ + /****** BOPDS_DS::HasInterfSubShapes ******/ + /****** md5 signature: 2ae27af80945e532df7c2bbd58f11cd7 ******/ %feature("compactdefaultargs") HasInterfSubShapes; - %feature("autodoc", "Query returns true if the shapes with indices thei1, thei2 have interferred sub-shapes. - + %feature("autodoc", " Parameters ---------- theI1: int theI2: int -Returns +Return ------- bool + +Description +----------- +Query Returns true if the shapes with indices theI1, theI2 have interferred sub-shapes. ") HasInterfSubShapes; Standard_Boolean HasInterfSubShapes(const Standard_Integer theI1, const Standard_Integer theI2); - /****************** HasPaveBlocks ******************/ - /**** md5 signature: c7343602d13620a44b73bbe33d4d439a ****/ + /****** BOPDS_DS::HasPaveBlocks ******/ + /****** md5 signature: c7343602d13620a44b73bbe33d4d439a ******/ %feature("compactdefaultargs") HasPaveBlocks; - %feature("autodoc", "Query returns true if the shape with index theindex has the information about pave blocks. - + %feature("autodoc", " Parameters ---------- theIndex: int -Returns +Return ------- bool + +Description +----------- +Query Returns true if the shape with index theIndex has the information about pave blocks. ") HasPaveBlocks; Standard_Boolean HasPaveBlocks(const Standard_Integer theIndex); - /****************** HasShapeSD ******************/ - /**** md5 signature: ae014300fee852ffc3e8e610f3a33ffb ****/ + /****** BOPDS_DS::HasShapeSD ******/ + /****** md5 signature: ae014300fee852ffc3e8e610f3a33ffb ******/ %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. - + %feature("autodoc", " Parameters ---------- theIndex: int -Returns +Return ------- theIndexSD: int + +Description +----------- +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. ") HasShapeSD; Standard_Boolean HasShapeSD(const Standard_Integer theIndex, Standard_Integer &OutValue); - /****************** Index ******************/ - /**** md5 signature: be10b23bfcf45be693e1699539996e8e ****/ + /****** BOPDS_DS::Index ******/ + /****** md5 signature: be10b23bfcf45be693e1699539996e8e ******/ %feature("compactdefaultargs") Index; - %feature("autodoc", "Selector returns the index of the shape thes. - + %feature("autodoc", " Parameters ---------- theS: TopoDS_Shape -Returns +Return ------- int + +Description +----------- +Selector Returns the index of the shape theS. ") Index; Standard_Integer Index(const TopoDS_Shape & theS); - /****************** Init ******************/ - /**** md5 signature: 119c8bca63b257c5cda6219fd077dd01 ****/ + /****** BOPDS_DS::Init ******/ + /****** md5 signature: 119c8bca63b257c5cda6219fd077dd01 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "Initializes the data structure for the arguments. - + %feature("autodoc", " Parameters ---------- -theFuzz: float,optional - default value is Precision::Confusion() +theFuzz: float (optional, default to Precision::Confusion()) -Returns +Return ------- None + +Description +----------- +Initializes the data structure for the arguments. ") Init; void Init(const Standard_Real theFuzz = Precision::Confusion()); - /****************** InitPaveBlocksForVertex ******************/ - /**** md5 signature: 15347613c57581b43dc354442cd1623d ****/ + /****** BOPDS_DS::InitPaveBlocksForVertex ******/ + /****** md5 signature: 15347613c57581b43dc354442cd1623d ******/ %feature("compactdefaultargs") InitPaveBlocksForVertex; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theNV: int -Returns +Return ------- None + +Description +----------- +No available documentation. ") InitPaveBlocksForVertex; void InitPaveBlocksForVertex(const Standard_Integer theNV); - /****************** InterfEE ******************/ - /**** md5 signature: 72fd0c4ed5824128f64e718d30ed306a ****/ + /****** BOPDS_DS::InterfEE ******/ + /****** md5 signature: 72fd0c4ed5824128f64e718d30ed306a ******/ %feature("compactdefaultargs") InterfEE; - %feature("autodoc", "Selector/modifier returns the collection of interferences edge/edge. - -Returns + %feature("autodoc", "Return ------- BOPDS_VectorOfInterfEE + +Description +----------- +Selector/Modifier Returns the collection of interferences Edge/Edge. ") InterfEE; BOPDS_VectorOfInterfEE & InterfEE(); - /****************** InterfEF ******************/ - /**** md5 signature: 2c6d8233f65184e1dc6b78c515553cdb ****/ + /****** BOPDS_DS::InterfEF ******/ + /****** md5 signature: 2c6d8233f65184e1dc6b78c515553cdb ******/ %feature("compactdefaultargs") InterfEF; - %feature("autodoc", "Selector/modifier returns the collection of interferences edge/face. - -Returns + %feature("autodoc", "Return ------- BOPDS_VectorOfInterfEF + +Description +----------- +Selector/Modifier Returns the collection of interferences Edge/Face. ") InterfEF; BOPDS_VectorOfInterfEF & InterfEF(); - /****************** InterfEZ ******************/ - /**** md5 signature: b1d903cb21c241d05a7f78f0d0f825d4 ****/ + /****** BOPDS_DS::InterfEZ ******/ + /****** md5 signature: b1d903cb21c241d05a7f78f0d0f825d4 ******/ %feature("compactdefaultargs") InterfEZ; - %feature("autodoc", "Selector/modifier returns the collection of interferences edge/solid. - -Returns + %feature("autodoc", "Return ------- BOPDS_VectorOfInterfEZ + +Description +----------- +Selector/Modifier Returns the collection of interferences Edge/Solid. ") InterfEZ; BOPDS_VectorOfInterfEZ & InterfEZ(); - /****************** InterfFF ******************/ - /**** md5 signature: e0c2ceb6e3b7331819f3629b48f57e95 ****/ + /****** BOPDS_DS::InterfFF ******/ + /****** md5 signature: e0c2ceb6e3b7331819f3629b48f57e95 ******/ %feature("compactdefaultargs") InterfFF; - %feature("autodoc", "Selector/modifier returns the collection of interferences face/face. - -Returns + %feature("autodoc", "Return ------- BOPDS_VectorOfInterfFF + +Description +----------- +Selector/Modifier Returns the collection of interferences Face/Face. ") InterfFF; BOPDS_VectorOfInterfFF & InterfFF(); - /****************** InterfFZ ******************/ - /**** md5 signature: ed8406a231822c7e94c8e25d1c71b4a1 ****/ + /****** BOPDS_DS::InterfFZ ******/ + /****** md5 signature: ed8406a231822c7e94c8e25d1c71b4a1 ******/ %feature("compactdefaultargs") InterfFZ; - %feature("autodoc", "Selector/modifier returns the collection of interferences face/solid. - -Returns + %feature("autodoc", "Return ------- BOPDS_VectorOfInterfFZ + +Description +----------- +Selector/Modifier Returns the collection of interferences Face/Solid. ") InterfFZ; BOPDS_VectorOfInterfFZ & InterfFZ(); - /****************** InterfVE ******************/ - /**** md5 signature: 1e8c1351166b78cd57dfd6252f8095fd ****/ + /****** BOPDS_DS::InterfVE ******/ + /****** md5 signature: 1e8c1351166b78cd57dfd6252f8095fd ******/ %feature("compactdefaultargs") InterfVE; - %feature("autodoc", "Selector/modifier returns the collection of interferences vertex/edge. - -Returns + %feature("autodoc", "Return ------- BOPDS_VectorOfInterfVE + +Description +----------- +Selector/Modifier Returns the collection of interferences Vertex/Edge. ") InterfVE; BOPDS_VectorOfInterfVE & InterfVE(); - /****************** InterfVF ******************/ - /**** md5 signature: a740dfccca2947945870f2853010ff59 ****/ + /****** BOPDS_DS::InterfVF ******/ + /****** md5 signature: a740dfccca2947945870f2853010ff59 ******/ %feature("compactdefaultargs") InterfVF; - %feature("autodoc", "Selector/modifier returns the collection of interferences vertex/face. - -Returns + %feature("autodoc", "Return ------- BOPDS_VectorOfInterfVF + +Description +----------- +Selector/Modifier Returns the collection of interferences Vertex/Face. ") InterfVF; BOPDS_VectorOfInterfVF & InterfVF(); - /****************** InterfVV ******************/ - /**** md5 signature: de6bd3601d77ef5be33cc83e8c5b53f5 ****/ + /****** BOPDS_DS::InterfVV ******/ + /****** md5 signature: de6bd3601d77ef5be33cc83e8c5b53f5 ******/ %feature("compactdefaultargs") InterfVV; - %feature("autodoc", "Selector/modifier returns the collection of interferences vertex/vertex. - -Returns + %feature("autodoc", "Return ------- BOPDS_VectorOfInterfVV + +Description +----------- +Selector/Modifier Returns the collection of interferences Vertex/Vertex. ") InterfVV; BOPDS_VectorOfInterfVV & InterfVV(); - /****************** InterfVZ ******************/ - /**** md5 signature: 582789694d5f35487a86689d97253193 ****/ + /****** BOPDS_DS::InterfVZ ******/ + /****** md5 signature: 582789694d5f35487a86689d97253193 ******/ %feature("compactdefaultargs") InterfVZ; - %feature("autodoc", "Selector/modifier returns the collection of interferences vertex/solid. - -Returns + %feature("autodoc", "Return ------- BOPDS_VectorOfInterfVZ + +Description +----------- +Selector/Modifier Returns the collection of interferences Vertex/Solid. ") InterfVZ; BOPDS_VectorOfInterfVZ & InterfVZ(); - /****************** InterfZZ ******************/ - /**** md5 signature: 6c404f4d7b0d8d898ff2b617987d701a ****/ + /****** BOPDS_DS::InterfZZ ******/ + /****** md5 signature: 6c404f4d7b0d8d898ff2b617987d701a ******/ %feature("compactdefaultargs") InterfZZ; - %feature("autodoc", "Selector/modifier returns the collection of interferences solid/solid. - -Returns + %feature("autodoc", "Return ------- BOPDS_VectorOfInterfZZ + +Description +----------- +Selector/Modifier Returns the collection of interferences Solid/Solid. ") InterfZZ; BOPDS_VectorOfInterfZZ & InterfZZ(); - /****************** Interferences ******************/ - /**** md5 signature: 44bcb4cfcbd2e70afdb7ecdc2eb03075 ****/ + /****** BOPDS_DS::Interferences ******/ + /****** md5 signature: 44bcb4cfcbd2e70afdb7ecdc2eb03075 ******/ %feature("compactdefaultargs") Interferences; - %feature("autodoc", "Selector returns the table of interferences //! debug. - -Returns + %feature("autodoc", "Return ------- BOPDS_MapOfPair + +Description +----------- +Selector Returns the table of interferences //! debug. ") Interferences; const BOPDS_MapOfPair & Interferences(); - /****************** IsCommonBlock ******************/ - /**** md5 signature: b0dc02e6b02caac0c57f5134435bd806 ****/ + /****** BOPDS_DS::IsCommonBlock ******/ + /****** md5 signature: b0dc02e6b02caac0c57f5134435bd806 ******/ %feature("compactdefaultargs") IsCommonBlock; - %feature("autodoc", "Query returns true if the pave block is common block. - + %feature("autodoc", " Parameters ---------- thePB: BOPDS_PaveBlock -Returns +Return ------- bool + +Description +----------- +Query Returns true if the pave block is common block. ") IsCommonBlock; Standard_Boolean IsCommonBlock(const opencascade::handle & thePB); - /****************** IsCommonBlockOnEdge ******************/ - /**** md5 signature: 4275bd033086ef1a680a1b23c40e6cf9 ****/ + /****** BOPDS_DS::IsCommonBlockOnEdge ******/ + /****** md5 signature: 4275bd033086ef1a680a1b23c40e6cf9 ******/ %feature("compactdefaultargs") IsCommonBlockOnEdge; - %feature("autodoc", "Query returns true if common block contains more then one pave block. - + %feature("autodoc", " Parameters ---------- thePB: BOPDS_PaveBlock -Returns +Return ------- bool + +Description +----------- +Query Returns true if common block contains more then one pave block. ") IsCommonBlockOnEdge; Standard_Boolean IsCommonBlockOnEdge(const opencascade::handle & thePB); - /****************** IsNewShape ******************/ - /**** md5 signature: 328a388f60ec661bb87b8eea2904a15a ****/ + /****** BOPDS_DS::IsNewShape ******/ + /****** md5 signature: 328a388f60ec661bb87b8eea2904a15a ******/ %feature("compactdefaultargs") IsNewShape; - %feature("autodoc", "Returns true if the shape of index 'i' is not the source shape/sub-shape. - + %feature("autodoc", " Parameters ---------- theIndex: int -Returns +Return ------- bool + +Description +----------- +Returns true if the shape of index 'i' is not the source shape/sub-shape. ") IsNewShape; Standard_Boolean IsNewShape(const Standard_Integer theIndex); - /****************** IsSubShape ******************/ - /**** md5 signature: 456551f926d05108170c1f9b73a108c8 ****/ + /****** BOPDS_DS::IsSubShape ******/ + /****** md5 signature: 456551f926d05108170c1f9b73a108c8 ******/ %feature("compactdefaultargs") IsSubShape; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theI1: int theI2: int -Returns +Return ------- bool + +Description +----------- +No available documentation. ") IsSubShape; Standard_Boolean IsSubShape(const Standard_Integer theI1, const Standard_Integer theI2); - /****************** IsValidShrunkData ******************/ - /**** md5 signature: 673a61f557de33779fc6f80e66567e0b ****/ + /****** BOPDS_DS::IsValidShrunkData ******/ + /****** md5 signature: 673a61f557de33779fc6f80e66567e0b ******/ %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. - + %feature("autodoc", " Parameters ---------- thePB: BOPDS_PaveBlock -Returns +Return ------- bool + +Description +----------- +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. ") IsValidShrunkData; Standard_Boolean IsValidShrunkData(const opencascade::handle & thePB); - /****************** NbInterfTypes ******************/ - /**** md5 signature: b5f8cfff2549c73ab79b5d69be986141 ****/ + /****** BOPDS_DS::NbInterfTypes ******/ + /****** md5 signature: b5f8cfff2549c73ab79b5d69be986141 ******/ %feature("compactdefaultargs") NbInterfTypes; - %feature("autodoc", "Returns the number of types of the interferences. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns the number of types of the interferences. ") NbInterfTypes; static Standard_Integer NbInterfTypes(); - /****************** NbRanges ******************/ - /**** md5 signature: ab3e782a06903e5d503c4a552710a462 ****/ + /****** BOPDS_DS::NbRanges ******/ + /****** md5 signature: ab3e782a06903e5d503c4a552710a462 ******/ %feature("compactdefaultargs") NbRanges; - %feature("autodoc", "Selector returns the number of index ranges. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Selector Returns the number of index ranges. ") NbRanges; Standard_Integer NbRanges(); - /****************** NbShapes ******************/ - /**** md5 signature: ea90d1514db96ad18becf0e04a33abf6 ****/ + /****** BOPDS_DS::NbShapes ******/ + /****** md5 signature: ea90d1514db96ad18becf0e04a33abf6 ******/ %feature("compactdefaultargs") NbShapes; - %feature("autodoc", "Selector returns the total number of shapes stored. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Selector Returns the total number of shapes stored. ") NbShapes; Standard_Integer NbShapes(); - /****************** NbSourceShapes ******************/ - /**** md5 signature: 491dd42a7738616c75f8107b1175e48f ****/ + /****** BOPDS_DS::NbSourceShapes ******/ + /****** md5 signature: 491dd42a7738616c75f8107b1175e48f ******/ %feature("compactdefaultargs") NbSourceShapes; - %feature("autodoc", "Selector returns the total number of source shapes stored. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Selector Returns the total number of source shapes stored. ") NbSourceShapes; Standard_Integer NbSourceShapes(); - /****************** PaveBlocks ******************/ - /**** md5 signature: 68dcf40aab903429d067a486b7121001 ****/ + /****** BOPDS_DS::PaveBlocks ******/ + /****** md5 signature: 68dcf40aab903429d067a486b7121001 ******/ %feature("compactdefaultargs") PaveBlocks; - %feature("autodoc", "Selector returns the pave blocks for the shape with index theindex. - + %feature("autodoc", " Parameters ---------- theIndex: int -Returns +Return ------- BOPDS_ListOfPaveBlock + +Description +----------- +Selector Returns the pave blocks for the shape with index theIndex. ") PaveBlocks; const BOPDS_ListOfPaveBlock & PaveBlocks(const Standard_Integer theIndex); - /****************** PaveBlocksPool ******************/ - /**** md5 signature: 50b4ea760186198ca75f077153c0fbc8 ****/ + /****** BOPDS_DS::PaveBlocksPool ******/ + /****** md5 signature: 50b4ea760186198ca75f077153c0fbc8 ******/ %feature("compactdefaultargs") PaveBlocksPool; - %feature("autodoc", "Selector returns the information about pave blocks on source edges. - -Returns + %feature("autodoc", "Return ------- BOPDS_VectorOfListOfPaveBlock + +Description +----------- +Selector Returns the information about pave blocks on source edges. ") PaveBlocksPool; const BOPDS_VectorOfListOfPaveBlock & PaveBlocksPool(); - /****************** Paves ******************/ - /**** md5 signature: 21e9e50b8600c1f1dae7bda888c3e95f ****/ + /****** BOPDS_DS::Paves ******/ + /****** md5 signature: 21e9e50b8600c1f1dae7bda888c3e95f ******/ %feature("compactdefaultargs") Paves; - %feature("autodoc", "Fills thelp with sorted paves of the shape with index theindex. - + %feature("autodoc", " Parameters ---------- theIndex: int theLP: BOPDS_ListOfPave -Returns +Return ------- None + +Description +----------- +Fills theLP with sorted paves of the shape with index theIndex. ") Paves; void Paves(const Standard_Integer theIndex, BOPDS_ListOfPave & theLP); - /****************** Range ******************/ - /**** md5 signature: 5ca271758ebb00dc0b21c53b042f5bf2 ****/ + /****** BOPDS_DS::Range ******/ + /****** md5 signature: 5ca271758ebb00dc0b21c53b042f5bf2 ******/ %feature("compactdefaultargs") Range; - %feature("autodoc", "Selector returns the index range 'i'. - + %feature("autodoc", " Parameters ---------- theIndex: int -Returns +Return ------- BOPDS_IndexRange + +Description +----------- +Selector Returns the index range 'i'. ") Range; const BOPDS_IndexRange & Range(const Standard_Integer theIndex); - /****************** Rank ******************/ - /**** md5 signature: 9e6a20c7b89086372aecea71b8c88749 ****/ + /****** BOPDS_DS::Rank ******/ + /****** md5 signature: 9e6a20c7b89086372aecea71b8c88749 ******/ %feature("compactdefaultargs") Rank; - %feature("autodoc", "Selector returns the rank of the shape of index 'i'. - + %feature("autodoc", " Parameters ---------- theIndex: int -Returns +Return ------- int + +Description +----------- +Selector Returns the rank of the shape of index 'i'. ") Rank; Standard_Integer Rank(const Standard_Integer theIndex); - /****************** RealPaveBlock ******************/ - /**** md5 signature: 4469a9d9a26892d7c107422010da714b ****/ + /****** BOPDS_DS::RealPaveBlock ******/ + /****** md5 signature: 4469a9d9a26892d7c107422010da714b ******/ %feature("compactdefaultargs") RealPaveBlock; - %feature("autodoc", "Selector returns the real first pave block. - + %feature("autodoc", " Parameters ---------- thePB: BOPDS_PaveBlock -Returns +Return ------- opencascade::handle + +Description +----------- +Selector Returns the real first pave block. ") RealPaveBlock; opencascade::handle RealPaveBlock(const opencascade::handle & thePB); - /****************** RefineFaceInfoIn ******************/ - /**** md5 signature: 4994c1dd02d9f8a4743cc519d32b7898 ****/ + /****** BOPDS_DS::RefineFaceInfoIn ******/ + /****** md5 signature: 4994c1dd02d9f8a4743cc519d32b7898 ******/ %feature("compactdefaultargs") RefineFaceInfoIn; - %feature("autodoc", "Removes any pave block from list of having in state if it has also the state on. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Removes any pave block from list of having IN state if it has also the state ON. ") RefineFaceInfoIn; void RefineFaceInfoIn(); - /****************** RefineFaceInfoOn ******************/ - /**** md5 signature: 7bba131ff2176723c8ccc01dd9cde80a ****/ + /****** BOPDS_DS::RefineFaceInfoOn ******/ + /****** md5 signature: 7bba131ff2176723c8ccc01dd9cde80a ******/ %feature("compactdefaultargs") RefineFaceInfoOn; - %feature("autodoc", "Refine the state on for the all faces having state information //! ++. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Refine the state On for the all faces having state information //! ++. ") RefineFaceInfoOn; void RefineFaceInfoOn(); - /****************** ReleasePaveBlocks ******************/ - /**** md5 signature: 0a9c849d65b6a4cf95be6f2d718156ae ****/ + /****** BOPDS_DS::ReleasePaveBlocks ******/ + /****** md5 signature: 0a9c849d65b6a4cf95be6f2d718156ae ******/ %feature("compactdefaultargs") ReleasePaveBlocks; - %feature("autodoc", "Clears information about paveblocks for the untouched edges. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Clears information about PaveBlocks for the untouched edges. ") ReleasePaveBlocks; void ReleasePaveBlocks(); - /****************** SetArguments ******************/ - /**** md5 signature: b894d6130aeeacff1dc8ed5150d56866 ****/ + /****** BOPDS_DS::SetArguments ******/ + /****** md5 signature: b894d6130aeeacff1dc8ed5150d56866 ******/ %feature("compactdefaultargs") SetArguments; - %feature("autodoc", "Modifier sets the arguments [thels] of an operation. - + %feature("autodoc", " Parameters ---------- theLS: TopTools_ListOfShape -Returns +Return ------- None + +Description +----------- +Modifier Sets the arguments [theLS] of an operation. ") SetArguments; void SetArguments(const TopTools_ListOfShape & theLS); - /****************** SetCommonBlock ******************/ - /**** md5 signature: e4c808b4502142fd887ea0b4a1ee2d11 ****/ + /****** BOPDS_DS::SetCommonBlock ******/ + /****** md5 signature: e4c808b4502142fd887ea0b4a1ee2d11 ******/ %feature("compactdefaultargs") SetCommonBlock; - %feature("autodoc", "Modifier sets the common block . - + %feature("autodoc", " Parameters ---------- thePB: BOPDS_PaveBlock theCB: BOPDS_CommonBlock -Returns +Return ------- None + +Description +----------- +Modifier Sets the common block . ") SetCommonBlock; void SetCommonBlock(const opencascade::handle & thePB, const opencascade::handle & theCB); - /****************** Shape ******************/ - /**** md5 signature: 517eeba390a4935f1b8879270532daf0 ****/ + /****** BOPDS_DS::Shape ******/ + /****** md5 signature: 517eeba390a4935f1b8879270532daf0 ******/ %feature("compactdefaultargs") Shape; - %feature("autodoc", "Selector returns the shape with index theindex. - + %feature("autodoc", " Parameters ---------- theIndex: int -Returns +Return ------- TopoDS_Shape + +Description +----------- +Selector Returns the shape with index theIndex. ") Shape; const TopoDS_Shape Shape(const Standard_Integer theIndex); - /****************** ShapeInfo ******************/ - /**** md5 signature: b283e86f09404b14ce48003218b1d95f ****/ + /****** BOPDS_DS::ShapeInfo ******/ + /****** md5 signature: b283e86f09404b14ce48003218b1d95f ******/ %feature("compactdefaultargs") ShapeInfo; - %feature("autodoc", "Selector returns the information about the shape with index theindex. - + %feature("autodoc", " Parameters ---------- theIndex: int -Returns +Return ------- BOPDS_ShapeInfo + +Description +----------- +Selector Returns the information about the shape with index theIndex. ") ShapeInfo; const BOPDS_ShapeInfo & ShapeInfo(const Standard_Integer theIndex); - /****************** ShapesSD ******************/ - /**** md5 signature: 527952a375cb69af338de9d02af00c94 ****/ + /****** BOPDS_DS::ShapesSD ******/ + /****** md5 signature: 527952a375cb69af338de9d02af00c94 ******/ %feature("compactdefaultargs") ShapesSD; - %feature("autodoc", "Selector returns the collection same domain shapes. - -Returns + %feature("autodoc", "Return ------- TColStd_DataMapOfIntegerInteger + +Description +----------- +Selector Returns the collection same domain shapes. ") ShapesSD; TColStd_DataMapOfIntegerInteger & ShapesSD(); - /****************** SharedEdges ******************/ - /**** md5 signature: 6bad9f50cf160f185b7036f3c972c789 ****/ + /****** BOPDS_DS::SharedEdges ******/ + /****** md5 signature: 6bad9f50cf160f185b7036f3c972c789 ******/ %feature("compactdefaultargs") SharedEdges; - %feature("autodoc", "Returns the indices of edges that are shared for the faces with indices thef1, thef2 //! same domain shapes. - + %feature("autodoc", " Parameters ---------- theF1: int @@ -1893,17 +2190,20 @@ theF2: int theLI: TColStd_ListOfInteger theAllocator: NCollection_BaseAllocator -Returns +Return ------- None + +Description +----------- +Returns the indices of edges that are shared for the faces with indices theF1, theF2 //! same domain shapes. ") SharedEdges; void SharedEdges(const Standard_Integer theF1, const Standard_Integer theF2, TColStd_ListOfInteger & theLI, const opencascade::handle & theAllocator); - /****************** SubShapesOnIn ******************/ - /**** md5 signature: cece8015c92cb291b215b2d9d9ca7c48 ****/ + /****** BOPDS_DS::SubShapesOnIn ******/ + /****** md5 signature: cece8015c92cb291b215b2d9d9ca7c48 ******/ %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). - + %feature("autodoc", " Parameters ---------- theNF1: int @@ -1913,152 +2213,188 @@ theMVCommon: TColStd_MapOfInteger thePBOnIn: BOPDS_IndexedMapOfPaveBlock theCommonPB: BOPDS_MapOfPaveBlock -Returns +Return ------- None + +Description +----------- +Returns information about ON/IN sub-shapes of the given faces. +Parameter theMVOnIn the indices of ON/IN vertices from both faces +Parameter theMVCommon the indices of common vertices for both faces +Parameter thePBOnIn all On/In pave blocks from both faces +Parameter theCommonPB the common pave blocks (that are shared by both faces). ") SubShapesOnIn; void SubShapesOnIn(const Standard_Integer theNF1, const Standard_Integer theNF2, TColStd_MapOfInteger & theMVOnIn, TColStd_MapOfInteger & theMVCommon, BOPDS_IndexedMapOfPaveBlock & thePBOnIn, BOPDS_MapOfPaveBlock & theCommonPB); - /****************** UpdateCommonBlock ******************/ - /**** md5 signature: b32849b579faa453d3ab01dfeb9151dc ****/ + /****** BOPDS_DS::UpdateCommonBlock ******/ + /****** md5 signature: b32849b579faa453d3ab01dfeb9151dc ******/ %feature("compactdefaultargs") UpdateCommonBlock; - %feature("autodoc", "Update the common block thecb. - + %feature("autodoc", " Parameters ---------- theCB: BOPDS_CommonBlock theFuzz: float -Returns +Return ------- None + +Description +----------- +Update the common block theCB. ") UpdateCommonBlock; void UpdateCommonBlock(const opencascade::handle & theCB, const Standard_Real theFuzz); - /****************** UpdateCommonBlockWithSDVertices ******************/ - /**** md5 signature: 7866c8568fa9b10af99ea0d52a1e7bd6 ****/ + /****** BOPDS_DS::UpdateCommonBlockWithSDVertices ******/ + /****** md5 signature: 7866c8568fa9b10af99ea0d52a1e7bd6 ******/ %feature("compactdefaultargs") UpdateCommonBlockWithSDVertices; - %feature("autodoc", "Update the pave block of the common block for all shapes in data structure. - + %feature("autodoc", " Parameters ---------- theCB: BOPDS_CommonBlock -Returns +Return ------- None + +Description +----------- +Update the pave block of the common block for all shapes in data structure. ") UpdateCommonBlockWithSDVertices; void UpdateCommonBlockWithSDVertices(const opencascade::handle & theCB); - /****************** UpdateFaceInfoIn ******************/ - /**** md5 signature: d1f6faa8a56b9e04059de53cd23a3d3e ****/ + /****** BOPDS_DS::UpdateFaceInfoIn ******/ + /****** md5 signature: d1f6faa8a56b9e04059de53cd23a3d3e ******/ %feature("compactdefaultargs") UpdateFaceInfoIn; - %feature("autodoc", "Update the state in of face with index theindex. - + %feature("autodoc", " Parameters ---------- theIndex: int -Returns +Return ------- None + +Description +----------- +Update the state In of face with index theIndex. ") UpdateFaceInfoIn; void UpdateFaceInfoIn(const Standard_Integer theIndex); - /****************** UpdateFaceInfoIn ******************/ - /**** md5 signature: 47926fbf15ea8dcc9ce09be605c96f01 ****/ + /****** BOPDS_DS::UpdateFaceInfoIn ******/ + /****** md5 signature: 47926fbf15ea8dcc9ce09be605c96f01 ******/ %feature("compactdefaultargs") UpdateFaceInfoIn; - %feature("autodoc", "Update the state in for all faces in the given map. - + %feature("autodoc", " Parameters ---------- theFaces: TColStd_MapOfInteger -Returns +Return ------- None + +Description +----------- +Update the state IN for all faces in the given map. ") UpdateFaceInfoIn; void UpdateFaceInfoIn(const TColStd_MapOfInteger & theFaces); - /****************** UpdateFaceInfoOn ******************/ - /**** md5 signature: 22cf949c85b68e28fd0defaaa4cce57e ****/ + /****** BOPDS_DS::UpdateFaceInfoOn ******/ + /****** md5 signature: 22cf949c85b68e28fd0defaaa4cce57e ******/ %feature("compactdefaultargs") UpdateFaceInfoOn; - %feature("autodoc", "Update the state on of face with index theindex. - + %feature("autodoc", " Parameters ---------- theIndex: int -Returns +Return ------- None + +Description +----------- +Update the state On of face with index theIndex. ") UpdateFaceInfoOn; void UpdateFaceInfoOn(const Standard_Integer theIndex); - /****************** UpdateFaceInfoOn ******************/ - /**** md5 signature: 6da1f3a5aca4bb07a6f21a02a641463c ****/ + /****** BOPDS_DS::UpdateFaceInfoOn ******/ + /****** md5 signature: 6da1f3a5aca4bb07a6f21a02a641463c ******/ %feature("compactdefaultargs") UpdateFaceInfoOn; - %feature("autodoc", "Update the state on for all faces in the given map. - + %feature("autodoc", " Parameters ---------- theFaces: TColStd_MapOfInteger -Returns +Return ------- None + +Description +----------- +Update the state ON for all faces in the given map. ") UpdateFaceInfoOn; void UpdateFaceInfoOn(const TColStd_MapOfInteger & theFaces); - /****************** UpdatePaveBlock ******************/ - /**** md5 signature: 973c8bac7cd25e5ce96fdadcf00095b9 ****/ + /****** BOPDS_DS::UpdatePaveBlock ******/ + /****** md5 signature: 973c8bac7cd25e5ce96fdadcf00095b9 ******/ %feature("compactdefaultargs") UpdatePaveBlock; - %feature("autodoc", "Update the pave block thepb. - + %feature("autodoc", " Parameters ---------- thePB: BOPDS_PaveBlock -Returns +Return ------- None + +Description +----------- +Update the pave block thePB. ") UpdatePaveBlock; void UpdatePaveBlock(const opencascade::handle & thePB); - /****************** UpdatePaveBlockWithSDVertices ******************/ - /**** md5 signature: 031de64d1777b53b8baf2f1e7686ac1a ****/ + /****** BOPDS_DS::UpdatePaveBlockWithSDVertices ******/ + /****** md5 signature: 031de64d1777b53b8baf2f1e7686ac1a ******/ %feature("compactdefaultargs") UpdatePaveBlockWithSDVertices; - %feature("autodoc", "Update the pave block for all shapes in data structure. - + %feature("autodoc", " Parameters ---------- thePB: BOPDS_PaveBlock -Returns +Return ------- None + +Description +----------- +Update the pave block for all shapes in data structure. ") UpdatePaveBlockWithSDVertices; void UpdatePaveBlockWithSDVertices(const opencascade::handle & thePB); - /****************** UpdatePaveBlocks ******************/ - /**** md5 signature: bb1d4d78bee9eea0b8a56f12f0f8e45e ****/ + /****** BOPDS_DS::UpdatePaveBlocks ******/ + /****** md5 signature: bb1d4d78bee9eea0b8a56f12f0f8e45e ******/ %feature("compactdefaultargs") UpdatePaveBlocks; - %feature("autodoc", "Update the pave blocks for the all shapes in data structure. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Update the pave blocks for the all shapes in data structure. ") UpdatePaveBlocks; void UpdatePaveBlocks(); - /****************** UpdatePaveBlocksWithSDVertices ******************/ - /**** md5 signature: b4f70b32e3469c14b16be36928c1fe26 ****/ + /****** BOPDS_DS::UpdatePaveBlocksWithSDVertices ******/ + /****** md5 signature: b4f70b32e3469c14b16be36928c1fe26 ******/ %feature("compactdefaultargs") UpdatePaveBlocksWithSDVertices; - %feature("autodoc", "Update the pave blocks for all shapes in data structure. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Update the pave blocks for all shapes in data structure. ") UpdatePaveBlocksWithSDVertices; void UpdatePaveBlocksWithSDVertices(); @@ -2076,198 +2412,235 @@ None ***********************/ class BOPDS_FaceInfo { public: - /****************** BOPDS_FaceInfo ******************/ - /**** md5 signature: dbf881bcf2d92c472cd8524dc1a94d79 ****/ + /****** BOPDS_FaceInfo::BOPDS_FaceInfo ******/ + /****** md5 signature: dbf881bcf2d92c472cd8524dc1a94d79 ******/ %feature("compactdefaultargs") BOPDS_FaceInfo; - %feature("autodoc", "Empty contructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BOPDS_FaceInfo; BOPDS_FaceInfo(); - /****************** BOPDS_FaceInfo ******************/ - /**** md5 signature: 58156401c00b9ebd5196c21ce568756b ****/ + /****** BOPDS_FaceInfo::BOPDS_FaceInfo ******/ + /****** md5 signature: 58156401c00b9ebd5196c21ce568756b ******/ %feature("compactdefaultargs") BOPDS_FaceInfo; - %feature("autodoc", "Contructor theallocator - the allocator to manage the memory. - + %feature("autodoc", " Parameters ---------- theAllocator: NCollection_BaseAllocator -Returns +Return ------- None + +Description +----------- +Constructor +Parameter theAllocator the allocator to manage the memory. ") BOPDS_FaceInfo; BOPDS_FaceInfo(const opencascade::handle & theAllocator); - /****************** ChangePaveBlocksIn ******************/ - /**** md5 signature: d4ec18f81c144198dbecd960b589646d ****/ + /****** BOPDS_FaceInfo::ChangePaveBlocksIn ******/ + /****** md5 signature: d4ec18f81c144198dbecd960b589646d ******/ %feature("compactdefaultargs") ChangePaveBlocksIn; - %feature("autodoc", "Selector/modifier returns the pave blocks of the face that have state in. - -Returns + %feature("autodoc", "Return ------- BOPDS_IndexedMapOfPaveBlock + +Description +----------- +Selector/Modifier Returns the pave blocks of the face that have state In. ") ChangePaveBlocksIn; BOPDS_IndexedMapOfPaveBlock & ChangePaveBlocksIn(); - /****************** ChangePaveBlocksOn ******************/ - /**** md5 signature: 90def9e02fcda3b9ebf87cebe3c18fe1 ****/ + /****** BOPDS_FaceInfo::ChangePaveBlocksOn ******/ + /****** md5 signature: 90def9e02fcda3b9ebf87cebe3c18fe1 ******/ %feature("compactdefaultargs") ChangePaveBlocksOn; - %feature("autodoc", "Selector/modifier returns the pave blocks of the face that have state on. - -Returns + %feature("autodoc", "Return ------- BOPDS_IndexedMapOfPaveBlock + +Description +----------- +Selector/Modifier Returns the pave blocks of the face that have state On. ") ChangePaveBlocksOn; BOPDS_IndexedMapOfPaveBlock & ChangePaveBlocksOn(); - /****************** ChangePaveBlocksSc ******************/ - /**** md5 signature: aa60dacd7c757139c1caac5022fd9507 ****/ + /****** BOPDS_FaceInfo::ChangePaveBlocksSc ******/ + /****** md5 signature: aa60dacd7c757139c1caac5022fd9507 ******/ %feature("compactdefaultargs") ChangePaveBlocksSc; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- BOPDS_IndexedMapOfPaveBlock + +Description +----------- +No available documentation. ") ChangePaveBlocksSc; BOPDS_IndexedMapOfPaveBlock & ChangePaveBlocksSc(); - /****************** ChangeVerticesIn ******************/ - /**** md5 signature: a1f733653d918c0dfda07b61761078cd ****/ + /****** BOPDS_FaceInfo::ChangeVerticesIn ******/ + /****** md5 signature: a1f733653d918c0dfda07b61761078cd ******/ %feature("compactdefaultargs") ChangeVerticesIn; - %feature("autodoc", "Selector/modifier returns the list of indices for vertices of the face that have state in //! on. - -Returns + %feature("autodoc", "Return ------- TColStd_MapOfInteger + +Description +----------- +Selector/Modifier Returns the list of indices for vertices of the face that have state In //! On. ") ChangeVerticesIn; TColStd_MapOfInteger & ChangeVerticesIn(); - /****************** ChangeVerticesOn ******************/ - /**** md5 signature: 0a12e27e688f637bedea8ad74c0e05d2 ****/ + /****** BOPDS_FaceInfo::ChangeVerticesOn ******/ + /****** md5 signature: 0a12e27e688f637bedea8ad74c0e05d2 ******/ %feature("compactdefaultargs") ChangeVerticesOn; - %feature("autodoc", "Selector/modifier returns the list of indices for vertices of the face that have state on //! sections. - -Returns + %feature("autodoc", "Return ------- TColStd_MapOfInteger + +Description +----------- +Selector/Modifier Returns the list of indices for vertices of the face that have state On //! Sections. ") ChangeVerticesOn; TColStd_MapOfInteger & ChangeVerticesOn(); - /****************** ChangeVerticesSc ******************/ - /**** md5 signature: 1f58d37b0d25660e9e7d3f4bf9d48ecb ****/ + /****** BOPDS_FaceInfo::ChangeVerticesSc ******/ + /****** md5 signature: 1f58d37b0d25660e9e7d3f4bf9d48ecb ******/ %feature("compactdefaultargs") ChangeVerticesSc; - %feature("autodoc", "Selector/modifier returns the list of indices for section vertices of the face //! others. - -Returns + %feature("autodoc", "Return ------- TColStd_MapOfInteger + +Description +----------- +Selector/Modifier Returns the list of indices for section vertices of the face //! Others. ") ChangeVerticesSc; TColStd_MapOfInteger & ChangeVerticesSc(); - /****************** Clear ******************/ - /**** md5 signature: ae54be580b423a6eadbe062e0bdb44c2 ****/ + /****** BOPDS_FaceInfo::Clear ******/ + /****** md5 signature: ae54be580b423a6eadbe062e0bdb44c2 ******/ %feature("compactdefaultargs") Clear; - %feature("autodoc", "Clears the contents. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Clears the contents. ") Clear; void Clear(); - /****************** Index ******************/ - /**** md5 signature: 407d80ef3037d55996765198adea3908 ****/ + /****** BOPDS_FaceInfo::Index ******/ + /****** md5 signature: 407d80ef3037d55996765198adea3908 ******/ %feature("compactdefaultargs") Index; - %feature("autodoc", "Selector returns the index of the face //! in. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Selector Returns the index of the face //! In. ") Index; Standard_Integer Index(); - /****************** PaveBlocksIn ******************/ - /**** md5 signature: 61287d2aeb3dd1d9dbce972f7cebee70 ****/ + /****** BOPDS_FaceInfo::PaveBlocksIn ******/ + /****** md5 signature: 61287d2aeb3dd1d9dbce972f7cebee70 ******/ %feature("compactdefaultargs") PaveBlocksIn; - %feature("autodoc", "Selector returns the pave blocks of the face that have state in. - -Returns + %feature("autodoc", "Return ------- BOPDS_IndexedMapOfPaveBlock + +Description +----------- +Selector Returns the pave blocks of the face that have state In. ") PaveBlocksIn; const BOPDS_IndexedMapOfPaveBlock & PaveBlocksIn(); - /****************** PaveBlocksOn ******************/ - /**** md5 signature: 17bd7d43663bc3af7acd3e789afb9726 ****/ + /****** BOPDS_FaceInfo::PaveBlocksOn ******/ + /****** md5 signature: 17bd7d43663bc3af7acd3e789afb9726 ******/ %feature("compactdefaultargs") PaveBlocksOn; - %feature("autodoc", "Selector returns the pave blocks of the face that have state on. - -Returns + %feature("autodoc", "Return ------- BOPDS_IndexedMapOfPaveBlock + +Description +----------- +Selector Returns the pave blocks of the face that have state On. ") PaveBlocksOn; const BOPDS_IndexedMapOfPaveBlock & PaveBlocksOn(); - /****************** PaveBlocksSc ******************/ - /**** md5 signature: 8832f11b747d5c9394d12acc32cbe3b2 ****/ + /****** BOPDS_FaceInfo::PaveBlocksSc ******/ + /****** md5 signature: 8832f11b747d5c9394d12acc32cbe3b2 ******/ %feature("compactdefaultargs") PaveBlocksSc; - %feature("autodoc", "Selector returns the pave blocks of the face that are pave blocks of section edges. - -Returns + %feature("autodoc", "Return ------- BOPDS_IndexedMapOfPaveBlock + +Description +----------- +Selector Returns the pave blocks of the face that are pave blocks of section edges. ") PaveBlocksSc; const BOPDS_IndexedMapOfPaveBlock & PaveBlocksSc(); - /****************** SetIndex ******************/ - /**** md5 signature: 4dd534b2ead8c5c1524ec783c183f5c4 ****/ + /****** BOPDS_FaceInfo::SetIndex ******/ + /****** md5 signature: 4dd534b2ead8c5c1524ec783c183f5c4 ******/ %feature("compactdefaultargs") SetIndex; - %feature("autodoc", "Modifier sets the index of the face . - + %feature("autodoc", " Parameters ---------- theI: int -Returns +Return ------- None + +Description +----------- +Modifier Sets the index of the face . ") SetIndex; void SetIndex(const Standard_Integer theI); - /****************** VerticesIn ******************/ - /**** md5 signature: 362e2d28d22b892a3738b9c7a690e95a ****/ + /****** BOPDS_FaceInfo::VerticesIn ******/ + /****** md5 signature: 362e2d28d22b892a3738b9c7a690e95a ******/ %feature("compactdefaultargs") VerticesIn; - %feature("autodoc", "Selector returns the list of indices for vertices of the face that have state in. - -Returns + %feature("autodoc", "Return ------- TColStd_MapOfInteger + +Description +----------- +Selector Returns the list of indices for vertices of the face that have state In. ") VerticesIn; const TColStd_MapOfInteger & VerticesIn(); - /****************** VerticesOn ******************/ - /**** md5 signature: c771e20b61ac134ac88806946a87ed16 ****/ + /****** BOPDS_FaceInfo::VerticesOn ******/ + /****** md5 signature: c771e20b61ac134ac88806946a87ed16 ******/ %feature("compactdefaultargs") VerticesOn; - %feature("autodoc", "Selector returns the list of indices for vertices of the face that have state on. - -Returns + %feature("autodoc", "Return ------- TColStd_MapOfInteger + +Description +----------- +Selector Returns the list of indices for vertices of the face that have state On. ") VerticesOn; const TColStd_MapOfInteger & VerticesOn(); - /****************** VerticesSc ******************/ - /**** md5 signature: 38fefd7c99e35fc9b840686df0e2c151 ****/ + /****** BOPDS_FaceInfo::VerticesSc ******/ + /****** md5 signature: 38fefd7c99e35fc9b840686df0e2c151 ******/ %feature("compactdefaultargs") VerticesSc; - %feature("autodoc", "Selector returns the list of indices for section vertices of the face. - -Returns + %feature("autodoc", "Return ------- TColStd_MapOfInteger + +Description +----------- +Selector Returns the list of indices for section vertices of the face. ") VerticesSc; const TColStd_MapOfInteger & VerticesSc(); @@ -2285,123 +2658,146 @@ TColStd_MapOfInteger *************************/ class BOPDS_IndexRange { public: - /****************** BOPDS_IndexRange ******************/ - /**** md5 signature: 99ee5feaa0f5f2e8071f8ec605997513 ****/ + /****** BOPDS_IndexRange::BOPDS_IndexRange ******/ + /****** md5 signature: 99ee5feaa0f5f2e8071f8ec605997513 ******/ %feature("compactdefaultargs") BOPDS_IndexRange; - %feature("autodoc", "Empty contructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BOPDS_IndexRange; BOPDS_IndexRange(); - /****************** Contains ******************/ - /**** md5 signature: de9f24e21b92884020c7cb857ce850c9 ****/ + /****** BOPDS_IndexRange::Contains ******/ + /****** md5 signature: de9f24e21b92884020c7cb857ce850c9 ******/ %feature("compactdefaultargs") Contains; - %feature("autodoc", "Query returns true if the range contains . - + %feature("autodoc", " Parameters ---------- theIndex: int -Returns +Return ------- bool + +Description +----------- +Query Returns true if the range contains . ") Contains; Standard_Boolean Contains(const Standard_Integer theIndex); - /****************** Dump ******************/ - /**** md5 signature: 15b4b2e195645aebb43170ff7f15952a ****/ + /****** BOPDS_IndexRange::Dump ******/ + /****** md5 signature: 15b4b2e195645aebb43170ff7f15952a ******/ %feature("compactdefaultargs") Dump; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") Dump; void Dump(); - /****************** First ******************/ - /**** md5 signature: e9b9b55d0f95896826fc1a7c7b3fdf28 ****/ + /****** BOPDS_IndexRange::First ******/ + /****** md5 signature: e9b9b55d0f95896826fc1a7c7b3fdf28 ******/ %feature("compactdefaultargs") First; - %feature("autodoc", "Selector returns the first index of the range. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Selector Returns the first index of the range. ") First; Standard_Integer First(); - /****************** Indices ******************/ - /**** md5 signature: 1aace53eafd7d667008f722852898b9a ****/ + /****** BOPDS_IndexRange::Indices ******/ + /****** md5 signature: 1aace53eafd7d667008f722852898b9a ******/ %feature("compactdefaultargs") Indices; - %feature("autodoc", "Selector returns the first index of the range returns the second index of the range . - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- theI1: int theI2: int + +Description +----------- +Selector Returns the first index of the range Returns the second index of the range . ") Indices; void Indices(Standard_Integer &OutValue, Standard_Integer &OutValue); - /****************** Last ******************/ - /**** md5 signature: b34ffc707f6352bb6f1f4c928c84e251 ****/ + /****** BOPDS_IndexRange::Last ******/ + /****** md5 signature: b34ffc707f6352bb6f1f4c928c84e251 ******/ %feature("compactdefaultargs") Last; - %feature("autodoc", "Selector returns the second index of the range. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Selector Returns the second index of the range. ") Last; Standard_Integer Last(); - /****************** SetFirst ******************/ - /**** md5 signature: c94ec2556faffb224a51e9a98299f9b0 ****/ + /****** BOPDS_IndexRange::SetFirst ******/ + /****** md5 signature: c94ec2556faffb224a51e9a98299f9b0 ******/ %feature("compactdefaultargs") SetFirst; - %feature("autodoc", "Modifier sets the first index of the range. - + %feature("autodoc", " Parameters ---------- theI1: int -Returns +Return ------- None + +Description +----------- +Modifier Sets the first index of the range. ") SetFirst; void SetFirst(const Standard_Integer theI1); - /****************** SetIndices ******************/ - /**** md5 signature: 17bcbf84f32630b3982706ad9985593d ****/ + /****** BOPDS_IndexRange::SetIndices ******/ + /****** md5 signature: 17bcbf84f32630b3982706ad9985593d ******/ %feature("compactdefaultargs") SetIndices; - %feature("autodoc", "Modifier sets the first index of the range sets the second index of the range . - + %feature("autodoc", " Parameters ---------- theI1: int theI2: int -Returns +Return ------- None + +Description +----------- +Modifier Sets the first index of the range Sets the second index of the range . ") SetIndices; void SetIndices(const Standard_Integer theI1, const Standard_Integer theI2); - /****************** SetLast ******************/ - /**** md5 signature: d221889926836d6791218229fbe20e40 ****/ + /****** BOPDS_IndexRange::SetLast ******/ + /****** md5 signature: d221889926836d6791218229fbe20e40 ******/ %feature("compactdefaultargs") SetLast; - %feature("autodoc", "Modifier sets the second index of the range. - + %feature("autodoc", " Parameters ---------- theI2: int -Returns +Return ------- None + +Description +----------- +Modifier Sets the second index of the range. ") SetLast; void SetLast(const Standard_Integer theI2); @@ -2422,202 +2818,237 @@ None ***********************/ class BOPDS_Iterator { public: - /****************** BOPDS_Iterator ******************/ - /**** md5 signature: e39e9f80c57e8765bf71893ec4fb5f63 ****/ + /****** BOPDS_Iterator::BOPDS_Iterator ******/ + /****** md5 signature: e39e9f80c57e8765bf71893ec4fb5f63 ******/ %feature("compactdefaultargs") BOPDS_Iterator; - %feature("autodoc", "Empty contructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BOPDS_Iterator; BOPDS_Iterator(); - /****************** BOPDS_Iterator ******************/ - /**** md5 signature: bd9e216d5b71b4ba1d9bd6a1bf309cd2 ****/ + /****** BOPDS_Iterator::BOPDS_Iterator ******/ + /****** md5 signature: bd9e216d5b71b4ba1d9bd6a1bf309cd2 ******/ %feature("compactdefaultargs") BOPDS_Iterator; - %feature("autodoc", "Contructor theallocator - the allocator to manage the memory. - + %feature("autodoc", " Parameters ---------- theAllocator: NCollection_BaseAllocator -Returns +Return ------- None + +Description +----------- +Constructor +Parameter theAllocator the allocator to manage the memory. ") BOPDS_Iterator; BOPDS_Iterator(const opencascade::handle & theAllocator); - /****************** BlockLength ******************/ - /**** md5 signature: c48a9343cc3ae4a238042d11b275a008 ****/ + /****** BOPDS_Iterator::BlockLength ******/ + /****** md5 signature: c48a9343cc3ae4a238042d11b275a008 ******/ %feature("compactdefaultargs") BlockLength; - %feature("autodoc", "Returns the block length. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns the block length. ") BlockLength; Standard_Integer BlockLength(); - /****************** DS ******************/ - /**** md5 signature: 276afbb7db8ff236fa734c0f56c3dcb8 ****/ + /****** BOPDS_Iterator::DS ******/ + /****** md5 signature: 276afbb7db8ff236fa734c0f56c3dcb8 ******/ %feature("compactdefaultargs") DS; - %feature("autodoc", "Selector returns the data structure. - -Returns + %feature("autodoc", "Return ------- BOPDS_DS + +Description +----------- +Selector Returns the data structure. ") DS; const BOPDS_DS & DS(); - /****************** ExpectedLength ******************/ - /**** md5 signature: a3e8f5f279b8e7d7a447257012becee5 ****/ + /****** BOPDS_Iterator::ExpectedLength ******/ + /****** md5 signature: a3e8f5f279b8e7d7a447257012becee5 ******/ %feature("compactdefaultargs") ExpectedLength; - %feature("autodoc", "Returns the number of intersections founded. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns the number of intersections founded. ") ExpectedLength; Standard_Integer ExpectedLength(); - /****************** Initialize ******************/ - /**** md5 signature: 7fb13a93a2b1f54b2e5a8d53cbc8474e ****/ + /****** BOPDS_Iterator::Initialize ******/ + /****** md5 signature: 7fb13a93a2b1f54b2e5a8d53cbc8474e ******/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "Initializes the iterator thetype1 - the first type of shape thetype2 - the second type of shape. - + %feature("autodoc", " Parameters ---------- theType1: TopAbs_ShapeEnum theType2: TopAbs_ShapeEnum -Returns +Return ------- None + +Description +----------- +Initializes the iterator theType1 - the first type of shape theType2 - the second type of shape. ") Initialize; void Initialize(const TopAbs_ShapeEnum theType1, const TopAbs_ShapeEnum theType2); - /****************** IntersectExt ******************/ - /**** md5 signature: 9d4c97d64751f482efc17b0e0a1e1b4e ****/ + /****** BOPDS_Iterator::IntersectExt ******/ + /****** md5 signature: 9d4c97d64751f482efc17b0e0a1e1b4e ******/ %feature("compactdefaultargs") IntersectExt; - %feature("autodoc", "Updates the tree of bounding boxes with increased boxes and intersects such elements with the tree. - + %feature("autodoc", " Parameters ---------- theIndicies: TColStd_MapOfInteger -Returns +Return ------- None + +Description +----------- +Updates the tree of Bounding Boxes with increased boxes and intersects such elements with the tree. ") IntersectExt; void IntersectExt(const TColStd_MapOfInteger & theIndicies); - /****************** More ******************/ - /**** md5 signature: 6f6e915c9a3dca758c059d9e8af02dff ****/ + /****** BOPDS_Iterator::More ******/ + /****** md5 signature: 6f6e915c9a3dca758c059d9e8af02dff ******/ %feature("compactdefaultargs") More; - %feature("autodoc", "Returns true if still there are pairs of intersected shapes. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns true if still there are pairs of intersected shapes. ") More; Standard_Boolean More(); - /****************** NbExtInterfs ******************/ - /**** md5 signature: dfeacf68558221c9d70c06d649e6cdeb ****/ + /****** BOPDS_Iterator::NbExtInterfs ******/ + /****** md5 signature: dfeacf68558221c9d70c06d649e6cdeb ******/ %feature("compactdefaultargs") NbExtInterfs; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbExtInterfs; static Standard_Integer NbExtInterfs(); - /****************** Next ******************/ - /**** md5 signature: f35c0df5f1d7c877986db18081404532 ****/ + /****** BOPDS_Iterator::Next ******/ + /****** md5 signature: f35c0df5f1d7c877986db18081404532 ******/ %feature("compactdefaultargs") Next; - %feature("autodoc", "Moves iterations ahead. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Moves iterations ahead. ") Next; void Next(); - /****************** Prepare ******************/ - /**** md5 signature: 26ccd55174924d4ca54bbaad1979b27a ****/ + /****** BOPDS_Iterator::Prepare ******/ + /****** md5 signature: 26ccd55174924d4ca54bbaad1979b27a ******/ %feature("compactdefaultargs") Prepare; - %feature("autodoc", "Perform the intersection algorithm and prepare the results to be used. - + %feature("autodoc", " Parameters ---------- -theCtx: IntTools_Context,optional - default value is opencascade::handle() -theCheckOBB: bool,optional - default value is Standard_False -theFuzzyValue: float,optional - default value is Precision::Confusion() +theCtx: IntTools_Context (optional, default to opencascade::handle()) +theCheckOBB: bool (optional, default to Standard_False) +theFuzzyValue: float (optional, default to Precision::Confusion()) -Returns +Return ------- None + +Description +----------- +Perform the intersection algorithm and prepare the results to be used. ") Prepare; virtual void Prepare(const opencascade::handle & theCtx = opencascade::handle(), const Standard_Boolean theCheckOBB = Standard_False, const Standard_Real theFuzzyValue = Precision::Confusion()); - /****************** RunParallel ******************/ - /**** md5 signature: f5c0831f57ee3d1a6d238da5afdb5132 ****/ + /****** BOPDS_Iterator::RunParallel ******/ + /****** md5 signature: f5c0831f57ee3d1a6d238da5afdb5132 ******/ %feature("compactdefaultargs") RunParallel; - %feature("autodoc", "Returns the flag of parallel processing. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns the flag of parallel processing. ") RunParallel; Standard_Boolean RunParallel(); - /****************** SetDS ******************/ - /**** md5 signature: 7bd5ab1492cdf0ff6021812020f58396 ****/ + /****** BOPDS_Iterator::SetDS ******/ + /****** md5 signature: 7bd5ab1492cdf0ff6021812020f58396 ******/ %feature("compactdefaultargs") SetDS; - %feature("autodoc", "Modifier sets the data structure to process. - + %feature("autodoc", " Parameters ---------- pDS: BOPDS_PDS -Returns +Return ------- None + +Description +----------- +Modifier Sets the data structure to process. ") SetDS; void SetDS(const BOPDS_PDS & pDS); - /****************** SetRunParallel ******************/ - /**** md5 signature: 0a82d8fce1725e61203aa8606820455a ****/ + /****** BOPDS_Iterator::SetRunParallel ******/ + /****** md5 signature: 0a82d8fce1725e61203aa8606820455a ******/ %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", " Parameters ---------- theFlag: bool -Returns +Return ------- None + +Description +----------- +Set the flag of parallel processing if is true the parallel processing is switched on if is false the parallel processing is switched off. ") SetRunParallel; void SetRunParallel(const Standard_Boolean theFlag); - /****************** Value ******************/ - /**** md5 signature: e158a5c3b0133290b10886e826c5728a ****/ + /****** BOPDS_Iterator::Value ******/ + /****** md5 signature: e158a5c3b0133290b10886e826c5728a ******/ %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", " Parameters ---------- -Returns +Return ------- theIndex1: int theIndex2: int + +Description +----------- +Returns indices (DS) of intersected shapes theIndex1 - the index of the first shape theIndex2 - the index of the second shape. ") Value; void Value(Standard_Integer &OutValue, Standard_Integer &OutValue); @@ -2635,150 +3066,111 @@ theIndex2: int *******************/ class BOPDS_Pair { public: - /****************** BOPDS_Pair ******************/ - /**** md5 signature: 5718626f84016ecf34e58bc5be00bee7 ****/ + /****** BOPDS_Pair::BOPDS_Pair ******/ + /****** md5 signature: 5718626f84016ecf34e58bc5be00bee7 ******/ %feature("compactdefaultargs") BOPDS_Pair; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BOPDS_Pair; BOPDS_Pair(); - /****************** BOPDS_Pair ******************/ - /**** md5 signature: a80bf875fa78b42adb2f59e1eefedf94 ****/ + /****** BOPDS_Pair::BOPDS_Pair ******/ + /****** md5 signature: a80bf875fa78b42adb2f59e1eefedf94 ******/ %feature("compactdefaultargs") BOPDS_Pair; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theIndex1: int theIndex2: int -Returns +Return ------- None + +Description +----------- +No available documentation. ") BOPDS_Pair; BOPDS_Pair(const Standard_Integer theIndex1, const Standard_Integer theIndex2); - /****************** HashCode ******************/ - /**** md5 signature: 72f7d6afdc2f4b2c860a8e39d683afaf ****/ - %feature("compactdefaultargs") HashCode; - %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]. - -Parameters ----------- -theUpperBound: int - -Returns -------- -int -") HashCode; - Standard_Integer HashCode(const Standard_Integer theUpperBound); - - %extend { - Standard_Integer __hash__() { - return $self->HashCode(2147483647); - } - }; - - /****************** Indices ******************/ - /**** md5 signature: fc670924ecc87d0f1a8c9d00f037ebe4 ****/ + /****** BOPDS_Pair::Indices ******/ + /****** md5 signature: fc670924ecc87d0f1a8c9d00f037ebe4 ******/ %feature("compactdefaultargs") Indices; - %feature("autodoc", "Gets the indices. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- theIndex1: int theIndex2: int + +Description +----------- +Gets the indices. ") Indices; void Indices(Standard_Integer &OutValue, Standard_Integer &OutValue); - /****************** IsEqual ******************/ - /**** md5 signature: 2a26c85591699ee3a4cd3636721cf551 ****/ + /****** BOPDS_Pair::IsEqual ******/ + /****** md5 signature: 2a26c85591699ee3a4cd3636721cf551 ******/ %feature("compactdefaultargs") IsEqual; - %feature("autodoc", "Returns true if the pair is equal to . - + %feature("autodoc", " Parameters ---------- theOther: BOPDS_Pair -Returns +Return ------- bool + +Description +----------- +Returns true if the Pair is equal to . ") IsEqual; Standard_Boolean IsEqual(const BOPDS_Pair & theOther); - /****************** SetIndices ******************/ - /**** md5 signature: 4a99b9589d6dfa574dfdd1dec8b330c1 ****/ + /****** BOPDS_Pair::SetIndices ******/ + /****** md5 signature: 4a99b9589d6dfa574dfdd1dec8b330c1 ******/ %feature("compactdefaultargs") SetIndices; - %feature("autodoc", "Sets the indices. - + %feature("autodoc", " Parameters ---------- theIndex1: int theIndex2: int -Returns +Return ------- None + +Description +----------- +Sets the indices. ") SetIndices; void SetIndices(const Standard_Integer theIndex1, const Standard_Integer theIndex2); -}; - - -%extend BOPDS_Pair { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/**************************** -* class BOPDS_PairMapHasher * -****************************/ -class BOPDS_PairMapHasher { - public: - /****************** HashCode ******************/ - /**** md5 signature: c85e47133175d83798068d7e64809c5e ****/ - %feature("compactdefaultargs") HashCode; - %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]. - -Parameters ----------- -thePair: BOPDS_Pair -theUpperBound: int - -Returns -------- -int -") HashCode; - static Standard_Integer HashCode(const BOPDS_Pair & thePair, const Standard_Integer theUpperBound); - - /****************** IsEqual ******************/ - /**** md5 signature: 71eb4c6ff68b1ae40d9a934717eb05d6 ****/ - %feature("compactdefaultargs") IsEqual; - %feature("autodoc", "No available documentation. - -Parameters ----------- -thePair1: BOPDS_Pair -thePair2: BOPDS_Pair - -Returns -------- -bool -") IsEqual; - static Standard_Boolean IsEqual(const BOPDS_Pair & thePair1, const BOPDS_Pair & thePair2); +%extend{ + bool __eq_wrapper__(const BOPDS_Pair other) { + if (*self==other) return true; + else return false; + } +} +%pythoncode { +def __eq__(self, right): + try: + return self.__eq_wrapper__(right) + except: + return False +} }; -%extend BOPDS_PairMapHasher { +%extend BOPDS_Pair { %pythoncode { __repr__ = _dumps_object } @@ -2789,139 +3181,162 @@ bool *******************/ class BOPDS_Pave { public: - /****************** BOPDS_Pave ******************/ - /**** md5 signature: 479b452478ff7c0152e5ce58231932e9 ****/ + /****** BOPDS_Pave::BOPDS_Pave ******/ + /****** md5 signature: 479b452478ff7c0152e5ce58231932e9 ******/ %feature("compactdefaultargs") BOPDS_Pave; - %feature("autodoc", "Empty contructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BOPDS_Pave; BOPDS_Pave(); - /****************** Contents ******************/ - /**** md5 signature: 8d6c165389fbe2212946ff8887dce0d9 ****/ + /****** BOPDS_Pave::Contents ******/ + /****** md5 signature: 8d6c165389fbe2212946ff8887dce0d9 ******/ %feature("compactdefaultargs") Contents; - %feature("autodoc", "Selector returns the index of vertex returns the parameter of vertex . - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- theIndex: int theParameter: float + +Description +----------- +Selector Returns the index of vertex Returns the parameter of vertex . ") Contents; void Contents(Standard_Integer &OutValue, Standard_Real &OutValue); - /****************** Dump ******************/ - /**** md5 signature: 15b4b2e195645aebb43170ff7f15952a ****/ + /****** BOPDS_Pave::Dump ******/ + /****** md5 signature: 15b4b2e195645aebb43170ff7f15952a ******/ %feature("compactdefaultargs") Dump; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") Dump; void Dump(); - /****************** Index ******************/ - /**** md5 signature: 407d80ef3037d55996765198adea3908 ****/ + /****** BOPDS_Pave::Index ******/ + /****** md5 signature: 407d80ef3037d55996765198adea3908 ******/ %feature("compactdefaultargs") Index; - %feature("autodoc", "Selector returns the index of vertex. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Selector Returns the index of vertex. ") Index; Standard_Integer Index(); - /****************** IsEqual ******************/ - /**** md5 signature: 0b129306f2f26156fa7470e2a273ce31 ****/ + /****** BOPDS_Pave::IsEqual ******/ + /****** md5 signature: 0b129306f2f26156fa7470e2a273ce31 ******/ %feature("compactdefaultargs") IsEqual; - %feature("autodoc", "Query returns true if thr parameter od this is equal to the parameter of . - + %feature("autodoc", " Parameters ---------- theOther: BOPDS_Pave -Returns +Return ------- bool + +Description +----------- +Query Returns true if thr parameter od this is equal to the parameter of . ") IsEqual; Standard_Boolean IsEqual(const BOPDS_Pave & theOther); - /****************** IsLess ******************/ - /**** md5 signature: f4ff1bf54e635febefa541366f89cb0c ****/ + /****** BOPDS_Pave::IsLess ******/ + /****** md5 signature: f4ff1bf54e635febefa541366f89cb0c ******/ %feature("compactdefaultargs") IsLess; - %feature("autodoc", "Query returns true if thr parameter od this is less than the parameter of . - + %feature("autodoc", " Parameters ---------- theOther: BOPDS_Pave -Returns +Return ------- bool + +Description +----------- +Query Returns true if thr parameter od this is less than the parameter of . ") IsLess; Standard_Boolean IsLess(const BOPDS_Pave & theOther); - /****************** Parameter ******************/ - /**** md5 signature: ecccdeaeaa0deed24f47e61ad75d24f1 ****/ + /****** BOPDS_Pave::Parameter ******/ + /****** md5 signature: ecccdeaeaa0deed24f47e61ad75d24f1 ******/ %feature("compactdefaultargs") Parameter; - %feature("autodoc", "Selector returns the parameter of vertex. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Selector Returns the parameter of vertex. ") Parameter; Standard_Real Parameter(); - /****************** SetIndex ******************/ - /**** md5 signature: 8837cdd415a0f5c290f45964b1b4e33b ****/ + /****** BOPDS_Pave::SetIndex ******/ + /****** md5 signature: 8837cdd415a0f5c290f45964b1b4e33b ******/ %feature("compactdefaultargs") SetIndex; - %feature("autodoc", "Modifier sets the index of vertex . - + %feature("autodoc", " Parameters ---------- theIndex: int -Returns +Return ------- None + +Description +----------- +Modifier Sets the index of vertex . ") SetIndex; void SetIndex(const Standard_Integer theIndex); - /****************** SetParameter ******************/ - /**** md5 signature: ddedd9344e341801e5774c5b9b817896 ****/ + /****** BOPDS_Pave::SetParameter ******/ + /****** md5 signature: ddedd9344e341801e5774c5b9b817896 ******/ %feature("compactdefaultargs") SetParameter; - %feature("autodoc", "Modifier sets the parameter of vertex . - + %feature("autodoc", " Parameters ---------- theParameter: float -Returns +Return ------- None + +Description +----------- +Modifier Sets the parameter of vertex . ") SetParameter; void SetParameter(const Standard_Real theParameter); - %extend{ - bool __eq_wrapper__(const BOPDS_Pave other) { - if (*self==other) return true; - else return false; - } - } - %pythoncode { - def __eq__(self, right): - try: - return self.__eq_wrapper__(right) - except: - return False - } +%extend{ + bool __eq_wrapper__(const BOPDS_Pave other) { + if (*self==other) return true; + else return false; + } +} +%pythoncode { +def __eq__(self, right): + try: + return self.__eq_wrapper__(right) + except: + return False +} }; @@ -2936,349 +3351,414 @@ None ************************/ class BOPDS_PaveBlock : public Standard_Transient { public: - /****************** BOPDS_PaveBlock ******************/ - /**** md5 signature: 23cb6ec47b2be25244db20ee836f5557 ****/ + /****** BOPDS_PaveBlock::BOPDS_PaveBlock ******/ + /****** md5 signature: 23cb6ec47b2be25244db20ee836f5557 ******/ %feature("compactdefaultargs") BOPDS_PaveBlock; - %feature("autodoc", "Empty contructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BOPDS_PaveBlock; BOPDS_PaveBlock(); - /****************** BOPDS_PaveBlock ******************/ - /**** md5 signature: 4e7cca86dd9c859a976d2a5e52959273 ****/ + /****** BOPDS_PaveBlock::BOPDS_PaveBlock ******/ + /****** md5 signature: 4e7cca86dd9c859a976d2a5e52959273 ******/ %feature("compactdefaultargs") BOPDS_PaveBlock; - %feature("autodoc", "Contructor - the allocator to manage the memory. - + %feature("autodoc", " Parameters ---------- theAllocator: NCollection_BaseAllocator -Returns +Return ------- None + +Description +----------- +Constructor +Parameter theAllocator the allocator to manage the memory. ") BOPDS_PaveBlock; BOPDS_PaveBlock(const opencascade::handle & theAllocator); - /****************** AppendExtPave ******************/ - /**** md5 signature: 3fb63f2f1bbdb3deb3be97a142c1f2bc ****/ + /****** BOPDS_PaveBlock::AppendExtPave ******/ + /****** md5 signature: 3fb63f2f1bbdb3deb3be97a142c1f2bc ******/ %feature("compactdefaultargs") AppendExtPave; - %feature("autodoc", "Modifier appends extra paves . - + %feature("autodoc", " Parameters ---------- thePave: BOPDS_Pave -Returns +Return ------- None + +Description +----------- +Modifier Appends extra paves . ") AppendExtPave; void AppendExtPave(const BOPDS_Pave & thePave); - /****************** AppendExtPave1 ******************/ - /**** md5 signature: a34cb6cef949ac8e2550982959c6a8c4 ****/ + /****** BOPDS_PaveBlock::AppendExtPave1 ******/ + /****** md5 signature: a34cb6cef949ac8e2550982959c6a8c4 ******/ %feature("compactdefaultargs") AppendExtPave1; - %feature("autodoc", "Modifier appends extra pave . - + %feature("autodoc", " Parameters ---------- thePave: BOPDS_Pave -Returns +Return ------- None + +Description +----------- +Modifier Appends extra pave . ") AppendExtPave1; void AppendExtPave1(const BOPDS_Pave & thePave); - /****************** ChangeExtPaves ******************/ - /**** md5 signature: 0c4d0169ffc2ec36903d959a070780f8 ****/ + /****** BOPDS_PaveBlock::ChangeExtPaves ******/ + /****** md5 signature: 0c4d0169ffc2ec36903d959a070780f8 ******/ %feature("compactdefaultargs") ChangeExtPaves; - %feature("autodoc", "Selector / modifier returns the extra paves. - -Returns + %feature("autodoc", "Return ------- BOPDS_ListOfPave + +Description +----------- +Selector / Modifier Returns the extra paves. ") ChangeExtPaves; BOPDS_ListOfPave & ChangeExtPaves(); - /****************** ContainsParameter ******************/ - /**** md5 signature: 41f6f8b947fed753bba44380a63f845a ****/ + /****** BOPDS_PaveBlock::ContainsParameter ******/ + /****** md5 signature: 41f6f8b947fed753bba44380a63f845a ******/ %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. - + %feature("autodoc", " Parameters ---------- thePrm: float theTol: float -Returns +Return ------- theInd: int + +Description +----------- +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. ") ContainsParameter; Standard_Boolean ContainsParameter(const Standard_Real thePrm, const Standard_Real theTol, Standard_Integer &OutValue); - /****************** Dump ******************/ - /**** md5 signature: 15b4b2e195645aebb43170ff7f15952a ****/ + /****** BOPDS_PaveBlock::Dump ******/ + /****** md5 signature: 15b4b2e195645aebb43170ff7f15952a ******/ %feature("compactdefaultargs") Dump; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") Dump; void Dump(); - /****************** Edge ******************/ - /**** md5 signature: 76748ffd591f786c44105943fcd6acd5 ****/ + /****** BOPDS_PaveBlock::Edge ******/ + /****** md5 signature: 76748ffd591f786c44105943fcd6acd5 ******/ %feature("compactdefaultargs") Edge; - %feature("autodoc", "Selector returns the index of edge of pave block. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Selector Returns the index of edge of pave block. ") Edge; Standard_Integer Edge(); - /****************** ExtPaves ******************/ - /**** md5 signature: fa9428f7fcc4dc023ae946ab5a79308f ****/ + /****** BOPDS_PaveBlock::ExtPaves ******/ + /****** md5 signature: fa9428f7fcc4dc023ae946ab5a79308f ******/ %feature("compactdefaultargs") ExtPaves; - %feature("autodoc", "Selector returns the extra paves. - -Returns + %feature("autodoc", "Return ------- BOPDS_ListOfPave + +Description +----------- +Selector Returns the extra paves. ") ExtPaves; const BOPDS_ListOfPave & ExtPaves(); - /****************** HasEdge ******************/ - /**** md5 signature: b29d7c6fb0d75a5501e02d3f7002ad41 ****/ + /****** BOPDS_PaveBlock::HasEdge ******/ + /****** md5 signature: b29d7c6fb0d75a5501e02d3f7002ad41 ******/ %feature("compactdefaultargs") HasEdge; - %feature("autodoc", "Query returns true if the pave block has edge. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Query Returns true if the pave block has edge. ") HasEdge; Standard_Boolean HasEdge(); - /****************** HasEdge ******************/ - /**** md5 signature: 67f2d989d5efe4b20f4f791ce92927e3 ****/ + /****** BOPDS_PaveBlock::HasEdge ******/ + /****** md5 signature: 67f2d989d5efe4b20f4f791ce92927e3 ******/ %feature("compactdefaultargs") HasEdge; - %feature("autodoc", "Query returns true if the pave block has edge returns the index of edge . - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- theEdge: int + +Description +----------- +Query Returns true if the pave block has edge Returns the index of edge . ") HasEdge; Standard_Boolean HasEdge(Standard_Integer &OutValue); - /****************** HasSameBounds ******************/ - /**** md5 signature: 0bd326d2184cf7b6ef04ecc16a2ca955 ****/ + /****** BOPDS_PaveBlock::HasSameBounds ******/ + /****** md5 signature: 0bd326d2184cf7b6ef04ecc16a2ca955 ******/ %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 . - + %feature("autodoc", " Parameters ---------- theOther: BOPDS_PaveBlock -Returns +Return ------- bool + +Description +----------- +Query Returns true if the pave block has pave indices that equal to the pave indices of the pave block . ") HasSameBounds; Standard_Boolean HasSameBounds(const opencascade::handle & theOther); - /****************** HasShrunkData ******************/ - /**** md5 signature: f5e0c4ec7e5718ef2f5bf9a86199c6ea ****/ + /****** BOPDS_PaveBlock::HasShrunkData ******/ + /****** md5 signature: f5e0c4ec7e5718ef2f5bf9a86199c6ea ******/ %feature("compactdefaultargs") HasShrunkData; - %feature("autodoc", "Query returns true if the pave block contains the shrunk data. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Query Returns true if the pave block contains the shrunk data. ") HasShrunkData; Standard_Boolean HasShrunkData(); - /****************** Indices ******************/ - /**** md5 signature: 7ef0b06999c91021b91c1bdc4088cff4 ****/ + /****** BOPDS_PaveBlock::Indices ******/ + /****** md5 signature: 7ef0b06999c91021b91c1bdc4088cff4 ******/ %feature("compactdefaultargs") Indices; - %feature("autodoc", "Selector returns the pave indices of the pave block. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- theIndex1: int theIndex2: int + +Description +----------- +Selector Returns the pave indices of the pave block. ") Indices; void Indices(Standard_Integer &OutValue, Standard_Integer &OutValue); - /****************** IsSplitEdge ******************/ - /**** md5 signature: 07c70c92ad2a4b75b8028068f876898b ****/ + /****** BOPDS_PaveBlock::IsSplitEdge ******/ + /****** md5 signature: 07c70c92ad2a4b75b8028068f876898b ******/ %feature("compactdefaultargs") IsSplitEdge; - %feature("autodoc", "Query returns true if the edge is equal to the original edge of the pave block. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Query Returns true if the edge is equal to the original edge of the pave block. ") IsSplitEdge; Standard_Boolean IsSplitEdge(); - /****************** IsSplittable ******************/ - /**** md5 signature: 4b9dd74e2aa42018fe83fe5063aa511b ****/ + /****** BOPDS_PaveBlock::IsSplittable ******/ + /****** md5 signature: 4b9dd74e2aa42018fe83fe5063aa511b ******/ %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. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Query Returns False if the pave block has a too short shrunk range and cannot be split, otherwise returns True. ") IsSplittable; Standard_Boolean IsSplittable(); - /****************** IsToUpdate ******************/ - /**** md5 signature: c5adb7d93c3efa0160d1d2d2f63f8b65 ****/ + /****** BOPDS_PaveBlock::IsToUpdate ******/ + /****** md5 signature: c5adb7d93c3efa0160d1d2d2f63f8b65 ******/ %feature("compactdefaultargs") IsToUpdate; - %feature("autodoc", "Query returns true if the pave block contains extra paves. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Query Returns true if the pave block contains extra paves. ") IsToUpdate; Standard_Boolean IsToUpdate(); - /****************** OriginalEdge ******************/ - /**** md5 signature: db9c8a87977e4eabaf100d8c65531a7f ****/ + /****** BOPDS_PaveBlock::OriginalEdge ******/ + /****** md5 signature: db9c8a87977e4eabaf100d8c65531a7f ******/ %feature("compactdefaultargs") OriginalEdge; - %feature("autodoc", "Selector returns the index of original edge of pave block. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Selector Returns the index of original edge of pave block. ") OriginalEdge; Standard_Integer OriginalEdge(); - /****************** Pave1 ******************/ - /**** md5 signature: c069a811d2db1154789a8c26ef94db8d ****/ + /****** BOPDS_PaveBlock::Pave1 ******/ + /****** md5 signature: c069a811d2db1154789a8c26ef94db8d ******/ %feature("compactdefaultargs") Pave1; - %feature("autodoc", "Selector returns the first pave. - -Returns + %feature("autodoc", "Return ------- BOPDS_Pave + +Description +----------- +Selector Returns the first pave. ") Pave1; const BOPDS_Pave & Pave1(); - /****************** Pave2 ******************/ - /**** md5 signature: 5cb0f045be87975a3e4e0fb36f4561b0 ****/ + /****** BOPDS_PaveBlock::Pave2 ******/ + /****** md5 signature: 5cb0f045be87975a3e4e0fb36f4561b0 ******/ %feature("compactdefaultargs") Pave2; - %feature("autodoc", "Selector returns the second pave. - -Returns + %feature("autodoc", "Return ------- BOPDS_Pave + +Description +----------- +Selector Returns the second pave. ") Pave2; const BOPDS_Pave & Pave2(); - /****************** Range ******************/ - /**** md5 signature: 8ddfe2340263927f7a7249797228e7e9 ****/ + /****** BOPDS_PaveBlock::Range ******/ + /****** md5 signature: 8ddfe2340263927f7a7249797228e7e9 ******/ %feature("compactdefaultargs") Range; - %feature("autodoc", "Selector returns the parametric range of the pave block. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- theT1: float theT2: float + +Description +----------- +Selector Returns the parametric range of the pave block. ") Range; void Range(Standard_Real &OutValue, Standard_Real &OutValue); - /****************** RemoveExtPave ******************/ - /**** md5 signature: 1912180e16de8e42d4618dd6241a8eee ****/ + /****** BOPDS_PaveBlock::RemoveExtPave ******/ + /****** md5 signature: 1912180e16de8e42d4618dd6241a8eee ******/ %feature("compactdefaultargs") RemoveExtPave; - %feature("autodoc", "Modifier removes a pave with the given vertex number from extra paves. - + %feature("autodoc", " Parameters ---------- theVertNum: int -Returns +Return ------- None + +Description +----------- +Modifier Removes a pave with the given vertex number from extra paves. ") RemoveExtPave; void RemoveExtPave(const Standard_Integer theVertNum); - /****************** SetEdge ******************/ - /**** md5 signature: e5f0cb270588385f5c43b443c7a3911e ****/ + /****** BOPDS_PaveBlock::SetEdge ******/ + /****** md5 signature: e5f0cb270588385f5c43b443c7a3911e ******/ %feature("compactdefaultargs") SetEdge; - %feature("autodoc", "Modifier sets the index of edge of pave block . - + %feature("autodoc", " Parameters ---------- theEdge: int -Returns +Return ------- None + +Description +----------- +Modifier Sets the index of edge of pave block . ") SetEdge; void SetEdge(const Standard_Integer theEdge); - /****************** SetOriginalEdge ******************/ - /**** md5 signature: 3cf310bce40a48b55779ed2e0ae00c2b ****/ + /****** BOPDS_PaveBlock::SetOriginalEdge ******/ + /****** md5 signature: 3cf310bce40a48b55779ed2e0ae00c2b ******/ %feature("compactdefaultargs") SetOriginalEdge; - %feature("autodoc", "Modifier sets the index of original edge of the pave block . - + %feature("autodoc", " Parameters ---------- theEdge: int -Returns +Return ------- None + +Description +----------- +Modifier Sets the index of original edge of the pave block . ") SetOriginalEdge; void SetOriginalEdge(const Standard_Integer theEdge); - /****************** SetPave1 ******************/ - /**** md5 signature: 0d77581426baec39e7889318dd23befc ****/ + /****** BOPDS_PaveBlock::SetPave1 ******/ + /****** md5 signature: 0d77581426baec39e7889318dd23befc ******/ %feature("compactdefaultargs") SetPave1; - %feature("autodoc", "Modifier sets the first pave . - + %feature("autodoc", " Parameters ---------- thePave: BOPDS_Pave -Returns +Return ------- None + +Description +----------- +Modifier Sets the first pave . ") SetPave1; void SetPave1(const BOPDS_Pave & thePave); - /****************** SetPave2 ******************/ - /**** md5 signature: 54001b905c67664104f00a04f5a1a447 ****/ + /****** BOPDS_PaveBlock::SetPave2 ******/ + /****** md5 signature: 54001b905c67664104f00a04f5a1a447 ******/ %feature("compactdefaultargs") SetPave2; - %feature("autodoc", "Modifier sets the second pave . - + %feature("autodoc", " Parameters ---------- thePave: BOPDS_Pave -Returns +Return ------- None + +Description +----------- +Modifier Sets the second pave . ") SetPave2; void SetPave2(const BOPDS_Pave & thePave); - /****************** SetShrunkData ******************/ - /**** md5 signature: 88b6ec09d6f99c638baa1bd4a5aad644 ****/ + /****** BOPDS_PaveBlock::SetShrunkData ******/ + /****** md5 signature: 88b6ec09d6f99c638baa1bd4a5aad644 ******/ %feature("compactdefaultargs") SetShrunkData; - %feature("autodoc", "Modifier sets the shrunk data for the pave block , - shrunk range - the bounding box - defines whether the edge can be split. - + %feature("autodoc", " Parameters ---------- theTS1: float @@ -3286,43 +3766,52 @@ theTS2: float theBox: Bnd_Box theIsSplittable: bool -Returns +Return ------- None + +Description +----------- +Modifier Sets the shrunk data for the pave block , - shrunk range - the bounding box - defines whether the edge can be split. ") SetShrunkData; void SetShrunkData(const Standard_Real theTS1, const Standard_Real theTS2, const Bnd_Box & theBox, const Standard_Boolean theIsSplittable); - /****************** ShrunkData ******************/ - /**** md5 signature: 6c493466ad5bb4913f72330dcfd83ff3 ****/ + /****** BOPDS_PaveBlock::ShrunkData ******/ + /****** md5 signature: 6c493466ad5bb4913f72330dcfd83ff3 ******/ %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. - + %feature("autodoc", " Parameters ---------- theBox: Bnd_Box -Returns +Return ------- theTS1: float theTS2: float theIsSplittable: bool + +Description +----------- +Selector Returns the shrunk data for the pave block , - shrunk range - the bounding box - defines whether the edge can be split. ") ShrunkData; void ShrunkData(Standard_Real &OutValue, Standard_Real &OutValue, Bnd_Box & theBox, Standard_Boolean &OutValue); - /****************** Update ******************/ - /**** md5 signature: 475ca3e15ec8cd26334eaa1c94f1d708 ****/ + /****** BOPDS_PaveBlock::Update ******/ + /****** md5 signature: 475ca3e15ec8cd26334eaa1c94f1d708 ******/ %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. - + %feature("autodoc", " Parameters ---------- theLPB: BOPDS_ListOfPaveBlock -theFlag: bool,optional - default value is Standard_True +theFlag: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +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. ") Update; void Update(BOPDS_ListOfPaveBlock & theLPB, const Standard_Boolean theFlag = Standard_True); @@ -3337,169 +3826,145 @@ None } }; -/**************************** -* class BOPDS_PaveMapHasher * -****************************/ -class BOPDS_PaveMapHasher { - public: - /****************** HashCode ******************/ - /**** md5 signature: 791c31f9fec12e23fd1b0cd45faa28b6 ****/ - %feature("compactdefaultargs") HashCode; - %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]. - -Parameters ----------- -thePave: BOPDS_Pave -theUpperBound: int - -Returns -------- -int -") HashCode; - static Standard_Integer HashCode(const BOPDS_Pave & thePave, Standard_Integer theUpperBound); - - /****************** IsEqual ******************/ - /**** md5 signature: d444894a28e2a9e217e1b1a112cf58a6 ****/ - %feature("compactdefaultargs") IsEqual; - %feature("autodoc", "No available documentation. - -Parameters ----------- -aPave1: BOPDS_Pave -aPave2: BOPDS_Pave - -Returns -------- -bool -") IsEqual; - static Standard_Boolean IsEqual(const BOPDS_Pave & aPave1, const BOPDS_Pave & aPave2); - -}; - - -%extend BOPDS_PaveMapHasher { - %pythoncode { - __repr__ = _dumps_object - } -}; - /******************** * class BOPDS_Point * ********************/ class BOPDS_Point { public: - /****************** BOPDS_Point ******************/ - /**** md5 signature: 006772e0c3a6ee0ca4e888773b24cd13 ****/ + /****** BOPDS_Point::BOPDS_Point ******/ + /****** md5 signature: 006772e0c3a6ee0ca4e888773b24cd13 ******/ %feature("compactdefaultargs") BOPDS_Point; - %feature("autodoc", "Empty contructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BOPDS_Point; BOPDS_Point(); - /****************** Index ******************/ - /**** md5 signature: 407d80ef3037d55996765198adea3908 ****/ + /****** BOPDS_Point::Index ******/ + /****** md5 signature: 407d80ef3037d55996765198adea3908 ******/ %feature("compactdefaultargs") Index; - %feature("autodoc", "Selector returns index of the vertex. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Selector Returns index of the vertex. ") Index; Standard_Integer Index(); - /****************** Pnt ******************/ - /**** md5 signature: c0bafeed50f4eebb5964e2bf8520bf90 ****/ + /****** BOPDS_Point::Pnt ******/ + /****** md5 signature: c0bafeed50f4eebb5964e2bf8520bf90 ******/ %feature("compactdefaultargs") Pnt; - %feature("autodoc", "Selector returns 3d point. - -Returns + %feature("autodoc", "Return ------- gp_Pnt + +Description +----------- +Selector Returns 3D point. ") Pnt; const gp_Pnt Pnt(); - /****************** Pnt2D1 ******************/ - /**** md5 signature: 03938184fe4b834525188dedf6bafc0b ****/ + /****** BOPDS_Point::Pnt2D1 ******/ + /****** md5 signature: 03938184fe4b834525188dedf6bafc0b ******/ %feature("compactdefaultargs") Pnt2D1; - %feature("autodoc", "Selector returns 2d point on the first face . - -Returns + %feature("autodoc", "Return ------- gp_Pnt2d + +Description +----------- +Selector Returns 2D point on the first face . ") Pnt2D1; const gp_Pnt2d Pnt2D1(); - /****************** Pnt2D2 ******************/ - /**** md5 signature: 138377232adca24cd39eb6dbfc8e5337 ****/ + /****** BOPDS_Point::Pnt2D2 ******/ + /****** md5 signature: 138377232adca24cd39eb6dbfc8e5337 ******/ %feature("compactdefaultargs") Pnt2D2; - %feature("autodoc", "Selector returns 2d point on the second face . - -Returns + %feature("autodoc", "Return ------- gp_Pnt2d + +Description +----------- +Selector Returns 2D point on the second face . ") Pnt2D2; const gp_Pnt2d Pnt2D2(); - /****************** SetIndex ******************/ - /**** md5 signature: 8837cdd415a0f5c290f45964b1b4e33b ****/ + /****** BOPDS_Point::SetIndex ******/ + /****** md5 signature: 8837cdd415a0f5c290f45964b1b4e33b ******/ %feature("compactdefaultargs") SetIndex; - %feature("autodoc", "Modifier sets the index of the vertex . - + %feature("autodoc", " Parameters ---------- theIndex: int -Returns +Return ------- None + +Description +----------- +Modifier Sets the index of the vertex . ") SetIndex; void SetIndex(const Standard_Integer theIndex); - /****************** SetPnt ******************/ - /**** md5 signature: 492367fdc36391270c6513bf1a403636 ****/ + /****** BOPDS_Point::SetPnt ******/ + /****** md5 signature: 492367fdc36391270c6513bf1a403636 ******/ %feature("compactdefaultargs") SetPnt; - %feature("autodoc", "Modifier sets 3d point . - + %feature("autodoc", " Parameters ---------- thePnt: gp_Pnt -Returns +Return ------- None + +Description +----------- +Modifier Sets 3D point . ") SetPnt; void SetPnt(const gp_Pnt & thePnt); - /****************** SetPnt2D1 ******************/ - /**** md5 signature: 7cf3a0394468ed5656c3a88ab27aca39 ****/ + /****** BOPDS_Point::SetPnt2D1 ******/ + /****** md5 signature: 7cf3a0394468ed5656c3a88ab27aca39 ******/ %feature("compactdefaultargs") SetPnt2D1; - %feature("autodoc", "Modifier sets 2d point on the first face . - + %feature("autodoc", " Parameters ---------- thePnt: gp_Pnt2d -Returns +Return ------- None + +Description +----------- +Modifier Sets 2D point on the first face . ") SetPnt2D1; void SetPnt2D1(const gp_Pnt2d & thePnt); - /****************** SetPnt2D2 ******************/ - /**** md5 signature: d6affd6a44a57ee1fa22a2399b87fc3a ****/ + /****** BOPDS_Point::SetPnt2D2 ******/ + /****** md5 signature: d6affd6a44a57ee1fa22a2399b87fc3a ******/ %feature("compactdefaultargs") SetPnt2D2; - %feature("autodoc", "Modifier sets 2d point on the second face . - + %feature("autodoc", " Parameters ---------- thePnt: gp_Pnt2d -Returns +Return ------- None + +Description +----------- +Modifier Sets 2D point on the second face . ") SetPnt2D2; void SetPnt2D2(const gp_Pnt2d & thePnt); @@ -3517,276 +3982,329 @@ None ************************/ class BOPDS_ShapeInfo { public: - /****************** BOPDS_ShapeInfo ******************/ - /**** md5 signature: 8d0a572bef2463ea9fbdd5e7fd05e081 ****/ + /****** BOPDS_ShapeInfo::BOPDS_ShapeInfo ******/ + /****** md5 signature: 8d0a572bef2463ea9fbdd5e7fd05e081 ******/ %feature("compactdefaultargs") BOPDS_ShapeInfo; - %feature("autodoc", "Empty contructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BOPDS_ShapeInfo; BOPDS_ShapeInfo(); - /****************** BOPDS_ShapeInfo ******************/ - /**** md5 signature: 7dfadbc51e9908962dbc2d4d564f5aee ****/ + /****** BOPDS_ShapeInfo::BOPDS_ShapeInfo ******/ + /****** md5 signature: 7dfadbc51e9908962dbc2d4d564f5aee ******/ %feature("compactdefaultargs") BOPDS_ShapeInfo; - %feature("autodoc", "Contructor theallocator - the allocator to manage the memory. - + %feature("autodoc", " Parameters ---------- theAllocator: NCollection_BaseAllocator -Returns +Return ------- None + +Description +----------- +Constructor +Parameter theAllocator the allocator to manage the memory. ") BOPDS_ShapeInfo; BOPDS_ShapeInfo(const opencascade::handle & theAllocator); - /****************** Box ******************/ - /**** md5 signature: 7c4ea237507e51916495e768089f878e ****/ + /****** BOPDS_ShapeInfo::Box ******/ + /****** md5 signature: 7c4ea237507e51916495e768089f878e ******/ %feature("compactdefaultargs") Box; - %feature("autodoc", "Selector returns the boundung box of the shape. - -Returns + %feature("autodoc", "Return ------- Bnd_Box + +Description +----------- +Selector Returns the boundung box of the shape. ") Box; const Bnd_Box & Box(); - /****************** ChangeBox ******************/ - /**** md5 signature: 5631b4e4d9ba9acf6c3e62a29ae5b2c2 ****/ + /****** BOPDS_ShapeInfo::ChangeBox ******/ + /****** md5 signature: 5631b4e4d9ba9acf6c3e62a29ae5b2c2 ******/ %feature("compactdefaultargs") ChangeBox; - %feature("autodoc", "Selector/modifier returns the boundung box of the shape. - -Returns + %feature("autodoc", "Return ------- Bnd_Box + +Description +----------- +Selector/Modifier Returns the boundung box of the shape. ") ChangeBox; Bnd_Box & ChangeBox(); - /****************** ChangeSubShapes ******************/ - /**** md5 signature: cce46b8afe21405c1741f5b05cc2d1a2 ****/ + /****** BOPDS_ShapeInfo::ChangeSubShapes ******/ + /****** md5 signature: cce46b8afe21405c1741f5b05cc2d1a2 ******/ %feature("compactdefaultargs") ChangeSubShapes; - %feature("autodoc", "Selector/ modifier returns the list of indices of sub-shapes. - -Returns + %feature("autodoc", "Return ------- TColStd_ListOfInteger + +Description +----------- +Selector/ Modifier Returns the list of indices of sub-shapes. ") ChangeSubShapes; TColStd_ListOfInteger & ChangeSubShapes(); - /****************** Dump ******************/ - /**** md5 signature: 15b4b2e195645aebb43170ff7f15952a ****/ + /****** BOPDS_ShapeInfo::Dump ******/ + /****** md5 signature: 15b4b2e195645aebb43170ff7f15952a ******/ %feature("compactdefaultargs") Dump; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") Dump; void Dump(); - /****************** Flag ******************/ - /**** md5 signature: a1e7ee9e0f6e3b4294449387a5faac0a ****/ + /****** BOPDS_ShapeInfo::Flag ******/ + /****** md5 signature: a1e7ee9e0f6e3b4294449387a5faac0a ******/ %feature("compactdefaultargs") Flag; - %feature("autodoc", "Returns the flag. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns the flag. ") Flag; Standard_Integer Flag(); - /****************** HasBRep ******************/ - /**** md5 signature: 85aa9303d8033ef239112f1da1286317 ****/ + /****** BOPDS_ShapeInfo::HasBRep ******/ + /****** md5 signature: 85aa9303d8033ef239112f1da1286317 ******/ %feature("compactdefaultargs") HasBRep; - %feature("autodoc", "Query returns true if the shape has boundary representation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Query Returns true if the shape has boundary representation. ") HasBRep; Standard_Boolean HasBRep(); - /****************** HasFlag ******************/ - /**** md5 signature: bf337e3732a94daa45cff0e55a817078 ****/ + /****** BOPDS_ShapeInfo::HasFlag ******/ + /****** md5 signature: bf337e3732a94daa45cff0e55a817078 ******/ %feature("compactdefaultargs") HasFlag; - %feature("autodoc", "Query returns true if there is flag. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Query Returns true if there is flag. ") HasFlag; Standard_Boolean HasFlag(); - /****************** HasFlag ******************/ - /**** md5 signature: d05bf372703d8850d2889fd2855f632f ****/ + /****** BOPDS_ShapeInfo::HasFlag ******/ + /****** md5 signature: d05bf372703d8850d2889fd2855f632f ******/ %feature("compactdefaultargs") HasFlag; - %feature("autodoc", "Query returns true if there is flag. returns the the flag theflag. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- theFlag: int + +Description +----------- +Query Returns true if there is flag. Returns the flag theFlag. ") HasFlag; Standard_Boolean HasFlag(Standard_Integer &OutValue); - /****************** HasReference ******************/ - /**** md5 signature: 9bac2006ec6742c943cf0d6ba833da5a ****/ + /****** BOPDS_ShapeInfo::HasReference ******/ + /****** md5 signature: 9bac2006ec6742c943cf0d6ba833da5a ******/ %feature("compactdefaultargs") HasReference; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") HasReference; Standard_Boolean HasReference(); - /****************** HasSubShape ******************/ - /**** md5 signature: 8c06b342a7f049675b14c3d60a4d3398 ****/ + /****** BOPDS_ShapeInfo::HasSubShape ******/ + /****** md5 signature: 8c06b342a7f049675b14c3d60a4d3398 ******/ %feature("compactdefaultargs") HasSubShape; - %feature("autodoc", "Query returns true if the shape has sub-shape with index thei. - + %feature("autodoc", " Parameters ---------- theI: int -Returns +Return ------- bool + +Description +----------- +Query Returns true if the shape has sub-shape with index theI. ") HasSubShape; Standard_Boolean HasSubShape(const Standard_Integer theI); - /****************** IsInterfering ******************/ - /**** md5 signature: f2f0c5e2ad949621ff90565dc251f8c6 ****/ + /****** BOPDS_ShapeInfo::IsInterfering ******/ + /****** md5 signature: f2f0c5e2ad949621ff90565dc251f8c6 ******/ %feature("compactdefaultargs") IsInterfering; - %feature("autodoc", "Returns true if the shape can be participant of an interference //! flag. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns true if the shape can be participant of an interference //! Flag. ") IsInterfering; Standard_Boolean IsInterfering(); - /****************** Reference ******************/ - /**** md5 signature: a49ae0cd48bab924bed904d2db0964c3 ****/ + /****** BOPDS_ShapeInfo::Reference ******/ + /****** md5 signature: a49ae0cd48bab924bed904d2db0964c3 ******/ %feature("compactdefaultargs") Reference; - %feature("autodoc", "Selector returns the index of a reference information. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Selector Returns the index of a reference information. ") Reference; Standard_Integer Reference(); - /****************** SetBox ******************/ - /**** md5 signature: 08b5255d733c5c76b81013bedaa4c32d ****/ + /****** BOPDS_ShapeInfo::SetBox ******/ + /****** md5 signature: 08b5255d733c5c76b81013bedaa4c32d ******/ %feature("compactdefaultargs") SetBox; - %feature("autodoc", "Modifier sets the boundung box of the shape thebox. - + %feature("autodoc", " Parameters ---------- theBox: Bnd_Box -Returns +Return ------- None + +Description +----------- +Modifier Sets the boundung box of the shape theBox. ") SetBox; void SetBox(const Bnd_Box & theBox); - /****************** SetFlag ******************/ - /**** md5 signature: 356ab305ce6bb1c1a5cd5f8623e00c78 ****/ + /****** BOPDS_ShapeInfo::SetFlag ******/ + /****** md5 signature: 356ab305ce6bb1c1a5cd5f8623e00c78 ******/ %feature("compactdefaultargs") SetFlag; - %feature("autodoc", "Modifier sets the flag. - + %feature("autodoc", " Parameters ---------- theI: int -Returns +Return ------- None + +Description +----------- +Modifier Sets the flag. ") SetFlag; void SetFlag(const Standard_Integer theI); - /****************** SetReference ******************/ - /**** md5 signature: ead7289c6453b0e4a306c996b2f2eac6 ****/ + /****** BOPDS_ShapeInfo::SetReference ******/ + /****** md5 signature: ead7289c6453b0e4a306c996b2f2eac6 ******/ %feature("compactdefaultargs") SetReference; - %feature("autodoc", "Modifier sets the index of a reference information. - + %feature("autodoc", " Parameters ---------- theI: int -Returns +Return ------- None + +Description +----------- +Modifier Sets the index of a reference information. ") SetReference; void SetReference(const Standard_Integer theI); - /****************** SetShape ******************/ - /**** md5 signature: ea8cd69f1842315314882342f4f38762 ****/ + /****** BOPDS_ShapeInfo::SetShape ******/ + /****** md5 signature: ea8cd69f1842315314882342f4f38762 ******/ %feature("compactdefaultargs") SetShape; - %feature("autodoc", "Modifier sets the shape . - + %feature("autodoc", " Parameters ---------- theS: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Modifier Sets the shape . ") SetShape; void SetShape(const TopoDS_Shape & theS); - /****************** SetShapeType ******************/ - /**** md5 signature: 4979c0c071d6cc77b255ba651052d5f6 ****/ + /****** BOPDS_ShapeInfo::SetShapeType ******/ + /****** md5 signature: 4979c0c071d6cc77b255ba651052d5f6 ******/ %feature("compactdefaultargs") SetShapeType; - %feature("autodoc", "Modifier sets the type of shape thetype. - + %feature("autodoc", " Parameters ---------- theType: TopAbs_ShapeEnum -Returns +Return ------- None + +Description +----------- +Modifier Sets the type of shape theType. ") SetShapeType; void SetShapeType(const TopAbs_ShapeEnum theType); - /****************** Shape ******************/ - /**** md5 signature: e2e979bbf0e2f5cedfc0e482bf183e08 ****/ + /****** BOPDS_ShapeInfo::Shape ******/ + /****** md5 signature: e2e979bbf0e2f5cedfc0e482bf183e08 ******/ %feature("compactdefaultargs") Shape; - %feature("autodoc", "Selector returns the shape. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +Selector Returns the shape. ") Shape; const TopoDS_Shape Shape(); - /****************** ShapeType ******************/ - /**** md5 signature: fdb6bbab82f138b7eb96684b837c482d ****/ + /****** BOPDS_ShapeInfo::ShapeType ******/ + /****** md5 signature: fdb6bbab82f138b7eb96684b837c482d ******/ %feature("compactdefaultargs") ShapeType; - %feature("autodoc", "Selector returns the type of shape. - -Returns + %feature("autodoc", "Return ------- TopAbs_ShapeEnum + +Description +----------- +Selector Returns the type of shape. ") ShapeType; TopAbs_ShapeEnum ShapeType(); - /****************** SubShapes ******************/ - /**** md5 signature: 014e993425abfc99dfc2d8c0874fb974 ****/ + /****** BOPDS_ShapeInfo::SubShapes ******/ + /****** md5 signature: 014e993425abfc99dfc2d8c0874fb974 ******/ %feature("compactdefaultargs") SubShapes; - %feature("autodoc", "Selector returns the list of indices of sub-shapes. - -Returns + %feature("autodoc", "Return ------- TColStd_ListOfInteger + +Description +----------- +Selector Returns the list of indices of sub-shapes. ") SubShapes; const TColStd_ListOfInteger & SubShapes(); @@ -3804,177 +4322,210 @@ TColStd_ListOfInteger **************************/ class BOPDS_SubIterator { public: - /****************** BOPDS_SubIterator ******************/ - /**** md5 signature: b0326185bc073be786446564b2e63bc7 ****/ + /****** BOPDS_SubIterator::BOPDS_SubIterator ******/ + /****** md5 signature: b0326185bc073be786446564b2e63bc7 ******/ %feature("compactdefaultargs") BOPDS_SubIterator; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BOPDS_SubIterator; BOPDS_SubIterator(); - /****************** BOPDS_SubIterator ******************/ - /**** md5 signature: 7d7f53a37df32fe2c4a454ccb46756a2 ****/ + /****** BOPDS_SubIterator::BOPDS_SubIterator ******/ + /****** md5 signature: 7d7f53a37df32fe2c4a454ccb46756a2 ******/ %feature("compactdefaultargs") BOPDS_SubIterator; - %feature("autodoc", "Constructor theallocator - the allocator to manage the memory. - + %feature("autodoc", " Parameters ---------- theAllocator: NCollection_BaseAllocator -Returns +Return ------- None + +Description +----------- +Constructor theAllocator - the allocator to manage the memory. ") BOPDS_SubIterator; BOPDS_SubIterator(const opencascade::handle & theAllocator); - /****************** DS ******************/ - /**** md5 signature: e2b7a95332d83a907322867b207b5f91 ****/ + /****** BOPDS_SubIterator::DS ******/ + /****** md5 signature: e2b7a95332d83a907322867b207b5f91 ******/ %feature("compactdefaultargs") DS; - %feature("autodoc", "Returns the data structure. - -Returns + %feature("autodoc", "Return ------- BOPDS_DS + +Description +----------- +Returns the data structure. ") DS; const BOPDS_DS & DS(); - /****************** ExpectedLength ******************/ - /**** md5 signature: fbd2b330f0e8a94b7bcf73bf50ddb532 ****/ + /****** BOPDS_SubIterator::ExpectedLength ******/ + /****** md5 signature: fbd2b330f0e8a94b7bcf73bf50ddb532 ******/ %feature("compactdefaultargs") ExpectedLength; - %feature("autodoc", "Returns the number of interfering pairs. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns the number of interfering pairs. ") ExpectedLength; Standard_Integer ExpectedLength(); - /****************** Initialize ******************/ - /**** md5 signature: 4c9930c75acb9044902a1f8388d68e73 ****/ + /****** BOPDS_SubIterator::Initialize ******/ + /****** md5 signature: 4c9930c75acb9044902a1f8388d68e73 ******/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "Initializes the iterator. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Initializes the iterator. ") Initialize; void Initialize(); - /****************** More ******************/ - /**** md5 signature: cff271d3b32940da94bada40648f9096 ****/ + /****** BOPDS_SubIterator::More ******/ + /****** md5 signature: cff271d3b32940da94bada40648f9096 ******/ %feature("compactdefaultargs") More; - %feature("autodoc", "Returns true if there are more pairs of intersected shapes. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns true if there are more pairs of intersected shapes. ") More; Standard_Boolean More(); - /****************** Next ******************/ - /**** md5 signature: 1201a55f750036045cd397a65f07fc7d ****/ + /****** BOPDS_SubIterator::Next ******/ + /****** md5 signature: 1201a55f750036045cd397a65f07fc7d ******/ %feature("compactdefaultargs") Next; - %feature("autodoc", "Moves iterations ahead. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Moves iterations ahead. ") Next; void Next(); - /****************** Prepare ******************/ - /**** md5 signature: f9b9a1436567a44993f3d07dbecfab30 ****/ + /****** BOPDS_SubIterator::Prepare ******/ + /****** md5 signature: f9b9a1436567a44993f3d07dbecfab30 ******/ %feature("compactdefaultargs") Prepare; - %feature("autodoc", "Perform the intersection algorithm and prepare the results to be used. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Perform the intersection algorithm and prepare the results to be used. ") Prepare; virtual void Prepare(); - /****************** SetDS ******************/ - /**** md5 signature: 3dd088536031061a899dbea11ade121b ****/ + /****** BOPDS_SubIterator::SetDS ******/ + /****** md5 signature: 3dd088536031061a899dbea11ade121b ******/ %feature("compactdefaultargs") SetDS; - %feature("autodoc", "Sets the data structure to process. it is used to access the shapes and their bounding boxes. - + %feature("autodoc", " Parameters ---------- pDS: BOPDS_PDS -Returns +Return ------- None + +Description +----------- +Sets the data structure to process. It is used to access the shapes and their bounding boxes. ") SetDS; void SetDS(const BOPDS_PDS & pDS); - /****************** SetSubSet1 ******************/ - /**** md5 signature: 252136206a8ce77d68387c3e946bb471 ****/ + /****** BOPDS_SubIterator::SetSubSet1 ******/ + /****** md5 signature: 252136206a8ce77d68387c3e946bb471 ******/ %feature("compactdefaultargs") SetSubSet1; - %feature("autodoc", "Sets the first set of indices to process. - + %feature("autodoc", " Parameters ---------- theLI: TColStd_ListOfInteger -Returns +Return ------- None + +Description +----------- +Sets the first set of indices to process. ") SetSubSet1; void SetSubSet1(const TColStd_ListOfInteger & theLI); - /****************** SetSubSet2 ******************/ - /**** md5 signature: 4f4e0b922e12e3fe4c09fa2634bef460 ****/ + /****** BOPDS_SubIterator::SetSubSet2 ******/ + /****** md5 signature: 4f4e0b922e12e3fe4c09fa2634bef460 ******/ %feature("compactdefaultargs") SetSubSet2; - %feature("autodoc", "Sets the second set of indices to process. - + %feature("autodoc", " Parameters ---------- theLI: TColStd_ListOfInteger -Returns +Return ------- None + +Description +----------- +Sets the second set of indices to process. ") SetSubSet2; void SetSubSet2(const TColStd_ListOfInteger & theLI); - /****************** SubSet1 ******************/ - /**** md5 signature: ab0c061163652bd3c7576cf1e5393ed8 ****/ + /****** BOPDS_SubIterator::SubSet1 ******/ + /****** md5 signature: ab0c061163652bd3c7576cf1e5393ed8 ******/ %feature("compactdefaultargs") SubSet1; - %feature("autodoc", "Returns the first set of indices to process. - -Returns + %feature("autodoc", "Return ------- TColStd_ListOfInteger + +Description +----------- +Returns the first set of indices to process. ") SubSet1; const TColStd_ListOfInteger & SubSet1(); - /****************** SubSet2 ******************/ - /**** md5 signature: acf1124456fc41a861be31a0aee3df0b ****/ + /****** BOPDS_SubIterator::SubSet2 ******/ + /****** md5 signature: acf1124456fc41a861be31a0aee3df0b ******/ %feature("compactdefaultargs") SubSet2; - %feature("autodoc", "Returns the second set of indices to process. - -Returns + %feature("autodoc", "Return ------- TColStd_ListOfInteger + +Description +----------- +Returns the second set of indices to process. ") SubSet2; const TColStd_ListOfInteger & SubSet2(); - /****************** Value ******************/ - /**** md5 signature: e158a5c3b0133290b10886e826c5728a ****/ + /****** BOPDS_SubIterator::Value ******/ + /****** md5 signature: e158a5c3b0133290b10886e826c5728a ******/ %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", " Parameters ---------- -Returns +Return ------- theIndex1: int theIndex2: int + +Description +----------- +Returns indices (DS) of intersected shapes theIndex1 - the index of the first shape theIndex2 - the index of the second shape. ") Value; void Value(Standard_Integer &OutValue, Standard_Integer &OutValue); @@ -3992,64 +4543,76 @@ theIndex2: int ********************/ class BOPDS_Tools { public: - /****************** HasBRep ******************/ - /**** md5 signature: dc27ba68aac28e872e646f6627a870af ****/ + /****** BOPDS_Tools::HasBRep ******/ + /****** md5 signature: dc27ba68aac28e872e646f6627a870af ******/ %feature("compactdefaultargs") HasBRep; - %feature("autodoc", "Returns true if the type correspond to a shape having boundary representation. - + %feature("autodoc", " Parameters ---------- theT: TopAbs_ShapeEnum -Returns +Return ------- bool + +Description +----------- +Returns true if the type correspond to a shape having boundary representation. ") HasBRep; static Standard_Boolean HasBRep(const TopAbs_ShapeEnum theT); - /****************** IsInterfering ******************/ - /**** md5 signature: 114855a12e7685dc30b197df785d635d ****/ + /****** BOPDS_Tools::IsInterfering ******/ + /****** md5 signature: 114855a12e7685dc30b197df785d635d ******/ %feature("compactdefaultargs") IsInterfering; - %feature("autodoc", "Returns true if the type can be participant of an interference. - + %feature("autodoc", " Parameters ---------- theT: TopAbs_ShapeEnum -Returns +Return ------- bool + +Description +----------- +Returns true if the type can be participant of an interference. ") IsInterfering; static Standard_Boolean IsInterfering(const TopAbs_ShapeEnum theT); - /****************** TypeToInteger ******************/ - /**** md5 signature: 0ae15761533503a6aa960b1cf71c8fcd ****/ + /****** BOPDS_Tools::TypeToInteger ******/ + /****** md5 signature: 0ae15761533503a6aa960b1cf71c8fcd ******/ %feature("compactdefaultargs") TypeToInteger; - %feature("autodoc", "Converts the conmbination of two types of shape , to the one integer value, that is returned. - + %feature("autodoc", " Parameters ---------- theT1: TopAbs_ShapeEnum theT2: TopAbs_ShapeEnum -Returns +Return ------- int + +Description +----------- +Converts the conmbination of two types of shape , to the one integer value, that is returned. ") TypeToInteger; static Standard_Integer TypeToInteger(const TopAbs_ShapeEnum theT1, const TopAbs_ShapeEnum theT2); - /****************** TypeToInteger ******************/ - /**** md5 signature: 2ff94d4866c6c71e2ceb7a5e855100f3 ****/ + /****** BOPDS_Tools::TypeToInteger ******/ + /****** md5 signature: 2ff94d4866c6c71e2ceb7a5e855100f3 ******/ %feature("compactdefaultargs") TypeToInteger; - %feature("autodoc", "Converts the type of shape , to integer value, that is returned. - + %feature("autodoc", " Parameters ---------- theT: TopAbs_ShapeEnum -Returns +Return ------- int + +Description +----------- +Converts the type of shape , to integer value, that is returned. ") TypeToInteger; static Standard_Integer TypeToInteger(const TopAbs_ShapeEnum theT); @@ -4062,60 +4625,79 @@ int } }; +/************************* +* class hash * +*************************/ +/************************* +* class hash * +*************************/ /*********************** * class BOPDS_InterfEE * ***********************/ class BOPDS_InterfEE : public BOPDS_Interf { public: - /****************** BOPDS_InterfEE ******************/ - /**** md5 signature: 3a56ee86c80ca876a599958dcbb93de2 ****/ + /****** BOPDS_InterfEE::BOPDS_InterfEE ******/ + /****** md5 signature: 3a56ee86c80ca876a599958dcbb93de2 ******/ %feature("compactdefaultargs") BOPDS_InterfEE; - %feature("autodoc", "/** * constructor */. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +/** * Constructor */. ") BOPDS_InterfEE; BOPDS_InterfEE(); - /****************** BOPDS_InterfEE ******************/ - /**** md5 signature: 66f80f94fd23238be82f83cc36f1acf0 ****/ + /****** BOPDS_InterfEE::BOPDS_InterfEE ******/ + /****** md5 signature: 66f80f94fd23238be82f83cc36f1acf0 ******/ %feature("compactdefaultargs") BOPDS_InterfEE; - %feature("autodoc", "/** * constructor * @param theallocator * allocator to manage the memory */. - + %feature("autodoc", " Parameters ---------- theAllocator: NCollection_BaseAllocator -Returns +Return ------- None + +Description +----------- +/** * Constructor * +Parameter theAllocator * allocator to manage the memory */. ") BOPDS_InterfEE; BOPDS_InterfEE(const opencascade::handle & theAllocator); - /****************** CommonPart ******************/ - /**** md5 signature: 158eea49db3781300d62b63a4c3d0e83 ****/ + /****** BOPDS_InterfEE::CommonPart ******/ + /****** md5 signature: 158eea49db3781300d62b63a4c3d0e83 ******/ %feature("compactdefaultargs") CommonPart; - %feature("autodoc", "/** * selector * returns the info of common part * returns * common part */. - -Returns + %feature("autodoc", "Return ------- IntTools_CommonPrt + +Description +----------- +/** * Selector * Returns the info of common part * +Return: * common part */. ") CommonPart; const IntTools_CommonPrt & CommonPart(); - /****************** SetCommonPart ******************/ - /**** md5 signature: 76e27597c4757830473369f47aa42860 ****/ + /****** BOPDS_InterfEE::SetCommonPart ******/ + /****** md5 signature: 76e27597c4757830473369f47aa42860 ******/ %feature("compactdefaultargs") SetCommonPart; - %feature("autodoc", "/** * modifier * sets the info of common part * @param thecp * common part */. - + %feature("autodoc", " Parameters ---------- theCP: IntTools_CommonPrt -Returns +Return ------- None + +Description +----------- +/** * Modifier * Sets the info of common part * +Parameter theCP * common part */. ") SetCommonPart; void SetCommonPart(const IntTools_CommonPrt & theCP); @@ -4133,55 +4715,68 @@ None ***********************/ class BOPDS_InterfEF : public BOPDS_Interf { public: - /****************** BOPDS_InterfEF ******************/ - /**** md5 signature: db7b1db9510fdcd08228116450854f56 ****/ + /****** BOPDS_InterfEF::BOPDS_InterfEF ******/ + /****** md5 signature: db7b1db9510fdcd08228116450854f56 ******/ %feature("compactdefaultargs") BOPDS_InterfEF; - %feature("autodoc", "/** * constructor */. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +/** * Constructor */. ") BOPDS_InterfEF; BOPDS_InterfEF(); - /****************** BOPDS_InterfEF ******************/ - /**** md5 signature: 0888789645a47ab19ec98d181244c93e ****/ + /****** BOPDS_InterfEF::BOPDS_InterfEF ******/ + /****** md5 signature: 0888789645a47ab19ec98d181244c93e ******/ %feature("compactdefaultargs") BOPDS_InterfEF; - %feature("autodoc", "/** * constructor * @param theallocator * allocator to manage the memory */. - + %feature("autodoc", " Parameters ---------- theAllocator: NCollection_BaseAllocator -Returns +Return ------- None + +Description +----------- +/** * Constructor * +Parameter theAllocator * allocator to manage the memory */. ") BOPDS_InterfEF; BOPDS_InterfEF(const opencascade::handle & theAllocator); - /****************** CommonPart ******************/ - /**** md5 signature: 158eea49db3781300d62b63a4c3d0e83 ****/ + /****** BOPDS_InterfEF::CommonPart ******/ + /****** md5 signature: 158eea49db3781300d62b63a4c3d0e83 ******/ %feature("compactdefaultargs") CommonPart; - %feature("autodoc", "/** * selector * returns the info of common part * returns * common part */. - -Returns + %feature("autodoc", "Return ------- IntTools_CommonPrt + +Description +----------- +/** * Selector * Returns the info of common part * +Return: * common part */. ") CommonPart; const IntTools_CommonPrt & CommonPart(); - /****************** SetCommonPart ******************/ - /**** md5 signature: 76e27597c4757830473369f47aa42860 ****/ + /****** BOPDS_InterfEF::SetCommonPart ******/ + /****** md5 signature: 76e27597c4757830473369f47aa42860 ******/ %feature("compactdefaultargs") SetCommonPart; - %feature("autodoc", "/** * modifier * sets the info of common part * @param thecp * common part */. - + %feature("autodoc", " Parameters ---------- theCP: IntTools_CommonPrt -Returns +Return ------- None + +Description +----------- +/** * Modifier * Sets the info of common part * +Parameter theCP * common part */. ") SetCommonPart; void SetCommonPart(const IntTools_CommonPrt & theCP); @@ -4199,29 +4794,35 @@ None ***********************/ class BOPDS_InterfEZ : public BOPDS_Interf { public: - /****************** BOPDS_InterfEZ ******************/ - /**** md5 signature: 68a3e3081232b079fb3aa95b06499417 ****/ + /****** BOPDS_InterfEZ::BOPDS_InterfEZ ******/ + /****** md5 signature: 68a3e3081232b079fb3aa95b06499417 ******/ %feature("compactdefaultargs") BOPDS_InterfEZ; - %feature("autodoc", "/** * constructor */. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +/** * Constructor */. ") BOPDS_InterfEZ; BOPDS_InterfEZ(); - /****************** BOPDS_InterfEZ ******************/ - /**** md5 signature: 324a547e187942b91af368889f5e90b3 ****/ + /****** BOPDS_InterfEZ::BOPDS_InterfEZ ******/ + /****** md5 signature: 324a547e187942b91af368889f5e90b3 ******/ %feature("compactdefaultargs") BOPDS_InterfEZ; - %feature("autodoc", "/** * constructor * @param theallocator * allocator to manage the memory */. - + %feature("autodoc", " Parameters ---------- theAllocator: NCollection_BaseAllocator -Returns +Return ------- None + +Description +----------- +/** * Constructor * +Parameter theAllocator * allocator to manage the memory */. ") BOPDS_InterfEZ; BOPDS_InterfEZ(const opencascade::handle & theAllocator); @@ -4239,100 +4840,124 @@ None ***********************/ class BOPDS_InterfFF : public BOPDS_Interf { public: - /****************** BOPDS_InterfFF ******************/ - /**** md5 signature: e9636cf1028f0ee0277b9b2d95fd34bf ****/ + /****** BOPDS_InterfFF::BOPDS_InterfFF ******/ + /****** md5 signature: e9636cf1028f0ee0277b9b2d95fd34bf ******/ %feature("compactdefaultargs") BOPDS_InterfFF; - %feature("autodoc", "/** * constructor */. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +/** * Constructor */. ") BOPDS_InterfFF; BOPDS_InterfFF(); - /****************** ChangeCurves ******************/ - /**** md5 signature: a137ee1b8aca0e0cd4aa63ad1bf53ac5 ****/ + /****** BOPDS_InterfFF::ChangeCurves ******/ + /****** md5 signature: a137ee1b8aca0e0cd4aa63ad1bf53ac5 ******/ %feature("compactdefaultargs") ChangeCurves; - %feature("autodoc", "/** * selector/modifier * returns the intersection curves * returns * intersection curves */. - -Returns + %feature("autodoc", "Return ------- BOPDS_VectorOfCurve + +Description +----------- +/** * Selector/Modifier * Returns the intersection curves * +Return: * intersection curves */. ") ChangeCurves; BOPDS_VectorOfCurve & ChangeCurves(); - /****************** ChangePoints ******************/ - /**** md5 signature: 6d7e21a9831c13acb16202b5eb5069c2 ****/ + /****** BOPDS_InterfFF::ChangePoints ******/ + /****** md5 signature: 6d7e21a9831c13acb16202b5eb5069c2 ******/ %feature("compactdefaultargs") ChangePoints; - %feature("autodoc", "/** * selector/modifier * returns the intersection points * returns * intersection points */. - -Returns + %feature("autodoc", "Return ------- BOPDS_VectorOfPoint + +Description +----------- +/** * Selector/Modifier * Returns the intersection points * +Return: * intersection points */. ") ChangePoints; BOPDS_VectorOfPoint & ChangePoints(); - /****************** Curves ******************/ - /**** md5 signature: a51a404fc40e0761a1ef97d4ce4eb86a ****/ + /****** BOPDS_InterfFF::Curves ******/ + /****** md5 signature: a51a404fc40e0761a1ef97d4ce4eb86a ******/ %feature("compactdefaultargs") Curves; - %feature("autodoc", "/** * selector * returns the intersection curves * returns * intersection curves */. - -Returns + %feature("autodoc", "Return ------- BOPDS_VectorOfCurve + +Description +----------- +/** * Selector * Returns the intersection curves * +Return: * intersection curves */. ") Curves; - const BOPDS_VectorOfCurve & Curves(); + BOPDS_VectorOfCurve Curves(); - /****************** Init ******************/ - /**** md5 signature: 4ef383c666596f906f9ce4d66071677d ****/ + /****** BOPDS_InterfFF::Init ******/ + /****** md5 signature: 4ef383c666596f906f9ce4d66071677d ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theNbCurves: int theNbPoints: int -Returns +Return ------- None + +Description +----------- +No available documentation. ") Init; void Init(const Standard_Integer theNbCurves, const Standard_Integer theNbPoints); - /****************** Points ******************/ - /**** md5 signature: af3d274ccfb32eab08bf5e3c85cb2291 ****/ + /****** BOPDS_InterfFF::Points ******/ + /****** md5 signature: af3d274ccfb32eab08bf5e3c85cb2291 ******/ %feature("compactdefaultargs") Points; - %feature("autodoc", "/** * selector * returns the intersection points * returns * intersection points */. - -Returns + %feature("autodoc", "Return ------- BOPDS_VectorOfPoint + +Description +----------- +/** * Selector * Returns the intersection points * +Return: * intersection points */. ") Points; const BOPDS_VectorOfPoint & Points(); - /****************** SetTangentFaces ******************/ - /**** md5 signature: f40c479ada59173a3110087e189d0488 ****/ + /****** BOPDS_InterfFF::SetTangentFaces ******/ + /****** md5 signature: f40c479ada59173a3110087e189d0488 ******/ %feature("compactdefaultargs") SetTangentFaces; - %feature("autodoc", "/** * modifier * sets the flag of whether the faces are tangent * @param theflag * the flag */. - + %feature("autodoc", " Parameters ---------- theFlag: bool -Returns +Return ------- None + +Description +----------- +/** * Modifier * Sets the flag of whether the faces are tangent * +Parameter theFlag * the flag */. ") SetTangentFaces; void SetTangentFaces(const Standard_Boolean theFlag); - /****************** TangentFaces ******************/ - /**** md5 signature: 44e511afda93e8aadb10ba4db293bb02 ****/ + /****** BOPDS_InterfFF::TangentFaces ******/ + /****** md5 signature: 44e511afda93e8aadb10ba4db293bb02 ******/ %feature("compactdefaultargs") TangentFaces; - %feature("autodoc", "/** * selector * returns the flag whether the faces are tangent * returns * the flag */. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +/** * Selector * Returns the flag whether the faces are tangent * +Return: * the flag */. ") TangentFaces; Standard_Boolean TangentFaces(); @@ -4350,29 +4975,35 @@ bool ***********************/ class BOPDS_InterfFZ : public BOPDS_Interf { public: - /****************** BOPDS_InterfFZ ******************/ - /**** md5 signature: e5c202a4fb5b68fc49a5668dc1d5fc67 ****/ + /****** BOPDS_InterfFZ::BOPDS_InterfFZ ******/ + /****** md5 signature: e5c202a4fb5b68fc49a5668dc1d5fc67 ******/ %feature("compactdefaultargs") BOPDS_InterfFZ; - %feature("autodoc", "/** * constructor */. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +/** * Constructor */. ") BOPDS_InterfFZ; BOPDS_InterfFZ(); - /****************** BOPDS_InterfFZ ******************/ - /**** md5 signature: fe1676b3d8f89dc728bd691b5be673f3 ****/ + /****** BOPDS_InterfFZ::BOPDS_InterfFZ ******/ + /****** md5 signature: fe1676b3d8f89dc728bd691b5be673f3 ******/ %feature("compactdefaultargs") BOPDS_InterfFZ; - %feature("autodoc", "/** * constructor * @param theallocator * allocator to manage the memory */. - + %feature("autodoc", " Parameters ---------- theAllocator: NCollection_BaseAllocator -Returns +Return ------- None + +Description +----------- +/** * Constructor * +Parameter theAllocator * allocator to manage the memory */. ") BOPDS_InterfFZ; BOPDS_InterfFZ(const opencascade::handle & theAllocator); @@ -4390,55 +5021,68 @@ None ***********************/ class BOPDS_InterfVE : public BOPDS_Interf { public: - /****************** BOPDS_InterfVE ******************/ - /**** md5 signature: 6271df0bb8ec22b4b5d2f12a131e2ae8 ****/ + /****** BOPDS_InterfVE::BOPDS_InterfVE ******/ + /****** md5 signature: 6271df0bb8ec22b4b5d2f12a131e2ae8 ******/ %feature("compactdefaultargs") BOPDS_InterfVE; - %feature("autodoc", "/** * constructor */. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +/** * Constructor */. ") BOPDS_InterfVE; BOPDS_InterfVE(); - /****************** BOPDS_InterfVE ******************/ - /**** md5 signature: 0517f3ece389f8cd8f4272e4ce15ca4d ****/ + /****** BOPDS_InterfVE::BOPDS_InterfVE ******/ + /****** md5 signature: 0517f3ece389f8cd8f4272e4ce15ca4d ******/ %feature("compactdefaultargs") BOPDS_InterfVE; - %feature("autodoc", "/** * constructor * @param theallocator * allocator to manage the memory */. - + %feature("autodoc", " Parameters ---------- theAllocator: NCollection_BaseAllocator -Returns +Return ------- None + +Description +----------- +/** * Constructor * +Parameter theAllocator * allocator to manage the memory */. ") BOPDS_InterfVE; BOPDS_InterfVE(const opencascade::handle & theAllocator); - /****************** Parameter ******************/ - /**** md5 signature: a1c30d1196ee452cd8e422f1e25a0fbc ****/ + /****** BOPDS_InterfVE::Parameter ******/ + /****** md5 signature: a1c30d1196ee452cd8e422f1e25a0fbc ******/ %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 */. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +/** * Selector * Returrns the value of parameter * of the point of the vertex * on the curve of the edge * +Return: * value of parameter */. ") Parameter; Standard_Real Parameter(); - /****************** SetParameter ******************/ - /**** md5 signature: d089f68e9d85c0cc9947cf1853be9ad0 ****/ + /****** BOPDS_InterfVE::SetParameter ******/ + /****** md5 signature: d089f68e9d85c0cc9947cf1853be9ad0 ******/ %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 */. - + %feature("autodoc", " Parameters ---------- theT: float -Returns +Return ------- None + +Description +----------- +/** * Modifier * Sets the value of parameter * of the point of the vertex * on the curve of the edge * +Parameter theT * value of parameter */. ") SetParameter; void SetParameter(const Standard_Real theT); @@ -4456,60 +5100,76 @@ None ***********************/ class BOPDS_InterfVF : public BOPDS_Interf { public: - /****************** BOPDS_InterfVF ******************/ - /**** md5 signature: 4f904beb865fa4a8a7b6ce31b90e31ce ****/ + /****** BOPDS_InterfVF::BOPDS_InterfVF ******/ + /****** md5 signature: 4f904beb865fa4a8a7b6ce31b90e31ce ******/ %feature("compactdefaultargs") BOPDS_InterfVF; - %feature("autodoc", "/** * constructor */. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +/** * Constructor */. ") BOPDS_InterfVF; BOPDS_InterfVF(); - /****************** BOPDS_InterfVF ******************/ - /**** md5 signature: 845ad13694dca1bb6664247530187612 ****/ + /****** BOPDS_InterfVF::BOPDS_InterfVF ******/ + /****** md5 signature: 845ad13694dca1bb6664247530187612 ******/ %feature("compactdefaultargs") BOPDS_InterfVF; - %feature("autodoc", "/** * constructor * @param theallocator * allocator to manage the memory */. - + %feature("autodoc", " Parameters ---------- theAllocator: NCollection_BaseAllocator -Returns +Return ------- None + +Description +----------- +/** * Constructor * +Parameter theAllocator * allocator to manage the memory */. ") BOPDS_InterfVF; BOPDS_InterfVF(const opencascade::handle & theAllocator); - /****************** SetUV ******************/ - /**** md5 signature: f05410086525668d6e7335c85692e807 ****/ + /****** BOPDS_InterfVF::SetUV ******/ + /****** md5 signature: f05410086525668d6e7335c85692e807 ******/ %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 */. - + %feature("autodoc", " Parameters ---------- theU: float theV: float -Returns +Return ------- None + +Description +----------- +/** * Modifier * Sets the value of parameters * of the point of the vertex * on the surface of of the face * +Parameter theU * value of U parameter * +Parameter theV * value of U parameter */. ") SetUV; void SetUV(const Standard_Real theU, const Standard_Real theV); - /****************** UV ******************/ - /**** md5 signature: d5aee13da276e476ef2e46c0c4691734 ****/ + /****** BOPDS_InterfVF::UV ******/ + /****** md5 signature: d5aee13da276e476ef2e46c0c4691734 ******/ %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 */. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- theU: float theV: float + +Description +----------- +/** * Selector * Returns the value of parameters * of the point of the vertex * on the surface of of the face * +Parameter theU * value of U parameter * +Parameter theV * value of U parameter */. ") UV; void UV(Standard_Real &OutValue, Standard_Real &OutValue); @@ -4527,29 +5187,35 @@ theV: float ***********************/ class BOPDS_InterfVV : public BOPDS_Interf { public: - /****************** BOPDS_InterfVV ******************/ - /**** md5 signature: e630b4eef92ce00d9ba3c276b244a9d9 ****/ + /****** BOPDS_InterfVV::BOPDS_InterfVV ******/ + /****** md5 signature: e630b4eef92ce00d9ba3c276b244a9d9 ******/ %feature("compactdefaultargs") BOPDS_InterfVV; - %feature("autodoc", "/** * constructor */. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +/** * Constructor */. ") BOPDS_InterfVV; BOPDS_InterfVV(); - /****************** BOPDS_InterfVV ******************/ - /**** md5 signature: b8d96d83bfe94f647252a7f68f684680 ****/ + /****** BOPDS_InterfVV::BOPDS_InterfVV ******/ + /****** md5 signature: b8d96d83bfe94f647252a7f68f684680 ******/ %feature("compactdefaultargs") BOPDS_InterfVV; - %feature("autodoc", "/** * constructor * @param theallocator * allocator to manage the memory */. - + %feature("autodoc", " Parameters ---------- theAllocator: NCollection_BaseAllocator -Returns +Return ------- None + +Description +----------- +/** * Constructor * +Parameter theAllocator * allocator to manage the memory */. ") BOPDS_InterfVV; BOPDS_InterfVV(const opencascade::handle & theAllocator); @@ -4567,29 +5233,35 @@ None ***********************/ class BOPDS_InterfVZ : public BOPDS_Interf { public: - /****************** BOPDS_InterfVZ ******************/ - /**** md5 signature: 96ec00ba8d018a2dbf0e43b26f1e2583 ****/ + /****** BOPDS_InterfVZ::BOPDS_InterfVZ ******/ + /****** md5 signature: 96ec00ba8d018a2dbf0e43b26f1e2583 ******/ %feature("compactdefaultargs") BOPDS_InterfVZ; - %feature("autodoc", "/** * constructor */. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +/** * Constructor */. ") BOPDS_InterfVZ; BOPDS_InterfVZ(); - /****************** BOPDS_InterfVZ ******************/ - /**** md5 signature: 5c02cc4070faaca682e63bf98e24be8d ****/ + /****** BOPDS_InterfVZ::BOPDS_InterfVZ ******/ + /****** md5 signature: 5c02cc4070faaca682e63bf98e24be8d ******/ %feature("compactdefaultargs") BOPDS_InterfVZ; - %feature("autodoc", "/** * constructor * @param theallocator * allocator to manage the memory */. - + %feature("autodoc", " Parameters ---------- theAllocator: NCollection_BaseAllocator -Returns +Return ------- None + +Description +----------- +/** * Constructor * +Parameter theAllocator * allocator to manage the memory */. ") BOPDS_InterfVZ; BOPDS_InterfVZ(const opencascade::handle & theAllocator); @@ -4607,29 +5279,35 @@ None ***********************/ class BOPDS_InterfZZ : public BOPDS_Interf { public: - /****************** BOPDS_InterfZZ ******************/ - /**** md5 signature: 113ab70d063043dabdc7028349eeea00 ****/ + /****** BOPDS_InterfZZ::BOPDS_InterfZZ ******/ + /****** md5 signature: 113ab70d063043dabdc7028349eeea00 ******/ %feature("compactdefaultargs") BOPDS_InterfZZ; - %feature("autodoc", "/** * constructor */. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +/** * Constructor */. ") BOPDS_InterfZZ; BOPDS_InterfZZ(); - /****************** BOPDS_InterfZZ ******************/ - /**** md5 signature: 5f74a14b8c05998299025f2f1bc01f77 ****/ + /****** BOPDS_InterfZZ::BOPDS_InterfZZ ******/ + /****** md5 signature: 5f74a14b8c05998299025f2f1bc01f77 ******/ %feature("compactdefaultargs") BOPDS_InterfZZ; - %feature("autodoc", "/** * constructor * @param theallocator * allocator to manage the memory */. - + %feature("autodoc", " Parameters ---------- theAllocator: NCollection_BaseAllocator -Returns +Return ------- None + +Description +----------- +/** * Constructor * +Parameter theAllocator * allocator to manage the memory */. ") BOPDS_InterfZZ; BOPDS_InterfZZ(const opencascade::handle & theAllocator); @@ -4647,44 +5325,53 @@ None *************************/ class BOPDS_IteratorSI : public BOPDS_Iterator { public: - /****************** BOPDS_IteratorSI ******************/ - /**** md5 signature: c5b0dd22646c1e2457a62b94390f85aa ****/ + /****** BOPDS_IteratorSI::BOPDS_IteratorSI ******/ + /****** md5 signature: c5b0dd22646c1e2457a62b94390f85aa ******/ %feature("compactdefaultargs") BOPDS_IteratorSI; - %feature("autodoc", "Empty contructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BOPDS_IteratorSI; BOPDS_IteratorSI(); - /****************** BOPDS_IteratorSI ******************/ - /**** md5 signature: 802d1e4e61c51785f102169bd02bad90 ****/ + /****** BOPDS_IteratorSI::BOPDS_IteratorSI ******/ + /****** md5 signature: 802d1e4e61c51785f102169bd02bad90 ******/ %feature("compactdefaultargs") BOPDS_IteratorSI; - %feature("autodoc", "Contructor theallocator - the allocator to manage the memory. - + %feature("autodoc", " Parameters ---------- theAllocator: NCollection_BaseAllocator -Returns +Return ------- None + +Description +----------- +Constructor +Parameter theAllocator the allocator to manage the memory. ") BOPDS_IteratorSI; BOPDS_IteratorSI(const opencascade::handle & theAllocator); - /****************** UpdateByLevelOfCheck ******************/ - /**** md5 signature: da43b78370a700502adc2b5b947016f3 ****/ + /****** BOPDS_IteratorSI::UpdateByLevelOfCheck ******/ + /****** md5 signature: da43b78370a700502adc2b5b947016f3 ******/ %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. - + %feature("autodoc", " Parameters ---------- theLevel: int -Returns +Return ------- None + +Description +----------- +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. ") UpdateByLevelOfCheck; void UpdateByLevelOfCheck(const Standard_Integer theLevel); @@ -4711,3 +5398,30 @@ class BOPDS_Interf: /* class aliases */ %pythoncode { } +/* deprecated methods */ +%pythoncode { +@deprecated +def BOPDS_DS_NbInterfTypes(*args): + return BOPDS_DS.NbInterfTypes(*args) + +@deprecated +def BOPDS_Iterator_NbExtInterfs(*args): + return BOPDS_Iterator.NbExtInterfs(*args) + +@deprecated +def BOPDS_Tools_HasBRep(*args): + return BOPDS_Tools.HasBRep(*args) + +@deprecated +def BOPDS_Tools_IsInterfering(*args): + return BOPDS_Tools.IsInterfering(*args) + +@deprecated +def BOPDS_Tools_TypeToInteger(*args): + return BOPDS_Tools.TypeToInteger(*args) + +@deprecated +def BOPDS_Tools_TypeToInteger(*args): + return BOPDS_Tools.TypeToInteger(*args) + +} diff --git a/src/SWIG_files/wrapper/BOPDS.pyi b/src/SWIG_files/wrapper/BOPDS.pyi index f231ddaba..99617dacc 100644 --- a/src/SWIG_files/wrapper/BOPDS.pyi +++ b/src/SWIG_files/wrapper/BOPDS.pyi @@ -11,109 +11,127 @@ from OCC.Core.TopTools import * from OCC.Core.TopAbs import * from OCC.Core.gp import * -#the following typedef cannot be wrapped as is -BOPDS_DataMapIteratorOfDataMapOfPaveBlockCommonBlock = NewType('BOPDS_DataMapIteratorOfDataMapOfPaveBlockCommonBlock', Any) -#the following typedef cannot be wrapped as is -BOPDS_DataMapIteratorOfDataMapOfPaveBlockListOfInteger = NewType('BOPDS_DataMapIteratorOfDataMapOfPaveBlockListOfInteger', Any) -#the following typedef cannot be wrapped as is -BOPDS_DataMapIteratorOfDataMapOfPaveBlockListOfPaveBlock = NewType('BOPDS_DataMapIteratorOfDataMapOfPaveBlockListOfPaveBlock', Any) -#the following typedef cannot be wrapped as is -BOPDS_DataMapIteratorOfDataMapOfShapeCoupleOfPaveBlocks = NewType('BOPDS_DataMapIteratorOfDataMapOfShapeCoupleOfPaveBlocks', Any) -#the following typedef cannot be wrapped as is -BOPDS_IndexedDataMapOfPaveBlockListOfInteger = NewType('BOPDS_IndexedDataMapOfPaveBlockListOfInteger', Any) -#the following typedef cannot be wrapped as is -BOPDS_IndexedDataMapOfPaveBlockListOfPaveBlock = NewType('BOPDS_IndexedDataMapOfPaveBlockListOfPaveBlock', Any) -#the following typedef cannot be wrapped as is -BOPDS_IndexedDataMapOfShapeCoupleOfPaveBlocks = NewType('BOPDS_IndexedDataMapOfShapeCoupleOfPaveBlocks', Any) -#the following typedef cannot be wrapped as is -BOPDS_IndexedMapOfPaveBlock = NewType('BOPDS_IndexedMapOfPaveBlock', Any) -#the following typedef cannot be wrapped as is -BOPDS_ListIteratorOfListOfPave = NewType('BOPDS_ListIteratorOfListOfPave', Any) -#the following typedef cannot be wrapped as is -BOPDS_ListIteratorOfListOfPaveBlock = NewType('BOPDS_ListIteratorOfListOfPaveBlock', Any) -#the following typedef cannot be wrapped as is -BOPDS_MapIteratorOfMapOfCommonBlock = NewType('BOPDS_MapIteratorOfMapOfCommonBlock', Any) -#the following typedef cannot be wrapped as is -BOPDS_MapIteratorOfMapOfPair = NewType('BOPDS_MapIteratorOfMapOfPair', Any) -#the following typedef cannot be wrapped as is -BOPDS_MapIteratorOfMapOfPave = NewType('BOPDS_MapIteratorOfMapOfPave', Any) -#the following typedef cannot be wrapped as is -BOPDS_MapIteratorOfMapOfPaveBlock = NewType('BOPDS_MapIteratorOfMapOfPaveBlock', Any) -#the following typedef cannot be wrapped as is -BOPDS_MapOfCommonBlock = NewType('BOPDS_MapOfCommonBlock', Any) -#the following typedef cannot be wrapped as is -BOPDS_MapOfPair = NewType('BOPDS_MapOfPair', Any) -#the following typedef cannot be wrapped as is -BOPDS_MapOfPave = NewType('BOPDS_MapOfPave', Any) -#the following typedef cannot be wrapped as is -BOPDS_MapOfPaveBlock = NewType('BOPDS_MapOfPaveBlock', Any) -BOPDS_PDS = NewType('BOPDS_PDS', BOPDS_DS) -BOPDS_PIterator = NewType('BOPDS_PIterator', BOPDS_Iterator) -BOPDS_PIteratorSI = NewType('BOPDS_PIteratorSI', BOPDS_IteratorSI) -#the following typedef cannot be wrapped as is -BOPDS_VectorOfCurve = NewType('BOPDS_VectorOfCurve', Any) -#the following typedef cannot be wrapped as is -BOPDS_VectorOfFaceInfo = NewType('BOPDS_VectorOfFaceInfo', Any) -#the following typedef cannot be wrapped as is -BOPDS_VectorOfIndexRange = NewType('BOPDS_VectorOfIndexRange', Any) -#the following typedef cannot be wrapped as is -BOPDS_VectorOfInterfEE = NewType('BOPDS_VectorOfInterfEE', Any) -#the following typedef cannot be wrapped as is -BOPDS_VectorOfInterfEF = NewType('BOPDS_VectorOfInterfEF', Any) -#the following typedef cannot be wrapped as is -BOPDS_VectorOfInterfEZ = NewType('BOPDS_VectorOfInterfEZ', Any) -#the following typedef cannot be wrapped as is -BOPDS_VectorOfInterfFF = NewType('BOPDS_VectorOfInterfFF', Any) -#the following typedef cannot be wrapped as is -BOPDS_VectorOfInterfFZ = NewType('BOPDS_VectorOfInterfFZ', Any) -#the following typedef cannot be wrapped as is -BOPDS_VectorOfInterfVE = NewType('BOPDS_VectorOfInterfVE', Any) -#the following typedef cannot be wrapped as is -BOPDS_VectorOfInterfVF = NewType('BOPDS_VectorOfInterfVF', Any) -#the following typedef cannot be wrapped as is -BOPDS_VectorOfInterfVV = NewType('BOPDS_VectorOfInterfVV', Any) -#the following typedef cannot be wrapped as is -BOPDS_VectorOfInterfVZ = NewType('BOPDS_VectorOfInterfVZ', Any) -#the following typedef cannot be wrapped as is -BOPDS_VectorOfInterfZZ = NewType('BOPDS_VectorOfInterfZZ', Any) -#the following typedef cannot be wrapped as is -BOPDS_VectorOfListOfPaveBlock = NewType('BOPDS_VectorOfListOfPaveBlock', Any) -#the following typedef cannot be wrapped as is -BOPDS_VectorOfPair = NewType('BOPDS_VectorOfPair', Any) -#the following typedef cannot be wrapped as is -BOPDS_VectorOfPoint = NewType('BOPDS_VectorOfPoint', Any) -#the following typedef cannot be wrapped as is -BOPDS_VectorOfShapeInfo = NewType('BOPDS_VectorOfShapeInfo', Any) -#the following typedef cannot be wrapped as is -BOPDS_VectorOfVectorOfPair = NewType('BOPDS_VectorOfVectorOfPair', Any) +# the following typedef cannot be wrapped as is +BOPDS_DataMapIteratorOfDataMapOfPaveBlockCommonBlock = NewType( + "BOPDS_DataMapIteratorOfDataMapOfPaveBlockCommonBlock", Any +) +# the following typedef cannot be wrapped as is +BOPDS_DataMapIteratorOfDataMapOfPaveBlockListOfInteger = NewType( + "BOPDS_DataMapIteratorOfDataMapOfPaveBlockListOfInteger", Any +) +# the following typedef cannot be wrapped as is +BOPDS_DataMapIteratorOfDataMapOfPaveBlockListOfPaveBlock = NewType( + "BOPDS_DataMapIteratorOfDataMapOfPaveBlockListOfPaveBlock", Any +) +# the following typedef cannot be wrapped as is +BOPDS_DataMapIteratorOfDataMapOfShapeCoupleOfPaveBlocks = NewType( + "BOPDS_DataMapIteratorOfDataMapOfShapeCoupleOfPaveBlocks", Any +) +# the following typedef cannot be wrapped as is +BOPDS_IndexedDataMapOfPaveBlockListOfInteger = NewType( + "BOPDS_IndexedDataMapOfPaveBlockListOfInteger", Any +) +# the following typedef cannot be wrapped as is +BOPDS_IndexedDataMapOfPaveBlockListOfPaveBlock = NewType( + "BOPDS_IndexedDataMapOfPaveBlockListOfPaveBlock", Any +) +# the following typedef cannot be wrapped as is +BOPDS_IndexedDataMapOfShapeCoupleOfPaveBlocks = NewType( + "BOPDS_IndexedDataMapOfShapeCoupleOfPaveBlocks", Any +) +# the following typedef cannot be wrapped as is +BOPDS_IndexedMapOfPaveBlock = NewType("BOPDS_IndexedMapOfPaveBlock", Any) +# the following typedef cannot be wrapped as is +BOPDS_ListIteratorOfListOfPave = NewType("BOPDS_ListIteratorOfListOfPave", Any) +# the following typedef cannot be wrapped as is +BOPDS_ListIteratorOfListOfPaveBlock = NewType( + "BOPDS_ListIteratorOfListOfPaveBlock", Any +) +# the following typedef cannot be wrapped as is +BOPDS_MapIteratorOfMapOfCommonBlock = NewType( + "BOPDS_MapIteratorOfMapOfCommonBlock", Any +) +# the following typedef cannot be wrapped as is +BOPDS_MapIteratorOfMapOfPair = NewType("BOPDS_MapIteratorOfMapOfPair", Any) +# the following typedef cannot be wrapped as is +BOPDS_MapIteratorOfMapOfPave = NewType("BOPDS_MapIteratorOfMapOfPave", Any) +# the following typedef cannot be wrapped as is +BOPDS_MapIteratorOfMapOfPaveBlock = NewType("BOPDS_MapIteratorOfMapOfPaveBlock", Any) +# the following typedef cannot be wrapped as is +BOPDS_MapOfCommonBlock = NewType("BOPDS_MapOfCommonBlock", Any) +# the following typedef cannot be wrapped as is +BOPDS_MapOfPair = NewType("BOPDS_MapOfPair", Any) +# the following typedef cannot be wrapped as is +BOPDS_MapOfPave = NewType("BOPDS_MapOfPave", Any) +# the following typedef cannot be wrapped as is +BOPDS_MapOfPaveBlock = NewType("BOPDS_MapOfPaveBlock", Any) +BOPDS_PDS = NewType("BOPDS_PDS", BOPDS_DS) +BOPDS_PIterator = NewType("BOPDS_PIterator", BOPDS_Iterator) +BOPDS_PIteratorSI = NewType("BOPDS_PIteratorSI", BOPDS_IteratorSI) +# the following typedef cannot be wrapped as is +BOPDS_VectorOfCurve = NewType("BOPDS_VectorOfCurve", Any) +# the following typedef cannot be wrapped as is +BOPDS_VectorOfFaceInfo = NewType("BOPDS_VectorOfFaceInfo", Any) +# the following typedef cannot be wrapped as is +BOPDS_VectorOfIndexRange = NewType("BOPDS_VectorOfIndexRange", Any) +# the following typedef cannot be wrapped as is +BOPDS_VectorOfInterfEE = NewType("BOPDS_VectorOfInterfEE", Any) +# the following typedef cannot be wrapped as is +BOPDS_VectorOfInterfEF = NewType("BOPDS_VectorOfInterfEF", Any) +# the following typedef cannot be wrapped as is +BOPDS_VectorOfInterfEZ = NewType("BOPDS_VectorOfInterfEZ", Any) +# the following typedef cannot be wrapped as is +BOPDS_VectorOfInterfFF = NewType("BOPDS_VectorOfInterfFF", Any) +# the following typedef cannot be wrapped as is +BOPDS_VectorOfInterfFZ = NewType("BOPDS_VectorOfInterfFZ", Any) +# the following typedef cannot be wrapped as is +BOPDS_VectorOfInterfVE = NewType("BOPDS_VectorOfInterfVE", Any) +# the following typedef cannot be wrapped as is +BOPDS_VectorOfInterfVF = NewType("BOPDS_VectorOfInterfVF", Any) +# the following typedef cannot be wrapped as is +BOPDS_VectorOfInterfVV = NewType("BOPDS_VectorOfInterfVV", Any) +# the following typedef cannot be wrapped as is +BOPDS_VectorOfInterfVZ = NewType("BOPDS_VectorOfInterfVZ", Any) +# the following typedef cannot be wrapped as is +BOPDS_VectorOfInterfZZ = NewType("BOPDS_VectorOfInterfZZ", Any) +# the following typedef cannot be wrapped as is +BOPDS_VectorOfListOfPaveBlock = NewType("BOPDS_VectorOfListOfPaveBlock", Any) +# the following typedef cannot be wrapped as is +BOPDS_VectorOfPair = NewType("BOPDS_VectorOfPair", Any) +# the following typedef cannot be wrapped as is +BOPDS_VectorOfPoint = NewType("BOPDS_VectorOfPoint", Any) +# the following typedef cannot be wrapped as is +BOPDS_VectorOfShapeInfo = NewType("BOPDS_VectorOfShapeInfo", Any) +# the following typedef cannot be wrapped as is +BOPDS_VectorOfVectorOfPair = NewType("BOPDS_VectorOfVectorOfPair", Any) class BOPDS_ListOfPave: - def __init__(self) -> None: ... - def __len__(self) -> int: ... - def Size(self) -> int: ... + def Append(self, theItem: BOPDS_Pave) -> BOPDS_Pave: ... + def Assign(self, theItem: BOPDS_ListOfPave) -> BOPDS_ListOfPave: ... def Clear(self) -> None: ... def First(self) -> BOPDS_Pave: ... def Last(self) -> BOPDS_Pave: ... - def Append(self, theItem: BOPDS_Pave) -> BOPDS_Pave: ... def Prepend(self, theItem: BOPDS_Pave) -> BOPDS_Pave: ... def RemoveFirst(self) -> None: ... def Reverse(self) -> None: ... - def Value(self, theIndex: int) -> BOPDS_Pave: ... - def SetValue(self, theIndex: int, theValue: BOPDS_Pave) -> None: ... - -class BOPDS_ListOfPaveBlock: + def Size(self) -> int: ... def __init__(self) -> None: ... def __len__(self) -> int: ... - def Size(self) -> int: ... + def __iter__(self) -> BOPDS_Pave: ... + +class BOPDS_ListOfPaveBlock: + def Append(self, theItem: False) -> False: ... + def Assign(self, theItem: BOPDS_ListOfPaveBlock) -> BOPDS_ListOfPaveBlock: ... def Clear(self) -> None: ... def First(self) -> False: ... def Last(self) -> False: ... - def Append(self, theItem: False) -> False: ... def Prepend(self, theItem: False) -> False: ... def RemoveFirst(self) -> None: ... def Reverse(self) -> None: ... - def Value(self, theIndex: int) -> False: ... - def SetValue(self, theIndex: int, theValue: False) -> None: ... + def Size(self) -> int: ... + def __init__(self) -> None: ... + def __len__(self) -> int: ... + def __iter__(self) -> False: ... class BOPDS_VectorOfPave: @overload @@ -140,444 +158,463 @@ class BOPDS_VectorOfPave: def SetValue(self, theIndex: int, theValue: BOPDS_Pave) -> None: ... class BOPDS_CommonBlock(Standard_Transient): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... - def AddFace(self, aF: int) -> None: ... - def AddPaveBlock(self, aPB: BOPDS_PaveBlock) -> None: ... - def AppendFaces(self, aLF: TColStd_ListOfInteger) -> None: ... - @overload - def Contains(self, thePB: BOPDS_PaveBlock) -> bool: ... - @overload - def Contains(self, theF: int) -> bool: ... - def Dump(self) -> None: ... - def Edge(self) -> int: ... - def Faces(self) -> TColStd_ListOfInteger: ... - def IsPaveBlockOnEdge(self, theIndex: int) -> bool: ... - def IsPaveBlockOnFace(self, theIndex: int) -> bool: ... - def PaveBlock1(self) -> BOPDS_PaveBlock: ... - def PaveBlockOnEdge(self, theIndex: int) -> BOPDS_PaveBlock: ... - def PaveBlocks(self) -> BOPDS_ListOfPaveBlock: ... - def SetEdge(self, theEdge: int) -> None: ... - def SetFaces(self, aLF: TColStd_ListOfInteger) -> None: ... - def SetPaveBlocks(self, aLPB: BOPDS_ListOfPaveBlock) -> None: ... - def SetRealPaveBlock(self, thePB: BOPDS_PaveBlock) -> None: ... - def SetTolerance(self, theTol: float) -> None: ... - def Tolerance(self) -> float: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... + def AddFace(self, aF: int) -> None: ... + def AddPaveBlock(self, aPB: BOPDS_PaveBlock) -> None: ... + def AppendFaces(self, aLF: TColStd_ListOfInteger) -> None: ... + @overload + def Contains(self, thePB: BOPDS_PaveBlock) -> bool: ... + @overload + def Contains(self, theF: int) -> bool: ... + def Dump(self) -> None: ... + def Edge(self) -> int: ... + def Faces(self) -> TColStd_ListOfInteger: ... + def IsPaveBlockOnEdge(self, theIndex: int) -> bool: ... + def IsPaveBlockOnFace(self, theIndex: int) -> bool: ... + def PaveBlock1(self) -> BOPDS_PaveBlock: ... + def PaveBlockOnEdge(self, theIndex: int) -> BOPDS_PaveBlock: ... + def PaveBlocks(self) -> BOPDS_ListOfPaveBlock: ... + def SetEdge(self, theEdge: int) -> None: ... + def SetFaces(self, aLF: TColStd_ListOfInteger) -> None: ... + def SetPaveBlocks(self, aLPB: BOPDS_ListOfPaveBlock) -> None: ... + def SetRealPaveBlock(self, thePB: BOPDS_PaveBlock) -> None: ... + def SetTolerance(self, theTol: float) -> None: ... + def Tolerance(self) -> float: ... class BOPDS_CoupleOfPaveBlocks: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, thePB1: BOPDS_PaveBlock, thePB2: BOPDS_PaveBlock) -> None: ... - def Index(self) -> int: ... - def IndexInterf(self) -> int: ... - def PaveBlock1(self) -> BOPDS_PaveBlock: ... - def PaveBlock2(self) -> BOPDS_PaveBlock: ... - def PaveBlocks(self, thePB1: BOPDS_PaveBlock, thePB2: BOPDS_PaveBlock) -> None: ... - def SetIndex(self, theIndex: int) -> None: ... - def SetIndexInterf(self, theIndex: int) -> None: ... - def SetPaveBlock1(self, thePB: BOPDS_PaveBlock) -> None: ... - def SetPaveBlock2(self, thePB: BOPDS_PaveBlock) -> None: ... - def SetPaveBlocks(self, thePB1: BOPDS_PaveBlock, thePB2: BOPDS_PaveBlock) -> None: ... - def SetTolerance(self, theTol: float) -> None: ... - def Tolerance(self) -> float: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, thePB1: BOPDS_PaveBlock, thePB2: BOPDS_PaveBlock) -> None: ... + def Index(self) -> int: ... + def IndexInterf(self) -> int: ... + def PaveBlock1(self) -> BOPDS_PaveBlock: ... + def PaveBlock2(self) -> BOPDS_PaveBlock: ... + def PaveBlocks(self, thePB1: BOPDS_PaveBlock, thePB2: BOPDS_PaveBlock) -> None: ... + def SetIndex(self, theIndex: int) -> None: ... + def SetIndexInterf(self, theIndex: int) -> None: ... + def SetPaveBlock1(self, thePB: BOPDS_PaveBlock) -> None: ... + def SetPaveBlock2(self, thePB: BOPDS_PaveBlock) -> None: ... + def SetPaveBlocks( + self, thePB1: BOPDS_PaveBlock, thePB2: BOPDS_PaveBlock + ) -> None: ... + def SetTolerance(self, theTol: float) -> None: ... + def Tolerance(self) -> float: ... class BOPDS_Curve: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... - def Box(self) -> Bnd_Box: ... - def ChangeBox(self) -> Bnd_Box: ... - def ChangePaveBlock1(self) -> BOPDS_PaveBlock: ... - def ChangePaveBlocks(self) -> BOPDS_ListOfPaveBlock: ... - def ChangeTechnoVertices(self) -> TColStd_ListOfInteger: ... - def Curve(self) -> IntTools_Curve: ... - def HasEdge(self) -> bool: ... - def InitPaveBlock1(self) -> None: ... - def PaveBlocks(self) -> BOPDS_ListOfPaveBlock: ... - def SetBox(self, theBox: Bnd_Box) -> None: ... - def SetCurve(self, theC: IntTools_Curve) -> None: ... - def SetPaveBlocks(self, theLPB: BOPDS_ListOfPaveBlock) -> None: ... - def SetTolerance(self, theTol: float) -> None: ... - def TangentialTolerance(self) -> float: ... - def TechnoVertices(self) -> TColStd_ListOfInteger: ... - def Tolerance(self) -> float: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... + def Box(self) -> Bnd_Box: ... + def ChangeBox(self) -> Bnd_Box: ... + def ChangePaveBlock1(self) -> BOPDS_PaveBlock: ... + def ChangePaveBlocks(self) -> BOPDS_ListOfPaveBlock: ... + def ChangeTechnoVertices(self) -> TColStd_ListOfInteger: ... + def Curve(self) -> IntTools_Curve: ... + def HasEdge(self) -> bool: ... + def InitPaveBlock1(self) -> None: ... + def PaveBlocks(self) -> BOPDS_ListOfPaveBlock: ... + def SetBox(self, theBox: Bnd_Box) -> None: ... + def SetCurve(self, theC: IntTools_Curve) -> None: ... + def SetPaveBlocks(self, theLPB: BOPDS_ListOfPaveBlock) -> None: ... + def SetTolerance(self, theTol: float) -> None: ... + def TangentialTolerance(self) -> float: ... + def TechnoVertices(self) -> TColStd_ListOfInteger: ... + def Tolerance(self) -> float: ... class BOPDS_DS: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... - def AddInterf(self, theI1: int, theI2: int) -> bool: ... - def AddShapeSD(self, theIndex: int, theIndexSD: int) -> None: ... - def Allocator(self) -> NCollection_BaseAllocator: ... - def AloneVertices(self, theF: int, theLI: TColStd_ListOfInteger) -> None: ... - @overload - def Append(self, theSI: BOPDS_ShapeInfo) -> int: ... - @overload - def Append(self, theS: TopoDS_Shape) -> int: ... - def Arguments(self) -> TopTools_ListOfShape: ... - def BuildBndBoxSolid(self, theIndex: int, theBox: Bnd_Box, theCheckInverted: Optional[bool] = True) -> None: ... - def ChangeFaceInfo(self, theIndex: int) -> BOPDS_FaceInfo: ... - def ChangePaveBlocks(self, theIndex: int) -> BOPDS_ListOfPaveBlock: ... - def ChangePaveBlocksPool(self) -> BOPDS_VectorOfListOfPaveBlock: ... - def ChangeShapeInfo(self, theIndex: int) -> BOPDS_ShapeInfo: ... - def Clear(self) -> None: ... - def CommonBlock(self, thePB: BOPDS_PaveBlock) -> BOPDS_CommonBlock: ... - def Dump(self) -> None: ... - def FaceInfo(self, theIndex: int) -> BOPDS_FaceInfo: ... - def FaceInfoIn(self, theIndex: int, theMPB: BOPDS_IndexedMapOfPaveBlock, theMVP: TColStd_MapOfInteger) -> None: ... - def FaceInfoOn(self, theIndex: int, theMPB: BOPDS_IndexedMapOfPaveBlock, theMVP: TColStd_MapOfInteger) -> None: ... - def FaceInfoPool(self) -> BOPDS_VectorOfFaceInfo: ... - def HasFaceInfo(self, theIndex: int) -> bool: ... - @overload - def HasInterf(self, theI: int) -> bool: ... - @overload - def HasInterf(self, theI1: int, theI2: int) -> bool: ... - def HasInterfShapeSubShapes(self, theI1: int, theI2: int, theFlag: Optional[bool] = True) -> bool: ... - def HasInterfSubShapes(self, theI1: int, theI2: int) -> bool: ... - def HasPaveBlocks(self, theIndex: int) -> bool: ... - def HasShapeSD(self, theIndex: int) -> Tuple[bool, int]: ... - def Index(self, theS: TopoDS_Shape) -> int: ... - def Init(self, theFuzz: Optional[float] = precision_Confusion()) -> None: ... - def InitPaveBlocksForVertex(self, theNV: int) -> None: ... - def InterfEE(self) -> BOPDS_VectorOfInterfEE: ... - def InterfEF(self) -> BOPDS_VectorOfInterfEF: ... - def InterfEZ(self) -> BOPDS_VectorOfInterfEZ: ... - def InterfFF(self) -> BOPDS_VectorOfInterfFF: ... - def InterfFZ(self) -> BOPDS_VectorOfInterfFZ: ... - def InterfVE(self) -> BOPDS_VectorOfInterfVE: ... - def InterfVF(self) -> BOPDS_VectorOfInterfVF: ... - def InterfVV(self) -> BOPDS_VectorOfInterfVV: ... - def InterfVZ(self) -> BOPDS_VectorOfInterfVZ: ... - def InterfZZ(self) -> BOPDS_VectorOfInterfZZ: ... - def Interferences(self) -> BOPDS_MapOfPair: ... - def IsCommonBlock(self, thePB: BOPDS_PaveBlock) -> bool: ... - def IsCommonBlockOnEdge(self, thePB: BOPDS_PaveBlock) -> bool: ... - def IsNewShape(self, theIndex: int) -> bool: ... - def IsSubShape(self, theI1: int, theI2: int) -> bool: ... - def IsValidShrunkData(self, thePB: BOPDS_PaveBlock) -> bool: ... - @staticmethod - def NbInterfTypes() -> int: ... - def NbRanges(self) -> int: ... - def NbShapes(self) -> int: ... - def NbSourceShapes(self) -> int: ... - def PaveBlocks(self, theIndex: int) -> BOPDS_ListOfPaveBlock: ... - def PaveBlocksPool(self) -> BOPDS_VectorOfListOfPaveBlock: ... - def Paves(self, theIndex: int, theLP: BOPDS_ListOfPave) -> None: ... - def Range(self, theIndex: int) -> BOPDS_IndexRange: ... - def Rank(self, theIndex: int) -> int: ... - def RealPaveBlock(self, thePB: BOPDS_PaveBlock) -> BOPDS_PaveBlock: ... - def RefineFaceInfoIn(self) -> None: ... - def RefineFaceInfoOn(self) -> None: ... - def ReleasePaveBlocks(self) -> None: ... - def SetArguments(self, theLS: TopTools_ListOfShape) -> None: ... - def SetCommonBlock(self, thePB: BOPDS_PaveBlock, theCB: BOPDS_CommonBlock) -> None: ... - def Shape(self, theIndex: int) -> TopoDS_Shape: ... - def ShapeInfo(self, theIndex: int) -> BOPDS_ShapeInfo: ... - def ShapesSD(self) -> TColStd_DataMapOfIntegerInteger: ... - def SharedEdges(self, theF1: int, theF2: int, theLI: TColStd_ListOfInteger, theAllocator: NCollection_BaseAllocator) -> None: ... - def SubShapesOnIn(self, theNF1: int, theNF2: int, theMVOnIn: TColStd_MapOfInteger, theMVCommon: TColStd_MapOfInteger, thePBOnIn: BOPDS_IndexedMapOfPaveBlock, theCommonPB: BOPDS_MapOfPaveBlock) -> None: ... - def UpdateCommonBlock(self, theCB: BOPDS_CommonBlock, theFuzz: float) -> None: ... - def UpdateCommonBlockWithSDVertices(self, theCB: BOPDS_CommonBlock) -> None: ... - @overload - def UpdateFaceInfoIn(self, theIndex: int) -> None: ... - @overload - def UpdateFaceInfoIn(self, theFaces: TColStd_MapOfInteger) -> None: ... - @overload - def UpdateFaceInfoOn(self, theIndex: int) -> None: ... - @overload - def UpdateFaceInfoOn(self, theFaces: TColStd_MapOfInteger) -> None: ... - def UpdatePaveBlock(self, thePB: BOPDS_PaveBlock) -> None: ... - def UpdatePaveBlockWithSDVertices(self, thePB: BOPDS_PaveBlock) -> None: ... - def UpdatePaveBlocks(self) -> None: ... - def UpdatePaveBlocksWithSDVertices(self) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... + def AddInterf(self, theI1: int, theI2: int) -> bool: ... + def AddShapeSD(self, theIndex: int, theIndexSD: int) -> None: ... + def Allocator(self) -> NCollection_BaseAllocator: ... + def AloneVertices(self, theF: int, theLI: TColStd_ListOfInteger) -> None: ... + @overload + def Append(self, theSI: BOPDS_ShapeInfo) -> int: ... + @overload + def Append(self, theS: TopoDS_Shape) -> int: ... + def Arguments(self) -> TopTools_ListOfShape: ... + def BuildBndBoxSolid( + self, theIndex: int, theBox: Bnd_Box, theCheckInverted: Optional[bool] = True + ) -> None: ... + def ChangeFaceInfo(self, theIndex: int) -> BOPDS_FaceInfo: ... + def ChangePaveBlocks(self, theIndex: int) -> BOPDS_ListOfPaveBlock: ... + def ChangePaveBlocksPool(self) -> BOPDS_VectorOfListOfPaveBlock: ... + def ChangeShapeInfo(self, theIndex: int) -> BOPDS_ShapeInfo: ... + def Clear(self) -> None: ... + def CommonBlock(self, thePB: BOPDS_PaveBlock) -> BOPDS_CommonBlock: ... + def Dump(self) -> None: ... + def FaceInfo(self, theIndex: int) -> BOPDS_FaceInfo: ... + def FaceInfoIn( + self, + theIndex: int, + theMPB: BOPDS_IndexedMapOfPaveBlock, + theMVP: TColStd_MapOfInteger, + ) -> None: ... + def FaceInfoOn( + self, + theIndex: int, + theMPB: BOPDS_IndexedMapOfPaveBlock, + theMVP: TColStd_MapOfInteger, + ) -> None: ... + def FaceInfoPool(self) -> BOPDS_VectorOfFaceInfo: ... + def HasFaceInfo(self, theIndex: int) -> bool: ... + @overload + def HasInterf(self, theI: int) -> bool: ... + @overload + def HasInterf(self, theI1: int, theI2: int) -> bool: ... + def HasInterfShapeSubShapes( + self, theI1: int, theI2: int, theFlag: Optional[bool] = True + ) -> bool: ... + def HasInterfSubShapes(self, theI1: int, theI2: int) -> bool: ... + def HasPaveBlocks(self, theIndex: int) -> bool: ... + def HasShapeSD(self, theIndex: int) -> Tuple[bool, int]: ... + def Index(self, theS: TopoDS_Shape) -> int: ... + def Init(self, theFuzz: Optional[float] = Precision.Confusion()) -> None: ... + def InitPaveBlocksForVertex(self, theNV: int) -> None: ... + def InterfEE(self) -> BOPDS_VectorOfInterfEE: ... + def InterfEF(self) -> BOPDS_VectorOfInterfEF: ... + def InterfEZ(self) -> BOPDS_VectorOfInterfEZ: ... + def InterfFF(self) -> BOPDS_VectorOfInterfFF: ... + def InterfFZ(self) -> BOPDS_VectorOfInterfFZ: ... + def InterfVE(self) -> BOPDS_VectorOfInterfVE: ... + def InterfVF(self) -> BOPDS_VectorOfInterfVF: ... + def InterfVV(self) -> BOPDS_VectorOfInterfVV: ... + def InterfVZ(self) -> BOPDS_VectorOfInterfVZ: ... + def InterfZZ(self) -> BOPDS_VectorOfInterfZZ: ... + def Interferences(self) -> BOPDS_MapOfPair: ... + def IsCommonBlock(self, thePB: BOPDS_PaveBlock) -> bool: ... + def IsCommonBlockOnEdge(self, thePB: BOPDS_PaveBlock) -> bool: ... + def IsNewShape(self, theIndex: int) -> bool: ... + def IsSubShape(self, theI1: int, theI2: int) -> bool: ... + def IsValidShrunkData(self, thePB: BOPDS_PaveBlock) -> bool: ... + @staticmethod + def NbInterfTypes() -> int: ... + def NbRanges(self) -> int: ... + def NbShapes(self) -> int: ... + def NbSourceShapes(self) -> int: ... + def PaveBlocks(self, theIndex: int) -> BOPDS_ListOfPaveBlock: ... + def PaveBlocksPool(self) -> BOPDS_VectorOfListOfPaveBlock: ... + def Paves(self, theIndex: int, theLP: BOPDS_ListOfPave) -> None: ... + def Range(self, theIndex: int) -> BOPDS_IndexRange: ... + def Rank(self, theIndex: int) -> int: ... + def RealPaveBlock(self, thePB: BOPDS_PaveBlock) -> BOPDS_PaveBlock: ... + def RefineFaceInfoIn(self) -> None: ... + def RefineFaceInfoOn(self) -> None: ... + def ReleasePaveBlocks(self) -> None: ... + def SetArguments(self, theLS: TopTools_ListOfShape) -> None: ... + def SetCommonBlock( + self, thePB: BOPDS_PaveBlock, theCB: BOPDS_CommonBlock + ) -> None: ... + def Shape(self, theIndex: int) -> TopoDS_Shape: ... + def ShapeInfo(self, theIndex: int) -> BOPDS_ShapeInfo: ... + def ShapesSD(self) -> TColStd_DataMapOfIntegerInteger: ... + def SharedEdges( + self, + theF1: int, + theF2: int, + theLI: TColStd_ListOfInteger, + theAllocator: NCollection_BaseAllocator, + ) -> None: ... + def SubShapesOnIn( + self, + theNF1: int, + theNF2: int, + theMVOnIn: TColStd_MapOfInteger, + theMVCommon: TColStd_MapOfInteger, + thePBOnIn: BOPDS_IndexedMapOfPaveBlock, + theCommonPB: BOPDS_MapOfPaveBlock, + ) -> None: ... + def UpdateCommonBlock(self, theCB: BOPDS_CommonBlock, theFuzz: float) -> None: ... + def UpdateCommonBlockWithSDVertices(self, theCB: BOPDS_CommonBlock) -> None: ... + @overload + def UpdateFaceInfoIn(self, theIndex: int) -> None: ... + @overload + def UpdateFaceInfoIn(self, theFaces: TColStd_MapOfInteger) -> None: ... + @overload + def UpdateFaceInfoOn(self, theIndex: int) -> None: ... + @overload + def UpdateFaceInfoOn(self, theFaces: TColStd_MapOfInteger) -> None: ... + def UpdatePaveBlock(self, thePB: BOPDS_PaveBlock) -> None: ... + def UpdatePaveBlockWithSDVertices(self, thePB: BOPDS_PaveBlock) -> None: ... + def UpdatePaveBlocks(self) -> None: ... + def UpdatePaveBlocksWithSDVertices(self) -> None: ... class BOPDS_FaceInfo: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... - def ChangePaveBlocksIn(self) -> BOPDS_IndexedMapOfPaveBlock: ... - def ChangePaveBlocksOn(self) -> BOPDS_IndexedMapOfPaveBlock: ... - def ChangePaveBlocksSc(self) -> BOPDS_IndexedMapOfPaveBlock: ... - def ChangeVerticesIn(self) -> TColStd_MapOfInteger: ... - def ChangeVerticesOn(self) -> TColStd_MapOfInteger: ... - def ChangeVerticesSc(self) -> TColStd_MapOfInteger: ... - def Clear(self) -> None: ... - def Index(self) -> int: ... - def PaveBlocksIn(self) -> BOPDS_IndexedMapOfPaveBlock: ... - def PaveBlocksOn(self) -> BOPDS_IndexedMapOfPaveBlock: ... - def PaveBlocksSc(self) -> BOPDS_IndexedMapOfPaveBlock: ... - def SetIndex(self, theI: int) -> None: ... - def VerticesIn(self) -> TColStd_MapOfInteger: ... - def VerticesOn(self) -> TColStd_MapOfInteger: ... - def VerticesSc(self) -> TColStd_MapOfInteger: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... + def ChangePaveBlocksIn(self) -> BOPDS_IndexedMapOfPaveBlock: ... + def ChangePaveBlocksOn(self) -> BOPDS_IndexedMapOfPaveBlock: ... + def ChangePaveBlocksSc(self) -> BOPDS_IndexedMapOfPaveBlock: ... + def ChangeVerticesIn(self) -> TColStd_MapOfInteger: ... + def ChangeVerticesOn(self) -> TColStd_MapOfInteger: ... + def ChangeVerticesSc(self) -> TColStd_MapOfInteger: ... + def Clear(self) -> None: ... + def Index(self) -> int: ... + def PaveBlocksIn(self) -> BOPDS_IndexedMapOfPaveBlock: ... + def PaveBlocksOn(self) -> BOPDS_IndexedMapOfPaveBlock: ... + def PaveBlocksSc(self) -> BOPDS_IndexedMapOfPaveBlock: ... + def SetIndex(self, theI: int) -> None: ... + def VerticesIn(self) -> TColStd_MapOfInteger: ... + def VerticesOn(self) -> TColStd_MapOfInteger: ... + def VerticesSc(self) -> TColStd_MapOfInteger: ... class BOPDS_IndexRange: - def __init__(self) -> None: ... - def Contains(self, theIndex: int) -> bool: ... - def Dump(self) -> None: ... - def First(self) -> int: ... - def Indices(self) -> Tuple[int, int]: ... - def Last(self) -> int: ... - def SetFirst(self, theI1: int) -> None: ... - def SetIndices(self, theI1: int, theI2: int) -> None: ... - def SetLast(self, theI2: int) -> None: ... + def __init__(self) -> None: ... + def Contains(self, theIndex: int) -> bool: ... + def Dump(self) -> None: ... + def First(self) -> int: ... + def Indices(self) -> Tuple[int, int]: ... + def Last(self) -> int: ... + def SetFirst(self, theI1: int) -> None: ... + def SetIndices(self, theI1: int, theI2: int) -> None: ... + def SetLast(self, theI2: int) -> None: ... class BOPDS_Iterator: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... - def BlockLength(self) -> int: ... - def DS(self) -> BOPDS_DS: ... - def ExpectedLength(self) -> int: ... - def Initialize(self, theType1: TopAbs_ShapeEnum, theType2: TopAbs_ShapeEnum) -> None: ... - def IntersectExt(self, theIndicies: TColStd_MapOfInteger) -> None: ... - def More(self) -> bool: ... - @staticmethod - def NbExtInterfs() -> int: ... - def Next(self) -> None: ... - def Prepare(self, theCtx: Optional[IntTools_Context] = IntTools_Context(), theCheckOBB: Optional[bool] = False, theFuzzyValue: Optional[float] = precision_Confusion()) -> None: ... - def RunParallel(self) -> bool: ... - def SetDS(self, pDS: BOPDS_PDS) -> None: ... - def SetRunParallel(self, theFlag: bool) -> None: ... - def Value(self) -> Tuple[int, int]: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... + def BlockLength(self) -> int: ... + def DS(self) -> BOPDS_DS: ... + def ExpectedLength(self) -> int: ... + def Initialize( + self, theType1: TopAbs_ShapeEnum, theType2: TopAbs_ShapeEnum + ) -> None: ... + def IntersectExt(self, theIndicies: TColStd_MapOfInteger) -> None: ... + def More(self) -> bool: ... + @staticmethod + def NbExtInterfs() -> int: ... + def Next(self) -> None: ... + def Prepare( + self, + theCtx: Optional[IntTools_Context] = IntTools_Context(), + theCheckOBB: Optional[bool] = False, + theFuzzyValue: Optional[float] = Precision.Confusion(), + ) -> None: ... + def RunParallel(self) -> bool: ... + def SetDS(self, pDS: BOPDS_PDS) -> None: ... + def SetRunParallel(self, theFlag: bool) -> None: ... + def Value(self) -> Tuple[int, int]: ... class BOPDS_Pair: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theIndex1: int, theIndex2: int) -> None: ... - def HashCode(self, theUpperBound: int) -> int: ... - def Indices(self) -> Tuple[int, int]: ... - def IsEqual(self, theOther: BOPDS_Pair) -> bool: ... - def SetIndices(self, theIndex1: int, theIndex2: int) -> None: ... - -class BOPDS_PairMapHasher: - @staticmethod - def HashCode(thePair: BOPDS_Pair, theUpperBound: int) -> int: ... - @staticmethod - def IsEqual(thePair1: BOPDS_Pair, thePair2: BOPDS_Pair) -> bool: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theIndex1: int, theIndex2: int) -> None: ... + def Indices(self) -> Tuple[int, int]: ... + def IsEqual(self, theOther: BOPDS_Pair) -> bool: ... + def SetIndices(self, theIndex1: int, theIndex2: int) -> None: ... class BOPDS_Pave: - def __init__(self) -> None: ... - def Contents(self) -> Tuple[int, float]: ... - def Dump(self) -> None: ... - def Index(self) -> int: ... - def IsEqual(self, theOther: BOPDS_Pave) -> bool: ... - def IsLess(self, theOther: BOPDS_Pave) -> bool: ... - def Parameter(self) -> float: ... - def SetIndex(self, theIndex: int) -> None: ... - def SetParameter(self, theParameter: float) -> None: ... + def __init__(self) -> None: ... + def Contents(self) -> Tuple[int, float]: ... + def Dump(self) -> None: ... + def Index(self) -> int: ... + def IsEqual(self, theOther: BOPDS_Pave) -> bool: ... + def IsLess(self, theOther: BOPDS_Pave) -> bool: ... + def Parameter(self) -> float: ... + def SetIndex(self, theIndex: int) -> None: ... + def SetParameter(self, theParameter: float) -> None: ... class BOPDS_PaveBlock(Standard_Transient): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... - def AppendExtPave(self, thePave: BOPDS_Pave) -> None: ... - def AppendExtPave1(self, thePave: BOPDS_Pave) -> None: ... - def ChangeExtPaves(self) -> BOPDS_ListOfPave: ... - def ContainsParameter(self, thePrm: float, theTol: float) -> Tuple[bool, int]: ... - def Dump(self) -> None: ... - def Edge(self) -> int: ... - def ExtPaves(self) -> BOPDS_ListOfPave: ... - @overload - def HasEdge(self) -> bool: ... - @overload - def HasEdge(self) -> Tuple[bool, int]: ... - def HasSameBounds(self, theOther: BOPDS_PaveBlock) -> bool: ... - def HasShrunkData(self) -> bool: ... - def Indices(self) -> Tuple[int, int]: ... - def IsSplitEdge(self) -> bool: ... - def IsSplittable(self) -> bool: ... - def IsToUpdate(self) -> bool: ... - def OriginalEdge(self) -> int: ... - def Pave1(self) -> BOPDS_Pave: ... - def Pave2(self) -> BOPDS_Pave: ... - def Range(self) -> Tuple[float, float]: ... - def RemoveExtPave(self, theVertNum: int) -> None: ... - def SetEdge(self, theEdge: int) -> None: ... - def SetOriginalEdge(self, theEdge: int) -> None: ... - def SetPave1(self, thePave: BOPDS_Pave) -> None: ... - def SetPave2(self, thePave: BOPDS_Pave) -> None: ... - def SetShrunkData(self, theTS1: float, theTS2: float, theBox: Bnd_Box, theIsSplittable: bool) -> None: ... - def ShrunkData(self, theBox: Bnd_Box) -> Tuple[float, float, bool]: ... - def Update(self, theLPB: BOPDS_ListOfPaveBlock, theFlag: Optional[bool] = True) -> None: ... - -class BOPDS_PaveMapHasher: - @staticmethod - def HashCode(thePave: BOPDS_Pave, theUpperBound: int) -> int: ... - @staticmethod - def IsEqual(aPave1: BOPDS_Pave, aPave2: BOPDS_Pave) -> bool: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... + def AppendExtPave(self, thePave: BOPDS_Pave) -> None: ... + def AppendExtPave1(self, thePave: BOPDS_Pave) -> None: ... + def ChangeExtPaves(self) -> BOPDS_ListOfPave: ... + def ContainsParameter(self, thePrm: float, theTol: float) -> Tuple[bool, int]: ... + def Dump(self) -> None: ... + def Edge(self) -> int: ... + def ExtPaves(self) -> BOPDS_ListOfPave: ... + @overload + def HasEdge(self) -> bool: ... + @overload + def HasEdge(self) -> Tuple[bool, int]: ... + def HasSameBounds(self, theOther: BOPDS_PaveBlock) -> bool: ... + def HasShrunkData(self) -> bool: ... + def Indices(self) -> Tuple[int, int]: ... + def IsSplitEdge(self) -> bool: ... + def IsSplittable(self) -> bool: ... + def IsToUpdate(self) -> bool: ... + def OriginalEdge(self) -> int: ... + def Pave1(self) -> BOPDS_Pave: ... + def Pave2(self) -> BOPDS_Pave: ... + def Range(self) -> Tuple[float, float]: ... + def RemoveExtPave(self, theVertNum: int) -> None: ... + def SetEdge(self, theEdge: int) -> None: ... + def SetOriginalEdge(self, theEdge: int) -> None: ... + def SetPave1(self, thePave: BOPDS_Pave) -> None: ... + def SetPave2(self, thePave: BOPDS_Pave) -> None: ... + def SetShrunkData( + self, theTS1: float, theTS2: float, theBox: Bnd_Box, theIsSplittable: bool + ) -> None: ... + def ShrunkData(self, theBox: Bnd_Box) -> Tuple[float, float, bool]: ... + def Update( + self, theLPB: BOPDS_ListOfPaveBlock, theFlag: Optional[bool] = True + ) -> None: ... class BOPDS_Point: - def __init__(self) -> None: ... - def Index(self) -> int: ... - def Pnt(self) -> gp_Pnt: ... - def Pnt2D1(self) -> gp_Pnt2d: ... - def Pnt2D2(self) -> gp_Pnt2d: ... - def SetIndex(self, theIndex: int) -> None: ... - def SetPnt(self, thePnt: gp_Pnt) -> None: ... - def SetPnt2D1(self, thePnt: gp_Pnt2d) -> None: ... - def SetPnt2D2(self, thePnt: gp_Pnt2d) -> None: ... + def __init__(self) -> None: ... + def Index(self) -> int: ... + def Pnt(self) -> gp_Pnt: ... + def Pnt2D1(self) -> gp_Pnt2d: ... + def Pnt2D2(self) -> gp_Pnt2d: ... + def SetIndex(self, theIndex: int) -> None: ... + def SetPnt(self, thePnt: gp_Pnt) -> None: ... + def SetPnt2D1(self, thePnt: gp_Pnt2d) -> None: ... + def SetPnt2D2(self, thePnt: gp_Pnt2d) -> None: ... class BOPDS_ShapeInfo: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... - def Box(self) -> Bnd_Box: ... - def ChangeBox(self) -> Bnd_Box: ... - def ChangeSubShapes(self) -> TColStd_ListOfInteger: ... - def Dump(self) -> None: ... - def Flag(self) -> int: ... - def HasBRep(self) -> bool: ... - @overload - def HasFlag(self) -> bool: ... - @overload - def HasFlag(self) -> Tuple[bool, int]: ... - def HasReference(self) -> bool: ... - def HasSubShape(self, theI: int) -> bool: ... - def IsInterfering(self) -> bool: ... - def Reference(self) -> int: ... - def SetBox(self, theBox: Bnd_Box) -> None: ... - def SetFlag(self, theI: int) -> None: ... - def SetReference(self, theI: int) -> None: ... - def SetShape(self, theS: TopoDS_Shape) -> None: ... - def SetShapeType(self, theType: TopAbs_ShapeEnum) -> None: ... - def Shape(self) -> TopoDS_Shape: ... - def ShapeType(self) -> TopAbs_ShapeEnum: ... - def SubShapes(self) -> TColStd_ListOfInteger: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... + def Box(self) -> Bnd_Box: ... + def ChangeBox(self) -> Bnd_Box: ... + def ChangeSubShapes(self) -> TColStd_ListOfInteger: ... + def Dump(self) -> None: ... + def Flag(self) -> int: ... + def HasBRep(self) -> bool: ... + @overload + def HasFlag(self) -> bool: ... + @overload + def HasFlag(self) -> Tuple[bool, int]: ... + def HasReference(self) -> bool: ... + def HasSubShape(self, theI: int) -> bool: ... + def IsInterfering(self) -> bool: ... + def Reference(self) -> int: ... + def SetBox(self, theBox: Bnd_Box) -> None: ... + def SetFlag(self, theI: int) -> None: ... + def SetReference(self, theI: int) -> None: ... + def SetShape(self, theS: TopoDS_Shape) -> None: ... + def SetShapeType(self, theType: TopAbs_ShapeEnum) -> None: ... + def Shape(self) -> TopoDS_Shape: ... + def ShapeType(self) -> TopAbs_ShapeEnum: ... + def SubShapes(self) -> TColStd_ListOfInteger: ... class BOPDS_SubIterator: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... - def DS(self) -> BOPDS_DS: ... - def ExpectedLength(self) -> int: ... - def Initialize(self) -> None: ... - def More(self) -> bool: ... - def Next(self) -> None: ... - def Prepare(self) -> None: ... - def SetDS(self, pDS: BOPDS_PDS) -> None: ... - def SetSubSet1(self, theLI: TColStd_ListOfInteger) -> None: ... - def SetSubSet2(self, theLI: TColStd_ListOfInteger) -> None: ... - def SubSet1(self) -> TColStd_ListOfInteger: ... - def SubSet2(self) -> TColStd_ListOfInteger: ... - def Value(self) -> Tuple[int, int]: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... + def DS(self) -> BOPDS_DS: ... + def ExpectedLength(self) -> int: ... + def Initialize(self) -> None: ... + def More(self) -> bool: ... + def Next(self) -> None: ... + def Prepare(self) -> None: ... + def SetDS(self, pDS: BOPDS_PDS) -> None: ... + def SetSubSet1(self, theLI: TColStd_ListOfInteger) -> None: ... + def SetSubSet2(self, theLI: TColStd_ListOfInteger) -> None: ... + def SubSet1(self) -> TColStd_ListOfInteger: ... + def SubSet2(self) -> TColStd_ListOfInteger: ... + def Value(self) -> Tuple[int, int]: ... class BOPDS_Tools: - @staticmethod - def HasBRep(theT: TopAbs_ShapeEnum) -> bool: ... - @staticmethod - def IsInterfering(theT: TopAbs_ShapeEnum) -> bool: ... - @overload - @staticmethod - def TypeToInteger(theT1: TopAbs_ShapeEnum, theT2: TopAbs_ShapeEnum) -> int: ... - @overload - @staticmethod - def TypeToInteger(theT: TopAbs_ShapeEnum) -> int: ... + @staticmethod + def HasBRep(theT: TopAbs_ShapeEnum) -> bool: ... + @staticmethod + def IsInterfering(theT: TopAbs_ShapeEnum) -> bool: ... + @overload + @staticmethod + def TypeToInteger(theT1: TopAbs_ShapeEnum, theT2: TopAbs_ShapeEnum) -> int: ... + @overload + @staticmethod + def TypeToInteger(theT: TopAbs_ShapeEnum) -> int: ... class BOPDS_InterfEE(BOPDS_Interf): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... - def CommonPart(self) -> IntTools_CommonPrt: ... - def SetCommonPart(self, theCP: IntTools_CommonPrt) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... + def CommonPart(self) -> IntTools_CommonPrt: ... + def SetCommonPart(self, theCP: IntTools_CommonPrt) -> None: ... class BOPDS_InterfEF(BOPDS_Interf): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... - def CommonPart(self) -> IntTools_CommonPrt: ... - def SetCommonPart(self, theCP: IntTools_CommonPrt) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... + def CommonPart(self) -> IntTools_CommonPrt: ... + def SetCommonPart(self, theCP: IntTools_CommonPrt) -> None: ... class BOPDS_InterfEZ(BOPDS_Interf): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... class BOPDS_InterfFF(BOPDS_Interf): - def __init__(self) -> None: ... - def ChangeCurves(self) -> BOPDS_VectorOfCurve: ... - def ChangePoints(self) -> BOPDS_VectorOfPoint: ... - def Curves(self) -> BOPDS_VectorOfCurve: ... - def Init(self, theNbCurves: int, theNbPoints: int) -> None: ... - def Points(self) -> BOPDS_VectorOfPoint: ... - def SetTangentFaces(self, theFlag: bool) -> None: ... - def TangentFaces(self) -> bool: ... + def __init__(self) -> None: ... + def ChangeCurves(self) -> BOPDS_VectorOfCurve: ... + def ChangePoints(self) -> BOPDS_VectorOfPoint: ... + def Curves(self) -> BOPDS_VectorOfCurve: ... + def Init(self, theNbCurves: int, theNbPoints: int) -> None: ... + def Points(self) -> BOPDS_VectorOfPoint: ... + def SetTangentFaces(self, theFlag: bool) -> None: ... + def TangentFaces(self) -> bool: ... class BOPDS_InterfFZ(BOPDS_Interf): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... class BOPDS_InterfVE(BOPDS_Interf): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... - def Parameter(self) -> float: ... - def SetParameter(self, theT: float) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... + def Parameter(self) -> float: ... + def SetParameter(self, theT: float) -> None: ... class BOPDS_InterfVF(BOPDS_Interf): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... - def SetUV(self, theU: float, theV: float) -> None: ... - def UV(self) -> Tuple[float, float]: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... + def SetUV(self, theU: float, theV: float) -> None: ... + def UV(self) -> Tuple[float, float]: ... class BOPDS_InterfVV(BOPDS_Interf): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... class BOPDS_InterfVZ(BOPDS_Interf): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... class BOPDS_InterfZZ(BOPDS_Interf): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... class BOPDS_IteratorSI(BOPDS_Iterator): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... - def UpdateByLevelOfCheck(self, theLevel: int) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... + def UpdateByLevelOfCheck(self, theLevel: int) -> None: ... -#classnotwrapped +# classnotwrapped class BOPDS_Interf: ... # harray1 classes # harray2 classes # hsequence classes - -BOPDS_DS_NbInterfTypes = BOPDS_DS.NbInterfTypes -BOPDS_Iterator_NbExtInterfs = BOPDS_Iterator.NbExtInterfs -BOPDS_PairMapHasher_HashCode = BOPDS_PairMapHasher.HashCode -BOPDS_PairMapHasher_IsEqual = BOPDS_PairMapHasher.IsEqual -BOPDS_PaveMapHasher_HashCode = BOPDS_PaveMapHasher.HashCode -BOPDS_PaveMapHasher_IsEqual = BOPDS_PaveMapHasher.IsEqual -BOPDS_Tools_HasBRep = BOPDS_Tools.HasBRep -BOPDS_Tools_IsInterfering = BOPDS_Tools.IsInterfering -BOPDS_Tools_TypeToInteger = BOPDS_Tools.TypeToInteger -BOPDS_Tools_TypeToInteger = BOPDS_Tools.TypeToInteger diff --git a/src/SWIG_files/wrapper/BOPTools.i b/src/SWIG_files/wrapper/BOPTools.i index 3b66a130c..41095ffd7 100644 --- a/src/SWIG_files/wrapper/BOPTools.i +++ b/src/SWIG_files/wrapper/BOPTools.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BOPTOOLSDOCSTRING "BOPTools module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_boptools.html" +https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_boptools.html" %enddef %module (package="OCC.Core", docstring=BOPTOOLSDOCSTRING) BOPTools @@ -31,8 +31,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_boptools.html" %include ../common/CommonIncludes.i %include ../common/ExceptionCatcher.i %include ../common/FunctionTransformers.i +%include ../common/EnumTemplates.i %include ../common/Operators.i %include ../common/OccHandle.i +%include ../common/IOStream.i +%include ../common/ArrayMacros.i %{ @@ -62,6 +65,8 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_boptools.html" #include #include #include +#include +#include #include #include #include @@ -87,7 +92,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -96,13 +101,19 @@ from OCC.Core.Exception import * /* end handles declaration */ /* templates */ -%template(BOPTools_IndexedDataMapOfSetShape) NCollection_IndexedDataMap; +%template(BOPTools_IndexedDataMapOfSetShape) NCollection_IndexedDataMap; %template(BOPTools_ListOfConnexityBlock) NCollection_List; %extend NCollection_List { %pythoncode { def __len__(self): return self.Size() + + def __iter__(self): + it = BOPTools_ListIteratorOfListOfConnexityBlock(self.this) + while it.More(): + yield it.Value() + it.Next() } }; %template(BOPTools_ListOfCoupleOfShape) NCollection_List; @@ -111,9 +122,15 @@ from OCC.Core.Exception import * %pythoncode { def __len__(self): return self.Size() + + def __iter__(self): + it = BOPTools_ListIteratorOfListOfCoupleOfShape(self.this) + while it.More(): + yield it.Value() + it.Next() } }; -%template(BOPTools_MapOfSet) NCollection_Map; +%template(BOPTools_MapOfSet) NCollection_Map; /* end templates declaration */ /* typedefs */ @@ -123,13 +140,13 @@ typedef BOPTools_BoxSelector<2> BOPTools_Box2dTreeSelector; typedef BOPTools_PairSelector<3> BOPTools_BoxPairSelector; typedef BOPTools_BoxSet BOPTools_BoxTree; typedef BOPTools_BoxSelector<3> BOPTools_BoxTreeSelector; -typedef NCollection_IndexedDataMap BOPTools_IndexedDataMapOfSetShape; +typedef NCollection_IndexedDataMap BOPTools_IndexedDataMapOfSetShape; typedef BOPTools_ListOfConnexityBlock::Iterator BOPTools_ListIteratorOfListOfConnexityBlock; typedef BOPTools_ListOfCoupleOfShape::Iterator BOPTools_ListIteratorOfListOfCoupleOfShape; typedef NCollection_List BOPTools_ListOfConnexityBlock; typedef NCollection_List BOPTools_ListOfCoupleOfShape; typedef BOPTools_MapOfSet::Iterator BOPTools_MapIteratorOfMapOfSet; -typedef NCollection_Map BOPTools_MapOfSet; +typedef NCollection_Map BOPTools_MapOfSet; /* end typedefs declaration */ /*************************** @@ -137,30 +154,31 @@ typedef NCollection_Map BOPTools_MapOfSet; ***************************/ class BOPTools_AlgoTools { public: - /****************** AreFacesSameDomain ******************/ - /**** md5 signature: f19a161cde21c66b6d9731224fae68c3 ****/ + /****** BOPTools_AlgoTools::AreFacesSameDomain ******/ + /****** md5 signature: f19a161cde21c66b6d9731224fae68c3 ******/ %feature("compactdefaultargs") AreFacesSameDomain; - %feature("autodoc", "Checks if the given faces are same-domain, i.e. coincide. - + %feature("autodoc", " Parameters ---------- theF1: TopoDS_Face theF2: TopoDS_Face theContext: IntTools_Context -theFuzz: float,optional - default value is Precision::Confusion() +theFuzz: float (optional, default to Precision::Confusion()) -Returns +Return ------- bool + +Description +----------- +Checking if the faces are coinciding Checks if the given faces are same-domain, i.e. coincide. ") AreFacesSameDomain; static Standard_Boolean AreFacesSameDomain(const TopoDS_Face & theF1, const TopoDS_Face & theF2, const opencascade::handle & theContext, const Standard_Real theFuzz = Precision::Confusion()); - /****************** ComputeState ******************/ - /**** md5 signature: e1da6e0dddf6168f52e3a834aad1830a ****/ + /****** BOPTools_AlgoTools::ComputeState ******/ + /****** md5 signature: e1da6e0dddf6168f52e3a834aad1830a ******/ %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. - + %feature("autodoc", " Parameters ---------- thePoint: gp_Pnt @@ -168,17 +186,20 @@ theSolid: TopoDS_Solid theTol: float theContext: IntTools_Context -Returns +Return ------- TopAbs_State + +Description +----------- +Computes the 3-D state of the point thePoint toward solid theSolid. theTol - value of precision of computation theContext- cached geometrical tools Returns 3-D state. ") ComputeState; static TopAbs_State ComputeState(const gp_Pnt & thePoint, const TopoDS_Solid & theSolid, const Standard_Real theTol, const opencascade::handle & theContext); - /****************** ComputeState ******************/ - /**** md5 signature: 0e8d68857685f81b632e860a849d408b ****/ + /****** BOPTools_AlgoTools::ComputeState ******/ + /****** md5 signature: 0e8d68857685f81b632e860a849d408b ******/ %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. - + %feature("autodoc", " Parameters ---------- theVertex: TopoDS_Vertex @@ -186,17 +207,20 @@ theSolid: TopoDS_Solid theTol: float theContext: IntTools_Context -Returns +Return ------- TopAbs_State + +Description +----------- +Computes the 3-D state of the vertex theVertex toward solid theSolid. theTol - value of precision of computation theContext- cached geometrical tools Returns 3-D state. ") ComputeState; static TopAbs_State ComputeState(const TopoDS_Vertex & theVertex, const TopoDS_Solid & theSolid, const Standard_Real theTol, const opencascade::handle & theContext); - /****************** ComputeState ******************/ - /**** md5 signature: 07abb3cbea99ca44435f7dfed83dfdd6 ****/ + /****** BOPTools_AlgoTools::ComputeState ******/ + /****** md5 signature: 07abb3cbea99ca44435f7dfed83dfdd6 ******/ %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. - + %feature("autodoc", " Parameters ---------- theEdge: TopoDS_Edge @@ -204,17 +228,20 @@ theSolid: TopoDS_Solid theTol: float theContext: IntTools_Context -Returns +Return ------- TopAbs_State + +Description +----------- +Computes the 3-D state of the edge theEdge toward solid theSolid. theTol - value of precision of computation theContext- cached geometrical tools Returns 3-D state. ") ComputeState; static TopAbs_State ComputeState(const TopoDS_Edge & theEdge, const TopoDS_Solid & theSolid, const Standard_Real theTol, const opencascade::handle & theContext); - /****************** ComputeState ******************/ - /**** md5 signature: 613ab8d336b931c1067e3f19202d5361 ****/ + /****** BOPTools_AlgoTools::ComputeState ******/ + /****** md5 signature: 613ab8d336b931c1067e3f19202d5361 ******/ %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. - + %feature("autodoc", " Parameters ---------- theFace: TopoDS_Face @@ -223,17 +250,20 @@ theTol: float theBounds: TopTools_IndexedMapOfShape theContext: IntTools_Context -Returns +Return ------- TopAbs_State + +Description +----------- +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- cached geometrical tools Returns 3-D 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); - /****************** ComputeStateByOnePoint ******************/ - /**** md5 signature: b025f56a823a8059eb68e2b7f182fd84 ****/ + /****** BOPTools_AlgoTools::ComputeStateByOnePoint ******/ + /****** md5 signature: b025f56a823a8059eb68e2b7f182fd84 ******/ %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. - + %feature("autodoc", " Parameters ---------- theShape: TopoDS_Shape @@ -241,124 +271,140 @@ theSolid: TopoDS_Solid theTol: float theContext: IntTools_Context -Returns +Return ------- TopAbs_State + +Description +----------- +Computes the 3-D state of the shape theShape toward solid theSolid. theTol - value of precision of computation theContext- cached geometrical tools Returns 3-D state. ") ComputeStateByOnePoint; static TopAbs_State ComputeStateByOnePoint(const TopoDS_Shape & theShape, const TopoDS_Solid & theSolid, const Standard_Real theTol, const opencascade::handle & theContext); - /****************** ComputeTolerance ******************/ - /**** md5 signature: 4fdfb1ebaaf4b76d31630b511de1fb0d ****/ + /****** BOPTools_AlgoTools::ComputeTolerance ******/ + /****** md5 signature: 4fdfb1ebaaf4b76d31630b511de1fb0d ******/ %feature("compactdefaultargs") ComputeTolerance; - %feature("autodoc", "Computes the necessary value of the tolerance for the edge. - + %feature("autodoc", " Parameters ---------- theFace: TopoDS_Face theEdge: TopoDS_Edge -Returns +Return ------- theMaxDist: float theMaxPar: float + +Description +----------- +Computes the necessary value of the tolerance for the edge. ") ComputeTolerance; static Standard_Boolean ComputeTolerance(const TopoDS_Face & theFace, const TopoDS_Edge & theEdge, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** ComputeVV ******************/ - /**** md5 signature: ce3c2889c3813a71551b7079a9adab2b ****/ + /****** BOPTools_AlgoTools::ComputeVV ******/ + /****** md5 signature: ce3c2889c3813a71551b7079a9adab2b ******/ %feature("compactdefaultargs") ComputeVV; - %feature("autodoc", "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. - + %feature("autodoc", " Parameters ---------- theV: TopoDS_Vertex theP: gp_Pnt theTolP: float -Returns +Return ------- int + +Description +----------- +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. ") ComputeVV; static Standard_Integer ComputeVV(const TopoDS_Vertex & theV, const gp_Pnt & theP, const Standard_Real theTolP); - /****************** ComputeVV ******************/ - /**** md5 signature: 1152c272803dc704f9b84852434b26e2 ****/ + /****** BOPTools_AlgoTools::ComputeVV ******/ + /****** md5 signature: 1152c272803dc704f9b84852434b26e2 ******/ %feature("compactdefaultargs") ComputeVV; - %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. - + %feature("autodoc", " Parameters ---------- theV1: TopoDS_Vertex theV2: TopoDS_Vertex -theFuzz: float,optional - default value is Precision::Confusion() +theFuzz: float (optional, default to Precision::Confusion()) -Returns +Return ------- int + +Description +----------- +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. ") ComputeVV; static Standard_Integer ComputeVV(const TopoDS_Vertex & theV1, const TopoDS_Vertex & theV2, const Standard_Real theFuzz = Precision::Confusion()); - /****************** CopyEdge ******************/ - /**** md5 signature: cb546e2ef298c5840b3996d97aa2246f ****/ + /****** BOPTools_AlgoTools::CopyEdge ******/ + /****** md5 signature: cb546e2ef298c5840b3996d97aa2246f ******/ %feature("compactdefaultargs") CopyEdge; - %feature("autodoc", "Makes a copy of with vertices. - + %feature("autodoc", " Parameters ---------- theEdge: TopoDS_Edge -Returns +Return ------- TopoDS_Edge + +Description +----------- +Makes a copy of with vertices. ") CopyEdge; static TopoDS_Edge CopyEdge(const TopoDS_Edge & theEdge); - /****************** CorrectCurveOnSurface ******************/ - /**** md5 signature: 10e6eb9f4a96224371686f6c20ae90c0 ****/ + /****** BOPTools_AlgoTools::CorrectCurveOnSurface ******/ + /****** md5 signature: 10e6eb9f4a96224371686f6c20ae90c0 ******/ %feature("compactdefaultargs") CorrectCurveOnSurface; - %feature("autodoc", "Provides valid values of tolerances for the shape in terms of brepcheck_invalidcurveonsurface. - + %feature("autodoc", " Parameters ---------- theS: TopoDS_Shape theMapToAvoid: TopTools_IndexedMapOfShape -theTolMax: float,optional - default value is 0.0001 -theRunParallel: bool,optional - default value is Standard_False +theTolMax: float (optional, default to 0.0001) +theRunParallel: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +Provides valid values of tolerances for the shape in terms of BRepCheck_InvalidCurveOnSurface. ") CorrectCurveOnSurface; static void CorrectCurveOnSurface(const TopoDS_Shape & theS, const TopTools_IndexedMapOfShape & theMapToAvoid, const Standard_Real theTolMax = 0.0001, const Standard_Boolean theRunParallel = Standard_False); - /****************** CorrectPointOnCurve ******************/ - /**** md5 signature: dd25a290a42192e5b7e5e25d15a694ee ****/ + /****** BOPTools_AlgoTools::CorrectPointOnCurve ******/ + /****** md5 signature: dd25a290a42192e5b7e5e25d15a694ee ******/ %feature("compactdefaultargs") CorrectPointOnCurve; - %feature("autodoc", "Provides valid values of tolerances for the shape in terms of brepcheck_invalidpointoncurve. - + %feature("autodoc", " Parameters ---------- theS: TopoDS_Shape theMapToAvoid: TopTools_IndexedMapOfShape -theTolMax: float,optional - default value is 0.0001 -theRunParallel: bool,optional - default value is Standard_False +theTolMax: float (optional, default to 0.0001) +theRunParallel: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +Provides valid values of tolerances for the shape in terms of BRepCheck_InvalidPointOnCurve. ") 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 ******************/ - /**** md5 signature: 1d43794148dcee778ea6198feb9555eb ****/ + /****** BOPTools_AlgoTools::CorrectRange ******/ + /****** md5 signature: 1d43794148dcee778ea6198feb9555eb ******/ %feature("compactdefaultargs") CorrectRange; - %feature("autodoc", "Correct shrunk range taking into account 3d-curve resolution and corresponding tolerance values of , . - + %feature("autodoc", " Parameters ---------- aE1: TopoDS_Edge @@ -366,17 +412,20 @@ aE2: TopoDS_Edge aSR: IntTools_Range aNewSR: IntTools_Range -Returns +Return ------- None + +Description +----------- +Correct shrunk range taking into account 3D-curve resolution and corresponding tolerance values of , . ") CorrectRange; static void CorrectRange(const TopoDS_Edge & aE1, const TopoDS_Edge & aE2, const IntTools_Range & aSR, IntTools_Range & aNewSR); - /****************** CorrectRange ******************/ - /**** md5 signature: b869bcda69d543a929cd0189038ab247 ****/ + /****** BOPTools_AlgoTools::CorrectRange ******/ + /****** md5 signature: b869bcda69d543a929cd0189038ab247 ******/ %feature("compactdefaultargs") CorrectRange; - %feature("autodoc", "Correct shrunk range taking into account 3d-curve resolution and corresponding tolerance values of , . - + %feature("autodoc", " Parameters ---------- aE: TopoDS_Edge @@ -384,131 +433,151 @@ aF: TopoDS_Face aSR: IntTools_Range aNewSR: IntTools_Range -Returns +Return ------- None + +Description +----------- +Correct shrunk range taking into account 3D-curve resolution and corresponding tolerance values of , . ") CorrectRange; static void CorrectRange(const TopoDS_Edge & aE, const TopoDS_Face & aF, const IntTools_Range & aSR, IntTools_Range & aNewSR); - /****************** CorrectShapeTolerances ******************/ - /**** md5 signature: 779ed39723dda01baad62e4986778cba ****/ + /****** BOPTools_AlgoTools::CorrectShapeTolerances ******/ + /****** md5 signature: 779ed39723dda01baad62e4986778cba ******/ %feature("compactdefaultargs") CorrectShapeTolerances; - %feature("autodoc", "Corrects tolerance values of the sub-shapes of the shape if needed. - + %feature("autodoc", " Parameters ---------- theS: TopoDS_Shape theMapToAvoid: TopTools_IndexedMapOfShape -theRunParallel: bool,optional - default value is Standard_False +theRunParallel: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +Corrects tolerance values of the sub-shapes of the shape if needed. ") CorrectShapeTolerances; static void CorrectShapeTolerances(const TopoDS_Shape & theS, const TopTools_IndexedMapOfShape & theMapToAvoid, const Standard_Boolean theRunParallel = Standard_False); - /****************** CorrectTolerances ******************/ - /**** md5 signature: 2fa2989532a10025b0282c9f0792a848 ****/ + /****** BOPTools_AlgoTools::CorrectTolerances ******/ + /****** md5 signature: 2fa2989532a10025b0282c9f0792a848 ******/ %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. - + %feature("autodoc", " Parameters ---------- theS: TopoDS_Shape theMapToAvoid: TopTools_IndexedMapOfShape -theTolMax: float,optional - default value is 0.0001 -theRunParallel: bool,optional - default value is Standard_False +theTolMax: float (optional, default to 0.0001) +theRunParallel: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +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. ") CorrectTolerances; static void CorrectTolerances(const TopoDS_Shape & theS, const TopTools_IndexedMapOfShape & theMapToAvoid, const Standard_Real theTolMax = 0.0001, const Standard_Boolean theRunParallel = Standard_False); - /****************** DTolerance ******************/ - /**** md5 signature: 075ca2e9d4910a8f1018c8adbac7e64d ****/ + /****** BOPTools_AlgoTools::DTolerance ******/ + /****** md5 signature: 075ca2e9d4910a8f1018c8adbac7e64d ******/ %feature("compactdefaultargs") DTolerance; - %feature("autodoc", "Additional tolerance (delta tolerance) is used in boolean operations to ensure that the tolerance of new/old entities obtained by intersection of two shapes is slightly bigger than the actual distances to these shapes. it helps to avoid numerical instability which may occur when comparing distances and tolerances. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Additional tolerance (delta tolerance) is used in Boolean Operations to ensure that the tolerance of new/old entities obtained by intersection of two shapes is slightly bigger than the actual distances to these shapes. It helps to avoid numerical instability which may occur when comparing distances and tolerances. ") DTolerance; static Standard_Real DTolerance(); - /****************** Dimension ******************/ - /**** md5 signature: 348038e7dc0c04e091d0a280a71bd60d ****/ + /****** BOPTools_AlgoTools::Dimension ******/ + /****** md5 signature: 348038e7dc0c04e091d0a280a71bd60d ******/ %feature("compactdefaultargs") Dimension; - %feature("autodoc", "Returns dimension of the shape . if the shape contains elements of different dimension, -1 is returned. - + %feature("autodoc", " Parameters ---------- theS: TopoDS_Shape -Returns +Return ------- int + +Description +----------- +Returns dimension of the shape . If the shape contains elements of different dimension, -1 is returned. ") Dimension; static Standard_Integer Dimension(const TopoDS_Shape & theS); - /****************** Dimensions ******************/ - /**** md5 signature: 485029a60f5198c2ef6a429c06efcd81 ****/ + /****** BOPTools_AlgoTools::Dimensions ******/ + /****** md5 signature: 485029a60f5198c2ef6a429c06efcd81 ******/ %feature("compactdefaultargs") Dimensions; - %feature("autodoc", "Returns the min and max dimensions of the shape . - + %feature("autodoc", " Parameters ---------- theS: TopoDS_Shape -Returns +Return ------- theDMin: int theDMax: int + +Description +----------- +Returns the min and max dimensions of the shape . ") Dimensions; static void Dimensions(const TopoDS_Shape & theS, Standard_Integer &OutValue, Standard_Integer &OutValue); - /****************** GetEdgeOff ******************/ - /**** md5 signature: f9ff0abb00c2f2593eff9881311221cd ****/ + /****** BOPTools_AlgoTools::GetEdgeOff ******/ + /****** md5 signature: f9ff0abb00c2f2593eff9881311221cd ******/ %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. - + %feature("autodoc", " Parameters ---------- theEdge: TopoDS_Edge theFace: TopoDS_Face theEdgeOff: TopoDS_Edge -Returns +Return ------- bool + +Description +----------- +Returns True if the face theFace contains the edge theEdge but with opposite orientation. If the method returns True theEdgeOff is the edge founded. ") GetEdgeOff; static Standard_Boolean GetEdgeOff(const TopoDS_Edge & theEdge, const TopoDS_Face & theFace, TopoDS_Edge & theEdgeOff); - /****************** GetEdgeOnFace ******************/ - /**** md5 signature: 0e11d8dc0b657d498bdb441974222906 ****/ + /****** BOPTools_AlgoTools::GetEdgeOnFace ******/ + /****** md5 signature: 0e11d8dc0b657d498bdb441974222906 ******/ %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. - + %feature("autodoc", " Parameters ---------- theEdge: TopoDS_Edge theFace: TopoDS_Face theEdgeOnF: TopoDS_Edge -Returns +Return ------- bool + +Description +----------- +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. ") GetEdgeOnFace; static Standard_Boolean GetEdgeOnFace(const TopoDS_Edge & theEdge, const TopoDS_Face & theFace, TopoDS_Edge & theEdgeOnF); - /****************** GetFaceOff ******************/ - /**** md5 signature: 64851eed7f9e8632025e1105ca710a20 ****/ + /****** BOPTools_AlgoTools::GetFaceOff ******/ + /****** md5 signature: 64851eed7f9e8632025e1105ca710a20 ******/ %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. - + %feature("autodoc", " Parameters ---------- theEdge: TopoDS_Edge @@ -517,17 +586,20 @@ theLCEF: BOPTools_ListOfCoupleOfShape theFaceOff: TopoDS_Face theContext: IntTools_Context -Returns +Return ------- bool + +Description +----------- +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. ") GetFaceOff; static Standard_Boolean GetFaceOff(const TopoDS_Edge & theEdge, const TopoDS_Face & theFace, BOPTools_ListOfCoupleOfShape & theLCEF, TopoDS_Face & theFaceOff, const opencascade::handle & theContext); - /****************** IsBlockInOnFace ******************/ - /**** md5 signature: 0a530195aed4f2f6869b608c9e8dbd2d ****/ + /****** BOPTools_AlgoTools::IsBlockInOnFace ******/ + /****** md5 signature: 0a530195aed4f2f6869b608c9e8dbd2d ******/ %feature("compactdefaultargs") IsBlockInOnFace; - %feature("autodoc", "Returns true if paveblock lays on the face , i.e the is in or on in 2d of . - + %feature("autodoc", " Parameters ---------- aShR: IntTools_Range @@ -535,33 +607,39 @@ aF: TopoDS_Face aE: TopoDS_Edge aContext: IntTools_Context -Returns +Return ------- bool + +Description +----------- +Returns True if PaveBlock lays on the face , i.e the is IN or ON in 2D of . ") IsBlockInOnFace; static Standard_Boolean IsBlockInOnFace(const IntTools_Range & aShR, const TopoDS_Face & aF, const TopoDS_Edge & aE, const opencascade::handle & aContext); - /****************** IsHole ******************/ - /**** md5 signature: 16350fb929e278089d74b09ce926512b ****/ + /****** BOPTools_AlgoTools::IsHole ******/ + /****** md5 signature: 16350fb929e278089d74b09ce926512b ******/ %feature("compactdefaultargs") IsHole; - %feature("autodoc", "Checks if the wire is a hole for the face. - + %feature("autodoc", " Parameters ---------- theW: TopoDS_Shape theF: TopoDS_Shape -Returns +Return ------- bool + +Description +----------- +Checks if the wire is a hole for the face. ") IsHole; static Standard_Boolean IsHole(const TopoDS_Shape & theW, const TopoDS_Shape & theF); - /****************** IsInternalFace ******************/ - /**** md5 signature: 158ceb98611c9190a402b54fc4233804 ****/ + /****** BOPTools_AlgoTools::IsInternalFace ******/ + /****** md5 signature: 158ceb98611c9190a402b54fc4233804 ******/ %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. - + %feature("autodoc", " Parameters ---------- theFace: TopoDS_Face @@ -570,17 +648,20 @@ theFace1: TopoDS_Face theFace2: TopoDS_Face theContext: IntTools_Context -Returns +Return ------- int + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: ef3d71c29b8862372e271068609aff5d ****/ + /****** BOPTools_AlgoTools::IsInternalFace ******/ + /****** md5 signature: ef3d71c29b8862372e271068609aff5d ******/ %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. - + %feature("autodoc", " Parameters ---------- theFace: TopoDS_Face @@ -588,17 +669,20 @@ theEdge: TopoDS_Edge theLF: TopTools_ListOfShape theContext: IntTools_Context -Returns +Return ------- int + +Description +----------- +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. ") IsInternalFace; static Standard_Integer IsInternalFace(const TopoDS_Face & theFace, const TopoDS_Edge & theEdge, TopTools_ListOfShape & theLF, const opencascade::handle & theContext); - /****************** IsInternalFace ******************/ - /**** md5 signature: d0cf743dc3c8deca3bd05e2d6d3d3021 ****/ + /****** BOPTools_AlgoTools::IsInternalFace ******/ + /****** md5 signature: d0cf743dc3c8deca3bd05e2d6d3d3021 ******/ %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. - + %feature("autodoc", " Parameters ---------- theFace: TopoDS_Face @@ -607,141 +691,169 @@ theMEF: TopTools_IndexedDataMapOfShapeListOfShape theTol: float theContext: IntTools_Context -Returns +Return ------- bool + +Description +----------- +Returns True if the face theFace is inside the solid theSolid. theMEF - Map Edge/Faces for theSolid theTol - value of precision of computation theContext- cached geometrical tools. ") IsInternalFace; static Standard_Boolean IsInternalFace(const TopoDS_Face & theFace, const TopoDS_Solid & theSolid, TopTools_IndexedDataMapOfShapeListOfShape & theMEF, const Standard_Real theTol, const opencascade::handle & theContext); - /****************** IsInvertedSolid ******************/ - /**** md5 signature: 1452a0a79b70e8f5fe2cd3c3e8f9b78a ****/ + /****** BOPTools_AlgoTools::IsInvertedSolid ******/ + /****** md5 signature: 1452a0a79b70e8f5fe2cd3c3e8f9b78a ******/ %feature("compactdefaultargs") IsInvertedSolid; - %feature("autodoc", "Returns true if the solid is inverted. - + %feature("autodoc", " Parameters ---------- theSolid: TopoDS_Solid -Returns +Return ------- bool + +Description +----------- +Returns true if the solid is inverted. ") IsInvertedSolid; static Standard_Boolean IsInvertedSolid(const TopoDS_Solid & theSolid); - /****************** IsMicroEdge ******************/ - /**** md5 signature: d73c5d5d7a5e25bd1a97838d4b7775dc ****/ + /****** BOPTools_AlgoTools::IsMicroEdge ******/ + /****** md5 signature: d73c5d5d7a5e25bd1a97838d4b7775dc ******/ %feature("compactdefaultargs") IsMicroEdge; - %feature("autodoc", "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. - + %feature("autodoc", " Parameters ---------- theEdge: TopoDS_Edge theContext: IntTools_Context -theCheckSplittable: bool,optional - default value is Standard_True +theCheckSplittable: bool (optional, default to Standard_True) -Returns +Return ------- bool + +Description +----------- +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. ") IsMicroEdge; static Standard_Boolean IsMicroEdge(const TopoDS_Edge & theEdge, const opencascade::handle & theContext, const Standard_Boolean theCheckSplittable = Standard_True); - /****************** IsOpenShell ******************/ - /**** md5 signature: a5c32af687e24a03aee16645b11f6a05 ****/ + /****** BOPTools_AlgoTools::IsOpenShell ******/ + /****** md5 signature: a5c32af687e24a03aee16645b11f6a05 ******/ %feature("compactdefaultargs") IsOpenShell; - %feature("autodoc", "Returns true if the shell is open. - + %feature("autodoc", " Parameters ---------- theShell: TopoDS_Shell -Returns +Return ------- bool + +Description +----------- +Returns true if the shell is open. ") IsOpenShell; static Standard_Boolean IsOpenShell(const TopoDS_Shell & theShell); - /****************** IsSplitToReverse ******************/ - /**** md5 signature: 6dca305aeb7fd21e742843dd4184640f ****/ + /****** BOPTools_AlgoTools::IsSplitToReverse ******/ + /****** md5 signature: 6dca305aeb7fd21e742843dd4184640f ******/ %feature("compactdefaultargs") IsSplitToReverse; - %feature("autodoc", "Checks if the direction of the split shape is opposite to the direction of the original shape. the method is an overload for (edge,edge) and (face,face) corresponding methods and checks only these types of shapes. for faces the method checks if normal directions are opposite. for edges the method checks if tangent vectors are opposite. //! in case the directions do not coincide, it returns true, meaning that split shape has to be reversed to match the direction of the original shape. //! if requested ( is not null), the method returns the status of the operation: - 0 - no error; - error from (edge,edge) or (face,face) corresponding method - 100 - bad types. in case of any error the method always returns false. //! @param thesplit [in] split shape @param theshape [in] original shape @param thecontext [in] cashed geometrical tools @param theerror [out] error status of the operation. - + %feature("autodoc", " Parameters ---------- theSplit: TopoDS_Shape theShape: TopoDS_Shape theContext: IntTools_Context -theError: int *,optional - default value is NULL +theError: int * (optional, default to NULL) -Returns +Return ------- bool + +Description +----------- +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. //! +Input parameter: theSplit Split shape +Input parameter: theShape Original shape +Input parameter: theContext cached geometrical tools @param[out] theError Error Status of the operation. ") IsSplitToReverse; static Standard_Boolean IsSplitToReverse(const TopoDS_Shape & theSplit, const TopoDS_Shape & theShape, const opencascade::handle & theContext, Standard_Integer * theError = NULL); - /****************** IsSplitToReverse ******************/ - /**** md5 signature: a442a1278308b2eef20ed84d8ecc93fd ****/ + /****** BOPTools_AlgoTools::IsSplitToReverse ******/ + /****** md5 signature: a442a1278308b2eef20ed84d8ecc93fd ******/ %feature("compactdefaultargs") IsSplitToReverse; - %feature("autodoc", "Checks if the normal direction of the split face is opposite to the normal direction of the original face. the normal directions for both faces are taken in the same point - point inside the split face is projected onto the original face. returns true if the normals do not coincide, meaning the necessity to revert the orientation of the split face to match the direction of the original face. //! if requested ( is not null), the method returns the status of the operation: - 0 - no error; - 1 - unable to find the point inside split face; - 2 - unable to compute the normal for the split face; - 3 - unable to project the point inside the split face on the original face; - 4 - unable to compute the normal for the original face. in case of any error the method always returns false. //! @param thesplit [in] split face @param theshape [in] original face @param thecontext [in] cashed geometrical tools @param theerror [out] error status of the operation. - + %feature("autodoc", " Parameters ---------- theSplit: TopoDS_Face theShape: TopoDS_Face theContext: IntTools_Context -theError: int *,optional - default value is NULL +theError: int * (optional, default to NULL) -Returns +Return ------- bool + +Description +----------- +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. //! +Input parameter: theSplit Split face +Input parameter: theShape Original face +Input parameter: theContext cached geometrical tools @param[out] theError Error Status of the operation. ") IsSplitToReverse; static Standard_Boolean IsSplitToReverse(const TopoDS_Face & theSplit, const TopoDS_Face & theShape, const opencascade::handle & theContext, Standard_Integer * theError = NULL); - /****************** IsSplitToReverse ******************/ - /**** md5 signature: db1c9d5e59695f6d3bb15e0065a0cb7c ****/ + /****** BOPTools_AlgoTools::IsSplitToReverse ******/ + /****** md5 signature: db1c9d5e59695f6d3bb15e0065a0cb7c ******/ %feature("compactdefaultargs") IsSplitToReverse; - %feature("autodoc", "Checks if the tangent vector of the split edge is opposite to the tangent vector of the original edge. the tangent vectors for both edges are computed in the same point - point inside the split edge is projected onto the original edge. returns true if the tangent vectors do not coincide, meaning the necessity to revert the orientation of the split edge to match the direction of the original edge. //! if requested ( is not null), the method returns the status of the operation: - 0 - no error; - 1 - degenerated edges are given; - 2 - unable to compute the tangent vector for the split edge; - 3 - unable to project the point inside the split edge on the original edge; - 4 - unable to compute the tangent vector for the original edge; in case of any error the method always returns false. //! @param thesplit [in] split edge @param theshape [in] original edge @param thecontext [in] cashed geometrical tools @param theerror [out] error status of the operation. - + %feature("autodoc", " Parameters ---------- theSplit: TopoDS_Edge theShape: TopoDS_Edge theContext: IntTools_Context -theError: int *,optional - default value is NULL +theError: int * (optional, default to NULL) -Returns +Return ------- bool + +Description +----------- +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. //! +Input parameter: theSplit Split edge +Input parameter: theShape Original edge +Input parameter: theContext cached geometrical tools @param[out] theError Error Status of the operation. ") IsSplitToReverse; static Standard_Boolean IsSplitToReverse(const TopoDS_Edge & theSplit, const TopoDS_Edge & theShape, const opencascade::handle & theContext, Standard_Integer * theError = NULL); - /****************** IsSplitToReverseWithWarn ******************/ - /**** md5 signature: fbda1a9b6060691a6d3b9849776e0dd2 ****/ + /****** BOPTools_AlgoTools::IsSplitToReverseWithWarn ******/ + /****** md5 signature: fbda1a9b6060691a6d3b9849776e0dd2 ******/ %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. - + %feature("autodoc", " Parameters ---------- theSplit: TopoDS_Shape theShape: TopoDS_Shape theContext: IntTools_Context -theReport: Message_Report,optional - default value is NULL +theReport: Message_Report (optional, default to NULL) -Returns +Return ------- bool + +Description +----------- +Add-on for the *IsSplitToReverse()* to check for its errors and in case of any add the *BOPAlgo_AlertUnableToOrientTheShape* warning to the report. ") IsSplitToReverseWithWarn; static Standard_Boolean IsSplitToReverseWithWarn(const TopoDS_Shape & theSplit, const TopoDS_Shape & theShape, const opencascade::handle & theContext, const opencascade::handle & theReport = NULL); - /****************** MakeConnexityBlock ******************/ - /**** md5 signature: b7df8e82e607190cf7b0d31cdf0e2e3f ****/ + /****** BOPTools_AlgoTools::MakeConnexityBlock ******/ + /****** md5 signature: b7df8e82e607190cf7b0d31cdf0e2e3f ******/ %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. - + %feature("autodoc", " Parameters ---------- theLS: TopTools_ListOfShape @@ -749,17 +861,20 @@ theMapAvoid: TopTools_IndexedMapOfShape theLSCB: TopTools_ListOfShape theAllocator: NCollection_BaseAllocator -Returns +Return ------- None + +Description +----------- +For the list of faces theLS build block theLSCB in terms of connexity by edges theMapAvoid - set of edges to avoid for the treatment. ") MakeConnexityBlock; static void MakeConnexityBlock(TopTools_ListOfShape & theLS, TopTools_IndexedMapOfShape & theMapAvoid, TopTools_ListOfShape & theLSCB, const opencascade::handle & theAllocator); - /****************** MakeConnexityBlocks ******************/ - /**** md5 signature: 1d845647893fe0ad8b655563e0e2896c ****/ + /****** BOPTools_AlgoTools::MakeConnexityBlocks ******/ + /****** md5 signature: 1d845647893fe0ad8b655563e0e2896c ******/ %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 . - + %feature("autodoc", " Parameters ---------- theS: TopoDS_Shape @@ -767,17 +882,20 @@ theConnectionType: TopAbs_ShapeEnum theElementType: TopAbs_ShapeEnum theLCB: TopTools_ListOfShape -Returns +Return ------- None + +Description +----------- +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 . ") MakeConnexityBlocks; static void MakeConnexityBlocks(const TopoDS_Shape & theS, const TopAbs_ShapeEnum theConnectionType, const TopAbs_ShapeEnum theElementType, TopTools_ListOfShape & theLCB); - /****************** MakeConnexityBlocks ******************/ - /**** md5 signature: b12c70a2c8443f1c36f9af9ba8b4ac80 ****/ + /****** BOPTools_AlgoTools::MakeConnexityBlocks ******/ + /****** md5 signature: b12c70a2c8443f1c36f9af9ba8b4ac80 ******/ %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. - + %feature("autodoc", " Parameters ---------- theS: TopoDS_Shape @@ -786,17 +904,20 @@ theElementType: TopAbs_ShapeEnum theLCB: TopTools_ListOfListOfShape theConnectionMap: TopTools_IndexedDataMapOfShapeListOfShape -Returns +Return ------- None + +Description +----------- +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. ") MakeConnexityBlocks; static void MakeConnexityBlocks(const TopoDS_Shape & theS, const TopAbs_ShapeEnum theConnectionType, const TopAbs_ShapeEnum theElementType, TopTools_ListOfListOfShape & theLCB, TopTools_IndexedDataMapOfShapeListOfShape & theConnectionMap); - /****************** MakeConnexityBlocks ******************/ - /**** md5 signature: bb4aea338b418a5a1c4628df310b8238 ****/ + /****** BOPTools_AlgoTools::MakeConnexityBlocks ******/ + /****** md5 signature: bb4aea338b418a5a1c4628df310b8238 ******/ %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 . - + %feature("autodoc", " Parameters ---------- theLS: TopTools_ListOfShape @@ -804,33 +925,39 @@ theConnectionType: TopAbs_ShapeEnum theElementType: TopAbs_ShapeEnum theLCB: BOPTools_ListOfConnexityBlock -Returns +Return ------- None + +Description +----------- +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 . ") MakeConnexityBlocks; static void MakeConnexityBlocks(const TopTools_ListOfShape & theLS, const TopAbs_ShapeEnum theConnectionType, const TopAbs_ShapeEnum theElementType, BOPTools_ListOfConnexityBlock & theLCB); - /****************** MakeContainer ******************/ - /**** md5 signature: d164053e2421f42b427ee6ca8c740ef3 ****/ + /****** BOPTools_AlgoTools::MakeContainer ******/ + /****** md5 signature: d164053e2421f42b427ee6ca8c740ef3 ******/ %feature("compactdefaultargs") MakeContainer; - %feature("autodoc", "Makes empty container of requested type. - + %feature("autodoc", " Parameters ---------- theType: TopAbs_ShapeEnum theShape: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Makes empty container of requested type. ") MakeContainer; static void MakeContainer(const TopAbs_ShapeEnum theType, TopoDS_Shape & theShape); - /****************** MakeEdge ******************/ - /**** md5 signature: b44b1e692b1f84e15ce8b2e982731375 ****/ + /****** BOPTools_AlgoTools::MakeEdge ******/ + /****** md5 signature: b44b1e692b1f84e15ce8b2e982731375 ******/ %feature("compactdefaultargs") MakeEdge; - %feature("autodoc", "Makes the edge based on the given curve with given bounding vertices. - + %feature("autodoc", " Parameters ---------- theCurve: IntTools_Curve @@ -841,51 +968,60 @@ theT2: float theTolR3D: float theE: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +Makes the edge based on the given curve with given bounding vertices. ") 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 ******************/ - /**** md5 signature: 20aff0c1048b5c5c0a4a448e2877799c ****/ + /****** BOPTools_AlgoTools::MakeNewVertex ******/ + /****** md5 signature: 20aff0c1048b5c5c0a4a448e2877799c ******/ %feature("compactdefaultargs") MakeNewVertex; - %feature("autodoc", "Make a vertex using 3d-point and 3d-tolerance value . - + %feature("autodoc", " Parameters ---------- aP1: gp_Pnt aTol: float aNewVertex: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +Make a vertex using 3D-point and 3D-tolerance value . ") MakeNewVertex; static void MakeNewVertex(const gp_Pnt & aP1, const Standard_Real aTol, TopoDS_Vertex & aNewVertex); - /****************** MakeNewVertex ******************/ - /**** md5 signature: e8f9b3aed21c857920517234e2cb3d4c ****/ + /****** BOPTools_AlgoTools::MakeNewVertex ******/ + /****** md5 signature: e8f9b3aed21c857920517234e2cb3d4c ******/ %feature("compactdefaultargs") MakeNewVertex; - %feature("autodoc", "Make a vertex using couple of vertices . - + %feature("autodoc", " Parameters ---------- aV1: TopoDS_Vertex aV2: TopoDS_Vertex aNewVertex: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +Make a vertex using couple of vertices . ") MakeNewVertex; static void MakeNewVertex(const TopoDS_Vertex & aV1, const TopoDS_Vertex & aV2, TopoDS_Vertex & aNewVertex); - /****************** MakeNewVertex ******************/ - /**** md5 signature: 8b8a909912cc829455275d8c562e22a4 ****/ + /****** BOPTools_AlgoTools::MakeNewVertex ******/ + /****** md5 signature: 8b8a909912cc829455275d8c562e22a4 ******/ %feature("compactdefaultargs") MakeNewVertex; - %feature("autodoc", "Make a vertex in place of intersection between two edges with parameters . - + %feature("autodoc", " Parameters ---------- aE1: TopoDS_Edge @@ -894,17 +1030,20 @@ aE2: TopoDS_Edge aP2: float aNewVertex: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +Make a vertex in place of intersection between two edges with parameters . ") MakeNewVertex; static void MakeNewVertex(const TopoDS_Edge & aE1, const Standard_Real aP1, const TopoDS_Edge & aE2, const Standard_Real aP2, TopoDS_Vertex & aNewVertex); - /****************** MakeNewVertex ******************/ - /**** md5 signature: 12c18f3b7c437a6229e434be5765471e ****/ + /****** BOPTools_AlgoTools::MakeNewVertex ******/ + /****** md5 signature: 12c18f3b7c437a6229e434be5765471e ******/ %feature("compactdefaultargs") MakeNewVertex; - %feature("autodoc", "Make a vertex in place of intersection between the edge with parameter and the face . - + %feature("autodoc", " Parameters ---------- aE1: TopoDS_Edge @@ -912,17 +1051,20 @@ aP1: float aF2: TopoDS_Face aNewVertex: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +Make a vertex in place of intersection between the edge with parameter and the face . ") MakeNewVertex; static void MakeNewVertex(const TopoDS_Edge & aE1, const Standard_Real aP1, const TopoDS_Face & aF2, TopoDS_Vertex & aNewVertex); - /****************** MakePCurve ******************/ - /**** md5 signature: 8bbdbc99fd96168957f47b3153252374 ****/ + /****** BOPTools_AlgoTools::MakePCurve ******/ + /****** md5 signature: 8bbdbc99fd96168957f47b3153252374 ******/ %feature("compactdefaultargs") MakePCurve; - %feature("autodoc", "Makes 2d curve of the edge on the faces and . - storage for caching the geometrical tools. - + %feature("autodoc", " Parameters ---------- theE: TopoDS_Edge @@ -931,20 +1073,22 @@ theF2: TopoDS_Face theCurve: IntTools_Curve thePC1: bool thePC2: bool -theContext: IntTools_Context,optional - default value is opencascade::handle() +theContext: IntTools_Context (optional, default to opencascade::handle()) -Returns +Return ------- None + +Description +----------- +Makes 2d curve of the edge on the faces and . - storage for caching the geometrical tools. ") 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()); - /****************** MakeSectEdge ******************/ - /**** md5 signature: c8c6abde60f8f50c47ff89728e6814bd ****/ + /****** BOPTools_AlgoTools::MakeSectEdge ******/ + /****** md5 signature: c8c6abde60f8f50c47ff89728e6814bd ******/ %feature("compactdefaultargs") MakeSectEdge; - %feature("autodoc", "Make the edge from 3d-curve and two vertices at parameters . - + %feature("autodoc", " Parameters ---------- aIC: IntTools_Curve @@ -954,17 +1098,20 @@ aV2: TopoDS_Vertex aP2: float aNewEdge: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +Make the edge from 3D-Curve and two vertices at parameters . ") 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); - /****************** MakeSplitEdge ******************/ - /**** md5 signature: 0acf5ac7a732e796dbde53c34f933d47 ****/ + /****** BOPTools_AlgoTools::MakeSplitEdge ******/ + /****** md5 signature: 0acf5ac7a732e796dbde53c34f933d47 ******/ %feature("compactdefaultargs") MakeSplitEdge; - %feature("autodoc", "Make the edge from base edge and two vertices at parameters . - + %feature("autodoc", " Parameters ---------- aE1: TopoDS_Edge @@ -974,157 +1121,187 @@ aV2: TopoDS_Vertex aP2: float aNewEdge: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +Make the edge from base edge and two vertices at parameters . ") 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 ******************/ - /**** md5 signature: c738caacf439f5a59ed8d30ee737580f ****/ + /****** BOPTools_AlgoTools::MakeVertex ******/ + /****** md5 signature: c738caacf439f5a59ed8d30ee737580f ******/ %feature("compactdefaultargs") MakeVertex; - %feature("autodoc", "Makes the vertex in the middle of given vertices with the tolerance covering all tolerance spheres of vertices. - + %feature("autodoc", " Parameters ---------- theLV: TopTools_ListOfShape theV: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +Makes the vertex in the middle of given vertices with the tolerance covering all tolerance spheres of vertices. ") MakeVertex; static void MakeVertex(const TopTools_ListOfShape & theLV, TopoDS_Vertex & theV); - /****************** OrientEdgesOnWire ******************/ - /**** md5 signature: 3119ef215b80e42dba9486eca423d427 ****/ + /****** BOPTools_AlgoTools::OrientEdgesOnWire ******/ + /****** md5 signature: 3119ef215b80e42dba9486eca423d427 ******/ %feature("compactdefaultargs") OrientEdgesOnWire; - %feature("autodoc", "Correctly orients edges on the wire. - + %feature("autodoc", " Parameters ---------- theWire: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Correctly orients edges on the wire. ") OrientEdgesOnWire; static void OrientEdgesOnWire(TopoDS_Shape & theWire); - /****************** OrientFacesOnShell ******************/ - /**** md5 signature: 138da3099ae4c9981676404bd500db7d ****/ + /****** BOPTools_AlgoTools::OrientFacesOnShell ******/ + /****** md5 signature: 138da3099ae4c9981676404bd500db7d ******/ %feature("compactdefaultargs") OrientFacesOnShell; - %feature("autodoc", "Correctly orients faces on the shell. - + %feature("autodoc", " Parameters ---------- theShell: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Correctly orients faces on the shell. ") OrientFacesOnShell; static void OrientFacesOnShell(TopoDS_Shape & theShell); - /****************** PointOnEdge ******************/ - /**** md5 signature: efda6336f7826223dac800f528eaf90a ****/ + /****** BOPTools_AlgoTools::PointOnEdge ******/ + /****** md5 signature: efda6336f7826223dac800f528eaf90a ******/ %feature("compactdefaultargs") PointOnEdge; - %feature("autodoc", "Compute a 3d-point on the edge at parameter . - + %feature("autodoc", " Parameters ---------- aEdge: TopoDS_Edge aPrm: float aP: gp_Pnt -Returns +Return ------- None + +Description +----------- +Compute a 3D-point on the edge at parameter . ") PointOnEdge; static void PointOnEdge(const TopoDS_Edge & aEdge, const Standard_Real aPrm, gp_Pnt & aP); - /****************** Sense ******************/ - /**** md5 signature: 76462cc1a9fbb8274cf2ed746aa1a8f5 ****/ + /****** BOPTools_AlgoTools::Sense ******/ + /****** md5 signature: 76462cc1a9fbb8274cf2ed746aa1a8f5 ******/ %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. - + %feature("autodoc", " Parameters ---------- theF1: TopoDS_Face theF2: TopoDS_Face theContext: IntTools_Context -Returns +Return ------- int + +Description +----------- +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. ") Sense; static Standard_Integer Sense(const TopoDS_Face & theF1, const TopoDS_Face & theF2, const opencascade::handle & theContext); - /****************** TreatCompound ******************/ - /**** md5 signature: de5d3c86660c5bbcc7b54c5705952878 ****/ + /****** BOPTools_AlgoTools::TreatCompound ******/ + /****** md5 signature: de5d3c86660c5bbcc7b54c5705952878 ******/ %feature("compactdefaultargs") TreatCompound; - %feature("autodoc", "Collects in the output list recursively all non-compound sub-shapes of the first level of the given shape thes. the optional map themap is used to avoid the duplicates in the output list, so it will also contain all non-compound sub-shapes. - + %feature("autodoc", " Parameters ---------- theS: TopoDS_Shape theList: TopTools_ListOfShape -theMap: TopTools_MapOfShape *,optional - default value is NULL +theMap: TopTools_MapOfShape * (optional, default to NULL) -Returns +Return ------- None + +Description +----------- +Collects in the output list recursively all non-compound sub-shapes of the first level of the given shape theS. The optional map theMap is used to avoid the duplicates in the output list, so it will also contain all non-compound sub-shapes. ") TreatCompound; static void TreatCompound(const TopoDS_Shape & theS, TopTools_ListOfShape & theList, TopTools_MapOfShape * theMap = NULL); - /****************** UpdateVertex ******************/ - /**** md5 signature: 5e037b5f776c89b9ff812aeeecab575f ****/ + /****** BOPTools_AlgoTools::UpdateVertex ******/ + /****** md5 signature: 5e037b5f776c89b9ff812aeeecab575f ******/ %feature("compactdefaultargs") UpdateVertex; - %feature("autodoc", "Update the tolerance value for vertex taking into account the fact that lays on the curve . - + %feature("autodoc", " Parameters ---------- aIC: IntTools_Curve aT: float aV: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +Update the tolerance value for vertex taking into account the fact that lays on the curve . ") UpdateVertex; static void UpdateVertex(const IntTools_Curve & aIC, const Standard_Real aT, const TopoDS_Vertex & aV); - /****************** UpdateVertex ******************/ - /**** md5 signature: ab6e5c4eb33ee08a8d5d38547e7d4eae ****/ + /****** BOPTools_AlgoTools::UpdateVertex ******/ + /****** md5 signature: ab6e5c4eb33ee08a8d5d38547e7d4eae ******/ %feature("compactdefaultargs") UpdateVertex; - %feature("autodoc", "Update the tolerance value for vertex taking into account the fact that lays on the edge . - + %feature("autodoc", " Parameters ---------- aE: TopoDS_Edge aT: float aV: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +Update the tolerance value for vertex taking into account the fact that lays on the edge . ") UpdateVertex; static void UpdateVertex(const TopoDS_Edge & aE, const Standard_Real aT, const TopoDS_Vertex & aV); - /****************** UpdateVertex ******************/ - /**** md5 signature: 72d4d1d8b5f8f681ed272bca91d39668 ****/ + /****** BOPTools_AlgoTools::UpdateVertex ******/ + /****** md5 signature: 72d4d1d8b5f8f681ed272bca91d39668 ******/ %feature("compactdefaultargs") UpdateVertex; - %feature("autodoc", "Update the tolerance value for vertex taking into account the fact that should cover tolerance zone of . - + %feature("autodoc", " Parameters ---------- aVF: TopoDS_Vertex aVN: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +Update the tolerance value for vertex taking into account the fact that should cover tolerance zone of . ") UpdateVertex; static void UpdateVertex(const TopoDS_Vertex & aVF, const TopoDS_Vertex & aVN); @@ -1142,31 +1319,32 @@ None *****************************/ class BOPTools_AlgoTools2D { public: - /****************** AdjustPCurveOnFace ******************/ - /**** md5 signature: 6d1118c3873bca73de508e130c1b23cc ****/ + /****** BOPTools_AlgoTools2D::AdjustPCurveOnFace ******/ + /****** md5 signature: 6d1118c3873bca73de508e130c1b23cc ******/ %feature("compactdefaultargs") AdjustPCurveOnFace; - %feature("autodoc", "Adjust p-curve (3d-curve ) on surface of the face . - storage for caching the geometrical tools. - + %feature("autodoc", " Parameters ---------- theF: TopoDS_Face theC3D: Geom_Curve theC2D: Geom2d_Curve theC2DA: Geom2d_Curve -theContext: IntTools_Context,optional - default value is opencascade::handle() +theContext: IntTools_Context (optional, default to opencascade::handle()) -Returns +Return ------- None + +Description +----------- +Adjust P-Curve (3D-curve ) on surface of the face . - storage for caching the geometrical tools. ") 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 ******************/ - /**** md5 signature: 73b4d6c2d8ce8f742911e4b1bd3424f5 ****/ + /****** BOPTools_AlgoTools2D::AdjustPCurveOnFace ******/ + /****** md5 signature: 73b4d6c2d8ce8f742911e4b1bd3424f5 ******/ %feature("compactdefaultargs") AdjustPCurveOnFace; - %feature("autodoc", "Adjust p-curve (3d-curve ) on surface . [at1, at2] - range to adjust - storage for caching the geometrical tools. - + %feature("autodoc", " Parameters ---------- theF: TopoDS_Face @@ -1174,20 +1352,22 @@ theFirst: float theLast: float theC2D: Geom2d_Curve theC2DA: Geom2d_Curve -theContext: IntTools_Context,optional - default value is opencascade::handle() +theContext: IntTools_Context (optional, default to opencascade::handle()) -Returns +Return ------- None + +Description +----------- +Adjust P-Curve (3D-curve ) on surface . [aT1, aT2] - range to adjust - storage for caching the geometrical tools. ") 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 ******************/ - /**** md5 signature: 9f66aa04ccc5fe5ab7f76a83eca55926 ****/ + /****** BOPTools_AlgoTools2D::AdjustPCurveOnSurf ******/ + /****** md5 signature: 9f66aa04ccc5fe5ab7f76a83eca55926 ******/ %feature("compactdefaultargs") AdjustPCurveOnSurf; - %feature("autodoc", "Adjust p-curve (3d-curve ) on surface . [at1, at2] - range to adjust. - + %feature("autodoc", " Parameters ---------- aF: BRepAdaptor_Surface @@ -1196,17 +1376,20 @@ aT2: float aC2D: Geom2d_Curve aC2DA: Geom2d_Curve -Returns +Return ------- None + +Description +----------- +Adjust P-Curve (3D-curve ) on surface . [aT1, aT2] - range to adjust. ") AdjustPCurveOnSurf; static void AdjustPCurveOnSurf(const BRepAdaptor_Surface & aF, const Standard_Real aT1, const Standard_Real aT2, const opencascade::handle & aC2D, opencascade::handle & aC2DA); - /****************** AttachExistingPCurve ******************/ - /**** md5 signature: d2c950c6e7103dd55a431f337bd524de ****/ + /****** BOPTools_AlgoTools2D::AttachExistingPCurve ******/ + /****** md5 signature: d2c950c6e7103dd55a431f337bd524de ******/ %feature("compactdefaultargs") AttachExistingPCurve; - %feature("autodoc", "Attach p-curve from the edge on surface to the edge returns 0 in case of success. - + %feature("autodoc", " Parameters ---------- aEold: TopoDS_Edge @@ -1214,215 +1397,246 @@ aEnew: TopoDS_Edge aF: TopoDS_Face aCtx: IntTools_Context -Returns +Return ------- int + +Description +----------- +Attach P-Curve from the edge on surface to the edge Returns 0 in case of success. ") AttachExistingPCurve; static Standard_Integer AttachExistingPCurve(const TopoDS_Edge & aEold, const TopoDS_Edge & aEnew, const TopoDS_Face & aF, const opencascade::handle & aCtx); - /****************** BuildPCurveForEdgeOnFace ******************/ - /**** md5 signature: 9d16532ebffa946107d9612c7596ff2e ****/ + /****** BOPTools_AlgoTools2D::BuildPCurveForEdgeOnFace ******/ + /****** md5 signature: 9d16532ebffa946107d9612c7596ff2e ******/ %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. - + %feature("autodoc", " Parameters ---------- aE: TopoDS_Edge aF: TopoDS_Face -theContext: IntTools_Context,optional - default value is opencascade::handle() +theContext: IntTools_Context (optional, default to opencascade::handle()) -Returns +Return ------- None + +Description +----------- +Compute P-Curve for the edge on the face . Raises exception Standard_ConstructionError if projection algorithm fails. - storage for caching the geometrical tools. ") BuildPCurveForEdgeOnFace; static void BuildPCurveForEdgeOnFace(const TopoDS_Edge & aE, const TopoDS_Face & aF, const opencascade::handle & theContext = opencascade::handle()); - /****************** CurveOnSurface ******************/ - /**** md5 signature: df3a833e56d9d7562127ad18d8051975 ****/ + /****** BOPTools_AlgoTools2D::CurveOnSurface ******/ + /****** md5 signature: df3a833e56d9d7562127ad18d8051975 ******/ %feature("compactdefaultargs") CurveOnSurface; - %feature("autodoc", "Get p-curve for the edge on surface . if the p-curve does not exist, build it using make2d(). [atoler] - reached tolerance raises exception standard_constructionerror if algorithm make2d() fails. - storage for caching the geometrical tools. - + %feature("autodoc", " Parameters ---------- aE: TopoDS_Edge aF: TopoDS_Face aC: Geom2d_Curve -theContext: IntTools_Context,optional - default value is opencascade::handle() +theContext: IntTools_Context (optional, default to opencascade::handle()) -Returns +Return ------- aToler: float + +Description +----------- +Get P-Curve for the edge on surface . If the P-Curve does not exist, build it using Make2D(). [aToler] - reached tolerance Raises exception Standard_ConstructionError if algorithm Make2D() fails. - storage for caching the geometrical tools. ") CurveOnSurface; static void CurveOnSurface(const TopoDS_Edge & aE, const TopoDS_Face & aF, opencascade::handle & aC, Standard_Real &OutValue, const opencascade::handle & theContext = opencascade::handle()); - /****************** CurveOnSurface ******************/ - /**** md5 signature: e2898c58b122e827bd654617de4aca96 ****/ + /****** BOPTools_AlgoTools2D::CurveOnSurface ******/ + /****** md5 signature: e2898c58b122e827bd654617de4aca96 ******/ %feature("compactdefaultargs") CurveOnSurface; - %feature("autodoc", "Get p-curve for the edge on surface . if the p-curve does not exist, build it using make2d(). [afirst, alast] - range of the p-curve [atoler] - reached tolerance raises exception standard_constructionerror if algorithm make2d() fails. - storage for caching the geometrical tools. - + %feature("autodoc", " Parameters ---------- aE: TopoDS_Edge aF: TopoDS_Face aC: Geom2d_Curve -theContext: IntTools_Context,optional - default value is opencascade::handle() +theContext: IntTools_Context (optional, default to opencascade::handle()) -Returns +Return ------- aFirst: float aLast: float aToler: float + +Description +----------- +Get P-Curve for the edge on surface . If the P-Curve does not exist, build it using Make2D(). [aFirst, aLast] - range of the P-Curve [aToler] - reached tolerance Raises exception Standard_ConstructionError if algorithm Make2D() fails. - storage for caching the geometrical tools. ") CurveOnSurface; static void CurveOnSurface(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()); - /****************** EdgeTangent ******************/ - /**** md5 signature: 5761815d648dad69375685b041b42424 ****/ + /****** BOPTools_AlgoTools2D::EdgeTangent ******/ + /****** md5 signature: 5761815d648dad69375685b041b42424 ******/ %feature("compactdefaultargs") EdgeTangent; - %feature("autodoc", "Compute tangent for the edge [in 3d] at parameter . - + %feature("autodoc", " Parameters ---------- anE: TopoDS_Edge aT: float Tau: gp_Vec -Returns +Return ------- bool + +Description +----------- +Compute tangent for the edge [in 3D] at parameter . ") EdgeTangent; static Standard_Boolean EdgeTangent(const TopoDS_Edge & anE, const Standard_Real aT, gp_Vec & Tau); - /****************** HasCurveOnSurface ******************/ - /**** md5 signature: 8b08ee63182b04e9348ee1f48c35a9f2 ****/ + /****** BOPTools_AlgoTools2D::HasCurveOnSurface ******/ + /****** md5 signature: 8b08ee63182b04e9348ee1f48c35a9f2 ******/ %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", " Parameters ---------- aE: TopoDS_Edge aF: TopoDS_Face aC: Geom2d_Curve -Returns +Return ------- aFirst: float aLast: float aToler: float + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: ed0b1e2b2daee6cab07c579768d15a31 ****/ + /****** BOPTools_AlgoTools2D::HasCurveOnSurface ******/ + /****** md5 signature: ed0b1e2b2daee6cab07c579768d15a31 ******/ %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. - + %feature("autodoc", " Parameters ---------- aE: TopoDS_Edge aF: TopoDS_Face -Returns +Return ------- bool + +Description +----------- +Returns True if the edge has P-Curve on surface . If the P-Curve does not exist, aC.IsNull()=True. ") HasCurveOnSurface; static Standard_Boolean HasCurveOnSurface(const TopoDS_Edge & aE, const TopoDS_Face & aF); - /****************** IntermediatePoint ******************/ - /**** md5 signature: 8663f92679b0dc5e2760d0cb00974303 ****/ + /****** BOPTools_AlgoTools2D::IntermediatePoint ******/ + /****** md5 signature: 8663f92679b0dc5e2760d0cb00974303 ******/ %feature("compactdefaultargs") IntermediatePoint; - %feature("autodoc", "Compute intermediate value in between [afirst, alast] . - + %feature("autodoc", " Parameters ---------- aFirst: float aLast: float -Returns +Return ------- float + +Description +----------- +Compute intermediate value in between [aFirst, aLast] . ") IntermediatePoint; static Standard_Real IntermediatePoint(const Standard_Real aFirst, const Standard_Real aLast); - /****************** IntermediatePoint ******************/ - /**** md5 signature: ff96e71d7875046d3368a83dabf4302a ****/ + /****** BOPTools_AlgoTools2D::IntermediatePoint ******/ + /****** md5 signature: ff96e71d7875046d3368a83dabf4302a ******/ %feature("compactdefaultargs") IntermediatePoint; - %feature("autodoc", "Compute intermediate value of parameter for the edge . - + %feature("autodoc", " Parameters ---------- anE: TopoDS_Edge -Returns +Return ------- float + +Description +----------- +Compute intermediate value of parameter for the edge . ") IntermediatePoint; static Standard_Real IntermediatePoint(const TopoDS_Edge & anE); - /****************** IsEdgeIsoline ******************/ - /**** md5 signature: f327241ed8b7983321061c77e81b5e58 ****/ + /****** BOPTools_AlgoTools2D::IsEdgeIsoline ******/ + /****** md5 signature: f327241ed8b7983321061c77e81b5e58 ******/ %feature("compactdefaultargs") IsEdgeIsoline; - %feature("autodoc", "Checks if curveonsurface of thee on thef matches with isoline of thef surface. sets corresponding values for istheuiso and istheviso variables. attention!!! this method is based on comparation between direction of surface (which thef is based on) iso-lines and the direction of the edge p-curve (on thef) in middle-point of the p-curve. this method should be used carefully (e.g. brep_tool::isclosed(...) together) in order to avoid false classification some p-curves as isoline (e.g. circle on a plane). - + %feature("autodoc", " Parameters ---------- theE: TopoDS_Edge theF: TopoDS_Face -Returns +Return ------- isTheUIso: bool isTheVIso: bool + +Description +----------- +Checks if CurveOnSurface of theE on theF matches with isoline of theF surface. Sets corresponding values for isTheUIso and isTheVIso variables. //! ATTENTION!!! This method is based on the comparison between direction of surface (which theF is based on) iso-lines and the direction of the edge p-curve (on theF) in middle-point of the p-curve. //! This method should be used carefully (e.g. BRep_Tool::IsClosed(...) together) in order to avoid false classification some p-curves as isoline (e.g. circle on a plane). ") IsEdgeIsoline; static void IsEdgeIsoline(const TopoDS_Edge & theE, const TopoDS_Face & theF, Standard_Boolean &OutValue, Standard_Boolean &OutValue); - /****************** Make2D ******************/ - /**** md5 signature: 1cafd6dad2a417f7794802f509a42258 ****/ + /****** BOPTools_AlgoTools2D::Make2D ******/ + /****** md5 signature: 1cafd6dad2a417f7794802f509a42258 ******/ %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. - storage for caching the geometrical tools. - + %feature("autodoc", " Parameters ---------- aE: TopoDS_Edge aF: TopoDS_Face aC: Geom2d_Curve -theContext: IntTools_Context,optional - default value is opencascade::handle() +theContext: IntTools_Context (optional, default to opencascade::handle()) -Returns +Return ------- aFirst: float aLast: float aToler: float + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 83df2e5770a0a1e9e3908f45b8c8dd41 ****/ + /****** BOPTools_AlgoTools2D::MakePCurveOnFace ******/ + /****** md5 signature: 83df2e5770a0a1e9e3908f45b8c8dd41 ******/ %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. - + %feature("autodoc", " Parameters ---------- aF: TopoDS_Face C3D: Geom_Curve aC: Geom2d_Curve -theContext: IntTools_Context,optional - default value is opencascade::handle() +theContext: IntTools_Context (optional, default to opencascade::handle()) -Returns +Return ------- aToler: float + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: b2a78a17fdd321c29302db9d7ddcc9b0 ****/ + /****** BOPTools_AlgoTools2D::MakePCurveOnFace ******/ + /****** md5 signature: b2a78a17fdd321c29302db9d7ddcc9b0 ******/ %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. - + %feature("autodoc", " Parameters ---------- aF: TopoDS_Face @@ -1430,32 +1644,37 @@ C3D: Geom_Curve aT1: float aT2: float aC: Geom2d_Curve -theContext: IntTools_Context,optional - default value is opencascade::handle() +theContext: IntTools_Context (optional, default to opencascade::handle()) -Returns +Return ------- aToler: float + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 610be3c3edd48240bdf3e793d5503e5a ****/ + /****** BOPTools_AlgoTools2D::PointOnSurface ******/ + /****** md5 signature: 610be3c3edd48240bdf3e793d5503e5a ******/ %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. - + %feature("autodoc", " Parameters ---------- aE: TopoDS_Edge aF: TopoDS_Face aT: float -theContext: IntTools_Context,optional - default value is opencascade::handle() +theContext: IntTools_Context (optional, default to opencascade::handle()) -Returns +Return ------- U: float V: float + +Description +----------- +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. ") 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()); @@ -1477,44 +1696,49 @@ V: float *****************************/ class BOPTools_AlgoTools3D { public: - /****************** DoSplitSEAMOnFace ******************/ - /**** md5 signature: 317e2c98140c02945abbec924936c1ea ****/ + /****** BOPTools_AlgoTools3D::DoSplitSEAMOnFace ******/ + /****** md5 signature: 317e2c98140c02945abbec924936c1ea ******/ %feature("compactdefaultargs") DoSplitSEAMOnFace; - %feature("autodoc", "Makes the edge seam edge for the face basing on the surface properties (u and v periods). - + %feature("autodoc", " Parameters ---------- theESplit: TopoDS_Edge theFace: TopoDS_Face -Returns +Return ------- bool + +Description +----------- +Makes the edge seam edge for the face basing on the surface properties (U and V periods). ") DoSplitSEAMOnFace; static Standard_Boolean DoSplitSEAMOnFace(const TopoDS_Edge & theESplit, const TopoDS_Face & theFace); - /****************** DoSplitSEAMOnFace ******************/ - /**** md5 signature: 9b4cff8cc35f1c3b3a0c4ca69663cf34 ****/ + /****** BOPTools_AlgoTools3D::DoSplitSEAMOnFace ******/ + /****** md5 signature: 9b4cff8cc35f1c3b3a0c4ca69663cf34 ******/ %feature("compactdefaultargs") DoSplitSEAMOnFace; - %feature("autodoc", "Makes the split edge seam edge for the face basing on the positions of 2d curves of the original edge . - + %feature("autodoc", " Parameters ---------- theEOrigin: TopoDS_Edge theESplit: TopoDS_Edge theFace: TopoDS_Face -Returns +Return ------- bool + +Description +----------- +Makes the split edge seam edge for the face basing on the positions of 2d curves of the original edge . ") DoSplitSEAMOnFace; static Standard_Boolean DoSplitSEAMOnFace(const TopoDS_Edge & theEOrigin, const TopoDS_Edge & theESplit, const TopoDS_Face & theFace); - /****************** GetApproxNormalToFaceOnEdge ******************/ - /**** md5 signature: 662a57a2b13e5b445fecdd7a9db5ba05 ****/ + /****** BOPTools_AlgoTools3D::GetApproxNormalToFaceOnEdge ******/ + /****** md5 signature: 662a57a2b13e5b445fecdd7a9db5ba05 ******/ %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. - + %feature("autodoc", " Parameters ---------- aE: TopoDS_Edge @@ -1524,17 +1748,20 @@ aPx: gp_Pnt aD: gp_Dir theContext: IntTools_Context -Returns +Return ------- bool + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 432a5d217f2c92976bd3836d59ae3126 ****/ + /****** BOPTools_AlgoTools3D::GetApproxNormalToFaceOnEdge ******/ + /****** md5 signature: 432a5d217f2c92976bd3836d59ae3126 ******/ %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. - + %feature("autodoc", " Parameters ---------- theE: TopoDS_Edge @@ -1544,17 +1771,20 @@ aP: gp_Pnt aDNF: gp_Dir aDt2D: float -Returns +Return ------- bool + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 0d7e453d668ffaef04017e672ebf7cd8 ****/ + /****** BOPTools_AlgoTools3D::GetApproxNormalToFaceOnEdge ******/ + /****** md5 signature: 0d7e453d668ffaef04017e672ebf7cd8 ******/ %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. - + %feature("autodoc", " Parameters ---------- theE: TopoDS_Edge @@ -1565,56 +1795,63 @@ aP: gp_Pnt aDNF: gp_Dir theContext: IntTools_Context -Returns +Return ------- bool + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: bf95002b59a88f422052872860bf9ba3 ****/ + /****** BOPTools_AlgoTools3D::GetNormalToFaceOnEdge ******/ + /****** md5 signature: bf95002b59a88f422052872860bf9ba3 ******/ %feature("compactdefaultargs") GetNormalToFaceOnEdge; - %feature("autodoc", "Computes normal to the face for the point on the edge at parameter . - storage for caching the geometrical tools. - + %feature("autodoc", " Parameters ---------- aE: TopoDS_Edge aF: TopoDS_Face aT: float aD: gp_Dir -theContext: IntTools_Context,optional - default value is opencascade::handle() +theContext: IntTools_Context (optional, default to opencascade::handle()) -Returns +Return ------- None + +Description +----------- +Computes normal to the face for the point on the edge at parameter . - storage for caching the geometrical tools. ") 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 ******************/ - /**** md5 signature: caac691e172913bbc6951d237d25e02e ****/ + /****** BOPTools_AlgoTools3D::GetNormalToFaceOnEdge ******/ + /****** md5 signature: caac691e172913bbc6951d237d25e02e ******/ %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. - + %feature("autodoc", " Parameters ---------- aE: TopoDS_Edge aF: TopoDS_Face aD: gp_Dir -theContext: IntTools_Context,optional - default value is opencascade::handle() +theContext: IntTools_Context (optional, default to opencascade::handle()) -Returns +Return ------- None + +Description +----------- +Computes normal to the face for the point on the edge at arbitrary intermediate parameter. - storage for caching the geometrical tools. ") GetNormalToFaceOnEdge; static void GetNormalToFaceOnEdge(const TopoDS_Edge & aE, const TopoDS_Face & aF, gp_Dir & aD, const opencascade::handle & theContext = opencascade::handle()); - /****************** GetNormalToSurface ******************/ - /**** md5 signature: fadf018537fa0db50dedc46448844d75 ****/ + /****** BOPTools_AlgoTools3D::GetNormalToSurface ******/ + /****** md5 signature: fadf018537fa0db50dedc46448844d75 ******/ %feature("compactdefaultargs") GetNormalToSurface; - %feature("autodoc", "Compute normal to surface in point (u,v) returns true if directions ad1u, ad1v coincide. - + %feature("autodoc", " Parameters ---------- aS: Geom_Surface @@ -1622,60 +1859,71 @@ U: float V: float aD: gp_Dir -Returns +Return ------- bool + +Description +----------- +Compute normal to surface in point (U,V) Returns True if directions aD1U, aD1V coincide. ") GetNormalToSurface; static Standard_Boolean GetNormalToSurface(const opencascade::handle & aS, const Standard_Real U, const Standard_Real V, gp_Dir & aD); - /****************** IsEmptyShape ******************/ - /**** md5 signature: 705d0cbf3a767fb030ed3d0273652728 ****/ + /****** BOPTools_AlgoTools3D::IsEmptyShape ******/ + /****** md5 signature: 705d0cbf3a767fb030ed3d0273652728 ******/ %feature("compactdefaultargs") IsEmptyShape; - %feature("autodoc", "Returns true if the shape does not contain geometry information (e.g. empty compound). - + %feature("autodoc", " Parameters ---------- aS: TopoDS_Shape -Returns +Return ------- bool + +Description +----------- +Returns True if the shape does not contain geometry information (e.g. empty compound). ") IsEmptyShape; static Standard_Boolean IsEmptyShape(const TopoDS_Shape & aS); - /****************** MinStepIn2d ******************/ - /**** md5 signature: 55bfd12f091895ccbedf8983db301515 ****/ + /****** BOPTools_AlgoTools3D::MinStepIn2d ******/ + /****** md5 signature: 55bfd12f091895ccbedf8983db301515 ******/ %feature("compactdefaultargs") MinStepIn2d; - %feature("autodoc", "Returns simple step value that is used in 2d-computations = 1.e-5. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns simple step value that is used in 2D-computations = 1.e-5. ") MinStepIn2d; static Standard_Real MinStepIn2d(); - /****************** OrientEdgeOnFace ******************/ - /**** md5 signature: c79b989ebff1b81ac9c1c0872fb48dd0 ****/ + /****** BOPTools_AlgoTools3D::OrientEdgeOnFace ******/ + /****** md5 signature: c79b989ebff1b81ac9c1c0872fb48dd0 ******/ %feature("compactdefaultargs") OrientEdgeOnFace; - %feature("autodoc", "Get the edge from the face that is the same as the edge . - + %feature("autodoc", " Parameters ---------- aE: TopoDS_Edge aF: TopoDS_Face aER: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +Get the edge from the face that is the same as the edge . ") OrientEdgeOnFace; static void OrientEdgeOnFace(const TopoDS_Edge & aE, const TopoDS_Face & aF, TopoDS_Edge & aER); - /****************** PointInFace ******************/ - /**** md5 signature: fb4d80b0c5e7b54dd7e9e3700bdd62ef ****/ + /****** BOPTools_AlgoTools3D::PointInFace ******/ + /****** md5 signature: fb4d80b0c5e7b54dd7e9e3700bdd62ef ******/ %feature("compactdefaultargs") PointInFace; - %feature("autodoc", "Computes arbitrary point inside the face . - 2d representation of on the surface of returns 0 in case of success. - + %feature("autodoc", " Parameters ---------- theF: TopoDS_Face @@ -1683,17 +1931,20 @@ theP: gp_Pnt theP2D: gp_Pnt2d theContext: IntTools_Context -Returns +Return ------- int + +Description +----------- +Computes arbitrary point inside the face . - 2D representation of on the surface of Returns 0 in case of success. ") PointInFace; static Standard_Integer PointInFace(const TopoDS_Face & theF, gp_Pnt & theP, gp_Pnt2d & theP2D, const opencascade::handle & theContext); - /****************** PointInFace ******************/ - /**** md5 signature: d8a07bb3206e54319a435f003dc62fb0 ****/ + /****** BOPTools_AlgoTools3D::PointInFace ******/ + /****** md5 signature: d8a07bb3206e54319a435f003dc62fb0 ******/ %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. - + %feature("autodoc", " Parameters ---------- theF: TopoDS_Face @@ -1704,17 +1955,20 @@ theP: gp_Pnt theP2D: gp_Pnt2d theContext: IntTools_Context -Returns +Return ------- int + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 37f6b0b13b751b088ca1668abf11cab7 ****/ + /****** BOPTools_AlgoTools3D::PointInFace ******/ + /****** md5 signature: 37f6b0b13b751b088ca1668abf11cab7 ******/ %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. - + %feature("autodoc", " Parameters ---------- theF: TopoDS_Face @@ -1722,20 +1976,22 @@ theL: Geom2d_Curve theP: gp_Pnt theP2D: gp_Pnt2d theContext: IntTools_Context -theDt2D: float,optional - default value is 0.0 +theDt2D: float (optional, default to 0.0) -Returns +Return ------- int + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 28ea360f1c859e12be4170d223ae64b7 ****/ + /****** BOPTools_AlgoTools3D::PointNearEdge ******/ + /****** md5 signature: 28ea360f1c859e12be4170d223ae64b7 ******/ %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. - + %feature("autodoc", " Parameters ---------- aE: TopoDS_Edge @@ -1746,17 +2002,20 @@ aP2D: gp_Pnt2d aPx: gp_Pnt theContext: IntTools_Context -Returns +Return ------- int + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 8c4c6748c97e44ce957c2b8614e0029f ****/ + /****** BOPTools_AlgoTools3D::PointNearEdge ******/ + /****** md5 signature: 8c4c6748c97e44ce957c2b8614e0029f ******/ %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 . - + %feature("autodoc", " Parameters ---------- aE: TopoDS_Edge @@ -1766,17 +2025,20 @@ aDt2D: float aP2D: gp_Pnt2d aPx: gp_Pnt -Returns +Return ------- int + +Description +----------- +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 . ") 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 ******************/ - /**** md5 signature: e53caafb25c5b51491bf62af17f56817 ****/ + /****** BOPTools_AlgoTools3D::PointNearEdge ******/ + /****** md5 signature: e53caafb25c5b51491bf62af17f56817 ******/ %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. - + %feature("autodoc", " Parameters ---------- aE: TopoDS_Edge @@ -1786,17 +2048,20 @@ aP2D: gp_Pnt2d aPx: gp_Pnt theContext: IntTools_Context -Returns +Return ------- int + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 35029e745729034983dcaed868cd05a8 ****/ + /****** BOPTools_AlgoTools3D::PointNearEdge ******/ + /****** md5 signature: 35029e745729034983dcaed868cd05a8 ******/ %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. - + %feature("autodoc", " Parameters ---------- aE: TopoDS_Edge @@ -1805,25 +2070,32 @@ aP2D: gp_Pnt2d aPx: gp_Pnt theContext: IntTools_Context -Returns +Return ------- int + +Description +----------- +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. ") PointNearEdge; static Standard_Integer PointNearEdge(const TopoDS_Edge & aE, const TopoDS_Face & aF, gp_Pnt2d & aP2D, gp_Pnt & aPx, const opencascade::handle & theContext); - /****************** SenseFlag ******************/ - /**** md5 signature: 6c19a30f29c48dda7851cfdc81d48708 ****/ + /****** BOPTools_AlgoTools3D::SenseFlag ******/ + /****** md5 signature: 6c19a30f29c48dda7851cfdc81d48708 ******/ %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. - + %feature("autodoc", " Parameters ---------- aNF1: gp_Dir aNF2: gp_Dir -Returns +Return ------- int + +Description +----------- +Returns 1 if scalar product aNF1* aNF2>0. Returns 0 if directions aNF1 aNF2 coincide Returns -1 if scalar product aNF1* aNF2<0. ") SenseFlag; static Standard_Integer SenseFlag(const gp_Dir & aNF1, const gp_Dir & aNF2); @@ -1847,99 +2119,117 @@ int ********************************/ class BOPTools_ConnexityBlock { public: - /****************** BOPTools_ConnexityBlock ******************/ - /**** md5 signature: 324aa99e61f940627fecd050de98e960 ****/ + /****** BOPTools_ConnexityBlock::BOPTools_ConnexityBlock ******/ + /****** md5 signature: 324aa99e61f940627fecd050de98e960 ******/ %feature("compactdefaultargs") BOPTools_ConnexityBlock; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BOPTools_ConnexityBlock; BOPTools_ConnexityBlock(); - /****************** BOPTools_ConnexityBlock ******************/ - /**** md5 signature: 848312be9796e7a157ffbf546c9820e0 ****/ + /****** BOPTools_ConnexityBlock::BOPTools_ConnexityBlock ******/ + /****** md5 signature: 848312be9796e7a157ffbf546c9820e0 ******/ %feature("compactdefaultargs") BOPTools_ConnexityBlock; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theAllocator: NCollection_BaseAllocator -Returns +Return ------- None + +Description +----------- +No available documentation. ") BOPTools_ConnexityBlock; BOPTools_ConnexityBlock(const opencascade::handle & theAllocator); - /****************** ChangeLoops ******************/ - /**** md5 signature: 97af80f62f92c5a560ebfd3d94268f4c ****/ + /****** BOPTools_ConnexityBlock::ChangeLoops ******/ + /****** md5 signature: 97af80f62f92c5a560ebfd3d94268f4c ******/ %feature("compactdefaultargs") ChangeLoops; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +No available documentation. ") ChangeLoops; TopTools_ListOfShape & ChangeLoops(); - /****************** ChangeShapes ******************/ - /**** md5 signature: 47d36ad0f18ffdedc957b231f37208f9 ****/ + /****** BOPTools_ConnexityBlock::ChangeShapes ******/ + /****** md5 signature: 47d36ad0f18ffdedc957b231f37208f9 ******/ %feature("compactdefaultargs") ChangeShapes; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +No available documentation. ") ChangeShapes; TopTools_ListOfShape & ChangeShapes(); - /****************** IsRegular ******************/ - /**** md5 signature: 3d038b1e31cde956ec93c56a127b2088 ****/ + /****** BOPTools_ConnexityBlock::IsRegular ******/ + /****** md5 signature: 3d038b1e31cde956ec93c56a127b2088 ******/ %feature("compactdefaultargs") IsRegular; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsRegular; Standard_Boolean IsRegular(); - /****************** Loops ******************/ - /**** md5 signature: 28c8d70c5f0b2679616b2e020052a004 ****/ + /****** BOPTools_ConnexityBlock::Loops ******/ + /****** md5 signature: 28c8d70c5f0b2679616b2e020052a004 ******/ %feature("compactdefaultargs") Loops; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +No available documentation. ") Loops; const TopTools_ListOfShape & Loops(); - /****************** SetRegular ******************/ - /**** md5 signature: 2164d1b536b9c0958859434dc620596f ****/ + /****** BOPTools_ConnexityBlock::SetRegular ******/ + /****** md5 signature: 2164d1b536b9c0958859434dc620596f ******/ %feature("compactdefaultargs") SetRegular; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theFlag: bool -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetRegular; void SetRegular(const Standard_Boolean theFlag); - /****************** Shapes ******************/ - /**** md5 signature: 2884193c58152e0cda5e99b2900fdc8e ****/ + /****** BOPTools_ConnexityBlock::Shapes ******/ + /****** md5 signature: 2884193c58152e0cda5e99b2900fdc8e ******/ %feature("compactdefaultargs") Shapes; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +No available documentation. ") Shapes; const TopTools_ListOfShape & Shapes(); @@ -1957,66 +2247,78 @@ TopTools_ListOfShape *******************************/ class BOPTools_CoupleOfShape { public: - /****************** BOPTools_CoupleOfShape ******************/ - /**** md5 signature: a463423d837c3e973864801ded1eb0ed ****/ + /****** BOPTools_CoupleOfShape::BOPTools_CoupleOfShape ******/ + /****** md5 signature: a463423d837c3e973864801ded1eb0ed ******/ %feature("compactdefaultargs") BOPTools_CoupleOfShape; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BOPTools_CoupleOfShape; BOPTools_CoupleOfShape(); - /****************** SetShape1 ******************/ - /**** md5 signature: 7c06cdd673405cb80d7e01e8b123dae3 ****/ + /****** BOPTools_CoupleOfShape::SetShape1 ******/ + /****** md5 signature: 7c06cdd673405cb80d7e01e8b123dae3 ******/ %feature("compactdefaultargs") SetShape1; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theShape: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetShape1; void SetShape1(const TopoDS_Shape & theShape); - /****************** SetShape2 ******************/ - /**** md5 signature: 004248e6b3471f78e02542f4252af7ef ****/ + /****** BOPTools_CoupleOfShape::SetShape2 ******/ + /****** md5 signature: 004248e6b3471f78e02542f4252af7ef ******/ %feature("compactdefaultargs") SetShape2; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theShape: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetShape2; void SetShape2(const TopoDS_Shape & theShape); - /****************** Shape1 ******************/ - /**** md5 signature: 8981b86985f46147f6d78d0ef2565c6e ****/ + /****** BOPTools_CoupleOfShape::Shape1 ******/ + /****** md5 signature: 8981b86985f46147f6d78d0ef2565c6e ******/ %feature("compactdefaultargs") Shape1; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +No available documentation. ") Shape1; const TopoDS_Shape Shape1(); - /****************** Shape2 ******************/ - /**** md5 signature: 2c54bae91519136523ed62dc1f27ae72 ****/ + /****** BOPTools_CoupleOfShape::Shape2 ******/ + /****** md5 signature: 2c54bae91519136523ed62dc1f27ae72 ******/ %feature("compactdefaultargs") Shape2; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +No available documentation. ") Shape2; const TopoDS_Shape Shape2(); @@ -2040,191 +2342,175 @@ TopoDS_Shape *********************/ class BOPTools_Set { public: - /****************** BOPTools_Set ******************/ - /**** md5 signature: 251058268e0ffaca9bd9102e20650099 ****/ + /****** BOPTools_Set::BOPTools_Set ******/ + /****** md5 signature: 251058268e0ffaca9bd9102e20650099 ******/ %feature("compactdefaultargs") BOPTools_Set; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BOPTools_Set; BOPTools_Set(); - /****************** BOPTools_Set ******************/ - /**** md5 signature: 4850b6916cc2c1a8a2157f59bb217d27 ****/ + /****** BOPTools_Set::BOPTools_Set ******/ + /****** md5 signature: 4850b6916cc2c1a8a2157f59bb217d27 ******/ %feature("compactdefaultargs") BOPTools_Set; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theAllocator: NCollection_BaseAllocator -Returns +Return ------- None + +Description +----------- +No available documentation. ") BOPTools_Set; BOPTools_Set(const opencascade::handle & theAllocator); - /****************** BOPTools_Set ******************/ - /**** md5 signature: 7348c096189fc94262374b8cbb0ee264 ****/ + /****** BOPTools_Set::BOPTools_Set ******/ + /****** md5 signature: 7348c096189fc94262374b8cbb0ee264 ******/ %feature("compactdefaultargs") BOPTools_Set; - %feature("autodoc", "Copy constructor. - + %feature("autodoc", " Parameters ---------- theOther: BOPTools_Set -Returns +Return ------- None + +Description +----------- +Copy constructor. ") BOPTools_Set; BOPTools_Set(const BOPTools_Set & theOther); - /****************** Add ******************/ - /**** md5 signature: 1f2b35071de7c8625d2e5b7b7b1a38f7 ****/ + /****** BOPTools_Set::Add ******/ + /****** md5 signature: 1f2b35071de7c8625d2e5b7b7b1a38f7 ******/ %feature("compactdefaultargs") Add; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theS: TopoDS_Shape theType: TopAbs_ShapeEnum -Returns +Return ------- None + +Description +----------- +No available documentation. ") Add; void Add(const TopoDS_Shape & theS, const TopAbs_ShapeEnum theType); - /****************** Assign ******************/ - /**** md5 signature: 928626bc3ceb859906184486d169fe7b ****/ + /****** BOPTools_Set::Assign ******/ + /****** md5 signature: 928626bc3ceb859906184486d169fe7b ******/ %feature("compactdefaultargs") Assign; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Other: BOPTools_Set -Returns +Return ------- BOPTools_Set + +Description +----------- +No available documentation. ") Assign; BOPTools_Set & Assign(const BOPTools_Set & Other); - /****************** HashCode ******************/ - /**** md5 signature: 63d1f963e092468b3b680fe64f4cfd8b ****/ - %feature("compactdefaultargs") HashCode; - %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]. - -Parameters ----------- -theUpperBound: int - -Returns + /****** BOPTools_Set::GetSum ******/ + /****** md5 signature: 527ff5550a99b698021be9c8afb7a809 ******/ + %feature("compactdefaultargs") GetSum; + %feature("autodoc", "Return ------- -int -") HashCode; - Standard_Integer HashCode(Standard_Integer theUpperBound); +size_t - %extend { - Standard_Integer __hash__() { - return $self->HashCode(2147483647); - } - }; +Description +----------- +No available documentation. +") GetSum; + size_t GetSum(); - /****************** IsEqual ******************/ - /**** md5 signature: 474281f165027d105331737daa2a5ea2 ****/ + /****** BOPTools_Set::IsEqual ******/ + /****** md5 signature: 474281f165027d105331737daa2a5ea2 ******/ %feature("compactdefaultargs") IsEqual; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- aOther: BOPTools_Set -Returns +Return ------- bool + +Description +----------- +No available documentation. ") IsEqual; Standard_Boolean IsEqual(const BOPTools_Set & aOther); - /****************** NbShapes ******************/ - /**** md5 signature: ea90d1514db96ad18becf0e04a33abf6 ****/ + /****** BOPTools_Set::NbShapes ******/ + /****** md5 signature: ea90d1514db96ad18becf0e04a33abf6 ******/ %feature("compactdefaultargs") NbShapes; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbShapes; Standard_Integer NbShapes(); - /****************** Shape ******************/ - /**** md5 signature: e2e979bbf0e2f5cedfc0e482bf183e08 ****/ + /****** BOPTools_Set::Shape ******/ + /****** md5 signature: e2e979bbf0e2f5cedfc0e482bf183e08 ******/ %feature("compactdefaultargs") Shape; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +No available documentation. ") Shape; const TopoDS_Shape Shape(); -}; - - -%extend BOPTools_Set { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/****************************** -* class BOPTools_SetMapHasher * -******************************/ -class BOPTools_SetMapHasher { - public: - /****************** HashCode ******************/ - /**** md5 signature: 220deeafd2a95fc89ac8b862700a0376 ****/ - %feature("compactdefaultargs") HashCode; - %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]. - -Parameters ----------- -theSet: BOPTools_Set -theUpperBound: int - -Returns -------- -int -") HashCode; - static Standard_Integer HashCode(const BOPTools_Set & theSet, Standard_Integer theUpperBound); - - /****************** IsEqual ******************/ - /**** md5 signature: 6f4d5f2a8ff9524cb65b61ca63e7eaed ****/ - %feature("compactdefaultargs") IsEqual; - %feature("autodoc", "No available documentation. - -Parameters ----------- -aSet1: BOPTools_Set -aSet2: BOPTools_Set - -Returns -------- -bool -") IsEqual; - static Standard_Boolean IsEqual(const BOPTools_Set & aSet1, const BOPTools_Set & aSet2); +%extend{ + bool __eq_wrapper__(const BOPTools_Set other) { + if (*self==other) return true; + else return false; + } +} +%pythoncode { +def __eq__(self, right): + try: + return self.__eq_wrapper__(right) + except: + return False +} }; -%extend BOPTools_SetMapHasher { +%extend BOPTools_Set { %pythoncode { __repr__ = _dumps_object } }; +/*************************** +* class hash * +***************************/ /* python proxy for excluded classes */ %pythoncode { @classnotwrapped @@ -2251,3 +2537,374 @@ class BOPTools_PairSelector: /* class aliases */ %pythoncode { } +/* deprecated methods */ +%pythoncode { +@deprecated +def BOPTools_AlgoTools_AreFacesSameDomain(*args): + return BOPTools_AlgoTools.AreFacesSameDomain(*args) + +@deprecated +def BOPTools_AlgoTools_ComputeState(*args): + return BOPTools_AlgoTools.ComputeState(*args) + +@deprecated +def BOPTools_AlgoTools_ComputeState(*args): + return BOPTools_AlgoTools.ComputeState(*args) + +@deprecated +def BOPTools_AlgoTools_ComputeState(*args): + return BOPTools_AlgoTools.ComputeState(*args) + +@deprecated +def BOPTools_AlgoTools_ComputeState(*args): + return BOPTools_AlgoTools.ComputeState(*args) + +@deprecated +def BOPTools_AlgoTools_ComputeStateByOnePoint(*args): + return BOPTools_AlgoTools.ComputeStateByOnePoint(*args) + +@deprecated +def BOPTools_AlgoTools_ComputeTolerance(*args): + return BOPTools_AlgoTools.ComputeTolerance(*args) + +@deprecated +def BOPTools_AlgoTools_ComputeVV(*args): + return BOPTools_AlgoTools.ComputeVV(*args) + +@deprecated +def BOPTools_AlgoTools_ComputeVV(*args): + return BOPTools_AlgoTools.ComputeVV(*args) + +@deprecated +def BOPTools_AlgoTools_CopyEdge(*args): + return BOPTools_AlgoTools.CopyEdge(*args) + +@deprecated +def BOPTools_AlgoTools_CorrectCurveOnSurface(*args): + return BOPTools_AlgoTools.CorrectCurveOnSurface(*args) + +@deprecated +def BOPTools_AlgoTools_CorrectPointOnCurve(*args): + return BOPTools_AlgoTools.CorrectPointOnCurve(*args) + +@deprecated +def BOPTools_AlgoTools_CorrectRange(*args): + return BOPTools_AlgoTools.CorrectRange(*args) + +@deprecated +def BOPTools_AlgoTools_CorrectRange(*args): + return BOPTools_AlgoTools.CorrectRange(*args) + +@deprecated +def BOPTools_AlgoTools_CorrectShapeTolerances(*args): + return BOPTools_AlgoTools.CorrectShapeTolerances(*args) + +@deprecated +def BOPTools_AlgoTools_CorrectTolerances(*args): + return BOPTools_AlgoTools.CorrectTolerances(*args) + +@deprecated +def BOPTools_AlgoTools_DTolerance(*args): + return BOPTools_AlgoTools.DTolerance(*args) + +@deprecated +def BOPTools_AlgoTools_Dimension(*args): + return BOPTools_AlgoTools.Dimension(*args) + +@deprecated +def BOPTools_AlgoTools_Dimensions(*args): + return BOPTools_AlgoTools.Dimensions(*args) + +@deprecated +def BOPTools_AlgoTools_GetEdgeOff(*args): + return BOPTools_AlgoTools.GetEdgeOff(*args) + +@deprecated +def BOPTools_AlgoTools_GetEdgeOnFace(*args): + return BOPTools_AlgoTools.GetEdgeOnFace(*args) + +@deprecated +def BOPTools_AlgoTools_GetFaceOff(*args): + return BOPTools_AlgoTools.GetFaceOff(*args) + +@deprecated +def BOPTools_AlgoTools_IsBlockInOnFace(*args): + return BOPTools_AlgoTools.IsBlockInOnFace(*args) + +@deprecated +def BOPTools_AlgoTools_IsHole(*args): + return BOPTools_AlgoTools.IsHole(*args) + +@deprecated +def BOPTools_AlgoTools_IsInternalFace(*args): + return BOPTools_AlgoTools.IsInternalFace(*args) + +@deprecated +def BOPTools_AlgoTools_IsInternalFace(*args): + return BOPTools_AlgoTools.IsInternalFace(*args) + +@deprecated +def BOPTools_AlgoTools_IsInternalFace(*args): + return BOPTools_AlgoTools.IsInternalFace(*args) + +@deprecated +def BOPTools_AlgoTools_IsInvertedSolid(*args): + return BOPTools_AlgoTools.IsInvertedSolid(*args) + +@deprecated +def BOPTools_AlgoTools_IsMicroEdge(*args): + return BOPTools_AlgoTools.IsMicroEdge(*args) + +@deprecated +def BOPTools_AlgoTools_IsOpenShell(*args): + return BOPTools_AlgoTools.IsOpenShell(*args) + +@deprecated +def BOPTools_AlgoTools_IsSplitToReverse(*args): + return BOPTools_AlgoTools.IsSplitToReverse(*args) + +@deprecated +def BOPTools_AlgoTools_IsSplitToReverse(*args): + return BOPTools_AlgoTools.IsSplitToReverse(*args) + +@deprecated +def BOPTools_AlgoTools_IsSplitToReverse(*args): + return BOPTools_AlgoTools.IsSplitToReverse(*args) + +@deprecated +def BOPTools_AlgoTools_IsSplitToReverseWithWarn(*args): + return BOPTools_AlgoTools.IsSplitToReverseWithWarn(*args) + +@deprecated +def BOPTools_AlgoTools_MakeConnexityBlock(*args): + return BOPTools_AlgoTools.MakeConnexityBlock(*args) + +@deprecated +def BOPTools_AlgoTools_MakeConnexityBlocks(*args): + return BOPTools_AlgoTools.MakeConnexityBlocks(*args) + +@deprecated +def BOPTools_AlgoTools_MakeConnexityBlocks(*args): + return BOPTools_AlgoTools.MakeConnexityBlocks(*args) + +@deprecated +def BOPTools_AlgoTools_MakeConnexityBlocks(*args): + return BOPTools_AlgoTools.MakeConnexityBlocks(*args) + +@deprecated +def BOPTools_AlgoTools_MakeContainer(*args): + return BOPTools_AlgoTools.MakeContainer(*args) + +@deprecated +def BOPTools_AlgoTools_MakeEdge(*args): + return BOPTools_AlgoTools.MakeEdge(*args) + +@deprecated +def BOPTools_AlgoTools_MakeNewVertex(*args): + return BOPTools_AlgoTools.MakeNewVertex(*args) + +@deprecated +def BOPTools_AlgoTools_MakeNewVertex(*args): + return BOPTools_AlgoTools.MakeNewVertex(*args) + +@deprecated +def BOPTools_AlgoTools_MakeNewVertex(*args): + return BOPTools_AlgoTools.MakeNewVertex(*args) + +@deprecated +def BOPTools_AlgoTools_MakeNewVertex(*args): + return BOPTools_AlgoTools.MakeNewVertex(*args) + +@deprecated +def BOPTools_AlgoTools_MakePCurve(*args): + return BOPTools_AlgoTools.MakePCurve(*args) + +@deprecated +def BOPTools_AlgoTools_MakeSectEdge(*args): + return BOPTools_AlgoTools.MakeSectEdge(*args) + +@deprecated +def BOPTools_AlgoTools_MakeSplitEdge(*args): + return BOPTools_AlgoTools.MakeSplitEdge(*args) + +@deprecated +def BOPTools_AlgoTools_MakeVertex(*args): + return BOPTools_AlgoTools.MakeVertex(*args) + +@deprecated +def BOPTools_AlgoTools_OrientEdgesOnWire(*args): + return BOPTools_AlgoTools.OrientEdgesOnWire(*args) + +@deprecated +def BOPTools_AlgoTools_OrientFacesOnShell(*args): + return BOPTools_AlgoTools.OrientFacesOnShell(*args) + +@deprecated +def BOPTools_AlgoTools_PointOnEdge(*args): + return BOPTools_AlgoTools.PointOnEdge(*args) + +@deprecated +def BOPTools_AlgoTools_Sense(*args): + return BOPTools_AlgoTools.Sense(*args) + +@deprecated +def BOPTools_AlgoTools_TreatCompound(*args): + return BOPTools_AlgoTools.TreatCompound(*args) + +@deprecated +def BOPTools_AlgoTools_UpdateVertex(*args): + return BOPTools_AlgoTools.UpdateVertex(*args) + +@deprecated +def BOPTools_AlgoTools_UpdateVertex(*args): + return BOPTools_AlgoTools.UpdateVertex(*args) + +@deprecated +def BOPTools_AlgoTools_UpdateVertex(*args): + return BOPTools_AlgoTools.UpdateVertex(*args) + +@deprecated +def BOPTools_AlgoTools2D_AdjustPCurveOnFace(*args): + return BOPTools_AlgoTools2D.AdjustPCurveOnFace(*args) + +@deprecated +def BOPTools_AlgoTools2D_AdjustPCurveOnFace(*args): + return BOPTools_AlgoTools2D.AdjustPCurveOnFace(*args) + +@deprecated +def BOPTools_AlgoTools2D_AdjustPCurveOnSurf(*args): + return BOPTools_AlgoTools2D.AdjustPCurveOnSurf(*args) + +@deprecated +def BOPTools_AlgoTools2D_AttachExistingPCurve(*args): + return BOPTools_AlgoTools2D.AttachExistingPCurve(*args) + +@deprecated +def BOPTools_AlgoTools2D_BuildPCurveForEdgeOnFace(*args): + return BOPTools_AlgoTools2D.BuildPCurveForEdgeOnFace(*args) + +@deprecated +def BOPTools_AlgoTools2D_CurveOnSurface(*args): + return BOPTools_AlgoTools2D.CurveOnSurface(*args) + +@deprecated +def BOPTools_AlgoTools2D_CurveOnSurface(*args): + return BOPTools_AlgoTools2D.CurveOnSurface(*args) + +@deprecated +def BOPTools_AlgoTools2D_EdgeTangent(*args): + return BOPTools_AlgoTools2D.EdgeTangent(*args) + +@deprecated +def BOPTools_AlgoTools2D_HasCurveOnSurface(*args): + return BOPTools_AlgoTools2D.HasCurveOnSurface(*args) + +@deprecated +def BOPTools_AlgoTools2D_HasCurveOnSurface(*args): + return BOPTools_AlgoTools2D.HasCurveOnSurface(*args) + +@deprecated +def BOPTools_AlgoTools2D_IntermediatePoint(*args): + return BOPTools_AlgoTools2D.IntermediatePoint(*args) + +@deprecated +def BOPTools_AlgoTools2D_IntermediatePoint(*args): + return BOPTools_AlgoTools2D.IntermediatePoint(*args) + +@deprecated +def BOPTools_AlgoTools2D_IsEdgeIsoline(*args): + return BOPTools_AlgoTools2D.IsEdgeIsoline(*args) + +@deprecated +def BOPTools_AlgoTools2D_Make2D(*args): + return BOPTools_AlgoTools2D.Make2D(*args) + +@deprecated +def BOPTools_AlgoTools2D_MakePCurveOnFace(*args): + return BOPTools_AlgoTools2D.MakePCurveOnFace(*args) + +@deprecated +def BOPTools_AlgoTools2D_MakePCurveOnFace(*args): + return BOPTools_AlgoTools2D.MakePCurveOnFace(*args) + +@deprecated +def BOPTools_AlgoTools2D_PointOnSurface(*args): + return BOPTools_AlgoTools2D.PointOnSurface(*args) + +@deprecated +def BOPTools_AlgoTools3D_DoSplitSEAMOnFace(*args): + return BOPTools_AlgoTools3D.DoSplitSEAMOnFace(*args) + +@deprecated +def BOPTools_AlgoTools3D_DoSplitSEAMOnFace(*args): + return BOPTools_AlgoTools3D.DoSplitSEAMOnFace(*args) + +@deprecated +def BOPTools_AlgoTools3D_GetApproxNormalToFaceOnEdge(*args): + return BOPTools_AlgoTools3D.GetApproxNormalToFaceOnEdge(*args) + +@deprecated +def BOPTools_AlgoTools3D_GetApproxNormalToFaceOnEdge(*args): + return BOPTools_AlgoTools3D.GetApproxNormalToFaceOnEdge(*args) + +@deprecated +def BOPTools_AlgoTools3D_GetApproxNormalToFaceOnEdge(*args): + return BOPTools_AlgoTools3D.GetApproxNormalToFaceOnEdge(*args) + +@deprecated +def BOPTools_AlgoTools3D_GetNormalToFaceOnEdge(*args): + return BOPTools_AlgoTools3D.GetNormalToFaceOnEdge(*args) + +@deprecated +def BOPTools_AlgoTools3D_GetNormalToFaceOnEdge(*args): + return BOPTools_AlgoTools3D.GetNormalToFaceOnEdge(*args) + +@deprecated +def BOPTools_AlgoTools3D_GetNormalToSurface(*args): + return BOPTools_AlgoTools3D.GetNormalToSurface(*args) + +@deprecated +def BOPTools_AlgoTools3D_IsEmptyShape(*args): + return BOPTools_AlgoTools3D.IsEmptyShape(*args) + +@deprecated +def BOPTools_AlgoTools3D_MinStepIn2d(*args): + return BOPTools_AlgoTools3D.MinStepIn2d(*args) + +@deprecated +def BOPTools_AlgoTools3D_OrientEdgeOnFace(*args): + return BOPTools_AlgoTools3D.OrientEdgeOnFace(*args) + +@deprecated +def BOPTools_AlgoTools3D_PointInFace(*args): + return BOPTools_AlgoTools3D.PointInFace(*args) + +@deprecated +def BOPTools_AlgoTools3D_PointInFace(*args): + return BOPTools_AlgoTools3D.PointInFace(*args) + +@deprecated +def BOPTools_AlgoTools3D_PointInFace(*args): + return BOPTools_AlgoTools3D.PointInFace(*args) + +@deprecated +def BOPTools_AlgoTools3D_PointNearEdge(*args): + return BOPTools_AlgoTools3D.PointNearEdge(*args) + +@deprecated +def BOPTools_AlgoTools3D_PointNearEdge(*args): + return BOPTools_AlgoTools3D.PointNearEdge(*args) + +@deprecated +def BOPTools_AlgoTools3D_PointNearEdge(*args): + return BOPTools_AlgoTools3D.PointNearEdge(*args) + +@deprecated +def BOPTools_AlgoTools3D_PointNearEdge(*args): + return BOPTools_AlgoTools3D.PointNearEdge(*args) + +@deprecated +def BOPTools_AlgoTools3D_SenseFlag(*args): + return BOPTools_AlgoTools3D.SenseFlag(*args) + +} diff --git a/src/SWIG_files/wrapper/BOPTools.pyi b/src/SWIG_files/wrapper/BOPTools.pyi index 1ab87599e..97175aadc 100644 --- a/src/SWIG_files/wrapper/BOPTools.pyi +++ b/src/SWIG_files/wrapper/BOPTools.pyi @@ -13,441 +13,674 @@ from OCC.Core.Geom import * from OCC.Core.Geom2d import * from OCC.Core.BRepAdaptor import * -#the following typedef cannot be wrapped as is -BOPTools_Box2dPairSelector = NewType('BOPTools_Box2dPairSelector', Any) -#the following typedef cannot be wrapped as is -BOPTools_Box2dTree = NewType('BOPTools_Box2dTree', Any) -#the following typedef cannot be wrapped as is -BOPTools_Box2dTreeSelector = NewType('BOPTools_Box2dTreeSelector', Any) -#the following typedef cannot be wrapped as is -BOPTools_BoxPairSelector = NewType('BOPTools_BoxPairSelector', Any) -#the following typedef cannot be wrapped as is -BOPTools_BoxTree = NewType('BOPTools_BoxTree', Any) -#the following typedef cannot be wrapped as is -BOPTools_BoxTreeSelector = NewType('BOPTools_BoxTreeSelector', Any) -#the following typedef cannot be wrapped as is -BOPTools_IndexedDataMapOfSetShape = NewType('BOPTools_IndexedDataMapOfSetShape', Any) -#the following typedef cannot be wrapped as is -BOPTools_ListIteratorOfListOfConnexityBlock = NewType('BOPTools_ListIteratorOfListOfConnexityBlock', Any) -#the following typedef cannot be wrapped as is -BOPTools_ListIteratorOfListOfCoupleOfShape = NewType('BOPTools_ListIteratorOfListOfCoupleOfShape', Any) -#the following typedef cannot be wrapped as is -BOPTools_MapIteratorOfMapOfSet = NewType('BOPTools_MapIteratorOfMapOfSet', Any) -#the following typedef cannot be wrapped as is -BOPTools_MapOfSet = NewType('BOPTools_MapOfSet', Any) +# the following typedef cannot be wrapped as is +BOPTools_Box2dPairSelector = NewType("BOPTools_Box2dPairSelector", Any) +# the following typedef cannot be wrapped as is +BOPTools_Box2dTree = NewType("BOPTools_Box2dTree", Any) +# the following typedef cannot be wrapped as is +BOPTools_Box2dTreeSelector = NewType("BOPTools_Box2dTreeSelector", Any) +# the following typedef cannot be wrapped as is +BOPTools_BoxPairSelector = NewType("BOPTools_BoxPairSelector", Any) +# the following typedef cannot be wrapped as is +BOPTools_BoxTree = NewType("BOPTools_BoxTree", Any) +# the following typedef cannot be wrapped as is +BOPTools_BoxTreeSelector = NewType("BOPTools_BoxTreeSelector", Any) +# the following typedef cannot be wrapped as is +BOPTools_IndexedDataMapOfSetShape = NewType("BOPTools_IndexedDataMapOfSetShape", Any) +# the following typedef cannot be wrapped as is +BOPTools_ListIteratorOfListOfConnexityBlock = NewType( + "BOPTools_ListIteratorOfListOfConnexityBlock", Any +) +# the following typedef cannot be wrapped as is +BOPTools_ListIteratorOfListOfCoupleOfShape = NewType( + "BOPTools_ListIteratorOfListOfCoupleOfShape", Any +) +# the following typedef cannot be wrapped as is +BOPTools_MapIteratorOfMapOfSet = NewType("BOPTools_MapIteratorOfMapOfSet", Any) +# the following typedef cannot be wrapped as is +BOPTools_MapOfSet = NewType("BOPTools_MapOfSet", Any) class BOPTools_ListOfConnexityBlock: - def __init__(self) -> None: ... - def __len__(self) -> int: ... - def Size(self) -> int: ... + def Append(self, theItem: BOPTools_ConnexityBlock) -> BOPTools_ConnexityBlock: ... + def Assign( + self, theItem: BOPTools_ListOfConnexityBlock + ) -> BOPTools_ListOfConnexityBlock: ... def Clear(self) -> None: ... def First(self) -> BOPTools_ConnexityBlock: ... def Last(self) -> BOPTools_ConnexityBlock: ... - def Append(self, theItem: BOPTools_ConnexityBlock) -> BOPTools_ConnexityBlock: ... def Prepend(self, theItem: BOPTools_ConnexityBlock) -> BOPTools_ConnexityBlock: ... def RemoveFirst(self) -> None: ... def Reverse(self) -> None: ... - def Value(self, theIndex: int) -> BOPTools_ConnexityBlock: ... - def SetValue(self, theIndex: int, theValue: BOPTools_ConnexityBlock) -> None: ... - -class BOPTools_ListOfCoupleOfShape: + def Size(self) -> int: ... def __init__(self) -> None: ... def __len__(self) -> int: ... - def Size(self) -> int: ... + def __iter__(self) -> BOPTools_ConnexityBlock: ... + +class BOPTools_ListOfCoupleOfShape: + def Append(self, theItem: BOPTools_CoupleOfShape) -> BOPTools_CoupleOfShape: ... + def Assign( + self, theItem: BOPTools_ListOfCoupleOfShape + ) -> BOPTools_ListOfCoupleOfShape: ... def Clear(self) -> None: ... def First(self) -> BOPTools_CoupleOfShape: ... def Last(self) -> BOPTools_CoupleOfShape: ... - def Append(self, theItem: BOPTools_CoupleOfShape) -> BOPTools_CoupleOfShape: ... def Prepend(self, theItem: BOPTools_CoupleOfShape) -> BOPTools_CoupleOfShape: ... def RemoveFirst(self) -> None: ... def Reverse(self) -> None: ... - def Value(self, theIndex: int) -> BOPTools_CoupleOfShape: ... - def SetValue(self, theIndex: int, theValue: BOPTools_CoupleOfShape) -> None: ... + def Size(self) -> int: ... + def __init__(self) -> None: ... + def __len__(self) -> int: ... + def __iter__(self) -> BOPTools_CoupleOfShape: ... class BOPTools_AlgoTools: - @staticmethod - def AreFacesSameDomain(theF1: TopoDS_Face, theF2: TopoDS_Face, theContext: IntTools_Context, theFuzz: Optional[float] = precision_Confusion()) -> bool: ... - @overload - @staticmethod - def ComputeState(thePoint: gp_Pnt, theSolid: TopoDS_Solid, theTol: float, theContext: IntTools_Context) -> TopAbs_State: ... - @overload - @staticmethod - def ComputeState(theVertex: TopoDS_Vertex, theSolid: TopoDS_Solid, theTol: float, theContext: IntTools_Context) -> TopAbs_State: ... - @overload - @staticmethod - def ComputeState(theEdge: TopoDS_Edge, theSolid: TopoDS_Solid, theTol: float, theContext: IntTools_Context) -> TopAbs_State: ... - @overload - @staticmethod - def ComputeState(theFace: TopoDS_Face, theSolid: TopoDS_Solid, theTol: float, theBounds: TopTools_IndexedMapOfShape, theContext: IntTools_Context) -> TopAbs_State: ... - @staticmethod - def ComputeStateByOnePoint(theShape: TopoDS_Shape, theSolid: TopoDS_Solid, theTol: float, theContext: IntTools_Context) -> TopAbs_State: ... - @staticmethod - def ComputeTolerance(theFace: TopoDS_Face, theEdge: TopoDS_Edge) -> Tuple[bool, float, float]: ... - @overload - @staticmethod - def ComputeVV(theV: TopoDS_Vertex, theP: gp_Pnt, theTolP: float) -> int: ... - @overload - @staticmethod - def ComputeVV(theV1: TopoDS_Vertex, theV2: TopoDS_Vertex, theFuzz: Optional[float] = precision_Confusion()) -> int: ... - @staticmethod - def CopyEdge(theEdge: TopoDS_Edge) -> TopoDS_Edge: ... - @staticmethod - def CorrectCurveOnSurface(theS: TopoDS_Shape, theMapToAvoid: TopTools_IndexedMapOfShape, theTolMax: Optional[float] = 0.0001, theRunParallel: Optional[bool] = False) -> None: ... - @staticmethod - def CorrectPointOnCurve(theS: TopoDS_Shape, theMapToAvoid: TopTools_IndexedMapOfShape, theTolMax: Optional[float] = 0.0001, theRunParallel: Optional[bool] = False) -> None: ... - @overload - @staticmethod - def CorrectRange(aE1: TopoDS_Edge, aE2: TopoDS_Edge, aSR: IntTools_Range, aNewSR: IntTools_Range) -> None: ... - @overload - @staticmethod - def CorrectRange(aE: TopoDS_Edge, aF: TopoDS_Face, aSR: IntTools_Range, aNewSR: IntTools_Range) -> None: ... - @staticmethod - def CorrectShapeTolerances(theS: TopoDS_Shape, theMapToAvoid: TopTools_IndexedMapOfShape, theRunParallel: Optional[bool] = False) -> None: ... - @staticmethod - def CorrectTolerances(theS: TopoDS_Shape, theMapToAvoid: TopTools_IndexedMapOfShape, theTolMax: Optional[float] = 0.0001, theRunParallel: Optional[bool] = False) -> None: ... - @staticmethod - def DTolerance() -> float: ... - @staticmethod - def Dimension(theS: TopoDS_Shape) -> int: ... - @staticmethod - def Dimensions(theS: TopoDS_Shape) -> Tuple[int, int]: ... - @staticmethod - def GetEdgeOff(theEdge: TopoDS_Edge, theFace: TopoDS_Face, theEdgeOff: TopoDS_Edge) -> bool: ... - @staticmethod - def GetEdgeOnFace(theEdge: TopoDS_Edge, theFace: TopoDS_Face, theEdgeOnF: TopoDS_Edge) -> bool: ... - @staticmethod - def GetFaceOff(theEdge: TopoDS_Edge, theFace: TopoDS_Face, theLCEF: BOPTools_ListOfCoupleOfShape, theFaceOff: TopoDS_Face, theContext: IntTools_Context) -> bool: ... - @staticmethod - def IsBlockInOnFace(aShR: IntTools_Range, aF: TopoDS_Face, aE: TopoDS_Edge, aContext: IntTools_Context) -> bool: ... - @staticmethod - def IsHole(theW: TopoDS_Shape, theF: TopoDS_Shape) -> bool: ... - @overload - @staticmethod - def IsInternalFace(theFace: TopoDS_Face, theEdge: TopoDS_Edge, theFace1: TopoDS_Face, theFace2: TopoDS_Face, theContext: IntTools_Context) -> int: ... - @overload - @staticmethod - def IsInternalFace(theFace: TopoDS_Face, theEdge: TopoDS_Edge, theLF: TopTools_ListOfShape, theContext: IntTools_Context) -> int: ... - @overload - @staticmethod - def IsInternalFace(theFace: TopoDS_Face, theSolid: TopoDS_Solid, theMEF: TopTools_IndexedDataMapOfShapeListOfShape, theTol: float, theContext: IntTools_Context) -> bool: ... - @staticmethod - def IsInvertedSolid(theSolid: TopoDS_Solid) -> bool: ... - @staticmethod - def IsMicroEdge(theEdge: TopoDS_Edge, theContext: IntTools_Context, theCheckSplittable: Optional[bool] = True) -> bool: ... - @staticmethod - def IsOpenShell(theShell: TopoDS_Shell) -> bool: ... - @overload - @staticmethod - def IsSplitToReverse(theSplit: TopoDS_Shape, theShape: TopoDS_Shape, theContext: IntTools_Context, theError: Optional[int] = None) -> bool: ... - @overload - @staticmethod - def IsSplitToReverse(theSplit: TopoDS_Face, theShape: TopoDS_Face, theContext: IntTools_Context, theError: Optional[int] = None) -> bool: ... - @overload - @staticmethod - def IsSplitToReverse(theSplit: TopoDS_Edge, theShape: TopoDS_Edge, theContext: IntTools_Context, theError: Optional[int] = None) -> bool: ... - @staticmethod - def IsSplitToReverseWithWarn(theSplit: TopoDS_Shape, theShape: TopoDS_Shape, theContext: IntTools_Context, theReport: Optional[Message_Report] = None) -> bool: ... - @staticmethod - def MakeConnexityBlock(theLS: TopTools_ListOfShape, theMapAvoid: TopTools_IndexedMapOfShape, theLSCB: TopTools_ListOfShape, theAllocator: NCollection_BaseAllocator) -> None: ... - @overload - @staticmethod - def MakeConnexityBlocks(theS: TopoDS_Shape, theConnectionType: TopAbs_ShapeEnum, theElementType: TopAbs_ShapeEnum, theLCB: TopTools_ListOfShape) -> None: ... - @overload - @staticmethod - def MakeConnexityBlocks(theS: TopoDS_Shape, theConnectionType: TopAbs_ShapeEnum, theElementType: TopAbs_ShapeEnum, theLCB: TopTools_ListOfListOfShape, theConnectionMap: TopTools_IndexedDataMapOfShapeListOfShape) -> None: ... - @overload - @staticmethod - def MakeConnexityBlocks(theLS: TopTools_ListOfShape, theConnectionType: TopAbs_ShapeEnum, theElementType: TopAbs_ShapeEnum, theLCB: BOPTools_ListOfConnexityBlock) -> None: ... - @staticmethod - def MakeContainer(theType: TopAbs_ShapeEnum, theShape: TopoDS_Shape) -> None: ... - @staticmethod - def MakeEdge(theCurve: IntTools_Curve, theV1: TopoDS_Vertex, theT1: float, theV2: TopoDS_Vertex, theT2: float, theTolR3D: float, theE: TopoDS_Edge) -> None: ... - @overload - @staticmethod - def MakeNewVertex(aP1: gp_Pnt, aTol: float, aNewVertex: TopoDS_Vertex) -> None: ... - @overload - @staticmethod - def MakeNewVertex(aV1: TopoDS_Vertex, aV2: TopoDS_Vertex, aNewVertex: TopoDS_Vertex) -> None: ... - @overload - @staticmethod - def MakeNewVertex(aE1: TopoDS_Edge, aP1: float, aE2: TopoDS_Edge, aP2: float, aNewVertex: TopoDS_Vertex) -> None: ... - @overload - @staticmethod - def MakeNewVertex(aE1: TopoDS_Edge, aP1: float, aF2: TopoDS_Face, aNewVertex: TopoDS_Vertex) -> None: ... - @staticmethod - def MakePCurve(theE: TopoDS_Edge, theF1: TopoDS_Face, theF2: TopoDS_Face, theCurve: IntTools_Curve, thePC1: bool, thePC2: bool, theContext: Optional[IntTools_Context] = IntTools_Context()) -> None: ... - @staticmethod - def MakeSectEdge(aIC: IntTools_Curve, aV1: TopoDS_Vertex, aP1: float, aV2: TopoDS_Vertex, aP2: float, aNewEdge: TopoDS_Edge) -> None: ... - @staticmethod - def MakeSplitEdge(aE1: TopoDS_Edge, aV1: TopoDS_Vertex, aP1: float, aV2: TopoDS_Vertex, aP2: float, aNewEdge: TopoDS_Edge) -> None: ... - @staticmethod - def MakeVertex(theLV: TopTools_ListOfShape, theV: TopoDS_Vertex) -> None: ... - @staticmethod - def OrientEdgesOnWire(theWire: TopoDS_Shape) -> None: ... - @staticmethod - def OrientFacesOnShell(theShell: TopoDS_Shape) -> None: ... - @staticmethod - def PointOnEdge(aEdge: TopoDS_Edge, aPrm: float, aP: gp_Pnt) -> None: ... - @staticmethod - def Sense(theF1: TopoDS_Face, theF2: TopoDS_Face, theContext: IntTools_Context) -> int: ... - @staticmethod - def TreatCompound(theS: TopoDS_Shape, theList: TopTools_ListOfShape, theMap: Optional[TopTools_MapOfShape] = None) -> None: ... - @overload - @staticmethod - def UpdateVertex(aIC: IntTools_Curve, aT: float, aV: TopoDS_Vertex) -> None: ... - @overload - @staticmethod - def UpdateVertex(aE: TopoDS_Edge, aT: float, aV: TopoDS_Vertex) -> None: ... - @overload - @staticmethod - def UpdateVertex(aVF: TopoDS_Vertex, aVN: TopoDS_Vertex) -> None: ... + @staticmethod + def AreFacesSameDomain( + theF1: TopoDS_Face, + theF2: TopoDS_Face, + theContext: IntTools_Context, + theFuzz: Optional[float] = Precision.Confusion(), + ) -> bool: ... + @overload + @staticmethod + def ComputeState( + thePoint: gp_Pnt, + theSolid: TopoDS_Solid, + theTol: float, + theContext: IntTools_Context, + ) -> TopAbs_State: ... + @overload + @staticmethod + def ComputeState( + theVertex: TopoDS_Vertex, + theSolid: TopoDS_Solid, + theTol: float, + theContext: IntTools_Context, + ) -> TopAbs_State: ... + @overload + @staticmethod + def ComputeState( + theEdge: TopoDS_Edge, + theSolid: TopoDS_Solid, + theTol: float, + theContext: IntTools_Context, + ) -> TopAbs_State: ... + @overload + @staticmethod + def ComputeState( + theFace: TopoDS_Face, + theSolid: TopoDS_Solid, + theTol: float, + theBounds: TopTools_IndexedMapOfShape, + theContext: IntTools_Context, + ) -> TopAbs_State: ... + @staticmethod + def ComputeStateByOnePoint( + theShape: TopoDS_Shape, + theSolid: TopoDS_Solid, + theTol: float, + theContext: IntTools_Context, + ) -> TopAbs_State: ... + @staticmethod + def ComputeTolerance( + theFace: TopoDS_Face, theEdge: TopoDS_Edge + ) -> Tuple[bool, float, float]: ... + @overload + @staticmethod + def ComputeVV(theV: TopoDS_Vertex, theP: gp_Pnt, theTolP: float) -> int: ... + @overload + @staticmethod + def ComputeVV( + theV1: TopoDS_Vertex, + theV2: TopoDS_Vertex, + theFuzz: Optional[float] = Precision.Confusion(), + ) -> int: ... + @staticmethod + def CopyEdge(theEdge: TopoDS_Edge) -> TopoDS_Edge: ... + @staticmethod + def CorrectCurveOnSurface( + theS: TopoDS_Shape, + theMapToAvoid: TopTools_IndexedMapOfShape, + theTolMax: Optional[float] = 0.0001, + theRunParallel: Optional[bool] = False, + ) -> None: ... + @staticmethod + def CorrectPointOnCurve( + theS: TopoDS_Shape, + theMapToAvoid: TopTools_IndexedMapOfShape, + theTolMax: Optional[float] = 0.0001, + theRunParallel: Optional[bool] = False, + ) -> None: ... + @overload + @staticmethod + def CorrectRange( + aE1: TopoDS_Edge, aE2: TopoDS_Edge, aSR: IntTools_Range, aNewSR: IntTools_Range + ) -> None: ... + @overload + @staticmethod + def CorrectRange( + aE: TopoDS_Edge, aF: TopoDS_Face, aSR: IntTools_Range, aNewSR: IntTools_Range + ) -> None: ... + @staticmethod + def CorrectShapeTolerances( + theS: TopoDS_Shape, + theMapToAvoid: TopTools_IndexedMapOfShape, + theRunParallel: Optional[bool] = False, + ) -> None: ... + @staticmethod + def CorrectTolerances( + theS: TopoDS_Shape, + theMapToAvoid: TopTools_IndexedMapOfShape, + theTolMax: Optional[float] = 0.0001, + theRunParallel: Optional[bool] = False, + ) -> None: ... + @staticmethod + def DTolerance() -> float: ... + @staticmethod + def Dimension(theS: TopoDS_Shape) -> int: ... + @staticmethod + def Dimensions(theS: TopoDS_Shape) -> Tuple[int, int]: ... + @staticmethod + def GetEdgeOff( + theEdge: TopoDS_Edge, theFace: TopoDS_Face, theEdgeOff: TopoDS_Edge + ) -> bool: ... + @staticmethod + def GetEdgeOnFace( + theEdge: TopoDS_Edge, theFace: TopoDS_Face, theEdgeOnF: TopoDS_Edge + ) -> bool: ... + @staticmethod + def GetFaceOff( + theEdge: TopoDS_Edge, + theFace: TopoDS_Face, + theLCEF: BOPTools_ListOfCoupleOfShape, + theFaceOff: TopoDS_Face, + theContext: IntTools_Context, + ) -> bool: ... + @staticmethod + def IsBlockInOnFace( + aShR: IntTools_Range, + aF: TopoDS_Face, + aE: TopoDS_Edge, + aContext: IntTools_Context, + ) -> bool: ... + @staticmethod + def IsHole(theW: TopoDS_Shape, theF: TopoDS_Shape) -> bool: ... + @overload + @staticmethod + def IsInternalFace( + theFace: TopoDS_Face, + theEdge: TopoDS_Edge, + theFace1: TopoDS_Face, + theFace2: TopoDS_Face, + theContext: IntTools_Context, + ) -> int: ... + @overload + @staticmethod + def IsInternalFace( + theFace: TopoDS_Face, + theEdge: TopoDS_Edge, + theLF: TopTools_ListOfShape, + theContext: IntTools_Context, + ) -> int: ... + @overload + @staticmethod + def IsInternalFace( + theFace: TopoDS_Face, + theSolid: TopoDS_Solid, + theMEF: TopTools_IndexedDataMapOfShapeListOfShape, + theTol: float, + theContext: IntTools_Context, + ) -> bool: ... + @staticmethod + def IsInvertedSolid(theSolid: TopoDS_Solid) -> bool: ... + @staticmethod + def IsMicroEdge( + theEdge: TopoDS_Edge, + theContext: IntTools_Context, + theCheckSplittable: Optional[bool] = True, + ) -> bool: ... + @staticmethod + def IsOpenShell(theShell: TopoDS_Shell) -> bool: ... + @overload + @staticmethod + def IsSplitToReverse( + theSplit: TopoDS_Shape, + theShape: TopoDS_Shape, + theContext: IntTools_Context, + theError: Optional[int] = None, + ) -> bool: ... + @overload + @staticmethod + def IsSplitToReverse( + theSplit: TopoDS_Face, + theShape: TopoDS_Face, + theContext: IntTools_Context, + theError: Optional[int] = None, + ) -> bool: ... + @overload + @staticmethod + def IsSplitToReverse( + theSplit: TopoDS_Edge, + theShape: TopoDS_Edge, + theContext: IntTools_Context, + theError: Optional[int] = None, + ) -> bool: ... + @staticmethod + def IsSplitToReverseWithWarn( + theSplit: TopoDS_Shape, + theShape: TopoDS_Shape, + theContext: IntTools_Context, + theReport: Optional[Message_Report] = None, + ) -> bool: ... + @staticmethod + def MakeConnexityBlock( + theLS: TopTools_ListOfShape, + theMapAvoid: TopTools_IndexedMapOfShape, + theLSCB: TopTools_ListOfShape, + theAllocator: NCollection_BaseAllocator, + ) -> None: ... + @overload + @staticmethod + def MakeConnexityBlocks( + theS: TopoDS_Shape, + theConnectionType: TopAbs_ShapeEnum, + theElementType: TopAbs_ShapeEnum, + theLCB: TopTools_ListOfShape, + ) -> None: ... + @overload + @staticmethod + def MakeConnexityBlocks( + theS: TopoDS_Shape, + theConnectionType: TopAbs_ShapeEnum, + theElementType: TopAbs_ShapeEnum, + theLCB: TopTools_ListOfListOfShape, + theConnectionMap: TopTools_IndexedDataMapOfShapeListOfShape, + ) -> None: ... + @overload + @staticmethod + def MakeConnexityBlocks( + theLS: TopTools_ListOfShape, + theConnectionType: TopAbs_ShapeEnum, + theElementType: TopAbs_ShapeEnum, + theLCB: BOPTools_ListOfConnexityBlock, + ) -> None: ... + @staticmethod + def MakeContainer(theType: TopAbs_ShapeEnum, theShape: TopoDS_Shape) -> None: ... + @staticmethod + def MakeEdge( + theCurve: IntTools_Curve, + theV1: TopoDS_Vertex, + theT1: float, + theV2: TopoDS_Vertex, + theT2: float, + theTolR3D: float, + theE: TopoDS_Edge, + ) -> None: ... + @overload + @staticmethod + def MakeNewVertex(aP1: gp_Pnt, aTol: float, aNewVertex: TopoDS_Vertex) -> None: ... + @overload + @staticmethod + def MakeNewVertex( + aV1: TopoDS_Vertex, aV2: TopoDS_Vertex, aNewVertex: TopoDS_Vertex + ) -> None: ... + @overload + @staticmethod + def MakeNewVertex( + aE1: TopoDS_Edge, + aP1: float, + aE2: TopoDS_Edge, + aP2: float, + aNewVertex: TopoDS_Vertex, + ) -> None: ... + @overload + @staticmethod + def MakeNewVertex( + aE1: TopoDS_Edge, aP1: float, aF2: TopoDS_Face, aNewVertex: TopoDS_Vertex + ) -> None: ... + @staticmethod + def MakePCurve( + theE: TopoDS_Edge, + theF1: TopoDS_Face, + theF2: TopoDS_Face, + theCurve: IntTools_Curve, + thePC1: bool, + thePC2: bool, + theContext: Optional[IntTools_Context] = IntTools_Context(), + ) -> None: ... + @staticmethod + def MakeSectEdge( + aIC: IntTools_Curve, + aV1: TopoDS_Vertex, + aP1: float, + aV2: TopoDS_Vertex, + aP2: float, + aNewEdge: TopoDS_Edge, + ) -> None: ... + @staticmethod + def MakeSplitEdge( + aE1: TopoDS_Edge, + aV1: TopoDS_Vertex, + aP1: float, + aV2: TopoDS_Vertex, + aP2: float, + aNewEdge: TopoDS_Edge, + ) -> None: ... + @staticmethod + def MakeVertex(theLV: TopTools_ListOfShape, theV: TopoDS_Vertex) -> None: ... + @staticmethod + def OrientEdgesOnWire(theWire: TopoDS_Shape) -> None: ... + @staticmethod + def OrientFacesOnShell(theShell: TopoDS_Shape) -> None: ... + @staticmethod + def PointOnEdge(aEdge: TopoDS_Edge, aPrm: float, aP: gp_Pnt) -> None: ... + @staticmethod + def Sense( + theF1: TopoDS_Face, theF2: TopoDS_Face, theContext: IntTools_Context + ) -> int: ... + @staticmethod + def TreatCompound( + theS: TopoDS_Shape, + theList: TopTools_ListOfShape, + theMap: Optional[TopTools_MapOfShape] = None, + ) -> None: ... + @overload + @staticmethod + def UpdateVertex(aIC: IntTools_Curve, aT: float, aV: TopoDS_Vertex) -> None: ... + @overload + @staticmethod + def UpdateVertex(aE: TopoDS_Edge, aT: float, aV: TopoDS_Vertex) -> None: ... + @overload + @staticmethod + def UpdateVertex(aVF: TopoDS_Vertex, aVN: TopoDS_Vertex) -> None: ... class BOPTools_AlgoTools2D: - @overload - @staticmethod - def AdjustPCurveOnFace(theF: TopoDS_Face, theC3D: Geom_Curve, theC2D: Geom2d_Curve, theC2DA: Geom2d_Curve, theContext: Optional[IntTools_Context] = IntTools_Context()) -> None: ... - @overload - @staticmethod - def AdjustPCurveOnFace(theF: TopoDS_Face, theFirst: float, theLast: float, theC2D: Geom2d_Curve, theC2DA: Geom2d_Curve, theContext: Optional[IntTools_Context] = IntTools_Context()) -> None: ... - @staticmethod - def AdjustPCurveOnSurf(aF: BRepAdaptor_Surface, aT1: float, aT2: float, aC2D: Geom2d_Curve, aC2DA: Geom2d_Curve) -> None: ... - @staticmethod - def AttachExistingPCurve(aEold: TopoDS_Edge, aEnew: TopoDS_Edge, aF: TopoDS_Face, aCtx: IntTools_Context) -> int: ... - @staticmethod - def BuildPCurveForEdgeOnFace(aE: TopoDS_Edge, aF: TopoDS_Face, theContext: Optional[IntTools_Context] = IntTools_Context()) -> None: ... - @overload - @staticmethod - def CurveOnSurface(aE: TopoDS_Edge, aF: TopoDS_Face, aC: Geom2d_Curve, theContext: Optional[IntTools_Context] = IntTools_Context()) -> float: ... - @overload - @staticmethod - def CurveOnSurface(aE: TopoDS_Edge, aF: TopoDS_Face, aC: Geom2d_Curve, theContext: Optional[IntTools_Context] = IntTools_Context()) -> Tuple[float, float, float]: ... - @staticmethod - def EdgeTangent(anE: TopoDS_Edge, aT: float, Tau: gp_Vec) -> bool: ... - @overload - @staticmethod - def HasCurveOnSurface(aE: TopoDS_Edge, aF: TopoDS_Face, aC: Geom2d_Curve) -> Tuple[bool, float, float, float]: ... - @overload - @staticmethod - def HasCurveOnSurface(aE: TopoDS_Edge, aF: TopoDS_Face) -> bool: ... - @overload - @staticmethod - def IntermediatePoint(aFirst: float, aLast: float) -> float: ... - @overload - @staticmethod - def IntermediatePoint(anE: TopoDS_Edge) -> float: ... - @staticmethod - def IsEdgeIsoline(theE: TopoDS_Edge, theF: TopoDS_Face) -> Tuple[bool, bool]: ... - @staticmethod - def Make2D(aE: TopoDS_Edge, aF: TopoDS_Face, aC: Geom2d_Curve, theContext: Optional[IntTools_Context] = IntTools_Context()) -> Tuple[float, float, float]: ... - @overload - @staticmethod - def MakePCurveOnFace(aF: TopoDS_Face, C3D: Geom_Curve, aC: Geom2d_Curve, theContext: Optional[IntTools_Context] = IntTools_Context()) -> float: ... - @overload - @staticmethod - def MakePCurveOnFace(aF: TopoDS_Face, C3D: Geom_Curve, aT1: float, aT2: float, aC: Geom2d_Curve, theContext: Optional[IntTools_Context] = IntTools_Context()) -> float: ... - @staticmethod - def PointOnSurface(aE: TopoDS_Edge, aF: TopoDS_Face, aT: float, theContext: Optional[IntTools_Context] = IntTools_Context()) -> Tuple[float, float]: ... + @overload + @staticmethod + def AdjustPCurveOnFace( + theF: TopoDS_Face, + theC3D: Geom_Curve, + theC2D: Geom2d_Curve, + theC2DA: Geom2d_Curve, + theContext: Optional[IntTools_Context] = IntTools_Context(), + ) -> None: ... + @overload + @staticmethod + def AdjustPCurveOnFace( + theF: TopoDS_Face, + theFirst: float, + theLast: float, + theC2D: Geom2d_Curve, + theC2DA: Geom2d_Curve, + theContext: Optional[IntTools_Context] = IntTools_Context(), + ) -> None: ... + @staticmethod + def AdjustPCurveOnSurf( + aF: BRepAdaptor_Surface, + aT1: float, + aT2: float, + aC2D: Geom2d_Curve, + aC2DA: Geom2d_Curve, + ) -> None: ... + @staticmethod + def AttachExistingPCurve( + aEold: TopoDS_Edge, aEnew: TopoDS_Edge, aF: TopoDS_Face, aCtx: IntTools_Context + ) -> int: ... + @staticmethod + def BuildPCurveForEdgeOnFace( + aE: TopoDS_Edge, + aF: TopoDS_Face, + theContext: Optional[IntTools_Context] = IntTools_Context(), + ) -> None: ... + @overload + @staticmethod + def CurveOnSurface( + aE: TopoDS_Edge, + aF: TopoDS_Face, + aC: Geom2d_Curve, + theContext: Optional[IntTools_Context] = IntTools_Context(), + ) -> float: ... + @overload + @staticmethod + def CurveOnSurface( + aE: TopoDS_Edge, + aF: TopoDS_Face, + aC: Geom2d_Curve, + theContext: Optional[IntTools_Context] = IntTools_Context(), + ) -> Tuple[float, float, float]: ... + @staticmethod + def EdgeTangent(anE: TopoDS_Edge, aT: float, Tau: gp_Vec) -> bool: ... + @overload + @staticmethod + def HasCurveOnSurface( + aE: TopoDS_Edge, aF: TopoDS_Face, aC: Geom2d_Curve + ) -> Tuple[bool, float, float, float]: ... + @overload + @staticmethod + def HasCurveOnSurface(aE: TopoDS_Edge, aF: TopoDS_Face) -> bool: ... + @overload + @staticmethod + def IntermediatePoint(aFirst: float, aLast: float) -> float: ... + @overload + @staticmethod + def IntermediatePoint(anE: TopoDS_Edge) -> float: ... + @staticmethod + def IsEdgeIsoline(theE: TopoDS_Edge, theF: TopoDS_Face) -> Tuple[bool, bool]: ... + @staticmethod + def Make2D( + aE: TopoDS_Edge, + aF: TopoDS_Face, + aC: Geom2d_Curve, + theContext: Optional[IntTools_Context] = IntTools_Context(), + ) -> Tuple[float, float, float]: ... + @overload + @staticmethod + def MakePCurveOnFace( + aF: TopoDS_Face, + C3D: Geom_Curve, + aC: Geom2d_Curve, + theContext: Optional[IntTools_Context] = IntTools_Context(), + ) -> float: ... + @overload + @staticmethod + def MakePCurveOnFace( + aF: TopoDS_Face, + C3D: Geom_Curve, + aT1: float, + aT2: float, + aC: Geom2d_Curve, + theContext: Optional[IntTools_Context] = IntTools_Context(), + ) -> float: ... + @staticmethod + def PointOnSurface( + aE: TopoDS_Edge, + aF: TopoDS_Face, + aT: float, + theContext: Optional[IntTools_Context] = IntTools_Context(), + ) -> Tuple[float, float]: ... class BOPTools_AlgoTools3D: - @overload - @staticmethod - def DoSplitSEAMOnFace(theESplit: TopoDS_Edge, theFace: TopoDS_Face) -> bool: ... - @overload - @staticmethod - def DoSplitSEAMOnFace(theEOrigin: TopoDS_Edge, theESplit: TopoDS_Edge, theFace: TopoDS_Face) -> bool: ... - @overload - @staticmethod - def GetApproxNormalToFaceOnEdge(aE: TopoDS_Edge, aF: TopoDS_Face, aT: float, aPx: gp_Pnt, aD: gp_Dir, theContext: IntTools_Context) -> bool: ... - @overload - @staticmethod - def GetApproxNormalToFaceOnEdge(theE: TopoDS_Edge, theF: TopoDS_Face, aT: float, aP: gp_Pnt, aDNF: gp_Dir, aDt2D: float) -> bool: ... - @overload - @staticmethod - def GetApproxNormalToFaceOnEdge(theE: TopoDS_Edge, theF: TopoDS_Face, aT: float, aDt2D: float, aP: gp_Pnt, aDNF: gp_Dir, theContext: IntTools_Context) -> bool: ... - @overload - @staticmethod - def GetNormalToFaceOnEdge(aE: TopoDS_Edge, aF: TopoDS_Face, aT: float, aD: gp_Dir, theContext: Optional[IntTools_Context] = IntTools_Context()) -> None: ... - @overload - @staticmethod - def GetNormalToFaceOnEdge(aE: TopoDS_Edge, aF: TopoDS_Face, aD: gp_Dir, theContext: Optional[IntTools_Context] = IntTools_Context()) -> None: ... - @staticmethod - def GetNormalToSurface(aS: Geom_Surface, U: float, V: float, aD: gp_Dir) -> bool: ... - @staticmethod - def IsEmptyShape(aS: TopoDS_Shape) -> bool: ... - @staticmethod - def MinStepIn2d() -> float: ... - @staticmethod - def OrientEdgeOnFace(aE: TopoDS_Edge, aF: TopoDS_Face, aER: TopoDS_Edge) -> None: ... - @overload - @staticmethod - def PointInFace(theF: TopoDS_Face, theP: gp_Pnt, theP2D: gp_Pnt2d, theContext: IntTools_Context) -> int: ... - @overload - @staticmethod - def PointInFace(theF: TopoDS_Face, theE: TopoDS_Edge, theT: float, theDt2D: float, theP: gp_Pnt, theP2D: gp_Pnt2d, theContext: IntTools_Context) -> int: ... - @overload - @staticmethod - def PointInFace(theF: TopoDS_Face, theL: Geom2d_Curve, theP: gp_Pnt, theP2D: gp_Pnt2d, theContext: IntTools_Context, theDt2D: Optional[float] = 0.0) -> int: ... - @overload - @staticmethod - def PointNearEdge(aE: TopoDS_Edge, aF: TopoDS_Face, aT: float, aDt2D: float, aP2D: gp_Pnt2d, aPx: gp_Pnt, theContext: IntTools_Context) -> int: ... - @overload - @staticmethod - def PointNearEdge(aE: TopoDS_Edge, aF: TopoDS_Face, aT: float, aDt2D: float, aP2D: gp_Pnt2d, aPx: gp_Pnt) -> int: ... - @overload - @staticmethod - def PointNearEdge(aE: TopoDS_Edge, aF: TopoDS_Face, aT: float, aP2D: gp_Pnt2d, aPx: gp_Pnt, theContext: IntTools_Context) -> int: ... - @overload - @staticmethod - def PointNearEdge(aE: TopoDS_Edge, aF: TopoDS_Face, aP2D: gp_Pnt2d, aPx: gp_Pnt, theContext: IntTools_Context) -> int: ... - @staticmethod - def SenseFlag(aNF1: gp_Dir, aNF2: gp_Dir) -> int: ... + @overload + @staticmethod + def DoSplitSEAMOnFace(theESplit: TopoDS_Edge, theFace: TopoDS_Face) -> bool: ... + @overload + @staticmethod + def DoSplitSEAMOnFace( + theEOrigin: TopoDS_Edge, theESplit: TopoDS_Edge, theFace: TopoDS_Face + ) -> bool: ... + @overload + @staticmethod + def GetApproxNormalToFaceOnEdge( + aE: TopoDS_Edge, + aF: TopoDS_Face, + aT: float, + aPx: gp_Pnt, + aD: gp_Dir, + theContext: IntTools_Context, + ) -> bool: ... + @overload + @staticmethod + def GetApproxNormalToFaceOnEdge( + theE: TopoDS_Edge, + theF: TopoDS_Face, + aT: float, + aP: gp_Pnt, + aDNF: gp_Dir, + aDt2D: float, + ) -> bool: ... + @overload + @staticmethod + def GetApproxNormalToFaceOnEdge( + theE: TopoDS_Edge, + theF: TopoDS_Face, + aT: float, + aDt2D: float, + aP: gp_Pnt, + aDNF: gp_Dir, + theContext: IntTools_Context, + ) -> bool: ... + @overload + @staticmethod + def GetNormalToFaceOnEdge( + aE: TopoDS_Edge, + aF: TopoDS_Face, + aT: float, + aD: gp_Dir, + theContext: Optional[IntTools_Context] = IntTools_Context(), + ) -> None: ... + @overload + @staticmethod + def GetNormalToFaceOnEdge( + aE: TopoDS_Edge, + aF: TopoDS_Face, + aD: gp_Dir, + theContext: Optional[IntTools_Context] = IntTools_Context(), + ) -> None: ... + @staticmethod + def GetNormalToSurface( + aS: Geom_Surface, U: float, V: float, aD: gp_Dir + ) -> bool: ... + @staticmethod + def IsEmptyShape(aS: TopoDS_Shape) -> bool: ... + @staticmethod + def MinStepIn2d() -> float: ... + @staticmethod + def OrientEdgeOnFace( + aE: TopoDS_Edge, aF: TopoDS_Face, aER: TopoDS_Edge + ) -> None: ... + @overload + @staticmethod + def PointInFace( + theF: TopoDS_Face, theP: gp_Pnt, theP2D: gp_Pnt2d, theContext: IntTools_Context + ) -> int: ... + @overload + @staticmethod + def PointInFace( + theF: TopoDS_Face, + theE: TopoDS_Edge, + theT: float, + theDt2D: float, + theP: gp_Pnt, + theP2D: gp_Pnt2d, + theContext: IntTools_Context, + ) -> int: ... + @overload + @staticmethod + def PointInFace( + theF: TopoDS_Face, + theL: Geom2d_Curve, + theP: gp_Pnt, + theP2D: gp_Pnt2d, + theContext: IntTools_Context, + theDt2D: Optional[float] = 0.0, + ) -> int: ... + @overload + @staticmethod + def PointNearEdge( + aE: TopoDS_Edge, + aF: TopoDS_Face, + aT: float, + aDt2D: float, + aP2D: gp_Pnt2d, + aPx: gp_Pnt, + theContext: IntTools_Context, + ) -> int: ... + @overload + @staticmethod + def PointNearEdge( + aE: TopoDS_Edge, + aF: TopoDS_Face, + aT: float, + aDt2D: float, + aP2D: gp_Pnt2d, + aPx: gp_Pnt, + ) -> int: ... + @overload + @staticmethod + def PointNearEdge( + aE: TopoDS_Edge, + aF: TopoDS_Face, + aT: float, + aP2D: gp_Pnt2d, + aPx: gp_Pnt, + theContext: IntTools_Context, + ) -> int: ... + @overload + @staticmethod + def PointNearEdge( + aE: TopoDS_Edge, + aF: TopoDS_Face, + aP2D: gp_Pnt2d, + aPx: gp_Pnt, + theContext: IntTools_Context, + ) -> int: ... + @staticmethod + def SenseFlag(aNF1: gp_Dir, aNF2: gp_Dir) -> int: ... class BOPTools_ConnexityBlock: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... - def ChangeLoops(self) -> TopTools_ListOfShape: ... - def ChangeShapes(self) -> TopTools_ListOfShape: ... - def IsRegular(self) -> bool: ... - def Loops(self) -> TopTools_ListOfShape: ... - def SetRegular(self, theFlag: bool) -> None: ... - def Shapes(self) -> TopTools_ListOfShape: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... + def ChangeLoops(self) -> TopTools_ListOfShape: ... + def ChangeShapes(self) -> TopTools_ListOfShape: ... + def IsRegular(self) -> bool: ... + def Loops(self) -> TopTools_ListOfShape: ... + def SetRegular(self, theFlag: bool) -> None: ... + def Shapes(self) -> TopTools_ListOfShape: ... class BOPTools_CoupleOfShape: - def __init__(self) -> None: ... - def SetShape1(self, theShape: TopoDS_Shape) -> None: ... - def SetShape2(self, theShape: TopoDS_Shape) -> None: ... - def Shape1(self) -> TopoDS_Shape: ... - def Shape2(self) -> TopoDS_Shape: ... + def __init__(self) -> None: ... + def SetShape1(self, theShape: TopoDS_Shape) -> None: ... + def SetShape2(self, theShape: TopoDS_Shape) -> None: ... + def Shape1(self) -> TopoDS_Shape: ... + def Shape2(self) -> TopoDS_Shape: ... class BOPTools_Set: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... - @overload - def __init__(self, theOther: BOPTools_Set) -> None: ... - def Add(self, theS: TopoDS_Shape, theType: TopAbs_ShapeEnum) -> None: ... - def Assign(self, Other: BOPTools_Set) -> BOPTools_Set: ... - def HashCode(self, theUpperBound: int) -> int: ... - def IsEqual(self, aOther: BOPTools_Set) -> bool: ... - def NbShapes(self) -> int: ... - def Shape(self) -> TopoDS_Shape: ... - -class BOPTools_SetMapHasher: - @staticmethod - def HashCode(theSet: BOPTools_Set, theUpperBound: int) -> int: ... - @staticmethod - def IsEqual(aSet1: BOPTools_Set, aSet2: BOPTools_Set) -> bool: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... + @overload + def __init__(self, theOther: BOPTools_Set) -> None: ... + def Add(self, theS: TopoDS_Shape, theType: TopAbs_ShapeEnum) -> None: ... + def Assign(self, Other: BOPTools_Set) -> BOPTools_Set: ... + def GetSum(self) -> False: ... + def IsEqual(self, aOther: BOPTools_Set) -> bool: ... + def NbShapes(self) -> int: ... + def Shape(self) -> TopoDS_Shape: ... -#classnotwrapped +# classnotwrapped class BOPTools_Parallel: ... -#classnotwrapped +# classnotwrapped class BOPTools_BoxSelector: ... -#classnotwrapped +# classnotwrapped class BOPTools_BoxSet: ... -#classnotwrapped +# classnotwrapped class BOPTools_PairSelector: ... # harray1 classes # harray2 classes # hsequence classes - -BOPTools_AlgoTools_AreFacesSameDomain = BOPTools_AlgoTools.AreFacesSameDomain -BOPTools_AlgoTools_ComputeState = BOPTools_AlgoTools.ComputeState -BOPTools_AlgoTools_ComputeState = BOPTools_AlgoTools.ComputeState -BOPTools_AlgoTools_ComputeState = BOPTools_AlgoTools.ComputeState -BOPTools_AlgoTools_ComputeState = BOPTools_AlgoTools.ComputeState -BOPTools_AlgoTools_ComputeStateByOnePoint = BOPTools_AlgoTools.ComputeStateByOnePoint -BOPTools_AlgoTools_ComputeTolerance = BOPTools_AlgoTools.ComputeTolerance -BOPTools_AlgoTools_ComputeVV = BOPTools_AlgoTools.ComputeVV -BOPTools_AlgoTools_ComputeVV = BOPTools_AlgoTools.ComputeVV -BOPTools_AlgoTools_CopyEdge = BOPTools_AlgoTools.CopyEdge -BOPTools_AlgoTools_CorrectCurveOnSurface = BOPTools_AlgoTools.CorrectCurveOnSurface -BOPTools_AlgoTools_CorrectPointOnCurve = BOPTools_AlgoTools.CorrectPointOnCurve -BOPTools_AlgoTools_CorrectRange = BOPTools_AlgoTools.CorrectRange -BOPTools_AlgoTools_CorrectRange = BOPTools_AlgoTools.CorrectRange -BOPTools_AlgoTools_CorrectShapeTolerances = BOPTools_AlgoTools.CorrectShapeTolerances -BOPTools_AlgoTools_CorrectTolerances = BOPTools_AlgoTools.CorrectTolerances -BOPTools_AlgoTools_DTolerance = BOPTools_AlgoTools.DTolerance -BOPTools_AlgoTools_Dimension = BOPTools_AlgoTools.Dimension -BOPTools_AlgoTools_Dimensions = BOPTools_AlgoTools.Dimensions -BOPTools_AlgoTools_GetEdgeOff = BOPTools_AlgoTools.GetEdgeOff -BOPTools_AlgoTools_GetEdgeOnFace = BOPTools_AlgoTools.GetEdgeOnFace -BOPTools_AlgoTools_GetFaceOff = BOPTools_AlgoTools.GetFaceOff -BOPTools_AlgoTools_IsBlockInOnFace = BOPTools_AlgoTools.IsBlockInOnFace -BOPTools_AlgoTools_IsHole = BOPTools_AlgoTools.IsHole -BOPTools_AlgoTools_IsInternalFace = BOPTools_AlgoTools.IsInternalFace -BOPTools_AlgoTools_IsInternalFace = BOPTools_AlgoTools.IsInternalFace -BOPTools_AlgoTools_IsInternalFace = BOPTools_AlgoTools.IsInternalFace -BOPTools_AlgoTools_IsInvertedSolid = BOPTools_AlgoTools.IsInvertedSolid -BOPTools_AlgoTools_IsMicroEdge = BOPTools_AlgoTools.IsMicroEdge -BOPTools_AlgoTools_IsOpenShell = BOPTools_AlgoTools.IsOpenShell -BOPTools_AlgoTools_IsSplitToReverse = BOPTools_AlgoTools.IsSplitToReverse -BOPTools_AlgoTools_IsSplitToReverse = BOPTools_AlgoTools.IsSplitToReverse -BOPTools_AlgoTools_IsSplitToReverse = BOPTools_AlgoTools.IsSplitToReverse -BOPTools_AlgoTools_IsSplitToReverseWithWarn = BOPTools_AlgoTools.IsSplitToReverseWithWarn -BOPTools_AlgoTools_MakeConnexityBlock = BOPTools_AlgoTools.MakeConnexityBlock -BOPTools_AlgoTools_MakeConnexityBlocks = BOPTools_AlgoTools.MakeConnexityBlocks -BOPTools_AlgoTools_MakeConnexityBlocks = BOPTools_AlgoTools.MakeConnexityBlocks -BOPTools_AlgoTools_MakeConnexityBlocks = BOPTools_AlgoTools.MakeConnexityBlocks -BOPTools_AlgoTools_MakeContainer = BOPTools_AlgoTools.MakeContainer -BOPTools_AlgoTools_MakeEdge = BOPTools_AlgoTools.MakeEdge -BOPTools_AlgoTools_MakeNewVertex = BOPTools_AlgoTools.MakeNewVertex -BOPTools_AlgoTools_MakeNewVertex = BOPTools_AlgoTools.MakeNewVertex -BOPTools_AlgoTools_MakeNewVertex = BOPTools_AlgoTools.MakeNewVertex -BOPTools_AlgoTools_MakeNewVertex = BOPTools_AlgoTools.MakeNewVertex -BOPTools_AlgoTools_MakePCurve = BOPTools_AlgoTools.MakePCurve -BOPTools_AlgoTools_MakeSectEdge = BOPTools_AlgoTools.MakeSectEdge -BOPTools_AlgoTools_MakeSplitEdge = BOPTools_AlgoTools.MakeSplitEdge -BOPTools_AlgoTools_MakeVertex = BOPTools_AlgoTools.MakeVertex -BOPTools_AlgoTools_OrientEdgesOnWire = BOPTools_AlgoTools.OrientEdgesOnWire -BOPTools_AlgoTools_OrientFacesOnShell = BOPTools_AlgoTools.OrientFacesOnShell -BOPTools_AlgoTools_PointOnEdge = BOPTools_AlgoTools.PointOnEdge -BOPTools_AlgoTools_Sense = BOPTools_AlgoTools.Sense -BOPTools_AlgoTools_TreatCompound = BOPTools_AlgoTools.TreatCompound -BOPTools_AlgoTools_UpdateVertex = BOPTools_AlgoTools.UpdateVertex -BOPTools_AlgoTools_UpdateVertex = BOPTools_AlgoTools.UpdateVertex -BOPTools_AlgoTools_UpdateVertex = BOPTools_AlgoTools.UpdateVertex -BOPTools_AlgoTools2D_AdjustPCurveOnFace = BOPTools_AlgoTools2D.AdjustPCurveOnFace -BOPTools_AlgoTools2D_AdjustPCurveOnFace = BOPTools_AlgoTools2D.AdjustPCurveOnFace -BOPTools_AlgoTools2D_AdjustPCurveOnSurf = BOPTools_AlgoTools2D.AdjustPCurveOnSurf -BOPTools_AlgoTools2D_AttachExistingPCurve = BOPTools_AlgoTools2D.AttachExistingPCurve -BOPTools_AlgoTools2D_BuildPCurveForEdgeOnFace = BOPTools_AlgoTools2D.BuildPCurveForEdgeOnFace -BOPTools_AlgoTools2D_CurveOnSurface = BOPTools_AlgoTools2D.CurveOnSurface -BOPTools_AlgoTools2D_CurveOnSurface = BOPTools_AlgoTools2D.CurveOnSurface -BOPTools_AlgoTools2D_EdgeTangent = BOPTools_AlgoTools2D.EdgeTangent -BOPTools_AlgoTools2D_HasCurveOnSurface = BOPTools_AlgoTools2D.HasCurveOnSurface -BOPTools_AlgoTools2D_HasCurveOnSurface = BOPTools_AlgoTools2D.HasCurveOnSurface -BOPTools_AlgoTools2D_IntermediatePoint = BOPTools_AlgoTools2D.IntermediatePoint -BOPTools_AlgoTools2D_IntermediatePoint = BOPTools_AlgoTools2D.IntermediatePoint -BOPTools_AlgoTools2D_IsEdgeIsoline = BOPTools_AlgoTools2D.IsEdgeIsoline -BOPTools_AlgoTools2D_Make2D = BOPTools_AlgoTools2D.Make2D -BOPTools_AlgoTools2D_MakePCurveOnFace = BOPTools_AlgoTools2D.MakePCurveOnFace -BOPTools_AlgoTools2D_MakePCurveOnFace = BOPTools_AlgoTools2D.MakePCurveOnFace -BOPTools_AlgoTools2D_PointOnSurface = BOPTools_AlgoTools2D.PointOnSurface -BOPTools_AlgoTools3D_DoSplitSEAMOnFace = BOPTools_AlgoTools3D.DoSplitSEAMOnFace -BOPTools_AlgoTools3D_DoSplitSEAMOnFace = BOPTools_AlgoTools3D.DoSplitSEAMOnFace -BOPTools_AlgoTools3D_GetApproxNormalToFaceOnEdge = BOPTools_AlgoTools3D.GetApproxNormalToFaceOnEdge -BOPTools_AlgoTools3D_GetApproxNormalToFaceOnEdge = BOPTools_AlgoTools3D.GetApproxNormalToFaceOnEdge -BOPTools_AlgoTools3D_GetApproxNormalToFaceOnEdge = BOPTools_AlgoTools3D.GetApproxNormalToFaceOnEdge -BOPTools_AlgoTools3D_GetNormalToFaceOnEdge = BOPTools_AlgoTools3D.GetNormalToFaceOnEdge -BOPTools_AlgoTools3D_GetNormalToFaceOnEdge = BOPTools_AlgoTools3D.GetNormalToFaceOnEdge -BOPTools_AlgoTools3D_GetNormalToSurface = BOPTools_AlgoTools3D.GetNormalToSurface -BOPTools_AlgoTools3D_IsEmptyShape = BOPTools_AlgoTools3D.IsEmptyShape -BOPTools_AlgoTools3D_MinStepIn2d = BOPTools_AlgoTools3D.MinStepIn2d -BOPTools_AlgoTools3D_OrientEdgeOnFace = BOPTools_AlgoTools3D.OrientEdgeOnFace -BOPTools_AlgoTools3D_PointInFace = BOPTools_AlgoTools3D.PointInFace -BOPTools_AlgoTools3D_PointInFace = BOPTools_AlgoTools3D.PointInFace -BOPTools_AlgoTools3D_PointInFace = BOPTools_AlgoTools3D.PointInFace -BOPTools_AlgoTools3D_PointNearEdge = BOPTools_AlgoTools3D.PointNearEdge -BOPTools_AlgoTools3D_PointNearEdge = BOPTools_AlgoTools3D.PointNearEdge -BOPTools_AlgoTools3D_PointNearEdge = BOPTools_AlgoTools3D.PointNearEdge -BOPTools_AlgoTools3D_PointNearEdge = BOPTools_AlgoTools3D.PointNearEdge -BOPTools_AlgoTools3D_SenseFlag = BOPTools_AlgoTools3D.SenseFlag -BOPTools_SetMapHasher_HashCode = BOPTools_SetMapHasher.HashCode -BOPTools_SetMapHasher_IsEqual = BOPTools_SetMapHasher.IsEqual diff --git a/src/SWIG_files/wrapper/BRep.i b/src/SWIG_files/wrapper/BRep.i index 518959dc1..afa6967a1 100644 --- a/src/SWIG_files/wrapper/BRep.i +++ b/src/SWIG_files/wrapper/BRep.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPDOCSTRING "BRep module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brep.html" +https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_brep.html" %enddef %module (package="OCC.Core", docstring=BREPDOCSTRING) BRep @@ -31,8 +31,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brep.html" %include ../common/CommonIncludes.i %include ../common/ExceptionCatcher.i %include ../common/FunctionTransformers.i +%include ../common/EnumTemplates.i %include ../common/Operators.i %include ../common/OccHandle.i +%include ../common/IOStream.i +%include ../common/ArrayMacros.i %{ @@ -51,6 +54,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brep.html" #include #include #include +#include #include #include #include @@ -75,7 +79,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -111,6 +115,12 @@ from OCC.Core.Exception import * %pythoncode { def __len__(self): return self.Size() + + def __iter__(self): + it = BRep_ListIteratorOfListOfCurveRepresentation(self.this) + while it.More(): + yield it.Value() + it.Next() } }; %template(BRep_ListOfPointRepresentation) NCollection_List>; @@ -119,6 +129,12 @@ from OCC.Core.Exception import * %pythoncode { def __len__(self): return self.Size() + + def __iter__(self): + it = BRep_ListIteratorOfListOfPointRepresentation(self.this) + while it.More(): + yield it.Value() + it.Next() } }; /* end templates declaration */ @@ -135,11 +151,10 @@ typedef NCollection_List> BRep_Lis *********************/ class BRep_Builder : public TopoDS_Builder { public: - /****************** Continuity ******************/ - /**** md5 signature: ad510666139039f52608a143ce53cdd7 ****/ + /****** BRep_Builder::Continuity ******/ + /****** md5 signature: ad510666139039f52608a143ce53cdd7 ******/ %feature("compactdefaultargs") Continuity; - %feature("autodoc", "Sets the geometric continuity on the edge. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge @@ -147,17 +162,20 @@ F1: TopoDS_Face F2: TopoDS_Face C: GeomAbs_Shape -Returns +Return ------- None + +Description +----------- +Sets the geometric continuity on the edge. ") Continuity; void Continuity(const TopoDS_Edge & E, const TopoDS_Face & F1, const TopoDS_Face & F2, const GeomAbs_Shape C); - /****************** Continuity ******************/ - /**** md5 signature: feff2af26f83833fcfbdc2257209ef12 ****/ + /****** BRep_Builder::Continuity ******/ + /****** md5 signature: feff2af26f83833fcfbdc2257209ef12 ******/ %feature("compactdefaultargs") Continuity; - %feature("autodoc", "Sets the geometric continuity on the edge. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge @@ -167,65 +185,77 @@ L1: TopLoc_Location L2: TopLoc_Location C: GeomAbs_Shape -Returns +Return ------- None + +Description +----------- +Sets the geometric continuity on the edge. ") 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); - /****************** Degenerated ******************/ - /**** md5 signature: 85fb0e4fff22a970366aebab9413a0a0 ****/ + /****** BRep_Builder::Degenerated ******/ + /****** md5 signature: 85fb0e4fff22a970366aebab9413a0a0 ******/ %feature("compactdefaultargs") Degenerated; - %feature("autodoc", "Sets the degenerated flag for the edge . - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge D: bool -Returns +Return ------- None + +Description +----------- +Sets the degenerated flag for the edge . ") Degenerated; void Degenerated(const TopoDS_Edge & E, const Standard_Boolean D); - /****************** MakeEdge ******************/ - /**** md5 signature: b674f239b626d44dda9dada9ca8f29f4 ****/ + /****** BRep_Builder::MakeEdge ******/ + /****** md5 signature: b674f239b626d44dda9dada9ca8f29f4 ******/ %feature("compactdefaultargs") MakeEdge; - %feature("autodoc", "Makes an undefined edge (no geometry). - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +Makes an undefined Edge (no geometry). ") MakeEdge; void MakeEdge(TopoDS_Edge & E); - /****************** MakeEdge ******************/ - /**** md5 signature: f0f2d5e71e37e4d20e9feffc9c1d3b2d ****/ + /****** BRep_Builder::MakeEdge ******/ + /****** md5 signature: f0f2d5e71e37e4d20e9feffc9c1d3b2d ******/ %feature("compactdefaultargs") MakeEdge; - %feature("autodoc", "Makes an edge with a curve. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge C: Geom_Curve Tol: float -Returns +Return ------- None + +Description +----------- +Makes an Edge with a curve. ") MakeEdge; void MakeEdge(TopoDS_Edge & E, const opencascade::handle & C, const Standard_Real Tol); - /****************** MakeEdge ******************/ - /**** md5 signature: eadfa705523a213a6ec77659a57a54ff ****/ + /****** BRep_Builder::MakeEdge ******/ + /****** md5 signature: eadfa705523a213a6ec77659a57a54ff ******/ %feature("compactdefaultargs") MakeEdge; - %feature("autodoc", "Makes an edge with a curve and a location. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge @@ -233,50 +263,59 @@ C: Geom_Curve L: TopLoc_Location Tol: float -Returns +Return ------- None + +Description +----------- +Makes an Edge with a curve and a location. ") MakeEdge; void MakeEdge(TopoDS_Edge & E, const opencascade::handle & C, const TopLoc_Location & L, const Standard_Real Tol); - /****************** MakeEdge ******************/ - /**** md5 signature: 1d75b5022ed1df63600c7bc1fc939182 ****/ + /****** BRep_Builder::MakeEdge ******/ + /****** md5 signature: 1d75b5022ed1df63600c7bc1fc939182 ******/ %feature("compactdefaultargs") MakeEdge; - %feature("autodoc", "Makes an edge with a polygon 3d. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge P: Poly_Polygon3D -Returns +Return ------- None + +Description +----------- +Makes an Edge with a polygon 3d. ") MakeEdge; void MakeEdge(TopoDS_Edge & E, const opencascade::handle & P); - /****************** MakeEdge ******************/ - /**** md5 signature: ff614951ea63361125c2261b4c2628c2 ****/ + /****** BRep_Builder::MakeEdge ******/ + /****** md5 signature: ff614951ea63361125c2261b4c2628c2 ******/ %feature("compactdefaultargs") MakeEdge; - %feature("autodoc", "Makes an edge polygon on triangulation. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge N: Poly_PolygonOnTriangulation T: Poly_Triangulation -Returns +Return ------- None + +Description +----------- +makes an Edge polygon on Triangulation. ") MakeEdge; void MakeEdge(TopoDS_Edge & E, const opencascade::handle & N, const opencascade::handle & T); - /****************** MakeEdge ******************/ - /**** md5 signature: f33683631bfbf43b74881c51e3c77a67 ****/ + /****** BRep_Builder::MakeEdge ******/ + /****** md5 signature: f33683631bfbf43b74881c51e3c77a67 ******/ %feature("compactdefaultargs") MakeEdge; - %feature("autodoc", "Makes an edge polygon on triangulation. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge @@ -284,49 +323,58 @@ N: Poly_PolygonOnTriangulation T: Poly_Triangulation L: TopLoc_Location -Returns +Return ------- None + +Description +----------- +makes an Edge polygon on Triangulation. ") MakeEdge; void MakeEdge(TopoDS_Edge & E, const opencascade::handle & N, const opencascade::handle & T, const TopLoc_Location & L); - /****************** MakeFace ******************/ - /**** md5 signature: c71240caa9bb39e7508c010ada76421f ****/ + /****** BRep_Builder::MakeFace ******/ + /****** md5 signature: c71240caa9bb39e7508c010ada76421f ******/ %feature("compactdefaultargs") MakeFace; - %feature("autodoc", "Makes an undefined face. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face -Returns +Return ------- None + +Description +----------- +Makes an undefined Face. ") MakeFace; void MakeFace(TopoDS_Face & F); - /****************** MakeFace ******************/ - /**** md5 signature: 21344df19ec72586cd876f667d9215d4 ****/ + /****** BRep_Builder::MakeFace ******/ + /****** md5 signature: 21344df19ec72586cd876f667d9215d4 ******/ %feature("compactdefaultargs") MakeFace; - %feature("autodoc", "Makes a face with a surface. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face S: Geom_Surface Tol: float -Returns +Return ------- None + +Description +----------- +Makes a Face with a surface. ") MakeFace; void MakeFace(TopoDS_Face & F, const opencascade::handle & S, const Standard_Real Tol); - /****************** MakeFace ******************/ - /**** md5 signature: 4cc7cf2c0bdd48e757b5571ce63016a9 ****/ + /****** BRep_Builder::MakeFace ******/ + /****** md5 signature: 4cc7cf2c0bdd48e757b5571ce63016a9 ******/ %feature("compactdefaultargs") MakeFace; - %feature("autodoc", "Makes a face with a surface and a location. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face @@ -334,100 +382,137 @@ S: Geom_Surface L: TopLoc_Location Tol: float -Returns +Return ------- None + +Description +----------- +Makes a Face with a surface and a location. ") MakeFace; void MakeFace(TopoDS_Face & F, const opencascade::handle & S, const TopLoc_Location & L, const Standard_Real Tol); - /****************** MakeFace ******************/ - /**** md5 signature: ca5f5e4b1a5061fcce0c1cd034023ef2 ****/ + /****** BRep_Builder::MakeFace ******/ + /****** md5 signature: 82f593bb6499b901c0087602e0a5b4bc ******/ %feature("compactdefaultargs") MakeFace; - %feature("autodoc", "Makes a face with a triangulation. the triangulation is in the same reference system than the tface. + %feature("autodoc", " +Parameters +---------- +theFace: TopoDS_Face +theTriangulation: Poly_Triangulation + +Return +------- +None + +Description +----------- +Makes a theFace with a single triangulation. The triangulation is in the same reference system than the TFace. +") MakeFace; + void MakeFace(TopoDS_Face & theFace, const opencascade::handle & theTriangulation); + /****** BRep_Builder::MakeFace ******/ + /****** md5 signature: ca97f699b84f43b2b5cae440dbda0a60 ******/ + %feature("compactdefaultargs") MakeFace; + %feature("autodoc", " Parameters ---------- -F: TopoDS_Face -T: Poly_Triangulation +theFace: TopoDS_Face +theTriangulations: Poly_ListOfTriangulation +theActiveTriangulation: Poly_Triangulation (optional, default to opencascade::handle()) -Returns +Return ------- None + +Description +----------- +Makes a Face with a list of triangulations and active one. Use NULL active triangulation to set the first triangulation in list as active. The triangulations is in the same reference system than the TFace. ") MakeFace; - void MakeFace(TopoDS_Face & F, const opencascade::handle & T); + void MakeFace(TopoDS_Face & theFace, const Poly_ListOfTriangulation & theTriangulations, const opencascade::handle & theActiveTriangulation = opencascade::handle()); - /****************** MakeVertex ******************/ - /**** md5 signature: 31d0795e1ce56b9f1ec86c08a180b99b ****/ + /****** BRep_Builder::MakeVertex ******/ + /****** md5 signature: 31d0795e1ce56b9f1ec86c08a180b99b ******/ %feature("compactdefaultargs") MakeVertex; - %feature("autodoc", "Makes an udefined vertex without geometry. - + %feature("autodoc", " Parameters ---------- V: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +Makes an udefined vertex without geometry. ") MakeVertex; void MakeVertex(TopoDS_Vertex & V); - /****************** MakeVertex ******************/ - /**** md5 signature: 29bb0db6ab919b38d8ce3d1198ea2b37 ****/ + /****** BRep_Builder::MakeVertex ******/ + /****** md5 signature: 29bb0db6ab919b38d8ce3d1198ea2b37 ******/ %feature("compactdefaultargs") MakeVertex; - %feature("autodoc", "Makes a vertex from a 3d point. - + %feature("autodoc", " Parameters ---------- V: TopoDS_Vertex P: gp_Pnt Tol: float -Returns +Return ------- None + +Description +----------- +Makes a vertex from a 3D point. ") MakeVertex; void MakeVertex(TopoDS_Vertex & V, const gp_Pnt & P, const Standard_Real Tol); - /****************** NaturalRestriction ******************/ - /**** md5 signature: 9318ef19df3d36cddca0d86181d9235e ****/ + /****** BRep_Builder::NaturalRestriction ******/ + /****** md5 signature: 9318ef19df3d36cddca0d86181d9235e ******/ %feature("compactdefaultargs") NaturalRestriction; - %feature("autodoc", "Sets the naturalrestriction flag of the face. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face N: bool -Returns +Return ------- None + +Description +----------- +Sets the NaturalRestriction flag of the face. ") NaturalRestriction; void NaturalRestriction(const TopoDS_Face & F, const Standard_Boolean N); - /****************** Range ******************/ - /**** md5 signature: 4e181430c6418a692d54b7f2eb20b471 ****/ + /****** BRep_Builder::Range ******/ + /****** md5 signature: 4e181430c6418a692d54b7f2eb20b471 ******/ %feature("compactdefaultargs") Range; - %feature("autodoc", "Sets the range of the 3d curve if only3d=true, otherwise sets the range to all the representations. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge First: float Last: float -Only3d: bool,optional - default value is Standard_False +Only3d: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +Sets the range of the 3d curve if Only3d=True, otherwise sets the range to all the representations. ") Range; void Range(const TopoDS_Edge & E, const Standard_Real First, const Standard_Real Last, const Standard_Boolean Only3d = Standard_False); - /****************** Range ******************/ - /**** md5 signature: 8f140227716f210489934adf729eb0ac ****/ + /****** BRep_Builder::Range ******/ + /****** md5 signature: 8f140227716f210489934adf729eb0ac ******/ %feature("compactdefaultargs") Range; - %feature("autodoc", "Sets the range of the edge on the pcurve on the surface. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge @@ -436,17 +521,20 @@ L: TopLoc_Location First: float Last: float -Returns +Return ------- None + +Description +----------- +Sets the range of the edge on the pcurve on the surface. ") Range; void Range(const TopoDS_Edge & E, const opencascade::handle & S, const TopLoc_Location & L, const Standard_Real First, const Standard_Real Last); - /****************** Range ******************/ - /**** md5 signature: de1a40468c91090d0ec62f6a5752ec87 ****/ + /****** BRep_Builder::Range ******/ + /****** md5 signature: de1a40468c91090d0ec62f6a5752ec87 ******/ %feature("compactdefaultargs") Range; - %feature("autodoc", "Sets the range of the edge on the pcurve on the face. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge @@ -454,65 +542,77 @@ F: TopoDS_Face First: float Last: float -Returns +Return ------- None + +Description +----------- +Sets the range of the edge on the pcurve on the face. ") Range; void Range(const TopoDS_Edge & E, const TopoDS_Face & F, const Standard_Real First, const Standard_Real Last); - /****************** SameParameter ******************/ - /**** md5 signature: 637dd7757cdbbc36944a71eb51f0c647 ****/ + /****** BRep_Builder::SameParameter ******/ + /****** md5 signature: 637dd7757cdbbc36944a71eb51f0c647 ******/ %feature("compactdefaultargs") SameParameter; - %feature("autodoc", "Sets the same parameter flag for the edge . - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge S: bool -Returns +Return ------- None + +Description +----------- +Sets the same parameter flag for the edge . ") SameParameter; void SameParameter(const TopoDS_Edge & E, const Standard_Boolean S); - /****************** SameRange ******************/ - /**** md5 signature: e83a6e0df8791ada8869fddc2738519b ****/ + /****** BRep_Builder::SameRange ******/ + /****** md5 signature: e83a6e0df8791ada8869fddc2738519b ******/ %feature("compactdefaultargs") SameRange; - %feature("autodoc", "Sets the same range flag for the edge . - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge S: bool -Returns +Return ------- None + +Description +----------- +Sets the same range flag for the edge . ") SameRange; void SameRange(const TopoDS_Edge & E, const Standard_Boolean S); - /****************** Transfert ******************/ - /**** md5 signature: b171f0753a7014dc7505df77b53c2539 ****/ + /****** BRep_Builder::Transfert ******/ + /****** md5 signature: b171f0753a7014dc7505df77b53c2539 ******/ %feature("compactdefaultargs") Transfert; - %feature("autodoc", "Add to the geometric representations of . - + %feature("autodoc", " Parameters ---------- Ein: TopoDS_Edge Eout: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +Add to the geometric representations of . ") Transfert; void Transfert(const TopoDS_Edge & Ein, const TopoDS_Edge & Eout); - /****************** Transfert ******************/ - /**** md5 signature: 6d7e283a0289d8207e491ceb01681950 ****/ + /****** BRep_Builder::Transfert ******/ + /****** md5 signature: 6d7e283a0289d8207e491ceb01681950 ******/ %feature("compactdefaultargs") Transfert; - %feature("autodoc", "Transfert the parameters of vin on ein as the parameter of vout on eout. - + %feature("autodoc", " Parameters ---------- Ein: TopoDS_Edge @@ -520,34 +620,40 @@ Eout: TopoDS_Edge Vin: TopoDS_Vertex Vout: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +Transfert the parameters of Vin on Ein as the parameter of Vout on Eout. ") Transfert; void Transfert(const TopoDS_Edge & Ein, const TopoDS_Edge & Eout, const TopoDS_Vertex & Vin, const TopoDS_Vertex & Vout); - /****************** UpdateEdge ******************/ - /**** md5 signature: 461de5bb3bcace2fe64ffd833ab805f0 ****/ + /****** BRep_Builder::UpdateEdge ******/ + /****** md5 signature: 461de5bb3bcace2fe64ffd833ab805f0 ******/ %feature("compactdefaultargs") UpdateEdge; - %feature("autodoc", "Sets a 3d curve for the edge. if is a null handle, remove any existing 3d curve. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge C: Geom_Curve Tol: float -Returns +Return ------- None + +Description +----------- +Sets a 3D curve for the edge. If is a null handle, remove any existing 3d curve. ") UpdateEdge; void UpdateEdge(const TopoDS_Edge & E, const opencascade::handle & C, const Standard_Real Tol); - /****************** UpdateEdge ******************/ - /**** md5 signature: 8cfdbb2d500a89a88a4a76a7386f8aa9 ****/ + /****** BRep_Builder::UpdateEdge ******/ + /****** md5 signature: 8cfdbb2d500a89a88a4a76a7386f8aa9 ******/ %feature("compactdefaultargs") UpdateEdge; - %feature("autodoc", "Sets a 3d curve for the edge. if is a null handle, remove any existing 3d curve. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge @@ -555,17 +661,20 @@ C: Geom_Curve L: TopLoc_Location Tol: float -Returns +Return ------- None + +Description +----------- +Sets a 3D curve for the edge. If is a null handle, remove any existing 3d curve. ") UpdateEdge; void UpdateEdge(const TopoDS_Edge & E, const opencascade::handle & C, const TopLoc_Location & L, const Standard_Real Tol); - /****************** UpdateEdge ******************/ - /**** md5 signature: 3bfa8179919e96725c4915bd3d329649 ****/ + /****** BRep_Builder::UpdateEdge ******/ + /****** md5 signature: 3bfa8179919e96725c4915bd3d329649 ******/ %feature("compactdefaultargs") UpdateEdge; - %feature("autodoc", "Sets a pcurve for the edge on the face. if is a null handle, remove any existing pcurve. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge @@ -573,17 +682,20 @@ C: Geom2d_Curve F: TopoDS_Face Tol: float -Returns +Return ------- None + +Description +----------- +Sets a pcurve for the edge on the face. If is a null handle, remove any existing pcurve. ") UpdateEdge; void UpdateEdge(const TopoDS_Edge & E, const opencascade::handle & C, const TopoDS_Face & F, const Standard_Real Tol); - /****************** UpdateEdge ******************/ - /**** md5 signature: 7d528612c919b79d92fd249803e88c61 ****/ + /****** BRep_Builder::UpdateEdge ******/ + /****** md5 signature: 7d528612c919b79d92fd249803e88c61 ******/ %feature("compactdefaultargs") UpdateEdge; - %feature("autodoc", "Sets pcurves for the edge on the closed face. if or is a null handle, remove any existing pcurve. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge @@ -592,17 +704,20 @@ C2: Geom2d_Curve F: TopoDS_Face Tol: float -Returns +Return ------- None + +Description +----------- +Sets pcurves for the edge on the closed face. If or is a null handle, remove any existing pcurve. ") UpdateEdge; void UpdateEdge(const TopoDS_Edge & E, const opencascade::handle & C1, const opencascade::handle & C2, const TopoDS_Face & F, const Standard_Real Tol); - /****************** UpdateEdge ******************/ - /**** md5 signature: 6cb83f897044ec0b34ebd0ae7baacd44 ****/ + /****** BRep_Builder::UpdateEdge ******/ + /****** md5 signature: 6cb83f897044ec0b34ebd0ae7baacd44 ******/ %feature("compactdefaultargs") UpdateEdge; - %feature("autodoc", "Sets a pcurve for the edge on the face. if is a null handle, remove any existing pcurve. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge @@ -611,17 +726,20 @@ S: Geom_Surface L: TopLoc_Location Tol: float -Returns +Return ------- None + +Description +----------- +Sets a pcurve for the edge on the face. If is a null handle, remove any existing pcurve. ") UpdateEdge; void UpdateEdge(const TopoDS_Edge & E, const opencascade::handle & C, const opencascade::handle & S, const TopLoc_Location & L, const Standard_Real Tol); - /****************** UpdateEdge ******************/ - /**** md5 signature: c3858584a511426e079bc628910ddb2e ****/ + /****** BRep_Builder::UpdateEdge ******/ + /****** md5 signature: c3858584a511426e079bc628910ddb2e ******/ %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. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge @@ -632,17 +750,20 @@ Tol: float Pf: gp_Pnt2d Pl: gp_Pnt2d -Returns +Return ------- None + +Description +----------- +Sets a pcurve for the edge on the face. If is a null handle, remove any existing pcurve. Sets UV bounds for curve repsentation. ") 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 ******************/ - /**** md5 signature: 414706636faf49609b66c5859100856d ****/ + /****** BRep_Builder::UpdateEdge ******/ + /****** md5 signature: 414706636faf49609b66c5859100856d ******/ %feature("compactdefaultargs") UpdateEdge; - %feature("autodoc", "Sets pcurves for the edge on the closed surface. or is a null handle, remove any existing pcurve. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge @@ -652,17 +773,20 @@ S: Geom_Surface L: TopLoc_Location Tol: float -Returns +Return ------- None + +Description +----------- +Sets pcurves for the edge on the closed surface. or is a null handle, remove any existing pcurve. ") 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 ******************/ - /**** md5 signature: ecbe3e2c2db95e8527d500b1933fc18a ****/ + /****** BRep_Builder::UpdateEdge ******/ + /****** md5 signature: ecbe3e2c2db95e8527d500b1933fc18a ******/ %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. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge @@ -674,67 +798,79 @@ Tol: float Pf: gp_Pnt2d Pl: gp_Pnt2d -Returns +Return ------- None + +Description +----------- +Sets pcurves for the edge on the closed surface. or is a null handle, remove any existing pcurve. Sets UV bounds for curve repsentation. ") 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 ******************/ - /**** md5 signature: 0fafa05abb68b0aedaead3c83b8ef0fe ****/ + /****** BRep_Builder::UpdateEdge ******/ + /****** md5 signature: 0fafa05abb68b0aedaead3c83b8ef0fe ******/ %feature("compactdefaultargs") UpdateEdge; - %feature("autodoc", "Changes an edge 3d polygon. a null polygon removes the 3d polygon. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge P: Poly_Polygon3D -Returns +Return ------- None + +Description +----------- +Changes an Edge 3D polygon. A null Polygon removes the 3d Polygon. ") UpdateEdge; void UpdateEdge(const TopoDS_Edge & E, const opencascade::handle & P); - /****************** UpdateEdge ******************/ - /**** md5 signature: 18cdfe39bc36e28a79112a208855f95e ****/ + /****** BRep_Builder::UpdateEdge ******/ + /****** md5 signature: 18cdfe39bc36e28a79112a208855f95e ******/ %feature("compactdefaultargs") UpdateEdge; - %feature("autodoc", "Changes an edge 3d polygon. a null polygon removes the 3d polygon. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge P: Poly_Polygon3D L: TopLoc_Location -Returns +Return ------- None + +Description +----------- +Changes an Edge 3D polygon. A null Polygon removes the 3d Polygon. ") UpdateEdge; void UpdateEdge(const TopoDS_Edge & E, const opencascade::handle & P, const TopLoc_Location & L); - /****************** UpdateEdge ******************/ - /**** md5 signature: d270f40afd5ef59a6c3fdca0b12bf491 ****/ + /****** BRep_Builder::UpdateEdge ******/ + /****** md5 signature: d270f40afd5ef59a6c3fdca0b12bf491 ******/ %feature("compactdefaultargs") UpdateEdge; - %feature("autodoc", "Changes an edge polygon on triangulation. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge N: Poly_PolygonOnTriangulation T: Poly_Triangulation -Returns +Return ------- None + +Description +----------- +Changes an Edge polygon on Triangulation. ") UpdateEdge; void UpdateEdge(const TopoDS_Edge & E, const opencascade::handle & N, const opencascade::handle & T); - /****************** UpdateEdge ******************/ - /**** md5 signature: 33c1fd32e831b203fa0d899281a253af ****/ + /****** BRep_Builder::UpdateEdge ******/ + /****** md5 signature: 33c1fd32e831b203fa0d899281a253af ******/ %feature("compactdefaultargs") UpdateEdge; - %feature("autodoc", "Changes an edge polygon on triangulation. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge @@ -742,17 +878,20 @@ N: Poly_PolygonOnTriangulation T: Poly_Triangulation L: TopLoc_Location -Returns +Return ------- None + +Description +----------- +Changes an Edge polygon on Triangulation. ") UpdateEdge; void UpdateEdge(const TopoDS_Edge & E, const opencascade::handle & N, const opencascade::handle & T, const TopLoc_Location & L); - /****************** UpdateEdge ******************/ - /**** md5 signature: 164a2998d0b4e92982ecc230cd19f259 ****/ + /****** BRep_Builder::UpdateEdge ******/ + /****** md5 signature: 164a2998d0b4e92982ecc230cd19f259 ******/ %feature("compactdefaultargs") UpdateEdge; - %feature("autodoc", "Changes an edge polygon on triangulation. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge @@ -760,17 +899,20 @@ N1: Poly_PolygonOnTriangulation N2: Poly_PolygonOnTriangulation T: Poly_Triangulation -Returns +Return ------- None + +Description +----------- +Changes an Edge polygon on Triangulation. ") UpdateEdge; void UpdateEdge(const TopoDS_Edge & E, const opencascade::handle & N1, const opencascade::handle & N2, const opencascade::handle & T); - /****************** UpdateEdge ******************/ - /**** md5 signature: c4fc0bba87beaabc83a7a01212438010 ****/ + /****** BRep_Builder::UpdateEdge ******/ + /****** md5 signature: c4fc0bba87beaabc83a7a01212438010 ******/ %feature("compactdefaultargs") UpdateEdge; - %feature("autodoc", "Changes an edge polygon on triangulation. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge @@ -779,34 +921,40 @@ N2: Poly_PolygonOnTriangulation T: Poly_Triangulation L: TopLoc_Location -Returns +Return ------- None + +Description +----------- +Changes an Edge polygon on Triangulation. ") UpdateEdge; void UpdateEdge(const TopoDS_Edge & E, const opencascade::handle & N1, const opencascade::handle & N2, const opencascade::handle & T, const TopLoc_Location & L); - /****************** UpdateEdge ******************/ - /**** md5 signature: c23ab2e3d4ab82a884c4a4e5e435a01c ****/ + /****** BRep_Builder::UpdateEdge ******/ + /****** md5 signature: c23ab2e3d4ab82a884c4a4e5e435a01c ******/ %feature("compactdefaultargs") UpdateEdge; - %feature("autodoc", "Changes edge polygon on a face. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge P: Poly_Polygon2D S: TopoDS_Face -Returns +Return ------- None + +Description +----------- +Changes Edge polygon on a face. ") UpdateEdge; void UpdateEdge(const TopoDS_Edge & E, const opencascade::handle & P, const TopoDS_Face & S); - /****************** UpdateEdge ******************/ - /**** md5 signature: 07b9e715d7ba688ac49e475242e13358 ****/ + /****** BRep_Builder::UpdateEdge ******/ + /****** md5 signature: 07b9e715d7ba688ac49e475242e13358 ******/ %feature("compactdefaultargs") UpdateEdge; - %feature("autodoc", "Changes edge polygon on a face. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge @@ -814,17 +962,20 @@ P: Poly_Polygon2D S: Geom_Surface T: TopLoc_Location -Returns +Return ------- None + +Description +----------- +Changes Edge polygon on a face. ") UpdateEdge; void UpdateEdge(const TopoDS_Edge & E, const opencascade::handle & P, const opencascade::handle & S, const TopLoc_Location & T); - /****************** UpdateEdge ******************/ - /**** md5 signature: 29e9574f15e8cd550ab1232427457506 ****/ + /****** BRep_Builder::UpdateEdge ******/ + /****** md5 signature: 29e9574f15e8cd550ab1232427457506 ******/ %feature("compactdefaultargs") UpdateEdge; - %feature("autodoc", "Changes edge polygons on a face. //! a null polygon removes the 2d polygon. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge @@ -832,17 +983,20 @@ P1: Poly_Polygon2D P2: Poly_Polygon2D S: TopoDS_Face -Returns +Return ------- None + +Description +----------- +Changes Edge polygons on a face. //! A null Polygon removes the 2d Polygon. ") UpdateEdge; void UpdateEdge(const TopoDS_Edge & E, const opencascade::handle & P1, const opencascade::handle & P2, const TopoDS_Face & S); - /****************** UpdateEdge ******************/ - /**** md5 signature: 7cfe9fc63da93eb8832d2459ca6eadde ****/ + /****** BRep_Builder::UpdateEdge ******/ + /****** md5 signature: 7cfe9fc63da93eb8832d2459ca6eadde ******/ %feature("compactdefaultargs") UpdateEdge; - %feature("autodoc", "Changes edge polygons on a face. //! a null polygon removes the 2d polygon. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge @@ -851,33 +1005,39 @@ P2: Poly_Polygon2D S: Geom_Surface L: TopLoc_Location -Returns +Return ------- None + +Description +----------- +Changes Edge polygons on a face. //! A null Polygon removes the 2d Polygon. ") UpdateEdge; void UpdateEdge(const TopoDS_Edge & E, const opencascade::handle & P1, const opencascade::handle & P2, const opencascade::handle & S, const TopLoc_Location & L); - /****************** UpdateEdge ******************/ - /**** md5 signature: 4ddfe00e32907cf6333c0e22b0b43935 ****/ + /****** BRep_Builder::UpdateEdge ******/ + /****** md5 signature: 4ddfe00e32907cf6333c0e22b0b43935 ******/ %feature("compactdefaultargs") UpdateEdge; - %feature("autodoc", "Updates the edge tolerance. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge Tol: float -Returns +Return ------- None + +Description +----------- +Updates the edge tolerance. ") UpdateEdge; void UpdateEdge(const TopoDS_Edge & E, const Standard_Real Tol); - /****************** UpdateFace ******************/ - /**** md5 signature: 6fe40548ebb7a146acb2655ee1db5cd8 ****/ + /****** BRep_Builder::UpdateFace ******/ + /****** md5 signature: 6fe40548ebb7a146acb2655ee1db5cd8 ******/ %feature("compactdefaultargs") UpdateFace; - %feature("autodoc", "Updates the face f using the tolerance value tol, surface s and location location. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face @@ -885,66 +1045,79 @@ S: Geom_Surface L: TopLoc_Location Tol: float -Returns +Return ------- None + +Description +----------- +Updates the face F using the tolerance value Tol, surface S and location Location. ") UpdateFace; void UpdateFace(const TopoDS_Face & F, const opencascade::handle & S, const TopLoc_Location & L, const Standard_Real Tol); - /****************** UpdateFace ******************/ - /**** md5 signature: bd0733c6677a8df3f4a16beca4f9c3da ****/ + /****** BRep_Builder::UpdateFace ******/ + /****** md5 signature: 46068466603e30f2f620c3de44d08407 ******/ %feature("compactdefaultargs") UpdateFace; - %feature("autodoc", "Changes a face triangulation. //! a null triangulation removes the triangulation. - + %feature("autodoc", " Parameters ---------- -F: TopoDS_Face -T: Poly_Triangulation +theFace: TopoDS_Face +theTriangulation: Poly_Triangulation +theToReset: bool (optional, default to true) -Returns +Return ------- None + +Description +----------- +Changes a face triangulation. A NULL theTriangulation removes face triangulations. If theToReset is True face triangulations will be reset to new list with only one input triangulation that will be active. Else if theTriangulation is contained in internal triangulations list it will be made active, else the active triangulation will be replaced to theTriangulation one. ") UpdateFace; - void UpdateFace(const TopoDS_Face & F, const opencascade::handle & T); + void UpdateFace(const TopoDS_Face & theFace, const opencascade::handle & theTriangulation, const Standard_Boolean theToReset = true); - /****************** UpdateFace ******************/ - /**** md5 signature: cfff4752b2b664eb9ba94b81dbc0aea1 ****/ + /****** BRep_Builder::UpdateFace ******/ + /****** md5 signature: cfff4752b2b664eb9ba94b81dbc0aea1 ******/ %feature("compactdefaultargs") UpdateFace; - %feature("autodoc", "Updates the face tolerance. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face Tol: float -Returns +Return ------- None + +Description +----------- +Updates the face Tolerance. ") UpdateFace; void UpdateFace(const TopoDS_Face & F, const Standard_Real Tol); - /****************** UpdateVertex ******************/ - /**** md5 signature: 6ed16c5d2b630479bdda164fcceffbab ****/ + /****** BRep_Builder::UpdateVertex ******/ + /****** md5 signature: 6ed16c5d2b630479bdda164fcceffbab ******/ %feature("compactdefaultargs") UpdateVertex; - %feature("autodoc", "Sets a 3d point on the vertex. - + %feature("autodoc", " Parameters ---------- V: TopoDS_Vertex P: gp_Pnt Tol: float -Returns +Return ------- None + +Description +----------- +Sets a 3D point on the vertex. ") UpdateVertex; void UpdateVertex(const TopoDS_Vertex & V, const gp_Pnt & P, const Standard_Real Tol); - /****************** UpdateVertex ******************/ - /**** md5 signature: b52feaaa4502df1d7f3cae6d3e9d7801 ****/ + /****** BRep_Builder::UpdateVertex ******/ + /****** md5 signature: b52feaaa4502df1d7f3cae6d3e9d7801 ******/ %feature("compactdefaultargs") UpdateVertex; - %feature("autodoc", "Sets the parameter for the vertex on the edge curves. - + %feature("autodoc", " Parameters ---------- V: TopoDS_Vertex @@ -952,17 +1125,20 @@ P: float E: TopoDS_Edge Tol: float -Returns +Return ------- None + +Description +----------- +Sets the parameter for the vertex on the edge curves. ") UpdateVertex; void UpdateVertex(const TopoDS_Vertex & V, const Standard_Real P, const TopoDS_Edge & E, const Standard_Real Tol); - /****************** UpdateVertex ******************/ - /**** md5 signature: 5ad0bcf5af45a22a108943f1afb114c0 ****/ + /****** BRep_Builder::UpdateVertex ******/ + /****** md5 signature: 5ad0bcf5af45a22a108943f1afb114c0 ******/ %feature("compactdefaultargs") UpdateVertex; - %feature("autodoc", "Sets the parameter for the vertex on the edge pcurve on the face. - + %feature("autodoc", " Parameters ---------- V: TopoDS_Vertex @@ -971,17 +1147,20 @@ E: TopoDS_Edge F: TopoDS_Face Tol: float -Returns +Return ------- None + +Description +----------- +Sets the parameter for the vertex on the edge pcurve on the face. ") UpdateVertex; void UpdateVertex(const TopoDS_Vertex & V, const Standard_Real P, const TopoDS_Edge & E, const TopoDS_Face & F, const Standard_Real Tol); - /****************** UpdateVertex ******************/ - /**** md5 signature: 47f9ee35ce872e21e298db1be568b800 ****/ + /****** BRep_Builder::UpdateVertex ******/ + /****** md5 signature: 47f9ee35ce872e21e298db1be568b800 ******/ %feature("compactdefaultargs") UpdateVertex; - %feature("autodoc", "Sets the parameter for the vertex on the edge pcurve on the surface. - + %feature("autodoc", " Parameters ---------- V: TopoDS_Vertex @@ -991,17 +1170,20 @@ S: Geom_Surface L: TopLoc_Location Tol: float -Returns +Return ------- None + +Description +----------- +Sets the parameter for the vertex on the edge pcurve on the surface. ") 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 ******************/ - /**** md5 signature: a4b2ad0dca279b29c6bdaf4e40d9c7ab ****/ + /****** BRep_Builder::UpdateVertex ******/ + /****** md5 signature: a4b2ad0dca279b29c6bdaf4e40d9c7ab ******/ %feature("compactdefaultargs") UpdateVertex; - %feature("autodoc", "Sets the parameters for the vertex on the face. - + %feature("autodoc", " Parameters ---------- Ve: TopoDS_Vertex @@ -1010,25 +1192,32 @@ V: float F: TopoDS_Face Tol: float -Returns +Return ------- None + +Description +----------- +Sets the parameters for the vertex on the face. ") UpdateVertex; void UpdateVertex(const TopoDS_Vertex & Ve, const Standard_Real U, const Standard_Real V, const TopoDS_Face & F, const Standard_Real Tol); - /****************** UpdateVertex ******************/ - /**** md5 signature: cb6a93aeb2b020c8e41bd38b5d870c6d ****/ + /****** BRep_Builder::UpdateVertex ******/ + /****** md5 signature: cb6a93aeb2b020c8e41bd38b5d870c6d ******/ %feature("compactdefaultargs") UpdateVertex; - %feature("autodoc", "Updates the vertex tolerance. - + %feature("autodoc", " Parameters ---------- V: TopoDS_Vertex Tol: float -Returns +Return ------- None + +Description +----------- +Updates the vertex tolerance. ") UpdateVertex; void UpdateVertex(const TopoDS_Vertex & V, const Standard_Real Tol); @@ -1047,229 +1236,280 @@ None %nodefaultctor BRep_CurveRepresentation; class BRep_CurveRepresentation : public Standard_Transient { public: - /****************** Continuity ******************/ - /**** md5 signature: 1ba066d280ca3c071eb1064dd6b783fc ****/ + /****** BRep_CurveRepresentation::Continuity ******/ + /****** md5 signature: 1ba066d280ca3c071eb1064dd6b783fc ******/ %feature("compactdefaultargs") Continuity; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- GeomAbs_Shape + +Description +----------- +No available documentation. ") Continuity; - virtual const GeomAbs_Shape & Continuity(); + virtual const GeomAbs_Shape Continuity(); - /****************** Continuity ******************/ - /**** md5 signature: 78d8ca8e106bd2f55e42d4dc5945fc32 ****/ + /****** BRep_CurveRepresentation::Continuity ******/ + /****** md5 signature: 78d8ca8e106bd2f55e42d4dc5945fc32 ******/ %feature("compactdefaultargs") Continuity; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: GeomAbs_Shape -Returns +Return ------- None + +Description +----------- +No available documentation. ") Continuity; virtual void Continuity(const GeomAbs_Shape C); - /****************** Copy ******************/ - /**** md5 signature: 2b4cb601b45011a74ab9e5426b2deaa9 ****/ + /****** BRep_CurveRepresentation::Copy ******/ + /****** md5 signature: 2b4cb601b45011a74ab9e5426b2deaa9 ******/ %feature("compactdefaultargs") Copy; - %feature("autodoc", "Return a copy of this representation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Return a copy of this representation. ") Copy; virtual opencascade::handle Copy(); - /****************** Curve3D ******************/ - /**** md5 signature: d279ed7bfc4c5a1c9d25cce3ea782276 ****/ + /****** BRep_CurveRepresentation::Curve3D ******/ + /****** md5 signature: d279ed7bfc4c5a1c9d25cce3ea782276 ******/ %feature("compactdefaultargs") Curve3D; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Curve3D; virtual const opencascade::handle & Curve3D(); - /****************** Curve3D ******************/ - /**** md5 signature: d87953b26144d002be0a7e64301c0a6a ****/ + /****** BRep_CurveRepresentation::Curve3D ******/ + /****** md5 signature: d87953b26144d002be0a7e64301c0a6a ******/ %feature("compactdefaultargs") Curve3D; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom_Curve -Returns +Return ------- None + +Description +----------- +No available documentation. ") Curve3D; virtual void Curve3D(const opencascade::handle & C); - %feature("autodoc", "1"); - %extend{ - std::string DumpJsonToString(int depth=-1) { - std::stringstream s; - self->DumpJson(s, depth); - return s.str();} - }; - /****************** IsCurve3D ******************/ - /**** md5 signature: 3eb9a6a272d02b06294d6182a9677766 ****/ - %feature("compactdefaultargs") IsCurve3D; - %feature("autodoc", "A 3d curve representation. + /****************** DumpJson ******************/ + %feature("autodoc", " +Parameters +---------- +depth: int, default=-1 -Returns +Return +------- +str + +Description +----------- +Dump the object to JSON string. +") DumpJson; + %extend{ + std::string DumpJson(int depth=-1) { + std::stringstream s; + self->DumpJson(s, depth); + return "{" + s.str() + "}" ;} + }; + /****** BRep_CurveRepresentation::IsCurve3D ******/ + /****** md5 signature: 3eb9a6a272d02b06294d6182a9677766 ******/ + %feature("compactdefaultargs") IsCurve3D; + %feature("autodoc", "Return ------- bool + +Description +----------- +A 3D curve representation. ") IsCurve3D; virtual Standard_Boolean IsCurve3D(); - /****************** IsCurveOnClosedSurface ******************/ - /**** md5 signature: 72c88b632fff4ad75d6d297a2a2f7f9b ****/ + /****** BRep_CurveRepresentation::IsCurveOnClosedSurface ******/ + /****** md5 signature: 72c88b632fff4ad75d6d297a2a2f7f9b ******/ %feature("compactdefaultargs") IsCurveOnClosedSurface; - %feature("autodoc", "A curve with two parametric curves on the same surface. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +A curve with two parametric curves on the same surface. ") IsCurveOnClosedSurface; virtual Standard_Boolean IsCurveOnClosedSurface(); - /****************** IsCurveOnSurface ******************/ - /**** md5 signature: 99c67b3aceff7d9bd0bedc4586bbdb9c ****/ + /****** BRep_CurveRepresentation::IsCurveOnSurface ******/ + /****** md5 signature: 99c67b3aceff7d9bd0bedc4586bbdb9c ******/ %feature("compactdefaultargs") IsCurveOnSurface; - %feature("autodoc", "A curve in the parametric space of a surface. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +A curve in the parametric space of a surface. ") IsCurveOnSurface; virtual Standard_Boolean IsCurveOnSurface(); - /****************** IsCurveOnSurface ******************/ - /**** md5 signature: c2f5aa58d459c2124c584d9822dbcfa8 ****/ + /****** BRep_CurveRepresentation::IsCurveOnSurface ******/ + /****** md5 signature: c2f5aa58d459c2124c584d9822dbcfa8 ******/ %feature("compactdefaultargs") IsCurveOnSurface; - %feature("autodoc", "Is it a curve in the parametric space of with location . - + %feature("autodoc", " Parameters ---------- S: Geom_Surface L: TopLoc_Location -Returns +Return ------- bool + +Description +----------- +Is it a curve in the parametric space of with location . ") IsCurveOnSurface; virtual Standard_Boolean IsCurveOnSurface(const opencascade::handle & S, const TopLoc_Location & L); - /****************** IsPolygon3D ******************/ - /**** md5 signature: c82064ea4b47db0a2fc9f12440050f5f ****/ + /****** BRep_CurveRepresentation::IsPolygon3D ******/ + /****** md5 signature: c82064ea4b47db0a2fc9f12440050f5f ******/ %feature("compactdefaultargs") IsPolygon3D; - %feature("autodoc", "A 3d polygon representation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +A 3D polygon representation. ") IsPolygon3D; virtual Standard_Boolean IsPolygon3D(); - /****************** IsPolygonOnClosedSurface ******************/ - /**** md5 signature: 08d24e672be6cac52e1cb77c8b36c07a ****/ + /****** BRep_CurveRepresentation::IsPolygonOnClosedSurface ******/ + /****** md5 signature: 08d24e672be6cac52e1cb77c8b36c07a ******/ %feature("compactdefaultargs") IsPolygonOnClosedSurface; - %feature("autodoc", "Two 2d polygon representations in the parametric space of a surface. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Two 2D polygon representations in the parametric space of a surface. ") IsPolygonOnClosedSurface; virtual Standard_Boolean IsPolygonOnClosedSurface(); - /****************** IsPolygonOnClosedTriangulation ******************/ - /**** md5 signature: b2c0e94e579bb49cddc711ef17a8417e ****/ + /****** BRep_CurveRepresentation::IsPolygonOnClosedTriangulation ******/ + /****** md5 signature: b2c0e94e579bb49cddc711ef17a8417e ******/ %feature("compactdefaultargs") IsPolygonOnClosedTriangulation; - %feature("autodoc", "A representation by two arrays of nodes on a triangulation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +A representation by two arrays of nodes on a triangulation. ") IsPolygonOnClosedTriangulation; virtual Standard_Boolean IsPolygonOnClosedTriangulation(); - /****************** IsPolygonOnSurface ******************/ - /**** md5 signature: 9e125f1682674ed70fec0c3b43b556e2 ****/ + /****** BRep_CurveRepresentation::IsPolygonOnSurface ******/ + /****** md5 signature: 9e125f1682674ed70fec0c3b43b556e2 ******/ %feature("compactdefaultargs") IsPolygonOnSurface; - %feature("autodoc", "A polygon in the parametric space of a surface. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +A polygon in the parametric space of a surface. ") IsPolygonOnSurface; virtual Standard_Boolean IsPolygonOnSurface(); - /****************** IsPolygonOnSurface ******************/ - /**** md5 signature: 1c1f7b90498b125990ff9382d42d93c7 ****/ + /****** BRep_CurveRepresentation::IsPolygonOnSurface ******/ + /****** md5 signature: 1c1f7b90498b125990ff9382d42d93c7 ******/ %feature("compactdefaultargs") IsPolygonOnSurface; - %feature("autodoc", "Is it a polygon in the parametric space of with location . - + %feature("autodoc", " Parameters ---------- S: Geom_Surface L: TopLoc_Location -Returns +Return ------- bool + +Description +----------- +Is it a polygon in the parametric space of with location . ") IsPolygonOnSurface; virtual Standard_Boolean IsPolygonOnSurface(const opencascade::handle & S, const TopLoc_Location & L); - /****************** IsPolygonOnTriangulation ******************/ - /**** md5 signature: f046a82ed644d4b2694291b4a32158de ****/ + /****** BRep_CurveRepresentation::IsPolygonOnTriangulation ******/ + /****** md5 signature: f046a82ed644d4b2694291b4a32158de ******/ %feature("compactdefaultargs") IsPolygonOnTriangulation; - %feature("autodoc", "A representation by an array of nodes on a triangulation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +A representation by an array of nodes on a triangulation. ") IsPolygonOnTriangulation; virtual Standard_Boolean IsPolygonOnTriangulation(); - /****************** IsPolygonOnTriangulation ******************/ - /**** md5 signature: 97eed3382962bceb72e11a7487b53ae0 ****/ + /****** BRep_CurveRepresentation::IsPolygonOnTriangulation ******/ + /****** md5 signature: 97eed3382962bceb72e11a7487b53ae0 ******/ %feature("compactdefaultargs") IsPolygonOnTriangulation; - %feature("autodoc", "Is it a polygon in the definition of with location . - + %feature("autodoc", " Parameters ---------- T: Poly_Triangulation L: TopLoc_Location -Returns +Return ------- bool + +Description +----------- +Is it a polygon in the definition of with location . ") IsPolygonOnTriangulation; virtual Standard_Boolean IsPolygonOnTriangulation(const opencascade::handle & T, const TopLoc_Location & L); - /****************** IsRegularity ******************/ - /**** md5 signature: b3ade1c3f35fca3622ae410d91171b9b ****/ + /****** BRep_CurveRepresentation::IsRegularity ******/ + /****** md5 signature: b3ade1c3f35fca3622ae410d91171b9b ******/ %feature("compactdefaultargs") IsRegularity; - %feature("autodoc", "A continuity between two surfaces. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +A continuity between two surfaces. ") IsRegularity; virtual Standard_Boolean IsRegularity(); - /****************** IsRegularity ******************/ - /**** md5 signature: 76619362955f541a58be5b044aa8bfcd ****/ + /****** BRep_CurveRepresentation::IsRegularity ******/ + /****** md5 signature: 76619362955f541a58be5b044aa8bfcd ******/ %feature("compactdefaultargs") IsRegularity; - %feature("autodoc", "Is it a regularity between and with location and . - + %feature("autodoc", " Parameters ---------- S1: Geom_Surface @@ -1277,261 +1517,313 @@ S2: Geom_Surface L1: TopLoc_Location L2: TopLoc_Location -Returns +Return ------- bool + +Description +----------- +Is it a regularity between and with location and . ") IsRegularity; virtual Standard_Boolean IsRegularity(const opencascade::handle & S1, const opencascade::handle & S2, const TopLoc_Location & L1, const TopLoc_Location & L2); - /****************** Location ******************/ - /**** md5 signature: 1006fdd3bdd7eb59ebf6a6359a702a4f ****/ + /****** BRep_CurveRepresentation::Location ******/ + /****** md5 signature: 1006fdd3bdd7eb59ebf6a6359a702a4f ******/ %feature("compactdefaultargs") Location; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopLoc_Location + +Description +----------- +No available documentation. ") Location; const TopLoc_Location & Location(); - /****************** Location ******************/ - /**** md5 signature: a2c9495044664128886ca4ae6644e853 ****/ + /****** BRep_CurveRepresentation::Location ******/ + /****** md5 signature: a2c9495044664128886ca4ae6644e853 ******/ %feature("compactdefaultargs") Location; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: TopLoc_Location -Returns +Return ------- None + +Description +----------- +No available documentation. ") Location; void Location(const TopLoc_Location & L); - /****************** Location2 ******************/ - /**** md5 signature: a1ad6449a6ecb57b13b1f729a62f966c ****/ + /****** BRep_CurveRepresentation::Location2 ******/ + /****** md5 signature: a1ad6449a6ecb57b13b1f729a62f966c ******/ %feature("compactdefaultargs") Location2; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopLoc_Location + +Description +----------- +No available documentation. ") Location2; virtual const TopLoc_Location & Location2(); - /****************** PCurve ******************/ - /**** md5 signature: 43048aaabc4361e78597bb73f5eacb84 ****/ + /****** BRep_CurveRepresentation::PCurve ******/ + /****** md5 signature: 43048aaabc4361e78597bb73f5eacb84 ******/ %feature("compactdefaultargs") PCurve; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") PCurve; virtual const opencascade::handle & PCurve(); - /****************** PCurve ******************/ - /**** md5 signature: 4167f86bc8643b2c1f384c75757d828a ****/ + /****** BRep_CurveRepresentation::PCurve ******/ + /****** md5 signature: 4167f86bc8643b2c1f384c75757d828a ******/ %feature("compactdefaultargs") PCurve; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom2d_Curve -Returns +Return ------- None + +Description +----------- +No available documentation. ") PCurve; virtual void PCurve(const opencascade::handle & C); - /****************** PCurve2 ******************/ - /**** md5 signature: 1ec87e5e62d4cf52996d939d5f6c998c ****/ + /****** BRep_CurveRepresentation::PCurve2 ******/ + /****** md5 signature: 1ec87e5e62d4cf52996d939d5f6c998c ******/ %feature("compactdefaultargs") PCurve2; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") PCurve2; virtual const opencascade::handle & PCurve2(); - /****************** PCurve2 ******************/ - /**** md5 signature: d62e9c14e6c8bb4586bc7d40c0050500 ****/ + /****** BRep_CurveRepresentation::PCurve2 ******/ + /****** md5 signature: d62e9c14e6c8bb4586bc7d40c0050500 ******/ %feature("compactdefaultargs") PCurve2; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom2d_Curve -Returns +Return ------- None + +Description +----------- +No available documentation. ") PCurve2; virtual void PCurve2(const opencascade::handle & C); - /****************** Polygon ******************/ - /**** md5 signature: 7c83b4d9dd60de23db90d02f4823b0b7 ****/ + /****** BRep_CurveRepresentation::Polygon ******/ + /****** md5 signature: 7c83b4d9dd60de23db90d02f4823b0b7 ******/ %feature("compactdefaultargs") Polygon; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Polygon; virtual const opencascade::handle & Polygon(); - /****************** Polygon ******************/ - /**** md5 signature: 5a10418dc1d6401316bf3351b1ece99b ****/ + /****** BRep_CurveRepresentation::Polygon ******/ + /****** md5 signature: 5a10418dc1d6401316bf3351b1ece99b ******/ %feature("compactdefaultargs") Polygon; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P: Poly_Polygon2D -Returns +Return ------- None + +Description +----------- +No available documentation. ") Polygon; virtual void Polygon(const opencascade::handle & P); - /****************** Polygon2 ******************/ - /**** md5 signature: 7e67f4343ce0293f3c0d87fba7d3ad77 ****/ + /****** BRep_CurveRepresentation::Polygon2 ******/ + /****** md5 signature: 7e67f4343ce0293f3c0d87fba7d3ad77 ******/ %feature("compactdefaultargs") Polygon2; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Polygon2; virtual const opencascade::handle & Polygon2(); - /****************** Polygon2 ******************/ - /**** md5 signature: 94e0a95d8b52abc29812d43e1fdcb012 ****/ + /****** BRep_CurveRepresentation::Polygon2 ******/ + /****** md5 signature: 94e0a95d8b52abc29812d43e1fdcb012 ******/ %feature("compactdefaultargs") Polygon2; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P: Poly_Polygon2D -Returns +Return ------- None + +Description +----------- +No available documentation. ") Polygon2; virtual void Polygon2(const opencascade::handle & P); - /****************** Polygon3D ******************/ - /**** md5 signature: c03b6e6dd649921e41357d84e4afa929 ****/ + /****** BRep_CurveRepresentation::Polygon3D ******/ + /****** md5 signature: c03b6e6dd649921e41357d84e4afa929 ******/ %feature("compactdefaultargs") Polygon3D; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Polygon3D; virtual const opencascade::handle & Polygon3D(); - /****************** Polygon3D ******************/ - /**** md5 signature: d69b9ed42bdfdbbfea3e22f152a9af2f ****/ + /****** BRep_CurveRepresentation::Polygon3D ******/ + /****** md5 signature: d69b9ed42bdfdbbfea3e22f152a9af2f ******/ %feature("compactdefaultargs") Polygon3D; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P: Poly_Polygon3D -Returns +Return ------- None + +Description +----------- +No available documentation. ") Polygon3D; virtual void Polygon3D(const opencascade::handle & P); - /****************** PolygonOnTriangulation ******************/ - /**** md5 signature: 3513ff8f648f9dff9767d9bb2ff49a30 ****/ + /****** BRep_CurveRepresentation::PolygonOnTriangulation ******/ + /****** md5 signature: 3513ff8f648f9dff9767d9bb2ff49a30 ******/ %feature("compactdefaultargs") PolygonOnTriangulation; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") PolygonOnTriangulation; virtual const opencascade::handle & PolygonOnTriangulation(); - /****************** PolygonOnTriangulation ******************/ - /**** md5 signature: 50379d303554a02ec54f999e1d2c6e8c ****/ + /****** BRep_CurveRepresentation::PolygonOnTriangulation ******/ + /****** md5 signature: 50379d303554a02ec54f999e1d2c6e8c ******/ %feature("compactdefaultargs") PolygonOnTriangulation; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P: Poly_PolygonOnTriangulation -Returns +Return ------- None + +Description +----------- +No available documentation. ") PolygonOnTriangulation; virtual void PolygonOnTriangulation(const opencascade::handle & P); - /****************** PolygonOnTriangulation2 ******************/ - /**** md5 signature: bacac44468a1a9ac9b9bc4e0db96fc56 ****/ + /****** BRep_CurveRepresentation::PolygonOnTriangulation2 ******/ + /****** md5 signature: bacac44468a1a9ac9b9bc4e0db96fc56 ******/ %feature("compactdefaultargs") PolygonOnTriangulation2; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") PolygonOnTriangulation2; virtual const opencascade::handle & PolygonOnTriangulation2(); - /****************** PolygonOnTriangulation2 ******************/ - /**** md5 signature: ba9816f8223ae3766e6abe18498c8f50 ****/ + /****** BRep_CurveRepresentation::PolygonOnTriangulation2 ******/ + /****** md5 signature: ba9816f8223ae3766e6abe18498c8f50 ******/ %feature("compactdefaultargs") PolygonOnTriangulation2; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P2: Poly_PolygonOnTriangulation -Returns +Return ------- None + +Description +----------- +No available documentation. ") PolygonOnTriangulation2; virtual void PolygonOnTriangulation2(const opencascade::handle & P2); - /****************** Surface ******************/ - /**** md5 signature: caeaacb2504e4ba5658f6438ad005605 ****/ + /****** BRep_CurveRepresentation::Surface ******/ + /****** md5 signature: caeaacb2504e4ba5658f6438ad005605 ******/ %feature("compactdefaultargs") Surface; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Surface; virtual const opencascade::handle & Surface(); - /****************** Surface2 ******************/ - /**** md5 signature: 469feb6c8dcb44ee50dfdedab0d8c3b9 ****/ + /****** BRep_CurveRepresentation::Surface2 ******/ + /****** md5 signature: 469feb6c8dcb44ee50dfdedab0d8c3b9 ******/ %feature("compactdefaultargs") Surface2; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Surface2; virtual const opencascade::handle & Surface2(); - /****************** Triangulation ******************/ - /**** md5 signature: 9c932a243ba3dce74eece1156590ffa4 ****/ + /****** BRep_CurveRepresentation::Triangulation ******/ + /****** md5 signature: 9c932a243ba3dce74eece1156590ffa4 ******/ %feature("compactdefaultargs") Triangulation; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Triangulation; virtual const opencascade::handle & Triangulation(); @@ -1552,249 +1844,307 @@ opencascade::handle %nodefaultctor BRep_PointRepresentation; class BRep_PointRepresentation : public Standard_Transient { public: - /****************** Curve ******************/ - /**** md5 signature: 0b527860f975af99bae0f38157e0b434 ****/ + /****** BRep_PointRepresentation::Curve ******/ + /****** md5 signature: 0b527860f975af99bae0f38157e0b434 ******/ %feature("compactdefaultargs") Curve; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Curve; virtual const opencascade::handle & Curve(); - /****************** Curve ******************/ - /**** md5 signature: e7a526b0c2503e9af23a4b0971e6b198 ****/ + /****** BRep_PointRepresentation::Curve ******/ + /****** md5 signature: e7a526b0c2503e9af23a4b0971e6b198 ******/ %feature("compactdefaultargs") Curve; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom_Curve -Returns +Return ------- None + +Description +----------- +No available documentation. ") Curve; virtual void Curve(const opencascade::handle & C); - %feature("autodoc", "1"); - %extend{ - std::string DumpJsonToString(int depth=-1) { - std::stringstream s; - self->DumpJson(s, depth); - return s.str();} - }; - /****************** IsPointOnCurve ******************/ - /**** md5 signature: 7c324f51cb2ffeabf00df42f8c95d4fa ****/ - %feature("compactdefaultargs") IsPointOnCurve; - %feature("autodoc", "A point on a 3d curve. + /****************** DumpJson ******************/ + %feature("autodoc", " +Parameters +---------- +depth: int, default=-1 + +Return +------- +str -Returns +Description +----------- +Dump the object to JSON string. +") DumpJson; + %extend{ + std::string DumpJson(int depth=-1) { + std::stringstream s; + self->DumpJson(s, depth); + return "{" + s.str() + "}" ;} + }; + /****** BRep_PointRepresentation::IsPointOnCurve ******/ + /****** md5 signature: 7c324f51cb2ffeabf00df42f8c95d4fa ******/ + %feature("compactdefaultargs") IsPointOnCurve; + %feature("autodoc", "Return ------- bool + +Description +----------- +A point on a 3d curve. ") IsPointOnCurve; virtual Standard_Boolean IsPointOnCurve(); - /****************** IsPointOnCurve ******************/ - /**** md5 signature: df3f830e1372e8a85aa278368212b7a0 ****/ + /****** BRep_PointRepresentation::IsPointOnCurve ******/ + /****** md5 signature: df3f830e1372e8a85aa278368212b7a0 ******/ %feature("compactdefaultargs") IsPointOnCurve; - %feature("autodoc", "A point on the curve . - + %feature("autodoc", " Parameters ---------- C: Geom_Curve L: TopLoc_Location -Returns +Return ------- bool + +Description +----------- +A point on the curve . ") IsPointOnCurve; virtual Standard_Boolean IsPointOnCurve(const opencascade::handle & C, const TopLoc_Location & L); - /****************** IsPointOnCurveOnSurface ******************/ - /**** md5 signature: 10495de40839fdd3337c523f5cd30d3f ****/ + /****** BRep_PointRepresentation::IsPointOnCurveOnSurface ******/ + /****** md5 signature: 10495de40839fdd3337c523f5cd30d3f ******/ %feature("compactdefaultargs") IsPointOnCurveOnSurface; - %feature("autodoc", "A point on a 2d curve on a surface. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +A point on a 2d curve on a surface. ") IsPointOnCurveOnSurface; virtual Standard_Boolean IsPointOnCurveOnSurface(); - /****************** IsPointOnCurveOnSurface ******************/ - /**** md5 signature: 80624704f58b4028b17e9c7e2ade123c ****/ + /****** BRep_PointRepresentation::IsPointOnCurveOnSurface ******/ + /****** md5 signature: 80624704f58b4028b17e9c7e2ade123c ******/ %feature("compactdefaultargs") IsPointOnCurveOnSurface; - %feature("autodoc", "A point on the 2d curve on the surface . - + %feature("autodoc", " Parameters ---------- PC: Geom2d_Curve S: Geom_Surface L: TopLoc_Location -Returns +Return ------- bool + +Description +----------- +A point on the 2d curve on the surface . ") IsPointOnCurveOnSurface; virtual Standard_Boolean IsPointOnCurveOnSurface(const opencascade::handle & PC, const opencascade::handle & S, const TopLoc_Location & L); - /****************** IsPointOnSurface ******************/ - /**** md5 signature: 9f06ea5cc25d99745a00c53dd1c6ad46 ****/ + /****** BRep_PointRepresentation::IsPointOnSurface ******/ + /****** md5 signature: 9f06ea5cc25d99745a00c53dd1c6ad46 ******/ %feature("compactdefaultargs") IsPointOnSurface; - %feature("autodoc", "A point on a surface. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +A point on a surface. ") IsPointOnSurface; virtual Standard_Boolean IsPointOnSurface(); - /****************** IsPointOnSurface ******************/ - /**** md5 signature: 0cda33b49cc335d68473d388862051a2 ****/ + /****** BRep_PointRepresentation::IsPointOnSurface ******/ + /****** md5 signature: 0cda33b49cc335d68473d388862051a2 ******/ %feature("compactdefaultargs") IsPointOnSurface; - %feature("autodoc", "A point on the surface . - + %feature("autodoc", " Parameters ---------- S: Geom_Surface L: TopLoc_Location -Returns +Return ------- bool + +Description +----------- +A point on the surface . ") IsPointOnSurface; virtual Standard_Boolean IsPointOnSurface(const opencascade::handle & S, const TopLoc_Location & L); - /****************** Location ******************/ - /**** md5 signature: 1006fdd3bdd7eb59ebf6a6359a702a4f ****/ + /****** BRep_PointRepresentation::Location ******/ + /****** md5 signature: 1006fdd3bdd7eb59ebf6a6359a702a4f ******/ %feature("compactdefaultargs") Location; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopLoc_Location + +Description +----------- +No available documentation. ") Location; const TopLoc_Location & Location(); - /****************** Location ******************/ - /**** md5 signature: a2c9495044664128886ca4ae6644e853 ****/ + /****** BRep_PointRepresentation::Location ******/ + /****** md5 signature: a2c9495044664128886ca4ae6644e853 ******/ %feature("compactdefaultargs") Location; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: TopLoc_Location -Returns +Return ------- None + +Description +----------- +No available documentation. ") Location; void Location(const TopLoc_Location & L); - /****************** PCurve ******************/ - /**** md5 signature: 43048aaabc4361e78597bb73f5eacb84 ****/ + /****** BRep_PointRepresentation::PCurve ******/ + /****** md5 signature: 43048aaabc4361e78597bb73f5eacb84 ******/ %feature("compactdefaultargs") PCurve; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") PCurve; virtual const opencascade::handle & PCurve(); - /****************** PCurve ******************/ - /**** md5 signature: 4167f86bc8643b2c1f384c75757d828a ****/ + /****** BRep_PointRepresentation::PCurve ******/ + /****** md5 signature: 4167f86bc8643b2c1f384c75757d828a ******/ %feature("compactdefaultargs") PCurve; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom2d_Curve -Returns +Return ------- None + +Description +----------- +No available documentation. ") PCurve; virtual void PCurve(const opencascade::handle & C); - /****************** Parameter ******************/ - /**** md5 signature: ecccdeaeaa0deed24f47e61ad75d24f1 ****/ + /****** BRep_PointRepresentation::Parameter ******/ + /****** md5 signature: ecccdeaeaa0deed24f47e61ad75d24f1 ******/ %feature("compactdefaultargs") Parameter; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") Parameter; Standard_Real Parameter(); - /****************** Parameter ******************/ - /**** md5 signature: 26acaf0b4677a7a04af978de63424b8a ****/ + /****** BRep_PointRepresentation::Parameter ******/ + /****** md5 signature: 26acaf0b4677a7a04af978de63424b8a ******/ %feature("compactdefaultargs") Parameter; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") Parameter; void Parameter(const Standard_Real P); - /****************** Parameter2 ******************/ - /**** md5 signature: ebec675141eed0afeab9cec9239b82fd ****/ + /****** BRep_PointRepresentation::Parameter2 ******/ + /****** md5 signature: ebec675141eed0afeab9cec9239b82fd ******/ %feature("compactdefaultargs") Parameter2; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") Parameter2; virtual Standard_Real Parameter2(); - /****************** Parameter2 ******************/ - /**** md5 signature: ba1ce084d93aa3fbbf8109406ec28c85 ****/ + /****** BRep_PointRepresentation::Parameter2 ******/ + /****** md5 signature: ba1ce084d93aa3fbbf8109406ec28c85 ******/ %feature("compactdefaultargs") Parameter2; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") Parameter2; virtual void Parameter2(const Standard_Real P); - /****************** Surface ******************/ - /**** md5 signature: caeaacb2504e4ba5658f6438ad005605 ****/ + /****** BRep_PointRepresentation::Surface ******/ + /****** md5 signature: caeaacb2504e4ba5658f6438ad005605 ******/ %feature("compactdefaultargs") Surface; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Surface; virtual const opencascade::handle & Surface(); - /****************** Surface ******************/ - /**** md5 signature: 2d28bc979e4349a8444df575f31f8c69 ****/ + /****** BRep_PointRepresentation::Surface ******/ + /****** md5 signature: 2d28bc979e4349a8444df575f31f8c69 ******/ %feature("compactdefaultargs") Surface; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: Geom_Surface -Returns +Return ------- None + +Description +----------- +No available documentation. ") Surface; virtual void Surface(const opencascade::handle & S); @@ -1814,174 +2164,218 @@ None *******************/ class BRep_TEdge : public TopoDS_TEdge { public: - /****************** BRep_TEdge ******************/ - /**** md5 signature: dc5e73bb712d71a9e89a159289621391 ****/ + /****** BRep_TEdge::BRep_TEdge ******/ + /****** md5 signature: dc5e73bb712d71a9e89a159289621391 ******/ %feature("compactdefaultargs") BRep_TEdge; - %feature("autodoc", "Creates an empty tedge. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Creates an empty TEdge. ") BRep_TEdge; BRep_TEdge(); - /****************** ChangeCurves ******************/ - /**** md5 signature: c7093778d271363c43221185b70772c2 ****/ + /****** BRep_TEdge::ChangeCurves ******/ + /****** md5 signature: c7093778d271363c43221185b70772c2 ******/ %feature("compactdefaultargs") ChangeCurves; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- BRep_ListOfCurveRepresentation + +Description +----------- +No available documentation. ") ChangeCurves; BRep_ListOfCurveRepresentation & ChangeCurves(); - /****************** Curves ******************/ - /**** md5 signature: 380c29c54228acfb467d87ab2aa82789 ****/ + /****** BRep_TEdge::Curves ******/ + /****** md5 signature: 380c29c54228acfb467d87ab2aa82789 ******/ %feature("compactdefaultargs") Curves; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- BRep_ListOfCurveRepresentation + +Description +----------- +No available documentation. ") Curves; - const BRep_ListOfCurveRepresentation & Curves(); + BRep_ListOfCurveRepresentation Curves(); - /****************** Degenerated ******************/ - /**** md5 signature: ecd3f4abf547c73285489df59f09d893 ****/ + /****** BRep_TEdge::Degenerated ******/ + /****** md5 signature: ecd3f4abf547c73285489df59f09d893 ******/ %feature("compactdefaultargs") Degenerated; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") Degenerated; Standard_Boolean Degenerated(); - /****************** Degenerated ******************/ - /**** md5 signature: 060f5e58625d202b0cc508497a97f999 ****/ + /****** BRep_TEdge::Degenerated ******/ + /****** md5 signature: 060f5e58625d202b0cc508497a97f999 ******/ %feature("compactdefaultargs") Degenerated; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: bool -Returns +Return ------- None + +Description +----------- +No available documentation. ") Degenerated; void Degenerated(const Standard_Boolean S); - %feature("autodoc", "1"); - %extend{ - std::string DumpJsonToString(int depth=-1) { - std::stringstream s; - self->DumpJson(s, depth); - return s.str();} - }; - /****************** EmptyCopy ******************/ - /**** md5 signature: 8ab9f2aeb90e3da510c24152dd199206 ****/ - %feature("compactdefaultargs") EmptyCopy; - %feature("autodoc", "Returns a copy of the tshape with no sub-shapes. + /****************** DumpJson ******************/ + %feature("autodoc", " +Parameters +---------- +depth: int, default=-1 + +Return +------- +str -Returns +Description +----------- +Dump the object to JSON string. +") DumpJson; + %extend{ + std::string DumpJson(int depth=-1) { + std::stringstream s; + self->DumpJson(s, depth); + return "{" + s.str() + "}" ;} + }; + /****** BRep_TEdge::EmptyCopy ******/ + /****** md5 signature: 8ab9f2aeb90e3da510c24152dd199206 ******/ + %feature("compactdefaultargs") EmptyCopy; + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns a copy of the TShape with no sub-shapes. ") EmptyCopy; opencascade::handle EmptyCopy(); - /****************** SameParameter ******************/ - /**** md5 signature: f4740c56ff2fddf1fa0cf5af61044630 ****/ + /****** BRep_TEdge::SameParameter ******/ + /****** md5 signature: f4740c56ff2fddf1fa0cf5af61044630 ******/ %feature("compactdefaultargs") SameParameter; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") SameParameter; Standard_Boolean SameParameter(); - /****************** SameParameter ******************/ - /**** md5 signature: 971f1e388de91e0974c1ea559734a641 ****/ + /****** BRep_TEdge::SameParameter ******/ + /****** md5 signature: 971f1e388de91e0974c1ea559734a641 ******/ %feature("compactdefaultargs") SameParameter; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: bool -Returns +Return ------- None + +Description +----------- +No available documentation. ") SameParameter; void SameParameter(const Standard_Boolean S); - /****************** SameRange ******************/ - /**** md5 signature: f0165c4a9606e03adad27f73c14db766 ****/ + /****** BRep_TEdge::SameRange ******/ + /****** md5 signature: f0165c4a9606e03adad27f73c14db766 ******/ %feature("compactdefaultargs") SameRange; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") SameRange; Standard_Boolean SameRange(); - /****************** SameRange ******************/ - /**** md5 signature: 776576a6b34833f7e7ff608a4ed6cb28 ****/ + /****** BRep_TEdge::SameRange ******/ + /****** md5 signature: 776576a6b34833f7e7ff608a4ed6cb28 ******/ %feature("compactdefaultargs") SameRange; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: bool -Returns +Return ------- None + +Description +----------- +No available documentation. ") SameRange; void SameRange(const Standard_Boolean S); - /****************** Tolerance ******************/ - /**** md5 signature: 9e5775014410d884d1a1adc1cd47930b ****/ + /****** BRep_TEdge::Tolerance ******/ + /****** md5 signature: 9e5775014410d884d1a1adc1cd47930b ******/ %feature("compactdefaultargs") Tolerance; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") Tolerance; Standard_Real Tolerance(); - /****************** Tolerance ******************/ - /**** md5 signature: 36bec8dcfdb7e7f4f4edb2eeca6bf06a ****/ + /****** BRep_TEdge::Tolerance ******/ + /****** md5 signature: 36bec8dcfdb7e7f4f4edb2eeca6bf06a ******/ %feature("compactdefaultargs") Tolerance; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- T: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") Tolerance; void Tolerance(const Standard_Real T); - /****************** UpdateTolerance ******************/ - /**** md5 signature: d815779cec8f7136f7f9e7c3e47cab9e ****/ + /****** BRep_TEdge::UpdateTolerance ******/ + /****** md5 signature: d815779cec8f7136f7f9e7c3e47cab9e ******/ %feature("compactdefaultargs") UpdateTolerance; - %feature("autodoc", "Sets the tolerance to the max of and the current tolerance. - + %feature("autodoc", " Parameters ---------- T: float -Returns +Return ------- None + +Description +----------- +Sets the tolerance to the max of and the current tolerance. ") UpdateTolerance; void UpdateTolerance(const Standard_Real T); @@ -2001,165 +2395,275 @@ None *******************/ class BRep_TFace : public TopoDS_TFace { public: - /****************** BRep_TFace ******************/ - /**** md5 signature: 48097eeafa59b1363f7b8916a9b44f72 ****/ + /****** BRep_TFace::BRep_TFace ******/ + /****** md5 signature: 48097eeafa59b1363f7b8916a9b44f72 ******/ %feature("compactdefaultargs") BRep_TFace; - %feature("autodoc", "Creates an empty tface. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Creates an empty TFace. ") BRep_TFace; BRep_TFace(); + /****** BRep_TFace::ActiveTriangulation ******/ + /****** md5 signature: 700e23716c69d5b67f3f27b14bf22b4f ******/ + %feature("compactdefaultargs") ActiveTriangulation; + %feature("autodoc", "Return +------- +opencascade::handle + +Description +----------- +Returns current active triangulation. +") ActiveTriangulation; + const opencascade::handle & ActiveTriangulation(); - %feature("autodoc", "1"); - %extend{ - std::string DumpJsonToString(int depth=-1) { - std::stringstream s; - self->DumpJson(s, depth); - return s.str();} - }; - /****************** EmptyCopy ******************/ - /**** md5 signature: 3d9756f12a98e8eef17d86b0c132771f ****/ - %feature("compactdefaultargs") EmptyCopy; - %feature("autodoc", "Returns a copy of the tshape with no sub-shapes. the new face has no triangulation. -Returns + /****************** DumpJson ******************/ + %feature("autodoc", " +Parameters +---------- +depth: int, default=-1 + +Return +------- +str + +Description +----------- +Dump the object to JSON string. +") DumpJson; + %extend{ + std::string DumpJson(int depth=-1) { + std::stringstream s; + self->DumpJson(s, depth); + return "{" + s.str() + "}" ;} + }; + /****** BRep_TFace::EmptyCopy ******/ + /****** md5 signature: 3d9756f12a98e8eef17d86b0c132771f ******/ + %feature("compactdefaultargs") EmptyCopy; + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns a copy of the TShape with no sub-shapes. The new Face has no triangulation. ") EmptyCopy; virtual opencascade::handle EmptyCopy(); - /****************** Location ******************/ - /**** md5 signature: 1006fdd3bdd7eb59ebf6a6359a702a4f ****/ + /****** BRep_TFace::Location ******/ + /****** md5 signature: 57e4db9c8a7a08cffc827dc50be227c9 ******/ %feature("compactdefaultargs") Location; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopLoc_Location + +Description +----------- +Returns the face location. ") Location; const TopLoc_Location & Location(); - /****************** Location ******************/ - /**** md5 signature: a2c9495044664128886ca4ae6644e853 ****/ + /****** BRep_TFace::Location ******/ + /****** md5 signature: bb857ae8889d5b33371c407b0c54d0cb ******/ %feature("compactdefaultargs") Location; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -L: TopLoc_Location +theLocation: TopLoc_Location -Returns +Return ------- None + +Description +----------- +Sets the location for this face. ") Location; - void Location(const TopLoc_Location & L); + void Location(const TopLoc_Location & theLocation); - /****************** NaturalRestriction ******************/ - /**** md5 signature: 6d92e56f229bd8624f08e276baf74517 ****/ + /****** BRep_TFace::NaturalRestriction ******/ + /****** md5 signature: 73f4cd683852501cbdb851a873e3006e ******/ %feature("compactdefaultargs") NaturalRestriction; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns True if the boundary of this face is known to be the parametric space (Umin, UMax, VMin, VMax). ") NaturalRestriction; Standard_Boolean NaturalRestriction(); - /****************** NaturalRestriction ******************/ - /**** md5 signature: ea39b91896c5f026665631b9600bda4a ****/ + /****** BRep_TFace::NaturalRestriction ******/ + /****** md5 signature: 3dc8b4a5fc00fb6b99650b6f24e2c30a ******/ %feature("compactdefaultargs") NaturalRestriction; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -N: bool +theRestriction: bool -Returns +Return ------- None + +Description +----------- +Sets the flag that is True if the boundary of this face is known to be the parametric space. ") NaturalRestriction; - void NaturalRestriction(const Standard_Boolean N); + void NaturalRestriction(const Standard_Boolean theRestriction); - /****************** Surface ******************/ - /**** md5 signature: a469e18cbceeb351572a461f96ff0f4d ****/ - %feature("compactdefaultargs") Surface; - %feature("autodoc", "No available documentation. + /****** BRep_TFace::NbTriangulations ******/ + /****** md5 signature: 19c79cd06fe3039a67f78fa6226f6d24 ******/ + %feature("compactdefaultargs") NbTriangulations; + %feature("autodoc", "Return +------- +int -Returns +Description +----------- +Returns number of available face triangulations. +") NbTriangulations; + Standard_Integer NbTriangulations(); + + /****** BRep_TFace::Surface ******/ + /****** md5 signature: 3aa31a6d63da8a25f018cf96599c0928 ******/ + %feature("compactdefaultargs") Surface; + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns face surface. ") Surface; const opencascade::handle & Surface(); - /****************** Surface ******************/ - /**** md5 signature: a7f333b193d7e7725a80237426d70c9c ****/ + /****** BRep_TFace::Surface ******/ + /****** md5 signature: 277744bd75ecf30c3537bd170d0e688b ******/ %feature("compactdefaultargs") Surface; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Geom_Surface +theSurface: Geom_Surface -Returns +Return ------- None + +Description +----------- +Sets surface for this face. ") Surface; - void Surface(const opencascade::handle & S); + void Surface(const opencascade::handle & theSurface); - /****************** Tolerance ******************/ - /**** md5 signature: 9e5775014410d884d1a1adc1cd47930b ****/ + /****** BRep_TFace::Tolerance ******/ + /****** md5 signature: 327dcbe220ae5ba3e0203f32c61c38db ******/ %feature("compactdefaultargs") Tolerance; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the face tolerance. ") Tolerance; Standard_Real Tolerance(); - /****************** Tolerance ******************/ - /**** md5 signature: 36bec8dcfdb7e7f4f4edb2eeca6bf06a ****/ + /****** BRep_TFace::Tolerance ******/ + /****** md5 signature: 87220829eafedab2b5ef265dd6be1ecf ******/ %feature("compactdefaultargs") Tolerance; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -T: float +theTolerance: float -Returns +Return ------- None + +Description +----------- +Sets the tolerance for this face. ") Tolerance; - void Tolerance(const Standard_Real T); + void Tolerance(const Standard_Real theTolerance); - /****************** Triangulation ******************/ - /**** md5 signature: a9328d46141e309ce47c8a4aca21186d ****/ + /****** BRep_TFace::Triangulation ******/ + /****** md5 signature: 031b83aac32b0db8569fa3861a62e31f ******/ %feature("compactdefaultargs") Triangulation; - %feature("autodoc", "No available documentation. + %feature("autodoc", " +Parameters +---------- +thePurpose: Poly_MeshPurpose (optional, default to Poly_MeshPurpose_NONE) -Returns +Return ------- opencascade::handle + +Description +----------- +Returns the triangulation of this face according to the mesh purpose. +Input parameter: thePurpose a mesh purpose to find appropriate triangulation (NONE by default). +Return: an active triangulation in case of NONE purpose, the first triangulation appropriate for the input purpose, just the first triangulation if none matching other criteria and input purpose is AnyFallback or null handle if there is no any suitable triangulation. ") Triangulation; - const opencascade::handle & Triangulation(); + const opencascade::handle & Triangulation(const Poly_MeshPurpose thePurpose = Poly_MeshPurpose_NONE); - /****************** Triangulation ******************/ - /**** md5 signature: bac47dff3e24342527b1de486155ec4f ****/ + /****** BRep_TFace::Triangulation ******/ + /****** md5 signature: ec7f735385ed0e818ad3a3ad3c13b876 ******/ %feature("compactdefaultargs") Triangulation; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -T: Poly_Triangulation +theTriangulation: Poly_Triangulation +theToReset: bool (optional, default to true) -Returns +Return ------- None + +Description +----------- +Sets input triangulation for this face. +Input parameter: theTriangulation triangulation to be set +Input parameter: theToReset flag to reset triangulations list to new list with only one input triangulation. If theTriangulation is NULL internal list of triangulations will be cleared and active triangulation will be nullified. If theToReset is True internal list of triangulations will be reset to new list with only one input triangulation that will be active. Else if input triangulation is contained in internal triangulations list it will be made active, else the active triangulation will be replaced to input one. ") Triangulation; - void Triangulation(const opencascade::handle & T); + void Triangulation(const opencascade::handle & theTriangulation, const Standard_Boolean theToReset = true); + + /****** BRep_TFace::Triangulations ******/ + /****** md5 signature: ff9482874654ec6c8f82dbd05f8b62aa ******/ + %feature("compactdefaultargs") Triangulations; + %feature("autodoc", "Return +------- +Poly_ListOfTriangulation + +Description +----------- +Returns the list of available face triangulations. +") Triangulations; + const Poly_ListOfTriangulation & Triangulations(); + + /****** BRep_TFace::Triangulations ******/ + /****** md5 signature: 9aea5c4c84dd41a6b79e5dc9a6ea0806 ******/ + %feature("compactdefaultargs") Triangulations; + %feature("autodoc", " +Parameters +---------- +theTriangulations: Poly_ListOfTriangulation +theActiveTriangulation: Poly_Triangulation + +Return +------- +None + +Description +----------- +Sets input list of triangulations and currently active triangulation for this face. If list is empty internal list of triangulations will be cleared and active triangulation will be nullified. Else this list will be saved and the input active triangulation be saved as active. Use NULL active triangulation to set the first triangulation in list as active. Note: the method throws exception if there is any NULL triangulation in input list or if this list doesn't contain input active triangulation. +") Triangulations; + void Triangulations(const Poly_ListOfTriangulation & theTriangulations, const opencascade::handle & theActiveTriangulation); }; @@ -2177,122 +2681,156 @@ None *********************/ class BRep_TVertex : public TopoDS_TVertex { public: - /****************** BRep_TVertex ******************/ - /**** md5 signature: 3922795a238613ee8bf7ad992e0d7900 ****/ + /****** BRep_TVertex::BRep_TVertex ******/ + /****** md5 signature: 3922795a238613ee8bf7ad992e0d7900 ******/ %feature("compactdefaultargs") BRep_TVertex; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRep_TVertex; BRep_TVertex(); - /****************** ChangePoints ******************/ - /**** md5 signature: 9c8aaec6ac35930ce290f4893d0d1dad ****/ + /****** BRep_TVertex::ChangePoints ******/ + /****** md5 signature: 9c8aaec6ac35930ce290f4893d0d1dad ******/ %feature("compactdefaultargs") ChangePoints; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- BRep_ListOfPointRepresentation + +Description +----------- +No available documentation. ") ChangePoints; BRep_ListOfPointRepresentation & ChangePoints(); - %feature("autodoc", "1"); - %extend{ - std::string DumpJsonToString(int depth=-1) { - std::stringstream s; - self->DumpJson(s, depth); - return s.str();} - }; - /****************** EmptyCopy ******************/ - /**** md5 signature: 8ab9f2aeb90e3da510c24152dd199206 ****/ - %feature("compactdefaultargs") EmptyCopy; - %feature("autodoc", "Returns a copy of the tshape with no sub-shapes. + /****************** DumpJson ******************/ + %feature("autodoc", " +Parameters +---------- +depth: int, default=-1 + +Return +------- +str -Returns +Description +----------- +Dump the object to JSON string. +") DumpJson; + %extend{ + std::string DumpJson(int depth=-1) { + std::stringstream s; + self->DumpJson(s, depth); + return "{" + s.str() + "}" ;} + }; + /****** BRep_TVertex::EmptyCopy ******/ + /****** md5 signature: 8ab9f2aeb90e3da510c24152dd199206 ******/ + %feature("compactdefaultargs") EmptyCopy; + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns a copy of the TShape with no sub-shapes. ") EmptyCopy; opencascade::handle EmptyCopy(); - /****************** Pnt ******************/ - /**** md5 signature: c0bafeed50f4eebb5964e2bf8520bf90 ****/ + /****** BRep_TVertex::Pnt ******/ + /****** md5 signature: c0bafeed50f4eebb5964e2bf8520bf90 ******/ %feature("compactdefaultargs") Pnt; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Pnt + +Description +----------- +No available documentation. ") Pnt; const gp_Pnt Pnt(); - /****************** Pnt ******************/ - /**** md5 signature: 5c63e7382eafc56383cc46ade985ccff ****/ + /****** BRep_TVertex::Pnt ******/ + /****** md5 signature: 5c63e7382eafc56383cc46ade985ccff ******/ %feature("compactdefaultargs") Pnt; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") Pnt; void Pnt(const gp_Pnt & P); - /****************** Points ******************/ - /**** md5 signature: 94f0b490436a51d49c7e2367d3c7bbb0 ****/ + /****** BRep_TVertex::Points ******/ + /****** md5 signature: 94f0b490436a51d49c7e2367d3c7bbb0 ******/ %feature("compactdefaultargs") Points; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- BRep_ListOfPointRepresentation + +Description +----------- +No available documentation. ") Points; const BRep_ListOfPointRepresentation & Points(); - /****************** Tolerance ******************/ - /**** md5 signature: 9e5775014410d884d1a1adc1cd47930b ****/ + /****** BRep_TVertex::Tolerance ******/ + /****** md5 signature: 9e5775014410d884d1a1adc1cd47930b ******/ %feature("compactdefaultargs") Tolerance; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") Tolerance; Standard_Real Tolerance(); - /****************** Tolerance ******************/ - /**** md5 signature: 36bec8dcfdb7e7f4f4edb2eeca6bf06a ****/ + /****** BRep_TVertex::Tolerance ******/ + /****** md5 signature: 36bec8dcfdb7e7f4f4edb2eeca6bf06a ******/ %feature("compactdefaultargs") Tolerance; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- T: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") Tolerance; void Tolerance(const Standard_Real T); - /****************** UpdateTolerance ******************/ - /**** md5 signature: d815779cec8f7136f7f9e7c3e47cab9e ****/ + /****** BRep_TVertex::UpdateTolerance ******/ + /****** md5 signature: d815779cec8f7136f7f9e7c3e47cab9e ******/ %feature("compactdefaultargs") UpdateTolerance; - %feature("autodoc", "Sets the tolerance to the max of and the current tolerance. - + %feature("autodoc", " Parameters ---------- T: float -Returns +Return ------- None + +Description +----------- +Sets the tolerance to the max of and the current tolerance. ") UpdateTolerance; void UpdateTolerance(const Standard_Real T); @@ -2312,28 +2850,30 @@ None ******************/ class BRep_Tool { public: - /****************** Continuity ******************/ - /**** md5 signature: db1e3396b84a7e307be8da87ce7551cd ****/ + /****** BRep_Tool::Continuity ******/ + /****** md5 signature: db1e3396b84a7e307be8da87ce7551cd ******/ %feature("compactdefaultargs") Continuity; - %feature("autodoc", "Returns the continuity. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge F1: TopoDS_Face F2: TopoDS_Face -Returns +Return ------- GeomAbs_Shape + +Description +----------- +Returns the continuity. ") Continuity; static GeomAbs_Shape Continuity(const TopoDS_Edge & E, const TopoDS_Face & F1, const TopoDS_Face & F2); - /****************** Continuity ******************/ - /**** md5 signature: 05bc8a9a3f4893b42026ee0c78170ca1 ****/ + /****** BRep_Tool::Continuity ******/ + /****** md5 signature: 05bc8a9a3f4893b42026ee0c78170ca1 ******/ %feature("compactdefaultargs") Continuity; - %feature("autodoc", "Returns the continuity. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge @@ -2342,107 +2882,123 @@ S2: Geom_Surface L1: TopLoc_Location L2: TopLoc_Location -Returns +Return ------- GeomAbs_Shape + +Description +----------- +Returns the continuity. ") 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); - /****************** Curve ******************/ - /**** md5 signature: 41bbd3916c9a4b8e71d76a77fd142236 ****/ + /****** BRep_Tool::Curve ******/ + /****** md5 signature: 41bbd3916c9a4b8e71d76a77fd142236 ******/ %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. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge L: TopLoc_Location -Returns +Return ------- First: float Last: float + +Description +----------- +Returns the 3D curve of the edge. May be a Null handle. Returns in the location for the curve. In and the parameter range. ") Curve; static const opencascade::handle & Curve(const TopoDS_Edge & E, TopLoc_Location & L, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** Curve ******************/ - /**** md5 signature: 25054d3585c70f9581241c1f399ea5e7 ****/ + /****** BRep_Tool::Curve ******/ + /****** md5 signature: 25054d3585c70f9581241c1f399ea5e7 ******/ %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. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge -Returns +Return ------- First: float Last: float + +Description +----------- +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. ") Curve; static opencascade::handle Curve(const TopoDS_Edge & E, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** CurveOnPlane ******************/ - /**** md5 signature: f92505101b8372fadb2e63ec301d6980 ****/ + /****** BRep_Tool::CurveOnPlane ******/ + /****** md5 signature: f92505101b8372fadb2e63ec301d6980 ******/ %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. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge S: Geom_Surface L: TopLoc_Location -Returns +Return ------- First: float Last: float + +Description +----------- +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. ") CurveOnPlane; static opencascade::handle CurveOnPlane(const TopoDS_Edge & E, const opencascade::handle & S, const TopLoc_Location & L, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** CurveOnSurface ******************/ - /**** md5 signature: 1490e00c62d6d2093296a244d8baa466 ****/ + /****** BRep_Tool::CurveOnSurface ******/ + /****** md5 signature: 1490e00c62d6d2093296a244d8baa466 ******/ %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. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge F: TopoDS_Face -theIsStored: bool *,optional - default value is NULL +theIsStored: bool * (optional, default to NULL) -Returns +Return ------- First: float Last: float + +Description +----------- +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. ") CurveOnSurface; static opencascade::handle CurveOnSurface(const TopoDS_Edge & E, const TopoDS_Face & F, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Boolean * theIsStored = NULL); - /****************** CurveOnSurface ******************/ - /**** md5 signature: 3a442b1530d9c81bbff3fadea605743e ****/ + /****** BRep_Tool::CurveOnSurface ******/ + /****** md5 signature: 3a442b1530d9c81bbff3fadea605743e ******/ %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. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge S: Geom_Surface L: TopLoc_Location -theIsStored: bool *,optional - default value is NULL +theIsStored: bool * (optional, default to NULL) -Returns +Return ------- First: float Last: float + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: fb9b1fbc5f5e3312c1bd64ab586fa88f ****/ + /****** BRep_Tool::CurveOnSurface ******/ + /****** md5 signature: fb9b1fbc5f5e3312c1bd64ab586fa88f ******/ %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. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge @@ -2450,18 +3006,21 @@ C: Geom2d_Curve S: Geom_Surface L: TopLoc_Location -Returns +Return ------- First: float Last: float + +Description +----------- +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. ") CurveOnSurface; static void CurveOnSurface(const TopoDS_Edge & E, opencascade::handle & C, opencascade::handle & S, TopLoc_Location & L, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** CurveOnSurface ******************/ - /**** md5 signature: 6f4f3f522500fc969face4c6451b085e ****/ + /****** BRep_Tool::CurveOnSurface ******/ + /****** md5 signature: 6f4f3f522500fc969face4c6451b085e ******/ %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. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge @@ -2470,50 +3029,59 @@ S: Geom_Surface L: TopLoc_Location Index: int -Returns +Return ------- First: float Last: float + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 065e91ab65eebb04f4157f99dfb61a5f ****/ + /****** BRep_Tool::Degenerated ******/ + /****** md5 signature: 065e91ab65eebb04f4157f99dfb61a5f ******/ %feature("compactdefaultargs") Degenerated; - %feature("autodoc", "Returns true if the edge is degenerated. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge -Returns +Return ------- bool + +Description +----------- +Returns True if the edge is degenerated. ") Degenerated; static Standard_Boolean Degenerated(const TopoDS_Edge & E); - /****************** HasContinuity ******************/ - /**** md5 signature: 28de7d368e6753102bc97f842c0bbc34 ****/ + /****** BRep_Tool::HasContinuity ******/ + /****** md5 signature: 28de7d368e6753102bc97f842c0bbc34 ******/ %feature("compactdefaultargs") HasContinuity; - %feature("autodoc", "Returns true if the edge is on the surfaces of the two faces. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge F1: TopoDS_Face F2: TopoDS_Face -Returns +Return ------- bool + +Description +----------- +Returns True if the edge is on the surfaces of the two faces. ") HasContinuity; static Standard_Boolean HasContinuity(const TopoDS_Edge & E, const TopoDS_Face & F1, const TopoDS_Face & F2); - /****************** HasContinuity ******************/ - /**** md5 signature: 4e914e4f0ffad7c5e4ad1bbcbb49f9db ****/ + /****** BRep_Tool::HasContinuity ******/ + /****** md5 signature: 4e914e4f0ffad7c5e4ad1bbcbb49f9db ******/ %feature("compactdefaultargs") HasContinuity; - %feature("autodoc", "Returns true if the edge is on the surfaces. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge @@ -2522,222 +3090,267 @@ S2: Geom_Surface L1: TopLoc_Location L2: TopLoc_Location -Returns +Return ------- bool + +Description +----------- +Returns True if the edge is on the surfaces. ") 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 ******************/ - /**** md5 signature: 590c0c5ffdf73c7bc74af7efff8daacc ****/ + /****** BRep_Tool::HasContinuity ******/ + /****** md5 signature: 590c0c5ffdf73c7bc74af7efff8daacc ******/ %feature("compactdefaultargs") HasContinuity; - %feature("autodoc", "Returns true if the edge has regularity on some two surfaces. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge -Returns +Return ------- bool + +Description +----------- +Returns True if the edge has regularity on some two surfaces. ") HasContinuity; static Standard_Boolean HasContinuity(const TopoDS_Edge & E); - /****************** IsClosed ******************/ - /**** md5 signature: f8e1bed2f4c39eb2e90687cebc873cc7 ****/ + /****** BRep_Tool::IsClosed ******/ + /****** md5 signature: f8e1bed2f4c39eb2e90687cebc873cc7 ******/ %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(). - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- bool + +Description +----------- +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(). ") IsClosed; static Standard_Boolean IsClosed(const TopoDS_Shape & S); - /****************** IsClosed ******************/ - /**** md5 signature: fe1173e15d5c0fa9a4dc0e4bdc10019d ****/ + /****** BRep_Tool::IsClosed ******/ + /****** md5 signature: fe1173e15d5c0fa9a4dc0e4bdc10019d ******/ %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. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge F: TopoDS_Face -Returns +Return ------- bool + +Description +----------- +Returns True if has two PCurves in the parametric space of . i.e. is on a closed surface and is on the closing curve. ") IsClosed; static Standard_Boolean IsClosed(const TopoDS_Edge & E, const TopoDS_Face & F); - /****************** IsClosed ******************/ - /**** md5 signature: 5d71976e343bf12f49f22891aaedbbd4 ****/ + /****** BRep_Tool::IsClosed ******/ + /****** md5 signature: 5d71976e343bf12f49f22891aaedbbd4 ******/ %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. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge S: Geom_Surface L: TopLoc_Location -Returns +Return ------- bool + +Description +----------- +Returns True if has two PCurves in the parametric space of . i.e. is a closed surface and is on the closing curve. ") IsClosed; static Standard_Boolean IsClosed(const TopoDS_Edge & E, const opencascade::handle & S, const TopLoc_Location & L); - /****************** IsClosed ******************/ - /**** md5 signature: 0fb623443621ae6a98b532d96fdea052 ****/ + /****** BRep_Tool::IsClosed ******/ + /****** md5 signature: 0fb623443621ae6a98b532d96fdea052 ******/ %feature("compactdefaultargs") IsClosed; - %feature("autodoc", "Returns true if has two arrays of indices in the triangulation . - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge T: Poly_Triangulation L: TopLoc_Location -Returns +Return ------- bool + +Description +----------- +Returns True if has two arrays of indices in the triangulation . ") IsClosed; static Standard_Boolean IsClosed(const TopoDS_Edge & E, const opencascade::handle & T, const TopLoc_Location & L); - /****************** IsGeometric ******************/ - /**** md5 signature: a3ffa305b3ca35ee4bb109dae046e742 ****/ + /****** BRep_Tool::IsGeometric ******/ + /****** md5 signature: a3ffa305b3ca35ee4bb109dae046e742 ******/ %feature("compactdefaultargs") IsGeometric; - %feature("autodoc", "Returns true if has a surface, false otherwise. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face -Returns +Return ------- bool + +Description +----------- +Returns True if has a surface, false otherwise. ") IsGeometric; static Standard_Boolean IsGeometric(const TopoDS_Face & F); - /****************** IsGeometric ******************/ - /**** md5 signature: a117bc77f4eeb666df610e8aa8cf72d3 ****/ + /****** BRep_Tool::IsGeometric ******/ + /****** md5 signature: a117bc77f4eeb666df610e8aa8cf72d3 ******/ %feature("compactdefaultargs") IsGeometric; - %feature("autodoc", "Returns true if is a 3d curve or a curve on surface. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge -Returns +Return ------- bool + +Description +----------- +Returns True if is a 3d curve or a curve on surface. ") IsGeometric; static Standard_Boolean IsGeometric(const TopoDS_Edge & E); - /****************** MaxContinuity ******************/ - /**** md5 signature: 43a8d131c797f0a5a3836d8b844dd91d ****/ + /****** BRep_Tool::MaxContinuity ******/ + /****** md5 signature: 43a8d131c797f0a5a3836d8b844dd91d ******/ %feature("compactdefaultargs") MaxContinuity; - %feature("autodoc", "Returns the max continuity of edge between some surfaces or geomabs_c0 if there no such surfaces. - + %feature("autodoc", " Parameters ---------- theEdge: TopoDS_Edge -Returns +Return ------- GeomAbs_Shape + +Description +----------- +Returns the max continuity of edge between some surfaces or GeomAbs_C0 if there no such surfaces. ") MaxContinuity; static GeomAbs_Shape MaxContinuity(const TopoDS_Edge & theEdge); - /****************** MaxTolerance ******************/ - /**** md5 signature: 2e9b716a612aac14e6a93a8b379ae457 ****/ + /****** BRep_Tool::MaxTolerance ******/ + /****** md5 signature: 2e9b716a612aac14e6a93a8b379ae457 ******/ %feature("compactdefaultargs") MaxTolerance; - %feature("autodoc", "Returns the maximum tolerance of input shape subshapes. - + %feature("autodoc", " Parameters ---------- theShape: TopoDS_Shape theSubShape: TopAbs_ShapeEnum -Returns +Return ------- float + +Description +----------- +Returns the maximum tolerance of input shape subshapes. ") MaxTolerance; static Standard_Real MaxTolerance(const TopoDS_Shape & theShape, const TopAbs_ShapeEnum theSubShape); - /****************** NaturalRestriction ******************/ - /**** md5 signature: 45722e9079a6a7d1eaf45dd458585b4b ****/ + /****** BRep_Tool::NaturalRestriction ******/ + /****** md5 signature: 45722e9079a6a7d1eaf45dd458585b4b ******/ %feature("compactdefaultargs") NaturalRestriction; - %feature("autodoc", "Returns the naturalrestriction flag of the face. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face -Returns +Return ------- bool + +Description +----------- +Returns the NaturalRestriction flag of the face. ") NaturalRestriction; static Standard_Boolean NaturalRestriction(const TopoDS_Face & F); - /****************** Parameter ******************/ - /**** md5 signature: c56b7997627b41e5c85381896332b42c ****/ + /****** BRep_Tool::Parameter ******/ + /****** md5 signature: c56b7997627b41e5c85381896332b42c ******/ %feature("compactdefaultargs") Parameter; - %feature("autodoc", "Finds the parameter of on . @param thev [in] input vertex @param thee [in] input edge @param theparam [out] calculated parameter on the curve returns true if done. - + %feature("autodoc", " Parameters ---------- theV: TopoDS_Vertex theE: TopoDS_Edge -Returns +Return ------- theParam: float + +Description +----------- +Finds the parameter of on . +Input parameter: theV input vertex +Input parameter: theE input edge @param[out] theParam calculated parameter on the curve +Return: True if done. ") Parameter; static Standard_Boolean Parameter(const TopoDS_Vertex & theV, const TopoDS_Edge & theE, Standard_Real &OutValue); - /****************** Parameter ******************/ - /**** md5 signature: acf610e0d04db95f94cbf8cee69452ec ****/ + /****** BRep_Tool::Parameter ******/ + /****** md5 signature: acf610e0d04db95f94cbf8cee69452ec ******/ %feature("compactdefaultargs") Parameter; - %feature("autodoc", "Returns the parameter of on . throws standard_nosuchobject if no parameter on edge. - + %feature("autodoc", " Parameters ---------- V: TopoDS_Vertex E: TopoDS_Edge -Returns +Return ------- float + +Description +----------- +Returns the parameter of on . Throws Standard_NoSuchObject if no parameter on edge. ") Parameter; static Standard_Real Parameter(const TopoDS_Vertex & V, const TopoDS_Edge & E); - /****************** Parameter ******************/ - /**** md5 signature: 4ab7069dc8aa92aba4d9bc115fe6539e ****/ + /****** BRep_Tool::Parameter ******/ + /****** md5 signature: 4ab7069dc8aa92aba4d9bc115fe6539e ******/ %feature("compactdefaultargs") Parameter; - %feature("autodoc", "Returns the parameters of the vertex on the pcurve of the edge on the face. - + %feature("autodoc", " Parameters ---------- V: TopoDS_Vertex E: TopoDS_Edge F: TopoDS_Face -Returns +Return ------- float + +Description +----------- +Returns the parameters of the vertex on the pcurve of the edge on the face. ") Parameter; static Standard_Real Parameter(const TopoDS_Vertex & V, const TopoDS_Edge & E, const TopoDS_Face & F); - /****************** Parameter ******************/ - /**** md5 signature: 9607ea6c17746b94862cf9a0fd3d4098 ****/ + /****** BRep_Tool::Parameter ******/ + /****** md5 signature: 9607ea6c17746b94862cf9a0fd3d4098 ******/ %feature("compactdefaultargs") Parameter; - %feature("autodoc", "Returns the parameters of the vertex on the pcurve of the edge on the surface. - + %feature("autodoc", " Parameters ---------- V: TopoDS_Vertex @@ -2745,97 +3358,115 @@ E: TopoDS_Edge S: Geom_Surface L: TopLoc_Location -Returns +Return ------- float + +Description +----------- +Returns the parameters of the vertex on the pcurve of the edge on the surface. ") Parameter; static Standard_Real Parameter(const TopoDS_Vertex & V, const TopoDS_Edge & E, const opencascade::handle & S, const TopLoc_Location & L); - /****************** Parameters ******************/ - /**** md5 signature: 2dc7c67673575d16337453d698ba351f ****/ + /****** BRep_Tool::Parameters ******/ + /****** md5 signature: 2dc7c67673575d16337453d698ba351f ******/ %feature("compactdefaultargs") Parameters; - %feature("autodoc", "Returns the parameters of the vertex on the face. - + %feature("autodoc", " Parameters ---------- V: TopoDS_Vertex F: TopoDS_Face -Returns +Return ------- gp_Pnt2d + +Description +----------- +Returns the parameters of the vertex on the face. ") Parameters; static gp_Pnt2d Parameters(const TopoDS_Vertex & V, const TopoDS_Face & F); - /****************** Pnt ******************/ - /**** md5 signature: b95aeb40cfca21ad6dd9a569b19bd30a ****/ + /****** BRep_Tool::Pnt ******/ + /****** md5 signature: b95aeb40cfca21ad6dd9a569b19bd30a ******/ %feature("compactdefaultargs") Pnt; - %feature("autodoc", "Returns the 3d point. - + %feature("autodoc", " Parameters ---------- V: TopoDS_Vertex -Returns +Return ------- gp_Pnt + +Description +----------- +Returns the 3d point. ") Pnt; static gp_Pnt Pnt(const TopoDS_Vertex & V); - /****************** Polygon3D ******************/ - /**** md5 signature: a86c387c6a4ceee0e0a5a44087861c1f ****/ + /****** BRep_Tool::Polygon3D ******/ + /****** md5 signature: a86c387c6a4ceee0e0a5a44087861c1f ******/ %feature("compactdefaultargs") Polygon3D; - %feature("autodoc", "Returns the 3d polygon of the edge. may be a null handle. returns in the location for the polygon. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge L: TopLoc_Location -Returns +Return ------- opencascade::handle + +Description +----------- +Returns the 3D polygon of the edge. May be a Null handle. Returns in the location for the polygon. ") Polygon3D; static const opencascade::handle & Polygon3D(const TopoDS_Edge & E, TopLoc_Location & L); - /****************** PolygonOnSurface ******************/ - /**** md5 signature: 0df44917fdba720095985a99c6679ef1 ****/ + /****** BRep_Tool::PolygonOnSurface ******/ + /****** md5 signature: 0df44917fdba720095985a99c6679ef1 ******/ %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. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge F: TopoDS_Face -Returns +Return ------- opencascade::handle + +Description +----------- +Returns the polygon associated to the edge in the parametric space of the face. Returns a NULL handle if this polygon does not exist. ") PolygonOnSurface; static opencascade::handle PolygonOnSurface(const TopoDS_Edge & E, const TopoDS_Face & F); - /****************** PolygonOnSurface ******************/ - /**** md5 signature: 425f4961b1c3163ca433c2718b7f10a1 ****/ + /****** BRep_Tool::PolygonOnSurface ******/ + /****** md5 signature: 425f4961b1c3163ca433c2718b7f10a1 ******/ %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. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge S: Geom_Surface L: TopLoc_Location -Returns +Return ------- opencascade::handle + +Description +----------- +Returns the polygon associated to the edge in the parametric space of the surface. Returns a NULL handle if this polygon does not exist. ") PolygonOnSurface; static opencascade::handle PolygonOnSurface(const TopoDS_Edge & E, const opencascade::handle & S, const TopLoc_Location & L); - /****************** PolygonOnSurface ******************/ - /**** md5 signature: 6b8c2f4b25acb070680e0688d6abbb4c ****/ + /****** BRep_Tool::PolygonOnSurface ******/ + /****** md5 signature: 6b8c2f4b25acb070680e0688d6abbb4c ******/ %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. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge @@ -2843,17 +3474,20 @@ C: Poly_Polygon2D S: Geom_Surface L: TopLoc_Location -Returns +Return ------- None + +Description +----------- +Returns in , , a 2d curve, a surface and a location for the edge . and are null if the edge has no polygon on surface. ") PolygonOnSurface; static void PolygonOnSurface(const TopoDS_Edge & E, opencascade::handle & C, opencascade::handle & S, TopLoc_Location & L); - /****************** PolygonOnSurface ******************/ - /**** md5 signature: 4df2c84b232daf9288ee42d27cadc4ed ****/ + /****** BRep_Tool::PolygonOnSurface ******/ + /****** md5 signature: 4df2c84b232daf9288ee42d27cadc4ed ******/ %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. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge @@ -2862,34 +3496,40 @@ S: Geom_Surface L: TopLoc_Location Index: int -Returns +Return ------- None + +Description +----------- +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. ") PolygonOnSurface; static void PolygonOnSurface(const TopoDS_Edge & E, opencascade::handle & C, opencascade::handle & S, TopLoc_Location & L, const Standard_Integer Index); - /****************** PolygonOnTriangulation ******************/ - /**** md5 signature: 1f26c2d3f60238b6104180cbdf9d62fc ****/ + /****** BRep_Tool::PolygonOnTriangulation ******/ + /****** md5 signature: 1f26c2d3f60238b6104180cbdf9d62fc ******/ %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. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge T: Poly_Triangulation L: TopLoc_Location -Returns +Return ------- opencascade::handle + +Description +----------- +Returns the polygon associated to the edge in the parametric space of the face. Returns a NULL handle if this polygon does not exist. ") PolygonOnTriangulation; static const opencascade::handle & PolygonOnTriangulation(const TopoDS_Edge & E, const opencascade::handle & T, const TopLoc_Location & L); - /****************** PolygonOnTriangulation ******************/ - /**** md5 signature: f1dccc0f56c6f5715c5a85be9e491eab ****/ + /****** BRep_Tool::PolygonOnTriangulation ******/ + /****** md5 signature: f1dccc0f56c6f5715c5a85be9e491eab ******/ %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. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge @@ -2897,17 +3537,20 @@ P: Poly_PolygonOnTriangulation T: Poly_Triangulation L: TopLoc_Location -Returns +Return ------- None + +Description +----------- +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. ") PolygonOnTriangulation; static void PolygonOnTriangulation(const TopoDS_Edge & E, opencascade::handle & P, opencascade::handle & T, TopLoc_Location & L); - /****************** PolygonOnTriangulation ******************/ - /**** md5 signature: 8444cc17c9207c4de0356c44279d980f ****/ + /****** BRep_Tool::PolygonOnTriangulation ******/ + /****** md5 signature: 8444cc17c9207c4de0356c44279d980f ******/ %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. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge @@ -2916,98 +3559,116 @@ T: Poly_Triangulation L: TopLoc_Location Index: int -Returns +Return ------- None + +Description +----------- +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. ") PolygonOnTriangulation; static void PolygonOnTriangulation(const TopoDS_Edge & E, opencascade::handle & P, opencascade::handle & T, TopLoc_Location & L, const Standard_Integer Index); - /****************** Range ******************/ - /**** md5 signature: 452dcf373fd2428c9869849dc564036a ****/ + /****** BRep_Tool::Range ******/ + /****** md5 signature: 452dcf373fd2428c9869849dc564036a ******/ %feature("compactdefaultargs") Range; - %feature("autodoc", "Gets the range of the 3d curve. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge -Returns +Return ------- First: float Last: float + +Description +----------- +Gets the range of the 3d curve. ") Range; static void Range(const TopoDS_Edge & E, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** Range ******************/ - /**** md5 signature: 771b7c184556dfadb4f144600e6dcd6b ****/ + /****** BRep_Tool::Range ******/ + /****** md5 signature: 771b7c184556dfadb4f144600e6dcd6b ******/ %feature("compactdefaultargs") Range; - %feature("autodoc", "Gets the range of the edge on the pcurve on the surface. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge S: Geom_Surface L: TopLoc_Location -Returns +Return ------- First: float Last: float + +Description +----------- +Gets the range of the edge on the pcurve on the surface. ") Range; static void Range(const TopoDS_Edge & E, const opencascade::handle & S, const TopLoc_Location & L, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** Range ******************/ - /**** md5 signature: 884c3290ec68254a8384b7c25b18df19 ****/ + /****** BRep_Tool::Range ******/ + /****** md5 signature: 884c3290ec68254a8384b7c25b18df19 ******/ %feature("compactdefaultargs") Range; - %feature("autodoc", "Gets the range of the edge on the pcurve on the face. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge F: TopoDS_Face -Returns +Return ------- First: float Last: float + +Description +----------- +Gets the range of the edge on the pcurve on the face. ") Range; static void Range(const TopoDS_Edge & E, const TopoDS_Face & F, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** SameParameter ******************/ - /**** md5 signature: 98c3f7693a7b54bd16cfa7b435716dd7 ****/ + /****** BRep_Tool::SameParameter ******/ + /****** md5 signature: 98c3f7693a7b54bd16cfa7b435716dd7 ******/ %feature("compactdefaultargs") SameParameter; - %feature("autodoc", "Returns the sameparameter flag for the edge. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge -Returns +Return ------- bool + +Description +----------- +Returns the SameParameter flag for the edge. ") SameParameter; static Standard_Boolean SameParameter(const TopoDS_Edge & E); - /****************** SameRange ******************/ - /**** md5 signature: e3ec20a22b9a7152ad26ab214fe505a1 ****/ + /****** BRep_Tool::SameRange ******/ + /****** md5 signature: e3ec20a22b9a7152ad26ab214fe505a1 ******/ %feature("compactdefaultargs") SameRange; - %feature("autodoc", "Returns the samerange flag for the edge. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge -Returns +Return ------- bool + +Description +----------- +Returns the SameRange flag for the edge. ") SameRange; static Standard_Boolean SameRange(const TopoDS_Edge & E); - /****************** SetUVPoints ******************/ - /**** md5 signature: 673580e1d187fc89706cf9183100d91c ****/ + /****** BRep_Tool::SetUVPoints ******/ + /****** md5 signature: 673580e1d187fc89706cf9183100d91c ******/ %feature("compactdefaultargs") SetUVPoints; - %feature("autodoc", "Sets the uv locations of the extremities of the edge. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge @@ -3016,17 +3677,20 @@ L: TopLoc_Location PFirst: gp_Pnt2d PLast: gp_Pnt2d -Returns +Return ------- None + +Description +----------- +Sets the UV locations of the extremities of the edge. ") 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 ******************/ - /**** md5 signature: 2c4224463481424caa511d48bb2bb170 ****/ + /****** BRep_Tool::SetUVPoints ******/ + /****** md5 signature: 2c4224463481424caa511d48bb2bb170 ******/ %feature("compactdefaultargs") SetUVPoints; - %feature("autodoc", "Sets the uv locations of the extremities of the edge. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge @@ -3034,109 +3698,155 @@ F: TopoDS_Face PFirst: gp_Pnt2d PLast: gp_Pnt2d -Returns +Return ------- None + +Description +----------- +Sets the UV locations of the extremities of the edge. ") SetUVPoints; static void SetUVPoints(const TopoDS_Edge & E, const TopoDS_Face & F, const gp_Pnt2d & PFirst, const gp_Pnt2d & PLast); - /****************** Surface ******************/ - /**** md5 signature: df6db1093e3aea92a533703bc33e1bf1 ****/ + /****** BRep_Tool::Surface ******/ + /****** md5 signature: df6db1093e3aea92a533703bc33e1bf1 ******/ %feature("compactdefaultargs") Surface; - %feature("autodoc", "Returns the geometric surface of the face. returns in the location for the surface. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face L: TopLoc_Location -Returns +Return ------- opencascade::handle + +Description +----------- +Returns the geometric surface of the face. Returns in the location for the surface. ") Surface; static const opencascade::handle & Surface(const TopoDS_Face & F, TopLoc_Location & L); - /****************** Surface ******************/ - /**** md5 signature: 124bc3370b2c6ae0e621bca8b5f8d5ae ****/ + /****** BRep_Tool::Surface ******/ + /****** md5 signature: 124bc3370b2c6ae0e621bca8b5f8d5ae ******/ %feature("compactdefaultargs") Surface; - %feature("autodoc", "Returns the geometric surface of the face. it can be a copy if there is a location. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face -Returns +Return ------- opencascade::handle + +Description +----------- +Returns the geometric surface of the face. It can be a copy if there is a Location. ") Surface; static opencascade::handle Surface(const TopoDS_Face & F); - /****************** Tolerance ******************/ - /**** md5 signature: 856ae390a9a6947e76374ae65840fa78 ****/ + /****** BRep_Tool::Tolerance ******/ + /****** md5 signature: 856ae390a9a6947e76374ae65840fa78 ******/ %feature("compactdefaultargs") Tolerance; - %feature("autodoc", "Returns the tolerance of the face. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face -Returns +Return ------- float + +Description +----------- +Returns the tolerance of the face. ") Tolerance; static Standard_Real Tolerance(const TopoDS_Face & F); - /****************** Tolerance ******************/ - /**** md5 signature: fd914160aaa2a77dd68f63b0d2a1ac5e ****/ + /****** BRep_Tool::Tolerance ******/ + /****** md5 signature: fd914160aaa2a77dd68f63b0d2a1ac5e ******/ %feature("compactdefaultargs") Tolerance; - %feature("autodoc", "Returns the tolerance for . - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge -Returns +Return ------- float + +Description +----------- +Returns the tolerance for . ") Tolerance; static Standard_Real Tolerance(const TopoDS_Edge & E); - /****************** Tolerance ******************/ - /**** md5 signature: dfdd613eb3da93aeb47e457dcbb5de3d ****/ + /****** BRep_Tool::Tolerance ******/ + /****** md5 signature: dfdd613eb3da93aeb47e457dcbb5de3d ******/ %feature("compactdefaultargs") Tolerance; - %feature("autodoc", "Returns the tolerance. - + %feature("autodoc", " Parameters ---------- V: TopoDS_Vertex -Returns +Return ------- float + +Description +----------- +Returns the tolerance. ") Tolerance; static Standard_Real Tolerance(const TopoDS_Vertex & V); - /****************** Triangulation ******************/ - /**** md5 signature: a8a3e4132b07c69f1b86da193a9c65d4 ****/ + /****** BRep_Tool::Triangulation ******/ + /****** md5 signature: d68c07d5a1ca2d4b4e577d7fa4cf54e1 ******/ %feature("compactdefaultargs") Triangulation; - %feature("autodoc", "Returns the triangulation of the face. it is a null handle if there is no triangulation. - + %feature("autodoc", " Parameters ---------- -F: TopoDS_Face -L: TopLoc_Location +theFace: TopoDS_Face +theLocation: TopLoc_Location +theMeshPurpose: Poly_MeshPurpose (optional, default to Poly_MeshPurpose_NONE) -Returns +Return ------- opencascade::handle + +Description +----------- +Returns the triangulation of the face according to the mesh purpose. +Input parameter: theFace the input face to find triangulation. @param[out] theLocation the face location. +Input parameter: theMeshPurpose a mesh purpose to find appropriate triangulation (NONE by default). +Return: an active triangulation in case of NONE purpose, the first triangulation appropriate for the input purpose, just the first triangulation if none matching other criteria and input purpose is AnyFallback or null handle if there is no any suitable triangulation. ") Triangulation; - static const opencascade::handle & Triangulation(const TopoDS_Face & F, TopLoc_Location & L); + static const opencascade::handle & Triangulation(const TopoDS_Face & theFace, TopLoc_Location & theLocation, const Poly_MeshPurpose theMeshPurpose = Poly_MeshPurpose_NONE); - /****************** UVPoints ******************/ - /**** md5 signature: 739ea64a3ca04f61d1659b66cfc128ff ****/ - %feature("compactdefaultargs") UVPoints; - %feature("autodoc", "Gets the uv locations of the extremities of the edge. + /****** BRep_Tool::Triangulations ******/ + /****** md5 signature: ac6d632b25937da86177ac5f5087cf51 ******/ + %feature("compactdefaultargs") Triangulations; + %feature("autodoc", " +Parameters +---------- +theFace: TopoDS_Face +theLocation: TopLoc_Location + +Return +------- +Poly_ListOfTriangulation + +Description +----------- +Returns all triangulations of the face. +Input parameter: theFace the input face. @param[out] theLocation the face location. +Return: list of all available face triangulations. +") Triangulations; + static const Poly_ListOfTriangulation & Triangulations(const TopoDS_Face & theFace, TopLoc_Location & theLocation); + /****** BRep_Tool::UVPoints ******/ + /****** md5 signature: 739ea64a3ca04f61d1659b66cfc128ff ******/ + %feature("compactdefaultargs") UVPoints; + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge @@ -3145,17 +3855,20 @@ L: TopLoc_Location PFirst: gp_Pnt2d PLast: gp_Pnt2d -Returns +Return ------- None + +Description +----------- +Gets the UV locations of the extremities of the edge. ") UVPoints; static void UVPoints(const TopoDS_Edge & E, const opencascade::handle & S, const TopLoc_Location & L, gp_Pnt2d & PFirst, gp_Pnt2d & PLast); - /****************** UVPoints ******************/ - /**** md5 signature: 65131528005ae1e7ebb2aaf4488fe3b1 ****/ + /****** BRep_Tool::UVPoints ******/ + /****** md5 signature: 65131528005ae1e7ebb2aaf4488fe3b1 ******/ %feature("compactdefaultargs") UVPoints; - %feature("autodoc", "Gets the uv locations of the extremities of the edge. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge @@ -3163,9 +3876,13 @@ F: TopoDS_Face PFirst: gp_Pnt2d PLast: gp_Pnt2d -Returns +Return ------- None + +Description +----------- +Gets the UV locations of the extremities of the edge. ") UVPoints; static void UVPoints(const TopoDS_Edge & E, const TopoDS_Face & F, gp_Pnt2d & PFirst, gp_Pnt2d & PLast); @@ -3183,11 +3900,10 @@ None ******************************/ class BRep_CurveOn2Surfaces : public BRep_CurveRepresentation { public: - /****************** BRep_CurveOn2Surfaces ******************/ - /**** md5 signature: 1b89b178cf238eb747d177b75dc964eb ****/ + /****** BRep_CurveOn2Surfaces::BRep_CurveOn2Surfaces ******/ + /****** md5 signature: 1b89b178cf238eb747d177b75dc964eb ******/ %feature("compactdefaultargs") BRep_CurveOn2Surfaces; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S1: Geom_Surface @@ -3196,89 +3912,117 @@ L1: TopLoc_Location L2: TopLoc_Location C: GeomAbs_Shape -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: 67f71f7e1008e6ff605877f145944f2b ****/ + /****** BRep_CurveOn2Surfaces::Continuity ******/ + /****** md5 signature: 67f71f7e1008e6ff605877f145944f2b ******/ %feature("compactdefaultargs") Continuity; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- GeomAbs_Shape + +Description +----------- +No available documentation. ") Continuity; - virtual const GeomAbs_Shape & Continuity(); + virtual const GeomAbs_Shape Continuity(); - /****************** Continuity ******************/ - /**** md5 signature: 7efede569c5d15316e14f5232ee3a296 ****/ + /****** BRep_CurveOn2Surfaces::Continuity ******/ + /****** md5 signature: 7efede569c5d15316e14f5232ee3a296 ******/ %feature("compactdefaultargs") Continuity; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: GeomAbs_Shape -Returns +Return ------- None + +Description +----------- +No available documentation. ") Continuity; virtual void Continuity(const GeomAbs_Shape C); - /****************** Copy ******************/ - /**** md5 signature: 5ae8a834b37d0441b91b744e5b050c6d ****/ + /****** BRep_CurveOn2Surfaces::Copy ******/ + /****** md5 signature: 5ae8a834b37d0441b91b744e5b050c6d ******/ %feature("compactdefaultargs") Copy; - %feature("autodoc", "Return a copy of this representation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Return a copy of this representation. ") Copy; opencascade::handle Copy(); - /****************** D0 ******************/ - /**** md5 signature: c5111ce8ff4abb74b6c4ba34040c62bb ****/ + /****** BRep_CurveOn2Surfaces::D0 ******/ + /****** md5 signature: c5111ce8ff4abb74b6c4ba34040c62bb ******/ %feature("compactdefaultargs") D0; - %feature("autodoc", "Raises an error. - + %feature("autodoc", " Parameters ---------- U: float P: gp_Pnt -Returns +Return ------- None + +Description +----------- +Raises an error. ") D0; void D0(const Standard_Real U, gp_Pnt & P); - %feature("autodoc", "1"); - %extend{ - std::string DumpJsonToString(int depth=-1) { - std::stringstream s; - self->DumpJson(s, depth); - return s.str();} - }; - /****************** IsRegularity ******************/ - /**** md5 signature: fc2d0c9ac93b7bd44a0b1730043df993 ****/ - %feature("compactdefaultargs") IsRegularity; - %feature("autodoc", "Returns true. + /****************** DumpJson ******************/ + %feature("autodoc", " +Parameters +---------- +depth: int, default=-1 + +Return +------- +str -Returns +Description +----------- +Dump the object to JSON string. +") DumpJson; + %extend{ + std::string DumpJson(int depth=-1) { + std::stringstream s; + self->DumpJson(s, depth); + return "{" + s.str() + "}" ;} + }; + /****** BRep_CurveOn2Surfaces::IsRegularity ******/ + /****** md5 signature: fc2d0c9ac93b7bd44a0b1730043df993 ******/ + %feature("compactdefaultargs") IsRegularity; + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns True. ") IsRegularity; virtual Standard_Boolean IsRegularity(); - /****************** IsRegularity ******************/ - /**** md5 signature: d342137f91cebeb239140ef772bbae74 ****/ + /****** BRep_CurveOn2Surfaces::IsRegularity ******/ + /****** md5 signature: d342137f91cebeb239140ef772bbae74 ******/ %feature("compactdefaultargs") IsRegularity; - %feature("autodoc", "A curve on two surfaces (continuity). - + %feature("autodoc", " Parameters ---------- S1: Geom_Surface @@ -3286,42 +4030,52 @@ S2: Geom_Surface L1: TopLoc_Location L2: TopLoc_Location -Returns +Return ------- bool + +Description +----------- +A curve on two surfaces (continuity). ") IsRegularity; virtual Standard_Boolean IsRegularity(const opencascade::handle & S1, const opencascade::handle & S2, const TopLoc_Location & L1, const TopLoc_Location & L2); - /****************** Location2 ******************/ - /**** md5 signature: 35a20609403ba9e885d7f5ec0a54a126 ****/ + /****** BRep_CurveOn2Surfaces::Location2 ******/ + /****** md5 signature: 35a20609403ba9e885d7f5ec0a54a126 ******/ %feature("compactdefaultargs") Location2; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopLoc_Location + +Description +----------- +No available documentation. ") Location2; virtual const TopLoc_Location & Location2(); - /****************** Surface ******************/ - /**** md5 signature: 15e9ea02ca588f3610ae3d0618d607d8 ****/ + /****** BRep_CurveOn2Surfaces::Surface ******/ + /****** md5 signature: 15e9ea02ca588f3610ae3d0618d607d8 ******/ %feature("compactdefaultargs") Surface; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Surface; virtual const opencascade::handle & Surface(); - /****************** Surface2 ******************/ - /**** md5 signature: 839f1c1ff057d92a50c65c26a6c27dd5 ****/ + /****** BRep_CurveOn2Surfaces::Surface2 ******/ + /****** md5 signature: 839f1c1ff057d92a50c65c26a6c27dd5 ******/ %feature("compactdefaultargs") Surface2; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Surface2; virtual const opencascade::handle & Surface2(); @@ -3342,121 +4096,155 @@ opencascade::handle %nodefaultctor BRep_GCurve; class BRep_GCurve : public BRep_CurveRepresentation { public: - /****************** D0 ******************/ - /**** md5 signature: 3375707864bca566a2f8c23866c10a67 ****/ + /****** BRep_GCurve::D0 ******/ + /****** md5 signature: 3375707864bca566a2f8c23866c10a67 ******/ %feature("compactdefaultargs") D0; - %feature("autodoc", "Computes the point at parameter u. - + %feature("autodoc", " Parameters ---------- U: float P: gp_Pnt -Returns +Return ------- None + +Description +----------- +Computes the point at parameter U. ") D0; virtual void D0(const Standard_Real U, gp_Pnt & P); - %feature("autodoc", "1"); - %extend{ - std::string DumpJsonToString(int depth=-1) { - std::stringstream s; - self->DumpJson(s, depth); - return s.str();} - }; - /****************** First ******************/ - /**** md5 signature: 009dd98af15e46b2da286731f40e1839 ****/ - %feature("compactdefaultargs") First; - %feature("autodoc", "No available documentation. + /****************** DumpJson ******************/ + %feature("autodoc", " +Parameters +---------- +depth: int, default=-1 + +Return +------- +str -Returns +Description +----------- +Dump the object to JSON string. +") DumpJson; + %extend{ + std::string DumpJson(int depth=-1) { + std::stringstream s; + self->DumpJson(s, depth); + return "{" + s.str() + "}" ;} + }; + /****** BRep_GCurve::First ******/ + /****** md5 signature: 009dd98af15e46b2da286731f40e1839 ******/ + %feature("compactdefaultargs") First; + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") First; Standard_Real First(); - /****************** First ******************/ - /**** md5 signature: 058d922daacc28980343d7871c7a22e5 ****/ + /****** BRep_GCurve::First ******/ + /****** md5 signature: 058d922daacc28980343d7871c7a22e5 ******/ %feature("compactdefaultargs") First; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- F: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") First; void First(const Standard_Real F); - /****************** Last ******************/ - /**** md5 signature: 4c8063c237a4f73018a7949da8aef9fb ****/ + /****** BRep_GCurve::Last ******/ + /****** md5 signature: 4c8063c237a4f73018a7949da8aef9fb ******/ %feature("compactdefaultargs") Last; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") Last; Standard_Real Last(); - /****************** Last ******************/ - /**** md5 signature: c3340e5e5f9f21c952d6c5f41e315294 ****/ + /****** BRep_GCurve::Last ******/ + /****** md5 signature: c3340e5e5f9f21c952d6c5f41e315294 ******/ %feature("compactdefaultargs") Last; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") Last; void Last(const Standard_Real L); - /****************** Range ******************/ - /**** md5 signature: 7a1384b2dd1c0480bcaa08b2116f0e9a ****/ + /****** BRep_GCurve::Range ******/ + /****** md5 signature: 7a1384b2dd1c0480bcaa08b2116f0e9a ******/ %feature("compactdefaultargs") Range; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- First: float Last: float + +Description +----------- +No available documentation. ") Range; void Range(Standard_Real &OutValue, Standard_Real &OutValue); - /****************** SetRange ******************/ - /**** md5 signature: 4a19c7b6bd2369f897cb3fd2e6cdf6dd ****/ + /****** BRep_GCurve::SetRange ******/ + /****** md5 signature: 4a19c7b6bd2369f897cb3fd2e6cdf6dd ******/ %feature("compactdefaultargs") SetRange; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- First: float Last: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetRange; void SetRange(const Standard_Real First, const Standard_Real Last); - /****************** Update ******************/ - /**** md5 signature: 39b31f53ec35285afdd1d13bf1b04e26 ****/ + /****** BRep_GCurve::Update ******/ + /****** md5 signature: 39b31f53ec35285afdd1d13bf1b04e26 ******/ %feature("compactdefaultargs") Update; - %feature("autodoc", "Recomputes any derived data after a modification. this is called when the range is modified. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Recomputes any derived data after a modification. This is called when the range is modified. ") Update; virtual void Update(); @@ -3476,81 +4264,107 @@ None **************************/ class BRep_PointOnCurve : public BRep_PointRepresentation { public: - /****************** BRep_PointOnCurve ******************/ - /**** md5 signature: e833506021dac13fc08babefacd0adc1 ****/ + /****** BRep_PointOnCurve::BRep_PointOnCurve ******/ + /****** md5 signature: e833506021dac13fc08babefacd0adc1 ******/ %feature("compactdefaultargs") BRep_PointOnCurve; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P: float C: Geom_Curve L: TopLoc_Location -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRep_PointOnCurve; BRep_PointOnCurve(const Standard_Real P, const opencascade::handle & C, const TopLoc_Location & L); - /****************** Curve ******************/ - /**** md5 signature: 7564dfeb906ea842191d6c8e9aa21fb2 ****/ + /****** BRep_PointOnCurve::Curve ******/ + /****** md5 signature: 7564dfeb906ea842191d6c8e9aa21fb2 ******/ %feature("compactdefaultargs") Curve; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Curve; virtual const opencascade::handle & Curve(); - /****************** Curve ******************/ - /**** md5 signature: 7935cf5261f3f51e5d7edaf832f76e01 ****/ + /****** BRep_PointOnCurve::Curve ******/ + /****** md5 signature: 7935cf5261f3f51e5d7edaf832f76e01 ******/ %feature("compactdefaultargs") Curve; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom_Curve -Returns +Return ------- None + +Description +----------- +No available documentation. ") Curve; virtual void Curve(const opencascade::handle & C); - %feature("autodoc", "1"); - %extend{ - std::string DumpJsonToString(int depth=-1) { - std::stringstream s; - self->DumpJson(s, depth); - return s.str();} - }; - /****************** IsPointOnCurve ******************/ - /**** md5 signature: afd14cc038cef12d5da511ac1ad22904 ****/ - %feature("compactdefaultargs") IsPointOnCurve; - %feature("autodoc", "Returns true. + /****************** DumpJson ******************/ + %feature("autodoc", " +Parameters +---------- +depth: int, default=-1 -Returns +Return +------- +str + +Description +----------- +Dump the object to JSON string. +") DumpJson; + %extend{ + std::string DumpJson(int depth=-1) { + std::stringstream s; + self->DumpJson(s, depth); + return "{" + s.str() + "}" ;} + }; + /****** BRep_PointOnCurve::IsPointOnCurve ******/ + /****** md5 signature: afd14cc038cef12d5da511ac1ad22904 ******/ + %feature("compactdefaultargs") IsPointOnCurve; + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns True. ") IsPointOnCurve; virtual Standard_Boolean IsPointOnCurve(); - /****************** IsPointOnCurve ******************/ - /**** md5 signature: 0a0e9cdfd37665e4d43b20820fd84e9b ****/ + /****** BRep_PointOnCurve::IsPointOnCurve ******/ + /****** md5 signature: 0a0e9cdfd37665e4d43b20820fd84e9b ******/ %feature("compactdefaultargs") IsPointOnCurve; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom_Curve L: TopLoc_Location -Returns +Return ------- bool + +Description +----------- +No available documentation. ") IsPointOnCurve; virtual Standard_Boolean IsPointOnCurve(const opencascade::handle & C, const TopLoc_Location & L); @@ -3572,36 +4386,54 @@ bool class BRep_PointsOnSurface : public BRep_PointRepresentation { public: - %feature("autodoc", "1"); - %extend{ - std::string DumpJsonToString(int depth=-1) { - std::stringstream s; - self->DumpJson(s, depth); - return s.str();} - }; - /****************** Surface ******************/ - /**** md5 signature: 15e9ea02ca588f3610ae3d0618d607d8 ****/ - %feature("compactdefaultargs") Surface; - %feature("autodoc", "No available documentation. + /****************** DumpJson ******************/ + %feature("autodoc", " +Parameters +---------- +depth: int, default=-1 + +Return +------- +str -Returns +Description +----------- +Dump the object to JSON string. +") DumpJson; + %extend{ + std::string DumpJson(int depth=-1) { + std::stringstream s; + self->DumpJson(s, depth); + return "{" + s.str() + "}" ;} + }; + /****** BRep_PointsOnSurface::Surface ******/ + /****** md5 signature: 15e9ea02ca588f3610ae3d0618d607d8 ******/ + %feature("compactdefaultargs") Surface; + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Surface; virtual const opencascade::handle & Surface(); - /****************** Surface ******************/ - /**** md5 signature: 0ec0e10c27c82394399de7b386032405 ****/ + /****** BRep_PointsOnSurface::Surface ******/ + /****** md5 signature: 0ec0e10c27c82394399de7b386032405 ******/ %feature("compactdefaultargs") Surface; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: Geom_Surface -Returns +Return ------- None + +Description +----------- +No available documentation. ") Surface; virtual void Surface(const opencascade::handle & S); @@ -3621,75 +4453,100 @@ None ***********************/ class BRep_Polygon3D : public BRep_CurveRepresentation { public: - /****************** BRep_Polygon3D ******************/ - /**** md5 signature: 13da97d656a6270590ac3f77034b0519 ****/ + /****** BRep_Polygon3D::BRep_Polygon3D ******/ + /****** md5 signature: 13da97d656a6270590ac3f77034b0519 ******/ %feature("compactdefaultargs") BRep_Polygon3D; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P: Poly_Polygon3D L: TopLoc_Location -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRep_Polygon3D; BRep_Polygon3D(const opencascade::handle & P, const TopLoc_Location & L); - /****************** Copy ******************/ - /**** md5 signature: 5ae8a834b37d0441b91b744e5b050c6d ****/ + /****** BRep_Polygon3D::Copy ******/ + /****** md5 signature: 5ae8a834b37d0441b91b744e5b050c6d ******/ %feature("compactdefaultargs") Copy; - %feature("autodoc", "Return a copy of this representation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Return a copy of this representation. ") Copy; opencascade::handle Copy(); - %feature("autodoc", "1"); - %extend{ - std::string DumpJsonToString(int depth=-1) { - std::stringstream s; - self->DumpJson(s, depth); - return s.str();} - }; - /****************** IsPolygon3D ******************/ - /**** md5 signature: 9c97e39fb1a5808feb35966ed93c6297 ****/ - %feature("compactdefaultargs") IsPolygon3D; - %feature("autodoc", "Returns true. + /****************** DumpJson ******************/ + %feature("autodoc", " +Parameters +---------- +depth: int, default=-1 + +Return +------- +str -Returns +Description +----------- +Dump the object to JSON string. +") DumpJson; + %extend{ + std::string DumpJson(int depth=-1) { + std::stringstream s; + self->DumpJson(s, depth); + return "{" + s.str() + "}" ;} + }; + /****** BRep_Polygon3D::IsPolygon3D ******/ + /****** md5 signature: 9c97e39fb1a5808feb35966ed93c6297 ******/ + %feature("compactdefaultargs") IsPolygon3D; + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns True. ") IsPolygon3D; virtual Standard_Boolean IsPolygon3D(); - /****************** Polygon3D ******************/ - /**** md5 signature: 1090ff267a4843b01559975989b64a28 ****/ + /****** BRep_Polygon3D::Polygon3D ******/ + /****** md5 signature: 1090ff267a4843b01559975989b64a28 ******/ %feature("compactdefaultargs") Polygon3D; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Polygon3D; virtual const opencascade::handle & Polygon3D(); - /****************** Polygon3D ******************/ - /**** md5 signature: 031241be9d7be389029c88d7a07457da ****/ + /****** BRep_Polygon3D::Polygon3D ******/ + /****** md5 signature: 031241be9d7be389029c88d7a07457da ******/ %feature("compactdefaultargs") Polygon3D; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P: Poly_Polygon3D -Returns +Return ------- None + +Description +----------- +No available documentation. ") Polygon3D; virtual void Polygon3D(const opencascade::handle & P); @@ -3709,103 +4566,133 @@ None ******************************/ class BRep_PolygonOnSurface : public BRep_CurveRepresentation { public: - /****************** BRep_PolygonOnSurface ******************/ - /**** md5 signature: c1b50f5f4d521e9aa7829b5e90a0286b ****/ + /****** BRep_PolygonOnSurface::BRep_PolygonOnSurface ******/ + /****** md5 signature: c1b50f5f4d521e9aa7829b5e90a0286b ******/ %feature("compactdefaultargs") BRep_PolygonOnSurface; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P: Poly_Polygon2D S: Geom_Surface L: TopLoc_Location -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRep_PolygonOnSurface; BRep_PolygonOnSurface(const opencascade::handle & P, const opencascade::handle & S, const TopLoc_Location & L); - /****************** Copy ******************/ - /**** md5 signature: 51f97eb612b00599d2d5b762223f64b3 ****/ + /****** BRep_PolygonOnSurface::Copy ******/ + /****** md5 signature: 51f97eb612b00599d2d5b762223f64b3 ******/ %feature("compactdefaultargs") Copy; - %feature("autodoc", "Return a copy of this representation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Return a copy of this representation. ") Copy; virtual opencascade::handle Copy(); - %feature("autodoc", "1"); - %extend{ - std::string DumpJsonToString(int depth=-1) { - std::stringstream s; - self->DumpJson(s, depth); - return s.str();} - }; - /****************** IsPolygonOnSurface ******************/ - /**** md5 signature: 395f6d0696758a9ea0fc539532c7bf1c ****/ - %feature("compactdefaultargs") IsPolygonOnSurface; - %feature("autodoc", "A 2d polygon representation in the parametric space of a surface. + /****************** DumpJson ******************/ + %feature("autodoc", " +Parameters +---------- +depth: int, default=-1 + +Return +------- +str -Returns +Description +----------- +Dump the object to JSON string. +") DumpJson; + %extend{ + std::string DumpJson(int depth=-1) { + std::stringstream s; + self->DumpJson(s, depth); + return "{" + s.str() + "}" ;} + }; + /****** BRep_PolygonOnSurface::IsPolygonOnSurface ******/ + /****** md5 signature: 395f6d0696758a9ea0fc539532c7bf1c ******/ + %feature("compactdefaultargs") IsPolygonOnSurface; + %feature("autodoc", "Return ------- bool + +Description +----------- +A 2D polygon representation in the parametric space of a surface. ") IsPolygonOnSurface; virtual Standard_Boolean IsPolygonOnSurface(); - /****************** IsPolygonOnSurface ******************/ - /**** md5 signature: c9250f078741a571290c03ae2f08a8fa ****/ + /****** BRep_PolygonOnSurface::IsPolygonOnSurface ******/ + /****** md5 signature: c9250f078741a571290c03ae2f08a8fa ******/ %feature("compactdefaultargs") IsPolygonOnSurface; - %feature("autodoc", "A 2d polygon representation in the parametric space of a surface. - + %feature("autodoc", " Parameters ---------- S: Geom_Surface L: TopLoc_Location -Returns +Return ------- bool + +Description +----------- +A 2D polygon representation in the parametric space of a surface. ") IsPolygonOnSurface; virtual Standard_Boolean IsPolygonOnSurface(const opencascade::handle & S, const TopLoc_Location & L); - /****************** Polygon ******************/ - /**** md5 signature: 4f46d9d28803083bcdcdd10bba734397 ****/ + /****** BRep_PolygonOnSurface::Polygon ******/ + /****** md5 signature: 4f46d9d28803083bcdcdd10bba734397 ******/ %feature("compactdefaultargs") Polygon; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Polygon; virtual const opencascade::handle & Polygon(); - /****************** Polygon ******************/ - /**** md5 signature: 14cb08b6625770c2b2a4cecc383369e7 ****/ + /****** BRep_PolygonOnSurface::Polygon ******/ + /****** md5 signature: 14cb08b6625770c2b2a4cecc383369e7 ******/ %feature("compactdefaultargs") Polygon; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P: Poly_Polygon2D -Returns +Return ------- None + +Description +----------- +No available documentation. ") Polygon; virtual void Polygon(const opencascade::handle & P); - /****************** Surface ******************/ - /**** md5 signature: 15e9ea02ca588f3610ae3d0618d607d8 ****/ + /****** BRep_PolygonOnSurface::Surface ******/ + /****** md5 signature: 15e9ea02ca588f3610ae3d0618d607d8 ******/ %feature("compactdefaultargs") Surface; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Surface; virtual const opencascade::handle & Surface(); @@ -3825,103 +4712,133 @@ opencascade::handle ************************************/ class BRep_PolygonOnTriangulation : public BRep_CurveRepresentation { public: - /****************** BRep_PolygonOnTriangulation ******************/ - /**** md5 signature: 483b70ddea0cb2c06f36d731647487b2 ****/ + /****** BRep_PolygonOnTriangulation::BRep_PolygonOnTriangulation ******/ + /****** md5 signature: 483b70ddea0cb2c06f36d731647487b2 ******/ %feature("compactdefaultargs") BRep_PolygonOnTriangulation; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P: Poly_PolygonOnTriangulation T: Poly_Triangulation L: TopLoc_Location -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRep_PolygonOnTriangulation; BRep_PolygonOnTriangulation(const opencascade::handle & P, const opencascade::handle & T, const TopLoc_Location & L); - /****************** Copy ******************/ - /**** md5 signature: 51f97eb612b00599d2d5b762223f64b3 ****/ + /****** BRep_PolygonOnTriangulation::Copy ******/ + /****** md5 signature: 51f97eb612b00599d2d5b762223f64b3 ******/ %feature("compactdefaultargs") Copy; - %feature("autodoc", "Return a copy of this representation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Return a copy of this representation. ") Copy; virtual opencascade::handle Copy(); - %feature("autodoc", "1"); - %extend{ - std::string DumpJsonToString(int depth=-1) { - std::stringstream s; - self->DumpJson(s, depth); - return s.str();} - }; - /****************** IsPolygonOnTriangulation ******************/ - /**** md5 signature: bc0acafa3cf68973589be66217bfe604 ****/ - %feature("compactdefaultargs") IsPolygonOnTriangulation; - %feature("autodoc", "Returns true. + /****************** DumpJson ******************/ + %feature("autodoc", " +Parameters +---------- +depth: int, default=-1 -Returns +Return +------- +str + +Description +----------- +Dump the object to JSON string. +") DumpJson; + %extend{ + std::string DumpJson(int depth=-1) { + std::stringstream s; + self->DumpJson(s, depth); + return "{" + s.str() + "}" ;} + }; + /****** BRep_PolygonOnTriangulation::IsPolygonOnTriangulation ******/ + /****** md5 signature: bc0acafa3cf68973589be66217bfe604 ******/ + %feature("compactdefaultargs") IsPolygonOnTriangulation; + %feature("autodoc", "Return ------- bool + +Description +----------- +returns True. ") IsPolygonOnTriangulation; virtual Standard_Boolean IsPolygonOnTriangulation(); - /****************** IsPolygonOnTriangulation ******************/ - /**** md5 signature: e6cb71a9982f4593b1d939a57798d3be ****/ + /****** BRep_PolygonOnTriangulation::IsPolygonOnTriangulation ******/ + /****** md5 signature: e6cb71a9982f4593b1d939a57798d3be ******/ %feature("compactdefaultargs") IsPolygonOnTriangulation; - %feature("autodoc", "Is it a polygon in the definition of with location . - + %feature("autodoc", " Parameters ---------- T: Poly_Triangulation L: TopLoc_Location -Returns +Return ------- bool + +Description +----------- +Is it a polygon in the definition of with location . ") IsPolygonOnTriangulation; virtual Standard_Boolean IsPolygonOnTriangulation(const opencascade::handle & T, const TopLoc_Location & L); - /****************** PolygonOnTriangulation ******************/ - /**** md5 signature: aeb65ee54d25f07c5b13b545be27eb94 ****/ + /****** BRep_PolygonOnTriangulation::PolygonOnTriangulation ******/ + /****** md5 signature: aeb65ee54d25f07c5b13b545be27eb94 ******/ %feature("compactdefaultargs") PolygonOnTriangulation; - %feature("autodoc", "Returns true. - + %feature("autodoc", " Parameters ---------- P: Poly_PolygonOnTriangulation -Returns +Return ------- None + +Description +----------- +returns True. ") PolygonOnTriangulation; virtual void PolygonOnTriangulation(const opencascade::handle & P); - /****************** PolygonOnTriangulation ******************/ - /**** md5 signature: cb14d47541b37689658847e4d993e5b5 ****/ + /****** BRep_PolygonOnTriangulation::PolygonOnTriangulation ******/ + /****** md5 signature: cb14d47541b37689658847e4d993e5b5 ******/ %feature("compactdefaultargs") PolygonOnTriangulation; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") PolygonOnTriangulation; virtual const opencascade::handle & PolygonOnTriangulation(); - /****************** Triangulation ******************/ - /**** md5 signature: 8f80953fc5ab6ffc304eb150b661d5c2 ****/ + /****** BRep_PolygonOnTriangulation::Triangulation ******/ + /****** md5 signature: 8f80953fc5ab6ffc304eb150b661d5c2 ******/ %feature("compactdefaultargs") Triangulation; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Triangulation; virtual const opencascade::handle & Triangulation(); @@ -3941,91 +4858,119 @@ opencascade::handle *********************/ class BRep_Curve3D : public BRep_GCurve { public: - /****************** BRep_Curve3D ******************/ - /**** md5 signature: 6f4db40c99a104c8d4ad18496b868b9e ****/ + /****** BRep_Curve3D::BRep_Curve3D ******/ + /****** md5 signature: 6f4db40c99a104c8d4ad18496b868b9e ******/ %feature("compactdefaultargs") BRep_Curve3D; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom_Curve L: TopLoc_Location -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRep_Curve3D; BRep_Curve3D(const opencascade::handle & C, const TopLoc_Location & L); - /****************** Copy ******************/ - /**** md5 signature: 5ae8a834b37d0441b91b744e5b050c6d ****/ + /****** BRep_Curve3D::Copy ******/ + /****** md5 signature: 5ae8a834b37d0441b91b744e5b050c6d ******/ %feature("compactdefaultargs") Copy; - %feature("autodoc", "Return a copy of this representation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Return a copy of this representation. ") Copy; opencascade::handle Copy(); - /****************** Curve3D ******************/ - /**** md5 signature: 4ad19464b6e2a334416af7923e8c568c ****/ + /****** BRep_Curve3D::Curve3D ******/ + /****** md5 signature: 4ad19464b6e2a334416af7923e8c568c ******/ %feature("compactdefaultargs") Curve3D; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Curve3D; virtual const opencascade::handle & Curve3D(); - /****************** Curve3D ******************/ - /**** md5 signature: 9fa24c50aeac5346e9a2f04499dfce3d ****/ + /****** BRep_Curve3D::Curve3D ******/ + /****** md5 signature: 9fa24c50aeac5346e9a2f04499dfce3d ******/ %feature("compactdefaultargs") Curve3D; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom_Curve -Returns +Return ------- None + +Description +----------- +No available documentation. ") Curve3D; virtual void Curve3D(const opencascade::handle & C); - /****************** D0 ******************/ - /**** md5 signature: 5f7d08d8d17afc516aac9ef64bf9711f ****/ + /****** BRep_Curve3D::D0 ******/ + /****** md5 signature: 5f7d08d8d17afc516aac9ef64bf9711f ******/ %feature("compactdefaultargs") D0; - %feature("autodoc", "Computes the point at parameter u. - + %feature("autodoc", " Parameters ---------- U: float P: gp_Pnt -Returns +Return ------- None + +Description +----------- +Computes the point at parameter U. ") D0; void D0(const Standard_Real U, gp_Pnt & P); - %feature("autodoc", "1"); - %extend{ - std::string DumpJsonToString(int depth=-1) { - std::stringstream s; - self->DumpJson(s, depth); - return s.str();} - }; - /****************** IsCurve3D ******************/ - /**** md5 signature: 6f953c114af47442e681e23b67fa28ca ****/ - %feature("compactdefaultargs") IsCurve3D; - %feature("autodoc", "Returns true. + /****************** DumpJson ******************/ + %feature("autodoc", " +Parameters +---------- +depth: int, default=-1 + +Return +------- +str -Returns +Description +----------- +Dump the object to JSON string. +") DumpJson; + %extend{ + std::string DumpJson(int depth=-1) { + std::stringstream s; + self->DumpJson(s, depth); + return "{" + s.str() + "}" ;} + }; + /****** BRep_Curve3D::IsCurve3D ******/ + /****** md5 signature: 6f953c114af47442e681e23b67fa28ca ******/ + %feature("compactdefaultargs") IsCurve3D; + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns True. ") IsCurve3D; virtual Standard_Boolean IsCurve3D(); @@ -4045,162 +4990,203 @@ bool ****************************/ class BRep_CurveOnSurface : public BRep_GCurve { public: - /****************** BRep_CurveOnSurface ******************/ - /**** md5 signature: 59273eae1970ce9ffdcf78e73cc3d381 ****/ + /****** BRep_CurveOnSurface::BRep_CurveOnSurface ******/ + /****** md5 signature: 59273eae1970ce9ffdcf78e73cc3d381 ******/ %feature("compactdefaultargs") BRep_CurveOnSurface; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- PC: Geom2d_Curve S: Geom_Surface L: TopLoc_Location -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRep_CurveOnSurface; BRep_CurveOnSurface(const opencascade::handle & PC, const opencascade::handle & S, const TopLoc_Location & L); - /****************** Copy ******************/ - /**** md5 signature: 51f97eb612b00599d2d5b762223f64b3 ****/ + /****** BRep_CurveOnSurface::Copy ******/ + /****** md5 signature: 51f97eb612b00599d2d5b762223f64b3 ******/ %feature("compactdefaultargs") Copy; - %feature("autodoc", "Return a copy of this representation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Return a copy of this representation. ") Copy; virtual opencascade::handle Copy(); - /****************** D0 ******************/ - /**** md5 signature: 5f7d08d8d17afc516aac9ef64bf9711f ****/ + /****** BRep_CurveOnSurface::D0 ******/ + /****** md5 signature: 5f7d08d8d17afc516aac9ef64bf9711f ******/ %feature("compactdefaultargs") D0; - %feature("autodoc", "Computes the point at parameter u. - + %feature("autodoc", " Parameters ---------- U: float P: gp_Pnt -Returns +Return ------- None + +Description +----------- +Computes the point at parameter U. ") D0; void D0(const Standard_Real U, gp_Pnt & P); - %feature("autodoc", "1"); - %extend{ - std::string DumpJsonToString(int depth=-1) { - std::stringstream s; - self->DumpJson(s, depth); - return s.str();} - }; - /****************** IsCurveOnSurface ******************/ - /**** md5 signature: 210e38c8bb961e7c47fbbde36d037c35 ****/ - %feature("compactdefaultargs") IsCurveOnSurface; - %feature("autodoc", "Returns true. + /****************** DumpJson ******************/ + %feature("autodoc", " +Parameters +---------- +depth: int, default=-1 -Returns +Return +------- +str + +Description +----------- +Dump the object to JSON string. +") DumpJson; + %extend{ + std::string DumpJson(int depth=-1) { + std::stringstream s; + self->DumpJson(s, depth); + return "{" + s.str() + "}" ;} + }; + /****** BRep_CurveOnSurface::IsCurveOnSurface ******/ + /****** md5 signature: 210e38c8bb961e7c47fbbde36d037c35 ******/ + %feature("compactdefaultargs") IsCurveOnSurface; + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns True. ") IsCurveOnSurface; virtual Standard_Boolean IsCurveOnSurface(); - /****************** IsCurveOnSurface ******************/ - /**** md5 signature: c4de9cee4f5ff1a1acbfc71cdf8caad2 ****/ + /****** BRep_CurveOnSurface::IsCurveOnSurface ******/ + /****** md5 signature: c4de9cee4f5ff1a1acbfc71cdf8caad2 ******/ %feature("compactdefaultargs") IsCurveOnSurface; - %feature("autodoc", "A curve in the parametric space of a surface. - + %feature("autodoc", " Parameters ---------- S: Geom_Surface L: TopLoc_Location -Returns +Return ------- bool + +Description +----------- +A curve in the parametric space of a surface. ") IsCurveOnSurface; virtual Standard_Boolean IsCurveOnSurface(const opencascade::handle & S, const TopLoc_Location & L); - /****************** PCurve ******************/ - /**** md5 signature: 9eebae17493f49c309610142e6619ca8 ****/ + /****** BRep_CurveOnSurface::PCurve ******/ + /****** md5 signature: 9eebae17493f49c309610142e6619ca8 ******/ %feature("compactdefaultargs") PCurve; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") PCurve; virtual const opencascade::handle & PCurve(); - /****************** PCurve ******************/ - /**** md5 signature: c4807c5709eff8d53531d97e5607b176 ****/ + /****** BRep_CurveOnSurface::PCurve ******/ + /****** md5 signature: c4807c5709eff8d53531d97e5607b176 ******/ %feature("compactdefaultargs") PCurve; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom2d_Curve -Returns +Return ------- None + +Description +----------- +No available documentation. ") PCurve; virtual void PCurve(const opencascade::handle & C); - /****************** SetUVPoints ******************/ - /**** md5 signature: 104bbdba35a986d957cf4a721e9b5cc6 ****/ + /****** BRep_CurveOnSurface::SetUVPoints ******/ + /****** md5 signature: 104bbdba35a986d957cf4a721e9b5cc6 ******/ %feature("compactdefaultargs") SetUVPoints; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P1: gp_Pnt2d P2: gp_Pnt2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetUVPoints; void SetUVPoints(const gp_Pnt2d & P1, const gp_Pnt2d & P2); - /****************** Surface ******************/ - /**** md5 signature: 15e9ea02ca588f3610ae3d0618d607d8 ****/ + /****** BRep_CurveOnSurface::Surface ******/ + /****** md5 signature: 15e9ea02ca588f3610ae3d0618d607d8 ******/ %feature("compactdefaultargs") Surface; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Surface; virtual const opencascade::handle & Surface(); - /****************** UVPoints ******************/ - /**** md5 signature: cd877f540e3e3c3a8721175d218d5d8b ****/ + /****** BRep_CurveOnSurface::UVPoints ******/ + /****** md5 signature: cd877f540e3e3c3a8721175d218d5d8b ******/ %feature("compactdefaultargs") UVPoints; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P1: gp_Pnt2d P2: gp_Pnt2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") UVPoints; void UVPoints(gp_Pnt2d & P1, gp_Pnt2d & P2); - /****************** Update ******************/ - /**** md5 signature: ee9219b845487d888d5a30df8b526357 ****/ + /****** BRep_CurveOnSurface::Update ******/ + /****** md5 signature: ee9219b845487d888d5a30df8b526357 ******/ %feature("compactdefaultargs") Update; - %feature("autodoc", "Recomputes any derived data after a modification. this is called when the range is modified. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Recomputes any derived data after a modification. This is called when the range is modified. ") Update; virtual void Update(); @@ -4220,11 +5206,10 @@ None ***********************************/ class BRep_PointOnCurveOnSurface : public BRep_PointsOnSurface { public: - /****************** BRep_PointOnCurveOnSurface ******************/ - /**** md5 signature: e93dfc821caf33fd5ca4ee23cbe7e57d ****/ + /****** BRep_PointOnCurveOnSurface::BRep_PointOnCurveOnSurface ******/ + /****** md5 signature: e93dfc821caf33fd5ca4ee23cbe7e57d ******/ %feature("compactdefaultargs") BRep_PointOnCurveOnSurface; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P: float @@ -4232,71 +5217,98 @@ C: Geom2d_Curve S: Geom_Surface L: TopLoc_Location -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRep_PointOnCurveOnSurface; BRep_PointOnCurveOnSurface(const Standard_Real P, const opencascade::handle & C, const opencascade::handle & S, const TopLoc_Location & L); - %feature("autodoc", "1"); - %extend{ - std::string DumpJsonToString(int depth=-1) { - std::stringstream s; - self->DumpJson(s, depth); - return s.str();} - }; - /****************** IsPointOnCurveOnSurface ******************/ - /**** md5 signature: 092d698478e6d62f4961b5532d2a7e6a ****/ - %feature("compactdefaultargs") IsPointOnCurveOnSurface; - %feature("autodoc", "Returns true. + /****************** DumpJson ******************/ + %feature("autodoc", " +Parameters +---------- +depth: int, default=-1 + +Return +------- +str -Returns +Description +----------- +Dump the object to JSON string. +") DumpJson; + %extend{ + std::string DumpJson(int depth=-1) { + std::stringstream s; + self->DumpJson(s, depth); + return "{" + s.str() + "}" ;} + }; + /****** BRep_PointOnCurveOnSurface::IsPointOnCurveOnSurface ******/ + /****** md5 signature: 092d698478e6d62f4961b5532d2a7e6a ******/ + %feature("compactdefaultargs") IsPointOnCurveOnSurface; + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns True. ") IsPointOnCurveOnSurface; virtual Standard_Boolean IsPointOnCurveOnSurface(); - /****************** IsPointOnCurveOnSurface ******************/ - /**** md5 signature: 55b5bb312fb131280144e3b9026be1c1 ****/ + /****** BRep_PointOnCurveOnSurface::IsPointOnCurveOnSurface ******/ + /****** md5 signature: 55b5bb312fb131280144e3b9026be1c1 ******/ %feature("compactdefaultargs") IsPointOnCurveOnSurface; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- PC: Geom2d_Curve S: Geom_Surface L: TopLoc_Location -Returns +Return ------- bool + +Description +----------- +No available documentation. ") IsPointOnCurveOnSurface; virtual Standard_Boolean IsPointOnCurveOnSurface(const opencascade::handle & PC, const opencascade::handle & S, const TopLoc_Location & L); - /****************** PCurve ******************/ - /**** md5 signature: 9eebae17493f49c309610142e6619ca8 ****/ + /****** BRep_PointOnCurveOnSurface::PCurve ******/ + /****** md5 signature: 9eebae17493f49c309610142e6619ca8 ******/ %feature("compactdefaultargs") PCurve; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") PCurve; virtual const opencascade::handle & PCurve(); - /****************** PCurve ******************/ - /**** md5 signature: c4807c5709eff8d53531d97e5607b176 ****/ + /****** BRep_PointOnCurveOnSurface::PCurve ******/ + /****** md5 signature: c4807c5709eff8d53531d97e5607b176 ******/ %feature("compactdefaultargs") PCurve; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom2d_Curve -Returns +Return ------- None + +Description +----------- +No available documentation. ") PCurve; virtual void PCurve(const opencascade::handle & C); @@ -4316,11 +5328,10 @@ None ****************************/ class BRep_PointOnSurface : public BRep_PointsOnSurface { public: - /****************** BRep_PointOnSurface ******************/ - /**** md5 signature: 60272da688749be0222b20d59cb0ac08 ****/ + /****** BRep_PointOnSurface::BRep_PointOnSurface ******/ + /****** md5 signature: 60272da688749be0222b20d59cb0ac08 ******/ %feature("compactdefaultargs") BRep_PointOnSurface; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P1: float @@ -4328,62 +5339,76 @@ P2: float S: Geom_Surface L: TopLoc_Location -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRep_PointOnSurface; BRep_PointOnSurface(const Standard_Real P1, const Standard_Real P2, const opencascade::handle & S, const TopLoc_Location & L); - /****************** IsPointOnSurface ******************/ - /**** md5 signature: 44c0910cf7013a21d92b11818dc5b8a3 ****/ + /****** BRep_PointOnSurface::IsPointOnSurface ******/ + /****** md5 signature: 44c0910cf7013a21d92b11818dc5b8a3 ******/ %feature("compactdefaultargs") IsPointOnSurface; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsPointOnSurface; virtual Standard_Boolean IsPointOnSurface(); - /****************** IsPointOnSurface ******************/ - /**** md5 signature: f3ce16cf5210f544c5b5896a8ea5a83a ****/ + /****** BRep_PointOnSurface::IsPointOnSurface ******/ + /****** md5 signature: f3ce16cf5210f544c5b5896a8ea5a83a ******/ %feature("compactdefaultargs") IsPointOnSurface; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: Geom_Surface L: TopLoc_Location -Returns +Return ------- bool + +Description +----------- +No available documentation. ") IsPointOnSurface; virtual Standard_Boolean IsPointOnSurface(const opencascade::handle & S, const TopLoc_Location & L); - /****************** Parameter2 ******************/ - /**** md5 signature: 4f32a1edb12e9ae972dce28ff068e1f9 ****/ + /****** BRep_PointOnSurface::Parameter2 ******/ + /****** md5 signature: 4f32a1edb12e9ae972dce28ff068e1f9 ******/ %feature("compactdefaultargs") Parameter2; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") Parameter2; virtual Standard_Real Parameter2(); - /****************** Parameter2 ******************/ - /**** md5 signature: b708a4a4c1d3b711f897a056c2332b20 ****/ + /****** BRep_PointOnSurface::Parameter2 ******/ + /****** md5 signature: b708a4a4c1d3b711f897a056c2332b20 ******/ %feature("compactdefaultargs") Parameter2; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") Parameter2; virtual void Parameter2(const Standard_Real P); @@ -4403,11 +5428,10 @@ None ************************************/ class BRep_PolygonOnClosedSurface : public BRep_PolygonOnSurface { public: - /****************** BRep_PolygonOnClosedSurface ******************/ - /**** md5 signature: e9ddffbb8250345ed95293e459416abf ****/ + /****** BRep_PolygonOnClosedSurface::BRep_PolygonOnClosedSurface ******/ + /****** md5 signature: e9ddffbb8250345ed95293e459416abf ******/ %feature("compactdefaultargs") BRep_PolygonOnClosedSurface; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P1: Poly_Polygon2D @@ -4415,65 +5439,91 @@ P2: Poly_Polygon2D S: Geom_Surface L: TopLoc_Location -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRep_PolygonOnClosedSurface; BRep_PolygonOnClosedSurface(const opencascade::handle & P1, const opencascade::handle & P2, const opencascade::handle & S, const TopLoc_Location & L); - /****************** Copy ******************/ - /**** md5 signature: 51f97eb612b00599d2d5b762223f64b3 ****/ + /****** BRep_PolygonOnClosedSurface::Copy ******/ + /****** md5 signature: 51f97eb612b00599d2d5b762223f64b3 ******/ %feature("compactdefaultargs") Copy; - %feature("autodoc", "Return a copy of this representation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Return a copy of this representation. ") Copy; virtual opencascade::handle Copy(); - %feature("autodoc", "1"); - %extend{ - std::string DumpJsonToString(int depth=-1) { - std::stringstream s; - self->DumpJson(s, depth); - return s.str();} - }; - /****************** IsPolygonOnClosedSurface ******************/ - /**** md5 signature: 411040a5cb708182d4445a5125b84a85 ****/ - %feature("compactdefaultargs") IsPolygonOnClosedSurface; - %feature("autodoc", "Returns true. + /****************** DumpJson ******************/ + %feature("autodoc", " +Parameters +---------- +depth: int, default=-1 + +Return +------- +str -Returns +Description +----------- +Dump the object to JSON string. +") DumpJson; + %extend{ + std::string DumpJson(int depth=-1) { + std::stringstream s; + self->DumpJson(s, depth); + return "{" + s.str() + "}" ;} + }; + /****** BRep_PolygonOnClosedSurface::IsPolygonOnClosedSurface ******/ + /****** md5 signature: 411040a5cb708182d4445a5125b84a85 ******/ + %feature("compactdefaultargs") IsPolygonOnClosedSurface; + %feature("autodoc", "Return ------- bool + +Description +----------- +returns True. ") IsPolygonOnClosedSurface; virtual Standard_Boolean IsPolygonOnClosedSurface(); - /****************** Polygon2 ******************/ - /**** md5 signature: c307e8ebb624c2764bfb13d6f321c03f ****/ + /****** BRep_PolygonOnClosedSurface::Polygon2 ******/ + /****** md5 signature: c307e8ebb624c2764bfb13d6f321c03f ******/ %feature("compactdefaultargs") Polygon2; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Polygon2; virtual const opencascade::handle & Polygon2(); - /****************** Polygon2 ******************/ - /**** md5 signature: aa9cd6dbf402bfda961114b161fa8333 ****/ + /****** BRep_PolygonOnClosedSurface::Polygon2 ******/ + /****** md5 signature: aa9cd6dbf402bfda961114b161fa8333 ******/ %feature("compactdefaultargs") Polygon2; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P: Poly_Polygon2D -Returns +Return ------- None + +Description +----------- +No available documentation. ") Polygon2; virtual void Polygon2(const opencascade::handle & P); @@ -4493,11 +5543,10 @@ None ******************************************/ class BRep_PolygonOnClosedTriangulation : public BRep_PolygonOnTriangulation { public: - /****************** BRep_PolygonOnClosedTriangulation ******************/ - /**** md5 signature: 9f8d780a4647186d27acb4c47dd6b93e ****/ + /****** BRep_PolygonOnClosedTriangulation::BRep_PolygonOnClosedTriangulation ******/ + /****** md5 signature: 9f8d780a4647186d27acb4c47dd6b93e ******/ %feature("compactdefaultargs") BRep_PolygonOnClosedTriangulation; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P1: Poly_PolygonOnTriangulation @@ -4505,65 +5554,91 @@ P2: Poly_PolygonOnTriangulation Tr: Poly_Triangulation L: TopLoc_Location -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRep_PolygonOnClosedTriangulation; BRep_PolygonOnClosedTriangulation(const opencascade::handle & P1, const opencascade::handle & P2, const opencascade::handle & Tr, const TopLoc_Location & L); - /****************** Copy ******************/ - /**** md5 signature: 51f97eb612b00599d2d5b762223f64b3 ****/ + /****** BRep_PolygonOnClosedTriangulation::Copy ******/ + /****** md5 signature: 51f97eb612b00599d2d5b762223f64b3 ******/ %feature("compactdefaultargs") Copy; - %feature("autodoc", "Return a copy of this representation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Return a copy of this representation. ") Copy; virtual opencascade::handle Copy(); - %feature("autodoc", "1"); - %extend{ - std::string DumpJsonToString(int depth=-1) { - std::stringstream s; - self->DumpJson(s, depth); - return s.str();} - }; - /****************** IsPolygonOnClosedTriangulation ******************/ - /**** md5 signature: 7402c9a74e47f727da04da14988b5819 ****/ - %feature("compactdefaultargs") IsPolygonOnClosedTriangulation; - %feature("autodoc", "Returns true. + /****************** DumpJson ******************/ + %feature("autodoc", " +Parameters +---------- +depth: int, default=-1 -Returns +Return +------- +str + +Description +----------- +Dump the object to JSON string. +") DumpJson; + %extend{ + std::string DumpJson(int depth=-1) { + std::stringstream s; + self->DumpJson(s, depth); + return "{" + s.str() + "}" ;} + }; + /****** BRep_PolygonOnClosedTriangulation::IsPolygonOnClosedTriangulation ******/ + /****** md5 signature: 7402c9a74e47f727da04da14988b5819 ******/ + %feature("compactdefaultargs") IsPolygonOnClosedTriangulation; + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns True. ") IsPolygonOnClosedTriangulation; virtual Standard_Boolean IsPolygonOnClosedTriangulation(); - /****************** PolygonOnTriangulation2 ******************/ - /**** md5 signature: f6eda594ab3c0f7d7e1508fe7826f971 ****/ + /****** BRep_PolygonOnClosedTriangulation::PolygonOnTriangulation2 ******/ + /****** md5 signature: f6eda594ab3c0f7d7e1508fe7826f971 ******/ %feature("compactdefaultargs") PolygonOnTriangulation2; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P2: Poly_PolygonOnTriangulation -Returns +Return ------- None + +Description +----------- +No available documentation. ") PolygonOnTriangulation2; virtual void PolygonOnTriangulation2(const opencascade::handle & P2); - /****************** PolygonOnTriangulation2 ******************/ - /**** md5 signature: 1a6454953aa9e78b14e72ba9aebf1711 ****/ + /****** BRep_PolygonOnClosedTriangulation::PolygonOnTriangulation2 ******/ + /****** md5 signature: 1a6454953aa9e78b14e72ba9aebf1711 ******/ %feature("compactdefaultargs") PolygonOnTriangulation2; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") PolygonOnTriangulation2; virtual const opencascade::handle & PolygonOnTriangulation2(); @@ -4583,11 +5658,10 @@ opencascade::handle **********************************/ class BRep_CurveOnClosedSurface : public BRep_CurveOnSurface { public: - /****************** BRep_CurveOnClosedSurface ******************/ - /**** md5 signature: bd39ef3bd765f2ef4d84c061706a0fa1 ****/ + /****** BRep_CurveOnClosedSurface::BRep_CurveOnClosedSurface ******/ + /****** md5 signature: bd39ef3bd765f2ef4d84c061706a0fa1 ******/ %feature("compactdefaultargs") BRep_CurveOnClosedSurface; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- PC1: Geom2d_Curve @@ -4596,84 +5670,111 @@ S: Geom_Surface L: TopLoc_Location C: GeomAbs_Shape -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: 67f71f7e1008e6ff605877f145944f2b ****/ + /****** BRep_CurveOnClosedSurface::Continuity ******/ + /****** md5 signature: 67f71f7e1008e6ff605877f145944f2b ******/ %feature("compactdefaultargs") Continuity; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- GeomAbs_Shape + +Description +----------- +No available documentation. ") Continuity; - virtual const GeomAbs_Shape & Continuity(); + virtual const GeomAbs_Shape Continuity(); - /****************** Continuity ******************/ - /**** md5 signature: 7efede569c5d15316e14f5232ee3a296 ****/ + /****** BRep_CurveOnClosedSurface::Continuity ******/ + /****** md5 signature: 7efede569c5d15316e14f5232ee3a296 ******/ %feature("compactdefaultargs") Continuity; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: GeomAbs_Shape -Returns +Return ------- None + +Description +----------- +No available documentation. ") Continuity; virtual void Continuity(const GeomAbs_Shape C); - /****************** Copy ******************/ - /**** md5 signature: 51f97eb612b00599d2d5b762223f64b3 ****/ + /****** BRep_CurveOnClosedSurface::Copy ******/ + /****** md5 signature: 51f97eb612b00599d2d5b762223f64b3 ******/ %feature("compactdefaultargs") Copy; - %feature("autodoc", "Return a copy of this representation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Return a copy of this representation. ") Copy; virtual opencascade::handle Copy(); - %feature("autodoc", "1"); - %extend{ - std::string DumpJsonToString(int depth=-1) { - std::stringstream s; - self->DumpJson(s, depth); - return s.str();} - }; - /****************** IsCurveOnClosedSurface ******************/ - /**** md5 signature: bec88248a793536f6c3cf9265d01178c ****/ - %feature("compactdefaultargs") IsCurveOnClosedSurface; - %feature("autodoc", "Returns true. + /****************** DumpJson ******************/ + %feature("autodoc", " +Parameters +---------- +depth: int, default=-1 + +Return +------- +str -Returns +Description +----------- +Dump the object to JSON string. +") DumpJson; + %extend{ + std::string DumpJson(int depth=-1) { + std::stringstream s; + self->DumpJson(s, depth); + return "{" + s.str() + "}" ;} + }; + /****** BRep_CurveOnClosedSurface::IsCurveOnClosedSurface ******/ + /****** md5 signature: bec88248a793536f6c3cf9265d01178c ******/ + %feature("compactdefaultargs") IsCurveOnClosedSurface; + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns True. ") IsCurveOnClosedSurface; virtual Standard_Boolean IsCurveOnClosedSurface(); - /****************** IsRegularity ******************/ - /**** md5 signature: fc2d0c9ac93b7bd44a0b1730043df993 ****/ + /****** BRep_CurveOnClosedSurface::IsRegularity ******/ + /****** md5 signature: fc2d0c9ac93b7bd44a0b1730043df993 ******/ %feature("compactdefaultargs") IsRegularity; - %feature("autodoc", "Returns true. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns True. ") IsRegularity; virtual Standard_Boolean IsRegularity(); - /****************** IsRegularity ******************/ - /**** md5 signature: d342137f91cebeb239140ef772bbae74 ****/ + /****** BRep_CurveOnClosedSurface::IsRegularity ******/ + /****** md5 signature: d342137f91cebeb239140ef772bbae74 ******/ %feature("compactdefaultargs") IsRegularity; - %feature("autodoc", "A curve on two surfaces (continuity). - + %feature("autodoc", " Parameters ---------- S1: Geom_Surface @@ -4681,100 +5782,121 @@ S2: Geom_Surface L1: TopLoc_Location L2: TopLoc_Location -Returns +Return ------- bool + +Description +----------- +A curve on two surfaces (continuity). ") IsRegularity; virtual Standard_Boolean IsRegularity(const opencascade::handle & S1, const opencascade::handle & S2, const TopLoc_Location & L1, const TopLoc_Location & L2); - /****************** Location2 ******************/ - /**** md5 signature: 35a20609403ba9e885d7f5ec0a54a126 ****/ + /****** BRep_CurveOnClosedSurface::Location2 ******/ + /****** md5 signature: 35a20609403ba9e885d7f5ec0a54a126 ******/ %feature("compactdefaultargs") Location2; - %feature("autodoc", "Returns location(). - -Returns + %feature("autodoc", "Return ------- TopLoc_Location + +Description +----------- +Returns Location(). ") Location2; virtual const TopLoc_Location & Location2(); - /****************** PCurve2 ******************/ - /**** md5 signature: 48968d988acdaee69dcf1ac4f2402272 ****/ + /****** BRep_CurveOnClosedSurface::PCurve2 ******/ + /****** md5 signature: 48968d988acdaee69dcf1ac4f2402272 ******/ %feature("compactdefaultargs") PCurve2; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") PCurve2; virtual const opencascade::handle & PCurve2(); - /****************** PCurve2 ******************/ - /**** md5 signature: 303604ea4f669013435b6e0712793764 ****/ + /****** BRep_CurveOnClosedSurface::PCurve2 ******/ + /****** md5 signature: 303604ea4f669013435b6e0712793764 ******/ %feature("compactdefaultargs") PCurve2; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom2d_Curve -Returns +Return ------- None + +Description +----------- +No available documentation. ") PCurve2; virtual void PCurve2(const opencascade::handle & C); - /****************** SetUVPoints2 ******************/ - /**** md5 signature: 07669b38a7f71653c011c2f5b054db10 ****/ + /****** BRep_CurveOnClosedSurface::SetUVPoints2 ******/ + /****** md5 signature: 07669b38a7f71653c011c2f5b054db10 ******/ %feature("compactdefaultargs") SetUVPoints2; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P1: gp_Pnt2d P2: gp_Pnt2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetUVPoints2; void SetUVPoints2(const gp_Pnt2d & P1, const gp_Pnt2d & P2); - /****************** Surface2 ******************/ - /**** md5 signature: 839f1c1ff057d92a50c65c26a6c27dd5 ****/ + /****** BRep_CurveOnClosedSurface::Surface2 ******/ + /****** md5 signature: 839f1c1ff057d92a50c65c26a6c27dd5 ******/ %feature("compactdefaultargs") Surface2; - %feature("autodoc", "Returns surface(). - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns Surface(). ") Surface2; virtual const opencascade::handle & Surface2(); - /****************** UVPoints2 ******************/ - /**** md5 signature: 3ec595626a689f480a664aa42f0f31ba ****/ + /****** BRep_CurveOnClosedSurface::UVPoints2 ******/ + /****** md5 signature: 3ec595626a689f480a664aa42f0f31ba ******/ %feature("compactdefaultargs") UVPoints2; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P1: gp_Pnt2d P2: gp_Pnt2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") UVPoints2; void UVPoints2(gp_Pnt2d & P1, gp_Pnt2d & P2); - /****************** Update ******************/ - /**** md5 signature: ee9219b845487d888d5a30df8b526357 ****/ + /****** BRep_CurveOnClosedSurface::Update ******/ + /****** md5 signature: ee9219b845487d888d5a30df8b526357 ******/ %feature("compactdefaultargs") Update; - %feature("autodoc", "Recomputes any derived data after a modification. this is called when the range is modified. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Recomputes any derived data after a modification. This is called when the range is modified. ") Update; virtual void Update(); @@ -4795,3 +5917,214 @@ None /* class aliases */ %pythoncode { } +/* deprecated methods */ +%pythoncode { +@deprecated +def BRep_Tool_Continuity(*args): + return BRep_Tool.Continuity(*args) + +@deprecated +def BRep_Tool_Continuity(*args): + return BRep_Tool.Continuity(*args) + +@deprecated +def BRep_Tool_Curve(*args): + return BRep_Tool.Curve(*args) + +@deprecated +def BRep_Tool_Curve(*args): + return BRep_Tool.Curve(*args) + +@deprecated +def BRep_Tool_CurveOnPlane(*args): + return BRep_Tool.CurveOnPlane(*args) + +@deprecated +def BRep_Tool_CurveOnSurface(*args): + return BRep_Tool.CurveOnSurface(*args) + +@deprecated +def BRep_Tool_CurveOnSurface(*args): + return BRep_Tool.CurveOnSurface(*args) + +@deprecated +def BRep_Tool_CurveOnSurface(*args): + return BRep_Tool.CurveOnSurface(*args) + +@deprecated +def BRep_Tool_CurveOnSurface(*args): + return BRep_Tool.CurveOnSurface(*args) + +@deprecated +def BRep_Tool_Degenerated(*args): + return BRep_Tool.Degenerated(*args) + +@deprecated +def BRep_Tool_HasContinuity(*args): + return BRep_Tool.HasContinuity(*args) + +@deprecated +def BRep_Tool_HasContinuity(*args): + return BRep_Tool.HasContinuity(*args) + +@deprecated +def BRep_Tool_HasContinuity(*args): + return BRep_Tool.HasContinuity(*args) + +@deprecated +def BRep_Tool_IsClosed(*args): + return BRep_Tool.IsClosed(*args) + +@deprecated +def BRep_Tool_IsClosed(*args): + return BRep_Tool.IsClosed(*args) + +@deprecated +def BRep_Tool_IsClosed(*args): + return BRep_Tool.IsClosed(*args) + +@deprecated +def BRep_Tool_IsClosed(*args): + return BRep_Tool.IsClosed(*args) + +@deprecated +def BRep_Tool_IsGeometric(*args): + return BRep_Tool.IsGeometric(*args) + +@deprecated +def BRep_Tool_IsGeometric(*args): + return BRep_Tool.IsGeometric(*args) + +@deprecated +def BRep_Tool_MaxContinuity(*args): + return BRep_Tool.MaxContinuity(*args) + +@deprecated +def BRep_Tool_MaxTolerance(*args): + return BRep_Tool.MaxTolerance(*args) + +@deprecated +def BRep_Tool_NaturalRestriction(*args): + return BRep_Tool.NaturalRestriction(*args) + +@deprecated +def BRep_Tool_Parameter(*args): + return BRep_Tool.Parameter(*args) + +@deprecated +def BRep_Tool_Parameter(*args): + return BRep_Tool.Parameter(*args) + +@deprecated +def BRep_Tool_Parameter(*args): + return BRep_Tool.Parameter(*args) + +@deprecated +def BRep_Tool_Parameter(*args): + return BRep_Tool.Parameter(*args) + +@deprecated +def BRep_Tool_Parameters(*args): + return BRep_Tool.Parameters(*args) + +@deprecated +def BRep_Tool_Pnt(*args): + return BRep_Tool.Pnt(*args) + +@deprecated +def BRep_Tool_Polygon3D(*args): + return BRep_Tool.Polygon3D(*args) + +@deprecated +def BRep_Tool_PolygonOnSurface(*args): + return BRep_Tool.PolygonOnSurface(*args) + +@deprecated +def BRep_Tool_PolygonOnSurface(*args): + return BRep_Tool.PolygonOnSurface(*args) + +@deprecated +def BRep_Tool_PolygonOnSurface(*args): + return BRep_Tool.PolygonOnSurface(*args) + +@deprecated +def BRep_Tool_PolygonOnSurface(*args): + return BRep_Tool.PolygonOnSurface(*args) + +@deprecated +def BRep_Tool_PolygonOnTriangulation(*args): + return BRep_Tool.PolygonOnTriangulation(*args) + +@deprecated +def BRep_Tool_PolygonOnTriangulation(*args): + return BRep_Tool.PolygonOnTriangulation(*args) + +@deprecated +def BRep_Tool_PolygonOnTriangulation(*args): + return BRep_Tool.PolygonOnTriangulation(*args) + +@deprecated +def BRep_Tool_Range(*args): + return BRep_Tool.Range(*args) + +@deprecated +def BRep_Tool_Range(*args): + return BRep_Tool.Range(*args) + +@deprecated +def BRep_Tool_Range(*args): + return BRep_Tool.Range(*args) + +@deprecated +def BRep_Tool_SameParameter(*args): + return BRep_Tool.SameParameter(*args) + +@deprecated +def BRep_Tool_SameRange(*args): + return BRep_Tool.SameRange(*args) + +@deprecated +def BRep_Tool_SetUVPoints(*args): + return BRep_Tool.SetUVPoints(*args) + +@deprecated +def BRep_Tool_SetUVPoints(*args): + return BRep_Tool.SetUVPoints(*args) + +@deprecated +def BRep_Tool_Surface(*args): + return BRep_Tool.Surface(*args) + +@deprecated +def BRep_Tool_Surface(*args): + return BRep_Tool.Surface(*args) + +@deprecated +def BRep_Tool_Tolerance(*args): + return BRep_Tool.Tolerance(*args) + +@deprecated +def BRep_Tool_Tolerance(*args): + return BRep_Tool.Tolerance(*args) + +@deprecated +def BRep_Tool_Tolerance(*args): + return BRep_Tool.Tolerance(*args) + +@deprecated +def BRep_Tool_Triangulation(*args): + return BRep_Tool.Triangulation(*args) + +@deprecated +def BRep_Tool_Triangulations(*args): + return BRep_Tool.Triangulations(*args) + +@deprecated +def BRep_Tool_UVPoints(*args): + return BRep_Tool.UVPoints(*args) + +@deprecated +def BRep_Tool_UVPoints(*args): + return BRep_Tool.UVPoints(*args) + +} diff --git a/src/SWIG_files/wrapper/BRep.pyi b/src/SWIG_files/wrapper/BRep.pyi index d11f79982..1e48781f8 100644 --- a/src/SWIG_files/wrapper/BRep.pyi +++ b/src/SWIG_files/wrapper/BRep.pyi @@ -12,670 +12,945 @@ from OCC.Core.gp import * from OCC.Core.Geom2d import * from OCC.Core.TopAbs import * - class BRep_ListOfCurveRepresentation: - def __init__(self) -> None: ... - def __len__(self) -> int: ... - def Size(self) -> int: ... + def Append(self, theItem: False) -> False: ... + def Assign( + self, theItem: BRep_ListOfCurveRepresentation + ) -> BRep_ListOfCurveRepresentation: ... def Clear(self) -> None: ... def First(self) -> False: ... def Last(self) -> False: ... - def Append(self, theItem: False) -> False: ... def Prepend(self, theItem: False) -> False: ... def RemoveFirst(self) -> None: ... def Reverse(self) -> None: ... - def Value(self, theIndex: int) -> False: ... - def SetValue(self, theIndex: int, theValue: False) -> None: ... - -class BRep_ListOfPointRepresentation: + def Size(self) -> int: ... def __init__(self) -> None: ... def __len__(self) -> int: ... - def Size(self) -> int: ... + def __iter__(self) -> False: ... + +class BRep_ListOfPointRepresentation: + def Append(self, theItem: False) -> False: ... + def Assign( + self, theItem: BRep_ListOfPointRepresentation + ) -> BRep_ListOfPointRepresentation: ... def Clear(self) -> None: ... def First(self) -> False: ... def Last(self) -> False: ... - def Append(self, theItem: False) -> False: ... def Prepend(self, theItem: False) -> False: ... def RemoveFirst(self) -> None: ... def Reverse(self) -> None: ... - def Value(self, theIndex: int) -> False: ... - def SetValue(self, theIndex: int, theValue: False) -> None: ... + def Size(self) -> int: ... + def __init__(self) -> None: ... + def __len__(self) -> int: ... + def __iter__(self) -> False: ... class BRep_Builder(TopoDS_Builder): - @overload - def Continuity(self, E: TopoDS_Edge, F1: TopoDS_Face, F2: TopoDS_Face, C: GeomAbs_Shape) -> None: ... - @overload - def Continuity(self, E: TopoDS_Edge, S1: Geom_Surface, S2: Geom_Surface, L1: TopLoc_Location, L2: TopLoc_Location, C: GeomAbs_Shape) -> None: ... - def Degenerated(self, E: TopoDS_Edge, D: bool) -> None: ... - @overload - def MakeEdge(self, E: TopoDS_Edge) -> None: ... - @overload - def MakeEdge(self, E: TopoDS_Edge, C: Geom_Curve, Tol: float) -> None: ... - @overload - def MakeEdge(self, E: TopoDS_Edge, C: Geom_Curve, L: TopLoc_Location, Tol: float) -> None: ... - @overload - def MakeEdge(self, E: TopoDS_Edge, P: Poly_Polygon3D) -> None: ... - @overload - def MakeEdge(self, E: TopoDS_Edge, N: Poly_PolygonOnTriangulation, T: Poly_Triangulation) -> None: ... - @overload - def MakeEdge(self, E: TopoDS_Edge, N: Poly_PolygonOnTriangulation, T: Poly_Triangulation, L: TopLoc_Location) -> None: ... - @overload - def MakeFace(self, F: TopoDS_Face) -> None: ... - @overload - def MakeFace(self, F: TopoDS_Face, S: Geom_Surface, Tol: float) -> None: ... - @overload - def MakeFace(self, F: TopoDS_Face, S: Geom_Surface, L: TopLoc_Location, Tol: float) -> None: ... - @overload - def MakeFace(self, F: TopoDS_Face, T: Poly_Triangulation) -> None: ... - @overload - def MakeVertex(self, V: TopoDS_Vertex) -> None: ... - @overload - def MakeVertex(self, V: TopoDS_Vertex, P: gp_Pnt, Tol: float) -> None: ... - def NaturalRestriction(self, F: TopoDS_Face, N: bool) -> None: ... - @overload - def Range(self, E: TopoDS_Edge, First: float, Last: float, Only3d: Optional[bool] = False) -> None: ... - @overload - def Range(self, E: TopoDS_Edge, S: Geom_Surface, L: TopLoc_Location, First: float, Last: float) -> None: ... - @overload - def Range(self, E: TopoDS_Edge, F: TopoDS_Face, First: float, Last: float) -> None: ... - def SameParameter(self, E: TopoDS_Edge, S: bool) -> None: ... - def SameRange(self, E: TopoDS_Edge, S: bool) -> None: ... - @overload - def Transfert(self, Ein: TopoDS_Edge, Eout: TopoDS_Edge) -> None: ... - @overload - def Transfert(self, Ein: TopoDS_Edge, Eout: TopoDS_Edge, Vin: TopoDS_Vertex, Vout: TopoDS_Vertex) -> None: ... - @overload - def UpdateEdge(self, E: TopoDS_Edge, C: Geom_Curve, Tol: float) -> None: ... - @overload - def UpdateEdge(self, E: TopoDS_Edge, C: Geom_Curve, L: TopLoc_Location, Tol: float) -> None: ... - @overload - def UpdateEdge(self, E: TopoDS_Edge, C: Geom2d_Curve, F: TopoDS_Face, Tol: float) -> None: ... - @overload - def UpdateEdge(self, E: TopoDS_Edge, C1: Geom2d_Curve, C2: Geom2d_Curve, F: TopoDS_Face, Tol: float) -> None: ... - @overload - def UpdateEdge(self, E: TopoDS_Edge, C: Geom2d_Curve, S: Geom_Surface, L: TopLoc_Location, Tol: float) -> None: ... - @overload - def UpdateEdge(self, E: TopoDS_Edge, C: Geom2d_Curve, S: Geom_Surface, L: TopLoc_Location, Tol: float, Pf: gp_Pnt2d, Pl: gp_Pnt2d) -> None: ... - @overload - def UpdateEdge(self, E: TopoDS_Edge, C1: Geom2d_Curve, C2: Geom2d_Curve, S: Geom_Surface, L: TopLoc_Location, Tol: float) -> None: ... - @overload - def UpdateEdge(self, E: TopoDS_Edge, C1: Geom2d_Curve, C2: Geom2d_Curve, S: Geom_Surface, L: TopLoc_Location, Tol: float, Pf: gp_Pnt2d, Pl: gp_Pnt2d) -> None: ... - @overload - def UpdateEdge(self, E: TopoDS_Edge, P: Poly_Polygon3D) -> None: ... - @overload - def UpdateEdge(self, E: TopoDS_Edge, P: Poly_Polygon3D, L: TopLoc_Location) -> None: ... - @overload - def UpdateEdge(self, E: TopoDS_Edge, N: Poly_PolygonOnTriangulation, T: Poly_Triangulation) -> None: ... - @overload - def UpdateEdge(self, E: TopoDS_Edge, N: Poly_PolygonOnTriangulation, T: Poly_Triangulation, L: TopLoc_Location) -> None: ... - @overload - def UpdateEdge(self, E: TopoDS_Edge, N1: Poly_PolygonOnTriangulation, N2: Poly_PolygonOnTriangulation, T: Poly_Triangulation) -> None: ... - @overload - def UpdateEdge(self, E: TopoDS_Edge, N1: Poly_PolygonOnTriangulation, N2: Poly_PolygonOnTriangulation, T: Poly_Triangulation, L: TopLoc_Location) -> None: ... - @overload - def UpdateEdge(self, E: TopoDS_Edge, P: Poly_Polygon2D, S: TopoDS_Face) -> None: ... - @overload - def UpdateEdge(self, E: TopoDS_Edge, P: Poly_Polygon2D, S: Geom_Surface, T: TopLoc_Location) -> None: ... - @overload - def UpdateEdge(self, E: TopoDS_Edge, P1: Poly_Polygon2D, P2: Poly_Polygon2D, S: TopoDS_Face) -> None: ... - @overload - def UpdateEdge(self, E: TopoDS_Edge, P1: Poly_Polygon2D, P2: Poly_Polygon2D, S: Geom_Surface, L: TopLoc_Location) -> None: ... - @overload - def UpdateEdge(self, E: TopoDS_Edge, Tol: float) -> None: ... - @overload - def UpdateFace(self, F: TopoDS_Face, S: Geom_Surface, L: TopLoc_Location, Tol: float) -> None: ... - @overload - def UpdateFace(self, F: TopoDS_Face, T: Poly_Triangulation) -> None: ... - @overload - def UpdateFace(self, F: TopoDS_Face, Tol: float) -> None: ... - @overload - def UpdateVertex(self, V: TopoDS_Vertex, P: gp_Pnt, Tol: float) -> None: ... - @overload - def UpdateVertex(self, V: TopoDS_Vertex, P: float, E: TopoDS_Edge, Tol: float) -> None: ... - @overload - def UpdateVertex(self, V: TopoDS_Vertex, P: float, E: TopoDS_Edge, F: TopoDS_Face, Tol: float) -> None: ... - @overload - def UpdateVertex(self, V: TopoDS_Vertex, P: float, E: TopoDS_Edge, S: Geom_Surface, L: TopLoc_Location, Tol: float) -> None: ... - @overload - def UpdateVertex(self, Ve: TopoDS_Vertex, U: float, V: float, F: TopoDS_Face, Tol: float) -> None: ... - @overload - def UpdateVertex(self, V: TopoDS_Vertex, Tol: float) -> None: ... + @overload + def Continuity( + self, E: TopoDS_Edge, F1: TopoDS_Face, F2: TopoDS_Face, C: GeomAbs_Shape + ) -> None: ... + @overload + def Continuity( + self, + E: TopoDS_Edge, + S1: Geom_Surface, + S2: Geom_Surface, + L1: TopLoc_Location, + L2: TopLoc_Location, + C: GeomAbs_Shape, + ) -> None: ... + def Degenerated(self, E: TopoDS_Edge, D: bool) -> None: ... + @overload + def MakeEdge(self, E: TopoDS_Edge) -> None: ... + @overload + def MakeEdge(self, E: TopoDS_Edge, C: Geom_Curve, Tol: float) -> None: ... + @overload + def MakeEdge( + self, E: TopoDS_Edge, C: Geom_Curve, L: TopLoc_Location, Tol: float + ) -> None: ... + @overload + def MakeEdge(self, E: TopoDS_Edge, P: Poly_Polygon3D) -> None: ... + @overload + def MakeEdge( + self, E: TopoDS_Edge, N: Poly_PolygonOnTriangulation, T: Poly_Triangulation + ) -> None: ... + @overload + def MakeEdge( + self, + E: TopoDS_Edge, + N: Poly_PolygonOnTriangulation, + T: Poly_Triangulation, + L: TopLoc_Location, + ) -> None: ... + @overload + def MakeFace(self, F: TopoDS_Face) -> None: ... + @overload + def MakeFace(self, F: TopoDS_Face, S: Geom_Surface, Tol: float) -> None: ... + @overload + def MakeFace( + self, F: TopoDS_Face, S: Geom_Surface, L: TopLoc_Location, Tol: float + ) -> None: ... + @overload + def MakeFace( + self, theFace: TopoDS_Face, theTriangulation: Poly_Triangulation + ) -> None: ... + @overload + def MakeFace( + self, + theFace: TopoDS_Face, + theTriangulations: Poly_ListOfTriangulation, + theActiveTriangulation: Optional[Poly_Triangulation] = Poly_Triangulation(), + ) -> None: ... + @overload + def MakeVertex(self, V: TopoDS_Vertex) -> None: ... + @overload + def MakeVertex(self, V: TopoDS_Vertex, P: gp_Pnt, Tol: float) -> None: ... + def NaturalRestriction(self, F: TopoDS_Face, N: bool) -> None: ... + @overload + def Range( + self, E: TopoDS_Edge, First: float, Last: float, Only3d: Optional[bool] = False + ) -> None: ... + @overload + def Range( + self, + E: TopoDS_Edge, + S: Geom_Surface, + L: TopLoc_Location, + First: float, + Last: float, + ) -> None: ... + @overload + def Range( + self, E: TopoDS_Edge, F: TopoDS_Face, First: float, Last: float + ) -> None: ... + def SameParameter(self, E: TopoDS_Edge, S: bool) -> None: ... + def SameRange(self, E: TopoDS_Edge, S: bool) -> None: ... + @overload + def Transfert(self, Ein: TopoDS_Edge, Eout: TopoDS_Edge) -> None: ... + @overload + def Transfert( + self, + Ein: TopoDS_Edge, + Eout: TopoDS_Edge, + Vin: TopoDS_Vertex, + Vout: TopoDS_Vertex, + ) -> None: ... + @overload + def UpdateEdge(self, E: TopoDS_Edge, C: Geom_Curve, Tol: float) -> None: ... + @overload + def UpdateEdge( + self, E: TopoDS_Edge, C: Geom_Curve, L: TopLoc_Location, Tol: float + ) -> None: ... + @overload + def UpdateEdge( + self, E: TopoDS_Edge, C: Geom2d_Curve, F: TopoDS_Face, Tol: float + ) -> None: ... + @overload + def UpdateEdge( + self, + E: TopoDS_Edge, + C1: Geom2d_Curve, + C2: Geom2d_Curve, + F: TopoDS_Face, + Tol: float, + ) -> None: ... + @overload + def UpdateEdge( + self, + E: TopoDS_Edge, + C: Geom2d_Curve, + S: Geom_Surface, + L: TopLoc_Location, + Tol: float, + ) -> None: ... + @overload + def UpdateEdge( + self, + E: TopoDS_Edge, + C: Geom2d_Curve, + S: Geom_Surface, + L: TopLoc_Location, + Tol: float, + Pf: gp_Pnt2d, + Pl: gp_Pnt2d, + ) -> None: ... + @overload + def UpdateEdge( + self, + E: TopoDS_Edge, + C1: Geom2d_Curve, + C2: Geom2d_Curve, + S: Geom_Surface, + L: TopLoc_Location, + Tol: float, + ) -> None: ... + @overload + def UpdateEdge( + self, + E: TopoDS_Edge, + C1: Geom2d_Curve, + C2: Geom2d_Curve, + S: Geom_Surface, + L: TopLoc_Location, + Tol: float, + Pf: gp_Pnt2d, + Pl: gp_Pnt2d, + ) -> None: ... + @overload + def UpdateEdge(self, E: TopoDS_Edge, P: Poly_Polygon3D) -> None: ... + @overload + def UpdateEdge( + self, E: TopoDS_Edge, P: Poly_Polygon3D, L: TopLoc_Location + ) -> None: ... + @overload + def UpdateEdge( + self, E: TopoDS_Edge, N: Poly_PolygonOnTriangulation, T: Poly_Triangulation + ) -> None: ... + @overload + def UpdateEdge( + self, + E: TopoDS_Edge, + N: Poly_PolygonOnTriangulation, + T: Poly_Triangulation, + L: TopLoc_Location, + ) -> None: ... + @overload + def UpdateEdge( + self, + E: TopoDS_Edge, + N1: Poly_PolygonOnTriangulation, + N2: Poly_PolygonOnTriangulation, + T: Poly_Triangulation, + ) -> None: ... + @overload + def UpdateEdge( + self, + E: TopoDS_Edge, + N1: Poly_PolygonOnTriangulation, + N2: Poly_PolygonOnTriangulation, + T: Poly_Triangulation, + L: TopLoc_Location, + ) -> None: ... + @overload + def UpdateEdge(self, E: TopoDS_Edge, P: Poly_Polygon2D, S: TopoDS_Face) -> None: ... + @overload + def UpdateEdge( + self, E: TopoDS_Edge, P: Poly_Polygon2D, S: Geom_Surface, T: TopLoc_Location + ) -> None: ... + @overload + def UpdateEdge( + self, E: TopoDS_Edge, P1: Poly_Polygon2D, P2: Poly_Polygon2D, S: TopoDS_Face + ) -> None: ... + @overload + def UpdateEdge( + self, + E: TopoDS_Edge, + P1: Poly_Polygon2D, + P2: Poly_Polygon2D, + S: Geom_Surface, + L: TopLoc_Location, + ) -> None: ... + @overload + def UpdateEdge(self, E: TopoDS_Edge, Tol: float) -> None: ... + @overload + def UpdateFace( + self, F: TopoDS_Face, S: Geom_Surface, L: TopLoc_Location, Tol: float + ) -> None: ... + @overload + def UpdateFace( + self, + theFace: TopoDS_Face, + theTriangulation: Poly_Triangulation, + theToReset: Optional[bool] = true, + ) -> None: ... + @overload + def UpdateFace(self, F: TopoDS_Face, Tol: float) -> None: ... + @overload + def UpdateVertex(self, V: TopoDS_Vertex, P: gp_Pnt, Tol: float) -> None: ... + @overload + def UpdateVertex( + self, V: TopoDS_Vertex, P: float, E: TopoDS_Edge, Tol: float + ) -> None: ... + @overload + def UpdateVertex( + self, V: TopoDS_Vertex, P: float, E: TopoDS_Edge, F: TopoDS_Face, Tol: float + ) -> None: ... + @overload + def UpdateVertex( + self, + V: TopoDS_Vertex, + P: float, + E: TopoDS_Edge, + S: Geom_Surface, + L: TopLoc_Location, + Tol: float, + ) -> None: ... + @overload + def UpdateVertex( + self, Ve: TopoDS_Vertex, U: float, V: float, F: TopoDS_Face, Tol: float + ) -> None: ... + @overload + def UpdateVertex(self, V: TopoDS_Vertex, Tol: float) -> None: ... class BRep_CurveRepresentation(Standard_Transient): - @overload - def Continuity(self) -> GeomAbs_Shape: ... - @overload - def Continuity(self, C: GeomAbs_Shape) -> None: ... - def Copy(self) -> BRep_CurveRepresentation: ... - @overload - def Curve3D(self) -> Geom_Curve: ... - @overload - def Curve3D(self, C: Geom_Curve) -> None: ... - def IsCurve3D(self) -> bool: ... - def IsCurveOnClosedSurface(self) -> bool: ... - @overload - def IsCurveOnSurface(self) -> bool: ... - @overload - def IsCurveOnSurface(self, S: Geom_Surface, L: TopLoc_Location) -> bool: ... - def IsPolygon3D(self) -> bool: ... - def IsPolygonOnClosedSurface(self) -> bool: ... - def IsPolygonOnClosedTriangulation(self) -> bool: ... - @overload - def IsPolygonOnSurface(self) -> bool: ... - @overload - def IsPolygonOnSurface(self, S: Geom_Surface, L: TopLoc_Location) -> bool: ... - @overload - def IsPolygonOnTriangulation(self) -> bool: ... - @overload - def IsPolygonOnTriangulation(self, T: Poly_Triangulation, L: TopLoc_Location) -> bool: ... - @overload - def IsRegularity(self) -> bool: ... - @overload - def IsRegularity(self, S1: Geom_Surface, S2: Geom_Surface, L1: TopLoc_Location, L2: TopLoc_Location) -> bool: ... - @overload - def Location(self) -> TopLoc_Location: ... - @overload - def Location(self, L: TopLoc_Location) -> None: ... - def Location2(self) -> TopLoc_Location: ... - @overload - def PCurve(self) -> Geom2d_Curve: ... - @overload - def PCurve(self, C: Geom2d_Curve) -> None: ... - @overload - def PCurve2(self) -> Geom2d_Curve: ... - @overload - def PCurve2(self, C: Geom2d_Curve) -> None: ... - @overload - def Polygon(self) -> Poly_Polygon2D: ... - @overload - def Polygon(self, P: Poly_Polygon2D) -> None: ... - @overload - def Polygon2(self) -> Poly_Polygon2D: ... - @overload - def Polygon2(self, P: Poly_Polygon2D) -> None: ... - @overload - def Polygon3D(self) -> Poly_Polygon3D: ... - @overload - def Polygon3D(self, P: Poly_Polygon3D) -> None: ... - @overload - def PolygonOnTriangulation(self) -> Poly_PolygonOnTriangulation: ... - @overload - def PolygonOnTriangulation(self, P: Poly_PolygonOnTriangulation) -> None: ... - @overload - def PolygonOnTriangulation2(self) -> Poly_PolygonOnTriangulation: ... - @overload - def PolygonOnTriangulation2(self, P2: Poly_PolygonOnTriangulation) -> None: ... - def Surface(self) -> Geom_Surface: ... - def Surface2(self) -> Geom_Surface: ... - def Triangulation(self) -> Poly_Triangulation: ... + @overload + def Continuity(self) -> GeomAbs_Shape: ... + @overload + def Continuity(self, C: GeomAbs_Shape) -> None: ... + def Copy(self) -> BRep_CurveRepresentation: ... + @overload + def Curve3D(self) -> Geom_Curve: ... + @overload + def Curve3D(self, C: Geom_Curve) -> None: ... + def DumpJson(self, depth: Optional[int] = -1) -> str: ... + def IsCurve3D(self) -> bool: ... + def IsCurveOnClosedSurface(self) -> bool: ... + @overload + def IsCurveOnSurface(self) -> bool: ... + @overload + def IsCurveOnSurface(self, S: Geom_Surface, L: TopLoc_Location) -> bool: ... + def IsPolygon3D(self) -> bool: ... + def IsPolygonOnClosedSurface(self) -> bool: ... + def IsPolygonOnClosedTriangulation(self) -> bool: ... + @overload + def IsPolygonOnSurface(self) -> bool: ... + @overload + def IsPolygonOnSurface(self, S: Geom_Surface, L: TopLoc_Location) -> bool: ... + @overload + def IsPolygonOnTriangulation(self) -> bool: ... + @overload + def IsPolygonOnTriangulation( + self, T: Poly_Triangulation, L: TopLoc_Location + ) -> bool: ... + @overload + def IsRegularity(self) -> bool: ... + @overload + def IsRegularity( + self, + S1: Geom_Surface, + S2: Geom_Surface, + L1: TopLoc_Location, + L2: TopLoc_Location, + ) -> bool: ... + @overload + def Location(self) -> TopLoc_Location: ... + @overload + def Location(self, L: TopLoc_Location) -> None: ... + def Location2(self) -> TopLoc_Location: ... + @overload + def PCurve(self) -> Geom2d_Curve: ... + @overload + def PCurve(self, C: Geom2d_Curve) -> None: ... + @overload + def PCurve2(self) -> Geom2d_Curve: ... + @overload + def PCurve2(self, C: Geom2d_Curve) -> None: ... + @overload + def Polygon(self) -> Poly_Polygon2D: ... + @overload + def Polygon(self, P: Poly_Polygon2D) -> None: ... + @overload + def Polygon2(self) -> Poly_Polygon2D: ... + @overload + def Polygon2(self, P: Poly_Polygon2D) -> None: ... + @overload + def Polygon3D(self) -> Poly_Polygon3D: ... + @overload + def Polygon3D(self, P: Poly_Polygon3D) -> None: ... + @overload + def PolygonOnTriangulation(self) -> Poly_PolygonOnTriangulation: ... + @overload + def PolygonOnTriangulation(self, P: Poly_PolygonOnTriangulation) -> None: ... + @overload + def PolygonOnTriangulation2(self) -> Poly_PolygonOnTriangulation: ... + @overload + def PolygonOnTriangulation2(self, P2: Poly_PolygonOnTriangulation) -> None: ... + def Surface(self) -> Geom_Surface: ... + def Surface2(self) -> Geom_Surface: ... + def Triangulation(self) -> Poly_Triangulation: ... class BRep_PointRepresentation(Standard_Transient): - @overload - def Curve(self) -> Geom_Curve: ... - @overload - def Curve(self, C: Geom_Curve) -> None: ... - @overload - def IsPointOnCurve(self) -> bool: ... - @overload - def IsPointOnCurve(self, C: Geom_Curve, L: TopLoc_Location) -> bool: ... - @overload - def IsPointOnCurveOnSurface(self) -> bool: ... - @overload - def IsPointOnCurveOnSurface(self, PC: Geom2d_Curve, S: Geom_Surface, L: TopLoc_Location) -> bool: ... - @overload - def IsPointOnSurface(self) -> bool: ... - @overload - def IsPointOnSurface(self, S: Geom_Surface, L: TopLoc_Location) -> bool: ... - @overload - def Location(self) -> TopLoc_Location: ... - @overload - def Location(self, L: TopLoc_Location) -> None: ... - @overload - def PCurve(self) -> Geom2d_Curve: ... - @overload - def PCurve(self, C: Geom2d_Curve) -> None: ... - @overload - def Parameter(self) -> float: ... - @overload - def Parameter(self, P: float) -> None: ... - @overload - def Parameter2(self) -> float: ... - @overload - def Parameter2(self, P: float) -> None: ... - @overload - def Surface(self) -> Geom_Surface: ... - @overload - def Surface(self, S: Geom_Surface) -> None: ... + @overload + def Curve(self) -> Geom_Curve: ... + @overload + def Curve(self, C: Geom_Curve) -> None: ... + def DumpJson(self, depth: Optional[int] = -1) -> str: ... + @overload + def IsPointOnCurve(self) -> bool: ... + @overload + def IsPointOnCurve(self, C: Geom_Curve, L: TopLoc_Location) -> bool: ... + @overload + def IsPointOnCurveOnSurface(self) -> bool: ... + @overload + def IsPointOnCurveOnSurface( + self, PC: Geom2d_Curve, S: Geom_Surface, L: TopLoc_Location + ) -> bool: ... + @overload + def IsPointOnSurface(self) -> bool: ... + @overload + def IsPointOnSurface(self, S: Geom_Surface, L: TopLoc_Location) -> bool: ... + @overload + def Location(self) -> TopLoc_Location: ... + @overload + def Location(self, L: TopLoc_Location) -> None: ... + @overload + def PCurve(self) -> Geom2d_Curve: ... + @overload + def PCurve(self, C: Geom2d_Curve) -> None: ... + @overload + def Parameter(self) -> float: ... + @overload + def Parameter(self, P: float) -> None: ... + @overload + def Parameter2(self) -> float: ... + @overload + def Parameter2(self, P: float) -> None: ... + @overload + def Surface(self) -> Geom_Surface: ... + @overload + def Surface(self, S: Geom_Surface) -> None: ... class BRep_TEdge(TopoDS_TEdge): - def __init__(self) -> None: ... - def ChangeCurves(self) -> BRep_ListOfCurveRepresentation: ... - def Curves(self) -> BRep_ListOfCurveRepresentation: ... - @overload - def Degenerated(self) -> bool: ... - @overload - def Degenerated(self, S: bool) -> None: ... - def EmptyCopy(self) -> TopoDS_TShape: ... - @overload - def SameParameter(self) -> bool: ... - @overload - def SameParameter(self, S: bool) -> None: ... - @overload - def SameRange(self) -> bool: ... - @overload - def SameRange(self, S: bool) -> None: ... - @overload - def Tolerance(self) -> float: ... - @overload - def Tolerance(self, T: float) -> None: ... - def UpdateTolerance(self, T: float) -> None: ... + def __init__(self) -> None: ... + def ChangeCurves(self) -> BRep_ListOfCurveRepresentation: ... + def Curves(self) -> BRep_ListOfCurveRepresentation: ... + @overload + def Degenerated(self) -> bool: ... + @overload + def Degenerated(self, S: bool) -> None: ... + def DumpJson(self, depth: Optional[int] = -1) -> str: ... + def EmptyCopy(self) -> TopoDS_TShape: ... + @overload + def SameParameter(self) -> bool: ... + @overload + def SameParameter(self, S: bool) -> None: ... + @overload + def SameRange(self) -> bool: ... + @overload + def SameRange(self, S: bool) -> None: ... + @overload + def Tolerance(self) -> float: ... + @overload + def Tolerance(self, T: float) -> None: ... + def UpdateTolerance(self, T: float) -> None: ... class BRep_TFace(TopoDS_TFace): - def __init__(self) -> None: ... - def EmptyCopy(self) -> TopoDS_TShape: ... - @overload - def Location(self) -> TopLoc_Location: ... - @overload - def Location(self, L: TopLoc_Location) -> None: ... - @overload - def NaturalRestriction(self) -> bool: ... - @overload - def NaturalRestriction(self, N: bool) -> None: ... - @overload - def Surface(self) -> Geom_Surface: ... - @overload - def Surface(self, S: Geom_Surface) -> None: ... - @overload - def Tolerance(self) -> float: ... - @overload - def Tolerance(self, T: float) -> None: ... - @overload - def Triangulation(self) -> Poly_Triangulation: ... - @overload - def Triangulation(self, T: Poly_Triangulation) -> None: ... + def __init__(self) -> None: ... + def ActiveTriangulation(self) -> Poly_Triangulation: ... + def DumpJson(self, depth: Optional[int] = -1) -> str: ... + def EmptyCopy(self) -> TopoDS_TShape: ... + @overload + def Location(self) -> TopLoc_Location: ... + @overload + def Location(self, theLocation: TopLoc_Location) -> None: ... + @overload + def NaturalRestriction(self) -> bool: ... + @overload + def NaturalRestriction(self, theRestriction: bool) -> None: ... + def NbTriangulations(self) -> int: ... + @overload + def Surface(self) -> Geom_Surface: ... + @overload + def Surface(self, theSurface: Geom_Surface) -> None: ... + @overload + def Tolerance(self) -> float: ... + @overload + def Tolerance(self, theTolerance: float) -> None: ... + @overload + def Triangulation( + self, thePurpose: Optional[Poly_MeshPurpose] = Poly_MeshPurpose_NONE + ) -> Poly_Triangulation: ... + @overload + def Triangulation( + self, theTriangulation: Poly_Triangulation, theToReset: Optional[bool] = true + ) -> None: ... + @overload + def Triangulations(self) -> Poly_ListOfTriangulation: ... + @overload + def Triangulations( + self, + theTriangulations: Poly_ListOfTriangulation, + theActiveTriangulation: Poly_Triangulation, + ) -> None: ... class BRep_TVertex(TopoDS_TVertex): - def __init__(self) -> None: ... - def ChangePoints(self) -> BRep_ListOfPointRepresentation: ... - def EmptyCopy(self) -> TopoDS_TShape: ... - @overload - def Pnt(self) -> gp_Pnt: ... - @overload - def Pnt(self, P: gp_Pnt) -> None: ... - def Points(self) -> BRep_ListOfPointRepresentation: ... - @overload - def Tolerance(self) -> float: ... - @overload - def Tolerance(self, T: float) -> None: ... - def UpdateTolerance(self, T: float) -> None: ... + def __init__(self) -> None: ... + def ChangePoints(self) -> BRep_ListOfPointRepresentation: ... + def DumpJson(self, depth: Optional[int] = -1) -> str: ... + def EmptyCopy(self) -> TopoDS_TShape: ... + @overload + def Pnt(self) -> gp_Pnt: ... + @overload + def Pnt(self, P: gp_Pnt) -> None: ... + def Points(self) -> BRep_ListOfPointRepresentation: ... + @overload + def Tolerance(self) -> float: ... + @overload + def Tolerance(self, T: float) -> None: ... + def UpdateTolerance(self, T: float) -> None: ... class BRep_Tool: - @overload - @staticmethod - def Continuity(E: TopoDS_Edge, F1: TopoDS_Face, F2: TopoDS_Face) -> GeomAbs_Shape: ... - @overload - @staticmethod - def Continuity(E: TopoDS_Edge, S1: Geom_Surface, S2: Geom_Surface, L1: TopLoc_Location, L2: TopLoc_Location) -> GeomAbs_Shape: ... - @overload - @staticmethod - def Curve(E: TopoDS_Edge, L: TopLoc_Location) -> Tuple[Geom_Curve, float, float]: ... - @overload - @staticmethod - def Curve(E: TopoDS_Edge) -> Tuple[Geom_Curve, float, float]: ... - @staticmethod - def CurveOnPlane(E: TopoDS_Edge, S: Geom_Surface, L: TopLoc_Location) -> Tuple[Geom2d_Curve, float, float]: ... - @overload - @staticmethod - def CurveOnSurface(E: TopoDS_Edge, F: TopoDS_Face, theIsStored: Optional[bool] = None) -> Tuple[Geom2d_Curve, float, float]: ... - @overload - @staticmethod - def CurveOnSurface(E: TopoDS_Edge, S: Geom_Surface, L: TopLoc_Location, theIsStored: Optional[bool] = None) -> Tuple[Geom2d_Curve, float, float]: ... - @overload - @staticmethod - def CurveOnSurface(E: TopoDS_Edge, C: Geom2d_Curve, S: Geom_Surface, L: TopLoc_Location) -> Tuple[float, float]: ... - @overload - @staticmethod - def CurveOnSurface(E: TopoDS_Edge, C: Geom2d_Curve, S: Geom_Surface, L: TopLoc_Location, Index: int) -> Tuple[float, float]: ... - @staticmethod - def Degenerated(E: TopoDS_Edge) -> bool: ... - @overload - @staticmethod - def HasContinuity(E: TopoDS_Edge, F1: TopoDS_Face, F2: TopoDS_Face) -> bool: ... - @overload - @staticmethod - def HasContinuity(E: TopoDS_Edge, S1: Geom_Surface, S2: Geom_Surface, L1: TopLoc_Location, L2: TopLoc_Location) -> bool: ... - @overload - @staticmethod - def HasContinuity(E: TopoDS_Edge) -> bool: ... - @overload - @staticmethod - def IsClosed(S: TopoDS_Shape) -> bool: ... - @overload - @staticmethod - def IsClosed(E: TopoDS_Edge, F: TopoDS_Face) -> bool: ... - @overload - @staticmethod - def IsClosed(E: TopoDS_Edge, S: Geom_Surface, L: TopLoc_Location) -> bool: ... - @overload - @staticmethod - def IsClosed(E: TopoDS_Edge, T: Poly_Triangulation, L: TopLoc_Location) -> bool: ... - @overload - @staticmethod - def IsGeometric(F: TopoDS_Face) -> bool: ... - @overload - @staticmethod - def IsGeometric(E: TopoDS_Edge) -> bool: ... - @staticmethod - def MaxContinuity(theEdge: TopoDS_Edge) -> GeomAbs_Shape: ... - @staticmethod - def MaxTolerance(theShape: TopoDS_Shape, theSubShape: TopAbs_ShapeEnum) -> float: ... - @staticmethod - def NaturalRestriction(F: TopoDS_Face) -> bool: ... - @overload - @staticmethod - def Parameter(theV: TopoDS_Vertex, theE: TopoDS_Edge) -> Tuple[bool, float]: ... - @overload - @staticmethod - def Parameter(V: TopoDS_Vertex, E: TopoDS_Edge) -> float: ... - @overload - @staticmethod - def Parameter(V: TopoDS_Vertex, E: TopoDS_Edge, F: TopoDS_Face) -> float: ... - @overload - @staticmethod - def Parameter(V: TopoDS_Vertex, E: TopoDS_Edge, S: Geom_Surface, L: TopLoc_Location) -> float: ... - @staticmethod - def Parameters(V: TopoDS_Vertex, F: TopoDS_Face) -> gp_Pnt2d: ... - @staticmethod - def Pnt(V: TopoDS_Vertex) -> gp_Pnt: ... - @staticmethod - def Polygon3D(E: TopoDS_Edge, L: TopLoc_Location) -> Poly_Polygon3D: ... - @overload - @staticmethod - def PolygonOnSurface(E: TopoDS_Edge, F: TopoDS_Face) -> Poly_Polygon2D: ... - @overload - @staticmethod - def PolygonOnSurface(E: TopoDS_Edge, S: Geom_Surface, L: TopLoc_Location) -> Poly_Polygon2D: ... - @overload - @staticmethod - def PolygonOnSurface(E: TopoDS_Edge, C: Poly_Polygon2D, S: Geom_Surface, L: TopLoc_Location) -> None: ... - @overload - @staticmethod - def PolygonOnSurface(E: TopoDS_Edge, C: Poly_Polygon2D, S: Geom_Surface, L: TopLoc_Location, Index: int) -> None: ... - @overload - @staticmethod - def PolygonOnTriangulation(E: TopoDS_Edge, T: Poly_Triangulation, L: TopLoc_Location) -> Poly_PolygonOnTriangulation: ... - @overload - @staticmethod - def PolygonOnTriangulation(E: TopoDS_Edge, P: Poly_PolygonOnTriangulation, T: Poly_Triangulation, L: TopLoc_Location) -> None: ... - @overload - @staticmethod - def PolygonOnTriangulation(E: TopoDS_Edge, P: Poly_PolygonOnTriangulation, T: Poly_Triangulation, L: TopLoc_Location, Index: int) -> None: ... - @overload - @staticmethod - def Range(E: TopoDS_Edge) -> Tuple[float, float]: ... - @overload - @staticmethod - def Range(E: TopoDS_Edge, S: Geom_Surface, L: TopLoc_Location) -> Tuple[float, float]: ... - @overload - @staticmethod - def Range(E: TopoDS_Edge, F: TopoDS_Face) -> Tuple[float, float]: ... - @staticmethod - def SameParameter(E: TopoDS_Edge) -> bool: ... - @staticmethod - def SameRange(E: TopoDS_Edge) -> bool: ... - @overload - @staticmethod - def SetUVPoints(E: TopoDS_Edge, S: Geom_Surface, L: TopLoc_Location, PFirst: gp_Pnt2d, PLast: gp_Pnt2d) -> None: ... - @overload - @staticmethod - def SetUVPoints(E: TopoDS_Edge, F: TopoDS_Face, PFirst: gp_Pnt2d, PLast: gp_Pnt2d) -> None: ... - @overload - @staticmethod - def Surface(F: TopoDS_Face, L: TopLoc_Location) -> Geom_Surface: ... - @overload - @staticmethod - def Surface(F: TopoDS_Face) -> Geom_Surface: ... - @overload - @staticmethod - def Tolerance(F: TopoDS_Face) -> float: ... - @overload - @staticmethod - def Tolerance(E: TopoDS_Edge) -> float: ... - @overload - @staticmethod - def Tolerance(V: TopoDS_Vertex) -> float: ... - @staticmethod - def Triangulation(F: TopoDS_Face, L: TopLoc_Location) -> Poly_Triangulation: ... - @overload - @staticmethod - def UVPoints(E: TopoDS_Edge, S: Geom_Surface, L: TopLoc_Location, PFirst: gp_Pnt2d, PLast: gp_Pnt2d) -> None: ... - @overload - @staticmethod - def UVPoints(E: TopoDS_Edge, F: TopoDS_Face, PFirst: gp_Pnt2d, PLast: gp_Pnt2d) -> None: ... + @overload + @staticmethod + def Continuity( + E: TopoDS_Edge, F1: TopoDS_Face, F2: TopoDS_Face + ) -> GeomAbs_Shape: ... + @overload + @staticmethod + def Continuity( + E: TopoDS_Edge, + S1: Geom_Surface, + S2: Geom_Surface, + L1: TopLoc_Location, + L2: TopLoc_Location, + ) -> GeomAbs_Shape: ... + @overload + @staticmethod + def Curve( + E: TopoDS_Edge, L: TopLoc_Location + ) -> Tuple[Geom_Curve, float, float]: ... + @overload + @staticmethod + def Curve(E: TopoDS_Edge) -> Tuple[Geom_Curve, float, float]: ... + @staticmethod + def CurveOnPlane( + E: TopoDS_Edge, S: Geom_Surface, L: TopLoc_Location + ) -> Tuple[Geom2d_Curve, float, float]: ... + @overload + @staticmethod + def CurveOnSurface( + E: TopoDS_Edge, F: TopoDS_Face, theIsStored: Optional[bool] = None + ) -> Tuple[Geom2d_Curve, float, float]: ... + @overload + @staticmethod + def CurveOnSurface( + E: TopoDS_Edge, + S: Geom_Surface, + L: TopLoc_Location, + theIsStored: Optional[bool] = None, + ) -> Tuple[Geom2d_Curve, float, float]: ... + @overload + @staticmethod + def CurveOnSurface( + E: TopoDS_Edge, C: Geom2d_Curve, S: Geom_Surface, L: TopLoc_Location + ) -> Tuple[float, float]: ... + @overload + @staticmethod + def CurveOnSurface( + E: TopoDS_Edge, C: Geom2d_Curve, S: Geom_Surface, L: TopLoc_Location, Index: int + ) -> Tuple[float, float]: ... + @staticmethod + def Degenerated(E: TopoDS_Edge) -> bool: ... + @overload + @staticmethod + def HasContinuity(E: TopoDS_Edge, F1: TopoDS_Face, F2: TopoDS_Face) -> bool: ... + @overload + @staticmethod + def HasContinuity( + E: TopoDS_Edge, + S1: Geom_Surface, + S2: Geom_Surface, + L1: TopLoc_Location, + L2: TopLoc_Location, + ) -> bool: ... + @overload + @staticmethod + def HasContinuity(E: TopoDS_Edge) -> bool: ... + @overload + @staticmethod + def IsClosed(S: TopoDS_Shape) -> bool: ... + @overload + @staticmethod + def IsClosed(E: TopoDS_Edge, F: TopoDS_Face) -> bool: ... + @overload + @staticmethod + def IsClosed(E: TopoDS_Edge, S: Geom_Surface, L: TopLoc_Location) -> bool: ... + @overload + @staticmethod + def IsClosed(E: TopoDS_Edge, T: Poly_Triangulation, L: TopLoc_Location) -> bool: ... + @overload + @staticmethod + def IsGeometric(F: TopoDS_Face) -> bool: ... + @overload + @staticmethod + def IsGeometric(E: TopoDS_Edge) -> bool: ... + @staticmethod + def MaxContinuity(theEdge: TopoDS_Edge) -> GeomAbs_Shape: ... + @staticmethod + def MaxTolerance( + theShape: TopoDS_Shape, theSubShape: TopAbs_ShapeEnum + ) -> float: ... + @staticmethod + def NaturalRestriction(F: TopoDS_Face) -> bool: ... + @overload + @staticmethod + def Parameter(theV: TopoDS_Vertex, theE: TopoDS_Edge) -> Tuple[bool, float]: ... + @overload + @staticmethod + def Parameter(V: TopoDS_Vertex, E: TopoDS_Edge) -> float: ... + @overload + @staticmethod + def Parameter(V: TopoDS_Vertex, E: TopoDS_Edge, F: TopoDS_Face) -> float: ... + @overload + @staticmethod + def Parameter( + V: TopoDS_Vertex, E: TopoDS_Edge, S: Geom_Surface, L: TopLoc_Location + ) -> float: ... + @staticmethod + def Parameters(V: TopoDS_Vertex, F: TopoDS_Face) -> gp_Pnt2d: ... + @staticmethod + def Pnt(V: TopoDS_Vertex) -> gp_Pnt: ... + @staticmethod + def Polygon3D(E: TopoDS_Edge, L: TopLoc_Location) -> Poly_Polygon3D: ... + @overload + @staticmethod + def PolygonOnSurface(E: TopoDS_Edge, F: TopoDS_Face) -> Poly_Polygon2D: ... + @overload + @staticmethod + def PolygonOnSurface( + E: TopoDS_Edge, S: Geom_Surface, L: TopLoc_Location + ) -> Poly_Polygon2D: ... + @overload + @staticmethod + def PolygonOnSurface( + E: TopoDS_Edge, C: Poly_Polygon2D, S: Geom_Surface, L: TopLoc_Location + ) -> None: ... + @overload + @staticmethod + def PolygonOnSurface( + E: TopoDS_Edge, + C: Poly_Polygon2D, + S: Geom_Surface, + L: TopLoc_Location, + Index: int, + ) -> None: ... + @overload + @staticmethod + def PolygonOnTriangulation( + E: TopoDS_Edge, T: Poly_Triangulation, L: TopLoc_Location + ) -> Poly_PolygonOnTriangulation: ... + @overload + @staticmethod + def PolygonOnTriangulation( + E: TopoDS_Edge, + P: Poly_PolygonOnTriangulation, + T: Poly_Triangulation, + L: TopLoc_Location, + ) -> None: ... + @overload + @staticmethod + def PolygonOnTriangulation( + E: TopoDS_Edge, + P: Poly_PolygonOnTriangulation, + T: Poly_Triangulation, + L: TopLoc_Location, + Index: int, + ) -> None: ... + @overload + @staticmethod + def Range(E: TopoDS_Edge) -> Tuple[float, float]: ... + @overload + @staticmethod + def Range( + E: TopoDS_Edge, S: Geom_Surface, L: TopLoc_Location + ) -> Tuple[float, float]: ... + @overload + @staticmethod + def Range(E: TopoDS_Edge, F: TopoDS_Face) -> Tuple[float, float]: ... + @staticmethod + def SameParameter(E: TopoDS_Edge) -> bool: ... + @staticmethod + def SameRange(E: TopoDS_Edge) -> bool: ... + @overload + @staticmethod + def SetUVPoints( + E: TopoDS_Edge, + S: Geom_Surface, + L: TopLoc_Location, + PFirst: gp_Pnt2d, + PLast: gp_Pnt2d, + ) -> None: ... + @overload + @staticmethod + def SetUVPoints( + E: TopoDS_Edge, F: TopoDS_Face, PFirst: gp_Pnt2d, PLast: gp_Pnt2d + ) -> None: ... + @overload + @staticmethod + def Surface(F: TopoDS_Face, L: TopLoc_Location) -> Geom_Surface: ... + @overload + @staticmethod + def Surface(F: TopoDS_Face) -> Geom_Surface: ... + @overload + @staticmethod + def Tolerance(F: TopoDS_Face) -> float: ... + @overload + @staticmethod + def Tolerance(E: TopoDS_Edge) -> float: ... + @overload + @staticmethod + def Tolerance(V: TopoDS_Vertex) -> float: ... + @staticmethod + def Triangulation( + theFace: TopoDS_Face, + theLocation: TopLoc_Location, + theMeshPurpose: Optional[Poly_MeshPurpose] = Poly_MeshPurpose_NONE, + ) -> Poly_Triangulation: ... + @staticmethod + def Triangulations( + theFace: TopoDS_Face, theLocation: TopLoc_Location + ) -> Poly_ListOfTriangulation: ... + @overload + @staticmethod + def UVPoints( + E: TopoDS_Edge, + S: Geom_Surface, + L: TopLoc_Location, + PFirst: gp_Pnt2d, + PLast: gp_Pnt2d, + ) -> None: ... + @overload + @staticmethod + def UVPoints( + E: TopoDS_Edge, F: TopoDS_Face, PFirst: gp_Pnt2d, PLast: gp_Pnt2d + ) -> None: ... class BRep_CurveOn2Surfaces(BRep_CurveRepresentation): - def __init__(self, S1: Geom_Surface, S2: Geom_Surface, L1: TopLoc_Location, L2: TopLoc_Location, C: GeomAbs_Shape) -> None: ... - @overload - def Continuity(self) -> GeomAbs_Shape: ... - @overload - def Continuity(self, C: GeomAbs_Shape) -> None: ... - def Copy(self) -> BRep_CurveRepresentation: ... - def D0(self, U: float, P: gp_Pnt) -> None: ... - @overload - def IsRegularity(self) -> bool: ... - @overload - def IsRegularity(self, S1: Geom_Surface, S2: Geom_Surface, L1: TopLoc_Location, L2: TopLoc_Location) -> bool: ... - def Location2(self) -> TopLoc_Location: ... - def Surface(self) -> Geom_Surface: ... - def Surface2(self) -> Geom_Surface: ... + def __init__( + self, + S1: Geom_Surface, + S2: Geom_Surface, + L1: TopLoc_Location, + L2: TopLoc_Location, + C: GeomAbs_Shape, + ) -> None: ... + @overload + def Continuity(self) -> GeomAbs_Shape: ... + @overload + def Continuity(self, C: GeomAbs_Shape) -> None: ... + def Copy(self) -> BRep_CurveRepresentation: ... + def D0(self, U: float, P: gp_Pnt) -> None: ... + def DumpJson(self, depth: Optional[int] = -1) -> str: ... + @overload + def IsRegularity(self) -> bool: ... + @overload + def IsRegularity( + self, + S1: Geom_Surface, + S2: Geom_Surface, + L1: TopLoc_Location, + L2: TopLoc_Location, + ) -> bool: ... + def Location2(self) -> TopLoc_Location: ... + def Surface(self) -> Geom_Surface: ... + def Surface2(self) -> Geom_Surface: ... class BRep_GCurve(BRep_CurveRepresentation): - def D0(self, U: float, P: gp_Pnt) -> None: ... - @overload - def First(self) -> float: ... - @overload - def First(self, F: float) -> None: ... - @overload - def Last(self) -> float: ... - @overload - def Last(self, L: float) -> None: ... - def Range(self) -> Tuple[float, float]: ... - def SetRange(self, First: float, Last: float) -> None: ... - def Update(self) -> None: ... + def D0(self, U: float, P: gp_Pnt) -> None: ... + def DumpJson(self, depth: Optional[int] = -1) -> str: ... + @overload + def First(self) -> float: ... + @overload + def First(self, F: float) -> None: ... + @overload + def Last(self) -> float: ... + @overload + def Last(self, L: float) -> None: ... + def Range(self) -> Tuple[float, float]: ... + def SetRange(self, First: float, Last: float) -> None: ... + def Update(self) -> None: ... class BRep_PointOnCurve(BRep_PointRepresentation): - def __init__(self, P: float, C: Geom_Curve, L: TopLoc_Location) -> None: ... - @overload - def Curve(self) -> Geom_Curve: ... - @overload - def Curve(self, C: Geom_Curve) -> None: ... - @overload - def IsPointOnCurve(self) -> bool: ... - @overload - def IsPointOnCurve(self, C: Geom_Curve, L: TopLoc_Location) -> bool: ... + def __init__(self, P: float, C: Geom_Curve, L: TopLoc_Location) -> None: ... + @overload + def Curve(self) -> Geom_Curve: ... + @overload + def Curve(self, C: Geom_Curve) -> None: ... + def DumpJson(self, depth: Optional[int] = -1) -> str: ... + @overload + def IsPointOnCurve(self) -> bool: ... + @overload + def IsPointOnCurve(self, C: Geom_Curve, L: TopLoc_Location) -> bool: ... class BRep_PointsOnSurface(BRep_PointRepresentation): - @overload - def Surface(self) -> Geom_Surface: ... - @overload - def Surface(self, S: Geom_Surface) -> None: ... + def DumpJson(self, depth: Optional[int] = -1) -> str: ... + @overload + def Surface(self) -> Geom_Surface: ... + @overload + def Surface(self, S: Geom_Surface) -> None: ... class BRep_Polygon3D(BRep_CurveRepresentation): - def __init__(self, P: Poly_Polygon3D, L: TopLoc_Location) -> None: ... - def Copy(self) -> BRep_CurveRepresentation: ... - def IsPolygon3D(self) -> bool: ... - @overload - def Polygon3D(self) -> Poly_Polygon3D: ... - @overload - def Polygon3D(self, P: Poly_Polygon3D) -> None: ... + def __init__(self, P: Poly_Polygon3D, L: TopLoc_Location) -> None: ... + def Copy(self) -> BRep_CurveRepresentation: ... + def DumpJson(self, depth: Optional[int] = -1) -> str: ... + def IsPolygon3D(self) -> bool: ... + @overload + def Polygon3D(self) -> Poly_Polygon3D: ... + @overload + def Polygon3D(self, P: Poly_Polygon3D) -> None: ... class BRep_PolygonOnSurface(BRep_CurveRepresentation): - def __init__(self, P: Poly_Polygon2D, S: Geom_Surface, L: TopLoc_Location) -> None: ... - def Copy(self) -> BRep_CurveRepresentation: ... - @overload - def IsPolygonOnSurface(self) -> bool: ... - @overload - def IsPolygonOnSurface(self, S: Geom_Surface, L: TopLoc_Location) -> bool: ... - @overload - def Polygon(self) -> Poly_Polygon2D: ... - @overload - def Polygon(self, P: Poly_Polygon2D) -> None: ... - def Surface(self) -> Geom_Surface: ... + def __init__( + self, P: Poly_Polygon2D, S: Geom_Surface, L: TopLoc_Location + ) -> None: ... + def Copy(self) -> BRep_CurveRepresentation: ... + def DumpJson(self, depth: Optional[int] = -1) -> str: ... + @overload + def IsPolygonOnSurface(self) -> bool: ... + @overload + def IsPolygonOnSurface(self, S: Geom_Surface, L: TopLoc_Location) -> bool: ... + @overload + def Polygon(self) -> Poly_Polygon2D: ... + @overload + def Polygon(self, P: Poly_Polygon2D) -> None: ... + def Surface(self) -> Geom_Surface: ... class BRep_PolygonOnTriangulation(BRep_CurveRepresentation): - def __init__(self, P: Poly_PolygonOnTriangulation, T: Poly_Triangulation, L: TopLoc_Location) -> None: ... - def Copy(self) -> BRep_CurveRepresentation: ... - @overload - def IsPolygonOnTriangulation(self) -> bool: ... - @overload - def IsPolygonOnTriangulation(self, T: Poly_Triangulation, L: TopLoc_Location) -> bool: ... - @overload - def PolygonOnTriangulation(self, P: Poly_PolygonOnTriangulation) -> None: ... - @overload - def PolygonOnTriangulation(self) -> Poly_PolygonOnTriangulation: ... - def Triangulation(self) -> Poly_Triangulation: ... + def __init__( + self, P: Poly_PolygonOnTriangulation, T: Poly_Triangulation, L: TopLoc_Location + ) -> None: ... + def Copy(self) -> BRep_CurveRepresentation: ... + def DumpJson(self, depth: Optional[int] = -1) -> str: ... + @overload + def IsPolygonOnTriangulation(self) -> bool: ... + @overload + def IsPolygonOnTriangulation( + self, T: Poly_Triangulation, L: TopLoc_Location + ) -> bool: ... + @overload + def PolygonOnTriangulation(self, P: Poly_PolygonOnTriangulation) -> None: ... + @overload + def PolygonOnTriangulation(self) -> Poly_PolygonOnTriangulation: ... + def Triangulation(self) -> Poly_Triangulation: ... class BRep_Curve3D(BRep_GCurve): - def __init__(self, C: Geom_Curve, L: TopLoc_Location) -> None: ... - def Copy(self) -> BRep_CurveRepresentation: ... - @overload - def Curve3D(self) -> Geom_Curve: ... - @overload - def Curve3D(self, C: Geom_Curve) -> None: ... - def D0(self, U: float, P: gp_Pnt) -> None: ... - def IsCurve3D(self) -> bool: ... + def __init__(self, C: Geom_Curve, L: TopLoc_Location) -> None: ... + def Copy(self) -> BRep_CurveRepresentation: ... + @overload + def Curve3D(self) -> Geom_Curve: ... + @overload + def Curve3D(self, C: Geom_Curve) -> None: ... + def D0(self, U: float, P: gp_Pnt) -> None: ... + def DumpJson(self, depth: Optional[int] = -1) -> str: ... + def IsCurve3D(self) -> bool: ... class BRep_CurveOnSurface(BRep_GCurve): - def __init__(self, PC: Geom2d_Curve, S: Geom_Surface, L: TopLoc_Location) -> None: ... - def Copy(self) -> BRep_CurveRepresentation: ... - def D0(self, U: float, P: gp_Pnt) -> None: ... - @overload - def IsCurveOnSurface(self) -> bool: ... - @overload - def IsCurveOnSurface(self, S: Geom_Surface, L: TopLoc_Location) -> bool: ... - @overload - def PCurve(self) -> Geom2d_Curve: ... - @overload - def PCurve(self, C: Geom2d_Curve) -> None: ... - def SetUVPoints(self, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... - def Surface(self) -> Geom_Surface: ... - def UVPoints(self, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... - def Update(self) -> None: ... + def __init__( + self, PC: Geom2d_Curve, S: Geom_Surface, L: TopLoc_Location + ) -> None: ... + def Copy(self) -> BRep_CurveRepresentation: ... + def D0(self, U: float, P: gp_Pnt) -> None: ... + def DumpJson(self, depth: Optional[int] = -1) -> str: ... + @overload + def IsCurveOnSurface(self) -> bool: ... + @overload + def IsCurveOnSurface(self, S: Geom_Surface, L: TopLoc_Location) -> bool: ... + @overload + def PCurve(self) -> Geom2d_Curve: ... + @overload + def PCurve(self, C: Geom2d_Curve) -> None: ... + def SetUVPoints(self, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... + def Surface(self) -> Geom_Surface: ... + def UVPoints(self, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... + def Update(self) -> None: ... class BRep_PointOnCurveOnSurface(BRep_PointsOnSurface): - def __init__(self, P: float, C: Geom2d_Curve, S: Geom_Surface, L: TopLoc_Location) -> None: ... - @overload - def IsPointOnCurveOnSurface(self) -> bool: ... - @overload - def IsPointOnCurveOnSurface(self, PC: Geom2d_Curve, S: Geom_Surface, L: TopLoc_Location) -> bool: ... - @overload - def PCurve(self) -> Geom2d_Curve: ... - @overload - def PCurve(self, C: Geom2d_Curve) -> None: ... + def __init__( + self, P: float, C: Geom2d_Curve, S: Geom_Surface, L: TopLoc_Location + ) -> None: ... + def DumpJson(self, depth: Optional[int] = -1) -> str: ... + @overload + def IsPointOnCurveOnSurface(self) -> bool: ... + @overload + def IsPointOnCurveOnSurface( + self, PC: Geom2d_Curve, S: Geom_Surface, L: TopLoc_Location + ) -> bool: ... + @overload + def PCurve(self) -> Geom2d_Curve: ... + @overload + def PCurve(self, C: Geom2d_Curve) -> None: ... class BRep_PointOnSurface(BRep_PointsOnSurface): - def __init__(self, P1: float, P2: float, S: Geom_Surface, L: TopLoc_Location) -> None: ... - @overload - def IsPointOnSurface(self) -> bool: ... - @overload - def IsPointOnSurface(self, S: Geom_Surface, L: TopLoc_Location) -> bool: ... - @overload - def Parameter2(self) -> float: ... - @overload - def Parameter2(self, P: float) -> None: ... + def __init__( + self, P1: float, P2: float, S: Geom_Surface, L: TopLoc_Location + ) -> None: ... + @overload + def IsPointOnSurface(self) -> bool: ... + @overload + def IsPointOnSurface(self, S: Geom_Surface, L: TopLoc_Location) -> bool: ... + @overload + def Parameter2(self) -> float: ... + @overload + def Parameter2(self, P: float) -> None: ... class BRep_PolygonOnClosedSurface(BRep_PolygonOnSurface): - def __init__(self, P1: Poly_Polygon2D, P2: Poly_Polygon2D, S: Geom_Surface, L: TopLoc_Location) -> None: ... - def Copy(self) -> BRep_CurveRepresentation: ... - def IsPolygonOnClosedSurface(self) -> bool: ... - @overload - def Polygon2(self) -> Poly_Polygon2D: ... - @overload - def Polygon2(self, P: Poly_Polygon2D) -> None: ... + def __init__( + self, + P1: Poly_Polygon2D, + P2: Poly_Polygon2D, + S: Geom_Surface, + L: TopLoc_Location, + ) -> None: ... + def Copy(self) -> BRep_CurveRepresentation: ... + def DumpJson(self, depth: Optional[int] = -1) -> str: ... + def IsPolygonOnClosedSurface(self) -> bool: ... + @overload + def Polygon2(self) -> Poly_Polygon2D: ... + @overload + def Polygon2(self, P: Poly_Polygon2D) -> None: ... class BRep_PolygonOnClosedTriangulation(BRep_PolygonOnTriangulation): - def __init__(self, P1: Poly_PolygonOnTriangulation, P2: Poly_PolygonOnTriangulation, Tr: Poly_Triangulation, L: TopLoc_Location) -> None: ... - def Copy(self) -> BRep_CurveRepresentation: ... - def IsPolygonOnClosedTriangulation(self) -> bool: ... - @overload - def PolygonOnTriangulation2(self, P2: Poly_PolygonOnTriangulation) -> None: ... - @overload - def PolygonOnTriangulation2(self) -> Poly_PolygonOnTriangulation: ... + def __init__( + self, + P1: Poly_PolygonOnTriangulation, + P2: Poly_PolygonOnTriangulation, + Tr: Poly_Triangulation, + L: TopLoc_Location, + ) -> None: ... + def Copy(self) -> BRep_CurveRepresentation: ... + def DumpJson(self, depth: Optional[int] = -1) -> str: ... + def IsPolygonOnClosedTriangulation(self) -> bool: ... + @overload + def PolygonOnTriangulation2(self, P2: Poly_PolygonOnTriangulation) -> None: ... + @overload + def PolygonOnTriangulation2(self) -> Poly_PolygonOnTriangulation: ... class BRep_CurveOnClosedSurface(BRep_CurveOnSurface): - def __init__(self, PC1: Geom2d_Curve, PC2: Geom2d_Curve, S: Geom_Surface, L: TopLoc_Location, C: GeomAbs_Shape) -> None: ... - @overload - def Continuity(self) -> GeomAbs_Shape: ... - @overload - def Continuity(self, C: GeomAbs_Shape) -> None: ... - def Copy(self) -> BRep_CurveRepresentation: ... - def IsCurveOnClosedSurface(self) -> bool: ... - @overload - def IsRegularity(self) -> bool: ... - @overload - def IsRegularity(self, S1: Geom_Surface, S2: Geom_Surface, L1: TopLoc_Location, L2: TopLoc_Location) -> bool: ... - def Location2(self) -> TopLoc_Location: ... - @overload - def PCurve2(self) -> Geom2d_Curve: ... - @overload - def PCurve2(self, C: Geom2d_Curve) -> None: ... - def SetUVPoints2(self, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... - def Surface2(self) -> Geom_Surface: ... - def UVPoints2(self, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... - def Update(self) -> None: ... + def __init__( + self, + PC1: Geom2d_Curve, + PC2: Geom2d_Curve, + S: Geom_Surface, + L: TopLoc_Location, + C: GeomAbs_Shape, + ) -> None: ... + @overload + def Continuity(self) -> GeomAbs_Shape: ... + @overload + def Continuity(self, C: GeomAbs_Shape) -> None: ... + def Copy(self) -> BRep_CurveRepresentation: ... + def DumpJson(self, depth: Optional[int] = -1) -> str: ... + def IsCurveOnClosedSurface(self) -> bool: ... + @overload + def IsRegularity(self) -> bool: ... + @overload + def IsRegularity( + self, + S1: Geom_Surface, + S2: Geom_Surface, + L1: TopLoc_Location, + L2: TopLoc_Location, + ) -> bool: ... + def Location2(self) -> TopLoc_Location: ... + @overload + def PCurve2(self) -> Geom2d_Curve: ... + @overload + def PCurve2(self, C: Geom2d_Curve) -> None: ... + def SetUVPoints2(self, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... + def Surface2(self) -> Geom_Surface: ... + def UVPoints2(self, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... + def Update(self) -> None: ... # harray1 classes # harray2 classes # hsequence classes - -BRep_Tool_Continuity = BRep_Tool.Continuity -BRep_Tool_Continuity = BRep_Tool.Continuity -BRep_Tool_Curve = BRep_Tool.Curve -BRep_Tool_Curve = BRep_Tool.Curve -BRep_Tool_CurveOnPlane = BRep_Tool.CurveOnPlane -BRep_Tool_CurveOnSurface = BRep_Tool.CurveOnSurface -BRep_Tool_CurveOnSurface = BRep_Tool.CurveOnSurface -BRep_Tool_CurveOnSurface = BRep_Tool.CurveOnSurface -BRep_Tool_CurveOnSurface = BRep_Tool.CurveOnSurface -BRep_Tool_Degenerated = BRep_Tool.Degenerated -BRep_Tool_HasContinuity = BRep_Tool.HasContinuity -BRep_Tool_HasContinuity = BRep_Tool.HasContinuity -BRep_Tool_HasContinuity = BRep_Tool.HasContinuity -BRep_Tool_IsClosed = BRep_Tool.IsClosed -BRep_Tool_IsClosed = BRep_Tool.IsClosed -BRep_Tool_IsClosed = BRep_Tool.IsClosed -BRep_Tool_IsClosed = BRep_Tool.IsClosed -BRep_Tool_IsGeometric = BRep_Tool.IsGeometric -BRep_Tool_IsGeometric = BRep_Tool.IsGeometric -BRep_Tool_MaxContinuity = BRep_Tool.MaxContinuity -BRep_Tool_MaxTolerance = BRep_Tool.MaxTolerance -BRep_Tool_NaturalRestriction = BRep_Tool.NaturalRestriction -BRep_Tool_Parameter = BRep_Tool.Parameter -BRep_Tool_Parameter = BRep_Tool.Parameter -BRep_Tool_Parameter = BRep_Tool.Parameter -BRep_Tool_Parameter = BRep_Tool.Parameter -BRep_Tool_Parameters = BRep_Tool.Parameters -BRep_Tool_Pnt = BRep_Tool.Pnt -BRep_Tool_Polygon3D = BRep_Tool.Polygon3D -BRep_Tool_PolygonOnSurface = BRep_Tool.PolygonOnSurface -BRep_Tool_PolygonOnSurface = BRep_Tool.PolygonOnSurface -BRep_Tool_PolygonOnSurface = BRep_Tool.PolygonOnSurface -BRep_Tool_PolygonOnSurface = BRep_Tool.PolygonOnSurface -BRep_Tool_PolygonOnTriangulation = BRep_Tool.PolygonOnTriangulation -BRep_Tool_PolygonOnTriangulation = BRep_Tool.PolygonOnTriangulation -BRep_Tool_PolygonOnTriangulation = BRep_Tool.PolygonOnTriangulation -BRep_Tool_Range = BRep_Tool.Range -BRep_Tool_Range = BRep_Tool.Range -BRep_Tool_Range = BRep_Tool.Range -BRep_Tool_SameParameter = BRep_Tool.SameParameter -BRep_Tool_SameRange = BRep_Tool.SameRange -BRep_Tool_SetUVPoints = BRep_Tool.SetUVPoints -BRep_Tool_SetUVPoints = BRep_Tool.SetUVPoints -BRep_Tool_Surface = BRep_Tool.Surface -BRep_Tool_Surface = BRep_Tool.Surface -BRep_Tool_Tolerance = BRep_Tool.Tolerance -BRep_Tool_Tolerance = BRep_Tool.Tolerance -BRep_Tool_Tolerance = BRep_Tool.Tolerance -BRep_Tool_Triangulation = BRep_Tool.Triangulation -BRep_Tool_UVPoints = BRep_Tool.UVPoints -BRep_Tool_UVPoints = BRep_Tool.UVPoints diff --git a/src/SWIG_files/wrapper/BRepAdaptor.i b/src/SWIG_files/wrapper/BRepAdaptor.i index 6f684e1e2..026a721ff 100644 --- a/src/SWIG_files/wrapper/BRepAdaptor.i +++ b/src/SWIG_files/wrapper/BRepAdaptor.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPADAPTORDOCSTRING "BRepAdaptor module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepadaptor.html" +https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_brepadaptor.html" %enddef %module (package="OCC.Core", docstring=BREPADAPTORDOCSTRING) BRepAdaptor @@ -31,8 +31,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepadaptor.html" %include ../common/CommonIncludes.i %include ../common/ExceptionCatcher.i %include ../common/FunctionTransformers.i +%include ../common/EnumTemplates.i %include ../common/Operators.i %include ../common/OccHandle.i +%include ../common/IOStream.i +%include ../common/ArrayMacros.i %{ @@ -47,12 +50,13 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepadaptor.html" #include #include #include -#include #include #include +#include #include #include #include +#include #include #include #include @@ -66,9 +70,9 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepadaptor.html" %import gp.i %import GeomAbs.i %import TColStd.i -%import GeomAdaptor.i %import Geom2dAdaptor.i %import Adaptor2d.i +%import GeomAdaptor.i %pythoncode { from enum import IntEnum @@ -78,55 +82,23 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ /* handles */ -%wrap_handle(BRepAdaptor_HCompCurve) -%wrap_handle(BRepAdaptor_HCurve) -%wrap_handle(BRepAdaptor_HCurve2d) -%wrap_handle(BRepAdaptor_HSurface) +%wrap_handle(BRepAdaptor_CompCurve) +%wrap_handle(BRepAdaptor_Curve) +%wrap_handle(BRepAdaptor_Curve2d) +%wrap_handle(BRepAdaptor_Surface) %wrap_handle(BRepAdaptor_HArray1OfCurve) /* end handles declaration */ /* templates */ %template(BRepAdaptor_Array1OfCurve) NCollection_Array1; +Array1ExtendIter(BRepAdaptor_Curve) -%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 - } -}; /* end templates declaration */ /* typedefs */ @@ -138,39 +110,42 @@ typedef NCollection_Array1 BRepAdaptor_Array1OfCurve; ******************************/ class BRepAdaptor_CompCurve : public Adaptor3d_Curve { public: - /****************** BRepAdaptor_CompCurve ******************/ - /**** md5 signature: c1152ba591cae8b160ace1ba10d270dc ****/ + /****** BRepAdaptor_CompCurve::BRepAdaptor_CompCurve ******/ + /****** md5 signature: c1152ba591cae8b160ace1ba10d270dc ******/ %feature("compactdefaultargs") BRepAdaptor_CompCurve; - %feature("autodoc", "Creates an undefined curve with no wire loaded. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Creates an undefined Curve with no Wire loaded. ") BRepAdaptor_CompCurve; BRepAdaptor_CompCurve(); - /****************** BRepAdaptor_CompCurve ******************/ - /**** md5 signature: 536f827323fa633aa2cdc2b24e992a20 ****/ + /****** BRepAdaptor_CompCurve::BRepAdaptor_CompCurve ******/ + /****** md5 signature: 536f827323fa633aa2cdc2b24e992a20 ******/ %feature("compactdefaultargs") BRepAdaptor_CompCurve; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- W: TopoDS_Wire -KnotByCurvilinearAbcissa: bool,optional - default value is Standard_False +KnotByCurvilinearAbcissa: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepAdaptor_CompCurve; BRepAdaptor_CompCurve(const TopoDS_Wire & W, const Standard_Boolean KnotByCurvilinearAbcissa = Standard_False); - /****************** BRepAdaptor_CompCurve ******************/ - /**** md5 signature: d6d730d5ed59cc103614b39691bdbfd1 ****/ + /****** BRepAdaptor_CompCurve::BRepAdaptor_CompCurve ******/ + /****** md5 signature: d6d730d5ed59cc103614b39691bdbfd1 ******/ %feature("compactdefaultargs") BRepAdaptor_CompCurve; - %feature("autodoc", "Creates a curve to acces to the geometry of edge . - + %feature("autodoc", " Parameters ---------- W: TopoDS_Wire @@ -179,94 +154,111 @@ First: float Last: float Tol: float -Returns +Return ------- None + +Description +----------- +Creates a Curve to access the geometry of edge . ") BRepAdaptor_CompCurve; BRepAdaptor_CompCurve(const TopoDS_Wire & W, const Standard_Boolean KnotByCurvilinearAbcissa, const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); - /****************** BSpline ******************/ - /**** md5 signature: 3ccc0d851302bffb5de6344e3eb3e58d ****/ + /****** BRepAdaptor_CompCurve::BSpline ******/ + /****** md5 signature: 3ccc0d851302bffb5de6344e3eb3e58d ******/ %feature("compactdefaultargs") BSpline; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") BSpline; opencascade::handle BSpline(); - /****************** Bezier ******************/ - /**** md5 signature: 092280fc6ee0e7104fbbe3460d73e83c ****/ + /****** BRepAdaptor_CompCurve::Bezier ******/ + /****** md5 signature: 092280fc6ee0e7104fbbe3460d73e83c ******/ %feature("compactdefaultargs") Bezier; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Bezier; opencascade::handle Bezier(); - /****************** Circle ******************/ - /**** md5 signature: 5f382e7a6af009845ea6e16d54814298 ****/ + /****** BRepAdaptor_CompCurve::Circle ******/ + /****** md5 signature: 5f382e7a6af009845ea6e16d54814298 ******/ %feature("compactdefaultargs") Circle; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Circ + +Description +----------- +No available documentation. ") Circle; gp_Circ Circle(); - /****************** Continuity ******************/ - /**** md5 signature: 9381b370dfdd50af7f1b79ce202f0c6f ****/ + /****** BRepAdaptor_CompCurve::Continuity ******/ + /****** md5 signature: 9381b370dfdd50af7f1b79ce202f0c6f ******/ %feature("compactdefaultargs") Continuity; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- GeomAbs_Shape + +Description +----------- +No available documentation. ") Continuity; GeomAbs_Shape Continuity(); - /****************** D0 ******************/ - /**** md5 signature: 5f7d08d8d17afc516aac9ef64bf9711f ****/ + /****** BRepAdaptor_CompCurve::D0 ******/ + /****** md5 signature: 5f7d08d8d17afc516aac9ef64bf9711f ******/ %feature("compactdefaultargs") D0; - %feature("autodoc", "Computes the point of parameter u. - + %feature("autodoc", " Parameters ---------- U: float P: gp_Pnt -Returns +Return ------- None + +Description +----------- +Computes the point of parameter U. ") D0; void D0(const Standard_Real U, gp_Pnt & P); - /****************** D1 ******************/ - /**** md5 signature: 1dc830ec49a945a61cde5e5c027b78d7 ****/ + /****** BRepAdaptor_CompCurve::D1 ******/ + /****** md5 signature: 1dc830ec49a945a61cde5e5c027b78d7 ******/ %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. - + %feature("autodoc", " Parameters ---------- U: float P: gp_Pnt V: gp_Vec -Returns +Return ------- None + +Description +----------- +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; void D1(const Standard_Real U, gp_Pnt & P, gp_Vec & V); - /****************** D2 ******************/ - /**** md5 signature: a694b4ba68c0fd83fbac79f945cb5d8c ****/ + /****** BRepAdaptor_CompCurve::D2 ******/ + /****** md5 signature: a694b4ba68c0fd83fbac79f945cb5d8c ******/ %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. - + %feature("autodoc", " Parameters ---------- U: float @@ -274,17 +266,20 @@ P: gp_Pnt V1: gp_Vec V2: gp_Vec -Returns +Return ------- None + +Description +----------- +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; void D2(const Standard_Real U, gp_Pnt & P, gp_Vec & V1, gp_Vec & V2); - /****************** D3 ******************/ - /**** md5 signature: cf1c3b5fe7af9d5c183c1b16b21c43f1 ****/ + /****** BRepAdaptor_CompCurve::D3 ******/ + /****** md5 signature: cf1c3b5fe7af9d5c183c1b16b21c43f1 ******/ %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. - + %feature("autodoc", " Parameters ---------- U: float @@ -293,120 +288,142 @@ V1: gp_Vec V2: gp_Vec V3: gp_Vec -Returns +Return ------- None + +Description +----------- +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; void D3(const Standard_Real U, gp_Pnt & P, gp_Vec & V1, gp_Vec & V2, gp_Vec & V3); - /****************** DN ******************/ - /**** md5 signature: 0d4a3e2fc2b4b03d2a49e0796a487efb ****/ + /****** BRepAdaptor_CompCurve::DN ******/ + /****** md5 signature: 0d4a3e2fc2b4b03d2a49e0796a487efb ******/ %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. - + %feature("autodoc", " Parameters ---------- U: float N: int -Returns +Return ------- gp_Vec + +Description +----------- +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; gp_Vec DN(const Standard_Real U, const Standard_Integer N); - /****************** Degree ******************/ - /**** md5 signature: 5ce473e72cc7bb935a667f4c839dab09 ****/ + /****** BRepAdaptor_CompCurve::Degree ******/ + /****** md5 signature: 5ce473e72cc7bb935a667f4c839dab09 ******/ %feature("compactdefaultargs") Degree; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") Degree; Standard_Integer Degree(); - /****************** Edge ******************/ - /**** md5 signature: f73dfc9c9040a29acf2262eb8cd9a8ea ****/ + /****** BRepAdaptor_CompCurve::Edge ******/ + /****** md5 signature: f73dfc9c9040a29acf2262eb8cd9a8ea ******/ %feature("compactdefaultargs") Edge; - %feature("autodoc", "Returns an edge and one parameter on them corresponding to the parameter u. - + %feature("autodoc", " Parameters ---------- U: float E: TopoDS_Edge -Returns +Return ------- UonE: float + +Description +----------- +returns an edge and one parameter on them corresponding to the parameter U. ") Edge; void Edge(const Standard_Real U, TopoDS_Edge & E, Standard_Real &OutValue); - /****************** Ellipse ******************/ - /**** md5 signature: e9a77f14e9bbca29370202de404ea9c1 ****/ + /****** BRepAdaptor_CompCurve::Ellipse ******/ + /****** md5 signature: e9a77f14e9bbca29370202de404ea9c1 ******/ %feature("compactdefaultargs") Ellipse; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Elips + +Description +----------- +No available documentation. ") Ellipse; gp_Elips Ellipse(); - /****************** FirstParameter ******************/ - /**** md5 signature: eb9ebe94572bd67588fe8811eac261fb ****/ + /****** BRepAdaptor_CompCurve::FirstParameter ******/ + /****** md5 signature: eb9ebe94572bd67588fe8811eac261fb ******/ %feature("compactdefaultargs") FirstParameter; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") FirstParameter; Standard_Real FirstParameter(); - /****************** GetType ******************/ - /**** md5 signature: 0ad61dcbb5497908c1b536e766f0fcb9 ****/ + /****** BRepAdaptor_CompCurve::GetType ******/ + /****** md5 signature: 0ad61dcbb5497908c1b536e766f0fcb9 ******/ %feature("compactdefaultargs") GetType; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- GeomAbs_CurveType + +Description +----------- +No available documentation. ") GetType; GeomAbs_CurveType GetType(); - /****************** Hyperbola ******************/ - /**** md5 signature: a96ca49b2ad017b35bb09d0b86cb690d ****/ + /****** BRepAdaptor_CompCurve::Hyperbola ******/ + /****** md5 signature: a96ca49b2ad017b35bb09d0b86cb690d ******/ %feature("compactdefaultargs") Hyperbola; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Hypr + +Description +----------- +No available documentation. ") Hyperbola; gp_Hypr Hyperbola(); - /****************** Initialize ******************/ - /**** md5 signature: 084e04b2711058308ee9c6ffc8589f6f ****/ + /****** BRepAdaptor_CompCurve::Initialize ******/ + /****** md5 signature: 084e04b2711058308ee9c6ffc8589f6f ******/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "Sets the wire . - + %feature("autodoc", " Parameters ---------- W: TopoDS_Wire KnotByCurvilinearAbcissa: bool -Returns +Return ------- None + +Description +----------- +Sets the wire . ") Initialize; void Initialize(const TopoDS_Wire & W, const Standard_Boolean KnotByCurvilinearAbcissa); - /****************** Initialize ******************/ - /**** md5 signature: 3f7ce5fd6aa0f7b3bdaf45694f156692 ****/ + /****** BRepAdaptor_CompCurve::Initialize ******/ + /****** md5 signature: 3f7ce5fd6aa0f7b3bdaf45694f156692 ******/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "Sets wire and trimmed parameter. - + %feature("autodoc", " Parameters ---------- W: TopoDS_Wire @@ -415,203 +432,257 @@ First: float Last: float Tol: float -Returns +Return ------- None + +Description +----------- +Sets wire and trimmed parameter. ") Initialize; void Initialize(const TopoDS_Wire & W, const Standard_Boolean KnotByCurvilinearAbcissa, const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); - /****************** Intervals ******************/ - /**** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ****/ + /****** BRepAdaptor_CompCurve::Intervals ******/ + /****** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ******/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). - + %feature("autodoc", " Parameters ---------- T: TColStd_Array1OfReal S: GeomAbs_Shape -Returns +Return ------- None + +Description +----------- +Stores in the parameters bounding the intervals of continuity . //! The array must provide enough room to accommodate for the parameters. i.e. T.Length() > NbIntervals(). ") Intervals; void Intervals(TColStd_Array1OfReal & T, const GeomAbs_Shape S); - /****************** IsClosed ******************/ - /**** md5 signature: 00978070ec4cb5f00d1d002a8d5d3763 ****/ + /****** BRepAdaptor_CompCurve::IsClosed ******/ + /****** md5 signature: 00978070ec4cb5f00d1d002a8d5d3763 ******/ %feature("compactdefaultargs") IsClosed; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsClosed; Standard_Boolean IsClosed(); - /****************** IsPeriodic ******************/ - /**** md5 signature: 15e3ccfd3ad4ae42959489f7f64aa8ca ****/ + /****** BRepAdaptor_CompCurve::IsPeriodic ******/ + /****** md5 signature: 15e3ccfd3ad4ae42959489f7f64aa8ca ******/ %feature("compactdefaultargs") IsPeriodic; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsPeriodic; Standard_Boolean IsPeriodic(); - /****************** IsRational ******************/ - /**** md5 signature: 82ca56fad113156125f40128b25c0d8e ****/ + /****** BRepAdaptor_CompCurve::IsRational ******/ + /****** md5 signature: 82ca56fad113156125f40128b25c0d8e ******/ %feature("compactdefaultargs") IsRational; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsRational; Standard_Boolean IsRational(); - /****************** LastParameter ******************/ - /**** md5 signature: cb4925a2d4a451ceec8f6ad486530f9c ****/ + /****** BRepAdaptor_CompCurve::LastParameter ******/ + /****** md5 signature: cb4925a2d4a451ceec8f6ad486530f9c ******/ %feature("compactdefaultargs") LastParameter; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") LastParameter; Standard_Real LastParameter(); - /****************** Line ******************/ - /**** md5 signature: cf28f5541e4e744dd8038e2a9ac75a8f ****/ + /****** BRepAdaptor_CompCurve::Line ******/ + /****** md5 signature: cf28f5541e4e744dd8038e2a9ac75a8f ******/ %feature("compactdefaultargs") Line; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Lin + +Description +----------- +No available documentation. ") Line; gp_Lin Line(); - /****************** NbIntervals ******************/ - /**** md5 signature: 8ce4f61bff96d1ce0784028b47edd8dc ****/ + /****** BRepAdaptor_CompCurve::NbIntervals ******/ + /****** md5 signature: 8ce4f61bff96d1ce0784028b47edd8dc ******/ %feature("compactdefaultargs") NbIntervals; - %feature("autodoc", "Returns the number of intervals for continuity . may be one if continuity(me) >= . - + %feature("autodoc", " Parameters ---------- S: GeomAbs_Shape -Returns +Return ------- int + +Description +----------- +Returns the number of intervals for continuity . May be one if Continuity(me) >= . ") NbIntervals; Standard_Integer NbIntervals(const GeomAbs_Shape S); - /****************** NbKnots ******************/ - /**** md5 signature: 841663cbf96bec3b939f307c52df6c7c ****/ + /****** BRepAdaptor_CompCurve::NbKnots ******/ + /****** md5 signature: 841663cbf96bec3b939f307c52df6c7c ******/ %feature("compactdefaultargs") NbKnots; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbKnots; Standard_Integer NbKnots(); - /****************** NbPoles ******************/ - /**** md5 signature: 52e5fadf897540545847ef59cc0ba942 ****/ + /****** BRepAdaptor_CompCurve::NbPoles ******/ + /****** md5 signature: 52e5fadf897540545847ef59cc0ba942 ******/ %feature("compactdefaultargs") NbPoles; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbPoles; Standard_Integer NbPoles(); - /****************** Parabola ******************/ - /**** md5 signature: 68860abab63fd184ea5c7eb97f0762c1 ****/ + /****** BRepAdaptor_CompCurve::Parabola ******/ + /****** md5 signature: 68860abab63fd184ea5c7eb97f0762c1 ******/ %feature("compactdefaultargs") Parabola; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Parab + +Description +----------- +No available documentation. ") Parabola; gp_Parab Parabola(); - /****************** Period ******************/ - /**** md5 signature: 88909a321398632744c0d6841580c626 ****/ + /****** BRepAdaptor_CompCurve::Period ******/ + /****** md5 signature: 88909a321398632744c0d6841580c626 ******/ %feature("compactdefaultargs") Period; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") Period; Standard_Real Period(); - /****************** Resolution ******************/ - /**** md5 signature: cc4a4d9111fadd20ad48e62bc4df1579 ****/ + /****** BRepAdaptor_CompCurve::Resolution ******/ + /****** md5 signature: cc4a4d9111fadd20ad48e62bc4df1579 ******/ %feature("compactdefaultargs") Resolution; - %feature("autodoc", "Returns the parametric resolution. - + %feature("autodoc", " Parameters ---------- R3d: float -Returns +Return ------- float + +Description +----------- +returns the parametric resolution. ") Resolution; Standard_Real Resolution(const Standard_Real R3d); - /****************** Trim ******************/ - /**** md5 signature: 113944489c8ce9efcb5cb2d44fff51d7 ****/ - %feature("compactdefaultargs") Trim; - %feature("autodoc", "Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. if >= . + /****** BRepAdaptor_CompCurve::ShallowCopy ******/ + /****** md5 signature: 1b6b0927543eab9d05e2c875c0c3efb6 ******/ + %feature("compactdefaultargs") ShallowCopy; + %feature("autodoc", "Return +------- +opencascade::handle +Description +----------- +Shallow copy of adaptor. +") ShallowCopy; + virtual opencascade::handle ShallowCopy(); + + /****** BRepAdaptor_CompCurve::Trim ******/ + /****** md5 signature: 40a46ffe7379c6d919968b501b8343a5 ******/ + %feature("compactdefaultargs") Trim; + %feature("autodoc", " Parameters ---------- First: float Last: float Tol: float -Returns +Return ------- -opencascade::handle +opencascade::handle + +Description +----------- +Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. If >= . ") Trim; - opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); - /****************** Value ******************/ - /**** md5 signature: d7f310c73762cbaa285ace0a141bc7bf ****/ + /****** BRepAdaptor_CompCurve::Value ******/ + /****** md5 signature: d7f310c73762cbaa285ace0a141bc7bf ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Computes the point of parameter u on the curve. - + %feature("autodoc", " Parameters ---------- U: float -Returns +Return ------- gp_Pnt + +Description +----------- +Computes the point of parameter U on the curve. ") Value; gp_Pnt Value(const Standard_Real U); - /****************** Wire ******************/ - /**** md5 signature: 066765b94f5225dad05ab95ae3f8b503 ****/ + /****** BRepAdaptor_CompCurve::Wire ******/ + /****** md5 signature: 066765b94f5225dad05ab95ae3f8b503 ******/ %feature("compactdefaultargs") Wire; - %feature("autodoc", "Returns the wire. - -Returns + %feature("autodoc", "Return ------- TopoDS_Wire + +Description +----------- +Returns the wire. ") Wire; const TopoDS_Wire Wire(); }; +%make_alias(BRepAdaptor_CompCurve) + %extend BRepAdaptor_CompCurve { %pythoncode { __repr__ = _dumps_object @@ -623,152 +694,177 @@ TopoDS_Wire **************************/ class BRepAdaptor_Curve : public Adaptor3d_Curve { public: - /****************** BRepAdaptor_Curve ******************/ - /**** md5 signature: 36916a7ac88f4dc1e560c43c25da0671 ****/ + /****** BRepAdaptor_Curve::BRepAdaptor_Curve ******/ + /****** md5 signature: 36916a7ac88f4dc1e560c43c25da0671 ******/ %feature("compactdefaultargs") BRepAdaptor_Curve; - %feature("autodoc", "Creates an undefined curve with no edge loaded. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Creates an undefined Curve with no Edge loaded. ") BRepAdaptor_Curve; BRepAdaptor_Curve(); - /****************** BRepAdaptor_Curve ******************/ - /**** md5 signature: 740e451b59f60726263aab98ec1f1316 ****/ + /****** BRepAdaptor_Curve::BRepAdaptor_Curve ******/ + /****** md5 signature: 740e451b59f60726263aab98ec1f1316 ******/ %feature("compactdefaultargs") BRepAdaptor_Curve; - %feature("autodoc", "Creates a curve to acces to the geometry of edge . - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +Creates a Curve to access the geometry of edge . ") BRepAdaptor_Curve; BRepAdaptor_Curve(const TopoDS_Edge & E); - /****************** BRepAdaptor_Curve ******************/ - /**** md5 signature: c4ad88c445ddb172d9a61b5a673cf024 ****/ + /****** BRepAdaptor_Curve::BRepAdaptor_Curve ******/ + /****** md5 signature: c4ad88c445ddb172d9a61b5a673cf024 ******/ %feature("compactdefaultargs") BRepAdaptor_Curve; - %feature("autodoc", "Creates a curve to acces to the geometry of edge . the geometry will be computed using the parametric curve of on the face . an error is raised if the edge does not have a pcurve on the face. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge F: TopoDS_Face -Returns +Return ------- None + +Description +----------- +Creates a Curve to access the geometry of edge . The geometry will be computed using the parametric curve of on the face . An Error is raised if the edge does not have a pcurve on the face. ") BRepAdaptor_Curve; BRepAdaptor_Curve(const TopoDS_Edge & E, const TopoDS_Face & F); - /****************** BSpline ******************/ - /**** md5 signature: 3ccc0d851302bffb5de6344e3eb3e58d ****/ + /****** BRepAdaptor_Curve::BSpline ******/ + /****** md5 signature: 3ccc0d851302bffb5de6344e3eb3e58d ******/ %feature("compactdefaultargs") BSpline; - %feature("autodoc", "Warning : this will make a copy of the bspline curve since it applies to it mytsrf . be carefull when using this method. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Warning: This will make a copy of the BSpline Curve since it applies to it myTsrf. Be careful when using this method. ") BSpline; opencascade::handle BSpline(); - /****************** Bezier ******************/ - /**** md5 signature: 092280fc6ee0e7104fbbe3460d73e83c ****/ + /****** BRepAdaptor_Curve::Bezier ******/ + /****** md5 signature: 092280fc6ee0e7104fbbe3460d73e83c ******/ %feature("compactdefaultargs") Bezier; - %feature("autodoc", "Warning : this will make a copy of the bezier curve since it applies to it mytsrf . be carefull when using this method. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Warning: This will make a copy of the Bezier Curve since it applies to it myTsrf. Be careful when using this method. ") Bezier; opencascade::handle Bezier(); - /****************** Circle ******************/ - /**** md5 signature: 5f382e7a6af009845ea6e16d54814298 ****/ + /****** BRepAdaptor_Curve::Circle ******/ + /****** md5 signature: 5f382e7a6af009845ea6e16d54814298 ******/ %feature("compactdefaultargs") Circle; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Circ + +Description +----------- +No available documentation. ") Circle; gp_Circ Circle(); - /****************** Continuity ******************/ - /**** md5 signature: 9381b370dfdd50af7f1b79ce202f0c6f ****/ + /****** BRepAdaptor_Curve::Continuity ******/ + /****** md5 signature: 9381b370dfdd50af7f1b79ce202f0c6f ******/ %feature("compactdefaultargs") Continuity; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- GeomAbs_Shape + +Description +----------- +No available documentation. ") Continuity; GeomAbs_Shape Continuity(); - /****************** Curve ******************/ - /**** md5 signature: f572f2bd5ed01577163560ac880dd538 ****/ + /****** BRepAdaptor_Curve::Curve ******/ + /****** md5 signature: f572f2bd5ed01577163560ac880dd538 ******/ %feature("compactdefaultargs") Curve; - %feature("autodoc", "Returns the curve of the edge. - -Returns + %feature("autodoc", "Return ------- GeomAdaptor_Curve + +Description +----------- +Returns the Curve of the edge. ") Curve; - const GeomAdaptor_Curve & Curve(); + GeomAdaptor_Curve Curve(); - /****************** CurveOnSurface ******************/ - /**** md5 signature: f06c54ea203f128f90114fb7bd684518 ****/ + /****** BRepAdaptor_Curve::CurveOnSurface ******/ + /****** md5 signature: f06c54ea203f128f90114fb7bd684518 ******/ %feature("compactdefaultargs") CurveOnSurface; - %feature("autodoc", "Returns the curveonsurface of the edge. - -Returns + %feature("autodoc", "Return ------- Adaptor3d_CurveOnSurface + +Description +----------- +Returns the CurveOnSurface of the edge. ") CurveOnSurface; - const Adaptor3d_CurveOnSurface & CurveOnSurface(); + Adaptor3d_CurveOnSurface CurveOnSurface(); - /****************** D0 ******************/ - /**** md5 signature: 5f7d08d8d17afc516aac9ef64bf9711f ****/ + /****** BRepAdaptor_Curve::D0 ******/ + /****** md5 signature: 5f7d08d8d17afc516aac9ef64bf9711f ******/ %feature("compactdefaultargs") D0; - %feature("autodoc", "Computes the point of parameter u. - + %feature("autodoc", " Parameters ---------- U: float P: gp_Pnt -Returns +Return ------- None + +Description +----------- +Computes the point of parameter U. ") D0; void D0(const Standard_Real U, gp_Pnt & P); - /****************** D1 ******************/ - /**** md5 signature: 1dc830ec49a945a61cde5e5c027b78d7 ****/ + /****** BRepAdaptor_Curve::D1 ******/ + /****** md5 signature: 1dc830ec49a945a61cde5e5c027b78d7 ******/ %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. - + %feature("autodoc", " Parameters ---------- U: float P: gp_Pnt V: gp_Vec -Returns +Return ------- None + +Description +----------- +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; void D1(const Standard_Real U, gp_Pnt & P, gp_Vec & V); - /****************** D2 ******************/ - /**** md5 signature: a694b4ba68c0fd83fbac79f945cb5d8c ****/ + /****** BRepAdaptor_Curve::D2 ******/ + /****** md5 signature: a694b4ba68c0fd83fbac79f945cb5d8c ******/ %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. - + %feature("autodoc", " Parameters ---------- U: float @@ -776,17 +872,20 @@ P: gp_Pnt V1: gp_Vec V2: gp_Vec -Returns +Return ------- None + +Description +----------- +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; void D2(const Standard_Real U, gp_Pnt & P, gp_Vec & V1, gp_Vec & V2); - /****************** D3 ******************/ - /**** md5 signature: cf1c3b5fe7af9d5c183c1b16b21c43f1 ****/ + /****** BRepAdaptor_Curve::D3 ******/ + /****** md5 signature: cf1c3b5fe7af9d5c183c1b16b21c43f1 ******/ %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. - + %feature("autodoc", " Parameters ---------- U: float @@ -795,371 +894,456 @@ V1: gp_Vec V2: gp_Vec V3: gp_Vec -Returns +Return ------- None + +Description +----------- +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; void D3(const Standard_Real U, gp_Pnt & P, gp_Vec & V1, gp_Vec & V2, gp_Vec & V3); - /****************** DN ******************/ - /**** md5 signature: 0d4a3e2fc2b4b03d2a49e0796a487efb ****/ + /****** BRepAdaptor_Curve::DN ******/ + /****** md5 signature: 0d4a3e2fc2b4b03d2a49e0796a487efb ******/ %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. - + %feature("autodoc", " Parameters ---------- U: float N: int -Returns +Return ------- gp_Vec + +Description +----------- +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; gp_Vec DN(const Standard_Real U, const Standard_Integer N); - /****************** Degree ******************/ - /**** md5 signature: 5ce473e72cc7bb935a667f4c839dab09 ****/ + /****** BRepAdaptor_Curve::Degree ******/ + /****** md5 signature: 5ce473e72cc7bb935a667f4c839dab09 ******/ %feature("compactdefaultargs") Degree; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") Degree; Standard_Integer Degree(); - /****************** Edge ******************/ - /**** md5 signature: be590cff987799d8b7c28083399d0e9f ****/ + /****** BRepAdaptor_Curve::Edge ******/ + /****** md5 signature: be590cff987799d8b7c28083399d0e9f ******/ %feature("compactdefaultargs") Edge; - %feature("autodoc", "Returns the edge. - -Returns + %feature("autodoc", "Return ------- TopoDS_Edge + +Description +----------- +Returns the edge. ") Edge; const TopoDS_Edge Edge(); - /****************** Ellipse ******************/ - /**** md5 signature: e9a77f14e9bbca29370202de404ea9c1 ****/ + /****** BRepAdaptor_Curve::Ellipse ******/ + /****** md5 signature: e9a77f14e9bbca29370202de404ea9c1 ******/ %feature("compactdefaultargs") Ellipse; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Elips + +Description +----------- +No available documentation. ") Ellipse; gp_Elips Ellipse(); - /****************** FirstParameter ******************/ - /**** md5 signature: eb9ebe94572bd67588fe8811eac261fb ****/ + /****** BRepAdaptor_Curve::FirstParameter ******/ + /****** md5 signature: eb9ebe94572bd67588fe8811eac261fb ******/ %feature("compactdefaultargs") FirstParameter; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") FirstParameter; Standard_Real FirstParameter(); - /****************** GetType ******************/ - /**** md5 signature: 0ad61dcbb5497908c1b536e766f0fcb9 ****/ + /****** BRepAdaptor_Curve::GetType ******/ + /****** md5 signature: 0ad61dcbb5497908c1b536e766f0fcb9 ******/ %feature("compactdefaultargs") GetType; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- GeomAbs_CurveType + +Description +----------- +No available documentation. ") GetType; GeomAbs_CurveType GetType(); - /****************** Hyperbola ******************/ - /**** md5 signature: a96ca49b2ad017b35bb09d0b86cb690d ****/ + /****** BRepAdaptor_Curve::Hyperbola ******/ + /****** md5 signature: a96ca49b2ad017b35bb09d0b86cb690d ******/ %feature("compactdefaultargs") Hyperbola; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Hypr + +Description +----------- +No available documentation. ") Hyperbola; gp_Hypr Hyperbola(); - /****************** Initialize ******************/ - /**** md5 signature: b0b8cb0790e5e63c5a8b3b133b757731 ****/ + /****** BRepAdaptor_Curve::Initialize ******/ + /****** md5 signature: b0b8cb0790e5e63c5a8b3b133b757731 ******/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "Sets the curve to acces to the geometry of edge . - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +Sets the Curve to access the geometry of edge . ") Initialize; void Initialize(const TopoDS_Edge & E); - /****************** Initialize ******************/ - /**** md5 signature: cf258179577adbc75b4efbc5847934f6 ****/ + /****** BRepAdaptor_Curve::Initialize ******/ + /****** md5 signature: cf258179577adbc75b4efbc5847934f6 ******/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "Sets the curve to acces to the geometry of edge . the geometry will be computed using the parametric curve of on the face . an error is raised if the edge does not have a pcurve on the face. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge F: TopoDS_Face -Returns +Return ------- None + +Description +----------- +Sets the Curve to access the geometry of edge . The geometry will be computed using the parametric curve of on the face . An Error is raised if the edge does not have a pcurve on the face. ") Initialize; void Initialize(const TopoDS_Edge & E, const TopoDS_Face & F); - /****************** Intervals ******************/ - /**** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ****/ + /****** BRepAdaptor_Curve::Intervals ******/ + /****** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ******/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). - + %feature("autodoc", " Parameters ---------- T: TColStd_Array1OfReal S: GeomAbs_Shape -Returns +Return ------- None + +Description +----------- +Stores in the parameters bounding the intervals of continuity . //! The array must provide enough room to accommodate for the parameters. i.e. T.Length() > NbIntervals(). ") Intervals; void Intervals(TColStd_Array1OfReal & T, const GeomAbs_Shape S); - /****************** Is3DCurve ******************/ - /**** md5 signature: f5d6aa26c69fccbb40636aa757b15284 ****/ + /****** BRepAdaptor_Curve::Is3DCurve ******/ + /****** md5 signature: f5d6aa26c69fccbb40636aa757b15284 ******/ %feature("compactdefaultargs") Is3DCurve; - %feature("autodoc", "Returns true if the edge geometry is computed from a 3d curve. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns True if the edge geometry is computed from a 3D curve. ") Is3DCurve; Standard_Boolean Is3DCurve(); - /****************** IsClosed ******************/ - /**** md5 signature: 00978070ec4cb5f00d1d002a8d5d3763 ****/ + /****** BRepAdaptor_Curve::IsClosed ******/ + /****** md5 signature: 00978070ec4cb5f00d1d002a8d5d3763 ******/ %feature("compactdefaultargs") IsClosed; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsClosed; Standard_Boolean IsClosed(); - /****************** IsCurveOnSurface ******************/ - /**** md5 signature: 3910efc6129939aa50e8be5bbd9c78d4 ****/ + /****** BRepAdaptor_Curve::IsCurveOnSurface ******/ + /****** md5 signature: 3910efc6129939aa50e8be5bbd9c78d4 ******/ %feature("compactdefaultargs") IsCurveOnSurface; - %feature("autodoc", "Returns true if the edge geometry is computed from a pcurve on a surface. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns True if the edge geometry is computed from a pcurve on a surface. ") IsCurveOnSurface; Standard_Boolean IsCurveOnSurface(); - /****************** IsPeriodic ******************/ - /**** md5 signature: 15e3ccfd3ad4ae42959489f7f64aa8ca ****/ + /****** BRepAdaptor_Curve::IsPeriodic ******/ + /****** md5 signature: 15e3ccfd3ad4ae42959489f7f64aa8ca ******/ %feature("compactdefaultargs") IsPeriodic; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsPeriodic; Standard_Boolean IsPeriodic(); - /****************** IsRational ******************/ - /**** md5 signature: 82ca56fad113156125f40128b25c0d8e ****/ + /****** BRepAdaptor_Curve::IsRational ******/ + /****** md5 signature: 82ca56fad113156125f40128b25c0d8e ******/ %feature("compactdefaultargs") IsRational; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsRational; Standard_Boolean IsRational(); - /****************** LastParameter ******************/ - /**** md5 signature: cb4925a2d4a451ceec8f6ad486530f9c ****/ + /****** BRepAdaptor_Curve::LastParameter ******/ + /****** md5 signature: cb4925a2d4a451ceec8f6ad486530f9c ******/ %feature("compactdefaultargs") LastParameter; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") LastParameter; Standard_Real LastParameter(); - /****************** Line ******************/ - /**** md5 signature: cf28f5541e4e744dd8038e2a9ac75a8f ****/ + /****** BRepAdaptor_Curve::Line ******/ + /****** md5 signature: cf28f5541e4e744dd8038e2a9ac75a8f ******/ %feature("compactdefaultargs") Line; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Lin + +Description +----------- +No available documentation. ") Line; gp_Lin Line(); - /****************** NbIntervals ******************/ - /**** md5 signature: 8ce4f61bff96d1ce0784028b47edd8dc ****/ + /****** BRepAdaptor_Curve::NbIntervals ******/ + /****** md5 signature: 8ce4f61bff96d1ce0784028b47edd8dc ******/ %feature("compactdefaultargs") NbIntervals; - %feature("autodoc", "Returns the number of intervals for continuity . may be one if continuity(me) >= . - + %feature("autodoc", " Parameters ---------- S: GeomAbs_Shape -Returns +Return ------- int + +Description +----------- +Returns the number of intervals for continuity . May be one if Continuity(me) >= . ") NbIntervals; Standard_Integer NbIntervals(const GeomAbs_Shape S); - /****************** NbKnots ******************/ - /**** md5 signature: 841663cbf96bec3b939f307c52df6c7c ****/ + /****** BRepAdaptor_Curve::NbKnots ******/ + /****** md5 signature: 841663cbf96bec3b939f307c52df6c7c ******/ %feature("compactdefaultargs") NbKnots; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbKnots; Standard_Integer NbKnots(); - /****************** NbPoles ******************/ - /**** md5 signature: 52e5fadf897540545847ef59cc0ba942 ****/ + /****** BRepAdaptor_Curve::NbPoles ******/ + /****** md5 signature: 52e5fadf897540545847ef59cc0ba942 ******/ %feature("compactdefaultargs") NbPoles; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbPoles; Standard_Integer NbPoles(); - /****************** OffsetCurve ******************/ - /**** md5 signature: c9712770a031ed315e762ca33ff3eddd ****/ + /****** BRepAdaptor_Curve::OffsetCurve ******/ + /****** md5 signature: c9712770a031ed315e762ca33ff3eddd ******/ %feature("compactdefaultargs") OffsetCurve; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") OffsetCurve; opencascade::handle OffsetCurve(); - /****************** Parabola ******************/ - /**** md5 signature: 68860abab63fd184ea5c7eb97f0762c1 ****/ + /****** BRepAdaptor_Curve::Parabola ******/ + /****** md5 signature: 68860abab63fd184ea5c7eb97f0762c1 ******/ %feature("compactdefaultargs") Parabola; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Parab + +Description +----------- +No available documentation. ") Parabola; gp_Parab Parabola(); - /****************** Period ******************/ - /**** md5 signature: 88909a321398632744c0d6841580c626 ****/ + /****** BRepAdaptor_Curve::Period ******/ + /****** md5 signature: 88909a321398632744c0d6841580c626 ******/ %feature("compactdefaultargs") Period; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") Period; Standard_Real Period(); - /****************** Reset ******************/ - /**** md5 signature: 7beb446fe26b948f797f8de87e46c23d ****/ + /****** BRepAdaptor_Curve::Reset ******/ + /****** md5 signature: 7beb446fe26b948f797f8de87e46c23d ******/ %feature("compactdefaultargs") Reset; - %feature("autodoc", "Reset currently loaded curve (undone load()). - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Reset currently loaded curve (undone Load()). ") Reset; void Reset(); - /****************** Resolution ******************/ - /**** md5 signature: cc4a4d9111fadd20ad48e62bc4df1579 ****/ + /****** BRepAdaptor_Curve::Resolution ******/ + /****** md5 signature: cc4a4d9111fadd20ad48e62bc4df1579 ******/ %feature("compactdefaultargs") Resolution; - %feature("autodoc", "Returns the parametric resolution. - + %feature("autodoc", " Parameters ---------- R3d: float -Returns +Return ------- float + +Description +----------- +returns the parametric resolution. ") Resolution; Standard_Real Resolution(const Standard_Real R3d); - /****************** Tolerance ******************/ - /**** md5 signature: 9e5775014410d884d1a1adc1cd47930b ****/ - %feature("compactdefaultargs") Tolerance; - %feature("autodoc", "Returns the edge tolerance. + /****** BRepAdaptor_Curve::ShallowCopy ******/ + /****** md5 signature: 1b6b0927543eab9d05e2c875c0c3efb6 ******/ + %feature("compactdefaultargs") ShallowCopy; + %feature("autodoc", "Return +------- +opencascade::handle + +Description +----------- +Shallow copy of adaptor. +") ShallowCopy; + virtual opencascade::handle ShallowCopy(); -Returns + /****** BRepAdaptor_Curve::Tolerance ******/ + /****** md5 signature: 9e5775014410d884d1a1adc1cd47930b ******/ + %feature("compactdefaultargs") Tolerance; + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the edge tolerance. ") Tolerance; Standard_Real Tolerance(); - /****************** Trim ******************/ - /**** md5 signature: 113944489c8ce9efcb5cb2d44fff51d7 ****/ + /****** BRepAdaptor_Curve::Trim ******/ + /****** md5 signature: 40a46ffe7379c6d919968b501b8343a5 ******/ %feature("compactdefaultargs") Trim; - %feature("autodoc", "Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. if >= . - + %feature("autodoc", " Parameters ---------- First: float Last: float Tol: float -Returns +Return ------- -opencascade::handle +opencascade::handle + +Description +----------- +Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. If >= . ") Trim; - opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); - /****************** Trsf ******************/ - /**** md5 signature: 97ab79d36bbfac916eee88e8b5acb351 ****/ + /****** BRepAdaptor_Curve::Trsf ******/ + /****** md5 signature: 97ab79d36bbfac916eee88e8b5acb351 ******/ %feature("compactdefaultargs") Trsf; - %feature("autodoc", "Returns the coordinate system of the curve. - -Returns + %feature("autodoc", "Return ------- gp_Trsf + +Description +----------- +Returns the coordinate system of the curve. ") Trsf; const gp_Trsf Trsf(); - /****************** Value ******************/ - /**** md5 signature: d7f310c73762cbaa285ace0a141bc7bf ****/ + /****** BRepAdaptor_Curve::Value ******/ + /****** md5 signature: d7f310c73762cbaa285ace0a141bc7bf ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Computes the point of parameter u on the curve. - + %feature("autodoc", " Parameters ---------- U: float -Returns +Return ------- gp_Pnt + +Description +----------- +Computes the point of parameter U on the curve. ") Value; gp_Pnt Value(const Standard_Real U); }; +%make_alias(BRepAdaptor_Curve) + %extend BRepAdaptor_Curve { %pythoncode { __repr__ = _dumps_object @@ -1171,413 +1355,102 @@ gp_Pnt ****************************/ class BRepAdaptor_Curve2d : public Geom2dAdaptor_Curve { public: - /****************** BRepAdaptor_Curve2d ******************/ - /**** md5 signature: b7ed47cccfb977bc356e474765ba5816 ****/ + /****** BRepAdaptor_Curve2d::BRepAdaptor_Curve2d ******/ + /****** md5 signature: b7ed47cccfb977bc356e474765ba5816 ******/ %feature("compactdefaultargs") BRepAdaptor_Curve2d; - %feature("autodoc", "Creates an uninitialized curve2d. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Creates an uninitialized curve2d. ") BRepAdaptor_Curve2d; BRepAdaptor_Curve2d(); - /****************** BRepAdaptor_Curve2d ******************/ - /**** md5 signature: e386e29ae63edd3b069e2ac2448ce78a ****/ + /****** BRepAdaptor_Curve2d::BRepAdaptor_Curve2d ******/ + /****** md5 signature: e386e29ae63edd3b069e2ac2448ce78a ******/ %feature("compactdefaultargs") BRepAdaptor_Curve2d; - %feature("autodoc", "Creates with the pcurve of on . - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge F: TopoDS_Face -Returns +Return ------- None + +Description +----------- +Creates with the pcurve of on . ") BRepAdaptor_Curve2d; BRepAdaptor_Curve2d(const TopoDS_Edge & E, const TopoDS_Face & F); - /****************** Edge ******************/ - /**** md5 signature: be590cff987799d8b7c28083399d0e9f ****/ + /****** BRepAdaptor_Curve2d::Edge ******/ + /****** md5 signature: be590cff987799d8b7c28083399d0e9f ******/ %feature("compactdefaultargs") Edge; - %feature("autodoc", "Returns the edge. - -Returns + %feature("autodoc", "Return ------- TopoDS_Edge + +Description +----------- +Returns the Edge. ") Edge; const TopoDS_Edge Edge(); - /****************** Face ******************/ - /**** md5 signature: 91e216ebeb76e55c73eb9e179241a6ff ****/ + /****** BRepAdaptor_Curve2d::Face ******/ + /****** md5 signature: 91e216ebeb76e55c73eb9e179241a6ff ******/ %feature("compactdefaultargs") Face; - %feature("autodoc", "Returns the face. - -Returns + %feature("autodoc", "Return ------- TopoDS_Face + +Description +----------- +Returns the Face. ") Face; const TopoDS_Face Face(); - /****************** Initialize ******************/ - /**** md5 signature: cf258179577adbc75b4efbc5847934f6 ****/ + /****** BRepAdaptor_Curve2d::Initialize ******/ + /****** md5 signature: cf258179577adbc75b4efbc5847934f6 ******/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "Initialize with the pcurve of on . - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge F: TopoDS_Face -Returns +Return ------- None + +Description +----------- +Initialize with the pcurve of on . ") Initialize; void Initialize(const TopoDS_Edge & E, const TopoDS_Face & F); -}; - - -%extend BRepAdaptor_Curve2d { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/******************************* -* class BRepAdaptor_HCompCurve * -*******************************/ -class BRepAdaptor_HCompCurve : public Adaptor3d_HCurve { - public: - /****************** BRepAdaptor_HCompCurve ******************/ - /**** md5 signature: ee2332085191c287653cc1dc3c443d67 ****/ - %feature("compactdefaultargs") BRepAdaptor_HCompCurve; - %feature("autodoc", "Creates an empty genhcurve. - -Returns -------- -None -") BRepAdaptor_HCompCurve; - BRepAdaptor_HCompCurve(); - - /****************** BRepAdaptor_HCompCurve ******************/ - /**** md5 signature: 529069a7142997396ae63cdbe29595c4 ****/ - %feature("compactdefaultargs") BRepAdaptor_HCompCurve; - %feature("autodoc", "Creates a genhcurve from a curve. - -Parameters ----------- -C: BRepAdaptor_CompCurve - -Returns -------- -None -") BRepAdaptor_HCompCurve; - BRepAdaptor_HCompCurve(const BRepAdaptor_CompCurve & C); - - /****************** ChangeCurve ******************/ - /**** md5 signature: 5584aafa803567f0b14765f59d1e9df7 ****/ - %feature("compactdefaultargs") ChangeCurve; - %feature("autodoc", "Returns the curve used to create the genhcurve. - -Returns -------- -BRepAdaptor_CompCurve -") ChangeCurve; - BRepAdaptor_CompCurve & ChangeCurve(); - - /****************** Curve ******************/ - /**** md5 signature: a89f0959dbb9c3c030843720c3636148 ****/ - %feature("compactdefaultargs") Curve; - %feature("autodoc", "Returns the curve used to create the genhcurve. this is redefined from hcurve, cannot be inline. - -Returns -------- -Adaptor3d_Curve -") Curve; - const Adaptor3d_Curve & Curve(); - - /****************** GetCurve ******************/ - /**** md5 signature: 73b397b3522011e6948956523664e20c ****/ - %feature("compactdefaultargs") GetCurve; - %feature("autodoc", "Returns the curve used to create the genhcurve. this is redefined from hcurve, cannot be inline. - -Returns -------- -Adaptor3d_Curve -") GetCurve; - Adaptor3d_Curve & GetCurve(); - - /****************** Set ******************/ - /**** md5 signature: 293e0d7a041d2ce7fad35d23e78b19a5 ****/ - %feature("compactdefaultargs") Set; - %feature("autodoc", "Sets the field of the genhcurve. - -Parameters ----------- -C: BRepAdaptor_CompCurve - -Returns -------- -None -") Set; - void Set(const BRepAdaptor_CompCurve & C); - -}; - - -%make_alias(BRepAdaptor_HCompCurve) - -%extend BRepAdaptor_HCompCurve { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/*************************** -* class BRepAdaptor_HCurve * -***************************/ -class BRepAdaptor_HCurve : public Adaptor3d_HCurve { - public: - /****************** BRepAdaptor_HCurve ******************/ - /**** md5 signature: c2c284c5ce4093000fb8547d17b56caa ****/ - %feature("compactdefaultargs") BRepAdaptor_HCurve; - %feature("autodoc", "Creates an empty genhcurve. - -Returns -------- -None -") BRepAdaptor_HCurve; - BRepAdaptor_HCurve(); - - /****************** BRepAdaptor_HCurve ******************/ - /**** md5 signature: e646efb1776bc9066f0b18779c8630da ****/ - %feature("compactdefaultargs") BRepAdaptor_HCurve; - %feature("autodoc", "Creates a genhcurve from a curve. - -Parameters ----------- -C: BRepAdaptor_Curve - -Returns -------- -None -") BRepAdaptor_HCurve; - BRepAdaptor_HCurve(const BRepAdaptor_Curve & C); - - /****************** ChangeCurve ******************/ - /**** md5 signature: ec3c49a6c008b42a2a45ef58ef5939e3 ****/ - %feature("compactdefaultargs") ChangeCurve; - %feature("autodoc", "Returns the curve used to create the genhcurve. - -Returns -------- -BRepAdaptor_Curve -") ChangeCurve; - BRepAdaptor_Curve & ChangeCurve(); - - /****************** Curve ******************/ - /**** md5 signature: a89f0959dbb9c3c030843720c3636148 ****/ - %feature("compactdefaultargs") Curve; - %feature("autodoc", "Returns the curve used to create the genhcurve. this is redefined from hcurve, cannot be inline. - -Returns -------- -Adaptor3d_Curve -") Curve; - const Adaptor3d_Curve & Curve(); - - /****************** GetCurve ******************/ - /**** md5 signature: 73b397b3522011e6948956523664e20c ****/ - %feature("compactdefaultargs") GetCurve; - %feature("autodoc", "Returns the curve used to create the genhcurve. this is redefined from hcurve, cannot be inline. - -Returns -------- -Adaptor3d_Curve -") GetCurve; - Adaptor3d_Curve & GetCurve(); - - /****************** Set ******************/ - /**** md5 signature: 6d7ab21b172ab8d3910d6bddd09a65b7 ****/ - %feature("compactdefaultargs") Set; - %feature("autodoc", "Sets the field of the genhcurve. - -Parameters ----------- -C: BRepAdaptor_Curve - -Returns + /****** BRepAdaptor_Curve2d::ShallowCopy ******/ + /****** md5 signature: 7526aff3b770b4e3b1eb3cc08adfb4b0 ******/ + %feature("compactdefaultargs") ShallowCopy; + %feature("autodoc", "Return ------- -None -") Set; - void Set(const BRepAdaptor_Curve & C); - -}; - +opencascade::handle -%make_alias(BRepAdaptor_HCurve) +Description +----------- +Shallow copy of adaptor. +") ShallowCopy; + virtual opencascade::handle ShallowCopy(); -%extend BRepAdaptor_HCurve { - %pythoncode { - __repr__ = _dumps_object - } }; -/***************************** -* class BRepAdaptor_HCurve2d * -*****************************/ -class BRepAdaptor_HCurve2d : public Adaptor2d_HCurve2d { - public: - /****************** BRepAdaptor_HCurve2d ******************/ - /**** md5 signature: c87733446815b91c488e07d5c4adb51a ****/ - %feature("compactdefaultargs") BRepAdaptor_HCurve2d; - %feature("autodoc", "Creates an empty genhcurve2d. - -Returns -------- -None -") BRepAdaptor_HCurve2d; - BRepAdaptor_HCurve2d(); - - /****************** BRepAdaptor_HCurve2d ******************/ - /**** md5 signature: b630f3a90244c1bfeb089666571296b9 ****/ - %feature("compactdefaultargs") BRepAdaptor_HCurve2d; - %feature("autodoc", "Creates a genhcurve2d from a curve. - -Parameters ----------- -C: BRepAdaptor_Curve2d - -Returns -------- -None -") BRepAdaptor_HCurve2d; - BRepAdaptor_HCurve2d(const BRepAdaptor_Curve2d & C); - - /****************** ChangeCurve2d ******************/ - /**** md5 signature: 5eaafe0a2840f766190f2993e7e4d917 ****/ - %feature("compactdefaultargs") ChangeCurve2d; - %feature("autodoc", "Returns the curve used to create the genhcurve. - -Returns -------- -BRepAdaptor_Curve2d -") ChangeCurve2d; - BRepAdaptor_Curve2d & ChangeCurve2d(); - /****************** Curve2d ******************/ - /**** md5 signature: 87546edb35f2000a54f99255bb8c94db ****/ - %feature("compactdefaultargs") Curve2d; - %feature("autodoc", "Returns the curve used to create the genhcurve2d. this is redefined from hcurve2d, cannot be inline. +%make_alias(BRepAdaptor_Curve2d) -Returns -------- -Adaptor2d_Curve2d -") Curve2d; - const Adaptor2d_Curve2d & Curve2d(); - - /****************** Set ******************/ - /**** md5 signature: c9606a59ae51084ae5fc17beeb0843ff ****/ - %feature("compactdefaultargs") Set; - %feature("autodoc", "Sets the field of the genhcurve2d. - -Parameters ----------- -C: BRepAdaptor_Curve2d - -Returns -------- -None -") Set; - void Set(const BRepAdaptor_Curve2d & C); - -}; - - -%make_alias(BRepAdaptor_HCurve2d) - -%extend BRepAdaptor_HCurve2d { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/***************************** -* class BRepAdaptor_HSurface * -*****************************/ -class BRepAdaptor_HSurface : public Adaptor3d_HSurface { - public: - /****************** BRepAdaptor_HSurface ******************/ - /**** md5 signature: 47d131914c3d836b6ee8dfca74879c7c ****/ - %feature("compactdefaultargs") BRepAdaptor_HSurface; - %feature("autodoc", "Creates an empty genhsurface. - -Returns -------- -None -") BRepAdaptor_HSurface; - BRepAdaptor_HSurface(); - - /****************** BRepAdaptor_HSurface ******************/ - /**** md5 signature: 99cc409cc8049c0bbcbb1e8a795e84c0 ****/ - %feature("compactdefaultargs") BRepAdaptor_HSurface; - %feature("autodoc", "Creates a genhsurface from a surface. - -Parameters ----------- -S: BRepAdaptor_Surface - -Returns -------- -None -") BRepAdaptor_HSurface; - BRepAdaptor_HSurface(const BRepAdaptor_Surface & S); - - /****************** ChangeSurface ******************/ - /**** md5 signature: 26725220266e2a65b2ae7cf9cd23eaf2 ****/ - %feature("compactdefaultargs") ChangeSurface; - %feature("autodoc", "Returns the surface used to create the genhsurface. - -Returns -------- -BRepAdaptor_Surface -") ChangeSurface; - BRepAdaptor_Surface & ChangeSurface(); - - /****************** Set ******************/ - /**** md5 signature: fcf34872ec48434410d7179500550649 ****/ - %feature("compactdefaultargs") Set; - %feature("autodoc", "Sets the field of the genhsurface. - -Parameters ----------- -S: BRepAdaptor_Surface - -Returns -------- -None -") Set; - void Set(const BRepAdaptor_Surface & S); - - /****************** Surface ******************/ - /**** md5 signature: 87b43b57a8dc79c19df787e8ef796cad ****/ - %feature("compactdefaultargs") Surface; - %feature("autodoc", "Returns a reference to the surface inside the hsurface. this is redefined from hsurface, cannot be inline. - -Returns -------- -Adaptor3d_Surface -") Surface; - const Adaptor3d_Surface & Surface(); - -}; - - -%make_alias(BRepAdaptor_HSurface) - -%extend BRepAdaptor_HSurface { +%extend BRepAdaptor_Curve2d { %pythoncode { __repr__ = _dumps_object } @@ -1588,144 +1461,166 @@ Adaptor3d_Surface ****************************/ class BRepAdaptor_Surface : public Adaptor3d_Surface { public: - /****************** BRepAdaptor_Surface ******************/ - /**** md5 signature: fd2163b01d125040a3f6f06ce9213655 ****/ + /****** BRepAdaptor_Surface::BRepAdaptor_Surface ******/ + /****** md5 signature: fd2163b01d125040a3f6f06ce9213655 ******/ %feature("compactdefaultargs") BRepAdaptor_Surface; - %feature("autodoc", "Creates an undefined surface with no face loaded. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Creates an undefined surface with no face loaded. ") BRepAdaptor_Surface; BRepAdaptor_Surface(); - /****************** BRepAdaptor_Surface ******************/ - /**** md5 signature: 0cf16f4fea8b7b02de8e7d0a77cdc16a ****/ + /****** BRepAdaptor_Surface::BRepAdaptor_Surface ******/ + /****** md5 signature: 0cf16f4fea8b7b02de8e7d0a77cdc16a ******/ %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", " Parameters ---------- F: TopoDS_Face -R: bool,optional - default value is Standard_True +R: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +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. ") BRepAdaptor_Surface; BRepAdaptor_Surface(const TopoDS_Face & F, const Standard_Boolean R = Standard_True); - /****************** AxeOfRevolution ******************/ - /**** md5 signature: ba4a8d5fbd6cead47ee1b295e5469d5d ****/ + /****** BRepAdaptor_Surface::AxeOfRevolution ******/ + /****** md5 signature: ba4a8d5fbd6cead47ee1b295e5469d5d ******/ %feature("compactdefaultargs") AxeOfRevolution; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Ax1 + +Description +----------- +No available documentation. ") AxeOfRevolution; gp_Ax1 AxeOfRevolution(); - /****************** BSpline ******************/ - /**** md5 signature: 7edfedec29b3e090d1dbb1c560f9218f ****/ + /****** BRepAdaptor_Surface::BSpline ******/ + /****** md5 signature: 7edfedec29b3e090d1dbb1c560f9218f ******/ %feature("compactdefaultargs") BSpline; - %feature("autodoc", "Warning : this will make a copy of the bspline surface since it applies to it the mytsrf transformation be carefull when using this method. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Warning: this will make a copy of the BSpline Surface since it applies to it the myTsrf transformation Be Careful when using this method. ") BSpline; opencascade::handle BSpline(); - /****************** BasisCurve ******************/ - /**** md5 signature: 649d212d15fc34b20cfbf05abf61b226 ****/ + /****** BRepAdaptor_Surface::BasisCurve ******/ + /****** md5 signature: 3da13dd15bd6f8a74a4a076b13266260 ******/ %feature("compactdefaultargs") BasisCurve; - %feature("autodoc", "Only for surfaceofextrusion and surfaceofrevolution warning: this will make a copy of the underlying curve since it applies to it the transformation mytrsf. be carefull when using this method. - -Returns + %feature("autodoc", "Return ------- -opencascade::handle +opencascade::handle + +Description +----------- +only for SurfaceOfExtrusion and SurfaceOfRevolution Warning: this will make a copy of the underlying curve since it applies to it the transformation myTrsf. Be careful when using this method. ") BasisCurve; - opencascade::handle BasisCurve(); + opencascade::handle BasisCurve(); - /****************** BasisSurface ******************/ - /**** md5 signature: 421ea038c6d9bcc3b023d9c1239bea84 ****/ + /****** BRepAdaptor_Surface::BasisSurface ******/ + /****** md5 signature: de63a8a43356a45f5d395e828ec0014c ******/ %feature("compactdefaultargs") BasisSurface; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- -opencascade::handle +opencascade::handle + +Description +----------- +No available documentation. ") BasisSurface; - opencascade::handle BasisSurface(); + opencascade::handle BasisSurface(); - /****************** Bezier ******************/ - /**** md5 signature: 98b7293dc91af28a1a57c0bfbd1e467a ****/ + /****** BRepAdaptor_Surface::Bezier ******/ + /****** md5 signature: 98b7293dc91af28a1a57c0bfbd1e467a ******/ %feature("compactdefaultargs") Bezier; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Bezier; opencascade::handle Bezier(); - /****************** ChangeSurface ******************/ - /**** md5 signature: ead718e69fe53e8fd677c1b9c64ff5a3 ****/ + /****** BRepAdaptor_Surface::ChangeSurface ******/ + /****** md5 signature: ead718e69fe53e8fd677c1b9c64ff5a3 ******/ %feature("compactdefaultargs") ChangeSurface; - %feature("autodoc", "Returns the surface. - -Returns + %feature("autodoc", "Return ------- GeomAdaptor_Surface + +Description +----------- +Returns the surface. ") ChangeSurface; GeomAdaptor_Surface & ChangeSurface(); - /****************** Cone ******************/ - /**** md5 signature: 3ce87f79e83a129f74e88ef746e3e34b ****/ + /****** BRepAdaptor_Surface::Cone ******/ + /****** md5 signature: 3ce87f79e83a129f74e88ef746e3e34b ******/ %feature("compactdefaultargs") Cone; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Cone + +Description +----------- +No available documentation. ") Cone; gp_Cone Cone(); - /****************** Cylinder ******************/ - /**** md5 signature: fdc0e133b47b8d299b834e1b65638963 ****/ + /****** BRepAdaptor_Surface::Cylinder ******/ + /****** md5 signature: fdc0e133b47b8d299b834e1b65638963 ******/ %feature("compactdefaultargs") Cylinder; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Cylinder + +Description +----------- +No available documentation. ") Cylinder; gp_Cylinder Cylinder(); - /****************** D0 ******************/ - /**** md5 signature: 909f7ecc223d561155c9c3ba4b8e7b64 ****/ + /****** BRepAdaptor_Surface::D0 ******/ + /****** md5 signature: 909f7ecc223d561155c9c3ba4b8e7b64 ******/ %feature("compactdefaultargs") D0; - %feature("autodoc", "Computes the point of parameters u,v on the surface. - + %feature("autodoc", " Parameters ---------- U: float V: float P: gp_Pnt -Returns +Return ------- None + +Description +----------- +Computes the point of parameters U,V on the surface. ") D0; void D0(const Standard_Real U, const Standard_Real V, gp_Pnt & P); - /****************** D1 ******************/ - /**** md5 signature: 0868b105367e01c443402a5728aa3395 ****/ + /****** BRepAdaptor_Surface::D1 ******/ + /****** md5 signature: 0868b105367e01c443402a5728aa3395 ******/ %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. - + %feature("autodoc", " Parameters ---------- U: float @@ -1734,17 +1629,20 @@ P: gp_Pnt D1U: gp_Vec D1V: gp_Vec -Returns +Return ------- None + +Description +----------- +Computes the point and the first derivatives on the surface. Raised if the continuity of the current intervals is not C1. //! Tip: use GeomLib::NormEstim() to calculate surface normal at specified (U, V) point. ") D1; void D1(const Standard_Real U, const Standard_Real V, gp_Pnt & P, gp_Vec & D1U, gp_Vec & D1V); - /****************** D2 ******************/ - /**** md5 signature: 5bdb029d3f1561c55d7ab1d1b0b0282a ****/ + /****** BRepAdaptor_Surface::D2 ******/ + /****** md5 signature: 5bdb029d3f1561c55d7ab1d1b0b0282a ******/ %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. - + %feature("autodoc", " Parameters ---------- U: float @@ -1756,17 +1654,20 @@ D2U: gp_Vec D2V: gp_Vec D2UV: gp_Vec -Returns +Return ------- None + +Description +----------- +Computes the point, the first and second derivatives on the surface. Raised if the continuity of the current intervals is not C2. ") D2; void D2(const Standard_Real U, const Standard_Real V, gp_Pnt & P, gp_Vec & D1U, gp_Vec & D1V, gp_Vec & D2U, gp_Vec & D2V, gp_Vec & D2UV); - /****************** D3 ******************/ - /**** md5 signature: 2fbd4d1b6bb5f19034b05b5a6e0ddec0 ****/ + /****** BRepAdaptor_Surface::D3 ******/ + /****** md5 signature: 2fbd4d1b6bb5f19034b05b5a6e0ddec0 ******/ %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. - + %feature("autodoc", " Parameters ---------- U: float @@ -1782,17 +1683,20 @@ D3V: gp_Vec D3UUV: gp_Vec D3UVV: gp_Vec -Returns +Return ------- None + +Description +----------- +Computes the point, the first, second and third derivatives on the surface. Raised if the continuity of the current intervals is not C3. ") D3; void D3(const Standard_Real U, const Standard_Real V, gp_Pnt & P, gp_Vec & D1U, gp_Vec & D1V, gp_Vec & D2U, gp_Vec & D2V, gp_Vec & D2UV, gp_Vec & D3U, gp_Vec & D3V, gp_Vec & D3UUV, gp_Vec & D3UVV); - /****************** DN ******************/ - /**** md5 signature: 78200f5fa5a4060f4022c2e3d9d8ac0e ****/ + /****** BRepAdaptor_Surface::DN ******/ + /****** md5 signature: 78200f5fa5a4060f4022c2e3d9d8ac0e ******/ %feature("compactdefaultargs") DN; - %feature("autodoc", "Computes the derivative of order nu in the direction u and nv in the direction v 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. - + %feature("autodoc", " Parameters ---------- U: float @@ -1800,504 +1704,612 @@ V: float Nu: int Nv: int -Returns +Return ------- gp_Vec + +Description +----------- +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; gp_Vec DN(const Standard_Real U, const Standard_Real V, const Standard_Integer Nu, const Standard_Integer Nv); - /****************** Direction ******************/ - /**** md5 signature: 701909e88752dfbf540944de6bad9f3a ****/ + /****** BRepAdaptor_Surface::Direction ******/ + /****** md5 signature: 701909e88752dfbf540944de6bad9f3a ******/ %feature("compactdefaultargs") Direction; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Dir + +Description +----------- +No available documentation. ") Direction; gp_Dir Direction(); - /****************** Face ******************/ - /**** md5 signature: 91e216ebeb76e55c73eb9e179241a6ff ****/ + /****** BRepAdaptor_Surface::Face ******/ + /****** md5 signature: 91e216ebeb76e55c73eb9e179241a6ff ******/ %feature("compactdefaultargs") Face; - %feature("autodoc", "Returns the face. - -Returns + %feature("autodoc", "Return ------- TopoDS_Face + +Description +----------- +Returns the face. ") Face; const TopoDS_Face Face(); - /****************** FirstUParameter ******************/ - /**** md5 signature: 62341804d7e1ffc3de87fae2bf43b512 ****/ + /****** BRepAdaptor_Surface::FirstUParameter ******/ + /****** md5 signature: 9f6a318ef39f30d9051cc243f6edc9ac ******/ %feature("compactdefaultargs") FirstUParameter; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") FirstUParameter; - Standard_Real FirstUParameter(); + virtual Standard_Real FirstUParameter(); - /****************** FirstVParameter ******************/ - /**** md5 signature: 982af8f353fd309c87f6c3698af95089 ****/ + /****** BRepAdaptor_Surface::FirstVParameter ******/ + /****** md5 signature: 026c8b687e22be56263a275efcb1a191 ******/ %feature("compactdefaultargs") FirstVParameter; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") FirstVParameter; - Standard_Real FirstVParameter(); + virtual Standard_Real FirstVParameter(); - /****************** GetType ******************/ - /**** md5 signature: 96aa962fbb94c2c631f870283212b1d3 ****/ + /****** BRepAdaptor_Surface::GetType ******/ + /****** md5 signature: 936170b269276a5a12605a71a86272c0 ******/ %feature("compactdefaultargs") GetType; - %feature("autodoc", "Returns the type of the surface : plane, cylinder, cone, sphere, torus, beziersurface, bsplinesurface, surfaceofrevolution, surfaceofextrusion, othersurface. - -Returns + %feature("autodoc", "Return ------- GeomAbs_SurfaceType + +Description +----------- +Returns the type of the surface: Plane, Cylinder, Cone, Sphere, Torus, BezierSurface, BSplineSurface, SurfaceOfRevolution, SurfaceOfExtrusion, OtherSurface. ") GetType; - GeomAbs_SurfaceType GetType(); + virtual GeomAbs_SurfaceType GetType(); - /****************** Initialize ******************/ - /**** md5 signature: f3aeecb0e2fbd866889f168f070cf082 ****/ + /****** BRepAdaptor_Surface::Initialize ******/ + /****** md5 signature: f3aeecb0e2fbd866889f168f070cf082 ******/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "Sets the surface to the geometry of . - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face -Restriction: bool,optional - default value is Standard_True +Restriction: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +Sets the surface to the geometry of . ") Initialize; void Initialize(const TopoDS_Face & F, const Standard_Boolean Restriction = Standard_True); - /****************** IsUClosed ******************/ - /**** md5 signature: d1e8bae29b90dc447f4693c94ad31c37 ****/ + /****** BRepAdaptor_Surface::IsUClosed ******/ + /****** md5 signature: 3889881a8bccaf01bdc63482d847fec7 ******/ %feature("compactdefaultargs") IsUClosed; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsUClosed; - Standard_Boolean IsUClosed(); + virtual Standard_Boolean IsUClosed(); - /****************** IsUPeriodic ******************/ - /**** md5 signature: 91acb028d6850ac4bbf00dc198b558b7 ****/ + /****** BRepAdaptor_Surface::IsUPeriodic ******/ + /****** md5 signature: baaa80f0fba4fab1ff0458c41067535b ******/ %feature("compactdefaultargs") IsUPeriodic; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsUPeriodic; - Standard_Boolean IsUPeriodic(); + virtual Standard_Boolean IsUPeriodic(); - /****************** IsURational ******************/ - /**** md5 signature: 503a5a81658ea54283ba1b83fd4c4159 ****/ + /****** BRepAdaptor_Surface::IsURational ******/ + /****** md5 signature: 972bde55bb1931ba89cfd38a75b346b4 ******/ %feature("compactdefaultargs") IsURational; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsURational; - Standard_Boolean IsURational(); + virtual Standard_Boolean IsURational(); - /****************** IsVClosed ******************/ - /**** md5 signature: aa0eae8155ddef3e9f1d0cc573955bb6 ****/ + /****** BRepAdaptor_Surface::IsVClosed ******/ + /****** md5 signature: f5d8b2178f14695d158c648b5d67e50b ******/ %feature("compactdefaultargs") IsVClosed; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsVClosed; - Standard_Boolean IsVClosed(); + virtual Standard_Boolean IsVClosed(); - /****************** IsVPeriodic ******************/ - /**** md5 signature: 88e9b94f2ab4a3d73c3fe787315e4448 ****/ + /****** BRepAdaptor_Surface::IsVPeriodic ******/ + /****** md5 signature: a7b7752f1716f49329b3486241deda0e ******/ %feature("compactdefaultargs") IsVPeriodic; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsVPeriodic; - Standard_Boolean IsVPeriodic(); + virtual Standard_Boolean IsVPeriodic(); - /****************** IsVRational ******************/ - /**** md5 signature: 43ab877f92028162dd9780a1e61ecdd7 ****/ + /****** BRepAdaptor_Surface::IsVRational ******/ + /****** md5 signature: bfc5bd774a4b38bf6259615a711f8ed2 ******/ %feature("compactdefaultargs") IsVRational; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsVRational; - Standard_Boolean IsVRational(); + virtual Standard_Boolean IsVRational(); - /****************** LastUParameter ******************/ - /**** md5 signature: 1d079dee0cfc1756347bcb2471c5c822 ****/ + /****** BRepAdaptor_Surface::LastUParameter ******/ + /****** md5 signature: 3133997e2ee3ea09c0b46a884e833ca4 ******/ %feature("compactdefaultargs") LastUParameter; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") LastUParameter; - Standard_Real LastUParameter(); + virtual Standard_Real LastUParameter(); - /****************** LastVParameter ******************/ - /**** md5 signature: 2b4acdfbc345aaeedbb1d34eef2873f2 ****/ + /****** BRepAdaptor_Surface::LastVParameter ******/ + /****** md5 signature: f1f64233932dd0768276d78ffb537717 ******/ %feature("compactdefaultargs") LastVParameter; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") LastVParameter; - Standard_Real LastVParameter(); + virtual Standard_Real LastVParameter(); - /****************** NbUIntervals ******************/ - /**** md5 signature: 36290e0c805f559fce0d4de0d4d51789 ****/ + /****** BRepAdaptor_Surface::NbUIntervals ******/ + /****** md5 signature: ae4875076949dd10d5b3e8aa53673562 ******/ %feature("compactdefaultargs") NbUIntervals; - %feature("autodoc", "If necessary, breaks the surface in u intervals of continuity . and returns the number of intervals. - + %feature("autodoc", " Parameters ---------- -S: GeomAbs_Shape +theSh: GeomAbs_Shape -Returns +Return ------- int + +Description +----------- +If necessary, breaks the surface in U intervals of continuity . And returns the number of intervals. ") NbUIntervals; - Standard_Integer NbUIntervals(const GeomAbs_Shape S); + virtual Standard_Integer NbUIntervals(const GeomAbs_Shape theSh); - /****************** NbUKnots ******************/ - /**** md5 signature: b3d8ce13e5341877d4ffaaf0b52ec603 ****/ + /****** BRepAdaptor_Surface::NbUKnots ******/ + /****** md5 signature: 9c52bcf67cce67b26f246c3aa4ea551f ******/ %feature("compactdefaultargs") NbUKnots; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbUKnots; - Standard_Integer NbUKnots(); + virtual Standard_Integer NbUKnots(); - /****************** NbUPoles ******************/ - /**** md5 signature: 5c5f4e3c3fe024076b4fb29a46558ec0 ****/ + /****** BRepAdaptor_Surface::NbUPoles ******/ + /****** md5 signature: 8d31152e70dd85bb21fb36dbd5b33693 ******/ %feature("compactdefaultargs") NbUPoles; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbUPoles; - Standard_Integer NbUPoles(); + virtual Standard_Integer NbUPoles(); - /****************** NbVIntervals ******************/ - /**** md5 signature: 1386a357acacae70889de04788135ce2 ****/ + /****** BRepAdaptor_Surface::NbVIntervals ******/ + /****** md5 signature: f8d85deebab1e39694985284c6a9f17e ******/ %feature("compactdefaultargs") NbVIntervals; - %feature("autodoc", "If necessary, breaks the surface in v intervals of continuity . and returns the number of intervals. - + %feature("autodoc", " Parameters ---------- -S: GeomAbs_Shape +theSh: GeomAbs_Shape -Returns +Return ------- int + +Description +----------- +If necessary, breaks the surface in V intervals of continuity . And returns the number of intervals. ") NbVIntervals; - Standard_Integer NbVIntervals(const GeomAbs_Shape S); + virtual Standard_Integer NbVIntervals(const GeomAbs_Shape theSh); - /****************** NbVKnots ******************/ - /**** md5 signature: b1cd06ae6e3ff5f29ab4140934f12d0a ****/ + /****** BRepAdaptor_Surface::NbVKnots ******/ + /****** md5 signature: 6aef7952062b9c9994e4e5162b5eecc2 ******/ %feature("compactdefaultargs") NbVKnots; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbVKnots; - Standard_Integer NbVKnots(); + virtual Standard_Integer NbVKnots(); - /****************** NbVPoles ******************/ - /**** md5 signature: d1321a0d34d7aaceadde41cd3444173f ****/ + /****** BRepAdaptor_Surface::NbVPoles ******/ + /****** md5 signature: c198f9b4e351d69009dae4cc79544fc2 ******/ %feature("compactdefaultargs") NbVPoles; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbVPoles; - Standard_Integer NbVPoles(); + virtual Standard_Integer NbVPoles(); - /****************** OffsetValue ******************/ - /**** md5 signature: ae23f5f41fc62b65137ff41b8ee27c47 ****/ + /****** BRepAdaptor_Surface::OffsetValue ******/ + /****** md5 signature: ae23f5f41fc62b65137ff41b8ee27c47 ******/ %feature("compactdefaultargs") OffsetValue; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") OffsetValue; Standard_Real OffsetValue(); - /****************** Plane ******************/ - /**** md5 signature: 38bd3e56cdca70a78cd998154292a430 ****/ + /****** BRepAdaptor_Surface::Plane ******/ + /****** md5 signature: 38bd3e56cdca70a78cd998154292a430 ******/ %feature("compactdefaultargs") Plane; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Pln + +Description +----------- +No available documentation. ") Plane; gp_Pln Plane(); - /****************** Sphere ******************/ - /**** md5 signature: d13f3935ec312564a2f8ef1b299ecf9a ****/ - %feature("compactdefaultargs") Sphere; - %feature("autodoc", "No available documentation. + /****** BRepAdaptor_Surface::ShallowCopy ******/ + /****** md5 signature: 0f1e5e5cc4137678a63b6cdf38f07462 ******/ + %feature("compactdefaultargs") ShallowCopy; + %feature("autodoc", "Return +------- +opencascade::handle + +Description +----------- +Shallow copy of adaptor. +") ShallowCopy; + virtual opencascade::handle ShallowCopy(); -Returns + /****** BRepAdaptor_Surface::Sphere ******/ + /****** md5 signature: d13f3935ec312564a2f8ef1b299ecf9a ******/ + %feature("compactdefaultargs") Sphere; + %feature("autodoc", "Return ------- gp_Sphere + +Description +----------- +No available documentation. ") Sphere; gp_Sphere Sphere(); - /****************** Surface ******************/ - /**** md5 signature: e09b6aa0166ca76f2672af1ac0cf0ae2 ****/ + /****** BRepAdaptor_Surface::Surface ******/ + /****** md5 signature: e09b6aa0166ca76f2672af1ac0cf0ae2 ******/ %feature("compactdefaultargs") Surface; - %feature("autodoc", "Returns the surface. - -Returns + %feature("autodoc", "Return ------- GeomAdaptor_Surface + +Description +----------- +Returns the surface. ") Surface; - const GeomAdaptor_Surface & Surface(); + GeomAdaptor_Surface Surface(); - /****************** Tolerance ******************/ - /**** md5 signature: 9e5775014410d884d1a1adc1cd47930b ****/ + /****** BRepAdaptor_Surface::Tolerance ******/ + /****** md5 signature: 9e5775014410d884d1a1adc1cd47930b ******/ %feature("compactdefaultargs") Tolerance; - %feature("autodoc", "Returns the face tolerance. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the face tolerance. ") Tolerance; Standard_Real Tolerance(); - /****************** Torus ******************/ - /**** md5 signature: 13ce946397b0f1bcfd3f38f215bbadac ****/ + /****** BRepAdaptor_Surface::Torus ******/ + /****** md5 signature: 13ce946397b0f1bcfd3f38f215bbadac ******/ %feature("compactdefaultargs") Torus; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Torus + +Description +----------- +No available documentation. ") Torus; gp_Torus Torus(); - /****************** Trsf ******************/ - /**** md5 signature: 97ab79d36bbfac916eee88e8b5acb351 ****/ + /****** BRepAdaptor_Surface::Trsf ******/ + /****** md5 signature: 97ab79d36bbfac916eee88e8b5acb351 ******/ %feature("compactdefaultargs") Trsf; - %feature("autodoc", "Returns the surface coordinate system. - -Returns + %feature("autodoc", "Return ------- gp_Trsf + +Description +----------- +Returns the surface coordinate system. ") Trsf; const gp_Trsf Trsf(); - /****************** UContinuity ******************/ - /**** md5 signature: 734a4ef77d0d03bc93d92e10bda465e4 ****/ + /****** BRepAdaptor_Surface::UContinuity ******/ + /****** md5 signature: 3d5af3bf8bc22c7a70f14bdb9e75696a ******/ %feature("compactdefaultargs") UContinuity; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- GeomAbs_Shape + +Description +----------- +No available documentation. ") UContinuity; - GeomAbs_Shape UContinuity(); + virtual GeomAbs_Shape UContinuity(); - /****************** UDegree ******************/ - /**** md5 signature: fe5d6f101c0706d20343b36865ccf566 ****/ + /****** BRepAdaptor_Surface::UDegree ******/ + /****** md5 signature: 2acc7b7f865332e05b9779cd0a953da6 ******/ %feature("compactdefaultargs") UDegree; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") UDegree; - Standard_Integer UDegree(); + virtual Standard_Integer UDegree(); - /****************** UIntervals ******************/ - /**** md5 signature: 5a653f364681c4a5c1065b7e92c5d659 ****/ + /****** BRepAdaptor_Surface::UIntervals ******/ + /****** md5 signature: 5a653f364681c4a5c1065b7e92c5d659 ******/ %feature("compactdefaultargs") UIntervals; - %feature("autodoc", "Returns the intervals with the requested continuity in the u direction. - + %feature("autodoc", " Parameters ---------- T: TColStd_Array1OfReal S: GeomAbs_Shape -Returns +Return ------- None + +Description +----------- +Returns the intervals with the requested continuity in the U direction. ") UIntervals; void UIntervals(TColStd_Array1OfReal & T, const GeomAbs_Shape S); - /****************** UPeriod ******************/ - /**** md5 signature: a3dec1a81b623affa1d3ea1e9e49c97e ****/ + /****** BRepAdaptor_Surface::UPeriod ******/ + /****** md5 signature: 9816370c908f909f6185bf5b607b6ed4 ******/ %feature("compactdefaultargs") UPeriod; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") UPeriod; - Standard_Real UPeriod(); + virtual Standard_Real UPeriod(); - /****************** UResolution ******************/ - /**** md5 signature: 449c7efbd4cbc4136589973c1bc1500b ****/ + /****** BRepAdaptor_Surface::UResolution ******/ + /****** md5 signature: c908970ed85794b4b55fe21095a41df4 ******/ %feature("compactdefaultargs") UResolution; - %feature("autodoc", "Returns the parametric u resolution corresponding to the real space resolution . - + %feature("autodoc", " Parameters ---------- -R3d: float +theR3d: float -Returns +Return ------- float + +Description +----------- +Returns the parametric U resolution corresponding to the real space resolution . ") UResolution; - Standard_Real UResolution(const Standard_Real R3d); + virtual Standard_Real UResolution(const Standard_Real theR3d); - /****************** UTrim ******************/ - /**** md5 signature: 2f1effe4b247d770d76c6bb7e909f894 ****/ + /****** BRepAdaptor_Surface::UTrim ******/ + /****** md5 signature: 3604326125cf753b2a6722a946fb54be ******/ %feature("compactdefaultargs") UTrim; - %feature("autodoc", "Returns a surface trimmed in the u direction equivalent of between parameters and . is used to test for 3d points confusion. if >= . - + %feature("autodoc", " Parameters ---------- First: float Last: float Tol: float -Returns +Return ------- -opencascade::handle +opencascade::handle + +Description +----------- +Returns a surface trimmed in the U direction equivalent of between parameters and . is used to test for 3d points confusion. If >= . ") UTrim; - opencascade::handle UTrim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + opencascade::handle UTrim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); - /****************** VContinuity ******************/ - /**** md5 signature: 147ea173efc6a600ed241c35c98936ea ****/ + /****** BRepAdaptor_Surface::VContinuity ******/ + /****** md5 signature: a992dce85d001ed1cf99e1672e6d07ff ******/ %feature("compactdefaultargs") VContinuity; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- GeomAbs_Shape + +Description +----------- +No available documentation. ") VContinuity; - GeomAbs_Shape VContinuity(); + virtual GeomAbs_Shape VContinuity(); - /****************** VDegree ******************/ - /**** md5 signature: b7875d48d80bf8a6fde9c47500038fd4 ****/ + /****** BRepAdaptor_Surface::VDegree ******/ + /****** md5 signature: 40f217d7a0d71a97880e9ed212ed6f4e ******/ %feature("compactdefaultargs") VDegree; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") VDegree; - Standard_Integer VDegree(); + virtual Standard_Integer VDegree(); - /****************** VIntervals ******************/ - /**** md5 signature: bf8bef8286fec18f81beea299dd5cb6d ****/ + /****** BRepAdaptor_Surface::VIntervals ******/ + /****** md5 signature: bf8bef8286fec18f81beea299dd5cb6d ******/ %feature("compactdefaultargs") VIntervals; - %feature("autodoc", "Returns the intervals with the requested continuity in the v direction. - + %feature("autodoc", " Parameters ---------- T: TColStd_Array1OfReal S: GeomAbs_Shape -Returns +Return ------- None + +Description +----------- +Returns the intervals with the requested continuity in the V direction. ") VIntervals; void VIntervals(TColStd_Array1OfReal & T, const GeomAbs_Shape S); - /****************** VPeriod ******************/ - /**** md5 signature: e6f079a3e4e62dbf708e1ce56dfd23b6 ****/ + /****** BRepAdaptor_Surface::VPeriod ******/ + /****** md5 signature: 72036cc062bfffc50fc8cd70671f4f03 ******/ %feature("compactdefaultargs") VPeriod; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") VPeriod; - Standard_Real VPeriod(); + virtual Standard_Real VPeriod(); - /****************** VResolution ******************/ - /**** md5 signature: a2dfdb6521f339dcde6811097088d560 ****/ + /****** BRepAdaptor_Surface::VResolution ******/ + /****** md5 signature: 6834713e8a40b99362514d586f78d876 ******/ %feature("compactdefaultargs") VResolution; - %feature("autodoc", "Returns the parametric v resolution corresponding to the real space resolution . - + %feature("autodoc", " Parameters ---------- -R3d: float +theR3d: float -Returns +Return ------- float + +Description +----------- +Returns the parametric V resolution corresponding to the real space resolution . ") VResolution; - Standard_Real VResolution(const Standard_Real R3d); + virtual Standard_Real VResolution(const Standard_Real theR3d); - /****************** VTrim ******************/ - /**** md5 signature: acb52a48cbc4aa80908911477b02f7f4 ****/ + /****** BRepAdaptor_Surface::VTrim ******/ + /****** md5 signature: d094345261a4439c6edc98b200ea4e3d ******/ %feature("compactdefaultargs") VTrim; - %feature("autodoc", "Returns a surface trimmed in the v direction between parameters and . is used to test for 3d points confusion. if >= . - + %feature("autodoc", " Parameters ---------- First: float Last: float Tol: float -Returns +Return ------- -opencascade::handle +opencascade::handle + +Description +----------- +Returns a surface trimmed in the V direction between parameters and . is used to test for 3d points confusion. If >= . ") VTrim; - opencascade::handle VTrim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + opencascade::handle VTrim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); - /****************** Value ******************/ - /**** md5 signature: bc01a119296408176c75cc0dfb0636ae ****/ + /****** BRepAdaptor_Surface::Value ******/ + /****** md5 signature: bc01a119296408176c75cc0dfb0636ae ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Computes the point of parameters u,v on the surface. - + %feature("autodoc", " Parameters ---------- U: float V: float -Returns +Return ------- gp_Pnt + +Description +----------- +Computes the point of parameters U,V on the surface. Tip: use GeomLib::NormEstim() to calculate surface normal at specified (U, V) point. ") Value; gp_Pnt Value(const Standard_Real U, const Standard_Real V); }; +%make_alias(BRepAdaptor_Surface) + %extend BRepAdaptor_Surface { %pythoncode { __repr__ = _dumps_object diff --git a/src/SWIG_files/wrapper/BRepAdaptor.pyi b/src/SWIG_files/wrapper/BRepAdaptor.pyi index 28361fb6d..65f46bdf4 100644 --- a/src/SWIG_files/wrapper/BRepAdaptor.pyi +++ b/src/SWIG_files/wrapper/BRepAdaptor.pyi @@ -9,10 +9,9 @@ from OCC.Core.Geom import * from OCC.Core.gp import * from OCC.Core.GeomAbs import * from OCC.Core.TColStd import * -from OCC.Core.GeomAdaptor import * from OCC.Core.Geom2dAdaptor import * from OCC.Core.Adaptor2d import * - +from OCC.Core.GeomAdaptor import * class BRepAdaptor_Array1OfCurve: @overload @@ -39,201 +38,209 @@ class BRepAdaptor_Array1OfCurve: def SetValue(self, theIndex: int, theValue: BRepAdaptor_Curve) -> None: ... class BRepAdaptor_CompCurve(Adaptor3d_Curve): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, W: TopoDS_Wire, KnotByCurvilinearAbcissa: Optional[bool] = False) -> None: ... - @overload - def __init__(self, W: TopoDS_Wire, KnotByCurvilinearAbcissa: bool, First: float, Last: float, Tol: float) -> None: ... - def BSpline(self) -> Geom_BSplineCurve: ... - def Bezier(self) -> Geom_BezierCurve: ... - def Circle(self) -> gp_Circ: ... - def Continuity(self) -> GeomAbs_Shape: ... - def D0(self, U: float, P: gp_Pnt) -> None: ... - def D1(self, U: float, P: gp_Pnt, V: gp_Vec) -> None: ... - def D2(self, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec) -> None: ... - def D3(self, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec, V3: gp_Vec) -> None: ... - def DN(self, U: float, N: int) -> gp_Vec: ... - def Degree(self) -> int: ... - def Edge(self, U: float, E: TopoDS_Edge) -> float: ... - def Ellipse(self) -> gp_Elips: ... - def FirstParameter(self) -> float: ... - def GetType(self) -> GeomAbs_CurveType: ... - def Hyperbola(self) -> gp_Hypr: ... - @overload - def Initialize(self, W: TopoDS_Wire, KnotByCurvilinearAbcissa: bool) -> None: ... - @overload - def Initialize(self, W: TopoDS_Wire, KnotByCurvilinearAbcissa: bool, First: float, Last: float, Tol: float) -> None: ... - def Intervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... - def IsClosed(self) -> bool: ... - def IsPeriodic(self) -> bool: ... - def IsRational(self) -> bool: ... - def LastParameter(self) -> float: ... - def Line(self) -> gp_Lin: ... - def NbIntervals(self, S: GeomAbs_Shape) -> int: ... - def NbKnots(self) -> int: ... - def NbPoles(self) -> int: ... - def Parabola(self) -> gp_Parab: ... - def Period(self) -> float: ... - def Resolution(self, R3d: float) -> float: ... - def Trim(self, First: float, Last: float, Tol: float) -> Adaptor3d_HCurve: ... - def Value(self, U: float) -> gp_Pnt: ... - def Wire(self) -> TopoDS_Wire: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__( + self, W: TopoDS_Wire, KnotByCurvilinearAbcissa: Optional[bool] = False + ) -> None: ... + @overload + def __init__( + self, + W: TopoDS_Wire, + KnotByCurvilinearAbcissa: bool, + First: float, + Last: float, + Tol: float, + ) -> None: ... + def BSpline(self) -> Geom_BSplineCurve: ... + def Bezier(self) -> Geom_BezierCurve: ... + def Circle(self) -> gp_Circ: ... + def Continuity(self) -> GeomAbs_Shape: ... + def D0(self, U: float, P: gp_Pnt) -> None: ... + def D1(self, U: float, P: gp_Pnt, V: gp_Vec) -> None: ... + def D2(self, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec) -> None: ... + def D3(self, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec, V3: gp_Vec) -> None: ... + def DN(self, U: float, N: int) -> gp_Vec: ... + def Degree(self) -> int: ... + def Edge(self, U: float, E: TopoDS_Edge) -> float: ... + def Ellipse(self) -> gp_Elips: ... + def FirstParameter(self) -> float: ... + def GetType(self) -> GeomAbs_CurveType: ... + def Hyperbola(self) -> gp_Hypr: ... + @overload + def Initialize(self, W: TopoDS_Wire, KnotByCurvilinearAbcissa: bool) -> None: ... + @overload + def Initialize( + self, + W: TopoDS_Wire, + KnotByCurvilinearAbcissa: bool, + First: float, + Last: float, + Tol: float, + ) -> None: ... + def Intervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... + def IsClosed(self) -> bool: ... + def IsPeriodic(self) -> bool: ... + def IsRational(self) -> bool: ... + def LastParameter(self) -> float: ... + def Line(self) -> gp_Lin: ... + def NbIntervals(self, S: GeomAbs_Shape) -> int: ... + def NbKnots(self) -> int: ... + def NbPoles(self) -> int: ... + def Parabola(self) -> gp_Parab: ... + def Period(self) -> float: ... + def Resolution(self, R3d: float) -> float: ... + def ShallowCopy(self) -> Adaptor3d_Curve: ... + def Trim(self, First: float, Last: float, Tol: float) -> Adaptor3d_Curve: ... + def Value(self, U: float) -> gp_Pnt: ... + def Wire(self) -> TopoDS_Wire: ... class BRepAdaptor_Curve(Adaptor3d_Curve): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, E: TopoDS_Edge) -> None: ... - @overload - def __init__(self, E: TopoDS_Edge, F: TopoDS_Face) -> None: ... - def BSpline(self) -> Geom_BSplineCurve: ... - def Bezier(self) -> Geom_BezierCurve: ... - def Circle(self) -> gp_Circ: ... - def Continuity(self) -> GeomAbs_Shape: ... - def Curve(self) -> GeomAdaptor_Curve: ... - def CurveOnSurface(self) -> Adaptor3d_CurveOnSurface: ... - def D0(self, U: float, P: gp_Pnt) -> None: ... - def D1(self, U: float, P: gp_Pnt, V: gp_Vec) -> None: ... - def D2(self, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec) -> None: ... - def D3(self, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec, V3: gp_Vec) -> None: ... - def DN(self, U: float, N: int) -> gp_Vec: ... - def Degree(self) -> int: ... - def Edge(self) -> TopoDS_Edge: ... - def Ellipse(self) -> gp_Elips: ... - def FirstParameter(self) -> float: ... - def GetType(self) -> GeomAbs_CurveType: ... - def Hyperbola(self) -> gp_Hypr: ... - @overload - def Initialize(self, E: TopoDS_Edge) -> None: ... - @overload - def Initialize(self, E: TopoDS_Edge, F: TopoDS_Face) -> None: ... - def Intervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... - def Is3DCurve(self) -> bool: ... - def IsClosed(self) -> bool: ... - def IsCurveOnSurface(self) -> bool: ... - def IsPeriodic(self) -> bool: ... - def IsRational(self) -> bool: ... - def LastParameter(self) -> float: ... - def Line(self) -> gp_Lin: ... - def NbIntervals(self, S: GeomAbs_Shape) -> int: ... - def NbKnots(self) -> int: ... - def NbPoles(self) -> int: ... - def OffsetCurve(self) -> Geom_OffsetCurve: ... - def Parabola(self) -> gp_Parab: ... - def Period(self) -> float: ... - def Reset(self) -> None: ... - def Resolution(self, R3d: float) -> float: ... - def Tolerance(self) -> float: ... - def Trim(self, First: float, Last: float, Tol: float) -> Adaptor3d_HCurve: ... - def Trsf(self) -> gp_Trsf: ... - def Value(self, U: float) -> gp_Pnt: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, E: TopoDS_Edge) -> None: ... + @overload + def __init__(self, E: TopoDS_Edge, F: TopoDS_Face) -> None: ... + def BSpline(self) -> Geom_BSplineCurve: ... + def Bezier(self) -> Geom_BezierCurve: ... + def Circle(self) -> gp_Circ: ... + def Continuity(self) -> GeomAbs_Shape: ... + def Curve(self) -> GeomAdaptor_Curve: ... + def CurveOnSurface(self) -> Adaptor3d_CurveOnSurface: ... + def D0(self, U: float, P: gp_Pnt) -> None: ... + def D1(self, U: float, P: gp_Pnt, V: gp_Vec) -> None: ... + def D2(self, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec) -> None: ... + def D3(self, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec, V3: gp_Vec) -> None: ... + def DN(self, U: float, N: int) -> gp_Vec: ... + def Degree(self) -> int: ... + def Edge(self) -> TopoDS_Edge: ... + def Ellipse(self) -> gp_Elips: ... + def FirstParameter(self) -> float: ... + def GetType(self) -> GeomAbs_CurveType: ... + def Hyperbola(self) -> gp_Hypr: ... + @overload + def Initialize(self, E: TopoDS_Edge) -> None: ... + @overload + def Initialize(self, E: TopoDS_Edge, F: TopoDS_Face) -> None: ... + def Intervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... + def Is3DCurve(self) -> bool: ... + def IsClosed(self) -> bool: ... + def IsCurveOnSurface(self) -> bool: ... + def IsPeriodic(self) -> bool: ... + def IsRational(self) -> bool: ... + def LastParameter(self) -> float: ... + def Line(self) -> gp_Lin: ... + def NbIntervals(self, S: GeomAbs_Shape) -> int: ... + def NbKnots(self) -> int: ... + def NbPoles(self) -> int: ... + def OffsetCurve(self) -> Geom_OffsetCurve: ... + def Parabola(self) -> gp_Parab: ... + def Period(self) -> float: ... + def Reset(self) -> None: ... + def Resolution(self, R3d: float) -> float: ... + def ShallowCopy(self) -> Adaptor3d_Curve: ... + def Tolerance(self) -> float: ... + def Trim(self, First: float, Last: float, Tol: float) -> Adaptor3d_Curve: ... + def Trsf(self) -> gp_Trsf: ... + def Value(self, U: float) -> gp_Pnt: ... class BRepAdaptor_Curve2d(Geom2dAdaptor_Curve): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, E: TopoDS_Edge, F: TopoDS_Face) -> None: ... - def Edge(self) -> TopoDS_Edge: ... - def Face(self) -> TopoDS_Face: ... - def Initialize(self, E: TopoDS_Edge, F: TopoDS_Face) -> None: ... - -class BRepAdaptor_HCompCurve(Adaptor3d_HCurve): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, C: BRepAdaptor_CompCurve) -> None: ... - def ChangeCurve(self) -> BRepAdaptor_CompCurve: ... - def Curve(self) -> Adaptor3d_Curve: ... - def GetCurve(self) -> Adaptor3d_Curve: ... - def Set(self, C: BRepAdaptor_CompCurve) -> None: ... - -class BRepAdaptor_HCurve(Adaptor3d_HCurve): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, C: BRepAdaptor_Curve) -> None: ... - def ChangeCurve(self) -> BRepAdaptor_Curve: ... - def Curve(self) -> Adaptor3d_Curve: ... - def GetCurve(self) -> Adaptor3d_Curve: ... - def Set(self, C: BRepAdaptor_Curve) -> None: ... - -class BRepAdaptor_HCurve2d(Adaptor2d_HCurve2d): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, C: BRepAdaptor_Curve2d) -> None: ... - def ChangeCurve2d(self) -> BRepAdaptor_Curve2d: ... - def Curve2d(self) -> Adaptor2d_Curve2d: ... - def Set(self, C: BRepAdaptor_Curve2d) -> None: ... - -class BRepAdaptor_HSurface(Adaptor3d_HSurface): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, S: BRepAdaptor_Surface) -> None: ... - def ChangeSurface(self) -> BRepAdaptor_Surface: ... - def Set(self, S: BRepAdaptor_Surface) -> None: ... - def Surface(self) -> Adaptor3d_Surface: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, E: TopoDS_Edge, F: TopoDS_Face) -> None: ... + def Edge(self) -> TopoDS_Edge: ... + def Face(self) -> TopoDS_Face: ... + def Initialize(self, E: TopoDS_Edge, F: TopoDS_Face) -> None: ... + def ShallowCopy(self) -> Adaptor2d_Curve2d: ... class BRepAdaptor_Surface(Adaptor3d_Surface): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, F: TopoDS_Face, R: Optional[bool] = True) -> None: ... - def AxeOfRevolution(self) -> gp_Ax1: ... - def BSpline(self) -> Geom_BSplineSurface: ... - def BasisCurve(self) -> Adaptor3d_HCurve: ... - def BasisSurface(self) -> Adaptor3d_HSurface: ... - def Bezier(self) -> Geom_BezierSurface: ... - def ChangeSurface(self) -> GeomAdaptor_Surface: ... - def Cone(self) -> gp_Cone: ... - def Cylinder(self) -> gp_Cylinder: ... - def D0(self, U: float, V: float, P: gp_Pnt) -> None: ... - def D1(self, U: float, V: float, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec) -> None: ... - def D2(self, U: float, V: float, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec, D2U: gp_Vec, D2V: gp_Vec, D2UV: gp_Vec) -> None: ... - def D3(self, U: float, V: float, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec, D2U: gp_Vec, D2V: gp_Vec, D2UV: gp_Vec, D3U: gp_Vec, D3V: gp_Vec, D3UUV: gp_Vec, D3UVV: gp_Vec) -> None: ... - def DN(self, U: float, V: float, Nu: int, Nv: int) -> gp_Vec: ... - def Direction(self) -> gp_Dir: ... - def Face(self) -> TopoDS_Face: ... - def FirstUParameter(self) -> float: ... - def FirstVParameter(self) -> float: ... - def GetType(self) -> GeomAbs_SurfaceType: ... - def Initialize(self, F: TopoDS_Face, Restriction: Optional[bool] = True) -> None: ... - def IsUClosed(self) -> bool: ... - def IsUPeriodic(self) -> bool: ... - def IsURational(self) -> bool: ... - def IsVClosed(self) -> bool: ... - def IsVPeriodic(self) -> bool: ... - def IsVRational(self) -> bool: ... - def LastUParameter(self) -> float: ... - def LastVParameter(self) -> float: ... - def NbUIntervals(self, S: GeomAbs_Shape) -> int: ... - def NbUKnots(self) -> int: ... - def NbUPoles(self) -> int: ... - def NbVIntervals(self, S: GeomAbs_Shape) -> int: ... - def NbVKnots(self) -> int: ... - def NbVPoles(self) -> int: ... - def OffsetValue(self) -> float: ... - def Plane(self) -> gp_Pln: ... - def Sphere(self) -> gp_Sphere: ... - def Surface(self) -> GeomAdaptor_Surface: ... - def Tolerance(self) -> float: ... - def Torus(self) -> gp_Torus: ... - def Trsf(self) -> gp_Trsf: ... - def UContinuity(self) -> GeomAbs_Shape: ... - def UDegree(self) -> int: ... - def UIntervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... - def UPeriod(self) -> float: ... - def UResolution(self, R3d: float) -> float: ... - def UTrim(self, First: float, Last: float, Tol: float) -> Adaptor3d_HSurface: ... - def VContinuity(self) -> GeomAbs_Shape: ... - def VDegree(self) -> int: ... - def VIntervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... - def VPeriod(self) -> float: ... - def VResolution(self, R3d: float) -> float: ... - def VTrim(self, First: float, Last: float, Tol: float) -> Adaptor3d_HSurface: ... - def Value(self, U: float, V: float) -> gp_Pnt: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, F: TopoDS_Face, R: Optional[bool] = True) -> None: ... + def AxeOfRevolution(self) -> gp_Ax1: ... + def BSpline(self) -> Geom_BSplineSurface: ... + def BasisCurve(self) -> Adaptor3d_Curve: ... + def BasisSurface(self) -> Adaptor3d_Surface: ... + def Bezier(self) -> Geom_BezierSurface: ... + def ChangeSurface(self) -> GeomAdaptor_Surface: ... + def Cone(self) -> gp_Cone: ... + def Cylinder(self) -> gp_Cylinder: ... + def D0(self, U: float, V: float, P: gp_Pnt) -> None: ... + def D1(self, U: float, V: float, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec) -> None: ... + def D2( + self, + U: float, + V: float, + P: gp_Pnt, + D1U: gp_Vec, + D1V: gp_Vec, + D2U: gp_Vec, + D2V: gp_Vec, + D2UV: gp_Vec, + ) -> None: ... + def D3( + self, + U: float, + V: float, + P: gp_Pnt, + D1U: gp_Vec, + D1V: gp_Vec, + D2U: gp_Vec, + D2V: gp_Vec, + D2UV: gp_Vec, + D3U: gp_Vec, + D3V: gp_Vec, + D3UUV: gp_Vec, + D3UVV: gp_Vec, + ) -> None: ... + def DN(self, U: float, V: float, Nu: int, Nv: int) -> gp_Vec: ... + def Direction(self) -> gp_Dir: ... + def Face(self) -> TopoDS_Face: ... + def FirstUParameter(self) -> float: ... + def FirstVParameter(self) -> float: ... + def GetType(self) -> GeomAbs_SurfaceType: ... + def Initialize( + self, F: TopoDS_Face, Restriction: Optional[bool] = True + ) -> None: ... + def IsUClosed(self) -> bool: ... + def IsUPeriodic(self) -> bool: ... + def IsURational(self) -> bool: ... + def IsVClosed(self) -> bool: ... + def IsVPeriodic(self) -> bool: ... + def IsVRational(self) -> bool: ... + def LastUParameter(self) -> float: ... + def LastVParameter(self) -> float: ... + def NbUIntervals(self, theSh: GeomAbs_Shape) -> int: ... + def NbUKnots(self) -> int: ... + def NbUPoles(self) -> int: ... + def NbVIntervals(self, theSh: GeomAbs_Shape) -> int: ... + def NbVKnots(self) -> int: ... + def NbVPoles(self) -> int: ... + def OffsetValue(self) -> float: ... + def Plane(self) -> gp_Pln: ... + def ShallowCopy(self) -> Adaptor3d_Surface: ... + def Sphere(self) -> gp_Sphere: ... + def Surface(self) -> GeomAdaptor_Surface: ... + def Tolerance(self) -> float: ... + def Torus(self) -> gp_Torus: ... + def Trsf(self) -> gp_Trsf: ... + def UContinuity(self) -> GeomAbs_Shape: ... + def UDegree(self) -> int: ... + def UIntervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... + def UPeriod(self) -> float: ... + def UResolution(self, theR3d: float) -> float: ... + def UTrim(self, First: float, Last: float, Tol: float) -> Adaptor3d_Surface: ... + def VContinuity(self) -> GeomAbs_Shape: ... + def VDegree(self) -> int: ... + def VIntervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... + def VPeriod(self) -> float: ... + def VResolution(self, theR3d: float) -> float: ... + def VTrim(self, First: float, Last: float, Tol: float) -> Adaptor3d_Surface: ... + def Value(self, U: float, V: float) -> gp_Pnt: ... # harray1 classes @@ -243,4 +250,3 @@ class BRepAdaptor_HArray1OfCurve(BRepAdaptor_Array1OfCurve, Standard_Transient): # harray2 classes # hsequence classes - diff --git a/src/SWIG_files/wrapper/BRepAlgo.i b/src/SWIG_files/wrapper/BRepAlgo.i index f93bb4639..45cf60a85 100644 --- a/src/SWIG_files/wrapper/BRepAlgo.i +++ b/src/SWIG_files/wrapper/BRepAlgo.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPALGODOCSTRING "BRepAlgo module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepalgo.html" +https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_brepalgo.html" %enddef %module (package="OCC.Core", docstring=BREPALGODOCSTRING) BRepAlgo @@ -31,8 +31,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepalgo.html" %include ../common/CommonIncludes.i %include ../common/ExceptionCatcher.i %include ../common/FunctionTransformers.i +%include ../common/EnumTemplates.i %include ../common/Operators.i %include ../common/OccHandle.i +%include ../common/IOStream.i +%include ../common/ArrayMacros.i %{ @@ -44,12 +47,8 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepalgo.html" #include #include #include -#include -#include #include #include -#include -#include #include #include #include @@ -69,6 +68,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepalgo.html" #include #include #include +#include #include #include #include @@ -79,12 +79,8 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepalgo.html" %import TopoDS.i %import GeomAbs.i %import TopTools.i -%import BRepBuilderAPI.i -%import TopOpeBRepBuild.i %import TopAbs.i %import Adaptor3d.i -%import gp.i -%import Geom.i %pythoncode { from enum import IntEnum @@ -92,21 +88,10 @@ from OCC.Core.Exception import * }; /* public enums */ -enum BRepAlgo_CheckStatus { - BRepAlgo_OK = 0, - BRepAlgo_NOK = 1, -}; - /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { - -class BRepAlgo_CheckStatus(IntEnum): - BRepAlgo_OK = 0 - BRepAlgo_NOK = 1 -BRepAlgo_OK = BRepAlgo_CheckStatus.BRepAlgo_OK -BRepAlgo_NOK = BRepAlgo_CheckStatus.BRepAlgo_NOK }; /* end python proxy for enums */ @@ -126,86 +111,140 @@ BRepAlgo_NOK = BRepAlgo_CheckStatus.BRepAlgo_NOK %rename(brepalgo) BRepAlgo; class BRepAlgo { public: - /****************** ConcatenateWire ******************/ - /**** md5 signature: 1a32b306b59aab7db7f1be46215b37ef ****/ + /****** BRepAlgo::ConcatenateWire ******/ + /****** md5 signature: 1a32b306b59aab7db7f1be46215b37ef ******/ %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", " Parameters ---------- Wire: TopoDS_Wire Option: GeomAbs_Shape -AngularTolerance: float,optional - default value is 1.0e-4 +AngularTolerance: float (optional, default to 1.0e-4) -Returns +Return ------- TopoDS_Wire + +Description +----------- +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. ") ConcatenateWire; static TopoDS_Wire ConcatenateWire(const TopoDS_Wire & Wire, const GeomAbs_Shape Option, const Standard_Real AngularTolerance = 1.0e-4); - /****************** ConcatenateWireC0 ******************/ - /**** md5 signature: 80cfe190357e01a0436f222bec60fa13 ****/ + /****** BRepAlgo::ConcatenateWireC0 ******/ + /****** md5 signature: 80cfe190357e01a0436f222bec60fa13 ******/ %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. - + %feature("autodoc", " Parameters ---------- Wire: TopoDS_Wire -Returns +Return ------- TopoDS_Edge + +Description +----------- +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; static TopoDS_Edge ConcatenateWireC0(const TopoDS_Wire & Wire); - /****************** IsTopologicallyValid ******************/ - /**** md5 signature: 862e9687e6641e5b5520e1bc35a7dd50 ****/ - %feature("compactdefaultargs") IsTopologicallyValid; - %feature("autodoc", "Checks if the shape is 'correct'. if not, returns , else returns . this method differs from the previous one in the fact that no geometric contols (intersection of wires, pcurve validity) are performed. + /****** BRepAlgo::ConvertFace ******/ + /****** md5 signature: 4995d6c46f75b841a5ec1eeddfe269b6 ******/ + %feature("compactdefaultargs") ConvertFace; + %feature("autodoc", " +Parameters +---------- +theFace: TopoDS_Face +theAngleTolerance: float + +Return +------- +TopoDS_Face +Description +----------- +Method of face conversion. The API corresponds to the method ConvertWire. This is a shortcut for calling ConvertWire() for each wire in theFace. +") ConvertFace; + static TopoDS_Face ConvertFace(const TopoDS_Face & theFace, const Standard_Real theAngleTolerance); + + /****** BRepAlgo::ConvertWire ******/ + /****** md5 signature: 803ac9affea1e0a7a42b271f20e61001 ******/ + %feature("compactdefaultargs") ConvertWire; + %feature("autodoc", " +Parameters +---------- +theWire: TopoDS_Wire +theAngleTolerance: float +theFace: TopoDS_Face + +Return +------- +TopoDS_Wire + +Description +----------- +Method of wire conversion, calls BRepAlgo_Approx internally. +Parameter theWire Input Wire object. +Parameter theAngleTolerance Angle (in radians) defining the continuity of the wire: if two vectors differ by less than this angle, the result will be smooth (zero angle of tangent lines between curve elements). +Return: The new TopoDS_Wire object consisting of edges each representing an arc of circle or a linear segment. The accuracy of conversion is defined as the maximal tolerance of edges in theWire. +") ConvertWire; + static TopoDS_Wire ConvertWire(const TopoDS_Wire & theWire, const Standard_Real theAngleTolerance, const TopoDS_Face & theFace); + + /****** BRepAlgo::IsTopologicallyValid ******/ + /****** md5 signature: 862e9687e6641e5b5520e1bc35a7dd50 ******/ + %feature("compactdefaultargs") IsTopologicallyValid; + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- bool + +Description +----------- +Checks if the shape is 'correct'. If not, returns False, else returns True. This method differs from the previous one in the fact that no geometric controls (intersection of wires, pcurve validity) are performed. ") IsTopologicallyValid; static Standard_Boolean IsTopologicallyValid(const TopoDS_Shape & S); - /****************** IsValid ******************/ - /**** md5 signature: f6c51d6a17d819532ca2912c3fc6a304 ****/ + /****** BRepAlgo::IsValid ******/ + /****** md5 signature: f6c51d6a17d819532ca2912c3fc6a304 ******/ %feature("compactdefaultargs") IsValid; - %feature("autodoc", "Checks if the shape is 'correct'. if not, returns , else returns . - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- bool + +Description +----------- +Checks if the shape is 'correct'. If not, returns , else returns . ") IsValid; static Standard_Boolean IsValid(const TopoDS_Shape & S); - /****************** IsValid ******************/ - /**** md5 signature: a6a7c5ea6808afc2c6c282f452e359df ****/ + /****** BRepAlgo::IsValid ******/ + /****** md5 signature: a6a7c5ea6808afc2c6c282f452e359df ******/ %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", " Parameters ---------- theArgs: TopTools_ListOfShape theResult: TopoDS_Shape -closedSolid: bool,optional - default value is Standard_False -GeomCtrl: bool,optional - default value is Standard_True +closedSolid: bool (optional, default to Standard_False) +GeomCtrl: bool (optional, default to Standard_True) -Returns +Return ------- bool + +Description +----------- +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. ") 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); @@ -223,182 +262,216 @@ bool ***********************/ class BRepAlgo_AsDes : public Standard_Transient { public: - /****************** BRepAlgo_AsDes ******************/ - /**** md5 signature: c38ef1363f12544146fc23652e8830a6 ****/ + /****** BRepAlgo_AsDes::BRepAlgo_AsDes ******/ + /****** md5 signature: c38ef1363f12544146fc23652e8830a6 ******/ %feature("compactdefaultargs") BRepAlgo_AsDes; - %feature("autodoc", "Creates an empty asdes. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Creates an empty AsDes. ") BRepAlgo_AsDes; BRepAlgo_AsDes(); - /****************** Add ******************/ - /**** md5 signature: 21aba0cbf9c8c8c11e064d9e2e6a5fc5 ****/ + /****** BRepAlgo_AsDes::Add ******/ + /****** md5 signature: 21aba0cbf9c8c8c11e064d9e2e6a5fc5 ******/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Stores as a futur subshape of . - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape SS: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Stores as a futur subshape of . ") Add; void Add(const TopoDS_Shape & S, const TopoDS_Shape & SS); - /****************** Add ******************/ - /**** md5 signature: daedb93f45ca97af04bcfee2319db368 ****/ + /****** BRepAlgo_AsDes::Add ******/ + /****** md5 signature: daedb93f45ca97af04bcfee2319db368 ******/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Stores as futurs subshapes of . - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape SS: TopTools_ListOfShape -Returns +Return ------- None + +Description +----------- +Stores as futurs SubShapes of . ") Add; void Add(const TopoDS_Shape & S, const TopTools_ListOfShape & SS); - /****************** Ascendant ******************/ - /**** md5 signature: 0f9934446c2b983d1dfe0f2d9e5cbbab ****/ + /****** BRepAlgo_AsDes::Ascendant ******/ + /****** md5 signature: 0f9934446c2b983d1dfe0f2d9e5cbbab ******/ %feature("compactdefaultargs") Ascendant; - %feature("autodoc", "Returns the shape containing . - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Returns the Shape containing . ") Ascendant; const TopTools_ListOfShape & Ascendant(const TopoDS_Shape & S); - /****************** ChangeDescendant ******************/ - /**** md5 signature: 4e3d115ec5f7066ca927facb2b62a0bd ****/ + /****** BRepAlgo_AsDes::ChangeDescendant ******/ + /****** md5 signature: 4e3d115ec5f7066ca927facb2b62a0bd ******/ %feature("compactdefaultargs") ChangeDescendant; - %feature("autodoc", "Returns futur subhapes of . - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Returns futur subhapes of . ") ChangeDescendant; TopTools_ListOfShape & ChangeDescendant(const TopoDS_Shape & S); - /****************** Clear ******************/ - /**** md5 signature: ae54be580b423a6eadbe062e0bdb44c2 ****/ + /****** BRepAlgo_AsDes::Clear ******/ + /****** md5 signature: ae54be580b423a6eadbe062e0bdb44c2 ******/ %feature("compactdefaultargs") Clear; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") Clear; void Clear(); - /****************** Descendant ******************/ - /**** md5 signature: d8b2fd69d6ffe678b09cae4efb7ca892 ****/ + /****** BRepAlgo_AsDes::Descendant ******/ + /****** md5 signature: d8b2fd69d6ffe678b09cae4efb7ca892 ******/ %feature("compactdefaultargs") Descendant; - %feature("autodoc", "Returns futur subhapes of . - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Returns futur subhapes of . ") Descendant; const TopTools_ListOfShape & Descendant(const TopoDS_Shape & S); - /****************** HasAscendant ******************/ - /**** md5 signature: 0061ff91c4aff940f5e0352c160d969d ****/ + /****** BRepAlgo_AsDes::HasAscendant ******/ + /****** md5 signature: 0061ff91c4aff940f5e0352c160d969d ******/ %feature("compactdefaultargs") HasAscendant; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- bool + +Description +----------- +No available documentation. ") HasAscendant; Standard_Boolean HasAscendant(const TopoDS_Shape & S); - /****************** HasCommonDescendant ******************/ - /**** md5 signature: 05dfab339e3899f1fa3e137bc970f96e ****/ + /****** BRepAlgo_AsDes::HasCommonDescendant ******/ + /****** md5 signature: 05dfab339e3899f1fa3e137bc970f96e ******/ %feature("compactdefaultargs") HasCommonDescendant; - %feature("autodoc", "Returns true if (s1> and has common descendants. stores in the commons descendants. - + %feature("autodoc", " Parameters ---------- S1: TopoDS_Shape S2: TopoDS_Shape LC: TopTools_ListOfShape -Returns +Return ------- bool + +Description +----------- +Returns True if (S1> and has common Descendants. Stores in the Commons Descendants. ") HasCommonDescendant; Standard_Boolean HasCommonDescendant(const TopoDS_Shape & S1, const TopoDS_Shape & S2, TopTools_ListOfShape & LC); - /****************** HasDescendant ******************/ - /**** md5 signature: 33b990046a91014730d870870286c8bc ****/ + /****** BRepAlgo_AsDes::HasDescendant ******/ + /****** md5 signature: 33b990046a91014730d870870286c8bc ******/ %feature("compactdefaultargs") HasDescendant; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- bool + +Description +----------- +No available documentation. ") HasDescendant; Standard_Boolean HasDescendant(const TopoDS_Shape & S); - /****************** Remove ******************/ - /**** md5 signature: 05a88c75d9ea5ff51b2f8c0a39e09679 ****/ + /****** BRepAlgo_AsDes::Remove ******/ + /****** md5 signature: add61cba503919d35888054f3de3699f ******/ %feature("compactdefaultargs") Remove; - %feature("autodoc", "Remove from me. - + %feature("autodoc", " Parameters ---------- -S: TopoDS_Shape +theS: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Remove theS from me. ") Remove; - void Remove(const TopoDS_Shape & S); + void Remove(const TopoDS_Shape & theS); - /****************** Replace ******************/ - /**** md5 signature: aa831f4803287da25b19255611f1b870 ****/ + /****** BRepAlgo_AsDes::Replace ******/ + /****** md5 signature: 7efbf7d2833396fcda557293d6dcc3ee ******/ %feature("compactdefaultargs") Replace; - %feature("autodoc", "Replace by . disapear from . - + %feature("autodoc", " Parameters ---------- -OldS: TopoDS_Shape -NewS: TopoDS_Shape +theOldS: TopoDS_Shape +theNewS: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Replace theOldS by theNewS. theOldS disappear from this. ") Replace; - void Replace(const TopoDS_Shape & OldS, const TopoDS_Shape & NewS); + void Replace(const TopoDS_Shape & theOldS, const TopoDS_Shape & theNewS); }; @@ -411,224 +484,137 @@ None } }; -/********************************** -* class BRepAlgo_BooleanOperation * -**********************************/ -%nodefaultctor BRepAlgo_BooleanOperation; -class BRepAlgo_BooleanOperation : public BRepBuilderAPI_MakeShape { - public: - /****************** Builder ******************/ - /**** md5 signature: c97c63149316e999abd03e780cc959bf ****/ - %feature("compactdefaultargs") Builder; - %feature("autodoc", "No available documentation. - -Returns -------- -opencascade::handle -") Builder; - opencascade::handle Builder(); - - /****************** IsDeleted ******************/ - /**** md5 signature: 28be7c17a3b2776f59567554f488bbf5 ****/ - %feature("compactdefaultargs") IsDeleted; - %feature("autodoc", "No available documentation. - -Parameters ----------- -S: TopoDS_Shape - -Returns -------- -bool -") IsDeleted; - virtual Standard_Boolean IsDeleted(const TopoDS_Shape & S); - - /****************** Modified ******************/ - /**** md5 signature: 73ccfe97b4ed94547a190332224ffe23 ****/ - %feature("compactdefaultargs") Modified; - %feature("autodoc", "Returns the list of shapes modified from the shape . - -Parameters ----------- -S: TopoDS_Shape - -Returns -------- -TopTools_ListOfShape -") Modified; - virtual const TopTools_ListOfShape & Modified(const TopoDS_Shape & S); - - /****************** Perform ******************/ - /**** md5 signature: 6eb14a53eba47750cd8130b167bd0170 ****/ - %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - -Parameters ----------- -St1: TopAbs_State -St2: TopAbs_State - -Returns -------- -None -") Perform; - void Perform(const TopAbs_State St1, const TopAbs_State St2); - - /****************** PerformDS ******************/ - /**** md5 signature: e01b11b18525c743543ad58a2f802249 ****/ - %feature("compactdefaultargs") PerformDS; - %feature("autodoc", "No available documentation. - -Returns -------- -None -") PerformDS; - void PerformDS(); - - /****************** Shape1 ******************/ - /**** md5 signature: 07a3db9d6b637af56fb1391aee4b7641 ****/ - %feature("compactdefaultargs") Shape1; - %feature("autodoc", "Returns the first shape involved in this boolean operation. - -Returns -------- -TopoDS_Shape -") Shape1; - const TopoDS_Shape Shape1(); - - /****************** Shape2 ******************/ - /**** md5 signature: 3655a6c56b55e5313d1b146d7ee7458a ****/ - %feature("compactdefaultargs") Shape2; - %feature("autodoc", "Returns the second shape involved in this boolean operation. - -Returns -------- -TopoDS_Shape -") Shape2; - const TopoDS_Shape Shape2(); - -}; - - -%extend BRepAlgo_BooleanOperation { - %pythoncode { - __repr__ = _dumps_object - } -}; - /******************************** * class BRepAlgo_FaceRestrictor * ********************************/ class BRepAlgo_FaceRestrictor { public: - /****************** BRepAlgo_FaceRestrictor ******************/ - /**** md5 signature: 82683998c51ff8824cac4f9f6d46eb4a ****/ + /****** BRepAlgo_FaceRestrictor::BRepAlgo_FaceRestrictor ******/ + /****** md5 signature: 82683998c51ff8824cac4f9f6d46eb4a ******/ %feature("compactdefaultargs") BRepAlgo_FaceRestrictor; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepAlgo_FaceRestrictor; BRepAlgo_FaceRestrictor(); - /****************** Add ******************/ - /**** md5 signature: a6ce79dcf272de14f2ac11be8579ec3c ****/ + /****** BRepAlgo_FaceRestrictor::Add ******/ + /****** md5 signature: a6ce79dcf272de14f2ac11be8579ec3c ******/ %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 . - + %feature("autodoc", " Parameters ---------- W: TopoDS_Wire -Returns +Return ------- None + +Description +----------- +Add the wire to the set of wires. //! Warning: The Wires must be closed. //! The edges of can be modified if they don't have pcurves on the surface of . In this case if is false the first pcurve of the edge is positioned on . if is True, the Pcurve On is the projection of the curve 3d on . ") Add; void Add(TopoDS_Wire & W); - /****************** Clear ******************/ - /**** md5 signature: ae54be580b423a6eadbe062e0bdb44c2 ****/ + /****** BRepAlgo_FaceRestrictor::Clear ******/ + /****** md5 signature: ae54be580b423a6eadbe062e0bdb44c2 ******/ %feature("compactdefaultargs") Clear; - %feature("autodoc", "Removes all the wires. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Removes all the Wires. ") Clear; void Clear(); - /****************** Current ******************/ - /**** md5 signature: 9fb8c8be97ea707acffa5681bd8041e7 ****/ + /****** BRepAlgo_FaceRestrictor::Current ******/ + /****** md5 signature: 9fb8c8be97ea707acffa5681bd8041e7 ******/ %feature("compactdefaultargs") Current; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopoDS_Face + +Description +----------- +No available documentation. ") Current; TopoDS_Face Current(); - /****************** Init ******************/ - /**** md5 signature: 8a340284dcc52534c4ed6303f8706321 ****/ + /****** BRepAlgo_FaceRestrictor::Init ******/ + /****** md5 signature: 8a340284dcc52534c4ed6303f8706321 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "The surface of will be the the surface of each new faces built. is used to update pcurves on edges if necessary. see add(). - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face -Proj: bool,optional - default value is Standard_False -ControlOrientation: bool,optional - default value is Standard_False +Proj: bool (optional, default to Standard_False) +ControlOrientation: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +the surface of will be the surface of each new faces built. is used to update pcurves on edges if necessary. See Add(). ") Init; void Init(const TopoDS_Face & F, const Standard_Boolean Proj = Standard_False, const Standard_Boolean ControlOrientation = Standard_False); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** BRepAlgo_FaceRestrictor::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsDone; Standard_Boolean IsDone(); - /****************** More ******************/ - /**** md5 signature: 6f6e915c9a3dca758c059d9e8af02dff ****/ + /****** BRepAlgo_FaceRestrictor::More ******/ + /****** md5 signature: 6f6e915c9a3dca758c059d9e8af02dff ******/ %feature("compactdefaultargs") More; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") More; Standard_Boolean More(); - /****************** Next ******************/ - /**** md5 signature: f35c0df5f1d7c877986db18081404532 ****/ + /****** BRepAlgo_FaceRestrictor::Next ******/ + /****** md5 signature: f35c0df5f1d7c877986db18081404532 ******/ %feature("compactdefaultargs") Next; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") Next; void Next(); - /****************** Perform ******************/ - /**** md5 signature: c04b01412cba7220c024b5eb4532697f ****/ + /****** BRepAlgo_FaceRestrictor::Perform ******/ + /****** md5 signature: c04b01412cba7220c024b5eb4532697f ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Evaluate all the faces limited by the set of wires. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Evaluate all the faces limited by the set of Wires. ") Perform; void Perform(); @@ -646,279 +632,332 @@ None ***********************/ class BRepAlgo_Image { public: - /****************** BRepAlgo_Image ******************/ - /**** md5 signature: 565a5b0a190c69489d75a611c64badca ****/ + /****** BRepAlgo_Image::BRepAlgo_Image ******/ + /****** md5 signature: 565a5b0a190c69489d75a611c64badca ******/ %feature("compactdefaultargs") BRepAlgo_Image; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepAlgo_Image; BRepAlgo_Image(); - /****************** Add ******************/ - /**** md5 signature: b8225f975bf15fd818dbd9e49f0d729d ****/ + /****** BRepAlgo_Image::Add ******/ + /****** md5 signature: b8225f975bf15fd818dbd9e49f0d729d ******/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Add to the image of . - + %feature("autodoc", " Parameters ---------- OldS: TopoDS_Shape NewS: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Add to the image of . ") Add; void Add(const TopoDS_Shape & OldS, const TopoDS_Shape & NewS); - /****************** Add ******************/ - /**** md5 signature: 1f4f782b77630d9c71cd4cdce8e3437f ****/ + /****** BRepAlgo_Image::Add ******/ + /****** md5 signature: 1f4f782b77630d9c71cd4cdce8e3437f ******/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Add to the image of . - + %feature("autodoc", " Parameters ---------- OldS: TopoDS_Shape NewS: TopTools_ListOfShape -Returns +Return ------- None + +Description +----------- +Add to the image of . ") Add; void Add(const TopoDS_Shape & OldS, const TopTools_ListOfShape & NewS); - /****************** Bind ******************/ - /**** md5 signature: 94395a7acc1c19970a6c18429f703cbd ****/ + /****** BRepAlgo_Image::Bind ******/ + /****** md5 signature: 94395a7acc1c19970a6c18429f703cbd ******/ %feature("compactdefaultargs") Bind; - %feature("autodoc", "Links as image of . - + %feature("autodoc", " Parameters ---------- OldS: TopoDS_Shape NewS: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Links as image of . ") Bind; void Bind(const TopoDS_Shape & OldS, const TopoDS_Shape & NewS); - /****************** Bind ******************/ - /**** md5 signature: e46b9362344bef9a466680c15824c045 ****/ + /****** BRepAlgo_Image::Bind ******/ + /****** md5 signature: e46b9362344bef9a466680c15824c045 ******/ %feature("compactdefaultargs") Bind; - %feature("autodoc", "Links as image of . - + %feature("autodoc", " Parameters ---------- OldS: TopoDS_Shape NewS: TopTools_ListOfShape -Returns +Return ------- None + +Description +----------- +Links as image of . ") Bind; void Bind(const TopoDS_Shape & OldS, const TopTools_ListOfShape & NewS); - /****************** Clear ******************/ - /**** md5 signature: ae54be580b423a6eadbe062e0bdb44c2 ****/ + /****** BRepAlgo_Image::Clear ******/ + /****** md5 signature: ae54be580b423a6eadbe062e0bdb44c2 ******/ %feature("compactdefaultargs") Clear; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") Clear; void Clear(); - /****************** Compact ******************/ - /**** md5 signature: 9a98bd4200c1c286e12857cb2eb1f23a ****/ + /****** BRepAlgo_Image::Compact ******/ + /****** md5 signature: 9a98bd4200c1c286e12857cb2eb1f23a ******/ %feature("compactdefaultargs") Compact; - %feature("autodoc", "Keeps only the link between roots and lastimage. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Keeps only the link between roots and lastimage. ") Compact; void Compact(); - /****************** Filter ******************/ - /**** md5 signature: e4937792550998c8721aa07df5c84e90 ****/ + /****** BRepAlgo_Image::Filter ******/ + /****** md5 signature: e4937792550998c8721aa07df5c84e90 ******/ %feature("compactdefaultargs") Filter; - %feature("autodoc", "Deletes in the images the shape of type which are not in . warning: compact() must be call before. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape ShapeType: TopAbs_ShapeEnum -Returns +Return ------- None + +Description +----------- +Deletes in the images the shape of type which are not in . Warning: Compact() must be call before. ") Filter; void Filter(const TopoDS_Shape & S, const TopAbs_ShapeEnum ShapeType); - /****************** HasImage ******************/ - /**** md5 signature: b3bc7608851b977522a41dfadb246e5f ****/ + /****** BRepAlgo_Image::HasImage ******/ + /****** md5 signature: b3bc7608851b977522a41dfadb246e5f ******/ %feature("compactdefaultargs") HasImage; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- bool + +Description +----------- +No available documentation. ") HasImage; Standard_Boolean HasImage(const TopoDS_Shape & S); - /****************** Image ******************/ - /**** md5 signature: a0b14766d744925d80794ae4914acb1c ****/ + /****** BRepAlgo_Image::Image ******/ + /****** md5 signature: a0b14766d744925d80794ae4914acb1c ******/ %feature("compactdefaultargs") Image; - %feature("autodoc", "Returns the image of . returns in the list if hasimage(s) is false. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Returns the Image of . Returns in the list if HasImage(S) is false. ") Image; const TopTools_ListOfShape & Image(const TopoDS_Shape & S); - /****************** ImageFrom ******************/ - /**** md5 signature: 2290fb99e58edb77e8d51c7bee3ddaa5 ****/ + /****** BRepAlgo_Image::ImageFrom ******/ + /****** md5 signature: 2290fb99e58edb77e8d51c7bee3ddaa5 ******/ %feature("compactdefaultargs") ImageFrom; - %feature("autodoc", "Returns the generator of . - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- TopoDS_Shape + +Description +----------- +Returns the generator of . ") ImageFrom; const TopoDS_Shape ImageFrom(const TopoDS_Shape & S); - /****************** IsImage ******************/ - /**** md5 signature: 5d4abe9bfc888b8046977ea97f0d29c3 ****/ + /****** BRepAlgo_Image::IsImage ******/ + /****** md5 signature: 5d4abe9bfc888b8046977ea97f0d29c3 ******/ %feature("compactdefaultargs") IsImage; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- bool + +Description +----------- +No available documentation. ") IsImage; Standard_Boolean IsImage(const TopoDS_Shape & S); - /****************** LastImage ******************/ - /**** md5 signature: f49808c3101a3f0962d4a981cc2e0fa3 ****/ + /****** BRepAlgo_Image::LastImage ******/ + /****** md5 signature: f49808c3101a3f0962d4a981cc2e0fa3 ******/ %feature("compactdefaultargs") LastImage; - %feature("autodoc", "Stores in the images of images of...images of . contains only if hasimage(s) is false. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape L: TopTools_ListOfShape -Returns +Return ------- None + +Description +----------- +Stores in the images of images of...images of . contains only if HasImage(S) is false. ") LastImage; void LastImage(const TopoDS_Shape & S, TopTools_ListOfShape & L); - /****************** Remove ******************/ - /**** md5 signature: 05a88c75d9ea5ff51b2f8c0a39e09679 ****/ + /****** BRepAlgo_Image::Remove ******/ + /****** md5 signature: 05a88c75d9ea5ff51b2f8c0a39e09679 ******/ %feature("compactdefaultargs") Remove; - %feature("autodoc", "Remove to set of images. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Remove to set of images. ") Remove; void Remove(const TopoDS_Shape & S); - /****************** RemoveRoot ******************/ - /**** md5 signature: 690c4fd21a18576f149a066c30568867 ****/ + /****** BRepAlgo_Image::RemoveRoot ******/ + /****** md5 signature: 690c4fd21a18576f149a066c30568867 ******/ %feature("compactdefaultargs") RemoveRoot; - %feature("autodoc", "Removes the root from the list of roots and up and down maps. - + %feature("autodoc", " Parameters ---------- Root: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Removes the root from the list of roots and up and down maps. ") RemoveRoot; void RemoveRoot(const TopoDS_Shape & Root); - /****************** ReplaceRoot ******************/ - /**** md5 signature: 285b3a580e43af49c3fb24e085a66aef ****/ + /****** BRepAlgo_Image::ReplaceRoot ******/ + /****** md5 signature: 285b3a580e43af49c3fb24e085a66aef ******/ %feature("compactdefaultargs") ReplaceRoot; - %feature("autodoc", "Replaces the with the , so all images of the become the images of the . the is removed. - + %feature("autodoc", " Parameters ---------- OldRoot: TopoDS_Shape NewRoot: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Replaces the with the , so all images of the become the images of the . The is removed. ") ReplaceRoot; void ReplaceRoot(const TopoDS_Shape & OldRoot, const TopoDS_Shape & NewRoot); - /****************** Root ******************/ - /**** md5 signature: b928b7ce7a4d68875a739516be55eb7c ****/ + /****** BRepAlgo_Image::Root ******/ + /****** md5 signature: b928b7ce7a4d68875a739516be55eb7c ******/ %feature("compactdefaultargs") Root; - %feature("autodoc", "Returns the upper generator of . - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- TopoDS_Shape + +Description +----------- +Returns the upper generator of . ") Root; const TopoDS_Shape Root(const TopoDS_Shape & S); - /****************** Roots ******************/ - /**** md5 signature: 82f242faa3e008b8cefc3123c93c72c8 ****/ + /****** BRepAlgo_Image::Roots ******/ + /****** md5 signature: 82f242faa3e008b8cefc3123c93c72c8 ******/ %feature("compactdefaultargs") Roots; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +No available documentation. ") Roots; const TopTools_ListOfShape & Roots(); - /****************** SetRoot ******************/ - /**** md5 signature: 81eb99d7d9d22432167b234cf063481a ****/ + /****** BRepAlgo_Image::SetRoot ******/ + /****** md5 signature: 81eb99d7d9d22432167b234cf063481a ******/ %feature("compactdefaultargs") SetRoot; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetRoot; void SetRoot(const TopoDS_Shape & S); @@ -936,181 +975,282 @@ None **********************/ class BRepAlgo_Loop { public: - /****************** BRepAlgo_Loop ******************/ - /**** md5 signature: 25f06f5c44068f0a3075667be6a6a58b ****/ + /****** BRepAlgo_Loop::BRepAlgo_Loop ******/ + /****** md5 signature: 25f06f5c44068f0a3075667be6a6a58b ******/ %feature("compactdefaultargs") BRepAlgo_Loop; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepAlgo_Loop; BRepAlgo_Loop(); - /****************** AddConstEdge ******************/ - /**** md5 signature: c7f7273f1289f10b479203d0e90b817d ****/ + /****** BRepAlgo_Loop::AddConstEdge ******/ + /****** md5 signature: c7f7273f1289f10b479203d0e90b817d ******/ %feature("compactdefaultargs") AddConstEdge; - %feature("autodoc", "Add as const edge, e can be in the result. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +Add as const edge, E can be in the result. ") AddConstEdge; void AddConstEdge(const TopoDS_Edge & E); - /****************** AddConstEdges ******************/ - /**** md5 signature: bb5e3e5bda091bc51538ebc7c94a845d ****/ + /****** BRepAlgo_Loop::AddConstEdges ******/ + /****** md5 signature: bb5e3e5bda091bc51538ebc7c94a845d ******/ %feature("compactdefaultargs") AddConstEdges; - %feature("autodoc", "Add as a set of const edges. - + %feature("autodoc", " Parameters ---------- LE: TopTools_ListOfShape -Returns +Return ------- None + +Description +----------- +Add as a set of const edges. ") AddConstEdges; void AddConstEdges(const TopTools_ListOfShape & LE); - /****************** AddEdge ******************/ - /**** md5 signature: 1d4fc83e654194c8544ee17710aa8d90 ****/ + /****** BRepAlgo_Loop::AddEdge ******/ + /****** md5 signature: 1d4fc83e654194c8544ee17710aa8d90 ******/ %feature("compactdefaultargs") AddEdge; - %feature("autodoc", "Add e with . will be copied and trim by vertices in . - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge LV: TopTools_ListOfShape -Returns +Return ------- None + +Description +----------- +Add E with . will be copied and trim by vertices in . ") AddEdge; void AddEdge(TopoDS_Edge & E, const TopTools_ListOfShape & LV); - /****************** CutEdge ******************/ - /**** md5 signature: c3ea87f98f6a4b2923c6235d7b903c58 ****/ + /****** BRepAlgo_Loop::CutEdge ******/ + /****** md5 signature: c3ea87f98f6a4b2923c6235d7b903c58 ******/ %feature("compactdefaultargs") CutEdge; - %feature("autodoc", "Cut the edge in several edges on the vertices. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge VonE: TopTools_ListOfShape NE: TopTools_ListOfShape -Returns +Return ------- None + +Description +----------- +Cut the edge in several edges on the vertices. ") CutEdge; void CutEdge(const TopoDS_Edge & E, const TopTools_ListOfShape & VonE, TopTools_ListOfShape & NE); - /****************** GetVerticesForSubstitute ******************/ - /**** md5 signature: 3b0ea732ecf076dde3f931f0997c07aa ****/ - %feature("compactdefaultargs") GetVerticesForSubstitute; - %feature("autodoc", "Returns the datamap of vertices with their substitutes. + /****** BRepAlgo_Loop::GetTolConf ******/ + /****** md5 signature: 7e9f7b87eb3b20edee9e3a86157928cd ******/ + %feature("compactdefaultargs") GetTolConf; + %feature("autodoc", "Return +------- +float + +Description +----------- +Get maximal tolerance used for comparing distances between vertices. +") GetTolConf; + Standard_Real GetTolConf(); + /****** BRepAlgo_Loop::GetVerticesForSubstitute ******/ + /****** md5 signature: 3b0ea732ecf076dde3f931f0997c07aa ******/ + %feature("compactdefaultargs") GetVerticesForSubstitute; + %feature("autodoc", " Parameters ---------- VerVerMap: TopTools_DataMapOfShapeShape -Returns +Return ------- None + +Description +----------- +Returns the datamap of vertices with their substitutes. ") GetVerticesForSubstitute; void GetVerticesForSubstitute(TopTools_DataMapOfShapeShape & VerVerMap); - /****************** Init ******************/ - /**** md5 signature: a8dfaa68079e743e08190fe58d950a9a ****/ + /****** BRepAlgo_Loop::Init ******/ + /****** md5 signature: a8dfaa68079e743e08190fe58d950a9a ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "Init with the set of edges must have pcurves on . - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face -Returns +Return ------- None + +Description +----------- +Init with the set of edges must have pcurves on . ") Init; void Init(const TopoDS_Face & F); - /****************** NewEdges ******************/ - /**** md5 signature: ca2bf0bfae43c579574670d69e837949 ****/ + /****** BRepAlgo_Loop::NewEdges ******/ + /****** md5 signature: ca2bf0bfae43c579574670d69e837949 ******/ %feature("compactdefaultargs") NewEdges; - %feature("autodoc", "Returns the list of new edges built from an edge it can be an empty list. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Returns the list of new edges built from an edge it can be an empty list. ") NewEdges; const TopTools_ListOfShape & NewEdges(const TopoDS_Edge & E); - /****************** NewFaces ******************/ - /**** md5 signature: 1760fdb1c9e5525f7aa9e149d10051e7 ****/ + /****** BRepAlgo_Loop::NewFaces ******/ + /****** md5 signature: 1760fdb1c9e5525f7aa9e149d10051e7 ******/ %feature("compactdefaultargs") NewFaces; - %feature("autodoc", "Returns the list of faces. warning: the method as to be called before. can be an empty list. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +Returns the list of faces. Warning: The method as to be called before. can be an empty list. ") NewFaces; const TopTools_ListOfShape & NewFaces(); - /****************** NewWires ******************/ - /**** md5 signature: e3fe3b335b8953ae48d1acc70c50f835 ****/ + /****** BRepAlgo_Loop::NewWires ******/ + /****** md5 signature: e3fe3b335b8953ae48d1acc70c50f835 ******/ %feature("compactdefaultargs") NewWires; - %feature("autodoc", "Returns the list of wires performed. can be an empty list. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +Returns the list of wires performed. can be an empty list. ") NewWires; const TopTools_ListOfShape & NewWires(); - /****************** Perform ******************/ - /**** md5 signature: c04b01412cba7220c024b5eb4532697f ****/ + /****** BRepAlgo_Loop::Perform ******/ + /****** md5 signature: c04b01412cba7220c024b5eb4532697f ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Make loops. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Make loops. ") Perform; void Perform(); - /****************** VerticesForSubstitute ******************/ - /**** md5 signature: b26ff2366762048c84c096651ba2d80c ****/ - %feature("compactdefaultargs") VerticesForSubstitute; - %feature("autodoc", "No available documentation. + /****** BRepAlgo_Loop::SetImageVV ******/ + /****** md5 signature: e4e1ed7e9cd079a003f1ab409e87973e ******/ + %feature("compactdefaultargs") SetImageVV; + %feature("autodoc", " +Parameters +---------- +theImageVV: BRepAlgo_Image + +Return +------- +None +Description +----------- +Sets the Image Vertex - Vertex. +") SetImageVV; + void SetImageVV(const BRepAlgo_Image & theImageVV); + + /****** BRepAlgo_Loop::SetTolConf ******/ + /****** md5 signature: 1c312d5c00a3d856c91eb31857ae32c6 ******/ + %feature("compactdefaultargs") SetTolConf; + %feature("autodoc", " +Parameters +---------- +theTolConf: float + +Return +------- +None + +Description +----------- +Set maximal tolerance used for comparing distances between vertices. +") SetTolConf; + void SetTolConf(const Standard_Real theTolConf); + + /****** BRepAlgo_Loop::UpdateVEmap ******/ + /****** md5 signature: 491681c63af221fbd7247e01d389bbc0 ******/ + %feature("compactdefaultargs") UpdateVEmap; + %feature("autodoc", " +Parameters +---------- +theVEmap: TopTools_IndexedDataMapOfShapeListOfShape + +Return +------- +None + +Description +----------- +Update VE map according to Image Vertex - Vertex. +") UpdateVEmap; + void UpdateVEmap(TopTools_IndexedDataMapOfShapeListOfShape & theVEmap); + + /****** BRepAlgo_Loop::VerticesForSubstitute ******/ + /****** md5 signature: b26ff2366762048c84c096651ba2d80c ******/ + %feature("compactdefaultargs") VerticesForSubstitute; + %feature("autodoc", " Parameters ---------- VerVerMap: TopTools_DataMapOfShapeShape -Returns +Return ------- None + +Description +----------- +No available documentation. ") VerticesForSubstitute; void VerticesForSubstitute(TopTools_DataMapOfShapeShape & VerVerMap); - /****************** WiresToFaces ******************/ - /**** md5 signature: ba4d21c35d79af050089e2828b0fc192 ****/ + /****** BRepAlgo_Loop::WiresToFaces ******/ + /****** md5 signature: ba4d21c35d79af050089e2828b0fc192 ******/ %feature("compactdefaultargs") WiresToFaces; - %feature("autodoc", "Build faces from the wires result. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Build faces from the wires result. ") WiresToFaces; void WiresToFaces(); @@ -1128,233 +1268,273 @@ None **********************************/ class BRepAlgo_NormalProjection { public: - /****************** BRepAlgo_NormalProjection ******************/ - /**** md5 signature: 9701a9046a8430d62899e04270a74739 ****/ + /****** BRepAlgo_NormalProjection::BRepAlgo_NormalProjection ******/ + /****** md5 signature: 9701a9046a8430d62899e04270a74739 ******/ %feature("compactdefaultargs") BRepAlgo_NormalProjection; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepAlgo_NormalProjection; BRepAlgo_NormalProjection(); - /****************** BRepAlgo_NormalProjection ******************/ - /**** md5 signature: 420e8a2be230db44d7bc7c2631e1f8fe ****/ + /****** BRepAlgo_NormalProjection::BRepAlgo_NormalProjection ******/ + /****** md5 signature: 420e8a2be230db44d7bc7c2631e1f8fe ******/ %feature("compactdefaultargs") BRepAlgo_NormalProjection; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepAlgo_NormalProjection; BRepAlgo_NormalProjection(const TopoDS_Shape & S); - /****************** Add ******************/ - /**** md5 signature: 819f71062dd96e4b529bccdf1bb50cf1 ****/ + /****** BRepAlgo_NormalProjection::Add ******/ + /****** md5 signature: 819f71062dd96e4b529bccdf1bb50cf1 ******/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Add an edge or a wire to the list of shape to project. - + %feature("autodoc", " Parameters ---------- ToProj: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Add an edge or a wire to the list of shape to project. ") Add; void Add(const TopoDS_Shape & ToProj); - /****************** Ancestor ******************/ - /**** md5 signature: 551c6ce85c529cb60615765a58d47215 ****/ + /****** BRepAlgo_NormalProjection::Ancestor ******/ + /****** md5 signature: 551c6ce85c529cb60615765a58d47215 ******/ %feature("compactdefaultargs") Ancestor; - %feature("autodoc", "For a resulting edge, returns the corresponding initial edge. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge -Returns +Return ------- TopoDS_Shape + +Description +----------- +For a resulting edge, returns the corresponding initial edge. ") Ancestor; const TopoDS_Shape Ancestor(const TopoDS_Edge & E); - /****************** Build ******************/ - /**** md5 signature: 634d88e5c99c5ce236c07b337243d591 ****/ + /****** BRepAlgo_NormalProjection::Build ******/ + /****** md5 signature: 634d88e5c99c5ce236c07b337243d591 ******/ %feature("compactdefaultargs") Build; - %feature("autodoc", "Builds the result as a compound. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Builds the result as a compound. ") Build; void Build(); - /****************** BuildWire ******************/ - /**** md5 signature: e5fb4f3952649b872b4fb3c469f5b161 ****/ + /****** BRepAlgo_NormalProjection::BuildWire ******/ + /****** md5 signature: e5fb4f3952649b872b4fb3c469f5b161 ******/ %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. - + %feature("autodoc", " Parameters ---------- Liste: TopTools_ListOfShape -Returns +Return ------- bool + +Description +----------- +build the result as a list of wire if possible in -- a first returns a wire only if there is only a wire. ") BuildWire; Standard_Boolean BuildWire(TopTools_ListOfShape & Liste); - /****************** Compute3d ******************/ - /**** md5 signature: a18b9a3fc4a7d346645e19e03d893102 ****/ + /****** BRepAlgo_NormalProjection::Compute3d ******/ + /****** md5 signature: a18b9a3fc4a7d346645e19e03d893102 ******/ %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", " Parameters ---------- -With3d: bool,optional - default value is Standard_True +With3d: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +if With3d = Standard_False the 3dcurve is not computed the initial 3dcurve is kept to build the resulting edges. ") Compute3d; void Compute3d(const Standard_Boolean With3d = Standard_True); - /****************** Couple ******************/ - /**** md5 signature: cbe6db4e25bf42b45544f6235fc33773 ****/ + /****** BRepAlgo_NormalProjection::Couple ******/ + /****** md5 signature: cbe6db4e25bf42b45544f6235fc33773 ******/ %feature("compactdefaultargs") Couple; - %feature("autodoc", "For a projected edge, returns the corresponding initial face. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge -Returns +Return ------- TopoDS_Shape + +Description +----------- +For a projected edge, returns the corresponding initial face. ") Couple; const TopoDS_Shape Couple(const TopoDS_Edge & E); - /****************** Generated ******************/ - /**** md5 signature: 20432e4d7ffc2a154be36ff0a467a19b ****/ + /****** BRepAlgo_NormalProjection::Generated ******/ + /****** md5 signature: 20432e4d7ffc2a154be36ff0a467a19b ******/ %feature("compactdefaultargs") Generated; - %feature("autodoc", "Returns the list of shapes generated from the shape . - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Returns the list of shapes generated from the shape . ") Generated; const TopTools_ListOfShape & Generated(const TopoDS_Shape & S); - /****************** Init ******************/ - /**** md5 signature: 5b69b32485b3d9f82ae4abb9c853c3c7 ****/ + /****** BRepAlgo_NormalProjection::Init ******/ + /****** md5 signature: 5b69b32485b3d9f82ae4abb9c853c3c7 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +No available documentation. ") Init; void Init(const TopoDS_Shape & S); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** BRepAlgo_NormalProjection::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsDone; Standard_Boolean IsDone(); - /****************** IsElementary ******************/ - /**** md5 signature: 946351933089b0d0f29c01807aef61fe ****/ + /****** BRepAlgo_NormalProjection::IsElementary ******/ + /****** md5 signature: 946351933089b0d0f29c01807aef61fe ******/ %feature("compactdefaultargs") IsElementary; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Adaptor3d_Curve -Returns +Return ------- bool + +Description +----------- +No available documentation. ") IsElementary; Standard_Boolean IsElementary(const Adaptor3d_Curve & C); - /****************** Projection ******************/ - /**** md5 signature: d96e6638e8d3c59fa6809c83eda77a82 ****/ + /****** BRepAlgo_NormalProjection::Projection ******/ + /****** md5 signature: d96e6638e8d3c59fa6809c83eda77a82 ******/ %feature("compactdefaultargs") Projection; - %feature("autodoc", "Returns the result. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +returns the result. ") Projection; const TopoDS_Shape Projection(); - /****************** SetDefaultParams ******************/ - /**** md5 signature: 41db5be74abe064c4ef67334ff98774d ****/ + /****** BRepAlgo_NormalProjection::SetDefaultParams ******/ + /****** md5 signature: 41db5be74abe064c4ef67334ff98774d ******/ %feature("compactdefaultargs") SetDefaultParams; - %feature("autodoc", "Set the parameters used for computation in their default values. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Set the parameters used for computation in their default values. ") SetDefaultParams; void SetDefaultParams(); - /****************** SetLimit ******************/ - /**** md5 signature: 2affba7d2b02ca0d9a96522f0a57d409 ****/ + /****** BRepAlgo_NormalProjection::SetLimit ******/ + /****** md5 signature: 2affba7d2b02ca0d9a96522f0a57d409 ******/ %feature("compactdefaultargs") SetLimit; - %feature("autodoc", "Manage limitation of projected edges. - + %feature("autodoc", " Parameters ---------- -FaceBoundaries: bool,optional - default value is Standard_True +FaceBoundaries: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +Manage limitation of projected edges. ") SetLimit; void SetLimit(const Standard_Boolean FaceBoundaries = Standard_True); - /****************** SetMaxDistance ******************/ - /**** md5 signature: 7c596903416448c58cc2576fe5ca8153 ****/ + /****** BRepAlgo_NormalProjection::SetMaxDistance ******/ + /****** md5 signature: 7c596903416448c58cc2576fe5ca8153 ******/ %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. - + %feature("autodoc", " Parameters ---------- MaxDist: float -Returns +Return ------- None + +Description +----------- +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. ") SetMaxDistance; void SetMaxDistance(const Standard_Real MaxDist); - /****************** SetParams ******************/ - /**** md5 signature: 145439fe62b19bd0fd3e24e9c7dd4c4d ****/ + /****** BRepAlgo_NormalProjection::SetParams ******/ + /****** md5 signature: 145439fe62b19bd0fd3e24e9c7dd4c4d ******/ %feature("compactdefaultargs") SetParams; - %feature("autodoc", "Set the parameters used for computation tol3d is the requiered tolerance between the 3d projected curve and its 2d representation internalcontinuity is the order of constraints used for approximation. maxdeg and maxseg are the maximum degree and the maximum number of segment for bspline resulting of an approximation. - + %feature("autodoc", " Parameters ---------- Tol3D: float @@ -1363,9 +1543,13 @@ InternalContinuity: GeomAbs_Shape MaxDegree: int MaxSeg: int -Returns +Return ------- None + +Description +----------- +Set the parameters used for computation Tol3d is the required tolerance between the 3d projected curve and its 2d representation InternalContinuity is the order of constraints used for approximation. MaxDeg and MaxSeg are the maximum degree and the maximum number of segment for BSpline resulting of an approximation. ") SetParams; void SetParams(const Standard_Real Tol3D, const Standard_Real Tol2D, const GeomAbs_Shape InternalContinuity, const Standard_Integer MaxDegree, const Standard_Integer MaxSeg); @@ -1378,411 +1562,40 @@ None } }; -/********************** -* class BRepAlgo_Tool * -**********************/ -class BRepAlgo_Tool { - public: - /****************** Deboucle3D ******************/ - /**** md5 signature: 604726f64f42702b8591f042f704509e ****/ - %feature("compactdefaultargs") Deboucle3D; - %feature("autodoc", "Remove the non valid part of an offsetshape 1 - remove all the free boundary and the faces connex to such edges. 2 - remove all the shapes not valid in the result (according to the side of offseting) in this verion only the first point is implemented. - -Parameters ----------- -S: TopoDS_Shape -Boundary: TopTools_MapOfShape - -Returns -------- -TopoDS_Shape -") Deboucle3D; - static TopoDS_Shape Deboucle3D(const TopoDS_Shape & S, const TopTools_MapOfShape & Boundary); - -}; - - -%extend BRepAlgo_Tool { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/************************ -* class BRepAlgo_Common * -************************/ -class BRepAlgo_Common : public BRepAlgo_BooleanOperation { - public: - /****************** BRepAlgo_Common ******************/ - /**** md5 signature: c303f23f715db05d4b283d942e0ed480 ****/ - %feature("compactdefaultargs") BRepAlgo_Common; - %feature("autodoc", "Constructs the common part of shapes s1 and s2. - -Parameters ----------- -S1: TopoDS_Shape -S2: TopoDS_Shape - -Returns -------- -None -") BRepAlgo_Common; - BRepAlgo_Common(const TopoDS_Shape & S1, const TopoDS_Shape & S2); - -}; - - -%extend BRepAlgo_Common { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/********************* -* class BRepAlgo_Cut * -*********************/ -class BRepAlgo_Cut : public BRepAlgo_BooleanOperation { - public: - /****************** BRepAlgo_Cut ******************/ - /**** md5 signature: f90348e962c1c16c754ac1427051f107 ****/ - %feature("compactdefaultargs") BRepAlgo_Cut; - %feature("autodoc", "Cuts the shape s2 from the shape s1. - -Parameters ----------- -S1: TopoDS_Shape -S2: TopoDS_Shape - -Returns -------- -None -") BRepAlgo_Cut; - BRepAlgo_Cut(const TopoDS_Shape & S1, const TopoDS_Shape & S2); - -}; - - -%extend BRepAlgo_Cut { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/********************** -* class BRepAlgo_Fuse * -**********************/ -class BRepAlgo_Fuse : public BRepAlgo_BooleanOperation { - public: - /****************** BRepAlgo_Fuse ******************/ - /**** md5 signature: f117438a19e4ceb14492964fd0e05965 ****/ - %feature("compactdefaultargs") BRepAlgo_Fuse; - %feature("autodoc", "Fuse s1 and s2. - -Parameters ----------- -S1: TopoDS_Shape -S2: TopoDS_Shape - -Returns -------- -None -") BRepAlgo_Fuse; - BRepAlgo_Fuse(const TopoDS_Shape & S1, const TopoDS_Shape & S2); - -}; - - -%extend BRepAlgo_Fuse { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/************************* -* class BRepAlgo_Section * -*************************/ -class BRepAlgo_Section : public BRepAlgo_BooleanOperation { - public: - /****************** BRepAlgo_Section ******************/ - /**** md5 signature: 3b0b603cdaa19c3fa8b14a4fc6430eae ****/ - %feature("compactdefaultargs") BRepAlgo_Section; - %feature("autodoc", "No available documentation. - -Parameters ----------- -Sh1: TopoDS_Shape -Sh2: TopoDS_Shape -PerformNow: bool,optional - default value is Standard_True - -Returns -------- -None -") BRepAlgo_Section; - BRepAlgo_Section(const TopoDS_Shape & Sh1, const TopoDS_Shape & Sh2, const Standard_Boolean PerformNow = Standard_True); - - /****************** BRepAlgo_Section ******************/ - /**** md5 signature: 2eec517a00968b44883cf7812c34cb07 ****/ - %feature("compactdefaultargs") BRepAlgo_Section; - %feature("autodoc", "No available documentation. - -Parameters ----------- -Sh: TopoDS_Shape -Pl: gp_Pln -PerformNow: bool,optional - default value is Standard_True - -Returns -------- -None -") BRepAlgo_Section; - BRepAlgo_Section(const TopoDS_Shape & Sh, const gp_Pln & Pl, const Standard_Boolean PerformNow = Standard_True); - - /****************** BRepAlgo_Section ******************/ - /**** md5 signature: 51e4d1698105486e7345243a65fcf053 ****/ - %feature("compactdefaultargs") BRepAlgo_Section; - %feature("autodoc", "No available documentation. - -Parameters ----------- -Sh: TopoDS_Shape -Sf: Geom_Surface -PerformNow: bool,optional - default value is Standard_True - -Returns -------- -None -") BRepAlgo_Section; - BRepAlgo_Section(const TopoDS_Shape & Sh, const opencascade::handle & Sf, const Standard_Boolean PerformNow = Standard_True); - - /****************** BRepAlgo_Section ******************/ - /**** md5 signature: bf125371c0f12c703b776422977b8fc4 ****/ - %feature("compactdefaultargs") BRepAlgo_Section; - %feature("autodoc", "No available documentation. - -Parameters ----------- -Sf: Geom_Surface -Sh: TopoDS_Shape -PerformNow: bool,optional - default value is Standard_True - -Returns -------- -None -") BRepAlgo_Section; - BRepAlgo_Section(const opencascade::handle & Sf, const TopoDS_Shape & Sh, const Standard_Boolean PerformNow = Standard_True); - - /****************** BRepAlgo_Section ******************/ - /**** md5 signature: cba6ed73b7e463d63e15fef3e258420c ****/ - %feature("compactdefaultargs") BRepAlgo_Section; - %feature("autodoc", "This and the above algorithms construct a framework for computing the section lines of - the two shapes sh1 and sh2, or - the shape sh and the plane pl, or - the shape sh and the surface sf, or - the surface sf and the shape sh, or - the two surfaces sf1 and sf2, and builds the result if performnow equals true, its default value. if performnow equals false, the intersection will be computed later by the function build. the constructed shape will be returned by the function shape. this is a compound object composed of edges. these intersection edges may be built: - on new intersection lines, or - on coincident portions of edges in the two intersected shapes. these intersection edges are independent: they are not chained or grouped in wires. if no intersection edge exists, the result is an empty compound object. note that other objects than topods_shape shapes involved in these syntaxes are converted into faces or shells before performing the computation of the intersection. a shape resulting from this conversion can be retrieved with the function shape1 or shape2. parametric 2d curves on intersection edges no parametric 2d curve (pcurve) is defined for each elementary edge of the result. to attach such parametric curves to the constructed edges you may use a constructor with the performnow flag equal to false; then you use: - the function computepcurveon1 to ask for the additional computation of a pcurve in the parametric space of the first shape, - the function computepcurveon2 to ask for the additional computation of a pcurve in the parametric space of the second shape, - in the end, the function build to construct the result. note that as a result, pcurves will only be added on edges built on new intersection lines. approximation of intersection edges the underlying 3d geometry attached to each elementary edge of the result is: - analytic where possible, provided the corresponding geometry corresponds to a type of analytic curve defined in the geom package; for example, the intersection of a cylindrical shape with a plane gives an ellipse or a circle; - or elsewhere, given as a succession of points grouped together in a bspline curve of degree 1. if you prefer to have an attached 3d geometry which is a bspline approximation of the computed set of points on computed elementary intersection edges whose underlying geometry is not analytic, you may use a constructor with the performnow flag equal to false. then you use: - the function approximation to ask for this computation option, and - the function build to construct the result. note that as a result, approximations will only be computed on edges built on new intersection lines. example you may also combine these computation options. in the following example: - each elementary edge of the computed intersection, built on a new intersection line, which does not correspond to an analytic geom curve, will be approximated by a bspline curve whose degree is not greater than 8. - each elementary edge built on a new intersection line, will have: - a pcurve in the parametric space of the shape s1, - no pcurve in the parametric space of the shape s2. // topods_shape s1 = ... , s2 = ... ; standard_boolean performnow = standard_false; brepalgo_section s ( s1, s2, performnow ); s.computepcurveon1 (standard_true); s.approximation (standard_true); s.build(); topods_shape r = s.shape();. - -Parameters ----------- -Sf1: Geom_Surface -Sf2: Geom_Surface -PerformNow: bool,optional - default value is Standard_True - -Returns -------- -None -") BRepAlgo_Section; - BRepAlgo_Section(const opencascade::handle & Sf1, const opencascade::handle & Sf2, const Standard_Boolean PerformNow = Standard_True); - - /****************** Approximation ******************/ - /**** md5 signature: f599ca30fa002b2a3dc329decde6ce74 ****/ - %feature("compactdefaultargs") Approximation; - %feature("autodoc", "Defines an option for computation of further intersections. this computation will be performed by the function build in this framework. by default, the underlying 3d geometry attached to each elementary edge of the result of a computed intersection is: - analytic where possible, provided the corresponding geometry corresponds to a type of analytic curve defined in the geom package; for example the intersection of a cylindrical shape with a plane gives an ellipse or a circle; - or elsewhere, given as a succession of points grouped together in a bspline curve of degree 1. if approx equals true, when further computations are performed in this framework with the function build, these edges will have an attached 3d geometry which is a bspline approximation of the computed set of points. note that as a result, approximations will be computed on edges built only on new intersection lines. - -Parameters ----------- -B: bool - -Returns -------- -None -") Approximation; - void Approximation(const Standard_Boolean B); - - /****************** Build ******************/ - /**** md5 signature: fbc5fbed76b24de64a843e82da1c1005 ****/ - %feature("compactdefaultargs") Build; - %feature("autodoc", "Performs the computation of the section lines between the two parts defined at the time of construction of this framework or reinitialized with the init1 and init2 functions. the constructed shape will be returned by the function shape. this is a compound object composed of edges. these intersection edges may be built: - on new intersection lines, or - on coincident portions of edges in the two intersected shapes. these intersection edges are independent: they are not chained or grouped into wires. if no intersection edge exists, the result is an empty compound object. the shapes involved in the construction of the section lines can be retrieved with the function shape1 or shape2. note that other objects than topods_shape shapes given as arguments at the construction time of this framework, or to the init1 or init2 function, are converted into faces or shells before performing the computation of the intersection. parametric 2d curves on intersection edges no parametric 2d curve (pcurve) is defined for the elementary edges of the result. to attach parametric curves like this to the constructed edges you have to use: - the function computepcurveon1 to ask for the additional computation of a pcurve in the parametric space of the first shape, - the function computepcurveon2 to ask for the additional computation of a pcurve in the parametric space of the second shape. this must be done before calling this function. note that as a result, pcurves are added on edges built on new intersection lines only. approximation of intersection edges the underlying 3d geometry attached to each elementary edge of the result is: - analytic where possible provided the corresponding geometry corresponds to a type of analytic curve defined in the geom package; for example, the intersection of a cylindrical shape with a plane gives an ellipse or a circle; or - elsewhere, given as a succession of points grouped together in a bspline curve of degree 1. if, on computed elementary intersection edges whose underlying geometry is not analytic, you prefer to have an attached 3d geometry which is a bspline approximation of the computed set of points, you have to use the function approximation to ask for this computation option before calling this function. you may also have combined these computation options: look at the example given above to illustrate the use of the constructors. - -Returns -------- -None -") Build; - void Build(); - - /****************** ComputePCurveOn1 ******************/ - /**** md5 signature: e4a8add7cd0d8f532479132026321808 ****/ - %feature("compactdefaultargs") ComputePCurveOn1; - %feature("autodoc", "Indicates if the pcurve must be (or not) performed on first part. - -Parameters ----------- -B: bool - -Returns -------- -None -") ComputePCurveOn1; - void ComputePCurveOn1(const Standard_Boolean B); - - /****************** ComputePCurveOn2 ******************/ - /**** md5 signature: 69d49dff388a83191da02eb8e1945b69 ****/ - %feature("compactdefaultargs") ComputePCurveOn2; - %feature("autodoc", "Define options for the computation of further intersections which will be performed by the function build in this framework. by default, no parametric 2d curve (pcurve) is defined for the elementary edges of the result. if computepcurve1 equals true, further computations performed in this framework with the function build will attach an additional pcurve in the parametric space of the first shape to the constructed edges. if computepcurve2 equals true, the additional pcurve will be attached to the constructed edges in the parametric space of the second shape. these two functions may be used together. note that as a result, pcurves will only be added onto edges built on new intersection lines. - -Parameters ----------- -B: bool - -Returns -------- -None -") ComputePCurveOn2; - void ComputePCurveOn2(const Standard_Boolean B); - - /****************** HasAncestorFaceOn1 ******************/ - /**** md5 signature: 36605047037cbfa30f9efcc59b149e44 ****/ - %feature("compactdefaultargs") HasAncestorFaceOn1; - %feature("autodoc", "Identifies the ancestor faces of the new intersection edge e resulting from the last computation performed in this framework, that is, the faces of the two original shapes on which the edge e lies: - hasancestorfaceon1 gives the ancestor face in the first shape, and these functions return: - true if an ancestor face f is found, or - false if not. an ancestor face is identifiable for the edge e if the three following conditions are satisfied: - the first part on which this algorithm performed its last computation is a shape, that is, it was not given as a surface or a plane at the time of construction of this algorithm or at a later time by the init1 function, - e is one of the elementary edges built by the last computation of this section algorithm, - the edge e is built on an intersection curve. in other words, e is a new edge built on the intersection curve, not on edges belonging to the intersecting shapes. to use these functions properly, you have to test the returned boolean value before using the ancestor face: f is significant only if the returned boolean value equals true. - -Parameters ----------- -E: TopoDS_Shape -F: TopoDS_Shape - -Returns -------- -bool -") HasAncestorFaceOn1; - Standard_Boolean HasAncestorFaceOn1(const TopoDS_Shape & E, TopoDS_Shape & F); - - /****************** HasAncestorFaceOn2 ******************/ - /**** md5 signature: 0642a4fb4df5a635412bd18e5f65e916 ****/ - %feature("compactdefaultargs") HasAncestorFaceOn2; - %feature("autodoc", "Identifies the ancestor faces of the new intersection edge e resulting from the last computation performed in this framework, that is, the faces of the two original shapes on which the edge e lies: - hasancestorfaceon2 gives the ancestor face in the second shape. these functions return: - true if an ancestor face f is found, or - false if not. an ancestor face is identifiable for the edge e if the three following conditions are satisfied: - the first part on which this algorithm performed its last computation is a shape, that is, it was not given as a surface or a plane at the time of construction of this algorithm or at a later time by the init1 function, - e is one of the elementary edges built by the last computation of this section algorithm, - the edge e is built on an intersection curve. in other words, e is a new edge built on the intersection curve, not on edges belonging to the intersecting shapes. to use these functions properly, you have to test the returned boolean value before using the ancestor face: f is significant only if the returned boolean value equals true. - -Parameters ----------- -E: TopoDS_Shape -F: TopoDS_Shape - -Returns -------- -bool -") HasAncestorFaceOn2; - Standard_Boolean HasAncestorFaceOn2(const TopoDS_Shape & E, TopoDS_Shape & F); - - /****************** Init1 ******************/ - /**** md5 signature: 7fa686f55d72920afc50e65b8a84a805 ****/ - %feature("compactdefaultargs") Init1; - %feature("autodoc", "Initializes the first part. - -Parameters ----------- -S1: TopoDS_Shape - -Returns -------- -None -") Init1; - void Init1(const TopoDS_Shape & S1); - - /****************** Init1 ******************/ - /**** md5 signature: 1e834e5b66aacf2f588a792cb0edcd57 ****/ - %feature("compactdefaultargs") Init1; - %feature("autodoc", "Initializes the first part. - -Parameters ----------- -Pl: gp_Pln - -Returns -------- -None -") Init1; - void Init1(const gp_Pln & Pl); - - /****************** Init1 ******************/ - /**** md5 signature: a94f1a0649d28cfd679dcbe46833b484 ****/ - %feature("compactdefaultargs") Init1; - %feature("autodoc", "Initializes the first part. - -Parameters ----------- -Sf: Geom_Surface - -Returns -------- -None -") Init1; - void Init1(const opencascade::handle & Sf); - - /****************** Init2 ******************/ - /**** md5 signature: 8a35dc2983e205023df1fac2afbf3b01 ****/ - %feature("compactdefaultargs") Init2; - %feature("autodoc", "Initialize second part. - -Parameters ----------- -S2: TopoDS_Shape - -Returns -------- -None -") Init2; - void Init2(const TopoDS_Shape & S2); - - /****************** Init2 ******************/ - /**** md5 signature: 1fb6fdb5216fde3b15724409206adcfe ****/ - %feature("compactdefaultargs") Init2; - %feature("autodoc", "Initializes the second part. - -Parameters ----------- -Pl: gp_Pln - -Returns -------- -None -") Init2; - void Init2(const gp_Pln & Pl); +/* harray1 classes */ +/* harray2 classes */ +/* hsequence classes */ +/* class aliases */ +%pythoncode { +} +/* deprecated methods */ +%pythoncode { +@deprecated +def brepalgo_ConcatenateWire(*args): + return brepalgo.ConcatenateWire(*args) - /****************** Init2 ******************/ - /**** md5 signature: 86865e03b7bd5eecac0d55746d523771 ****/ - %feature("compactdefaultargs") Init2; - %feature("autodoc", "This and the above algorithms reinitialize the first and the second parts on which this algorithm is going to perform the intersection computation. this is done with either: the surface sf, the plane pl or the shape sh. you use the function build to construct the result. +@deprecated +def brepalgo_ConcatenateWireC0(*args): + return brepalgo.ConcatenateWireC0(*args) -Parameters ----------- -Sf: Geom_Surface +@deprecated +def brepalgo_ConvertFace(*args): + return brepalgo.ConvertFace(*args) -Returns -------- -None -") Init2; - void Init2(const opencascade::handle & Sf); +@deprecated +def brepalgo_ConvertWire(*args): + return brepalgo.ConvertWire(*args) -}; +@deprecated +def brepalgo_IsTopologicallyValid(*args): + return brepalgo.IsTopologicallyValid(*args) +@deprecated +def brepalgo_IsValid(*args): + return brepalgo.IsValid(*args) -%extend BRepAlgo_Section { - %pythoncode { - __repr__ = _dumps_object - } -}; +@deprecated +def brepalgo_IsValid(*args): + return brepalgo.IsValid(*args) -/* harray1 classes */ -/* harray2 classes */ -/* hsequence classes */ -/* class aliases */ -%pythoncode { } diff --git a/src/SWIG_files/wrapper/BRepAlgo.pyi b/src/SWIG_files/wrapper/BRepAlgo.pyi index 91c213ca7..0060de845 100644 --- a/src/SWIG_files/wrapper/BRepAlgo.pyi +++ b/src/SWIG_files/wrapper/BRepAlgo.pyi @@ -6,181 +6,152 @@ from OCC.Core.NCollection import * from OCC.Core.TopoDS import * from OCC.Core.GeomAbs import * from OCC.Core.TopTools import * -from OCC.Core.BRepBuilderAPI import * -from OCC.Core.TopOpeBRepBuild import * from OCC.Core.TopAbs import * from OCC.Core.Adaptor3d import * -from OCC.Core.gp import * -from OCC.Core.Geom import * - - -class BRepAlgo_CheckStatus(IntEnum): - BRepAlgo_OK: int = ... - BRepAlgo_NOK: int = ... -BRepAlgo_OK = BRepAlgo_CheckStatus.BRepAlgo_OK -BRepAlgo_NOK = BRepAlgo_CheckStatus.BRepAlgo_NOK class brepalgo: - @staticmethod - def ConcatenateWire(Wire: TopoDS_Wire, Option: GeomAbs_Shape, AngularTolerance: Optional[float] = 1.0e-4) -> TopoDS_Wire: ... - @staticmethod - def ConcatenateWireC0(Wire: TopoDS_Wire) -> TopoDS_Edge: ... - @staticmethod - def IsTopologicallyValid(S: TopoDS_Shape) -> bool: ... - @overload - @staticmethod - def IsValid(S: TopoDS_Shape) -> bool: ... - @overload - @staticmethod - def IsValid(theArgs: TopTools_ListOfShape, theResult: TopoDS_Shape, closedSolid: Optional[bool] = False, GeomCtrl: Optional[bool] = True) -> bool: ... + @staticmethod + def ConcatenateWire( + Wire: TopoDS_Wire, + Option: GeomAbs_Shape, + AngularTolerance: Optional[float] = 1.0e-4, + ) -> TopoDS_Wire: ... + @staticmethod + def ConcatenateWireC0(Wire: TopoDS_Wire) -> TopoDS_Edge: ... + @staticmethod + def ConvertFace(theFace: TopoDS_Face, theAngleTolerance: float) -> TopoDS_Face: ... + @staticmethod + def ConvertWire( + theWire: TopoDS_Wire, theAngleTolerance: float, theFace: TopoDS_Face + ) -> TopoDS_Wire: ... + @staticmethod + def IsTopologicallyValid(S: TopoDS_Shape) -> bool: ... + @overload + @staticmethod + def IsValid(S: TopoDS_Shape) -> bool: ... + @overload + @staticmethod + def IsValid( + theArgs: TopTools_ListOfShape, + theResult: TopoDS_Shape, + closedSolid: Optional[bool] = False, + GeomCtrl: Optional[bool] = True, + ) -> bool: ... class BRepAlgo_AsDes(Standard_Transient): - def __init__(self) -> None: ... - @overload - def Add(self, S: TopoDS_Shape, SS: TopoDS_Shape) -> None: ... - @overload - def Add(self, S: TopoDS_Shape, SS: TopTools_ListOfShape) -> None: ... - def Ascendant(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... - def ChangeDescendant(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... - def Clear(self) -> None: ... - def Descendant(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... - def HasAscendant(self, S: TopoDS_Shape) -> bool: ... - def HasCommonDescendant(self, S1: TopoDS_Shape, S2: TopoDS_Shape, LC: TopTools_ListOfShape) -> bool: ... - def HasDescendant(self, S: TopoDS_Shape) -> bool: ... - def Remove(self, S: TopoDS_Shape) -> None: ... - def Replace(self, OldS: TopoDS_Shape, NewS: TopoDS_Shape) -> None: ... - -class BRepAlgo_BooleanOperation(BRepBuilderAPI_MakeShape): - def Builder(self) -> TopOpeBRepBuild_HBuilder: ... - def IsDeleted(self, S: TopoDS_Shape) -> bool: ... - def Modified(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... - def Perform(self, St1: TopAbs_State, St2: TopAbs_State) -> None: ... - def PerformDS(self) -> None: ... - def Shape1(self) -> TopoDS_Shape: ... - def Shape2(self) -> TopoDS_Shape: ... + def __init__(self) -> None: ... + @overload + def Add(self, S: TopoDS_Shape, SS: TopoDS_Shape) -> None: ... + @overload + def Add(self, S: TopoDS_Shape, SS: TopTools_ListOfShape) -> None: ... + def Ascendant(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... + def ChangeDescendant(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... + def Clear(self) -> None: ... + def Descendant(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... + def HasAscendant(self, S: TopoDS_Shape) -> bool: ... + def HasCommonDescendant( + self, S1: TopoDS_Shape, S2: TopoDS_Shape, LC: TopTools_ListOfShape + ) -> bool: ... + def HasDescendant(self, S: TopoDS_Shape) -> bool: ... + def Remove(self, theS: TopoDS_Shape) -> None: ... + def Replace(self, theOldS: TopoDS_Shape, theNewS: TopoDS_Shape) -> None: ... class BRepAlgo_FaceRestrictor: - def __init__(self) -> None: ... - def Add(self, W: TopoDS_Wire) -> None: ... - def Clear(self) -> None: ... - def Current(self) -> TopoDS_Face: ... - def Init(self, F: TopoDS_Face, Proj: Optional[bool] = False, ControlOrientation: Optional[bool] = False) -> None: ... - def IsDone(self) -> bool: ... - def More(self) -> bool: ... - def Next(self) -> None: ... - def Perform(self) -> None: ... + def __init__(self) -> None: ... + def Add(self, W: TopoDS_Wire) -> None: ... + def Clear(self) -> None: ... + def Current(self) -> TopoDS_Face: ... + def Init( + self, + F: TopoDS_Face, + Proj: Optional[bool] = False, + ControlOrientation: Optional[bool] = False, + ) -> None: ... + def IsDone(self) -> bool: ... + def More(self) -> bool: ... + def Next(self) -> None: ... + def Perform(self) -> None: ... class BRepAlgo_Image: - def __init__(self) -> None: ... - @overload - def Add(self, OldS: TopoDS_Shape, NewS: TopoDS_Shape) -> None: ... - @overload - def Add(self, OldS: TopoDS_Shape, NewS: TopTools_ListOfShape) -> None: ... - @overload - def Bind(self, OldS: TopoDS_Shape, NewS: TopoDS_Shape) -> None: ... - @overload - def Bind(self, OldS: TopoDS_Shape, NewS: TopTools_ListOfShape) -> None: ... - def Clear(self) -> None: ... - def Compact(self) -> None: ... - def Filter(self, S: TopoDS_Shape, ShapeType: TopAbs_ShapeEnum) -> None: ... - def HasImage(self, S: TopoDS_Shape) -> bool: ... - def Image(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... - def ImageFrom(self, S: TopoDS_Shape) -> TopoDS_Shape: ... - def IsImage(self, S: TopoDS_Shape) -> bool: ... - def LastImage(self, S: TopoDS_Shape, L: TopTools_ListOfShape) -> None: ... - def Remove(self, S: TopoDS_Shape) -> None: ... - def RemoveRoot(self, Root: TopoDS_Shape) -> None: ... - def ReplaceRoot(self, OldRoot: TopoDS_Shape, NewRoot: TopoDS_Shape) -> None: ... - def Root(self, S: TopoDS_Shape) -> TopoDS_Shape: ... - def Roots(self) -> TopTools_ListOfShape: ... - def SetRoot(self, S: TopoDS_Shape) -> None: ... + def __init__(self) -> None: ... + @overload + def Add(self, OldS: TopoDS_Shape, NewS: TopoDS_Shape) -> None: ... + @overload + def Add(self, OldS: TopoDS_Shape, NewS: TopTools_ListOfShape) -> None: ... + @overload + def Bind(self, OldS: TopoDS_Shape, NewS: TopoDS_Shape) -> None: ... + @overload + def Bind(self, OldS: TopoDS_Shape, NewS: TopTools_ListOfShape) -> None: ... + def Clear(self) -> None: ... + def Compact(self) -> None: ... + def Filter(self, S: TopoDS_Shape, ShapeType: TopAbs_ShapeEnum) -> None: ... + def HasImage(self, S: TopoDS_Shape) -> bool: ... + def Image(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... + def ImageFrom(self, S: TopoDS_Shape) -> TopoDS_Shape: ... + def IsImage(self, S: TopoDS_Shape) -> bool: ... + def LastImage(self, S: TopoDS_Shape, L: TopTools_ListOfShape) -> None: ... + def Remove(self, S: TopoDS_Shape) -> None: ... + def RemoveRoot(self, Root: TopoDS_Shape) -> None: ... + def ReplaceRoot(self, OldRoot: TopoDS_Shape, NewRoot: TopoDS_Shape) -> None: ... + def Root(self, S: TopoDS_Shape) -> TopoDS_Shape: ... + def Roots(self) -> TopTools_ListOfShape: ... + def SetRoot(self, S: TopoDS_Shape) -> None: ... class BRepAlgo_Loop: - def __init__(self) -> None: ... - def AddConstEdge(self, E: TopoDS_Edge) -> None: ... - def AddConstEdges(self, LE: TopTools_ListOfShape) -> None: ... - def AddEdge(self, E: TopoDS_Edge, LV: TopTools_ListOfShape) -> None: ... - def CutEdge(self, E: TopoDS_Edge, VonE: TopTools_ListOfShape, NE: TopTools_ListOfShape) -> None: ... - def GetVerticesForSubstitute(self, VerVerMap: TopTools_DataMapOfShapeShape) -> None: ... - def Init(self, F: TopoDS_Face) -> None: ... - def NewEdges(self, E: TopoDS_Edge) -> TopTools_ListOfShape: ... - def NewFaces(self) -> TopTools_ListOfShape: ... - def NewWires(self) -> TopTools_ListOfShape: ... - def Perform(self) -> None: ... - def VerticesForSubstitute(self, VerVerMap: TopTools_DataMapOfShapeShape) -> None: ... - def WiresToFaces(self) -> None: ... + def __init__(self) -> None: ... + def AddConstEdge(self, E: TopoDS_Edge) -> None: ... + def AddConstEdges(self, LE: TopTools_ListOfShape) -> None: ... + def AddEdge(self, E: TopoDS_Edge, LV: TopTools_ListOfShape) -> None: ... + def CutEdge( + self, E: TopoDS_Edge, VonE: TopTools_ListOfShape, NE: TopTools_ListOfShape + ) -> None: ... + def GetTolConf(self) -> float: ... + def GetVerticesForSubstitute( + self, VerVerMap: TopTools_DataMapOfShapeShape + ) -> None: ... + def Init(self, F: TopoDS_Face) -> None: ... + def NewEdges(self, E: TopoDS_Edge) -> TopTools_ListOfShape: ... + def NewFaces(self) -> TopTools_ListOfShape: ... + def NewWires(self) -> TopTools_ListOfShape: ... + def Perform(self) -> None: ... + def SetImageVV(self, theImageVV: BRepAlgo_Image) -> None: ... + def SetTolConf(self, theTolConf: float) -> None: ... + def UpdateVEmap( + self, theVEmap: TopTools_IndexedDataMapOfShapeListOfShape + ) -> None: ... + def VerticesForSubstitute( + self, VerVerMap: TopTools_DataMapOfShapeShape + ) -> None: ... + def WiresToFaces(self) -> None: ... class BRepAlgo_NormalProjection: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, S: TopoDS_Shape) -> None: ... - def Add(self, ToProj: TopoDS_Shape) -> None: ... - def Ancestor(self, E: TopoDS_Edge) -> TopoDS_Shape: ... - def Build(self) -> None: ... - def BuildWire(self, Liste: TopTools_ListOfShape) -> bool: ... - def Compute3d(self, With3d: Optional[bool] = True) -> None: ... - def Couple(self, E: TopoDS_Edge) -> TopoDS_Shape: ... - def Generated(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... - def Init(self, S: TopoDS_Shape) -> None: ... - def IsDone(self) -> bool: ... - def IsElementary(self, C: Adaptor3d_Curve) -> bool: ... - def Projection(self) -> TopoDS_Shape: ... - def SetDefaultParams(self) -> None: ... - def SetLimit(self, FaceBoundaries: Optional[bool] = True) -> None: ... - def SetMaxDistance(self, MaxDist: float) -> None: ... - def SetParams(self, Tol3D: float, Tol2D: float, InternalContinuity: GeomAbs_Shape, MaxDegree: int, MaxSeg: int) -> None: ... - -class BRepAlgo_Tool: - @staticmethod - def Deboucle3D(S: TopoDS_Shape, Boundary: TopTools_MapOfShape) -> TopoDS_Shape: ... - -class BRepAlgo_Common(BRepAlgo_BooleanOperation): - def __init__(self, S1: TopoDS_Shape, S2: TopoDS_Shape) -> None: ... - -class BRepAlgo_Cut(BRepAlgo_BooleanOperation): - def __init__(self, S1: TopoDS_Shape, S2: TopoDS_Shape) -> None: ... - -class BRepAlgo_Fuse(BRepAlgo_BooleanOperation): - def __init__(self, S1: TopoDS_Shape, S2: TopoDS_Shape) -> None: ... - -class BRepAlgo_Section(BRepAlgo_BooleanOperation): - @overload - def __init__(self, Sh1: TopoDS_Shape, Sh2: TopoDS_Shape, PerformNow: Optional[bool] = True) -> None: ... - @overload - def __init__(self, Sh: TopoDS_Shape, Pl: gp_Pln, PerformNow: Optional[bool] = True) -> None: ... - @overload - def __init__(self, Sh: TopoDS_Shape, Sf: Geom_Surface, PerformNow: Optional[bool] = True) -> None: ... - @overload - def __init__(self, Sf: Geom_Surface, Sh: TopoDS_Shape, PerformNow: Optional[bool] = True) -> None: ... - @overload - def __init__(self, Sf1: Geom_Surface, Sf2: Geom_Surface, PerformNow: Optional[bool] = True) -> None: ... - def Approximation(self, B: bool) -> None: ... - def Build(self) -> None: ... - def ComputePCurveOn1(self, B: bool) -> None: ... - def ComputePCurveOn2(self, B: bool) -> None: ... - def HasAncestorFaceOn1(self, E: TopoDS_Shape, F: TopoDS_Shape) -> bool: ... - def HasAncestorFaceOn2(self, E: TopoDS_Shape, F: TopoDS_Shape) -> bool: ... - @overload - def Init1(self, S1: TopoDS_Shape) -> None: ... - @overload - def Init1(self, Pl: gp_Pln) -> None: ... - @overload - def Init1(self, Sf: Geom_Surface) -> None: ... - @overload - def Init2(self, S2: TopoDS_Shape) -> None: ... - @overload - def Init2(self, Pl: gp_Pln) -> None: ... - @overload - def Init2(self, Sf: Geom_Surface) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, S: TopoDS_Shape) -> None: ... + def Add(self, ToProj: TopoDS_Shape) -> None: ... + def Ancestor(self, E: TopoDS_Edge) -> TopoDS_Shape: ... + def Build(self) -> None: ... + def BuildWire(self, Liste: TopTools_ListOfShape) -> bool: ... + def Compute3d(self, With3d: Optional[bool] = True) -> None: ... + def Couple(self, E: TopoDS_Edge) -> TopoDS_Shape: ... + def Generated(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... + def Init(self, S: TopoDS_Shape) -> None: ... + def IsDone(self) -> bool: ... + def IsElementary(self, C: Adaptor3d_Curve) -> bool: ... + def Projection(self) -> TopoDS_Shape: ... + def SetDefaultParams(self) -> None: ... + def SetLimit(self, FaceBoundaries: Optional[bool] = True) -> None: ... + def SetMaxDistance(self, MaxDist: float) -> None: ... + def SetParams( + self, + Tol3D: float, + Tol2D: float, + InternalContinuity: GeomAbs_Shape, + MaxDegree: int, + MaxSeg: int, + ) -> None: ... # harray1 classes # harray2 classes # hsequence classes - -brepalgo_ConcatenateWire = brepalgo.ConcatenateWire -brepalgo_ConcatenateWireC0 = brepalgo.ConcatenateWireC0 -brepalgo_IsTopologicallyValid = brepalgo.IsTopologicallyValid -brepalgo_IsValid = brepalgo.IsValid -brepalgo_IsValid = brepalgo.IsValid -BRepAlgo_Tool_Deboucle3D = BRepAlgo_Tool.Deboucle3D diff --git a/src/SWIG_files/wrapper/BRepAlgoAPI.i b/src/SWIG_files/wrapper/BRepAlgoAPI.i index a0ae58f8f..b84a47ad6 100644 --- a/src/SWIG_files/wrapper/BRepAlgoAPI.i +++ b/src/SWIG_files/wrapper/BRepAlgoAPI.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPALGOAPIDOCSTRING "BRepAlgoAPI module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepalgoapi.html" +https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_brepalgoapi.html" %enddef %module (package="OCC.Core", docstring=BREPALGOAPIDOCSTRING) BRepAlgoAPI @@ -31,8 +31,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepalgoapi.html" %include ../common/CommonIncludes.i %include ../common/ExceptionCatcher.i %include ../common/FunctionTransformers.i +%include ../common/EnumTemplates.i %include ../common/Operators.i %include ../common/OccHandle.i +%include ../common/IOStream.i +%include ../common/ArrayMacros.i %{ @@ -43,6 +46,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepalgoapi.html" #include #include #include +#include #include #include #include @@ -67,6 +71,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepalgoapi.html" #include #include #include +#include #include #include #include @@ -76,6 +81,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepalgoapi.html" %import NCollection.i %import BOPAlgo.i %import TopoDS.i +%import Message.i %import BRepBuilderAPI.i %import TopTools.i %import BRepTools.i @@ -92,7 +98,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -111,129 +117,164 @@ from OCC.Core.Exception import * **************************/ class BRepAlgoAPI_Check : public BOPAlgo_Options { public: - /****************** BRepAlgoAPI_Check ******************/ - /**** md5 signature: 411402657614d45c8444ed8f583c4d89 ****/ + /****** BRepAlgoAPI_Check::BRepAlgoAPI_Check ******/ + /****** md5 signature: 411402657614d45c8444ed8f583c4d89 ******/ %feature("compactdefaultargs") BRepAlgoAPI_Check; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BRepAlgoAPI_Check; BRepAlgoAPI_Check(); - /****************** BRepAlgoAPI_Check ******************/ - /**** md5 signature: 0d046774211ccfb7a57473b281d4869c ****/ + /****** BRepAlgoAPI_Check::BRepAlgoAPI_Check ******/ + /****** md5 signature: 4c7f74c0b1475c6354942a65d5c7e394 ******/ %feature("compactdefaultargs") BRepAlgoAPI_Check; - %feature("autodoc", "Constructor for checking single shape. //! @param thes [in] - the shape to check; @param btestse [in] - flag which specifies whether to check the shape on small edges or not; by default it is set to true; @param btestsi [in] - flag which specifies whether to check the shape on self-interference or not; by default it is set to true;. - + %feature("autodoc", " Parameters ---------- theS: TopoDS_Shape -bTestSE: bool,optional - default value is Standard_True -bTestSI: bool,optional - default value is Standard_True +bTestSE: bool (optional, default to Standard_True) +bTestSI: bool (optional, default to Standard_True) +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- None + +Description +----------- +Constructor for checking single shape. //! +Input parameter: theS - the shape to check; +Input parameter: bTestSE - flag which specifies whether to check the shape on small edges or not; by default it is set to True; +Input parameter: bTestSI - flag which specifies whether to check the shape on self-interference or not; by default it is set to True; +Input parameter: theRange - parameter to use progress indicator. ") BRepAlgoAPI_Check; - BRepAlgoAPI_Check(const TopoDS_Shape & theS, const Standard_Boolean bTestSE = Standard_True, const Standard_Boolean bTestSI = Standard_True); + BRepAlgoAPI_Check(const TopoDS_Shape & theS, const Standard_Boolean bTestSE = Standard_True, const Standard_Boolean bTestSI = Standard_True, const Message_ProgressRange & theRange = Message_ProgressRange()); - /****************** BRepAlgoAPI_Check ******************/ - /**** md5 signature: 6068a5b505f5a3d60d502aaacd5e7d72 ****/ + /****** BRepAlgoAPI_Check::BRepAlgoAPI_Check ******/ + /****** md5 signature: 6d8665f00fc74c35f58fdcae0bcdc4ea ******/ %feature("compactdefaultargs") BRepAlgoAPI_Check; - %feature("autodoc", "Constructor for checking the couple of shapes. additionally to the validity checks of each given shape, the types of the given shapes will be checked on validity for boolean operation of given type. //! @param thes1 [in] - the first shape to check; @param thes2 [in] - the second shape to check; @param theop [in] - the type of boolean operation for which the validity of given shapes should be checked. @param btestse [in] - flag which specifies whether to check the shape on small edges or not; by default it is set to true; @param btestsi [in] - flag which specifies whether to check the shape on self-interference or not; by default it is set to true;. - + %feature("autodoc", " Parameters ---------- theS1: TopoDS_Shape theS2: TopoDS_Shape -theOp: BOPAlgo_Operation,optional - default value is BOPAlgo_UNKNOWN -bTestSE: bool,optional - default value is Standard_True -bTestSI: bool,optional - default value is Standard_True +theOp: BOPAlgo_Operation (optional, default to BOPAlgo_UNKNOWN) +bTestSE: bool (optional, default to Standard_True) +bTestSI: bool (optional, default to Standard_True) +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- None + +Description +----------- +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. //! +Input parameter: theS1 - the first shape to check; +Input parameter: theS2 - the second shape to check; +Input parameter: theOp - the type of Boolean Operation for which the validity of given shapes should be checked. +Input parameter: bTestSE - flag which specifies whether to check the shape on small edges or not; by default it is set to True; +Input parameter: bTestSI - flag which specifies whether to check the shape on self-interference or not; by default it is set to True; +Input parameter: theRange - parameter to use progress indicator. ") BRepAlgoAPI_Check; - BRepAlgoAPI_Check(const TopoDS_Shape & theS1, const TopoDS_Shape & theS2, const BOPAlgo_Operation theOp = BOPAlgo_UNKNOWN, const Standard_Boolean bTestSE = Standard_True, const Standard_Boolean bTestSI = Standard_True); + BRepAlgoAPI_Check(const TopoDS_Shape & theS1, const TopoDS_Shape & theS2, const BOPAlgo_Operation theOp = BOPAlgo_UNKNOWN, const Standard_Boolean bTestSE = Standard_True, const Standard_Boolean bTestSI = Standard_True, const Message_ProgressRange & theRange = Message_ProgressRange()); - /****************** IsValid ******************/ - /**** md5 signature: c1993b3b31d320b598a9a9b27c56914e ****/ + /****** BRepAlgoAPI_Check::IsValid ******/ + /****** md5 signature: c1993b3b31d320b598a9a9b27c56914e ******/ %feature("compactdefaultargs") IsValid; - %feature("autodoc", "Shows whether shape(s) valid or not. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Shows whether shape(s) valid or not. ") IsValid; Standard_Boolean IsValid(); - /****************** Perform ******************/ - /**** md5 signature: c04b01412cba7220c024b5eb4532697f ****/ + /****** BRepAlgoAPI_Check::Perform ******/ + /****** md5 signature: 237808a6b51056c9f8e292d343f26d7d ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Performs the check. + %feature("autodoc", " +Parameters +---------- +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- None + +Description +----------- +Performs the check. ") Perform; - void Perform(); + void Perform(const Message_ProgressRange & theRange = Message_ProgressRange()); - /****************** Result ******************/ - /**** md5 signature: 7cf3309b46dab6da497e78cfc1a9af75 ****/ + /****** BRepAlgoAPI_Check::Result ******/ + /****** md5 signature: 7cf3309b46dab6da497e78cfc1a9af75 ******/ %feature("compactdefaultargs") Result; - %feature("autodoc", "Returns faulty shapes. - -Returns + %feature("autodoc", "Return ------- BOPAlgo_ListOfCheckResult + +Description +----------- +Returns faulty shapes. ") Result; const BOPAlgo_ListOfCheckResult & Result(); - /****************** SetData ******************/ - /**** md5 signature: c1fd665a073df98354476ae857f43c48 ****/ + /****** BRepAlgoAPI_Check::SetData ******/ + /****** md5 signature: c1fd665a073df98354476ae857f43c48 ******/ %feature("compactdefaultargs") SetData; - %feature("autodoc", "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;. - + %feature("autodoc", " Parameters ---------- theS: TopoDS_Shape -bTestSE: bool,optional - default value is Standard_True -bTestSI: bool,optional - default value is Standard_True +bTestSE: bool (optional, default to Standard_True) +bTestSI: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +Initializes the algorithm with single shape. //! +Input parameter: theS - the shape to check; +Input parameter: bTestSE - flag which specifies whether to check the shape on small edges or not; by default it is set to True; +Input parameter: bTestSI - flag which specifies whether to check the shape on self-interference or not; by default it is set to True;. ") SetData; void SetData(const TopoDS_Shape & theS, const Standard_Boolean bTestSE = Standard_True, const Standard_Boolean bTestSI = Standard_True); - /****************** SetData ******************/ - /**** md5 signature: 80850e26186481dcc7772de06de5db11 ****/ + /****** BRepAlgoAPI_Check::SetData ******/ + /****** md5 signature: 80850e26186481dcc7772de06de5db11 ******/ %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;. - + %feature("autodoc", " Parameters ---------- theS1: TopoDS_Shape theS2: TopoDS_Shape -theOp: BOPAlgo_Operation,optional - default value is BOPAlgo_UNKNOWN -bTestSE: bool,optional - default value is Standard_True -bTestSI: bool,optional - default value is Standard_True +theOp: BOPAlgo_Operation (optional, default to BOPAlgo_UNKNOWN) +bTestSE: bool (optional, default to Standard_True) +bTestSI: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +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. //! +Input parameter: theS1 - the first shape to check; +Input parameter: theS2 - the second shape to check; +Input parameter: theOp - the type of Boolean Operation for which the validity of given shapes should be checked. +Input parameter: bTestSE - flag which specifies whether to check the shape on small edges or not; by default it is set to True; +Input parameter: bTestSI - flag which specifies whether to check the shape on self-interference or not; by default it is set to True;. ") 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); @@ -253,14 +294,16 @@ None %ignore BRepAlgoAPI_Algo::~BRepAlgoAPI_Algo(); class BRepAlgoAPI_Algo : public BRepBuilderAPI_MakeShape, protected BOPAlgo_Options { public: - /****************** Shape ******************/ - /**** md5 signature: b8642bc5a50083ee24c608b46f5bf1c8 ****/ + /****** BRepAlgoAPI_Algo::Shape ******/ + /****** md5 signature: b8642bc5a50083ee24c608b46f5bf1c8 ******/ %feature("compactdefaultargs") Shape; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +Returns a shape built by the shape construction algorithm. Does not check if the shape is built. ") Shape; virtual const TopoDS_Shape Shape(); @@ -278,312 +321,375 @@ TopoDS_Shape ********************************/ class BRepAlgoAPI_BuilderAlgo : public BRepAlgoAPI_Algo { public: - /****************** BRepAlgoAPI_BuilderAlgo ******************/ - /**** md5 signature: f034b0ea83263b0b12a5034e2ab03c28 ****/ + /****** BRepAlgoAPI_BuilderAlgo::BRepAlgoAPI_BuilderAlgo ******/ + /****** md5 signature: f034b0ea83263b0b12a5034e2ab03c28 ******/ %feature("compactdefaultargs") BRepAlgoAPI_BuilderAlgo; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BRepAlgoAPI_BuilderAlgo; BRepAlgoAPI_BuilderAlgo(); - /****************** BRepAlgoAPI_BuilderAlgo ******************/ - /**** md5 signature: 87f0646930c224a38e316c8395128e53 ****/ + /****** BRepAlgoAPI_BuilderAlgo::BRepAlgoAPI_BuilderAlgo ******/ + /****** md5 signature: 87f0646930c224a38e316c8395128e53 ******/ %feature("compactdefaultargs") BRepAlgoAPI_BuilderAlgo; - %feature("autodoc", "Constructor with prepared filler object. - + %feature("autodoc", " Parameters ---------- thePF: BOPAlgo_PaveFiller -Returns +Return ------- None + +Description +----------- +Constructor with prepared Filler object. ") BRepAlgoAPI_BuilderAlgo; BRepAlgoAPI_BuilderAlgo(const BOPAlgo_PaveFiller & thePF); - /****************** Arguments ******************/ - /**** md5 signature: 5c44416d889811943ccde89673d3c270 ****/ + /****** BRepAlgoAPI_BuilderAlgo::Arguments ******/ + /****** md5 signature: 5c44416d889811943ccde89673d3c270 ******/ %feature("compactdefaultargs") Arguments; - %feature("autodoc", "Gets the arguments. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +Gets the arguments. ") Arguments; const TopTools_ListOfShape & Arguments(); - /****************** Build ******************/ - /**** md5 signature: 5ad4569f96377eec0c61c7f10d7c7aa9 ****/ + /****** BRepAlgoAPI_BuilderAlgo::Build ******/ + /****** md5 signature: 58900897d55d51e349b2e40a091ec26f ******/ %feature("compactdefaultargs") Build; - %feature("autodoc", "Performs the algorithm. + %feature("autodoc", " +Parameters +---------- +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- None + +Description +----------- +Performs the algorithm. ") Build; - virtual void Build(); + virtual void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); - /****************** Builder ******************/ - /**** md5 signature: 8b185d6cf1a66c51174428861a33b6c7 ****/ + /****** BRepAlgoAPI_BuilderAlgo::Builder ******/ + /****** md5 signature: 8b185d6cf1a66c51174428861a33b6c7 ******/ %feature("compactdefaultargs") Builder; - %feature("autodoc", "Returns the building tool. - -Returns + %feature("autodoc", "Return ------- BOPAlgo_PBuilder + +Description +----------- +Returns the Building tool. ") Builder; const BOPAlgo_PBuilder & Builder(); - /****************** CheckInverted ******************/ - /**** md5 signature: ce3c18df15bc3282101b99ee82f78b47 ****/ + /****** BRepAlgoAPI_BuilderAlgo::CheckInverted ******/ + /****** md5 signature: ce3c18df15bc3282101b99ee82f78b47 ******/ %feature("compactdefaultargs") CheckInverted; - %feature("autodoc", "Returns the flag defining whether the check for input solids on inverted status should be performed or not. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns the flag defining whether the check for input solids on inverted status should be performed or not. ") CheckInverted; Standard_Boolean CheckInverted(); - /****************** DSFiller ******************/ - /**** md5 signature: eacda80fa3f8437b06bd46026236195a ****/ + /****** BRepAlgoAPI_BuilderAlgo::DSFiller ******/ + /****** md5 signature: eacda80fa3f8437b06bd46026236195a ******/ %feature("compactdefaultargs") DSFiller; - %feature("autodoc", "Returns the intersection tool. - -Returns + %feature("autodoc", "Return ------- BOPAlgo_PPaveFiller + +Description +----------- +Returns the Intersection tool. ") DSFiller; const BOPAlgo_PPaveFiller & DSFiller(); - /****************** Generated ******************/ - /**** md5 signature: 6765eaeea6b04c9e5e12d95bf0d36ae9 ****/ + /****** BRepAlgoAPI_BuilderAlgo::Generated ******/ + /****** md5 signature: 6765eaeea6b04c9e5e12d95bf0d36ae9 ******/ %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. - + %feature("autodoc", " Parameters ---------- theS: TopoDS_Shape -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +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. ") Generated; virtual const TopTools_ListOfShape & Generated(const TopoDS_Shape & theS); - /****************** Glue ******************/ - /**** md5 signature: 2a0ac34b43f154dd0238ac1408d9079b ****/ + /****** BRepAlgoAPI_BuilderAlgo::Glue ******/ + /****** md5 signature: 2a0ac34b43f154dd0238ac1408d9079b ******/ %feature("compactdefaultargs") Glue; - %feature("autodoc", "Returns the glue option of the algorithm. - -Returns + %feature("autodoc", "Return ------- BOPAlgo_GlueEnum + +Description +----------- +Returns the glue option of the algorithm. ") Glue; BOPAlgo_GlueEnum Glue(); - /****************** HasDeleted ******************/ - /**** md5 signature: 62e1a47bba6730979f45045197c457ad ****/ + /****** BRepAlgoAPI_BuilderAlgo::HasDeleted ******/ + /****** md5 signature: 62e1a47bba6730979f45045197c457ad ******/ %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. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +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. ") HasDeleted; virtual Standard_Boolean HasDeleted(); - /****************** HasGenerated ******************/ - /**** md5 signature: 41e62931be9792b7588a37969bdd21d8 ****/ + /****** BRepAlgoAPI_BuilderAlgo::HasGenerated ******/ + /****** md5 signature: 41e62931be9792b7588a37969bdd21d8 ******/ %feature("compactdefaultargs") HasGenerated; - %feature("autodoc", "Returns true if any of the input shapes has generated shapes during operation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns true if any of the input shapes has generated shapes during operation. ") HasGenerated; virtual Standard_Boolean HasGenerated(); - /****************** HasHistory ******************/ - /**** md5 signature: 707ba290c9cd0157e12b7038a0944657 ****/ + /****** BRepAlgoAPI_BuilderAlgo::HasHistory ******/ + /****** md5 signature: 707ba290c9cd0157e12b7038a0944657 ******/ %feature("compactdefaultargs") HasHistory; - %feature("autodoc", "Returns flag of history availability. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns flag of history availability. ") HasHistory; Standard_Boolean HasHistory(); - /****************** HasModified ******************/ - /**** md5 signature: 33dead3a6879f4d3e05d3f85aabe6d13 ****/ + /****** BRepAlgoAPI_BuilderAlgo::HasModified ******/ + /****** md5 signature: 33dead3a6879f4d3e05d3f85aabe6d13 ******/ %feature("compactdefaultargs") HasModified; - %feature("autodoc", "Returns true if any of the input shapes has been modified during operation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns true if any of the input shapes has been modified during operation. ") HasModified; virtual Standard_Boolean HasModified(); - /****************** History ******************/ - /**** md5 signature: a47770f1ee9d6f229a149d416a698dc5 ****/ + /****** BRepAlgoAPI_BuilderAlgo::History ******/ + /****** md5 signature: a47770f1ee9d6f229a149d416a698dc5 ******/ %feature("compactdefaultargs") History; - %feature("autodoc", "History tool. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +History tool. ") History; opencascade::handle History(); - /****************** IsDeleted ******************/ - /**** md5 signature: 431a14f43afb5fe71090f69dcb3e4037 ****/ + /****** BRepAlgoAPI_BuilderAlgo::IsDeleted ******/ + /****** md5 signature: 431a14f43afb5fe71090f69dcb3e4037 ******/ %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. - + %feature("autodoc", " Parameters ---------- aS: TopoDS_Shape -Returns +Return ------- bool + +Description +----------- +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. ") IsDeleted; virtual Standard_Boolean IsDeleted(const TopoDS_Shape & aS); - /****************** Modified ******************/ - /**** md5 signature: 4e20601bbc1c3aead85ab39355caf9fd ****/ + /****** BRepAlgoAPI_BuilderAlgo::Modified ******/ + /****** md5 signature: 4e20601bbc1c3aead85ab39355caf9fd ******/ %feature("compactdefaultargs") Modified; - %feature("autodoc", "Returns the shapes modified from the shape . if any, the list will contain only those splits of the given shape, contained in the result. - + %feature("autodoc", " Parameters ---------- theS: TopoDS_Shape -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Returns the shapes modified from the shape . If any, the list will contain only those splits of the given shape, contained in the result. ") Modified; virtual const TopTools_ListOfShape & Modified(const TopoDS_Shape & theS); - /****************** NonDestructive ******************/ - /**** md5 signature: debf4165891df54bd9a565d235f0d378 ****/ + /****** BRepAlgoAPI_BuilderAlgo::NonDestructive ******/ + /****** md5 signature: debf4165891df54bd9a565d235f0d378 ******/ %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. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +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. ") NonDestructive; Standard_Boolean NonDestructive(); - /****************** SectionEdges ******************/ - /**** md5 signature: 8d1d78adb60588ec6c6d9bac5ddb95cb ****/ + /****** BRepAlgoAPI_BuilderAlgo::SectionEdges ******/ + /****** md5 signature: 8d1d78adb60588ec6c6d9bac5ddb95cb ******/ %feature("compactdefaultargs") SectionEdges; - %feature("autodoc", "Returns a list of section edges. the edges represent the result of intersection between arguments of operation. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +Returns a list of section edges. The edges represent the result of intersection between arguments of operation. ") SectionEdges; const TopTools_ListOfShape & SectionEdges(); - /****************** SetArguments ******************/ - /**** md5 signature: c8050caf960534f7d5c8a2cd210eb861 ****/ + /****** BRepAlgoAPI_BuilderAlgo::SetArguments ******/ + /****** md5 signature: c8050caf960534f7d5c8a2cd210eb861 ******/ %feature("compactdefaultargs") SetArguments; - %feature("autodoc", "Sets the arguments. - + %feature("autodoc", " Parameters ---------- theLS: TopTools_ListOfShape -Returns +Return ------- None + +Description +----------- +Sets the arguments. ") SetArguments; void SetArguments(const TopTools_ListOfShape & theLS); - /****************** SetCheckInverted ******************/ - /**** md5 signature: 9645001f4ab756df382f60cfc76654bc ****/ + /****** BRepAlgoAPI_BuilderAlgo::SetCheckInverted ******/ + /****** md5 signature: 9645001f4ab756df382f60cfc76654bc ******/ %feature("compactdefaultargs") SetCheckInverted; - %feature("autodoc", "Enables/disables the check of the input solids for inverted status. - + %feature("autodoc", " Parameters ---------- theCheck: bool -Returns +Return ------- None + +Description +----------- +Enables/Disables the check of the input solids for inverted status. ") SetCheckInverted; void SetCheckInverted(const Standard_Boolean theCheck); - /****************** SetGlue ******************/ - /**** md5 signature: bae09c43d6b988a5d7d19b6376a5aa05 ****/ + /****** BRepAlgoAPI_BuilderAlgo::SetGlue ******/ + /****** md5 signature: bae09c43d6b988a5d7d19b6376a5aa05 ******/ %feature("compactdefaultargs") SetGlue; - %feature("autodoc", "Sets the glue option for the algorithm, which allows increasing performance of the intersection of the input shapes. - + %feature("autodoc", " Parameters ---------- theGlue: BOPAlgo_GlueEnum -Returns +Return ------- None + +Description +----------- +Sets the glue option for the algorithm, which allows increasing performance of the intersection of the input shapes. ") SetGlue; void SetGlue(const BOPAlgo_GlueEnum theGlue); - /****************** SetNonDestructive ******************/ - /**** md5 signature: 0a29c6536a8337536ce71b892337fbbb ****/ + /****** BRepAlgoAPI_BuilderAlgo::SetNonDestructive ******/ + /****** md5 signature: 0a29c6536a8337536ce71b892337fbbb ******/ %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. - + %feature("autodoc", " Parameters ---------- theFlag: bool -Returns +Return ------- None + +Description +----------- +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. ") SetNonDestructive; void SetNonDestructive(const Standard_Boolean theFlag); - /****************** SetToFillHistory ******************/ - /**** md5 signature: 0645816549ab38af8118c8f63f46c0ea ****/ + /****** BRepAlgoAPI_BuilderAlgo::SetToFillHistory ******/ + /****** md5 signature: 0645816549ab38af8118c8f63f46c0ea ******/ %feature("compactdefaultargs") SetToFillHistory; - %feature("autodoc", "Allows disabling the history collection. - + %feature("autodoc", " Parameters ---------- theHistFlag: bool -Returns +Return ------- None + +Description +----------- +Allows disabling the history collection. ") SetToFillHistory; void SetToFillHistory(const Standard_Boolean theHistFlag); - /****************** SimplifyResult ******************/ - /**** md5 signature: 88e0cdcd55300620756ca014f3c6371d ****/ + /****** BRepAlgoAPI_BuilderAlgo::SimplifyResult ******/ + /****** md5 signature: 88e0cdcd55300620756ca014f3c6371d ******/ %feature("compactdefaultargs") SimplifyResult; - %feature("autodoc", "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. - + %feature("autodoc", " Parameters ---------- -theUnifyEdges: bool,optional - default value is Standard_True -theUnifyFaces: bool,optional - default value is Standard_True -theAngularTol: float,optional - default value is Precision::Angular() +theUnifyEdges: bool (optional, default to Standard_True) +theUnifyFaces: bool (optional, default to Standard_True) +theAngularTol: float (optional, default to Precision::Angular()) -Returns +Return ------- None + +Description +----------- +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. //! +Parameter theUnifyEdges Controls the edges unification. True by default. +Parameter theUnifyFaces Controls the faces unification. True by default. +Parameter theAngularTol Angular criteria for tangency of edges and faces. Precision::Angular() by default. ") SimplifyResult; void SimplifyResult(const Standard_Boolean theUnifyEdges = Standard_True, const Standard_Boolean theUnifyFaces = Standard_True, const Standard_Real theAngularTol = Precision::Angular()); @@ -601,207 +707,254 @@ None ********************************/ class BRepAlgoAPI_Defeaturing : public BRepAlgoAPI_Algo { public: - /****************** BRepAlgoAPI_Defeaturing ******************/ - /**** md5 signature: c00608d9bba8810c82a05b46e3e4f871 ****/ + /****** BRepAlgoAPI_Defeaturing::BRepAlgoAPI_Defeaturing ******/ + /****** md5 signature: c00608d9bba8810c82a05b46e3e4f871 ******/ %feature("compactdefaultargs") BRepAlgoAPI_Defeaturing; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BRepAlgoAPI_Defeaturing; BRepAlgoAPI_Defeaturing(); - /****************** AddFaceToRemove ******************/ - /**** md5 signature: 26c9409a587f43491552f28dbeb97ed4 ****/ + /****** BRepAlgoAPI_Defeaturing::AddFaceToRemove ******/ + /****** md5 signature: 26c9409a587f43491552f28dbeb97ed4 ******/ %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. - + %feature("autodoc", " Parameters ---------- theFace: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Adds the features to remove from the input shape. +Input parameter: theFace The shape to extract the faces for removal. ") AddFaceToRemove; void AddFaceToRemove(const TopoDS_Shape & theFace); - /****************** AddFacesToRemove ******************/ - /**** md5 signature: de6da71dc89a49bec36f3c8a28a2c6dd ****/ + /****** BRepAlgoAPI_Defeaturing::AddFacesToRemove ******/ + /****** md5 signature: de6da71dc89a49bec36f3c8a28a2c6dd ******/ %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. - + %feature("autodoc", " Parameters ---------- theFaces: TopTools_ListOfShape -Returns +Return ------- None + +Description +----------- +Adds the faces to remove from the input shape. +Input parameter: theFaces The list of shapes to extract the faces for removal. ") AddFacesToRemove; void AddFacesToRemove(const TopTools_ListOfShape & theFaces); - /****************** Build ******************/ - /**** md5 signature: 5ad4569f96377eec0c61c7f10d7c7aa9 ****/ + /****** BRepAlgoAPI_Defeaturing::Build ******/ + /****** md5 signature: 58900897d55d51e349b2e40a091ec26f ******/ %feature("compactdefaultargs") Build; - %feature("autodoc", "Performs the operation. + %feature("autodoc", " +Parameters +---------- +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- None + +Description +----------- +Performs the operation. ") Build; - virtual void Build(); + virtual void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); - /****************** FacesToRemove ******************/ - /**** md5 signature: 947971dfb74df8135dc7f7ce60eaaa90 ****/ + /****** BRepAlgoAPI_Defeaturing::FacesToRemove ******/ + /****** md5 signature: 947971dfb74df8135dc7f7ce60eaaa90 ******/ %feature("compactdefaultargs") FacesToRemove; - %feature("autodoc", "Returns the list of faces which have been requested for removal from the input shape. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +Returns the list of faces which have been requested for removal from the input shape. ") FacesToRemove; const TopTools_ListOfShape & FacesToRemove(); - /****************** Generated ******************/ - /**** md5 signature: 6765eaeea6b04c9e5e12d95bf0d36ae9 ****/ + /****** BRepAlgoAPI_Defeaturing::Generated ******/ + /****** md5 signature: 6765eaeea6b04c9e5e12d95bf0d36ae9 ******/ %feature("compactdefaultargs") Generated; - %feature("autodoc", "Returns the list of shapes generated from the shape during the operation. - + %feature("autodoc", " Parameters ---------- theS: TopoDS_Shape -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Returns the list of shapes generated from the shape during the operation. ") Generated; virtual const TopTools_ListOfShape & Generated(const TopoDS_Shape & theS); - /****************** HasDeleted ******************/ - /**** md5 signature: 62e1a47bba6730979f45045197c457ad ****/ + /****** BRepAlgoAPI_Defeaturing::HasDeleted ******/ + /****** md5 signature: 62e1a47bba6730979f45045197c457ad ******/ %feature("compactdefaultargs") HasDeleted; - %feature("autodoc", "Returns true if any of the input shapes has been deleted during operation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns true if any of the input shapes has been deleted during operation. ") HasDeleted; virtual Standard_Boolean HasDeleted(); - /****************** HasGenerated ******************/ - /**** md5 signature: 41e62931be9792b7588a37969bdd21d8 ****/ + /****** BRepAlgoAPI_Defeaturing::HasGenerated ******/ + /****** md5 signature: 41e62931be9792b7588a37969bdd21d8 ******/ %feature("compactdefaultargs") HasGenerated; - %feature("autodoc", "Returns true if any of the input shapes has generated shapes during operation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns true if any of the input shapes has generated shapes during operation. ") HasGenerated; virtual Standard_Boolean HasGenerated(); - /****************** HasHistory ******************/ - /**** md5 signature: 707ba290c9cd0157e12b7038a0944657 ****/ + /****** BRepAlgoAPI_Defeaturing::HasHistory ******/ + /****** md5 signature: 707ba290c9cd0157e12b7038a0944657 ******/ %feature("compactdefaultargs") HasHistory; - %feature("autodoc", "Returns whether the history was requested or not. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns whether the history was requested or not. ") HasHistory; Standard_Boolean HasHistory(); - /****************** HasModified ******************/ - /**** md5 signature: 33dead3a6879f4d3e05d3f85aabe6d13 ****/ + /****** BRepAlgoAPI_Defeaturing::HasModified ******/ + /****** md5 signature: 33dead3a6879f4d3e05d3f85aabe6d13 ******/ %feature("compactdefaultargs") HasModified; - %feature("autodoc", "Returns true if any of the input shapes has been modified during operation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns true if any of the input shapes has been modified during operation. ") HasModified; virtual Standard_Boolean HasModified(); - /****************** History ******************/ - /**** md5 signature: 1926fba5b3ef6c8825eef7dc63e4c382 ****/ + /****** BRepAlgoAPI_Defeaturing::History ******/ + /****** md5 signature: 1926fba5b3ef6c8825eef7dc63e4c382 ******/ %feature("compactdefaultargs") History; - %feature("autodoc", "Returns the history of shapes modifications. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns the History of shapes modifications. ") History; opencascade::handle History(); - /****************** InputShape ******************/ - /**** md5 signature: c0c04276bd1d5989adf5070d423aadb7 ****/ + /****** BRepAlgoAPI_Defeaturing::InputShape ******/ + /****** md5 signature: c0c04276bd1d5989adf5070d423aadb7 ******/ %feature("compactdefaultargs") InputShape; - %feature("autodoc", "Returns the input shape. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +Returns the input shape. ") InputShape; const TopoDS_Shape InputShape(); - /****************** IsDeleted ******************/ - /**** md5 signature: e03e7b54c17bc7f23491a2c633b6e283 ****/ + /****** BRepAlgoAPI_Defeaturing::IsDeleted ******/ + /****** md5 signature: e03e7b54c17bc7f23491a2c633b6e283 ******/ %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. - + %feature("autodoc", " Parameters ---------- theS: TopoDS_Shape -Returns +Return ------- bool + +Description +----------- +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. ") IsDeleted; virtual Standard_Boolean IsDeleted(const TopoDS_Shape & theS); - /****************** Modified ******************/ - /**** md5 signature: 4e20601bbc1c3aead85ab39355caf9fd ****/ + /****** BRepAlgoAPI_Defeaturing::Modified ******/ + /****** md5 signature: 4e20601bbc1c3aead85ab39355caf9fd ******/ %feature("compactdefaultargs") Modified; - %feature("autodoc", "Returns the list of shapes modified from the shape during the operation. - + %feature("autodoc", " Parameters ---------- theS: TopoDS_Shape -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Returns the list of shapes modified from the shape during the operation. ") Modified; virtual const TopTools_ListOfShape & Modified(const TopoDS_Shape & theS); - /****************** SetShape ******************/ - /**** md5 signature: 927e2ebe2fb5354dfb3da3c53e512cad ****/ + /****** BRepAlgoAPI_Defeaturing::SetShape ******/ + /****** md5 signature: 927e2ebe2fb5354dfb3da3c53e512cad ******/ %feature("compactdefaultargs") SetShape; - %feature("autodoc", "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. - + %feature("autodoc", " Parameters ---------- theShape: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Sets the shape for processing. +Input parameter: theShape The shape to remove the features from. It should either be the SOLID, COMPSOLID or COMPOUND of Solids. ") SetShape; void SetShape(const TopoDS_Shape & theShape); - /****************** SetToFillHistory ******************/ - /**** md5 signature: 74ee5996560ad06ab737a4c8f4c7350d ****/ + /****** BRepAlgoAPI_Defeaturing::SetToFillHistory ******/ + /****** md5 signature: 74ee5996560ad06ab737a4c8f4c7350d ******/ %feature("compactdefaultargs") SetToFillHistory; - %feature("autodoc", "Defines whether to track the modification of the shapes or not. - + %feature("autodoc", " Parameters ---------- theFlag: bool -Returns +Return ------- None + +Description +----------- +Defines whether to track the modification of the shapes or not. ") SetToFillHistory; void SetToFillHistory(const Standard_Boolean theFlag); @@ -819,114 +972,140 @@ None *************************************/ class BRepAlgoAPI_BooleanOperation : public BRepAlgoAPI_BuilderAlgo { public: - /****************** BRepAlgoAPI_BooleanOperation ******************/ - /**** md5 signature: ecd6042de04813653a64f217d81e1a57 ****/ + /****** BRepAlgoAPI_BooleanOperation::BRepAlgoAPI_BooleanOperation ******/ + /****** md5 signature: ecd6042de04813653a64f217d81e1a57 ******/ %feature("compactdefaultargs") BRepAlgoAPI_BooleanOperation; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BRepAlgoAPI_BooleanOperation; BRepAlgoAPI_BooleanOperation(); - /****************** BRepAlgoAPI_BooleanOperation ******************/ - /**** md5 signature: 911dfe6e6653bd69280d3f5c21f112f5 ****/ + /****** BRepAlgoAPI_BooleanOperation::BRepAlgoAPI_BooleanOperation ******/ + /****** md5 signature: 911dfe6e6653bd69280d3f5c21f112f5 ******/ %feature("compactdefaultargs") BRepAlgoAPI_BooleanOperation; - %feature("autodoc", "Constructor with precomputed intersections of arguments. - + %feature("autodoc", " Parameters ---------- thePF: BOPAlgo_PaveFiller -Returns +Return ------- None + +Description +----------- +Constructor with precomputed intersections of arguments. ") BRepAlgoAPI_BooleanOperation; BRepAlgoAPI_BooleanOperation(const BOPAlgo_PaveFiller & thePF); - /****************** Build ******************/ - /**** md5 signature: 5ad4569f96377eec0c61c7f10d7c7aa9 ****/ + /****** BRepAlgoAPI_BooleanOperation::Build ******/ + /****** md5 signature: 58900897d55d51e349b2e40a091ec26f ******/ %feature("compactdefaultargs") Build; - %feature("autodoc", "Performs the boolean operation. + %feature("autodoc", " +Parameters +---------- +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- None + +Description +----------- +Performs the Boolean operation. ") Build; - virtual void Build(); + virtual void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); - /****************** Operation ******************/ - /**** md5 signature: 3fe7ad033306b813a524bc39f03a5e6e ****/ + /****** BRepAlgoAPI_BooleanOperation::Operation ******/ + /****** md5 signature: 3fe7ad033306b813a524bc39f03a5e6e ******/ %feature("compactdefaultargs") Operation; - %feature("autodoc", "Returns the type of boolean operation. - -Returns + %feature("autodoc", "Return ------- BOPAlgo_Operation + +Description +----------- +Returns the type of Boolean Operation. ") Operation; BOPAlgo_Operation Operation(); - /****************** SetOperation ******************/ - /**** md5 signature: cef1e63b0452d16e7996e89724a77c38 ****/ + /****** BRepAlgoAPI_BooleanOperation::SetOperation ******/ + /****** md5 signature: cef1e63b0452d16e7996e89724a77c38 ******/ %feature("compactdefaultargs") SetOperation; - %feature("autodoc", "Sets the type of boolean operation. - + %feature("autodoc", " Parameters ---------- theBOP: BOPAlgo_Operation -Returns +Return ------- None + +Description +----------- +Sets the type of Boolean operation. ") SetOperation; void SetOperation(const BOPAlgo_Operation theBOP); - /****************** SetTools ******************/ - /**** md5 signature: 3be2cbb7f8439cb12462b3704230f424 ****/ + /****** BRepAlgoAPI_BooleanOperation::SetTools ******/ + /****** md5 signature: 3be2cbb7f8439cb12462b3704230f424 ******/ %feature("compactdefaultargs") SetTools; - %feature("autodoc", "Sets the tool arguments. - + %feature("autodoc", " Parameters ---------- theLS: TopTools_ListOfShape -Returns +Return ------- None + +Description +----------- +Sets the Tool arguments. ") SetTools; void SetTools(const TopTools_ListOfShape & theLS); - /****************** Shape1 ******************/ - /**** md5 signature: 8981b86985f46147f6d78d0ef2565c6e ****/ + /****** BRepAlgoAPI_BooleanOperation::Shape1 ******/ + /****** md5 signature: 8981b86985f46147f6d78d0ef2565c6e ******/ %feature("compactdefaultargs") Shape1; - %feature("autodoc", "Returns the first argument involved in this boolean operation. obsolete. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +Returns the first argument involved in this Boolean operation. Obsolete. ") Shape1; const TopoDS_Shape Shape1(); - /****************** Shape2 ******************/ - /**** md5 signature: 2c54bae91519136523ed62dc1f27ae72 ****/ + /****** BRepAlgoAPI_BooleanOperation::Shape2 ******/ + /****** md5 signature: 2c54bae91519136523ed62dc1f27ae72 ******/ %feature("compactdefaultargs") Shape2; - %feature("autodoc", "Returns the second argument involved in this boolean operation. obsolete. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +Returns the second argument involved in this Boolean operation. Obsolete. ") Shape2; const TopoDS_Shape Shape2(); - /****************** Tools ******************/ - /**** md5 signature: 0471973aac274d4f863776957a65fd19 ****/ + /****** BRepAlgoAPI_BooleanOperation::Tools ******/ + /****** md5 signature: 0471973aac274d4f863776957a65fd19 ******/ %feature("compactdefaultargs") Tools; - %feature("autodoc", "Returns the tools arguments. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +Returns the Tools arguments. ") Tools; const TopTools_ListOfShape & Tools(); @@ -944,66 +1123,83 @@ TopTools_ListOfShape *****************************/ class BRepAlgoAPI_Splitter : public BRepAlgoAPI_BuilderAlgo { public: - /****************** BRepAlgoAPI_Splitter ******************/ - /**** md5 signature: 9ef21f13bc074dc22af2512d12d68538 ****/ + /****** BRepAlgoAPI_Splitter::BRepAlgoAPI_Splitter ******/ + /****** md5 signature: 9ef21f13bc074dc22af2512d12d68538 ******/ %feature("compactdefaultargs") BRepAlgoAPI_Splitter; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BRepAlgoAPI_Splitter; BRepAlgoAPI_Splitter(); - /****************** BRepAlgoAPI_Splitter ******************/ - /**** md5 signature: 7e6131d308f84171e35c6eadd0d40875 ****/ + /****** BRepAlgoAPI_Splitter::BRepAlgoAPI_Splitter ******/ + /****** md5 signature: 7e6131d308f84171e35c6eadd0d40875 ******/ %feature("compactdefaultargs") BRepAlgoAPI_Splitter; - %feature("autodoc", "Constructor with already prepared intersection tool - pavefiller. - + %feature("autodoc", " Parameters ---------- thePF: BOPAlgo_PaveFiller -Returns +Return ------- None + +Description +----------- +Constructor with already prepared intersection tool - PaveFiller. ") BRepAlgoAPI_Splitter; BRepAlgoAPI_Splitter(const BOPAlgo_PaveFiller & thePF); - /****************** Build ******************/ - /**** md5 signature: 5ad4569f96377eec0c61c7f10d7c7aa9 ****/ + /****** BRepAlgoAPI_Splitter::Build ******/ + /****** md5 signature: 58900897d55d51e349b2e40a091ec26f ******/ %feature("compactdefaultargs") Build; - %feature("autodoc", "Performs the split operation. performs the intersection of the argument shapes (both objects and tools) and splits objects by the tools. + %feature("autodoc", " +Parameters +---------- +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- None + +Description +----------- +Performs the Split operation. Performs the intersection of the argument shapes (both objects and tools) and splits objects by the tools. ") Build; - virtual void Build(); + virtual void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); - /****************** SetTools ******************/ - /**** md5 signature: 3be2cbb7f8439cb12462b3704230f424 ****/ + /****** BRepAlgoAPI_Splitter::SetTools ******/ + /****** md5 signature: 3be2cbb7f8439cb12462b3704230f424 ******/ %feature("compactdefaultargs") SetTools; - %feature("autodoc", "Sets the tool arguments. - + %feature("autodoc", " Parameters ---------- theLS: TopTools_ListOfShape -Returns +Return ------- None + +Description +----------- +Sets the Tool arguments. ") SetTools; void SetTools(const TopTools_ListOfShape & theLS); - /****************** Tools ******************/ - /**** md5 signature: 0471973aac274d4f863776957a65fd19 ****/ + /****** BRepAlgoAPI_Splitter::Tools ******/ + /****** md5 signature: 0471973aac274d4f863776957a65fd19 ******/ %feature("compactdefaultargs") Tools; - %feature("autodoc", "Returns the tool arguments. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +Returns the Tool arguments. ") Tools; const TopTools_ListOfShape & Tools(); @@ -1021,64 +1217,77 @@ TopTools_ListOfShape ***************************/ class BRepAlgoAPI_Common : public BRepAlgoAPI_BooleanOperation { public: - /****************** BRepAlgoAPI_Common ******************/ - /**** md5 signature: f91369cacf90268e3d29941c629e6143 ****/ + /****** BRepAlgoAPI_Common::BRepAlgoAPI_Common ******/ + /****** md5 signature: f91369cacf90268e3d29941c629e6143 ******/ %feature("compactdefaultargs") BRepAlgoAPI_Common; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BRepAlgoAPI_Common; BRepAlgoAPI_Common(); - /****************** BRepAlgoAPI_Common ******************/ - /**** md5 signature: 221ea98268ab300eec5e97d97aab1008 ****/ + /****** BRepAlgoAPI_Common::BRepAlgoAPI_Common ******/ + /****** md5 signature: 221ea98268ab300eec5e97d97aab1008 ******/ %feature("compactdefaultargs") BRepAlgoAPI_Common; - %feature("autodoc", "Empty constructor - pavefiller object that is carried out. - + %feature("autodoc", " Parameters ---------- PF: BOPAlgo_PaveFiller -Returns +Return ------- None + +Description +----------- +Empty constructor - PaveFiller object that is carried out. ") BRepAlgoAPI_Common; BRepAlgoAPI_Common(const BOPAlgo_PaveFiller & PF); - /****************** BRepAlgoAPI_Common ******************/ - /**** md5 signature: 65c64c29f7cf2b9ce8fc226b39f512dd ****/ + /****** BRepAlgoAPI_Common::BRepAlgoAPI_Common ******/ + /****** md5 signature: 281aea6470a4b9efa44abd92f03bd429 ******/ %feature("compactdefaultargs") BRepAlgoAPI_Common; - %feature("autodoc", "Constructor with two shapes -argument -tool - the type of the operation obsolete. - + %feature("autodoc", " Parameters ---------- S1: TopoDS_Shape S2: TopoDS_Shape +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- None + +Description +----------- +Constructor with two shapes -argument -tool - the type of the operation Obsolete. ") BRepAlgoAPI_Common; - BRepAlgoAPI_Common(const TopoDS_Shape & S1, const TopoDS_Shape & S2); + BRepAlgoAPI_Common(const TopoDS_Shape & S1, const TopoDS_Shape & S2, const Message_ProgressRange & theRange = Message_ProgressRange()); - /****************** BRepAlgoAPI_Common ******************/ - /**** md5 signature: 234cc5b6a4b65f1836f72b85b4853c82 ****/ + /****** BRepAlgoAPI_Common::BRepAlgoAPI_Common ******/ + /****** md5 signature: 435fb55f2697ff39118c51724120f6f5 ******/ %feature("compactdefaultargs") BRepAlgoAPI_Common; - %feature("autodoc", "Constructor with two shapes -argument -tool - the type of the operation - pavefiller object that is carried out obsolete. - + %feature("autodoc", " Parameters ---------- S1: TopoDS_Shape S2: TopoDS_Shape PF: BOPAlgo_PaveFiller +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- None + +Description +----------- +Constructor with two shapes -argument -tool - the type of the operation - PaveFiller object that is carried out Obsolete. ") BRepAlgoAPI_Common; - BRepAlgoAPI_Common(const TopoDS_Shape & S1, const TopoDS_Shape & S2, const BOPAlgo_PaveFiller & PF); + BRepAlgoAPI_Common(const TopoDS_Shape & S1, const TopoDS_Shape & S2, const BOPAlgo_PaveFiller & PF, const Message_ProgressRange & theRange = Message_ProgressRange()); }; @@ -1094,66 +1303,78 @@ None ************************/ class BRepAlgoAPI_Cut : public BRepAlgoAPI_BooleanOperation { public: - /****************** BRepAlgoAPI_Cut ******************/ - /**** md5 signature: 629dc45f6ac54a1d0dd3eb613bb25729 ****/ + /****** BRepAlgoAPI_Cut::BRepAlgoAPI_Cut ******/ + /****** md5 signature: 629dc45f6ac54a1d0dd3eb613bb25729 ******/ %feature("compactdefaultargs") BRepAlgoAPI_Cut; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BRepAlgoAPI_Cut; BRepAlgoAPI_Cut(); - /****************** BRepAlgoAPI_Cut ******************/ - /**** md5 signature: d1f642f339e236fdb33a884982f2791a ****/ + /****** BRepAlgoAPI_Cut::BRepAlgoAPI_Cut ******/ + /****** md5 signature: d1f642f339e236fdb33a884982f2791a ******/ %feature("compactdefaultargs") BRepAlgoAPI_Cut; - %feature("autodoc", "Empty constructor - pavefiller object that is carried out. - + %feature("autodoc", " Parameters ---------- PF: BOPAlgo_PaveFiller -Returns +Return ------- None + +Description +----------- +Empty constructor - PaveFiller object that is carried out. ") BRepAlgoAPI_Cut; BRepAlgoAPI_Cut(const BOPAlgo_PaveFiller & PF); - /****************** BRepAlgoAPI_Cut ******************/ - /**** md5 signature: 11f9a02b23a31e70aa286dbffb024431 ****/ + /****** BRepAlgoAPI_Cut::BRepAlgoAPI_Cut ******/ + /****** md5 signature: aa1da534b9c66c537779d74c3ab72d96 ******/ %feature("compactdefaultargs") BRepAlgoAPI_Cut; - %feature("autodoc", "Constructor with two shapes -argument -tool - the type of the operation obsolete. - + %feature("autodoc", " Parameters ---------- S1: TopoDS_Shape S2: TopoDS_Shape +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- None + +Description +----------- +Constructor with two shapes -argument -tool - the type of the operation Obsolete. ") BRepAlgoAPI_Cut; - BRepAlgoAPI_Cut(const TopoDS_Shape & S1, const TopoDS_Shape & S2); + BRepAlgoAPI_Cut(const TopoDS_Shape & S1, const TopoDS_Shape & S2, const Message_ProgressRange & theRange = Message_ProgressRange()); - /****************** BRepAlgoAPI_Cut ******************/ - /**** md5 signature: e0df31a6859bf1c0dc245660c66fab53 ****/ + /****** BRepAlgoAPI_Cut::BRepAlgoAPI_Cut ******/ + /****** md5 signature: ac4b1606254f036b586cca6028e78c28 ******/ %feature("compactdefaultargs") BRepAlgoAPI_Cut; - %feature("autodoc", "Constructor with two shapes -argument -tool - the type of the operation - pavefiller object that is carried out obsolete. - + %feature("autodoc", " Parameters ---------- S1: TopoDS_Shape S2: TopoDS_Shape aDSF: BOPAlgo_PaveFiller -bFWD: bool,optional - default value is Standard_True +bFWD: bool (optional, default to Standard_True) +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- None + +Description +----------- +Constructor with two shapes -argument -tool - the type of the operation - PaveFiller object that is carried out Obsolete. ") BRepAlgoAPI_Cut; - BRepAlgoAPI_Cut(const TopoDS_Shape & S1, const TopoDS_Shape & S2, const BOPAlgo_PaveFiller & aDSF, const Standard_Boolean bFWD = Standard_True); + BRepAlgoAPI_Cut(const TopoDS_Shape & S1, const TopoDS_Shape & S2, const BOPAlgo_PaveFiller & aDSF, const Standard_Boolean bFWD = Standard_True, const Message_ProgressRange & theRange = Message_ProgressRange()); }; @@ -1169,64 +1390,77 @@ None *************************/ class BRepAlgoAPI_Fuse : public BRepAlgoAPI_BooleanOperation { public: - /****************** BRepAlgoAPI_Fuse ******************/ - /**** md5 signature: ba31d780d01f5752b12d845f4446df0f ****/ + /****** BRepAlgoAPI_Fuse::BRepAlgoAPI_Fuse ******/ + /****** md5 signature: ba31d780d01f5752b12d845f4446df0f ******/ %feature("compactdefaultargs") BRepAlgoAPI_Fuse; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BRepAlgoAPI_Fuse; BRepAlgoAPI_Fuse(); - /****************** BRepAlgoAPI_Fuse ******************/ - /**** md5 signature: 7689d836e2615ec52255c3ee260ddb69 ****/ + /****** BRepAlgoAPI_Fuse::BRepAlgoAPI_Fuse ******/ + /****** md5 signature: 7689d836e2615ec52255c3ee260ddb69 ******/ %feature("compactdefaultargs") BRepAlgoAPI_Fuse; - %feature("autodoc", "Empty constructor - pavefiller object that is carried out. - + %feature("autodoc", " Parameters ---------- PF: BOPAlgo_PaveFiller -Returns +Return ------- None + +Description +----------- +Empty constructor - PaveFiller object that is carried out. ") BRepAlgoAPI_Fuse; BRepAlgoAPI_Fuse(const BOPAlgo_PaveFiller & PF); - /****************** BRepAlgoAPI_Fuse ******************/ - /**** md5 signature: 879433be8fed9f569be5cc5a6a1e1325 ****/ + /****** BRepAlgoAPI_Fuse::BRepAlgoAPI_Fuse ******/ + /****** md5 signature: 997b51870f06f995a1de922a1d169097 ******/ %feature("compactdefaultargs") BRepAlgoAPI_Fuse; - %feature("autodoc", "Constructor with two shapes -argument -tool - the type of the operation obsolete. - + %feature("autodoc", " Parameters ---------- S1: TopoDS_Shape S2: TopoDS_Shape +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- None + +Description +----------- +Constructor with two shapes -argument -tool - the type of the operation Obsolete. ") BRepAlgoAPI_Fuse; - BRepAlgoAPI_Fuse(const TopoDS_Shape & S1, const TopoDS_Shape & S2); + BRepAlgoAPI_Fuse(const TopoDS_Shape & S1, const TopoDS_Shape & S2, const Message_ProgressRange & theRange = Message_ProgressRange()); - /****************** BRepAlgoAPI_Fuse ******************/ - /**** md5 signature: 0a16e33ccaa30501e91551c57e5f2810 ****/ + /****** BRepAlgoAPI_Fuse::BRepAlgoAPI_Fuse ******/ + /****** md5 signature: 0619d132bb7d5cd901bfe7d534a8a34b ******/ %feature("compactdefaultargs") BRepAlgoAPI_Fuse; - %feature("autodoc", "Constructor with two shapes -argument -tool - the type of the operation - pavefiller object that is carried out obsolete. - + %feature("autodoc", " Parameters ---------- S1: TopoDS_Shape S2: TopoDS_Shape aDSF: BOPAlgo_PaveFiller +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- None + +Description +----------- +Constructor with two shapes -argument -tool - the type of the operation - PaveFiller object that is carried out Obsolete. ") BRepAlgoAPI_Fuse; - BRepAlgoAPI_Fuse(const TopoDS_Shape & S1, const TopoDS_Shape & S2, const BOPAlgo_PaveFiller & aDSF); + BRepAlgoAPI_Fuse(const TopoDS_Shape & S1, const TopoDS_Shape & S2, const BOPAlgo_PaveFiller & aDSF, const Message_ProgressRange & theRange = Message_ProgressRange()); }; @@ -1242,316 +1476,373 @@ None ****************************/ class BRepAlgoAPI_Section : public BRepAlgoAPI_BooleanOperation { public: - /****************** BRepAlgoAPI_Section ******************/ - /**** md5 signature: a47f0ceb741798857db55d2032f40092 ****/ + /****** BRepAlgoAPI_Section::BRepAlgoAPI_Section ******/ + /****** md5 signature: a47f0ceb741798857db55d2032f40092 ******/ %feature("compactdefaultargs") BRepAlgoAPI_Section; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BRepAlgoAPI_Section; BRepAlgoAPI_Section(); - /****************** BRepAlgoAPI_Section ******************/ - /**** md5 signature: bda2ec08baeb2e74ab6cb69daaf2c885 ****/ + /****** BRepAlgoAPI_Section::BRepAlgoAPI_Section ******/ + /****** md5 signature: bda2ec08baeb2e74ab6cb69daaf2c885 ******/ %feature("compactdefaultargs") BRepAlgoAPI_Section; - %feature("autodoc", "Empty constructor - pavefiller object that is carried out. - + %feature("autodoc", " Parameters ---------- PF: BOPAlgo_PaveFiller -Returns +Return ------- None + +Description +----------- +Empty constructor - PaveFiller object that is carried out. ") BRepAlgoAPI_Section; BRepAlgoAPI_Section(const BOPAlgo_PaveFiller & PF); - /****************** BRepAlgoAPI_Section ******************/ - /**** md5 signature: cb5bfbec844bcec9b0cb0f6e222e3512 ****/ + /****** BRepAlgoAPI_Section::BRepAlgoAPI_Section ******/ + /****** md5 signature: cb5bfbec844bcec9b0cb0f6e222e3512 ******/ %feature("compactdefaultargs") BRepAlgoAPI_Section; - %feature("autodoc", "Constructor with two shapes -argument -tool - the flag: if =true - the algorithm is performed immediatly obsolete. - + %feature("autodoc", " Parameters ---------- S1: TopoDS_Shape S2: TopoDS_Shape -PerformNow: bool,optional - default value is Standard_True +PerformNow: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +Constructor with two shapes -argument -tool - the flag: if =True - the algorithm is performed immediately Obsolete. ") BRepAlgoAPI_Section; BRepAlgoAPI_Section(const TopoDS_Shape & S1, const TopoDS_Shape & S2, const Standard_Boolean PerformNow = Standard_True); - /****************** BRepAlgoAPI_Section ******************/ - /**** md5 signature: 6f2f6902a99b64288c481b6cad474b59 ****/ + /****** BRepAlgoAPI_Section::BRepAlgoAPI_Section ******/ + /****** md5 signature: 6f2f6902a99b64288c481b6cad474b59 ******/ %feature("compactdefaultargs") BRepAlgoAPI_Section; - %feature("autodoc", "Constructor with two shapes -argument -tool - pavefiller object that is carried out - the flag: if =true - the algorithm is performed immediatly obsolete. - + %feature("autodoc", " Parameters ---------- S1: TopoDS_Shape S2: TopoDS_Shape aDSF: BOPAlgo_PaveFiller -PerformNow: bool,optional - default value is Standard_True +PerformNow: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +Constructor with two shapes -argument -tool - PaveFiller object that is carried out - the flag: if =True - the algorithm is performed immediately Obsolete. ") BRepAlgoAPI_Section; BRepAlgoAPI_Section(const TopoDS_Shape & S1, const TopoDS_Shape & S2, const BOPAlgo_PaveFiller & aDSF, const Standard_Boolean PerformNow = Standard_True); - /****************** BRepAlgoAPI_Section ******************/ - /**** md5 signature: 30e774e5a1508f5dd6195bbba8028bdd ****/ + /****** BRepAlgoAPI_Section::BRepAlgoAPI_Section ******/ + /****** md5 signature: 30e774e5a1508f5dd6195bbba8028bdd ******/ %feature("compactdefaultargs") BRepAlgoAPI_Section; - %feature("autodoc", "Constructor with two shapes - argument - tool - the flag: if =true - the algorithm is performed immediatly obsolete. - + %feature("autodoc", " Parameters ---------- S1: TopoDS_Shape Pl: gp_Pln -PerformNow: bool,optional - default value is Standard_True +PerformNow: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +Constructor with two shapes - argument - tool - the flag: if =True - the algorithm is performed immediately Obsolete. ") BRepAlgoAPI_Section; BRepAlgoAPI_Section(const TopoDS_Shape & S1, const gp_Pln & Pl, const Standard_Boolean PerformNow = Standard_True); - /****************** BRepAlgoAPI_Section ******************/ - /**** md5 signature: c287bb4bc888ac88d0cb0da777c82aa7 ****/ + /****** BRepAlgoAPI_Section::BRepAlgoAPI_Section ******/ + /****** md5 signature: c287bb4bc888ac88d0cb0da777c82aa7 ******/ %feature("compactdefaultargs") BRepAlgoAPI_Section; - %feature("autodoc", "Constructor with two shapes - argument - tool - the flag: if =true - the algorithm is performed immediatly obsolete. - + %feature("autodoc", " Parameters ---------- S1: TopoDS_Shape Sf: Geom_Surface -PerformNow: bool,optional - default value is Standard_True +PerformNow: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +Constructor with two shapes - argument - tool - the flag: if =True - the algorithm is performed immediately Obsolete. ") BRepAlgoAPI_Section; BRepAlgoAPI_Section(const TopoDS_Shape & S1, const opencascade::handle & Sf, const Standard_Boolean PerformNow = Standard_True); - /****************** BRepAlgoAPI_Section ******************/ - /**** md5 signature: 672281bf6f9f679b4d466fb17e60f6c9 ****/ + /****** BRepAlgoAPI_Section::BRepAlgoAPI_Section ******/ + /****** md5 signature: 672281bf6f9f679b4d466fb17e60f6c9 ******/ %feature("compactdefaultargs") BRepAlgoAPI_Section; - %feature("autodoc", "Constructor with two shapes - argument - tool - the flag: if =true - the algorithm is performed immediatly obsolete. - + %feature("autodoc", " Parameters ---------- Sf: Geom_Surface S2: TopoDS_Shape -PerformNow: bool,optional - default value is Standard_True +PerformNow: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +Constructor with two shapes - argument - tool - the flag: if =True - the algorithm is performed immediately Obsolete. ") BRepAlgoAPI_Section; BRepAlgoAPI_Section(const opencascade::handle & Sf, const TopoDS_Shape & S2, const Standard_Boolean PerformNow = Standard_True); - /****************** BRepAlgoAPI_Section ******************/ - /**** md5 signature: b272770396cfbca61affc5a095f04dbc ****/ + /****** BRepAlgoAPI_Section::BRepAlgoAPI_Section ******/ + /****** md5 signature: b272770396cfbca61affc5a095f04dbc ******/ %feature("compactdefaultargs") BRepAlgoAPI_Section; - %feature("autodoc", "Constructor with two shapes - argument - tool - the flag: if =true - the algorithm is performed immediatly obsolete. - + %feature("autodoc", " Parameters ---------- Sf1: Geom_Surface Sf2: Geom_Surface -PerformNow: bool,optional - default value is Standard_True +PerformNow: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +Constructor with two shapes - argument - tool - the flag: if =True - the algorithm is performed immediately Obsolete. ") BRepAlgoAPI_Section; BRepAlgoAPI_Section(const opencascade::handle & Sf1, const opencascade::handle & Sf2, const Standard_Boolean PerformNow = Standard_True); - /****************** Approximation ******************/ - /**** md5 signature: f599ca30fa002b2a3dc329decde6ce74 ****/ + /****** BRepAlgoAPI_Section::Approximation ******/ + /****** md5 signature: f599ca30fa002b2a3dc329decde6ce74 ******/ %feature("compactdefaultargs") Approximation; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- B: bool -Returns +Return ------- None + +Description +----------- +No available documentation. ") Approximation; void Approximation(const Standard_Boolean B); - /****************** Build ******************/ - /**** md5 signature: 5ad4569f96377eec0c61c7f10d7c7aa9 ****/ + /****** BRepAlgoAPI_Section::Build ******/ + /****** md5 signature: 58900897d55d51e349b2e40a091ec26f ******/ %feature("compactdefaultargs") Build; - %feature("autodoc", "Performs the algorithm filling interference data structure (if it is necessary) building the result of the operation. + %feature("autodoc", " +Parameters +---------- +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- None + +Description +----------- +Performs the algorithm Filling interference Data Structure (if it is necessary) Building the result of the operation. ") Build; - virtual void Build(); + virtual void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); - /****************** ComputePCurveOn1 ******************/ - /**** md5 signature: e4a8add7cd0d8f532479132026321808 ****/ + /****** BRepAlgoAPI_Section::ComputePCurveOn1 ******/ + /****** md5 signature: e4a8add7cd0d8f532479132026321808 ******/ %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", " Parameters ---------- B: bool -Returns +Return ------- None + +Description +----------- +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. ") ComputePCurveOn1; void ComputePCurveOn1(const Standard_Boolean B); - /****************** ComputePCurveOn2 ******************/ - /**** md5 signature: 69d49dff388a83191da02eb8e1945b69 ****/ + /****** BRepAlgoAPI_Section::ComputePCurveOn2 ******/ + /****** md5 signature: 69d49dff388a83191da02eb8e1945b69 ******/ %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. - + %feature("autodoc", " Parameters ---------- B: bool -Returns +Return ------- None + +Description +----------- +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; void ComputePCurveOn2(const Standard_Boolean B); - /****************** HasAncestorFaceOn1 ******************/ - /**** md5 signature: 36605047037cbfa30f9efcc59b149e44 ****/ + /****** BRepAlgoAPI_Section::HasAncestorFaceOn1 ******/ + /****** md5 signature: 36605047037cbfa30f9efcc59b149e44 ******/ %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", " Parameters ---------- E: TopoDS_Shape F: TopoDS_Shape -Returns +Return ------- bool + +Description +----------- +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. ") HasAncestorFaceOn1; Standard_Boolean HasAncestorFaceOn1(const TopoDS_Shape & E, TopoDS_Shape & F); - /****************** HasAncestorFaceOn2 ******************/ - /**** md5 signature: 0642a4fb4df5a635412bd18e5f65e916 ****/ + /****** BRepAlgoAPI_Section::HasAncestorFaceOn2 ******/ + /****** md5 signature: 0642a4fb4df5a635412bd18e5f65e916 ******/ %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. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Shape F: TopoDS_Shape -Returns +Return ------- bool + +Description +----------- +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; Standard_Boolean HasAncestorFaceOn2(const TopoDS_Shape & E, TopoDS_Shape & F); - /****************** Init1 ******************/ - /**** md5 signature: 7fa686f55d72920afc50e65b8a84a805 ****/ + /****** BRepAlgoAPI_Section::Init1 ******/ + /****** md5 signature: 7fa686f55d72920afc50e65b8a84a805 ******/ %feature("compactdefaultargs") Init1; - %feature("autodoc", "Initialize the argument - argument obsolete. - + %feature("autodoc", " Parameters ---------- S1: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +initialize the argument - argument Obsolete. ") Init1; void Init1(const TopoDS_Shape & S1); - /****************** Init1 ******************/ - /**** md5 signature: 1e834e5b66aacf2f588a792cb0edcd57 ****/ + /****** BRepAlgoAPI_Section::Init1 ******/ + /****** md5 signature: 1e834e5b66aacf2f588a792cb0edcd57 ******/ %feature("compactdefaultargs") Init1; - %feature("autodoc", "Initialize the argument - argument obsolete. - + %feature("autodoc", " Parameters ---------- Pl: gp_Pln -Returns +Return ------- None + +Description +----------- +initialize the argument - argument Obsolete. ") Init1; void Init1(const gp_Pln & Pl); - /****************** Init1 ******************/ - /**** md5 signature: a94f1a0649d28cfd679dcbe46833b484 ****/ + /****** BRepAlgoAPI_Section::Init1 ******/ + /****** md5 signature: a94f1a0649d28cfd679dcbe46833b484 ******/ %feature("compactdefaultargs") Init1; - %feature("autodoc", "Initialize the argument - argument obsolete. - + %feature("autodoc", " Parameters ---------- Sf: Geom_Surface -Returns +Return ------- None + +Description +----------- +initialize the argument - argument Obsolete. ") Init1; void Init1(const opencascade::handle & Sf); - /****************** Init2 ******************/ - /**** md5 signature: 8a35dc2983e205023df1fac2afbf3b01 ****/ + /****** BRepAlgoAPI_Section::Init2 ******/ + /****** md5 signature: 8a35dc2983e205023df1fac2afbf3b01 ******/ %feature("compactdefaultargs") Init2; - %feature("autodoc", "Initialize the tool - tool obsolete. - + %feature("autodoc", " Parameters ---------- S2: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +initialize the tool - tool Obsolete. ") Init2; void Init2(const TopoDS_Shape & S2); - /****************** Init2 ******************/ - /**** md5 signature: 1fb6fdb5216fde3b15724409206adcfe ****/ + /****** BRepAlgoAPI_Section::Init2 ******/ + /****** md5 signature: 1fb6fdb5216fde3b15724409206adcfe ******/ %feature("compactdefaultargs") Init2; - %feature("autodoc", "Initialize the tool - tool obsolete. - + %feature("autodoc", " Parameters ---------- Pl: gp_Pln -Returns +Return ------- None + +Description +----------- +initialize the tool - tool Obsolete. ") Init2; void Init2(const gp_Pln & Pl); - /****************** Init2 ******************/ - /**** md5 signature: 86865e03b7bd5eecac0d55746d523771 ****/ + /****** BRepAlgoAPI_Section::Init2 ******/ + /****** md5 signature: 86865e03b7bd5eecac0d55746d523771 ******/ %feature("compactdefaultargs") Init2; - %feature("autodoc", "Initialize the tool - tool obsolete. - + %feature("autodoc", " Parameters ---------- Sf: Geom_Surface -Returns +Return ------- None + +Description +----------- +initialize the tool - tool Obsolete. ") Init2; void Init2(const opencascade::handle & Sf); diff --git a/src/SWIG_files/wrapper/BRepAlgoAPI.pyi b/src/SWIG_files/wrapper/BRepAlgoAPI.pyi index 12eb430fc..f7ca55515 100644 --- a/src/SWIG_files/wrapper/BRepAlgoAPI.pyi +++ b/src/SWIG_files/wrapper/BRepAlgoAPI.pyi @@ -5,166 +5,258 @@ from OCC.Core.Standard import * from OCC.Core.NCollection import * from OCC.Core.BOPAlgo import * from OCC.Core.TopoDS import * +from OCC.Core.Message import * from OCC.Core.BRepBuilderAPI import * from OCC.Core.TopTools import * from OCC.Core.BRepTools import * from OCC.Core.gp import * from OCC.Core.Geom import * - class BRepAlgoAPI_Check(BOPAlgo_Options): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theS: TopoDS_Shape, bTestSE: Optional[bool] = True, bTestSI: Optional[bool] = True) -> None: ... - @overload - def __init__(self, theS1: TopoDS_Shape, theS2: TopoDS_Shape, theOp: Optional[BOPAlgo_Operation] = BOPAlgo_UNKNOWN, bTestSE: Optional[bool] = True, bTestSI: Optional[bool] = True) -> None: ... - def IsValid(self) -> bool: ... - def Perform(self) -> None: ... - def Result(self) -> BOPAlgo_ListOfCheckResult: ... - @overload - def SetData(self, theS: TopoDS_Shape, bTestSE: Optional[bool] = True, bTestSI: Optional[bool] = True) -> None: ... - @overload - def SetData(self, theS1: TopoDS_Shape, theS2: TopoDS_Shape, theOp: Optional[BOPAlgo_Operation] = BOPAlgo_UNKNOWN, bTestSE: Optional[bool] = True, bTestSI: Optional[bool] = True) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__( + self, + theS: TopoDS_Shape, + bTestSE: Optional[bool] = True, + bTestSI: Optional[bool] = True, + theRange: Optional[Message_ProgressRange] = Message_ProgressRange(), + ) -> None: ... + @overload + def __init__( + self, + theS1: TopoDS_Shape, + theS2: TopoDS_Shape, + theOp: Optional[BOPAlgo_Operation] = BOPAlgo_UNKNOWN, + bTestSE: Optional[bool] = True, + bTestSI: Optional[bool] = True, + theRange: Optional[Message_ProgressRange] = Message_ProgressRange(), + ) -> None: ... + def IsValid(self) -> bool: ... + def Perform( + self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange() + ) -> None: ... + def Result(self) -> BOPAlgo_ListOfCheckResult: ... + @overload + def SetData( + self, + theS: TopoDS_Shape, + bTestSE: Optional[bool] = True, + bTestSI: Optional[bool] = True, + ) -> None: ... + @overload + def SetData( + self, + theS1: TopoDS_Shape, + theS2: TopoDS_Shape, + theOp: Optional[BOPAlgo_Operation] = BOPAlgo_UNKNOWN, + bTestSE: Optional[bool] = True, + bTestSI: Optional[bool] = True, + ) -> None: ... class BRepAlgoAPI_Algo(BRepBuilderAPI_MakeShape, BOPAlgo_Options): - def Shape(self) -> TopoDS_Shape: ... + def Shape(self) -> TopoDS_Shape: ... class BRepAlgoAPI_BuilderAlgo(BRepAlgoAPI_Algo): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, thePF: BOPAlgo_PaveFiller) -> None: ... - def Arguments(self) -> TopTools_ListOfShape: ... - def Build(self) -> None: ... - def Builder(self) -> BOPAlgo_PBuilder: ... - def CheckInverted(self) -> bool: ... - def DSFiller(self) -> BOPAlgo_PPaveFiller: ... - def Generated(self, theS: TopoDS_Shape) -> TopTools_ListOfShape: ... - def Glue(self) -> BOPAlgo_GlueEnum: ... - def HasDeleted(self) -> bool: ... - def HasGenerated(self) -> bool: ... - def HasHistory(self) -> bool: ... - def HasModified(self) -> bool: ... - def History(self) -> BRepTools_History: ... - def IsDeleted(self, aS: TopoDS_Shape) -> bool: ... - def Modified(self, theS: TopoDS_Shape) -> TopTools_ListOfShape: ... - def NonDestructive(self) -> bool: ... - def SectionEdges(self) -> TopTools_ListOfShape: ... - def SetArguments(self, theLS: TopTools_ListOfShape) -> None: ... - def SetCheckInverted(self, theCheck: bool) -> None: ... - def SetGlue(self, theGlue: BOPAlgo_GlueEnum) -> None: ... - def SetNonDestructive(self, theFlag: bool) -> None: ... - def SetToFillHistory(self, theHistFlag: bool) -> None: ... - def SimplifyResult(self, theUnifyEdges: Optional[bool] = True, theUnifyFaces: Optional[bool] = True, theAngularTol: Optional[float] = precision_Angular()) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, thePF: BOPAlgo_PaveFiller) -> None: ... + def Arguments(self) -> TopTools_ListOfShape: ... + def Build( + self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange() + ) -> None: ... + def Builder(self) -> BOPAlgo_PBuilder: ... + def CheckInverted(self) -> bool: ... + def DSFiller(self) -> BOPAlgo_PPaveFiller: ... + def Generated(self, theS: TopoDS_Shape) -> TopTools_ListOfShape: ... + def Glue(self) -> BOPAlgo_GlueEnum: ... + def HasDeleted(self) -> bool: ... + def HasGenerated(self) -> bool: ... + def HasHistory(self) -> bool: ... + def HasModified(self) -> bool: ... + def History(self) -> BRepTools_History: ... + def IsDeleted(self, aS: TopoDS_Shape) -> bool: ... + def Modified(self, theS: TopoDS_Shape) -> TopTools_ListOfShape: ... + def NonDestructive(self) -> bool: ... + def SectionEdges(self) -> TopTools_ListOfShape: ... + def SetArguments(self, theLS: TopTools_ListOfShape) -> None: ... + def SetCheckInverted(self, theCheck: bool) -> None: ... + def SetGlue(self, theGlue: BOPAlgo_GlueEnum) -> None: ... + def SetNonDestructive(self, theFlag: bool) -> None: ... + def SetToFillHistory(self, theHistFlag: bool) -> None: ... + def SimplifyResult( + self, + theUnifyEdges: Optional[bool] = True, + theUnifyFaces: Optional[bool] = True, + theAngularTol: Optional[float] = Precision.Angular(), + ) -> None: ... class BRepAlgoAPI_Defeaturing(BRepAlgoAPI_Algo): - def __init__(self) -> None: ... - def AddFaceToRemove(self, theFace: TopoDS_Shape) -> None: ... - def AddFacesToRemove(self, theFaces: TopTools_ListOfShape) -> None: ... - def Build(self) -> None: ... - def FacesToRemove(self) -> TopTools_ListOfShape: ... - def Generated(self, theS: TopoDS_Shape) -> TopTools_ListOfShape: ... - def HasDeleted(self) -> bool: ... - def HasGenerated(self) -> bool: ... - def HasHistory(self) -> bool: ... - def HasModified(self) -> bool: ... - def History(self) -> BRepTools_History: ... - def InputShape(self) -> TopoDS_Shape: ... - def IsDeleted(self, theS: TopoDS_Shape) -> bool: ... - def Modified(self, theS: TopoDS_Shape) -> TopTools_ListOfShape: ... - def SetShape(self, theShape: TopoDS_Shape) -> None: ... - def SetToFillHistory(self, theFlag: bool) -> None: ... + def __init__(self) -> None: ... + def AddFaceToRemove(self, theFace: TopoDS_Shape) -> None: ... + def AddFacesToRemove(self, theFaces: TopTools_ListOfShape) -> None: ... + def Build( + self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange() + ) -> None: ... + def FacesToRemove(self) -> TopTools_ListOfShape: ... + def Generated(self, theS: TopoDS_Shape) -> TopTools_ListOfShape: ... + def HasDeleted(self) -> bool: ... + def HasGenerated(self) -> bool: ... + def HasHistory(self) -> bool: ... + def HasModified(self) -> bool: ... + def History(self) -> BRepTools_History: ... + def InputShape(self) -> TopoDS_Shape: ... + def IsDeleted(self, theS: TopoDS_Shape) -> bool: ... + def Modified(self, theS: TopoDS_Shape) -> TopTools_ListOfShape: ... + def SetShape(self, theShape: TopoDS_Shape) -> None: ... + def SetToFillHistory(self, theFlag: bool) -> None: ... class BRepAlgoAPI_BooleanOperation(BRepAlgoAPI_BuilderAlgo): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, thePF: BOPAlgo_PaveFiller) -> None: ... - def Build(self) -> None: ... - def Operation(self) -> BOPAlgo_Operation: ... - def SetOperation(self, theBOP: BOPAlgo_Operation) -> None: ... - def SetTools(self, theLS: TopTools_ListOfShape) -> None: ... - def Shape1(self) -> TopoDS_Shape: ... - def Shape2(self) -> TopoDS_Shape: ... - def Tools(self) -> TopTools_ListOfShape: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, thePF: BOPAlgo_PaveFiller) -> None: ... + def Build( + self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange() + ) -> None: ... + def Operation(self) -> BOPAlgo_Operation: ... + def SetOperation(self, theBOP: BOPAlgo_Operation) -> None: ... + def SetTools(self, theLS: TopTools_ListOfShape) -> None: ... + def Shape1(self) -> TopoDS_Shape: ... + def Shape2(self) -> TopoDS_Shape: ... + def Tools(self) -> TopTools_ListOfShape: ... class BRepAlgoAPI_Splitter(BRepAlgoAPI_BuilderAlgo): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, thePF: BOPAlgo_PaveFiller) -> None: ... - def Build(self) -> None: ... - def SetTools(self, theLS: TopTools_ListOfShape) -> None: ... - def Tools(self) -> TopTools_ListOfShape: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, thePF: BOPAlgo_PaveFiller) -> None: ... + def Build( + self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange() + ) -> None: ... + def SetTools(self, theLS: TopTools_ListOfShape) -> None: ... + def Tools(self) -> TopTools_ListOfShape: ... class BRepAlgoAPI_Common(BRepAlgoAPI_BooleanOperation): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, PF: BOPAlgo_PaveFiller) -> None: ... - @overload - def __init__(self, S1: TopoDS_Shape, S2: TopoDS_Shape) -> None: ... - @overload - def __init__(self, S1: TopoDS_Shape, S2: TopoDS_Shape, PF: BOPAlgo_PaveFiller) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, PF: BOPAlgo_PaveFiller) -> None: ... + @overload + def __init__( + self, + S1: TopoDS_Shape, + S2: TopoDS_Shape, + theRange: Optional[Message_ProgressRange] = Message_ProgressRange(), + ) -> None: ... + @overload + def __init__( + self, + S1: TopoDS_Shape, + S2: TopoDS_Shape, + PF: BOPAlgo_PaveFiller, + theRange: Optional[Message_ProgressRange] = Message_ProgressRange(), + ) -> None: ... class BRepAlgoAPI_Cut(BRepAlgoAPI_BooleanOperation): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, PF: BOPAlgo_PaveFiller) -> None: ... - @overload - def __init__(self, S1: TopoDS_Shape, S2: TopoDS_Shape) -> None: ... - @overload - def __init__(self, S1: TopoDS_Shape, S2: TopoDS_Shape, aDSF: BOPAlgo_PaveFiller, bFWD: Optional[bool] = True) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, PF: BOPAlgo_PaveFiller) -> None: ... + @overload + def __init__( + self, + S1: TopoDS_Shape, + S2: TopoDS_Shape, + theRange: Optional[Message_ProgressRange] = Message_ProgressRange(), + ) -> None: ... + @overload + def __init__( + self, + S1: TopoDS_Shape, + S2: TopoDS_Shape, + aDSF: BOPAlgo_PaveFiller, + bFWD: Optional[bool] = True, + theRange: Optional[Message_ProgressRange] = Message_ProgressRange(), + ) -> None: ... class BRepAlgoAPI_Fuse(BRepAlgoAPI_BooleanOperation): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, PF: BOPAlgo_PaveFiller) -> None: ... - @overload - def __init__(self, S1: TopoDS_Shape, S2: TopoDS_Shape) -> None: ... - @overload - def __init__(self, S1: TopoDS_Shape, S2: TopoDS_Shape, aDSF: BOPAlgo_PaveFiller) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, PF: BOPAlgo_PaveFiller) -> None: ... + @overload + def __init__( + self, + S1: TopoDS_Shape, + S2: TopoDS_Shape, + theRange: Optional[Message_ProgressRange] = Message_ProgressRange(), + ) -> None: ... + @overload + def __init__( + self, + S1: TopoDS_Shape, + S2: TopoDS_Shape, + aDSF: BOPAlgo_PaveFiller, + theRange: Optional[Message_ProgressRange] = Message_ProgressRange(), + ) -> None: ... class BRepAlgoAPI_Section(BRepAlgoAPI_BooleanOperation): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, PF: BOPAlgo_PaveFiller) -> None: ... - @overload - def __init__(self, S1: TopoDS_Shape, S2: TopoDS_Shape, PerformNow: Optional[bool] = True) -> None: ... - @overload - def __init__(self, S1: TopoDS_Shape, S2: TopoDS_Shape, aDSF: BOPAlgo_PaveFiller, PerformNow: Optional[bool] = True) -> None: ... - @overload - def __init__(self, S1: TopoDS_Shape, Pl: gp_Pln, PerformNow: Optional[bool] = True) -> None: ... - @overload - def __init__(self, S1: TopoDS_Shape, Sf: Geom_Surface, PerformNow: Optional[bool] = True) -> None: ... - @overload - def __init__(self, Sf: Geom_Surface, S2: TopoDS_Shape, PerformNow: Optional[bool] = True) -> None: ... - @overload - def __init__(self, Sf1: Geom_Surface, Sf2: Geom_Surface, PerformNow: Optional[bool] = True) -> None: ... - def Approximation(self, B: bool) -> None: ... - def Build(self) -> None: ... - def ComputePCurveOn1(self, B: bool) -> None: ... - def ComputePCurveOn2(self, B: bool) -> None: ... - def HasAncestorFaceOn1(self, E: TopoDS_Shape, F: TopoDS_Shape) -> bool: ... - def HasAncestorFaceOn2(self, E: TopoDS_Shape, F: TopoDS_Shape) -> bool: ... - @overload - def Init1(self, S1: TopoDS_Shape) -> None: ... - @overload - def Init1(self, Pl: gp_Pln) -> None: ... - @overload - def Init1(self, Sf: Geom_Surface) -> None: ... - @overload - def Init2(self, S2: TopoDS_Shape) -> None: ... - @overload - def Init2(self, Pl: gp_Pln) -> None: ... - @overload - def Init2(self, Sf: Geom_Surface) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, PF: BOPAlgo_PaveFiller) -> None: ... + @overload + def __init__( + self, S1: TopoDS_Shape, S2: TopoDS_Shape, PerformNow: Optional[bool] = True + ) -> None: ... + @overload + def __init__( + self, + S1: TopoDS_Shape, + S2: TopoDS_Shape, + aDSF: BOPAlgo_PaveFiller, + PerformNow: Optional[bool] = True, + ) -> None: ... + @overload + def __init__( + self, S1: TopoDS_Shape, Pl: gp_Pln, PerformNow: Optional[bool] = True + ) -> None: ... + @overload + def __init__( + self, S1: TopoDS_Shape, Sf: Geom_Surface, PerformNow: Optional[bool] = True + ) -> None: ... + @overload + def __init__( + self, Sf: Geom_Surface, S2: TopoDS_Shape, PerformNow: Optional[bool] = True + ) -> None: ... + @overload + def __init__( + self, Sf1: Geom_Surface, Sf2: Geom_Surface, PerformNow: Optional[bool] = True + ) -> None: ... + def Approximation(self, B: bool) -> None: ... + def Build( + self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange() + ) -> None: ... + def ComputePCurveOn1(self, B: bool) -> None: ... + def ComputePCurveOn2(self, B: bool) -> None: ... + def HasAncestorFaceOn1(self, E: TopoDS_Shape, F: TopoDS_Shape) -> bool: ... + def HasAncestorFaceOn2(self, E: TopoDS_Shape, F: TopoDS_Shape) -> bool: ... + @overload + def Init1(self, S1: TopoDS_Shape) -> None: ... + @overload + def Init1(self, Pl: gp_Pln) -> None: ... + @overload + def Init1(self, Sf: Geom_Surface) -> None: ... + @overload + def Init2(self, S2: TopoDS_Shape) -> None: ... + @overload + def Init2(self, Pl: gp_Pln) -> None: ... + @overload + def Init2(self, Sf: Geom_Surface) -> None: ... # harray1 classes # harray2 classes # hsequence classes - diff --git a/src/SWIG_files/wrapper/BRepApprox.i b/src/SWIG_files/wrapper/BRepApprox.i index f31e30248..e4ab521b3 100644 --- a/src/SWIG_files/wrapper/BRepApprox.i +++ b/src/SWIG_files/wrapper/BRepApprox.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPAPPROXDOCSTRING "BRepApprox module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepapprox.html" +https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_brepapprox.html" %enddef %module (package="OCC.Core", docstring=BREPAPPROXDOCSTRING) BRepApprox @@ -31,8 +31,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepapprox.html" %include ../common/CommonIncludes.i %include ../common/ExceptionCatcher.i %include ../common/FunctionTransformers.i +%include ../common/EnumTemplates.i %include ../common/Operators.i %include ../common/OccHandle.i +%include ../common/IOStream.i +%include ../common/ArrayMacros.i %{ @@ -42,15 +45,17 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepapprox.html" #include #include #include -#include +#include #include #include #include -#include +#include #include #include -#include #include +#include +#include +#include #include #include #include @@ -61,6 +66,8 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepapprox.html" #include #include #include +#include +#include #include #include #include @@ -69,15 +76,17 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepapprox.html" %import Standard.i %import NCollection.i %import Approx.i -%import AppParCurves.i +%import math.i %import Geom.i %import Geom2d.i %import IntSurf.i -%import math.i +%import AppParCurves.i %import TColStd.i %import BRepAdaptor.i -%import IntImp.i %import gp.i +%import Adaptor3d.i +%import GeomAbs.i +%import IntImp.i %import ApproxInt.i %import TColgp.i @@ -89,7 +98,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -110,44 +119,71 @@ from OCC.Core.Exception import * class BRepApprox_Approx { public: class Approx_Data {}; - /****************** BRepApprox_Approx ******************/ - /**** md5 signature: bd97e4db4f73bdf01c7574bc6f9beca1 ****/ + /****** BRepApprox_Approx::BRepApprox_Approx ******/ + /****** md5 signature: bd97e4db4f73bdf01c7574bc6f9beca1 ******/ %feature("compactdefaultargs") BRepApprox_Approx; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepApprox_Approx; BRepApprox_Approx(); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** BRepApprox_Approx::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsDone; Standard_Boolean IsDone(); - /****************** NbMultiCurves ******************/ - /**** md5 signature: 944d4af40d93d46a8a3a888df2d8b388 ****/ + /****** BRepApprox_Approx::NbMultiCurves ******/ + /****** md5 signature: 944d4af40d93d46a8a3a888df2d8b388 ******/ %feature("compactdefaultargs") NbMultiCurves; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbMultiCurves; Standard_Integer NbMultiCurves(); - /****************** SetParameters ******************/ - /**** md5 signature: 224b0c0bb8f1208adc055cd27769623b ****/ - %feature("compactdefaultargs") SetParameters; - %feature("autodoc", "No available documentation. + /****** BRepApprox_Approx::Parameters ******/ + /****** md5 signature: 81d60914d3a71865160546b151d21f82 ******/ + %feature("compactdefaultargs") Parameters; + %feature("autodoc", " +Parameters +---------- +Line: BRepApprox_TheMultiLineOfApprox +firstP: int +lastP: int +Par: Approx_ParametrizationType +TheParameters: math_Vector +Return +------- +None + +Description +----------- +No available documentation. +") Parameters; + static void Parameters(const BRepApprox_TheMultiLineOfApprox & Line, const Standard_Integer firstP, const Standard_Integer lastP, const Approx_ParametrizationType Par, math_Vector & TheParameters); + + /****** BRepApprox_Approx::SetParameters ******/ + /****** md5 signature: 224b0c0bb8f1208adc055cd27769623b ******/ + %feature("compactdefaultargs") SetParameters; + %feature("autodoc", " Parameters ---------- Tol3d: float @@ -155,55 +191,63 @@ Tol2d: float DegMin: int DegMax: int NbIterMax: int -NbPntMax: int,optional - default value is 30 -ApproxWithTangency: bool,optional - default value is Standard_True -Parametrization: Approx_ParametrizationType,optional - default value is Approx_ChordLength +NbPntMax: int (optional, default to 30) +ApproxWithTangency: bool (optional, default to Standard_True) +Parametrization: Approx_ParametrizationType (optional, default to Approx_ChordLength) -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: fec1cf227c913f78bf2cca534817572e ****/ + /****** BRepApprox_Approx::TolReached2d ******/ + /****** md5 signature: fec1cf227c913f78bf2cca534817572e ******/ %feature("compactdefaultargs") TolReached2d; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") TolReached2d; Standard_Real TolReached2d(); - /****************** TolReached3d ******************/ - /**** md5 signature: 683925467818325187b2612f3df211fb ****/ + /****** BRepApprox_Approx::TolReached3d ******/ + /****** md5 signature: 683925467818325187b2612f3df211fb ******/ %feature("compactdefaultargs") TolReached3d; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") TolReached3d; Standard_Real TolReached3d(); - /****************** Value ******************/ - /**** md5 signature: 9d6e77e44b72348ce39d94f7175b467c ****/ + /****** BRepApprox_Approx::Value ******/ + /****** md5 signature: 9d6e77e44b72348ce39d94f7175b467c ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- AppParCurves_MultiBSpCurve + +Description +----------- +No available documentation. ") Value; - const AppParCurves_MultiBSpCurve & Value(const Standard_Integer Index); + AppParCurves_MultiBSpCurve Value(const Standard_Integer Index); }; @@ -223,63 +267,73 @@ AppParCurves_MultiBSpCurve ******************************/ class BRepApprox_ApproxLine : public Standard_Transient { public: - /****************** BRepApprox_ApproxLine ******************/ - /**** md5 signature: 06463c2cf339616f1188d08a9cedb916 ****/ + /****** BRepApprox_ApproxLine::BRepApprox_ApproxLine ******/ + /****** md5 signature: 06463c2cf339616f1188d08a9cedb916 ******/ %feature("compactdefaultargs") BRepApprox_ApproxLine; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- CurveXYZ: Geom_BSplineCurve CurveUV1: Geom2d_BSplineCurve CurveUV2: Geom2d_BSplineCurve -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepApprox_ApproxLine; BRepApprox_ApproxLine(const opencascade::handle & CurveXYZ, const opencascade::handle & CurveUV1, const opencascade::handle & CurveUV2); - /****************** BRepApprox_ApproxLine ******************/ - /**** md5 signature: fc95bda6dedd235ff09c9509eeb57ba6 ****/ + /****** BRepApprox_ApproxLine::BRepApprox_ApproxLine ******/ + /****** md5 signature: fc95bda6dedd235ff09c9509eeb57ba6 ******/ %feature("compactdefaultargs") BRepApprox_ApproxLine; - %feature("autodoc", "Thetang variable has been entered only for compatibility with the alias intpatch_wline. they are not used in this class. - + %feature("autodoc", " Parameters ---------- lin: IntSurf_LineOn2S -theTang: bool,optional - default value is Standard_False +theTang: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +theTang variable has been entered only for compatibility with the alias IntPatch_WLine. They are not used in this class. ") BRepApprox_ApproxLine; BRepApprox_ApproxLine(const opencascade::handle & lin, const Standard_Boolean theTang = Standard_False); - /****************** NbPnts ******************/ - /**** md5 signature: 11421df812eef5f47a644a70b75ab60a ****/ + /****** BRepApprox_ApproxLine::NbPnts ******/ + /****** md5 signature: 11421df812eef5f47a644a70b75ab60a ******/ %feature("compactdefaultargs") NbPnts; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbPnts; Standard_Integer NbPnts(); - /****************** Point ******************/ - /**** md5 signature: 3f7bb7239d0d53fe95063c8fac27999e ****/ + /****** BRepApprox_ApproxLine::Point ******/ + /****** md5 signature: 3f7bb7239d0d53fe95063c8fac27999e ******/ %feature("compactdefaultargs") Point; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- IntSurf_PntOn2S + +Description +----------- +No available documentation. ") Point; IntSurf_PntOn2S Point(const Standard_Integer Index); @@ -299,11 +353,10 @@ IntSurf_PntOn2S ****************************************************************************/ class BRepApprox_BSpGradient_BFGSOfMyBSplGradientOfTheComputeLineOfApprox : public math_BFGS { public: - /****************** BRepApprox_BSpGradient_BFGSOfMyBSplGradientOfTheComputeLineOfApprox ******************/ - /**** md5 signature: 63a0f87512cd1e6b43564af60dd18905 ****/ + /****** BRepApprox_BSpGradient_BFGSOfMyBSplGradientOfTheComputeLineOfApprox::BRepApprox_BSpGradient_BFGSOfMyBSplGradientOfTheComputeLineOfApprox ******/ + /****** md5 signature: 63a0f87512cd1e6b43564af60dd18905 ******/ %feature("compactdefaultargs") BRepApprox_BSpGradient_BFGSOfMyBSplGradientOfTheComputeLineOfApprox; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- F: math_MultipleVarFunctionWithGradient @@ -311,27 +364,33 @@ StartingPoint: math_Vector Tolerance3d: float Tolerance2d: float Eps: float -NbIterations: int,optional - default value is 200 +NbIterations: int (optional, default to 200) -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: a6c0da888a257bf852b40b8daf6526dc ****/ + /****** BRepApprox_BSpGradient_BFGSOfMyBSplGradientOfTheComputeLineOfApprox::IsSolutionReached ******/ + /****** md5 signature: a6c0da888a257bf852b40b8daf6526dc ******/ %feature("compactdefaultargs") IsSolutionReached; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- F: math_MultipleVarFunctionWithGradient -Returns +Return ------- bool + +Description +----------- +No available documentation. ") IsSolutionReached; virtual Standard_Boolean IsSolutionReached(math_MultipleVarFunctionWithGradient & F); @@ -349,11 +408,10 @@ bool **************************************************************************/ class BRepApprox_BSpParFunctionOfMyBSplGradientOfTheComputeLineOfApprox : public math_MultipleVarFunctionWithGradient { public: - /****************** BRepApprox_BSpParFunctionOfMyBSplGradientOfTheComputeLineOfApprox ******************/ - /**** md5 signature: 0371b3e981bd07f22a62b26d7304786b ****/ + /****** BRepApprox_BSpParFunctionOfMyBSplGradientOfTheComputeLineOfApprox::BRepApprox_BSpParFunctionOfMyBSplGradientOfTheComputeLineOfApprox ******/ + /****** md5 signature: 0371b3e981bd07f22a62b26d7304786b ******/ %feature("compactdefaultargs") BRepApprox_BSpParFunctionOfMyBSplGradientOfTheComputeLineOfApprox; - %feature("autodoc", "Initializes the fields of the function. the approximating curve has control points. - + %feature("autodoc", " Parameters ---------- SSP: BRepApprox_TheMultiLineOfApprox @@ -365,222 +423,266 @@ Knots: TColStd_Array1OfReal Mults: TColStd_Array1OfInteger NbPol: int -Returns +Return ------- None + +Description +----------- +initializes the fields of the function. The approximating curve has control points. ") 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 ******************/ - /**** md5 signature: c83ed6c1c3091309bccd8d719a30ec54 ****/ + /****** BRepApprox_BSpParFunctionOfMyBSplGradientOfTheComputeLineOfApprox::CurveValue ******/ + /****** md5 signature: c83ed6c1c3091309bccd8d719a30ec54 ******/ %feature("compactdefaultargs") CurveValue; - %feature("autodoc", "Returns the multibspcurve approximating the set after computing the value f or grad(f). - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiBSpCurve + +Description +----------- +returns the MultiBSpCurve approximating the set after computing the value F or Grad(F). ") CurveValue; AppParCurves_MultiBSpCurve CurveValue(); - /****************** DerivativeFunctionMatrix ******************/ - /**** md5 signature: c2dbca1da1c1c1aaf2ff7895be813eaf ****/ + /****** BRepApprox_BSpParFunctionOfMyBSplGradientOfTheComputeLineOfApprox::DerivativeFunctionMatrix ******/ + /****** md5 signature: c2dbca1da1c1c1aaf2ff7895be813eaf ******/ %feature("compactdefaultargs") DerivativeFunctionMatrix; - %feature("autodoc", "Returns the derivative function matrix used to approximate the multiline. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the derivative function matrix used to approximate the multiline. ") DerivativeFunctionMatrix; const math_Matrix & DerivativeFunctionMatrix(); - /****************** Error ******************/ - /**** md5 signature: 540c96711689798ec6a7d515d5e5e1c7 ****/ + /****** BRepApprox_BSpParFunctionOfMyBSplGradientOfTheComputeLineOfApprox::Error ******/ + /****** md5 signature: 540c96711689798ec6a7d515d5e5e1c7 ******/ %feature("compactdefaultargs") Error; - %feature("autodoc", "Returns the distance between the multipoint of range ipoint and the curve curveindex. - + %feature("autodoc", " Parameters ---------- IPoint: int CurveIndex: int -Returns +Return ------- float + +Description +----------- +returns the distance between the MultiPoint of range IPoint and the curve CurveIndex. ") Error; Standard_Real Error(const Standard_Integer IPoint, const Standard_Integer CurveIndex); - /****************** FirstConstraint ******************/ - /**** md5 signature: 6814c8615ee3f59417c740c77d2ce795 ****/ + /****** BRepApprox_BSpParFunctionOfMyBSplGradientOfTheComputeLineOfApprox::FirstConstraint ******/ + /****** md5 signature: 6814c8615ee3f59417c740c77d2ce795 ******/ %feature("compactdefaultargs") FirstConstraint; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- TheConstraints: AppParCurves_HArray1OfConstraintCouple FirstPoint: int -Returns +Return ------- AppParCurves_Constraint + +Description +----------- +No available documentation. ") FirstConstraint; AppParCurves_Constraint FirstConstraint(const opencascade::handle & TheConstraints, const Standard_Integer FirstPoint); - /****************** FunctionMatrix ******************/ - /**** md5 signature: aec90dd003c289db9092eb79712677e1 ****/ + /****** BRepApprox_BSpParFunctionOfMyBSplGradientOfTheComputeLineOfApprox::FunctionMatrix ******/ + /****** md5 signature: aec90dd003c289db9092eb79712677e1 ******/ %feature("compactdefaultargs") FunctionMatrix; - %feature("autodoc", "Returns the function matrix used to approximate the multiline. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the function matrix used to approximate the multiline. ") FunctionMatrix; const math_Matrix & FunctionMatrix(); - /****************** Gradient ******************/ - /**** md5 signature: 5ee531ceab07ab216991e3bf02edf0f7 ****/ + /****** BRepApprox_BSpParFunctionOfMyBSplGradientOfTheComputeLineOfApprox::Gradient ******/ + /****** md5 signature: 5ee531ceab07ab216991e3bf02edf0f7 ******/ %feature("compactdefaultargs") Gradient; - %feature("autodoc", "Returns the gradient g of the sum above for the parameters xi. - + %feature("autodoc", " Parameters ---------- X: math_Vector G: math_Vector -Returns +Return ------- bool + +Description +----------- +returns the gradient G of the sum above for the parameters Xi. ") Gradient; Standard_Boolean Gradient(const math_Vector & X, math_Vector & G); - /****************** Index ******************/ - /**** md5 signature: c11a6982042d7a2c5bf9fb50324ac971 ****/ + /****** BRepApprox_BSpParFunctionOfMyBSplGradientOfTheComputeLineOfApprox::Index ******/ + /****** md5 signature: c11a6982042d7a2c5bf9fb50324ac971 ******/ %feature("compactdefaultargs") 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. - -Returns + %feature("autodoc", "Return ------- math_IntegerVector + +Description +----------- +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. ") Index; const math_IntegerVector & Index(); - /****************** LastConstraint ******************/ - /**** md5 signature: f3572ad2cc7e299a1f7b6cb9d14677cf ****/ + /****** BRepApprox_BSpParFunctionOfMyBSplGradientOfTheComputeLineOfApprox::LastConstraint ******/ + /****** md5 signature: f3572ad2cc7e299a1f7b6cb9d14677cf ******/ %feature("compactdefaultargs") LastConstraint; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- TheConstraints: AppParCurves_HArray1OfConstraintCouple LastPoint: int -Returns +Return ------- AppParCurves_Constraint + +Description +----------- +No available documentation. ") LastConstraint; AppParCurves_Constraint LastConstraint(const opencascade::handle & TheConstraints, const Standard_Integer LastPoint); - /****************** MaxError2d ******************/ - /**** md5 signature: 2590e15e02ab7eeda39345ef64189e30 ****/ + /****** BRepApprox_BSpParFunctionOfMyBSplGradientOfTheComputeLineOfApprox::MaxError2d ******/ + /****** md5 signature: 2590e15e02ab7eeda39345ef64189e30 ******/ %feature("compactdefaultargs") MaxError2d; - %feature("autodoc", "Returns the maximum distance between the points and the multibspcurve. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the maximum distance between the points and the MultiBSpCurve. ") MaxError2d; Standard_Real MaxError2d(); - /****************** MaxError3d ******************/ - /**** md5 signature: c6ba463cdf4a0e426329b589363186b7 ****/ + /****** BRepApprox_BSpParFunctionOfMyBSplGradientOfTheComputeLineOfApprox::MaxError3d ******/ + /****** md5 signature: c6ba463cdf4a0e426329b589363186b7 ******/ %feature("compactdefaultargs") MaxError3d; - %feature("autodoc", "Returns the maximum distance between the points and the multibspcurve. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the maximum distance between the points and the MultiBSpCurve. ") MaxError3d; Standard_Real MaxError3d(); - /****************** NbVariables ******************/ - /**** md5 signature: a3de6b8a577fc113199e11b2b0bcdced ****/ + /****** BRepApprox_BSpParFunctionOfMyBSplGradientOfTheComputeLineOfApprox::NbVariables ******/ + /****** md5 signature: a3de6b8a577fc113199e11b2b0bcdced ******/ %feature("compactdefaultargs") NbVariables; - %feature("autodoc", "Returns the number of variables of the function. it corresponds to the number of multipoints. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +returns the number of variables of the function. It corresponds to the number of MultiPoints. ") NbVariables; Standard_Integer NbVariables(); - /****************** NewParameters ******************/ - /**** md5 signature: 1d606e7b2aa9813a84f6984ebdf52bb7 ****/ + /****** BRepApprox_BSpParFunctionOfMyBSplGradientOfTheComputeLineOfApprox::NewParameters ******/ + /****** md5 signature: 1d606e7b2aa9813a84f6984ebdf52bb7 ******/ %feature("compactdefaultargs") NewParameters; - %feature("autodoc", "Returns the new parameters of the multiline. - -Returns + %feature("autodoc", "Return ------- math_Vector + +Description +----------- +returns the new parameters of the MultiLine. ") NewParameters; const math_Vector & NewParameters(); - /****************** SetFirstLambda ******************/ - /**** md5 signature: 819efdb8532bd01857d5e29b79901d19 ****/ + /****** BRepApprox_BSpParFunctionOfMyBSplGradientOfTheComputeLineOfApprox::SetFirstLambda ******/ + /****** md5 signature: 819efdb8532bd01857d5e29b79901d19 ******/ %feature("compactdefaultargs") SetFirstLambda; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- l1: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetFirstLambda; void SetFirstLambda(const Standard_Real l1); - /****************** SetLastLambda ******************/ - /**** md5 signature: b34d15f9505b8355ba362a879a836d1a ****/ + /****** BRepApprox_BSpParFunctionOfMyBSplGradientOfTheComputeLineOfApprox::SetLastLambda ******/ + /****** md5 signature: b34d15f9505b8355ba362a879a836d1a ******/ %feature("compactdefaultargs") SetLastLambda; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- l2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetLastLambda; void SetLastLambda(const Standard_Real l2); - /****************** Value ******************/ - /**** md5 signature: 33f8b9f75d238865cc320f57ac729801 ****/ + /****** BRepApprox_BSpParFunctionOfMyBSplGradientOfTheComputeLineOfApprox::Value ******/ + /****** md5 signature: 33f8b9f75d238865cc320f57ac729801 ******/ %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. - + %feature("autodoc", " Parameters ---------- X: math_Vector -Returns +Return ------- F: float + +Description +----------- +this method computes the new approximation of the MultiLine SSP and calculates F = sum (||Pui - Bi*Pi||2) for each point of the MultiLine. ") Value; Standard_Boolean Value(const math_Vector & X, Standard_Real &OutValue); - /****************** Values ******************/ - /**** md5 signature: 66c7c08f6bec2933f700c6f45cf14285 ****/ + /****** BRepApprox_BSpParFunctionOfMyBSplGradientOfTheComputeLineOfApprox::Values ******/ + /****** md5 signature: 66c7c08f6bec2933f700c6f45cf14285 ******/ %feature("compactdefaultargs") Values; - %feature("autodoc", "Returns the value f=sum(||pui - bi*pi||)2. returns the value g = grad(f) for the parameters xi. - + %feature("autodoc", " Parameters ---------- X: math_Vector G: math_Vector -Returns +Return ------- F: float + +Description +----------- +returns the value F=sum(||Pui - Bi*Pi||)2. returns the value G = grad(F) for the parameters Xi. ") Values; Standard_Boolean Values(const math_Vector & X, Standard_Real &OutValue, math_Vector & G); @@ -598,11 +700,10 @@ F: float *****************************************************************************/ class BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox { public: - /****************** BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox ******************/ - /**** md5 signature: 7d9f95650b38892d69ea383796b7ac06 ****/ + /****** BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox::BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox ******/ + /****** md5 signature: 7d9f95650b38892d69ea383796b7ac06 ******/ %feature("compactdefaultargs") BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox; - %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). - + %feature("autodoc", " Parameters ---------- SSP: BRepApprox_TheMultiLineOfApprox @@ -613,17 +714,20 @@ LastCons: AppParCurves_Constraint Parameters: math_Vector NbPol: int -Returns +Return ------- None + +Description +----------- +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). ") 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 ******************/ - /**** md5 signature: ed896d992fcd6877f972dd893988b683 ****/ + /****** BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox::BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox ******/ + /****** md5 signature: ed896d992fcd6877f972dd893988b683 ******/ %feature("compactdefaultargs") BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox; - %feature("autodoc", "Initializes the fields of the object. - + %feature("autodoc", " Parameters ---------- SSP: BRepApprox_TheMultiLineOfApprox @@ -633,17 +737,20 @@ FirstCons: AppParCurves_Constraint LastCons: AppParCurves_Constraint NbPol: int -Returns +Return ------- None + +Description +----------- +Initializes the fields of the object. ") 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 ******************/ - /**** md5 signature: 54d7cb68618ead710433102a8be8682a ****/ + /****** BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox::BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox ******/ + /****** md5 signature: 54d7cb68618ead710433102a8be8682a ******/ %feature("compactdefaultargs") BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox; - %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). - + %feature("autodoc", " Parameters ---------- SSP: BRepApprox_TheMultiLineOfApprox @@ -656,17 +763,20 @@ LastCons: AppParCurves_Constraint Parameters: math_Vector NbPol: int -Returns +Return ------- None + +Description +----------- +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). ") 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 ******************/ - /**** md5 signature: 1daf31a668cb0e28d1e3be57fca0e751 ****/ + /****** BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox::BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox ******/ + /****** md5 signature: 1daf31a668cb0e28d1e3be57fca0e751 ******/ %feature("compactdefaultargs") BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox; - %feature("autodoc", "Initializes the fields of the object. - + %feature("autodoc", " Parameters ---------- SSP: BRepApprox_TheMultiLineOfApprox @@ -678,181 +788,214 @@ FirstCons: AppParCurves_Constraint LastCons: AppParCurves_Constraint NbPol: int -Returns +Return ------- None + +Description +----------- +Initializes the fields of the object. ") 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 ******************/ - /**** md5 signature: a38863f7c9b6fa566ee9fea09f971d5c ****/ + /****** BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox::BSplineValue ******/ + /****** md5 signature: a38863f7c9b6fa566ee9fea09f971d5c ******/ %feature("compactdefaultargs") BSplineValue; - %feature("autodoc", "Returns the result of the approximation, i.e. all the curves. an exception is raised if notdone. - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiBSpCurve + +Description +----------- +returns the result of the approximation, i.e. all the Curves. An exception is raised if NotDone. ") BSplineValue; - const AppParCurves_MultiBSpCurve & BSplineValue(); + AppParCurves_MultiBSpCurve BSplineValue(); - /****************** BezierValue ******************/ - /**** md5 signature: 2bbd29cb039e6bcdcdf61afe82651ac1 ****/ + /****** BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox::BezierValue ******/ + /****** md5 signature: 2bbd29cb039e6bcdcdf61afe82651ac1 ******/ %feature("compactdefaultargs") BezierValue; - %feature("autodoc", "Returns the result of the approximation, i.e. all the curves. an exception is raised if notdone. - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiCurve + +Description +----------- +returns the result of the approximation, i.e. all the Curves. An exception is raised if NotDone. ") BezierValue; AppParCurves_MultiCurve BezierValue(); - /****************** DerivativeFunctionMatrix ******************/ - /**** md5 signature: c2dbca1da1c1c1aaf2ff7895be813eaf ****/ + /****** BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox::DerivativeFunctionMatrix ******/ + /****** md5 signature: c2dbca1da1c1c1aaf2ff7895be813eaf ******/ %feature("compactdefaultargs") DerivativeFunctionMatrix; - %feature("autodoc", "Returns the derivative function matrix used to approximate the set. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the derivative function matrix used to approximate the set. ") DerivativeFunctionMatrix; const math_Matrix & DerivativeFunctionMatrix(); - /****************** Distance ******************/ - /**** md5 signature: 608fad06f540e822f2b9f4d329c097b6 ****/ + /****** BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox::Distance ******/ + /****** md5 signature: 608fad06f540e822f2b9f4d329c097b6 ******/ %feature("compactdefaultargs") Distance; - %feature("autodoc", "Returns the distances between the points of the multiline and the approximation curves. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the distances between the points of the multiline and the approximation curves. ") Distance; const math_Matrix & Distance(); - /****************** Error ******************/ - /**** md5 signature: 7c05c0164fc88dbacc4d90d301fe7f12 ****/ + /****** BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox::Error ******/ + /****** md5 signature: 7c05c0164fc88dbacc4d90d301fe7f12 ******/ %feature("compactdefaultargs") Error; - %feature("autodoc", "Returns the maximum errors between the multiline and the approximation curves. f is the sum of the square distances. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- F: float MaxE3d: float MaxE2d: float + +Description +----------- +returns the maximum errors between the MultiLine and the approximation curves. F is the sum of the square distances. ") Error; void Error(Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** ErrorGradient ******************/ - /**** md5 signature: 3e5c3757aad8d0f394eda590c0bc62e3 ****/ + /****** BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox::ErrorGradient ******/ + /****** md5 signature: 3e5c3757aad8d0f394eda590c0bc62e3 ******/ %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. - + %feature("autodoc", " Parameters ---------- Grad: math_Vector -Returns +Return ------- F: float MaxE3d: float MaxE2d: float + +Description +----------- +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. ") ErrorGradient; void ErrorGradient(math_Vector & Grad, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** FirstLambda ******************/ - /**** md5 signature: 87ad21cc13708c47c81704b38426d999 ****/ + /****** BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox::FirstLambda ******/ + /****** md5 signature: 87ad21cc13708c47c81704b38426d999 ******/ %feature("compactdefaultargs") FirstLambda; - %feature("autodoc", "Returns the value (p2 - p1)/ v1 if the first point was a tangency point. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the value (P2 - P1)/ V1 if the first point was a tangency point. ") FirstLambda; Standard_Real FirstLambda(); - /****************** FunctionMatrix ******************/ - /**** md5 signature: aec90dd003c289db9092eb79712677e1 ****/ + /****** BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox::FunctionMatrix ******/ + /****** md5 signature: aec90dd003c289db9092eb79712677e1 ******/ %feature("compactdefaultargs") FunctionMatrix; - %feature("autodoc", "Returns the function matrix used to approximate the set. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the function matrix used to approximate the set. ") FunctionMatrix; const math_Matrix & FunctionMatrix(); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Returns true if all has been correctly done. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns True if all has been correctly done. ") IsDone; Standard_Boolean IsDone(); - /****************** KIndex ******************/ - /**** md5 signature: 2821052a9bfe72ec4f531ccb52a80ffb ****/ + /****** BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox::KIndex ******/ + /****** md5 signature: 2821052a9bfe72ec4f531ccb52a80ffb ******/ %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. - -Returns + %feature("autodoc", "Return ------- math_IntegerVector + +Description +----------- +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. ") KIndex; const math_IntegerVector & KIndex(); - /****************** LastLambda ******************/ - /**** md5 signature: f7e26790258c4ab513bae9dd1a5955e1 ****/ + /****** BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox::LastLambda ******/ + /****** md5 signature: f7e26790258c4ab513bae9dd1a5955e1 ******/ %feature("compactdefaultargs") LastLambda; - %feature("autodoc", "Returns the value (pn - pn-1)/ vn if the last point was a tangency point. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the value (PN - PN-1)/ VN if the last point was a tangency point. ") LastLambda; Standard_Real LastLambda(); - /****************** Perform ******************/ - /**** md5 signature: 5b8f20d810ea57d5223b42dfd01410ad ****/ + /****** BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox::Perform ******/ + /****** md5 signature: 5b8f20d810ea57d5223b42dfd01410ad ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Is used after having initialized the fields. the case 'curvaturepoint' is not treated in this method. - + %feature("autodoc", " Parameters ---------- Parameters: math_Vector -Returns +Return ------- None + +Description +----------- +Is used after having initialized the fields. The case 'CurvaturePoint' is not treated in this method. ") Perform; void Perform(const math_Vector & Parameters); - /****************** Perform ******************/ - /**** md5 signature: cbf083f2b8329680dc5a52f482f436ad ****/ + /****** BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox::Perform ******/ + /****** md5 signature: cbf083f2b8329680dc5a52f482f436ad ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Is used after having initialized the fields. - + %feature("autodoc", " Parameters ---------- Parameters: math_Vector l1: float l2: float -Returns +Return ------- None + +Description +----------- +Is used after having initialized the fields. ") Perform; void Perform(const math_Vector & Parameters, const Standard_Real l1, const Standard_Real l2); - /****************** Perform ******************/ - /**** md5 signature: 380f2440b07e3b3805c4eda2da2e8c6e ****/ + /****** BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox::Perform ******/ + /****** md5 signature: 380f2440b07e3b3805c4eda2da2e8c6e ******/ %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. - + %feature("autodoc", " Parameters ---------- Parameters: math_Vector @@ -861,17 +1004,20 @@ V2t: math_Vector l1: float l2: float -Returns +Return ------- None + +Description +----------- +Is used after having initialized the fields. is the tangent vector at the first point. is the tangent vector at the last point. ") Perform; void Perform(const math_Vector & Parameters, const math_Vector & V1t, const math_Vector & V2t, const Standard_Real l1, const Standard_Real l2); - /****************** Perform ******************/ - /**** md5 signature: 5f7ecae6d947ca76138d939cdd616b0f ****/ + /****** BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox::Perform ******/ + /****** md5 signature: 5f7ecae6d947ca76138d939cdd616b0f ******/ %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. - + %feature("autodoc", " Parameters ---------- Parameters: math_Vector @@ -882,31 +1028,39 @@ V2c: math_Vector l1: float l2: float -Returns +Return ------- None + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 8a77545526c5096bca80b9c07f882412 ****/ + /****** BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox::Points ******/ + /****** md5 signature: 8a77545526c5096bca80b9c07f882412 ******/ %feature("compactdefaultargs") Points; - %feature("autodoc", "Returns the matrix of points value. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the matrix of points value. ") Points; const math_Matrix & Points(); - /****************** Poles ******************/ - /**** md5 signature: 1437a652beb857bd22c16de65cb18857 ****/ + /****** BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox::Poles ******/ + /****** md5 signature: 1437a652beb857bd22c16de65cb18857 ******/ %feature("compactdefaultargs") Poles; - %feature("autodoc", "Returns the matrix of resulting control points value. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the matrix of resulting control points value. ") Poles; const math_Matrix & Poles(); @@ -924,11 +1078,10 @@ math_Matrix ***************************************************************************/ class BRepApprox_Gradient_BFGSOfMyGradientOfTheComputeLineBezierOfApprox : public math_BFGS { public: - /****************** BRepApprox_Gradient_BFGSOfMyGradientOfTheComputeLineBezierOfApprox ******************/ - /**** md5 signature: a882919bf6f4818f7c85495cfc3ed0e3 ****/ + /****** BRepApprox_Gradient_BFGSOfMyGradientOfTheComputeLineBezierOfApprox::BRepApprox_Gradient_BFGSOfMyGradientOfTheComputeLineBezierOfApprox ******/ + /****** md5 signature: a882919bf6f4818f7c85495cfc3ed0e3 ******/ %feature("compactdefaultargs") BRepApprox_Gradient_BFGSOfMyGradientOfTheComputeLineBezierOfApprox; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- F: math_MultipleVarFunctionWithGradient @@ -936,27 +1089,33 @@ StartingPoint: math_Vector Tolerance3d: float Tolerance2d: float Eps: float -NbIterations: int,optional - default value is 200 +NbIterations: int (optional, default to 200) -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: a6c0da888a257bf852b40b8daf6526dc ****/ + /****** BRepApprox_Gradient_BFGSOfMyGradientOfTheComputeLineBezierOfApprox::IsSolutionReached ******/ + /****** md5 signature: a6c0da888a257bf852b40b8daf6526dc ******/ %feature("compactdefaultargs") IsSolutionReached; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- F: math_MultipleVarFunctionWithGradient -Returns +Return ------- bool + +Description +----------- +No available documentation. ") IsSolutionReached; virtual Standard_Boolean IsSolutionReached(math_MultipleVarFunctionWithGradient & F); @@ -974,11 +1133,10 @@ bool ************************************************************************/ class BRepApprox_Gradient_BFGSOfMyGradientbisOfTheComputeLineOfApprox : public math_BFGS { public: - /****************** BRepApprox_Gradient_BFGSOfMyGradientbisOfTheComputeLineOfApprox ******************/ - /**** md5 signature: 546c0cbcdb8b46db6c5066bcf0c3b9d4 ****/ + /****** BRepApprox_Gradient_BFGSOfMyGradientbisOfTheComputeLineOfApprox::BRepApprox_Gradient_BFGSOfMyGradientbisOfTheComputeLineOfApprox ******/ + /****** md5 signature: 546c0cbcdb8b46db6c5066bcf0c3b9d4 ******/ %feature("compactdefaultargs") BRepApprox_Gradient_BFGSOfMyGradientbisOfTheComputeLineOfApprox; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- F: math_MultipleVarFunctionWithGradient @@ -986,27 +1144,33 @@ StartingPoint: math_Vector Tolerance3d: float Tolerance2d: float Eps: float -NbIterations: int,optional - default value is 200 +NbIterations: int (optional, default to 200) -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: a6c0da888a257bf852b40b8daf6526dc ****/ + /****** BRepApprox_Gradient_BFGSOfMyGradientbisOfTheComputeLineOfApprox::IsSolutionReached ******/ + /****** md5 signature: a6c0da888a257bf852b40b8daf6526dc ******/ %feature("compactdefaultargs") IsSolutionReached; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- F: math_MultipleVarFunctionWithGradient -Returns +Return ------- bool + +Description +----------- +No available documentation. ") IsSolutionReached; virtual Standard_Boolean IsSolutionReached(math_MultipleVarFunctionWithGradient & F); @@ -1024,11 +1188,10 @@ bool **********************************************************/ class BRepApprox_MyBSplGradientOfTheComputeLineOfApprox { public: - /****************** BRepApprox_MyBSplGradientOfTheComputeLineOfApprox ******************/ - /**** md5 signature: 74aae5255d1c464d98317338f1ddd977 ****/ + /****** BRepApprox_MyBSplGradientOfTheComputeLineOfApprox::BRepApprox_MyBSplGradientOfTheComputeLineOfApprox ******/ + /****** md5 signature: 74aae5255d1c464d98317338f1ddd977 ******/ %feature("compactdefaultargs") BRepApprox_MyBSplGradientOfTheComputeLineOfApprox; - %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. - + %feature("autodoc", " Parameters ---------- SSP: BRepApprox_TheMultiLineOfApprox @@ -1041,20 +1204,22 @@ Mults: TColStd_Array1OfInteger Deg: int Tol3d: float Tol2d: float -NbIterations: int,optional - default value is 1 +NbIterations: int (optional, default to 1) -Returns +Return ------- None + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 4460f494a9f34dc845cd63bbb5e64be2 ****/ + /****** BRepApprox_MyBSplGradientOfTheComputeLineOfApprox::BRepApprox_MyBSplGradientOfTheComputeLineOfApprox ******/ + /****** md5 signature: 4460f494a9f34dc845cd63bbb5e64be2 ******/ %feature("compactdefaultargs") BRepApprox_MyBSplGradientOfTheComputeLineOfApprox; - %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. - + %feature("autodoc", " Parameters ---------- SSP: BRepApprox_TheMultiLineOfApprox @@ -1071,79 +1236,96 @@ NbIterations: int lambda1: float lambda2: float -Returns +Return ------- None + +Description +----------- +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. ") 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); - /****************** AverageError ******************/ - /**** md5 signature: 420f3b7884af8c019ac24a5fe5ae6ff8 ****/ + /****** BRepApprox_MyBSplGradientOfTheComputeLineOfApprox::AverageError ******/ + /****** md5 signature: 420f3b7884af8c019ac24a5fe5ae6ff8 ******/ %feature("compactdefaultargs") AverageError; - %feature("autodoc", "Returns the average error between the old and the new approximation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the average error between the old and the new approximation. ") AverageError; Standard_Real AverageError(); - /****************** Error ******************/ - /**** md5 signature: 94d11b0fe58daf5df892c75e38905cde ****/ + /****** BRepApprox_MyBSplGradientOfTheComputeLineOfApprox::Error ******/ + /****** md5 signature: 94d11b0fe58daf5df892c75e38905cde ******/ %feature("compactdefaultargs") Error; - %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. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- float + +Description +----------- +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. ") Error; Standard_Real Error(const Standard_Integer Index); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** BRepApprox_MyBSplGradientOfTheComputeLineOfApprox::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Returns true if all has been correctly done. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns True if all has been correctly done. ") IsDone; Standard_Boolean IsDone(); - /****************** MaxError2d ******************/ - /**** md5 signature: 2590e15e02ab7eeda39345ef64189e30 ****/ + /****** BRepApprox_MyBSplGradientOfTheComputeLineOfApprox::MaxError2d ******/ + /****** md5 signature: 2590e15e02ab7eeda39345ef64189e30 ******/ %feature("compactdefaultargs") MaxError2d; - %feature("autodoc", "Returns the maximum difference between the old and the new approximation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the maximum difference between the old and the new approximation. ") MaxError2d; Standard_Real MaxError2d(); - /****************** MaxError3d ******************/ - /**** md5 signature: c6ba463cdf4a0e426329b589363186b7 ****/ + /****** BRepApprox_MyBSplGradientOfTheComputeLineOfApprox::MaxError3d ******/ + /****** md5 signature: c6ba463cdf4a0e426329b589363186b7 ******/ %feature("compactdefaultargs") MaxError3d; - %feature("autodoc", "Returns the maximum difference between the old and the new approximation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the maximum difference between the old and the new approximation. ") MaxError3d; Standard_Real MaxError3d(); - /****************** Value ******************/ - /**** md5 signature: 35d2ee100f1a9fc11f00b074d7d3553e ****/ + /****** BRepApprox_MyBSplGradientOfTheComputeLineOfApprox::Value ******/ + /****** md5 signature: 35d2ee100f1a9fc11f00b074d7d3553e ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns all the bspline curves approximating the multiline ssp after minimization of the parameter. - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiBSpCurve + +Description +----------- +returns all the BSpline curves approximating the MultiLine SSP after minimization of the parameter. ") Value; AppParCurves_MultiBSpCurve Value(); @@ -1161,11 +1343,10 @@ AppParCurves_MultiBSpCurve ************************************************************/ class BRepApprox_MyGradientOfTheComputeLineBezierOfApprox { public: - /****************** BRepApprox_MyGradientOfTheComputeLineBezierOfApprox ******************/ - /**** md5 signature: 8693996965e51eac054b6488ab22bbc9 ****/ + /****** BRepApprox_MyGradientOfTheComputeLineBezierOfApprox::BRepApprox_MyGradientOfTheComputeLineBezierOfApprox ******/ + /****** md5 signature: 8693996965e51eac054b6488ab22bbc9 ******/ %feature("compactdefaultargs") BRepApprox_MyGradientOfTheComputeLineBezierOfApprox; - %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. - + %feature("autodoc", " Parameters ---------- SSP: BRepApprox_TheMultiLineOfApprox @@ -1176,82 +1357,98 @@ Parameters: math_Vector Deg: int Tol3d: float Tol2d: float -NbIterations: int,optional - default value is 200 +NbIterations: int (optional, default to 200) -Returns +Return ------- None + +Description +----------- +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. ") 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); - /****************** AverageError ******************/ - /**** md5 signature: 420f3b7884af8c019ac24a5fe5ae6ff8 ****/ + /****** BRepApprox_MyGradientOfTheComputeLineBezierOfApprox::AverageError ******/ + /****** md5 signature: 420f3b7884af8c019ac24a5fe5ae6ff8 ******/ %feature("compactdefaultargs") AverageError; - %feature("autodoc", "Returns the average error between the old and the new approximation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the average error between the old and the new approximation. ") AverageError; Standard_Real AverageError(); - /****************** Error ******************/ - /**** md5 signature: 94d11b0fe58daf5df892c75e38905cde ****/ + /****** BRepApprox_MyGradientOfTheComputeLineBezierOfApprox::Error ******/ + /****** md5 signature: 94d11b0fe58daf5df892c75e38905cde ******/ %feature("compactdefaultargs") Error; - %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. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- float + +Description +----------- +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. ") Error; Standard_Real Error(const Standard_Integer Index); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** BRepApprox_MyGradientOfTheComputeLineBezierOfApprox::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Returns true if all has been correctly done. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns True if all has been correctly done. ") IsDone; Standard_Boolean IsDone(); - /****************** MaxError2d ******************/ - /**** md5 signature: 2590e15e02ab7eeda39345ef64189e30 ****/ + /****** BRepApprox_MyGradientOfTheComputeLineBezierOfApprox::MaxError2d ******/ + /****** md5 signature: 2590e15e02ab7eeda39345ef64189e30 ******/ %feature("compactdefaultargs") MaxError2d; - %feature("autodoc", "Returns the maximum difference between the old and the new approximation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the maximum difference between the old and the new approximation. ") MaxError2d; Standard_Real MaxError2d(); - /****************** MaxError3d ******************/ - /**** md5 signature: c6ba463cdf4a0e426329b589363186b7 ****/ + /****** BRepApprox_MyGradientOfTheComputeLineBezierOfApprox::MaxError3d ******/ + /****** md5 signature: c6ba463cdf4a0e426329b589363186b7 ******/ %feature("compactdefaultargs") MaxError3d; - %feature("autodoc", "Returns the maximum difference between the old and the new approximation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the maximum difference between the old and the new approximation. ") MaxError3d; Standard_Real MaxError3d(); - /****************** Value ******************/ - /**** md5 signature: dac7e49320bc0e9a268aeb92592734dc ****/ + /****** BRepApprox_MyGradientOfTheComputeLineBezierOfApprox::Value ******/ + /****** md5 signature: dac7e49320bc0e9a268aeb92592734dc ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns all the bezier curves approximating the multiline ssp after minimization of the parameter. - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiCurve + +Description +----------- +returns all the Bezier curves approximating the MultiLine SSP after minimization of the parameter. ") Value; AppParCurves_MultiCurve Value(); @@ -1269,11 +1466,10 @@ AppParCurves_MultiCurve *********************************************************/ class BRepApprox_MyGradientbisOfTheComputeLineOfApprox { public: - /****************** BRepApprox_MyGradientbisOfTheComputeLineOfApprox ******************/ - /**** md5 signature: 10fa2f46a78f50fbbd545ab4bed91a1e ****/ + /****** BRepApprox_MyGradientbisOfTheComputeLineOfApprox::BRepApprox_MyGradientbisOfTheComputeLineOfApprox ******/ + /****** md5 signature: 10fa2f46a78f50fbbd545ab4bed91a1e ******/ %feature("compactdefaultargs") BRepApprox_MyGradientbisOfTheComputeLineOfApprox; - %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. - + %feature("autodoc", " Parameters ---------- SSP: BRepApprox_TheMultiLineOfApprox @@ -1284,82 +1480,98 @@ Parameters: math_Vector Deg: int Tol3d: float Tol2d: float -NbIterations: int,optional - default value is 200 +NbIterations: int (optional, default to 200) -Returns +Return ------- None + +Description +----------- +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. ") 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); - /****************** AverageError ******************/ - /**** md5 signature: 420f3b7884af8c019ac24a5fe5ae6ff8 ****/ + /****** BRepApprox_MyGradientbisOfTheComputeLineOfApprox::AverageError ******/ + /****** md5 signature: 420f3b7884af8c019ac24a5fe5ae6ff8 ******/ %feature("compactdefaultargs") AverageError; - %feature("autodoc", "Returns the average error between the old and the new approximation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the average error between the old and the new approximation. ") AverageError; Standard_Real AverageError(); - /****************** Error ******************/ - /**** md5 signature: 94d11b0fe58daf5df892c75e38905cde ****/ + /****** BRepApprox_MyGradientbisOfTheComputeLineOfApprox::Error ******/ + /****** md5 signature: 94d11b0fe58daf5df892c75e38905cde ******/ %feature("compactdefaultargs") Error; - %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. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- float + +Description +----------- +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. ") Error; Standard_Real Error(const Standard_Integer Index); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** BRepApprox_MyGradientbisOfTheComputeLineOfApprox::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Returns true if all has been correctly done. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns True if all has been correctly done. ") IsDone; Standard_Boolean IsDone(); - /****************** MaxError2d ******************/ - /**** md5 signature: 2590e15e02ab7eeda39345ef64189e30 ****/ + /****** BRepApprox_MyGradientbisOfTheComputeLineOfApprox::MaxError2d ******/ + /****** md5 signature: 2590e15e02ab7eeda39345ef64189e30 ******/ %feature("compactdefaultargs") MaxError2d; - %feature("autodoc", "Returns the maximum difference between the old and the new approximation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the maximum difference between the old and the new approximation. ") MaxError2d; Standard_Real MaxError2d(); - /****************** MaxError3d ******************/ - /**** md5 signature: c6ba463cdf4a0e426329b589363186b7 ****/ + /****** BRepApprox_MyGradientbisOfTheComputeLineOfApprox::MaxError3d ******/ + /****** md5 signature: c6ba463cdf4a0e426329b589363186b7 ******/ %feature("compactdefaultargs") MaxError3d; - %feature("autodoc", "Returns the maximum difference between the old and the new approximation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the maximum difference between the old and the new approximation. ") MaxError3d; Standard_Real MaxError3d(); - /****************** Value ******************/ - /**** md5 signature: dac7e49320bc0e9a268aeb92592734dc ****/ + /****** BRepApprox_MyGradientbisOfTheComputeLineOfApprox::Value ******/ + /****** md5 signature: dac7e49320bc0e9a268aeb92592734dc ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns all the bezier curves approximating the multiline ssp after minimization of the parameter. - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiCurve + +Description +----------- +returns all the Bezier curves approximating the MultiLine SSP after minimization of the parameter. ") Value; AppParCurves_MultiCurve Value(); @@ -1377,11 +1589,10 @@ AppParCurves_MultiCurve *************************************************************************/ class BRepApprox_ParFunctionOfMyGradientOfTheComputeLineBezierOfApprox : public math_MultipleVarFunctionWithGradient { public: - /****************** BRepApprox_ParFunctionOfMyGradientOfTheComputeLineBezierOfApprox ******************/ - /**** md5 signature: bff681b6be5a6a4e25fa90b5bd01acfb ****/ + /****** BRepApprox_ParFunctionOfMyGradientOfTheComputeLineBezierOfApprox::BRepApprox_ParFunctionOfMyGradientOfTheComputeLineBezierOfApprox ******/ + /****** md5 signature: bff681b6be5a6a4e25fa90b5bd01acfb ******/ %feature("compactdefaultargs") BRepApprox_ParFunctionOfMyGradientOfTheComputeLineBezierOfApprox; - %feature("autodoc", "Initializes the fields of the function. the approximating curve has the desired degree deg. - + %feature("autodoc", " Parameters ---------- SSP: BRepApprox_TheMultiLineOfApprox @@ -1391,159 +1602,191 @@ TheConstraints: AppParCurves_HArray1OfConstraintCouple Parameters: math_Vector Deg: int -Returns +Return ------- None + +Description +----------- +initializes the fields of the function. The approximating curve has the desired degree Deg. ") 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 ******************/ - /**** md5 signature: c2e2cb976554936214bdfe3487b0362c ****/ + /****** BRepApprox_ParFunctionOfMyGradientOfTheComputeLineBezierOfApprox::CurveValue ******/ + /****** md5 signature: c2e2cb976554936214bdfe3487b0362c ******/ %feature("compactdefaultargs") CurveValue; - %feature("autodoc", "Returns the multicurve approximating the set after computing the value f or grad(f). - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiCurve + +Description +----------- +returns the MultiCurve approximating the set after computing the value F or Grad(F). ") CurveValue; - const AppParCurves_MultiCurve & CurveValue(); + AppParCurves_MultiCurve CurveValue(); - /****************** Error ******************/ - /**** md5 signature: 59bc36aa259ae04fcbc9c2a60fae6dfb ****/ + /****** BRepApprox_ParFunctionOfMyGradientOfTheComputeLineBezierOfApprox::Error ******/ + /****** md5 signature: 59bc36aa259ae04fcbc9c2a60fae6dfb ******/ %feature("compactdefaultargs") Error; - %feature("autodoc", "Returns the distance between the multipoint of range ipoint and the curve curveindex. - + %feature("autodoc", " Parameters ---------- IPoint: int CurveIndex: int -Returns +Return ------- float + +Description +----------- +returns the distance between the MultiPoint of range IPoint and the curve CurveIndex. ") Error; Standard_Real Error(const Standard_Integer IPoint, const Standard_Integer CurveIndex); - /****************** FirstConstraint ******************/ - /**** md5 signature: 6814c8615ee3f59417c740c77d2ce795 ****/ + /****** BRepApprox_ParFunctionOfMyGradientOfTheComputeLineBezierOfApprox::FirstConstraint ******/ + /****** md5 signature: 6814c8615ee3f59417c740c77d2ce795 ******/ %feature("compactdefaultargs") FirstConstraint; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- TheConstraints: AppParCurves_HArray1OfConstraintCouple FirstPoint: int -Returns +Return ------- AppParCurves_Constraint + +Description +----------- +No available documentation. ") FirstConstraint; AppParCurves_Constraint FirstConstraint(const opencascade::handle & TheConstraints, const Standard_Integer FirstPoint); - /****************** Gradient ******************/ - /**** md5 signature: 5ee531ceab07ab216991e3bf02edf0f7 ****/ + /****** BRepApprox_ParFunctionOfMyGradientOfTheComputeLineBezierOfApprox::Gradient ******/ + /****** md5 signature: 5ee531ceab07ab216991e3bf02edf0f7 ******/ %feature("compactdefaultargs") Gradient; - %feature("autodoc", "Returns the gradient g of the sum above for the parameters xi. - + %feature("autodoc", " Parameters ---------- X: math_Vector G: math_Vector -Returns +Return ------- bool + +Description +----------- +returns the gradient G of the sum above for the parameters Xi. ") Gradient; Standard_Boolean Gradient(const math_Vector & X, math_Vector & G); - /****************** LastConstraint ******************/ - /**** md5 signature: f3572ad2cc7e299a1f7b6cb9d14677cf ****/ + /****** BRepApprox_ParFunctionOfMyGradientOfTheComputeLineBezierOfApprox::LastConstraint ******/ + /****** md5 signature: f3572ad2cc7e299a1f7b6cb9d14677cf ******/ %feature("compactdefaultargs") LastConstraint; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- TheConstraints: AppParCurves_HArray1OfConstraintCouple LastPoint: int -Returns +Return ------- AppParCurves_Constraint + +Description +----------- +No available documentation. ") LastConstraint; AppParCurves_Constraint LastConstraint(const opencascade::handle & TheConstraints, const Standard_Integer LastPoint); - /****************** MaxError2d ******************/ - /**** md5 signature: 2590e15e02ab7eeda39345ef64189e30 ****/ + /****** BRepApprox_ParFunctionOfMyGradientOfTheComputeLineBezierOfApprox::MaxError2d ******/ + /****** md5 signature: 2590e15e02ab7eeda39345ef64189e30 ******/ %feature("compactdefaultargs") MaxError2d; - %feature("autodoc", "Returns the maximum distance between the points and the multicurve. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the maximum distance between the points and the MultiCurve. ") MaxError2d; Standard_Real MaxError2d(); - /****************** MaxError3d ******************/ - /**** md5 signature: c6ba463cdf4a0e426329b589363186b7 ****/ + /****** BRepApprox_ParFunctionOfMyGradientOfTheComputeLineBezierOfApprox::MaxError3d ******/ + /****** md5 signature: c6ba463cdf4a0e426329b589363186b7 ******/ %feature("compactdefaultargs") MaxError3d; - %feature("autodoc", "Returns the maximum distance between the points and the multicurve. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the maximum distance between the points and the MultiCurve. ") MaxError3d; Standard_Real MaxError3d(); - /****************** NbVariables ******************/ - /**** md5 signature: a3de6b8a577fc113199e11b2b0bcdced ****/ + /****** BRepApprox_ParFunctionOfMyGradientOfTheComputeLineBezierOfApprox::NbVariables ******/ + /****** md5 signature: a3de6b8a577fc113199e11b2b0bcdced ******/ %feature("compactdefaultargs") NbVariables; - %feature("autodoc", "Returns the number of variables of the function. it corresponds to the number of multipoints. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +returns the number of variables of the function. It corresponds to the number of MultiPoints. ") NbVariables; Standard_Integer NbVariables(); - /****************** NewParameters ******************/ - /**** md5 signature: 1d606e7b2aa9813a84f6984ebdf52bb7 ****/ + /****** BRepApprox_ParFunctionOfMyGradientOfTheComputeLineBezierOfApprox::NewParameters ******/ + /****** md5 signature: 1d606e7b2aa9813a84f6984ebdf52bb7 ******/ %feature("compactdefaultargs") NewParameters; - %feature("autodoc", "Returns the new parameters of the multiline. - -Returns + %feature("autodoc", "Return ------- math_Vector + +Description +----------- +returns the new parameters of the MultiLine. ") NewParameters; const math_Vector & NewParameters(); - /****************** Value ******************/ - /**** md5 signature: 33f8b9f75d238865cc320f57ac729801 ****/ + /****** BRepApprox_ParFunctionOfMyGradientOfTheComputeLineBezierOfApprox::Value ******/ + /****** md5 signature: 33f8b9f75d238865cc320f57ac729801 ******/ %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. - + %feature("autodoc", " Parameters ---------- X: math_Vector -Returns +Return ------- F: float + +Description +----------- +this method computes the new approximation of the MultiLine SSP and calculates F = sum (||Pui - Bi*Pi||2) for each point of the MultiLine. ") Value; Standard_Boolean Value(const math_Vector & X, Standard_Real &OutValue); - /****************** Values ******************/ - /**** md5 signature: 66c7c08f6bec2933f700c6f45cf14285 ****/ + /****** BRepApprox_ParFunctionOfMyGradientOfTheComputeLineBezierOfApprox::Values ******/ + /****** md5 signature: 66c7c08f6bec2933f700c6f45cf14285 ******/ %feature("compactdefaultargs") Values; - %feature("autodoc", "Returns the value f=sum(||pui - bi*pi||)2. returns the value g = grad(f) for the parameters xi. - + %feature("autodoc", " Parameters ---------- X: math_Vector G: math_Vector -Returns +Return ------- F: float + +Description +----------- +returns the value F=sum(||Pui - Bi*Pi||)2. returns the value G = grad(F) for the parameters Xi. ") Values; Standard_Boolean Values(const math_Vector & X, Standard_Real &OutValue, math_Vector & G); @@ -1561,11 +1804,10 @@ F: float **********************************************************************/ class BRepApprox_ParFunctionOfMyGradientbisOfTheComputeLineOfApprox : public math_MultipleVarFunctionWithGradient { public: - /****************** BRepApprox_ParFunctionOfMyGradientbisOfTheComputeLineOfApprox ******************/ - /**** md5 signature: 8b57a9539a2a4df5112bf9db1c1bdd18 ****/ + /****** BRepApprox_ParFunctionOfMyGradientbisOfTheComputeLineOfApprox::BRepApprox_ParFunctionOfMyGradientbisOfTheComputeLineOfApprox ******/ + /****** md5 signature: 8b57a9539a2a4df5112bf9db1c1bdd18 ******/ %feature("compactdefaultargs") BRepApprox_ParFunctionOfMyGradientbisOfTheComputeLineOfApprox; - %feature("autodoc", "Initializes the fields of the function. the approximating curve has the desired degree deg. - + %feature("autodoc", " Parameters ---------- SSP: BRepApprox_TheMultiLineOfApprox @@ -1575,159 +1817,191 @@ TheConstraints: AppParCurves_HArray1OfConstraintCouple Parameters: math_Vector Deg: int -Returns +Return ------- None + +Description +----------- +initializes the fields of the function. The approximating curve has the desired degree Deg. ") 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 ******************/ - /**** md5 signature: c2e2cb976554936214bdfe3487b0362c ****/ + /****** BRepApprox_ParFunctionOfMyGradientbisOfTheComputeLineOfApprox::CurveValue ******/ + /****** md5 signature: c2e2cb976554936214bdfe3487b0362c ******/ %feature("compactdefaultargs") CurveValue; - %feature("autodoc", "Returns the multicurve approximating the set after computing the value f or grad(f). - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiCurve + +Description +----------- +returns the MultiCurve approximating the set after computing the value F or Grad(F). ") CurveValue; - const AppParCurves_MultiCurve & CurveValue(); + AppParCurves_MultiCurve CurveValue(); - /****************** Error ******************/ - /**** md5 signature: 59bc36aa259ae04fcbc9c2a60fae6dfb ****/ + /****** BRepApprox_ParFunctionOfMyGradientbisOfTheComputeLineOfApprox::Error ******/ + /****** md5 signature: 59bc36aa259ae04fcbc9c2a60fae6dfb ******/ %feature("compactdefaultargs") Error; - %feature("autodoc", "Returns the distance between the multipoint of range ipoint and the curve curveindex. - + %feature("autodoc", " Parameters ---------- IPoint: int CurveIndex: int -Returns +Return ------- float + +Description +----------- +returns the distance between the MultiPoint of range IPoint and the curve CurveIndex. ") Error; Standard_Real Error(const Standard_Integer IPoint, const Standard_Integer CurveIndex); - /****************** FirstConstraint ******************/ - /**** md5 signature: 6814c8615ee3f59417c740c77d2ce795 ****/ + /****** BRepApprox_ParFunctionOfMyGradientbisOfTheComputeLineOfApprox::FirstConstraint ******/ + /****** md5 signature: 6814c8615ee3f59417c740c77d2ce795 ******/ %feature("compactdefaultargs") FirstConstraint; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- TheConstraints: AppParCurves_HArray1OfConstraintCouple FirstPoint: int -Returns +Return ------- AppParCurves_Constraint + +Description +----------- +No available documentation. ") FirstConstraint; AppParCurves_Constraint FirstConstraint(const opencascade::handle & TheConstraints, const Standard_Integer FirstPoint); - /****************** Gradient ******************/ - /**** md5 signature: 5ee531ceab07ab216991e3bf02edf0f7 ****/ + /****** BRepApprox_ParFunctionOfMyGradientbisOfTheComputeLineOfApprox::Gradient ******/ + /****** md5 signature: 5ee531ceab07ab216991e3bf02edf0f7 ******/ %feature("compactdefaultargs") Gradient; - %feature("autodoc", "Returns the gradient g of the sum above for the parameters xi. - + %feature("autodoc", " Parameters ---------- X: math_Vector G: math_Vector -Returns +Return ------- bool + +Description +----------- +returns the gradient G of the sum above for the parameters Xi. ") Gradient; Standard_Boolean Gradient(const math_Vector & X, math_Vector & G); - /****************** LastConstraint ******************/ - /**** md5 signature: f3572ad2cc7e299a1f7b6cb9d14677cf ****/ + /****** BRepApprox_ParFunctionOfMyGradientbisOfTheComputeLineOfApprox::LastConstraint ******/ + /****** md5 signature: f3572ad2cc7e299a1f7b6cb9d14677cf ******/ %feature("compactdefaultargs") LastConstraint; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- TheConstraints: AppParCurves_HArray1OfConstraintCouple LastPoint: int -Returns +Return ------- AppParCurves_Constraint + +Description +----------- +No available documentation. ") LastConstraint; AppParCurves_Constraint LastConstraint(const opencascade::handle & TheConstraints, const Standard_Integer LastPoint); - /****************** MaxError2d ******************/ - /**** md5 signature: 2590e15e02ab7eeda39345ef64189e30 ****/ + /****** BRepApprox_ParFunctionOfMyGradientbisOfTheComputeLineOfApprox::MaxError2d ******/ + /****** md5 signature: 2590e15e02ab7eeda39345ef64189e30 ******/ %feature("compactdefaultargs") MaxError2d; - %feature("autodoc", "Returns the maximum distance between the points and the multicurve. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the maximum distance between the points and the MultiCurve. ") MaxError2d; Standard_Real MaxError2d(); - /****************** MaxError3d ******************/ - /**** md5 signature: c6ba463cdf4a0e426329b589363186b7 ****/ + /****** BRepApprox_ParFunctionOfMyGradientbisOfTheComputeLineOfApprox::MaxError3d ******/ + /****** md5 signature: c6ba463cdf4a0e426329b589363186b7 ******/ %feature("compactdefaultargs") MaxError3d; - %feature("autodoc", "Returns the maximum distance between the points and the multicurve. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the maximum distance between the points and the MultiCurve. ") MaxError3d; Standard_Real MaxError3d(); - /****************** NbVariables ******************/ - /**** md5 signature: a3de6b8a577fc113199e11b2b0bcdced ****/ + /****** BRepApprox_ParFunctionOfMyGradientbisOfTheComputeLineOfApprox::NbVariables ******/ + /****** md5 signature: a3de6b8a577fc113199e11b2b0bcdced ******/ %feature("compactdefaultargs") NbVariables; - %feature("autodoc", "Returns the number of variables of the function. it corresponds to the number of multipoints. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +returns the number of variables of the function. It corresponds to the number of MultiPoints. ") NbVariables; Standard_Integer NbVariables(); - /****************** NewParameters ******************/ - /**** md5 signature: 1d606e7b2aa9813a84f6984ebdf52bb7 ****/ + /****** BRepApprox_ParFunctionOfMyGradientbisOfTheComputeLineOfApprox::NewParameters ******/ + /****** md5 signature: 1d606e7b2aa9813a84f6984ebdf52bb7 ******/ %feature("compactdefaultargs") NewParameters; - %feature("autodoc", "Returns the new parameters of the multiline. - -Returns + %feature("autodoc", "Return ------- math_Vector + +Description +----------- +returns the new parameters of the MultiLine. ") NewParameters; const math_Vector & NewParameters(); - /****************** Value ******************/ - /**** md5 signature: 33f8b9f75d238865cc320f57ac729801 ****/ + /****** BRepApprox_ParFunctionOfMyGradientbisOfTheComputeLineOfApprox::Value ******/ + /****** md5 signature: 33f8b9f75d238865cc320f57ac729801 ******/ %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. - + %feature("autodoc", " Parameters ---------- X: math_Vector -Returns +Return ------- F: float + +Description +----------- +this method computes the new approximation of the MultiLine SSP and calculates F = sum (||Pui - Bi*Pi||2) for each point of the MultiLine. ") Value; Standard_Boolean Value(const math_Vector & X, Standard_Real &OutValue); - /****************** Values ******************/ - /**** md5 signature: 66c7c08f6bec2933f700c6f45cf14285 ****/ + /****** BRepApprox_ParFunctionOfMyGradientbisOfTheComputeLineOfApprox::Values ******/ + /****** md5 signature: 66c7c08f6bec2933f700c6f45cf14285 ******/ %feature("compactdefaultargs") Values; - %feature("autodoc", "Returns the value f=sum(||pui - bi*pi||)2. returns the value g = grad(f) for the parameters xi. - + %feature("autodoc", " Parameters ---------- X: math_Vector G: math_Vector -Returns +Return ------- F: float + +Description +----------- +returns the value F=sum(||Pui - Bi*Pi||)2. returns the value G = grad(F) for the parameters Xi. ") Values; Standard_Boolean Values(const math_Vector & X, Standard_Real &OutValue, math_Vector & G); @@ -1745,11 +2019,10 @@ F: float ****************************************************************************/ class BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox { public: - /****************** BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox ******************/ - /**** md5 signature: 63854fa8eaf1a59d1f6521f47cb949f4 ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox::BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox ******/ + /****** md5 signature: 63854fa8eaf1a59d1f6521f47cb949f4 ******/ %feature("compactdefaultargs") BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox; - %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). - + %feature("autodoc", " Parameters ---------- SSP: BRepApprox_TheMultiLineOfApprox @@ -1760,17 +2033,20 @@ LastCons: AppParCurves_Constraint Parameters: math_Vector NbPol: int -Returns +Return ------- None + +Description +----------- +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). ") 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 ******************/ - /**** md5 signature: 13862a104259244c7e66c3cf257e5f13 ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox::BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox ******/ + /****** md5 signature: 13862a104259244c7e66c3cf257e5f13 ******/ %feature("compactdefaultargs") BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox; - %feature("autodoc", "Initializes the fields of the object. - + %feature("autodoc", " Parameters ---------- SSP: BRepApprox_TheMultiLineOfApprox @@ -1780,17 +2056,20 @@ FirstCons: AppParCurves_Constraint LastCons: AppParCurves_Constraint NbPol: int -Returns +Return ------- None + +Description +----------- +Initializes the fields of the object. ") 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 ******************/ - /**** md5 signature: 111e73f87885e55b085cf3e991ef150e ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox::BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox ******/ + /****** md5 signature: 111e73f87885e55b085cf3e991ef150e ******/ %feature("compactdefaultargs") BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox; - %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). - + %feature("autodoc", " Parameters ---------- SSP: BRepApprox_TheMultiLineOfApprox @@ -1803,17 +2082,20 @@ LastCons: AppParCurves_Constraint Parameters: math_Vector NbPol: int -Returns +Return ------- None + +Description +----------- +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). ") 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 ******************/ - /**** md5 signature: 0c7b493715ad0c1a97b3332bbc089cbb ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox::BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox ******/ + /****** md5 signature: 0c7b493715ad0c1a97b3332bbc089cbb ******/ %feature("compactdefaultargs") BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox; - %feature("autodoc", "Initializes the fields of the object. - + %feature("autodoc", " Parameters ---------- SSP: BRepApprox_TheMultiLineOfApprox @@ -1825,181 +2107,214 @@ FirstCons: AppParCurves_Constraint LastCons: AppParCurves_Constraint NbPol: int -Returns +Return ------- None + +Description +----------- +Initializes the fields of the object. ") 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 ******************/ - /**** md5 signature: a38863f7c9b6fa566ee9fea09f971d5c ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox::BSplineValue ******/ + /****** md5 signature: a38863f7c9b6fa566ee9fea09f971d5c ******/ %feature("compactdefaultargs") BSplineValue; - %feature("autodoc", "Returns the result of the approximation, i.e. all the curves. an exception is raised if notdone. - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiBSpCurve + +Description +----------- +returns the result of the approximation, i.e. all the Curves. An exception is raised if NotDone. ") BSplineValue; - const AppParCurves_MultiBSpCurve & BSplineValue(); + AppParCurves_MultiBSpCurve BSplineValue(); - /****************** BezierValue ******************/ - /**** md5 signature: 2bbd29cb039e6bcdcdf61afe82651ac1 ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox::BezierValue ******/ + /****** md5 signature: 2bbd29cb039e6bcdcdf61afe82651ac1 ******/ %feature("compactdefaultargs") BezierValue; - %feature("autodoc", "Returns the result of the approximation, i.e. all the curves. an exception is raised if notdone. - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiCurve + +Description +----------- +returns the result of the approximation, i.e. all the Curves. An exception is raised if NotDone. ") BezierValue; AppParCurves_MultiCurve BezierValue(); - /****************** DerivativeFunctionMatrix ******************/ - /**** md5 signature: c2dbca1da1c1c1aaf2ff7895be813eaf ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox::DerivativeFunctionMatrix ******/ + /****** md5 signature: c2dbca1da1c1c1aaf2ff7895be813eaf ******/ %feature("compactdefaultargs") DerivativeFunctionMatrix; - %feature("autodoc", "Returns the derivative function matrix used to approximate the set. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the derivative function matrix used to approximate the set. ") DerivativeFunctionMatrix; const math_Matrix & DerivativeFunctionMatrix(); - /****************** Distance ******************/ - /**** md5 signature: 608fad06f540e822f2b9f4d329c097b6 ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox::Distance ******/ + /****** md5 signature: 608fad06f540e822f2b9f4d329c097b6 ******/ %feature("compactdefaultargs") Distance; - %feature("autodoc", "Returns the distances between the points of the multiline and the approximation curves. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the distances between the points of the multiline and the approximation curves. ") Distance; const math_Matrix & Distance(); - /****************** Error ******************/ - /**** md5 signature: 7c05c0164fc88dbacc4d90d301fe7f12 ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox::Error ******/ + /****** md5 signature: 7c05c0164fc88dbacc4d90d301fe7f12 ******/ %feature("compactdefaultargs") Error; - %feature("autodoc", "Returns the maximum errors between the multiline and the approximation curves. f is the sum of the square distances. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- F: float MaxE3d: float MaxE2d: float + +Description +----------- +returns the maximum errors between the MultiLine and the approximation curves. F is the sum of the square distances. ") Error; void Error(Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** ErrorGradient ******************/ - /**** md5 signature: 3e5c3757aad8d0f394eda590c0bc62e3 ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox::ErrorGradient ******/ + /****** md5 signature: 3e5c3757aad8d0f394eda590c0bc62e3 ******/ %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. - + %feature("autodoc", " Parameters ---------- Grad: math_Vector -Returns +Return ------- F: float MaxE3d: float MaxE2d: float + +Description +----------- +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. ") ErrorGradient; void ErrorGradient(math_Vector & Grad, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** FirstLambda ******************/ - /**** md5 signature: 87ad21cc13708c47c81704b38426d999 ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox::FirstLambda ******/ + /****** md5 signature: 87ad21cc13708c47c81704b38426d999 ******/ %feature("compactdefaultargs") FirstLambda; - %feature("autodoc", "Returns the value (p2 - p1)/ v1 if the first point was a tangency point. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the value (P2 - P1)/ V1 if the first point was a tangency point. ") FirstLambda; Standard_Real FirstLambda(); - /****************** FunctionMatrix ******************/ - /**** md5 signature: aec90dd003c289db9092eb79712677e1 ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox::FunctionMatrix ******/ + /****** md5 signature: aec90dd003c289db9092eb79712677e1 ******/ %feature("compactdefaultargs") FunctionMatrix; - %feature("autodoc", "Returns the function matrix used to approximate the set. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the function matrix used to approximate the set. ") FunctionMatrix; const math_Matrix & FunctionMatrix(); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Returns true if all has been correctly done. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns True if all has been correctly done. ") IsDone; Standard_Boolean IsDone(); - /****************** KIndex ******************/ - /**** md5 signature: 2821052a9bfe72ec4f531ccb52a80ffb ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox::KIndex ******/ + /****** md5 signature: 2821052a9bfe72ec4f531ccb52a80ffb ******/ %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. - -Returns + %feature("autodoc", "Return ------- math_IntegerVector + +Description +----------- +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. ") KIndex; const math_IntegerVector & KIndex(); - /****************** LastLambda ******************/ - /**** md5 signature: f7e26790258c4ab513bae9dd1a5955e1 ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox::LastLambda ******/ + /****** md5 signature: f7e26790258c4ab513bae9dd1a5955e1 ******/ %feature("compactdefaultargs") LastLambda; - %feature("autodoc", "Returns the value (pn - pn-1)/ vn if the last point was a tangency point. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the value (PN - PN-1)/ VN if the last point was a tangency point. ") LastLambda; Standard_Real LastLambda(); - /****************** Perform ******************/ - /**** md5 signature: 5b8f20d810ea57d5223b42dfd01410ad ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox::Perform ******/ + /****** md5 signature: 5b8f20d810ea57d5223b42dfd01410ad ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Is used after having initialized the fields. the case 'curvaturepoint' is not treated in this method. - + %feature("autodoc", " Parameters ---------- Parameters: math_Vector -Returns +Return ------- None + +Description +----------- +Is used after having initialized the fields. The case 'CurvaturePoint' is not treated in this method. ") Perform; void Perform(const math_Vector & Parameters); - /****************** Perform ******************/ - /**** md5 signature: cbf083f2b8329680dc5a52f482f436ad ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox::Perform ******/ + /****** md5 signature: cbf083f2b8329680dc5a52f482f436ad ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Is used after having initialized the fields. - + %feature("autodoc", " Parameters ---------- Parameters: math_Vector l1: float l2: float -Returns +Return ------- None + +Description +----------- +Is used after having initialized the fields. ") Perform; void Perform(const math_Vector & Parameters, const Standard_Real l1, const Standard_Real l2); - /****************** Perform ******************/ - /**** md5 signature: 380f2440b07e3b3805c4eda2da2e8c6e ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox::Perform ******/ + /****** md5 signature: 380f2440b07e3b3805c4eda2da2e8c6e ******/ %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. - + %feature("autodoc", " Parameters ---------- Parameters: math_Vector @@ -2008,17 +2323,20 @@ V2t: math_Vector l1: float l2: float -Returns +Return ------- None + +Description +----------- +Is used after having initialized the fields. is the tangent vector at the first point. is the tangent vector at the last point. ") Perform; void Perform(const math_Vector & Parameters, const math_Vector & V1t, const math_Vector & V2t, const Standard_Real l1, const Standard_Real l2); - /****************** Perform ******************/ - /**** md5 signature: 5f7ecae6d947ca76138d939cdd616b0f ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox::Perform ******/ + /****** md5 signature: 5f7ecae6d947ca76138d939cdd616b0f ******/ %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. - + %feature("autodoc", " Parameters ---------- Parameters: math_Vector @@ -2029,31 +2347,39 @@ V2c: math_Vector l1: float l2: float -Returns +Return ------- None + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 8a77545526c5096bca80b9c07f882412 ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox::Points ******/ + /****** md5 signature: 8a77545526c5096bca80b9c07f882412 ******/ %feature("compactdefaultargs") Points; - %feature("autodoc", "Returns the matrix of points value. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the matrix of points value. ") Points; const math_Matrix & Points(); - /****************** Poles ******************/ - /**** md5 signature: 1437a652beb857bd22c16de65cb18857 ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox::Poles ******/ + /****** md5 signature: 1437a652beb857bd22c16de65cb18857 ******/ %feature("compactdefaultargs") Poles; - %feature("autodoc", "Returns the matrix of resulting control points value. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the matrix of resulting control points value. ") Poles; const math_Matrix & Poles(); @@ -2071,11 +2397,10 @@ math_Matrix *************************************************************************/ class BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox { public: - /****************** BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox ******************/ - /**** md5 signature: 3ac00deeb526d442bc1969e7ff78b1c3 ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox::BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox ******/ + /****** md5 signature: 3ac00deeb526d442bc1969e7ff78b1c3 ******/ %feature("compactdefaultargs") BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox; - %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). - + %feature("autodoc", " Parameters ---------- SSP: BRepApprox_TheMultiLineOfApprox @@ -2086,17 +2411,20 @@ LastCons: AppParCurves_Constraint Parameters: math_Vector NbPol: int -Returns +Return ------- None + +Description +----------- +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). ") 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 ******************/ - /**** md5 signature: 76f12d56ace7dfc439e7e0354cf1bd1c ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox::BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox ******/ + /****** md5 signature: 76f12d56ace7dfc439e7e0354cf1bd1c ******/ %feature("compactdefaultargs") BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox; - %feature("autodoc", "Initializes the fields of the object. - + %feature("autodoc", " Parameters ---------- SSP: BRepApprox_TheMultiLineOfApprox @@ -2106,17 +2434,20 @@ FirstCons: AppParCurves_Constraint LastCons: AppParCurves_Constraint NbPol: int -Returns +Return ------- None + +Description +----------- +Initializes the fields of the object. ") 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 ******************/ - /**** md5 signature: 29e7f98ecf848591af511976103e0377 ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox::BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox ******/ + /****** md5 signature: 29e7f98ecf848591af511976103e0377 ******/ %feature("compactdefaultargs") BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox; - %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). - + %feature("autodoc", " Parameters ---------- SSP: BRepApprox_TheMultiLineOfApprox @@ -2129,17 +2460,20 @@ LastCons: AppParCurves_Constraint Parameters: math_Vector NbPol: int -Returns +Return ------- None + +Description +----------- +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). ") 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 ******************/ - /**** md5 signature: d4db96f964b7c67c71af6a1ce55ab129 ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox::BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox ******/ + /****** md5 signature: d4db96f964b7c67c71af6a1ce55ab129 ******/ %feature("compactdefaultargs") BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox; - %feature("autodoc", "Initializes the fields of the object. - + %feature("autodoc", " Parameters ---------- SSP: BRepApprox_TheMultiLineOfApprox @@ -2151,181 +2485,214 @@ FirstCons: AppParCurves_Constraint LastCons: AppParCurves_Constraint NbPol: int -Returns +Return ------- None + +Description +----------- +Initializes the fields of the object. ") 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 ******************/ - /**** md5 signature: a38863f7c9b6fa566ee9fea09f971d5c ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox::BSplineValue ******/ + /****** md5 signature: a38863f7c9b6fa566ee9fea09f971d5c ******/ %feature("compactdefaultargs") BSplineValue; - %feature("autodoc", "Returns the result of the approximation, i.e. all the curves. an exception is raised if notdone. - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiBSpCurve + +Description +----------- +returns the result of the approximation, i.e. all the Curves. An exception is raised if NotDone. ") BSplineValue; - const AppParCurves_MultiBSpCurve & BSplineValue(); + AppParCurves_MultiBSpCurve BSplineValue(); - /****************** BezierValue ******************/ - /**** md5 signature: 2bbd29cb039e6bcdcdf61afe82651ac1 ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox::BezierValue ******/ + /****** md5 signature: 2bbd29cb039e6bcdcdf61afe82651ac1 ******/ %feature("compactdefaultargs") BezierValue; - %feature("autodoc", "Returns the result of the approximation, i.e. all the curves. an exception is raised if notdone. - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiCurve + +Description +----------- +returns the result of the approximation, i.e. all the Curves. An exception is raised if NotDone. ") BezierValue; AppParCurves_MultiCurve BezierValue(); - /****************** DerivativeFunctionMatrix ******************/ - /**** md5 signature: c2dbca1da1c1c1aaf2ff7895be813eaf ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox::DerivativeFunctionMatrix ******/ + /****** md5 signature: c2dbca1da1c1c1aaf2ff7895be813eaf ******/ %feature("compactdefaultargs") DerivativeFunctionMatrix; - %feature("autodoc", "Returns the derivative function matrix used to approximate the set. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the derivative function matrix used to approximate the set. ") DerivativeFunctionMatrix; const math_Matrix & DerivativeFunctionMatrix(); - /****************** Distance ******************/ - /**** md5 signature: 608fad06f540e822f2b9f4d329c097b6 ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox::Distance ******/ + /****** md5 signature: 608fad06f540e822f2b9f4d329c097b6 ******/ %feature("compactdefaultargs") Distance; - %feature("autodoc", "Returns the distances between the points of the multiline and the approximation curves. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the distances between the points of the multiline and the approximation curves. ") Distance; const math_Matrix & Distance(); - /****************** Error ******************/ - /**** md5 signature: 7c05c0164fc88dbacc4d90d301fe7f12 ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox::Error ******/ + /****** md5 signature: 7c05c0164fc88dbacc4d90d301fe7f12 ******/ %feature("compactdefaultargs") Error; - %feature("autodoc", "Returns the maximum errors between the multiline and the approximation curves. f is the sum of the square distances. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- F: float MaxE3d: float MaxE2d: float + +Description +----------- +returns the maximum errors between the MultiLine and the approximation curves. F is the sum of the square distances. ") Error; void Error(Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** ErrorGradient ******************/ - /**** md5 signature: 3e5c3757aad8d0f394eda590c0bc62e3 ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox::ErrorGradient ******/ + /****** md5 signature: 3e5c3757aad8d0f394eda590c0bc62e3 ******/ %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. - + %feature("autodoc", " Parameters ---------- Grad: math_Vector -Returns +Return ------- F: float MaxE3d: float MaxE2d: float + +Description +----------- +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. ") ErrorGradient; void ErrorGradient(math_Vector & Grad, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** FirstLambda ******************/ - /**** md5 signature: 87ad21cc13708c47c81704b38426d999 ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox::FirstLambda ******/ + /****** md5 signature: 87ad21cc13708c47c81704b38426d999 ******/ %feature("compactdefaultargs") FirstLambda; - %feature("autodoc", "Returns the value (p2 - p1)/ v1 if the first point was a tangency point. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the value (P2 - P1)/ V1 if the first point was a tangency point. ") FirstLambda; Standard_Real FirstLambda(); - /****************** FunctionMatrix ******************/ - /**** md5 signature: aec90dd003c289db9092eb79712677e1 ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox::FunctionMatrix ******/ + /****** md5 signature: aec90dd003c289db9092eb79712677e1 ******/ %feature("compactdefaultargs") FunctionMatrix; - %feature("autodoc", "Returns the function matrix used to approximate the set. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the function matrix used to approximate the set. ") FunctionMatrix; const math_Matrix & FunctionMatrix(); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Returns true if all has been correctly done. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns True if all has been correctly done. ") IsDone; Standard_Boolean IsDone(); - /****************** KIndex ******************/ - /**** md5 signature: 2821052a9bfe72ec4f531ccb52a80ffb ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox::KIndex ******/ + /****** md5 signature: 2821052a9bfe72ec4f531ccb52a80ffb ******/ %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. - -Returns + %feature("autodoc", "Return ------- math_IntegerVector + +Description +----------- +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. ") KIndex; const math_IntegerVector & KIndex(); - /****************** LastLambda ******************/ - /**** md5 signature: f7e26790258c4ab513bae9dd1a5955e1 ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox::LastLambda ******/ + /****** md5 signature: f7e26790258c4ab513bae9dd1a5955e1 ******/ %feature("compactdefaultargs") LastLambda; - %feature("autodoc", "Returns the value (pn - pn-1)/ vn if the last point was a tangency point. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the value (PN - PN-1)/ VN if the last point was a tangency point. ") LastLambda; Standard_Real LastLambda(); - /****************** Perform ******************/ - /**** md5 signature: 5b8f20d810ea57d5223b42dfd01410ad ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox::Perform ******/ + /****** md5 signature: 5b8f20d810ea57d5223b42dfd01410ad ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Is used after having initialized the fields. the case 'curvaturepoint' is not treated in this method. - + %feature("autodoc", " Parameters ---------- Parameters: math_Vector -Returns +Return ------- None + +Description +----------- +Is used after having initialized the fields. The case 'CurvaturePoint' is not treated in this method. ") Perform; void Perform(const math_Vector & Parameters); - /****************** Perform ******************/ - /**** md5 signature: cbf083f2b8329680dc5a52f482f436ad ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox::Perform ******/ + /****** md5 signature: cbf083f2b8329680dc5a52f482f436ad ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Is used after having initialized the fields. - + %feature("autodoc", " Parameters ---------- Parameters: math_Vector l1: float l2: float -Returns +Return ------- None + +Description +----------- +Is used after having initialized the fields. ") Perform; void Perform(const math_Vector & Parameters, const Standard_Real l1, const Standard_Real l2); - /****************** Perform ******************/ - /**** md5 signature: 380f2440b07e3b3805c4eda2da2e8c6e ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox::Perform ******/ + /****** md5 signature: 380f2440b07e3b3805c4eda2da2e8c6e ******/ %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. - + %feature("autodoc", " Parameters ---------- Parameters: math_Vector @@ -2334,17 +2701,20 @@ V2t: math_Vector l1: float l2: float -Returns +Return ------- None + +Description +----------- +Is used after having initialized the fields. is the tangent vector at the first point. is the tangent vector at the last point. ") Perform; void Perform(const math_Vector & Parameters, const math_Vector & V1t, const math_Vector & V2t, const Standard_Real l1, const Standard_Real l2); - /****************** Perform ******************/ - /**** md5 signature: 5f7ecae6d947ca76138d939cdd616b0f ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox::Perform ******/ + /****** md5 signature: 5f7ecae6d947ca76138d939cdd616b0f ******/ %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. - + %feature("autodoc", " Parameters ---------- Parameters: math_Vector @@ -2355,31 +2725,39 @@ V2c: math_Vector l1: float l2: float -Returns +Return ------- None + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 8a77545526c5096bca80b9c07f882412 ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox::Points ******/ + /****** md5 signature: 8a77545526c5096bca80b9c07f882412 ******/ %feature("compactdefaultargs") Points; - %feature("autodoc", "Returns the matrix of points value. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the matrix of points value. ") Points; const math_Matrix & Points(); - /****************** Poles ******************/ - /**** md5 signature: 1437a652beb857bd22c16de65cb18857 ****/ + /****** BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox::Poles ******/ + /****** md5 signature: 1437a652beb857bd22c16de65cb18857 ******/ %feature("compactdefaultargs") Poles; - %feature("autodoc", "Returns the matrix of resulting control points value. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the matrix of resulting control points value. ") Poles; const math_Matrix & Poles(); @@ -2397,11 +2775,10 @@ math_Matrix ***************************************************************************/ class BRepApprox_ResConstraintOfMyGradientOfTheComputeLineBezierOfApprox { public: - /****************** BRepApprox_ResConstraintOfMyGradientOfTheComputeLineBezierOfApprox ******************/ - /**** md5 signature: 99259d6924dc08d39374b51f073bcefa ****/ + /****** BRepApprox_ResConstraintOfMyGradientOfTheComputeLineBezierOfApprox::BRepApprox_ResConstraintOfMyGradientOfTheComputeLineBezierOfApprox ******/ + /****** md5 signature: 99259d6924dc08d39374b51f073bcefa ******/ %feature("compactdefaultargs") BRepApprox_ResConstraintOfMyGradientOfTheComputeLineBezierOfApprox; - %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. - + %feature("autodoc", " Parameters ---------- SSP: BRepApprox_TheMultiLineOfApprox @@ -2411,20 +2788,22 @@ LastPoint: int Constraints: AppParCurves_HArray1OfConstraintCouple Bern: math_Matrix DerivativeBern: math_Matrix -Tolerance: float,optional - default value is 1.0e-10 +Tolerance: float (optional, default to 1.0e-10) -Returns +Return ------- None + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: e6efe1da7f8bd48fafb9318a027deeea ****/ + /****** BRepApprox_ResConstraintOfMyGradientOfTheComputeLineBezierOfApprox::ConstraintDerivative ******/ + /****** md5 signature: e6efe1da7f8bd48fafb9318a027deeea ******/ %feature("compactdefaultargs") ConstraintDerivative; - %feature("autodoc", "Returns the derivative of the constraint matrix. - + %feature("autodoc", " Parameters ---------- SSP: BRepApprox_TheMultiLineOfApprox @@ -2432,53 +2811,65 @@ Parameters: math_Vector Deg: int DA: math_Matrix -Returns +Return ------- math_Matrix + +Description +----------- +Returns the derivative of the constraint matrix. ") ConstraintDerivative; const math_Matrix & ConstraintDerivative(const BRepApprox_TheMultiLineOfApprox & SSP, const math_Vector & Parameters, const Standard_Integer Deg, const math_Matrix & DA); - /****************** ConstraintMatrix ******************/ - /**** md5 signature: 22481357cd3fa297d87302ab5bf68ab7 ****/ + /****** BRepApprox_ResConstraintOfMyGradientOfTheComputeLineBezierOfApprox::ConstraintMatrix ******/ + /****** md5 signature: 22481357cd3fa297d87302ab5bf68ab7 ******/ %feature("compactdefaultargs") ConstraintMatrix; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +No available documentation. ") ConstraintMatrix; const math_Matrix & ConstraintMatrix(); - /****************** Duale ******************/ - /**** md5 signature: fa2d61bba97045a52b936ca097de9f1b ****/ + /****** BRepApprox_ResConstraintOfMyGradientOfTheComputeLineBezierOfApprox::Duale ******/ + /****** md5 signature: fa2d61bba97045a52b936ca097de9f1b ******/ %feature("compactdefaultargs") Duale; - %feature("autodoc", "Returns the duale variables of the system. - -Returns + %feature("autodoc", "Return ------- math_Vector + +Description +----------- +returns the duale variables of the system. ") Duale; const math_Vector & Duale(); - /****************** InverseMatrix ******************/ - /**** md5 signature: 6c593c2bc8580243a5ff315f7f6a1f0e ****/ + /****** BRepApprox_ResConstraintOfMyGradientOfTheComputeLineBezierOfApprox::InverseMatrix ******/ + /****** md5 signature: 6c593c2bc8580243a5ff315f7f6a1f0e ******/ %feature("compactdefaultargs") InverseMatrix; - %feature("autodoc", "Returns the inverse of cont*transposed(cont), where cont is the constraint matrix for the algorithm. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the Inverse of Cont*Transposed(Cont), where Cont is the constraint matrix for the algorithm. ") InverseMatrix; const math_Matrix & InverseMatrix(); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** BRepApprox_ResConstraintOfMyGradientOfTheComputeLineBezierOfApprox::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Returns true if all has been correctly done. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns True if all has been correctly done. ") IsDone; Standard_Boolean IsDone(); @@ -2500,11 +2891,10 @@ bool ************************************************************************/ class BRepApprox_ResConstraintOfMyGradientbisOfTheComputeLineOfApprox { public: - /****************** BRepApprox_ResConstraintOfMyGradientbisOfTheComputeLineOfApprox ******************/ - /**** md5 signature: fb3d32286bcfc0e8b2a0d9780cdbeefd ****/ + /****** BRepApprox_ResConstraintOfMyGradientbisOfTheComputeLineOfApprox::BRepApprox_ResConstraintOfMyGradientbisOfTheComputeLineOfApprox ******/ + /****** md5 signature: fb3d32286bcfc0e8b2a0d9780cdbeefd ******/ %feature("compactdefaultargs") BRepApprox_ResConstraintOfMyGradientbisOfTheComputeLineOfApprox; - %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. - + %feature("autodoc", " Parameters ---------- SSP: BRepApprox_TheMultiLineOfApprox @@ -2514,20 +2904,22 @@ LastPoint: int Constraints: AppParCurves_HArray1OfConstraintCouple Bern: math_Matrix DerivativeBern: math_Matrix -Tolerance: float,optional - default value is 1.0e-10 +Tolerance: float (optional, default to 1.0e-10) -Returns +Return ------- None + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: e6efe1da7f8bd48fafb9318a027deeea ****/ + /****** BRepApprox_ResConstraintOfMyGradientbisOfTheComputeLineOfApprox::ConstraintDerivative ******/ + /****** md5 signature: e6efe1da7f8bd48fafb9318a027deeea ******/ %feature("compactdefaultargs") ConstraintDerivative; - %feature("autodoc", "Returns the derivative of the constraint matrix. - + %feature("autodoc", " Parameters ---------- SSP: BRepApprox_TheMultiLineOfApprox @@ -2535,53 +2927,65 @@ Parameters: math_Vector Deg: int DA: math_Matrix -Returns +Return ------- math_Matrix + +Description +----------- +Returns the derivative of the constraint matrix. ") ConstraintDerivative; const math_Matrix & ConstraintDerivative(const BRepApprox_TheMultiLineOfApprox & SSP, const math_Vector & Parameters, const Standard_Integer Deg, const math_Matrix & DA); - /****************** ConstraintMatrix ******************/ - /**** md5 signature: 22481357cd3fa297d87302ab5bf68ab7 ****/ + /****** BRepApprox_ResConstraintOfMyGradientbisOfTheComputeLineOfApprox::ConstraintMatrix ******/ + /****** md5 signature: 22481357cd3fa297d87302ab5bf68ab7 ******/ %feature("compactdefaultargs") ConstraintMatrix; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +No available documentation. ") ConstraintMatrix; const math_Matrix & ConstraintMatrix(); - /****************** Duale ******************/ - /**** md5 signature: fa2d61bba97045a52b936ca097de9f1b ****/ + /****** BRepApprox_ResConstraintOfMyGradientbisOfTheComputeLineOfApprox::Duale ******/ + /****** md5 signature: fa2d61bba97045a52b936ca097de9f1b ******/ %feature("compactdefaultargs") Duale; - %feature("autodoc", "Returns the duale variables of the system. - -Returns + %feature("autodoc", "Return ------- math_Vector + +Description +----------- +returns the duale variables of the system. ") Duale; const math_Vector & Duale(); - /****************** InverseMatrix ******************/ - /**** md5 signature: 6c593c2bc8580243a5ff315f7f6a1f0e ****/ + /****** BRepApprox_ResConstraintOfMyGradientbisOfTheComputeLineOfApprox::InverseMatrix ******/ + /****** md5 signature: 6c593c2bc8580243a5ff315f7f6a1f0e ******/ %feature("compactdefaultargs") InverseMatrix; - %feature("autodoc", "Returns the inverse of cont*transposed(cont), where cont is the constraint matrix for the algorithm. - -Returns + %feature("autodoc", "Return ------- math_Matrix + +Description +----------- +returns the Inverse of Cont*Transposed(Cont), where Cont is the constraint matrix for the algorithm. ") InverseMatrix; const math_Matrix & InverseMatrix(); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** BRepApprox_ResConstraintOfMyGradientbisOfTheComputeLineOfApprox::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Returns true if all has been correctly done. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns True if all has been correctly done. ") IsDone; Standard_Boolean IsDone(); @@ -2598,342 +3002,1118 @@ bool } }; +/******************************* +* class BRepApprox_SurfaceTool * +*******************************/ +class BRepApprox_SurfaceTool { + public: + /****** BRepApprox_SurfaceTool::AxeOfRevolution ******/ + /****** md5 signature: e74ddc82b514035b2ffd7f88d2b60038 ******/ + %feature("compactdefaultargs") AxeOfRevolution; + %feature("autodoc", " +Parameters +---------- +S: BRepAdaptor_Surface + +Return +------- +gp_Ax1 + +Description +----------- +No available documentation. +") AxeOfRevolution; + static gp_Ax1 AxeOfRevolution(const BRepAdaptor_Surface & S); + + /****** BRepApprox_SurfaceTool::BSpline ******/ + /****** md5 signature: 8823cc18f3c251d3ffceeccbb2153a6e ******/ + %feature("compactdefaultargs") BSpline; + %feature("autodoc", " +Parameters +---------- +S: BRepAdaptor_Surface + +Return +------- +opencascade::handle + +Description +----------- +No available documentation. +") BSpline; + static opencascade::handle BSpline(const BRepAdaptor_Surface & S); + + /****** BRepApprox_SurfaceTool::BasisCurve ******/ + /****** md5 signature: e478db15ad97826612a335af3f6203d4 ******/ + %feature("compactdefaultargs") BasisCurve; + %feature("autodoc", " +Parameters +---------- +S: BRepAdaptor_Surface + +Return +------- +opencascade::handle + +Description +----------- +No available documentation. +") BasisCurve; + static opencascade::handle BasisCurve(const BRepAdaptor_Surface & S); + + /****** BRepApprox_SurfaceTool::Bezier ******/ + /****** md5 signature: 62f42b64dcf4c9aa24777b580455fde2 ******/ + %feature("compactdefaultargs") Bezier; + %feature("autodoc", " +Parameters +---------- +S: BRepAdaptor_Surface + +Return +------- +opencascade::handle + +Description +----------- +No available documentation. +") Bezier; + static opencascade::handle Bezier(const BRepAdaptor_Surface & S); + + /****** BRepApprox_SurfaceTool::Cone ******/ + /****** md5 signature: 60e200b1f39d35dabc589ba60baa4aca ******/ + %feature("compactdefaultargs") Cone; + %feature("autodoc", " +Parameters +---------- +S: BRepAdaptor_Surface + +Return +------- +gp_Cone + +Description +----------- +No available documentation. +") Cone; + static gp_Cone Cone(const BRepAdaptor_Surface & S); + + /****** BRepApprox_SurfaceTool::Cylinder ******/ + /****** md5 signature: bfaaa184a2452948fdd6ce69925769c3 ******/ + %feature("compactdefaultargs") Cylinder; + %feature("autodoc", " +Parameters +---------- +S: BRepAdaptor_Surface + +Return +------- +gp_Cylinder + +Description +----------- +No available documentation. +") Cylinder; + static gp_Cylinder Cylinder(const BRepAdaptor_Surface & S); + + /****** BRepApprox_SurfaceTool::D0 ******/ + /****** md5 signature: f6727a78f574aa9b66c39e1e96c68942 ******/ + %feature("compactdefaultargs") D0; + %feature("autodoc", " +Parameters +---------- +S: BRepAdaptor_Surface +u: float +v: float +P: gp_Pnt + +Return +------- +None + +Description +----------- +No available documentation. +") D0; + static void D0(const BRepAdaptor_Surface & S, const Standard_Real u, const Standard_Real v, gp_Pnt & P); + + /****** BRepApprox_SurfaceTool::D1 ******/ + /****** md5 signature: 592559bc5aad46ba1e187df1e73ad838 ******/ + %feature("compactdefaultargs") D1; + %feature("autodoc", " +Parameters +---------- +S: BRepAdaptor_Surface +u: float +v: float +P: gp_Pnt +D1u: gp_Vec +D1v: gp_Vec + +Return +------- +None + +Description +----------- +No available documentation. +") 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); + + /****** BRepApprox_SurfaceTool::D2 ******/ + /****** md5 signature: a71fc6f6361481ce024985ac00c43f2e ******/ + %feature("compactdefaultargs") D2; + %feature("autodoc", " +Parameters +---------- +S: BRepAdaptor_Surface +u: float +v: float +P: gp_Pnt +D1U: gp_Vec +D1V: gp_Vec +D2U: gp_Vec +D2V: gp_Vec +D2UV: gp_Vec + +Return +------- +None + +Description +----------- +No available documentation. +") 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 & D2UV); + + /****** BRepApprox_SurfaceTool::D3 ******/ + /****** md5 signature: 93d118ed99ecd1fad00e03761b8d27f7 ******/ + %feature("compactdefaultargs") D3; + %feature("autodoc", " +Parameters +---------- +S: BRepAdaptor_Surface +u: float +v: float +P: gp_Pnt +D1U: gp_Vec +D1V: gp_Vec +D2U: gp_Vec +D2V: gp_Vec +D2UV: gp_Vec +D3U: gp_Vec +D3V: gp_Vec +D3UUV: gp_Vec +D3UVV: gp_Vec + +Return +------- +None + +Description +----------- +No available documentation. +") D3; + static void D3(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 & D2UV, gp_Vec & D3U, gp_Vec & D3V, gp_Vec & D3UUV, gp_Vec & D3UVV); + + /****** BRepApprox_SurfaceTool::DN ******/ + /****** md5 signature: d1b963467520172ef209df0b307bcadc ******/ + %feature("compactdefaultargs") DN; + %feature("autodoc", " +Parameters +---------- +S: BRepAdaptor_Surface +u: float +v: float +Nu: int +Nv: int + +Return +------- +gp_Vec + +Description +----------- +No available documentation. +") DN; + static gp_Vec DN(const BRepAdaptor_Surface & S, const Standard_Real u, const Standard_Real v, const Standard_Integer Nu, const Standard_Integer Nv); + + /****** BRepApprox_SurfaceTool::Direction ******/ + /****** md5 signature: fd02ced937782132e0e4554d6bbe3252 ******/ + %feature("compactdefaultargs") Direction; + %feature("autodoc", " +Parameters +---------- +S: BRepAdaptor_Surface + +Return +------- +gp_Dir + +Description +----------- +No available documentation. +") Direction; + static gp_Dir Direction(const BRepAdaptor_Surface & S); + + /****** BRepApprox_SurfaceTool::FirstUParameter ******/ + /****** md5 signature: 215eefdde5b80a72e0c8d839d2b57409 ******/ + %feature("compactdefaultargs") FirstUParameter; + %feature("autodoc", " +Parameters +---------- +S: BRepAdaptor_Surface + +Return +------- +float + +Description +----------- +No available documentation. +") FirstUParameter; + static Standard_Real FirstUParameter(const BRepAdaptor_Surface & S); + + /****** BRepApprox_SurfaceTool::FirstVParameter ******/ + /****** md5 signature: 1f862d65413056d08b9c3704b06a0163 ******/ + %feature("compactdefaultargs") FirstVParameter; + %feature("autodoc", " +Parameters +---------- +S: BRepAdaptor_Surface + +Return +------- +float + +Description +----------- +No available documentation. +") FirstVParameter; + static Standard_Real FirstVParameter(const BRepAdaptor_Surface & S); + + /****** BRepApprox_SurfaceTool::GetType ******/ + /****** md5 signature: a6cd815bc857179031573432757ec63b ******/ + %feature("compactdefaultargs") GetType; + %feature("autodoc", " +Parameters +---------- +S: BRepAdaptor_Surface + +Return +------- +GeomAbs_SurfaceType + +Description +----------- +No available documentation. +") GetType; + static GeomAbs_SurfaceType GetType(const BRepAdaptor_Surface & S); + + /****** BRepApprox_SurfaceTool::IsUClosed ******/ + /****** md5 signature: 6352112928c9c27caadc94909335e74d ******/ + %feature("compactdefaultargs") IsUClosed; + %feature("autodoc", " +Parameters +---------- +S: BRepAdaptor_Surface + +Return +------- +bool + +Description +----------- +No available documentation. +") IsUClosed; + static Standard_Boolean IsUClosed(const BRepAdaptor_Surface & S); + + /****** BRepApprox_SurfaceTool::IsUPeriodic ******/ + /****** md5 signature: f5b175e4f6dd57d65b7aa72c2941467e ******/ + %feature("compactdefaultargs") IsUPeriodic; + %feature("autodoc", " +Parameters +---------- +S: BRepAdaptor_Surface + +Return +------- +bool + +Description +----------- +No available documentation. +") IsUPeriodic; + static Standard_Boolean IsUPeriodic(const BRepAdaptor_Surface & S); + + /****** BRepApprox_SurfaceTool::IsVClosed ******/ + /****** md5 signature: d9c119797cf9f8b013e890abad3502ab ******/ + %feature("compactdefaultargs") IsVClosed; + %feature("autodoc", " +Parameters +---------- +S: BRepAdaptor_Surface + +Return +------- +bool + +Description +----------- +No available documentation. +") IsVClosed; + static Standard_Boolean IsVClosed(const BRepAdaptor_Surface & S); + + /****** BRepApprox_SurfaceTool::IsVPeriodic ******/ + /****** md5 signature: 1e0af70e4e59762e37b38845553d100d ******/ + %feature("compactdefaultargs") IsVPeriodic; + %feature("autodoc", " +Parameters +---------- +S: BRepAdaptor_Surface + +Return +------- +bool + +Description +----------- +No available documentation. +") IsVPeriodic; + static Standard_Boolean IsVPeriodic(const BRepAdaptor_Surface & S); + + /****** BRepApprox_SurfaceTool::LastUParameter ******/ + /****** md5 signature: 29020e982d52766d727d8ac302b0c02e ******/ + %feature("compactdefaultargs") LastUParameter; + %feature("autodoc", " +Parameters +---------- +S: BRepAdaptor_Surface + +Return +------- +float + +Description +----------- +No available documentation. +") LastUParameter; + static Standard_Real LastUParameter(const BRepAdaptor_Surface & S); + + /****** BRepApprox_SurfaceTool::LastVParameter ******/ + /****** md5 signature: c3df7f5e21991452c33bf232ce7d9562 ******/ + %feature("compactdefaultargs") LastVParameter; + %feature("autodoc", " +Parameters +---------- +S: BRepAdaptor_Surface + +Return +------- +float + +Description +----------- +No available documentation. +") LastVParameter; + static Standard_Real LastVParameter(const BRepAdaptor_Surface & S); + + /****** BRepApprox_SurfaceTool::NbSamplesU ******/ + /****** md5 signature: 9164ce7f9a16f7530e1e9750e637940d ******/ + %feature("compactdefaultargs") NbSamplesU; + %feature("autodoc", " +Parameters +---------- +S: BRepAdaptor_Surface + +Return +------- +int + +Description +----------- +No available documentation. +") NbSamplesU; + static Standard_Integer NbSamplesU(const BRepAdaptor_Surface & S); + + /****** BRepApprox_SurfaceTool::NbSamplesU ******/ + /****** md5 signature: 8e4fac5817077b00af0164eaa2215b8b ******/ + %feature("compactdefaultargs") NbSamplesU; + %feature("autodoc", " +Parameters +---------- +S: BRepAdaptor_Surface +u1: float +u2: float + +Return +------- +int + +Description +----------- +No available documentation. +") NbSamplesU; + static Standard_Integer NbSamplesU(const BRepAdaptor_Surface & S, const Standard_Real u1, const Standard_Real u2); + + /****** BRepApprox_SurfaceTool::NbSamplesV ******/ + /****** md5 signature: 86d363ec0f4f7e93676b703a15088c2d ******/ + %feature("compactdefaultargs") NbSamplesV; + %feature("autodoc", " +Parameters +---------- +S: BRepAdaptor_Surface + +Return +------- +int + +Description +----------- +No available documentation. +") NbSamplesV; + static Standard_Integer NbSamplesV(const BRepAdaptor_Surface & S); + + /****** BRepApprox_SurfaceTool::NbSamplesV ******/ + /****** md5 signature: 54516aa4669245c8ce78f61e9ac5d717 ******/ + %feature("compactdefaultargs") NbSamplesV; + %feature("autodoc", " +Parameters +---------- +S: BRepAdaptor_Surface +v1: float +v2: float + +Return +------- +int + +Description +----------- +No available documentation. +") NbSamplesV; + static Standard_Integer NbSamplesV(const BRepAdaptor_Surface & S, const Standard_Real v1, const Standard_Real v2); + + /****** BRepApprox_SurfaceTool::NbUIntervals ******/ + /****** md5 signature: b5e43427d66fa95d633f0ee4dac920ea ******/ + %feature("compactdefaultargs") NbUIntervals; + %feature("autodoc", " +Parameters +---------- +S: BRepAdaptor_Surface +Sh: GeomAbs_Shape + +Return +------- +int + +Description +----------- +No available documentation. +") NbUIntervals; + static Standard_Integer NbUIntervals(const BRepAdaptor_Surface & S, const GeomAbs_Shape Sh); + + /****** BRepApprox_SurfaceTool::NbVIntervals ******/ + /****** md5 signature: 71031702e09c8708c0d4c82d81aa774c ******/ + %feature("compactdefaultargs") NbVIntervals; + %feature("autodoc", " +Parameters +---------- +S: BRepAdaptor_Surface +Sh: GeomAbs_Shape + +Return +------- +int + +Description +----------- +No available documentation. +") NbVIntervals; + static Standard_Integer NbVIntervals(const BRepAdaptor_Surface & S, const GeomAbs_Shape Sh); + + /****** BRepApprox_SurfaceTool::Plane ******/ + /****** md5 signature: d0190f93fe1c317fbab00796fd96a8dc ******/ + %feature("compactdefaultargs") Plane; + %feature("autodoc", " +Parameters +---------- +S: BRepAdaptor_Surface + +Return +------- +gp_Pln + +Description +----------- +No available documentation. +") Plane; + static gp_Pln Plane(const BRepAdaptor_Surface & S); + + /****** BRepApprox_SurfaceTool::Sphere ******/ + /****** md5 signature: 7ea900cd4234a848efc1dc920aae1ebf ******/ + %feature("compactdefaultargs") Sphere; + %feature("autodoc", " +Parameters +---------- +S: BRepAdaptor_Surface + +Return +------- +gp_Sphere + +Description +----------- +No available documentation. +") Sphere; + static gp_Sphere Sphere(const BRepAdaptor_Surface & S); + + /****** BRepApprox_SurfaceTool::Torus ******/ + /****** md5 signature: 2b2cfc6e29aa0d6a184ce0e0783a8465 ******/ + %feature("compactdefaultargs") Torus; + %feature("autodoc", " +Parameters +---------- +S: BRepAdaptor_Surface + +Return +------- +gp_Torus + +Description +----------- +No available documentation. +") Torus; + static gp_Torus Torus(const BRepAdaptor_Surface & S); + + /****** BRepApprox_SurfaceTool::UIntervals ******/ + /****** md5 signature: fbe812da680c850950d7ed23300ce95c ******/ + %feature("compactdefaultargs") UIntervals; + %feature("autodoc", " +Parameters +---------- +S: BRepAdaptor_Surface +T: TColStd_Array1OfReal +Sh: GeomAbs_Shape + +Return +------- +None + +Description +----------- +No available documentation. +") UIntervals; + static void UIntervals(const BRepAdaptor_Surface & S, TColStd_Array1OfReal & T, const GeomAbs_Shape Sh); + + /****** BRepApprox_SurfaceTool::UPeriod ******/ + /****** md5 signature: 1426e6a3ff241c573f4f523c672fd425 ******/ + %feature("compactdefaultargs") UPeriod; + %feature("autodoc", " +Parameters +---------- +S: BRepAdaptor_Surface + +Return +------- +float + +Description +----------- +No available documentation. +") UPeriod; + static Standard_Real UPeriod(const BRepAdaptor_Surface & S); + + /****** BRepApprox_SurfaceTool::UResolution ******/ + /****** md5 signature: d2dc7ef7ab08f98e32e14a9c42fc67d4 ******/ + %feature("compactdefaultargs") UResolution; + %feature("autodoc", " +Parameters +---------- +S: BRepAdaptor_Surface +R3d: float + +Return +------- +float + +Description +----------- +No available documentation. +") UResolution; + static Standard_Real UResolution(const BRepAdaptor_Surface & S, const Standard_Real R3d); + + /****** BRepApprox_SurfaceTool::UTrim ******/ + /****** md5 signature: bdf57f0192f6ba6a046f6fd4b1f37b23 ******/ + %feature("compactdefaultargs") UTrim; + %feature("autodoc", " +Parameters +---------- +S: BRepAdaptor_Surface +First: float +Last: float +Tol: float + +Return +------- +opencascade::handle + +Description +----------- +If >= . +") UTrim; + static opencascade::handle UTrim(const BRepAdaptor_Surface & S, const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + + /****** BRepApprox_SurfaceTool::VIntervals ******/ + /****** md5 signature: f8f1b75e1a214b4246fee76165c9ced2 ******/ + %feature("compactdefaultargs") VIntervals; + %feature("autodoc", " +Parameters +---------- +S: BRepAdaptor_Surface +T: TColStd_Array1OfReal +Sh: GeomAbs_Shape + +Return +------- +None + +Description +----------- +No available documentation. +") VIntervals; + static void VIntervals(const BRepAdaptor_Surface & S, TColStd_Array1OfReal & T, const GeomAbs_Shape Sh); + + /****** BRepApprox_SurfaceTool::VPeriod ******/ + /****** md5 signature: 76e1f053e14f3e5f4a44e609df017849 ******/ + %feature("compactdefaultargs") VPeriod; + %feature("autodoc", " +Parameters +---------- +S: BRepAdaptor_Surface + +Return +------- +float + +Description +----------- +No available documentation. +") VPeriod; + static Standard_Real VPeriod(const BRepAdaptor_Surface & S); + + /****** BRepApprox_SurfaceTool::VResolution ******/ + /****** md5 signature: 774befbab33949449d55bbb78eb82b14 ******/ + %feature("compactdefaultargs") VResolution; + %feature("autodoc", " +Parameters +---------- +S: BRepAdaptor_Surface +R3d: float + +Return +------- +float + +Description +----------- +No available documentation. +") VResolution; + static Standard_Real VResolution(const BRepAdaptor_Surface & S, const Standard_Real R3d); + + /****** BRepApprox_SurfaceTool::VTrim ******/ + /****** md5 signature: 5d6a8558cceb08dff23363d72161ae0a ******/ + %feature("compactdefaultargs") VTrim; + %feature("autodoc", " +Parameters +---------- +S: BRepAdaptor_Surface +First: float +Last: float +Tol: float + +Return +------- +opencascade::handle + +Description +----------- +If >= . +") VTrim; + static opencascade::handle VTrim(const BRepAdaptor_Surface & S, const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + + /****** BRepApprox_SurfaceTool::Value ******/ + /****** md5 signature: 99956c15b75117616c431d8c98ec8815 ******/ + %feature("compactdefaultargs") Value; + %feature("autodoc", " +Parameters +---------- +S: BRepAdaptor_Surface +u: float +v: float + +Return +------- +gp_Pnt + +Description +----------- +No available documentation. +") Value; + static gp_Pnt Value(const BRepAdaptor_Surface & S, const Standard_Real u, const Standard_Real v); + +}; + + +%extend BRepApprox_SurfaceTool { + %pythoncode { + __repr__ = _dumps_object + } +}; + /************************************************ * class BRepApprox_TheComputeLineBezierOfApprox * ************************************************/ class BRepApprox_TheComputeLineBezierOfApprox { public: - /****************** BRepApprox_TheComputeLineBezierOfApprox ******************/ - /**** md5 signature: d31d365e1d6f25c58216a527367f35f3 ****/ + /****** BRepApprox_TheComputeLineBezierOfApprox::BRepApprox_TheComputeLineBezierOfApprox ******/ + /****** md5 signature: d31d365e1d6f25c58216a527367f35f3 ******/ %feature("compactdefaultargs") BRepApprox_TheComputeLineBezierOfApprox; - %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. - + %feature("autodoc", " Parameters ---------- Line: BRepApprox_TheMultiLineOfApprox -degreemin: int,optional - default value is 4 -degreemax: int,optional - default value is 8 -Tolerance3d: float,optional - default value is 1.0e-3 -Tolerance2d: float,optional - default value is 1.0e-6 -NbIterations: int,optional - default value is 5 -cutting: bool,optional - default value is Standard_True -parametrization: Approx_ParametrizationType,optional - default value is Approx_ChordLength -Squares: bool,optional - default value is Standard_False - -Returns +degreemin: int (optional, default to 4) +degreemax: int (optional, default to 8) +Tolerance3d: float (optional, default to 1.0e-3) +Tolerance2d: float (optional, default to 1.0e-6) +NbIterations: int (optional, default to 5) +cutting: bool (optional, default to Standard_True) +parametrization: Approx_ParametrizationType (optional, default to Approx_ChordLength) +Squares: bool (optional, default to Standard_False) + +Return ------- None + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 5ce81f24eed0e783537a046f76c5aa51 ****/ + /****** BRepApprox_TheComputeLineBezierOfApprox::BRepApprox_TheComputeLineBezierOfApprox ******/ + /****** md5 signature: 5ce81f24eed0e783537a046f76c5aa51 ******/ %feature("compactdefaultargs") BRepApprox_TheComputeLineBezierOfApprox; - %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. - + %feature("autodoc", " Parameters ---------- Line: BRepApprox_TheMultiLineOfApprox Parameters: math_Vector -degreemin: int,optional - default value is 4 -degreemax: int,optional - default value is 8 -Tolerance3d: float,optional - default value is 1.0e-03 -Tolerance2d: float,optional - default value is 1.0e-06 -NbIterations: int,optional - default value is 5 -cutting: bool,optional - default value is Standard_True -Squares: bool,optional - default value is Standard_False - -Returns +degreemin: int (optional, default to 4) +degreemax: int (optional, default to 8) +Tolerance3d: float (optional, default to 1.0e-03) +Tolerance2d: float (optional, default to 1.0e-06) +NbIterations: int (optional, default to 5) +cutting: bool (optional, default to Standard_True) +Squares: bool (optional, default to Standard_False) + +Return ------- None + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: e6393cd2ed1ebcee8edef58897732a18 ****/ + /****** BRepApprox_TheComputeLineBezierOfApprox::BRepApprox_TheComputeLineBezierOfApprox ******/ + /****** md5 signature: e6393cd2ed1ebcee8edef58897732a18 ******/ %feature("compactdefaultargs") BRepApprox_TheComputeLineBezierOfApprox; - %feature("autodoc", "Initializes the fields of the algorithm. - + %feature("autodoc", " Parameters ---------- Parameters: math_Vector -degreemin: int,optional - default value is 4 -degreemax: int,optional - default value is 8 -Tolerance3d: float,optional - default value is 1.0e-03 -Tolerance2d: float,optional - default value is 1.0e-06 -NbIterations: int,optional - default value is 5 -cutting: bool,optional - default value is Standard_True -Squares: bool,optional - default value is Standard_False - -Returns +degreemin: int (optional, default to 4) +degreemax: int (optional, default to 8) +Tolerance3d: float (optional, default to 1.0e-03) +Tolerance2d: float (optional, default to 1.0e-06) +NbIterations: int (optional, default to 5) +cutting: bool (optional, default to Standard_True) +Squares: bool (optional, default to Standard_False) + +Return ------- None + +Description +----------- +Initializes the fields of the algorithm. ") 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 ******************/ - /**** md5 signature: 26c9b30b638a7f29b682161b89c9230c ****/ + /****** BRepApprox_TheComputeLineBezierOfApprox::BRepApprox_TheComputeLineBezierOfApprox ******/ + /****** md5 signature: 26c9b30b638a7f29b682161b89c9230c ******/ %feature("compactdefaultargs") BRepApprox_TheComputeLineBezierOfApprox; - %feature("autodoc", "Initializes the fields of the algorithm. - + %feature("autodoc", " Parameters ---------- -degreemin: int,optional - default value is 4 -degreemax: int,optional - default value is 8 -Tolerance3d: float,optional - default value is 1.0e-03 -Tolerance2d: float,optional - default value is 1.0e-06 -NbIterations: int,optional - default value is 5 -cutting: bool,optional - default value is Standard_True -parametrization: Approx_ParametrizationType,optional - default value is Approx_ChordLength -Squares: bool,optional - default value is Standard_False +degreemin: int (optional, default to 4) +degreemax: int (optional, default to 8) +Tolerance3d: float (optional, default to 1.0e-03) +Tolerance2d: float (optional, default to 1.0e-06) +NbIterations: int (optional, default to 5) +cutting: bool (optional, default to Standard_True) +parametrization: Approx_ParametrizationType (optional, default to Approx_ChordLength) +Squares: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +Initializes the fields of the algorithm. ") 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 ******************/ - /**** md5 signature: 141696e747a4846a7446e394b31644d5 ****/ + /****** BRepApprox_TheComputeLineBezierOfApprox::ChangeValue ******/ + /****** md5 signature: 141696e747a4846a7446e394b31644d5 ******/ %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", "Returns the result of the approximation. - + %feature("autodoc", " Parameters ---------- -Index: int,optional - default value is 1 +Index: int (optional, default to 1) -Returns +Return ------- AppParCurves_MultiCurve + +Description +----------- +returns the result of the approximation. ") ChangeValue; AppParCurves_MultiCurve & ChangeValue(const Standard_Integer Index = 1); - /****************** Error ******************/ - /**** md5 signature: 6a8061230005ba951097d8b73e7dbec6 ****/ + /****** BRepApprox_TheComputeLineBezierOfApprox::Error ******/ + /****** md5 signature: 6a8061230005ba951097d8b73e7dbec6 ******/ %feature("compactdefaultargs") Error; - %feature("autodoc", "Returns the tolerances 2d and 3d of the multicurve. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- tol3d: float tol2d: float + +Description +----------- +returns the tolerances 2d and 3d of the MultiCurve. ") Error; void Error(const Standard_Integer Index, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** Init ******************/ - /**** md5 signature: 10f7f80e213a93740574c45700071b76 ****/ + /****** BRepApprox_TheComputeLineBezierOfApprox::Init ******/ + /****** md5 signature: 10f7f80e213a93740574c45700071b76 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "Initializes the fields of the algorithm. - + %feature("autodoc", " Parameters ---------- -degreemin: int,optional - default value is 4 -degreemax: int,optional - default value is 8 -Tolerance3d: float,optional - default value is 1.0e-03 -Tolerance2d: float,optional - default value is 1.0e-06 -NbIterations: int,optional - default value is 5 -cutting: bool,optional - default value is Standard_True -parametrization: Approx_ParametrizationType,optional - default value is Approx_ChordLength -Squares: bool,optional - default value is Standard_False +degreemin: int (optional, default to 4) +degreemax: int (optional, default to 8) +Tolerance3d: float (optional, default to 1.0e-03) +Tolerance2d: float (optional, default to 1.0e-06) +NbIterations: int (optional, default to 5) +cutting: bool (optional, default to Standard_True) +parametrization: Approx_ParametrizationType (optional, default to Approx_ChordLength) +Squares: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +Initializes the fields of the algorithm. ") 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 ******************/ - /**** md5 signature: bf42a9f9ee3a867655d96a0c1fdcd853 ****/ + /****** BRepApprox_TheComputeLineBezierOfApprox::IsAllApproximated ******/ + /****** md5 signature: bf42a9f9ee3a867655d96a0c1fdcd853 ******/ %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. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns False if at a moment of the approximation, the status NoApproximation has been sent by the user when more points were needed. ") IsAllApproximated; Standard_Boolean IsAllApproximated(); - /****************** IsToleranceReached ******************/ - /**** md5 signature: cbd7380250e74c96655b10c8025eb873 ****/ + /****** BRepApprox_TheComputeLineBezierOfApprox::IsToleranceReached ******/ + /****** md5 signature: cbd7380250e74c96655b10c8025eb873 ******/ %feature("compactdefaultargs") IsToleranceReached; - %feature("autodoc", "Returns false if the status nopointsadded has been sent. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns False if the status NoPointsAdded has been sent. ") IsToleranceReached; Standard_Boolean IsToleranceReached(); - /****************** NbMultiCurves ******************/ - /**** md5 signature: 944d4af40d93d46a8a3a888df2d8b388 ****/ + /****** BRepApprox_TheComputeLineBezierOfApprox::NbMultiCurves ******/ + /****** md5 signature: 944d4af40d93d46a8a3a888df2d8b388 ******/ %feature("compactdefaultargs") NbMultiCurves; - %feature("autodoc", "Returns the number of multicurve doing the approximation of the multiline. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns the number of MultiCurve doing the approximation of the MultiLine. ") NbMultiCurves; Standard_Integer NbMultiCurves(); - /****************** Parameters ******************/ - /**** md5 signature: 457fc00b4795a877d025353e491bb905 ****/ + /****** BRepApprox_TheComputeLineBezierOfApprox::Parameters ******/ + /****** md5 signature: 457fc00b4795a877d025353e491bb905 ******/ %feature("compactdefaultargs") Parameters; - %feature("autodoc", "Returns the new parameters of the approximation corresponding to the points of the multicurve . - + %feature("autodoc", " Parameters ---------- -Index: int,optional - default value is 1 +Index: int (optional, default to 1) -Returns +Return ------- TColStd_Array1OfReal + +Description +----------- +returns the new parameters of the approximation corresponding to the points of the multicurve . ") Parameters; const TColStd_Array1OfReal & Parameters(const Standard_Integer Index = 1); - /****************** Parametrization ******************/ - /**** md5 signature: 28de4bdef662891658a0d7c12417a76f ****/ + /****** BRepApprox_TheComputeLineBezierOfApprox::Parametrization ******/ + /****** md5 signature: 28de4bdef662891658a0d7c12417a76f ******/ %feature("compactdefaultargs") Parametrization; - %feature("autodoc", "Returns the type of parametrization. - -Returns + %feature("autodoc", "Return ------- Approx_ParametrizationType + +Description +----------- +returns the type of parametrization. ") Parametrization; Approx_ParametrizationType Parametrization(); - /****************** Perform ******************/ - /**** md5 signature: cc979eff0e4e2337b1fcdd453d833794 ****/ + /****** BRepApprox_TheComputeLineBezierOfApprox::Perform ******/ + /****** md5 signature: cc979eff0e4e2337b1fcdd453d833794 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Runs the algorithm after having initialized the fields. - + %feature("autodoc", " Parameters ---------- Line: BRepApprox_TheMultiLineOfApprox -Returns +Return ------- None + +Description +----------- +runs the algorithm after having initialized the fields. ") Perform; void Perform(const BRepApprox_TheMultiLineOfApprox & Line); - /****************** SetConstraints ******************/ - /**** md5 signature: 99b92dc193142adf44568f800cd394dc ****/ + /****** BRepApprox_TheComputeLineBezierOfApprox::SetConstraints ******/ + /****** md5 signature: 99b92dc193142adf44568f800cd394dc ******/ %feature("compactdefaultargs") SetConstraints; - %feature("autodoc", "Changes the first and the last constraint points. - + %feature("autodoc", " Parameters ---------- firstC: AppParCurves_Constraint lastC: AppParCurves_Constraint -Returns +Return ------- None + +Description +----------- +changes the first and the last constraint points. ") SetConstraints; void SetConstraints(const AppParCurves_Constraint firstC, const AppParCurves_Constraint lastC); - /****************** SetDegrees ******************/ - /**** md5 signature: 545fdd7d739fa58cc970e73d0413f8ef ****/ + /****** BRepApprox_TheComputeLineBezierOfApprox::SetDegrees ******/ + /****** md5 signature: 545fdd7d739fa58cc970e73d0413f8ef ******/ %feature("compactdefaultargs") SetDegrees; - %feature("autodoc", "Changes the degrees of the approximation. - + %feature("autodoc", " Parameters ---------- degreemin: int degreemax: int -Returns +Return ------- None + +Description +----------- +changes the degrees of the approximation. ") SetDegrees; void SetDegrees(const Standard_Integer degreemin, const Standard_Integer degreemax); - /****************** SetTolerances ******************/ - /**** md5 signature: ce7879738ace848f7a3a27c56467be10 ****/ + /****** BRepApprox_TheComputeLineBezierOfApprox::SetTolerances ******/ + /****** md5 signature: ce7879738ace848f7a3a27c56467be10 ******/ %feature("compactdefaultargs") SetTolerances; - %feature("autodoc", "Changes the tolerances of the approximation. - + %feature("autodoc", " Parameters ---------- Tolerance3d: float Tolerance2d: float -Returns +Return ------- None + +Description +----------- +Changes the tolerances of the approximation. ") SetTolerances; void SetTolerances(const Standard_Real Tolerance3d, const Standard_Real Tolerance2d); - /****************** SplineValue ******************/ - /**** md5 signature: 8abd3bdfb130cc23332c1960701072a6 ****/ + /****** BRepApprox_TheComputeLineBezierOfApprox::SplineValue ******/ + /****** md5 signature: 8abd3bdfb130cc23332c1960701072a6 ******/ %feature("compactdefaultargs") SplineValue; - %feature("autodoc", "Returns the result of the approximation. - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiBSpCurve + +Description +----------- +returns the result of the approximation. ") SplineValue; - const AppParCurves_MultiBSpCurve & SplineValue(); + AppParCurves_MultiBSpCurve SplineValue(); - /****************** Value ******************/ - /**** md5 signature: ce9a9d43a5aa1f3754abfba817bb7838 ****/ + /****** BRepApprox_TheComputeLineBezierOfApprox::Value ******/ + /****** md5 signature: ce9a9d43a5aa1f3754abfba817bb7838 ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns the result of the approximation. - + %feature("autodoc", " Parameters ---------- -Index: int,optional - default value is 1 +Index: int (optional, default to 1) -Returns +Return ------- AppParCurves_MultiCurve + +Description +----------- +returns the result of the approximation. ") Value; - const AppParCurves_MultiCurve & Value(const Standard_Integer Index = 1); + AppParCurves_MultiCurve Value(const Standard_Integer Index = 1); }; @@ -2949,379 +4129,399 @@ AppParCurves_MultiCurve ******************************************/ class BRepApprox_TheComputeLineOfApprox { public: - /****************** BRepApprox_TheComputeLineOfApprox ******************/ - /**** md5 signature: 9a6d3c8c47cf418e6f4f046d4cf9f79d ****/ + /****** BRepApprox_TheComputeLineOfApprox::BRepApprox_TheComputeLineOfApprox ******/ + /****** md5 signature: 9a6d3c8c47cf418e6f4f046d4cf9f79d ******/ %feature("compactdefaultargs") BRepApprox_TheComputeLineOfApprox; - %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. - + %feature("autodoc", " Parameters ---------- Line: BRepApprox_TheMultiLineOfApprox -degreemin: int,optional - default value is 4 -degreemax: int,optional - default value is 8 -Tolerance3d: float,optional - default value is 1.0e-3 -Tolerance2d: float,optional - default value is 1.0e-6 -NbIterations: int,optional - default value is 5 -cutting: bool,optional - default value is Standard_True -parametrization: Approx_ParametrizationType,optional - default value is Approx_ChordLength -Squares: bool,optional - default value is Standard_False - -Returns +degreemin: int (optional, default to 4) +degreemax: int (optional, default to 8) +Tolerance3d: float (optional, default to 1.0e-3) +Tolerance2d: float (optional, default to 1.0e-6) +NbIterations: int (optional, default to 5) +cutting: bool (optional, default to Standard_True) +parametrization: Approx_ParametrizationType (optional, default to Approx_ChordLength) +Squares: bool (optional, default to Standard_False) + +Return ------- None + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: f9a03ed8ef6cd6bf796c5329d942956b ****/ + /****** BRepApprox_TheComputeLineOfApprox::BRepApprox_TheComputeLineOfApprox ******/ + /****** md5 signature: f9a03ed8ef6cd6bf796c5329d942956b ******/ %feature("compactdefaultargs") BRepApprox_TheComputeLineOfApprox; - %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. - + %feature("autodoc", " Parameters ---------- Line: BRepApprox_TheMultiLineOfApprox Parameters: math_Vector -degreemin: int,optional - default value is 4 -degreemax: int,optional - default value is 8 -Tolerance3d: float,optional - default value is 1.0e-03 -Tolerance2d: float,optional - default value is 1.0e-06 -NbIterations: int,optional - default value is 5 -cutting: bool,optional - default value is Standard_True -Squares: bool,optional - default value is Standard_False - -Returns +degreemin: int (optional, default to 4) +degreemax: int (optional, default to 8) +Tolerance3d: float (optional, default to 1.0e-03) +Tolerance2d: float (optional, default to 1.0e-06) +NbIterations: int (optional, default to 5) +cutting: bool (optional, default to Standard_True) +Squares: bool (optional, default to Standard_False) + +Return ------- None + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 3f471de7553798c720ada1908a2f8324 ****/ + /****** BRepApprox_TheComputeLineOfApprox::BRepApprox_TheComputeLineOfApprox ******/ + /****** md5 signature: 3f471de7553798c720ada1908a2f8324 ******/ %feature("compactdefaultargs") BRepApprox_TheComputeLineOfApprox; - %feature("autodoc", "Initializes the fields of the algorithm. - + %feature("autodoc", " Parameters ---------- Parameters: math_Vector -degreemin: int,optional - default value is 4 -degreemax: int,optional - default value is 8 -Tolerance3d: float,optional - default value is 1.0e-03 -Tolerance2d: float,optional - default value is 1.0e-06 -NbIterations: int,optional - default value is 5 -cutting: bool,optional - default value is Standard_True -Squares: bool,optional - default value is Standard_False - -Returns +degreemin: int (optional, default to 4) +degreemax: int (optional, default to 8) +Tolerance3d: float (optional, default to 1.0e-03) +Tolerance2d: float (optional, default to 1.0e-06) +NbIterations: int (optional, default to 5) +cutting: bool (optional, default to Standard_True) +Squares: bool (optional, default to Standard_False) + +Return ------- None + +Description +----------- +Initializes the fields of the algorithm. ") 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 ******************/ - /**** md5 signature: d8f49093a0f2f316909086b8720f3947 ****/ + /****** BRepApprox_TheComputeLineOfApprox::BRepApprox_TheComputeLineOfApprox ******/ + /****** md5 signature: d8f49093a0f2f316909086b8720f3947 ******/ %feature("compactdefaultargs") BRepApprox_TheComputeLineOfApprox; - %feature("autodoc", "Initializes the fields of the algorithm. - + %feature("autodoc", " Parameters ---------- -degreemin: int,optional - default value is 4 -degreemax: int,optional - default value is 8 -Tolerance3d: float,optional - default value is 1.0e-03 -Tolerance2d: float,optional - default value is 1.0e-06 -NbIterations: int,optional - default value is 5 -cutting: bool,optional - default value is Standard_True -parametrization: Approx_ParametrizationType,optional - default value is Approx_ChordLength -Squares: bool,optional - default value is Standard_False +degreemin: int (optional, default to 4) +degreemax: int (optional, default to 8) +Tolerance3d: float (optional, default to 1.0e-03) +Tolerance2d: float (optional, default to 1.0e-06) +NbIterations: int (optional, default to 5) +cutting: bool (optional, default to Standard_True) +parametrization: Approx_ParametrizationType (optional, default to Approx_ChordLength) +Squares: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +Initializes the fields of the algorithm. ") 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); - /****************** ChangeValue ******************/ - /**** md5 signature: afc5e23129509014348d63bb72db41ec ****/ + /****** BRepApprox_TheComputeLineOfApprox::ChangeValue ******/ + /****** md5 signature: afc5e23129509014348d63bb72db41ec ******/ %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", "Returns the result of the approximation. - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiBSpCurve + +Description +----------- +returns the result of the approximation. ") ChangeValue; AppParCurves_MultiBSpCurve & ChangeValue(); - /****************** Error ******************/ - /**** md5 signature: cda70ea4f3f90e8bdc1d9692db9c77b8 ****/ + /****** BRepApprox_TheComputeLineOfApprox::Error ******/ + /****** md5 signature: cda70ea4f3f90e8bdc1d9692db9c77b8 ******/ %feature("compactdefaultargs") Error; - %feature("autodoc", "Returns the tolerances 2d and 3d of the multibspcurve. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- tol3d: float tol2d: float + +Description +----------- +returns the tolerances 2d and 3d of the MultiBSpCurve. ") Error; void Error(Standard_Real &OutValue, Standard_Real &OutValue); - /****************** Init ******************/ - /**** md5 signature: 10f7f80e213a93740574c45700071b76 ****/ + /****** BRepApprox_TheComputeLineOfApprox::Init ******/ + /****** md5 signature: 10f7f80e213a93740574c45700071b76 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "Initializes the fields of the algorithm. - + %feature("autodoc", " Parameters ---------- -degreemin: int,optional - default value is 4 -degreemax: int,optional - default value is 8 -Tolerance3d: float,optional - default value is 1.0e-03 -Tolerance2d: float,optional - default value is 1.0e-06 -NbIterations: int,optional - default value is 5 -cutting: bool,optional - default value is Standard_True -parametrization: Approx_ParametrizationType,optional - default value is Approx_ChordLength -Squares: bool,optional - default value is Standard_False +degreemin: int (optional, default to 4) +degreemax: int (optional, default to 8) +Tolerance3d: float (optional, default to 1.0e-03) +Tolerance2d: float (optional, default to 1.0e-06) +NbIterations: int (optional, default to 5) +cutting: bool (optional, default to Standard_True) +parametrization: Approx_ParametrizationType (optional, default to Approx_ChordLength) +Squares: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +Initializes the fields of the algorithm. ") 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 ******************/ - /**** md5 signature: dedf9a1871046c1f521092aee0a9a8a9 ****/ + /****** BRepApprox_TheComputeLineOfApprox::Interpol ******/ + /****** md5 signature: dedf9a1871046c1f521092aee0a9a8a9 ******/ %feature("compactdefaultargs") Interpol; - %feature("autodoc", "Constructs an interpolation of the multiline the result will be a c2 curve of degree 3. - + %feature("autodoc", " Parameters ---------- Line: BRepApprox_TheMultiLineOfApprox -Returns +Return ------- None + +Description +----------- +Constructs an interpolation of the MultiLine The result will be a C2 curve of degree 3. ") Interpol; void Interpol(const BRepApprox_TheMultiLineOfApprox & Line); - /****************** IsAllApproximated ******************/ - /**** md5 signature: bf42a9f9ee3a867655d96a0c1fdcd853 ****/ + /****** BRepApprox_TheComputeLineOfApprox::IsAllApproximated ******/ + /****** md5 signature: bf42a9f9ee3a867655d96a0c1fdcd853 ******/ %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. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns False if at a moment of the approximation, the status NoApproximation has been sent by the user when more points were needed. ") IsAllApproximated; Standard_Boolean IsAllApproximated(); - /****************** IsToleranceReached ******************/ - /**** md5 signature: cbd7380250e74c96655b10c8025eb873 ****/ + /****** BRepApprox_TheComputeLineOfApprox::IsToleranceReached ******/ + /****** md5 signature: cbd7380250e74c96655b10c8025eb873 ******/ %feature("compactdefaultargs") IsToleranceReached; - %feature("autodoc", "Returns false if the status nopointsadded has been sent. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns False if the status NoPointsAdded has been sent. ") IsToleranceReached; Standard_Boolean IsToleranceReached(); - /****************** Parameters ******************/ - /**** md5 signature: 7c84e53bc11f80fb0f3c0e787e4b026e ****/ + /****** BRepApprox_TheComputeLineOfApprox::Parameters ******/ + /****** md5 signature: 7c84e53bc11f80fb0f3c0e787e4b026e ******/ %feature("compactdefaultargs") Parameters; - %feature("autodoc", "Returns the new parameters of the approximation corresponding to the points of the multibspcurve. - -Returns + %feature("autodoc", "Return ------- TColStd_Array1OfReal + +Description +----------- +returns the new parameters of the approximation corresponding to the points of the MultiBSpCurve. ") Parameters; const TColStd_Array1OfReal & Parameters(); - /****************** Perform ******************/ - /**** md5 signature: cc979eff0e4e2337b1fcdd453d833794 ****/ + /****** BRepApprox_TheComputeLineOfApprox::Perform ******/ + /****** md5 signature: cc979eff0e4e2337b1fcdd453d833794 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Runs the algorithm after having initialized the fields. - + %feature("autodoc", " Parameters ---------- Line: BRepApprox_TheMultiLineOfApprox -Returns +Return ------- None + +Description +----------- +runs the algorithm after having initialized the fields. ") Perform; void Perform(const BRepApprox_TheMultiLineOfApprox & Line); - /****************** SetConstraints ******************/ - /**** md5 signature: 99b92dc193142adf44568f800cd394dc ****/ + /****** BRepApprox_TheComputeLineOfApprox::SetConstraints ******/ + /****** md5 signature: 99b92dc193142adf44568f800cd394dc ******/ %feature("compactdefaultargs") SetConstraints; - %feature("autodoc", "Changes the first and the last constraint points. - + %feature("autodoc", " Parameters ---------- firstC: AppParCurves_Constraint lastC: AppParCurves_Constraint -Returns +Return ------- None + +Description +----------- +changes the first and the last constraint points. ") SetConstraints; void SetConstraints(const AppParCurves_Constraint firstC, const AppParCurves_Constraint lastC); - /****************** SetContinuity ******************/ - /**** md5 signature: 004921b69180f9ee5c70f476a9b25f44 ****/ + /****** BRepApprox_TheComputeLineOfApprox::SetContinuity ******/ + /****** md5 signature: 004921b69180f9ee5c70f476a9b25f44 ******/ %feature("compactdefaultargs") SetContinuity; - %feature("autodoc", "Sets the continuity of the spline. if c = 2, the spline will be c2. - + %feature("autodoc", " Parameters ---------- C: int -Returns +Return ------- None + +Description +----------- +sets the continuity of the spline. if C = 2, the spline will be C2. ") SetContinuity; void SetContinuity(const Standard_Integer C); - /****************** SetDegrees ******************/ - /**** md5 signature: 545fdd7d739fa58cc970e73d0413f8ef ****/ + /****** BRepApprox_TheComputeLineOfApprox::SetDegrees ******/ + /****** md5 signature: 545fdd7d739fa58cc970e73d0413f8ef ******/ %feature("compactdefaultargs") SetDegrees; - %feature("autodoc", "Changes the degrees of the approximation. - + %feature("autodoc", " Parameters ---------- degreemin: int degreemax: int -Returns +Return ------- None + +Description +----------- +changes the degrees of the approximation. ") SetDegrees; void SetDegrees(const Standard_Integer degreemin, const Standard_Integer degreemax); - /****************** SetKnots ******************/ - /**** md5 signature: 81377d2824af79de90394b654e5ac494 ****/ + /****** BRepApprox_TheComputeLineOfApprox::SetKnots ******/ + /****** md5 signature: 81377d2824af79de90394b654e5ac494 ******/ %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. - + %feature("autodoc", " Parameters ---------- Knots: TColStd_Array1OfReal -Returns +Return ------- None + +Description +----------- +The approximation will be done with the set of knots . The multiplicities will be set with the degree and the desired continuity. ") SetKnots; void SetKnots(const TColStd_Array1OfReal & Knots); - /****************** SetKnotsAndMultiplicities ******************/ - /**** md5 signature: 78291c57c68644dfe7114ee9a585b271 ****/ + /****** BRepApprox_TheComputeLineOfApprox::SetKnotsAndMultiplicities ******/ + /****** md5 signature: 78291c57c68644dfe7114ee9a585b271 ******/ %feature("compactdefaultargs") SetKnotsAndMultiplicities; - %feature("autodoc", "The approximation will be done with the set of knots and the multiplicities . - + %feature("autodoc", " Parameters ---------- Knots: TColStd_Array1OfReal Mults: TColStd_Array1OfInteger -Returns +Return ------- None + +Description +----------- +The approximation will be done with the set of knots and the multiplicities . ") SetKnotsAndMultiplicities; void SetKnotsAndMultiplicities(const TColStd_Array1OfReal & Knots, const TColStd_Array1OfInteger & Mults); - /****************** SetParameters ******************/ - /**** md5 signature: b1eab3f1f1c8f0892e7a87810e5892e3 ****/ + /****** BRepApprox_TheComputeLineOfApprox::SetParameters ******/ + /****** md5 signature: b1eab3f1f1c8f0892e7a87810e5892e3 ******/ %feature("compactdefaultargs") SetParameters; - %feature("autodoc", "The approximation will begin with the set of parameters . - + %feature("autodoc", " Parameters ---------- ThePar: math_Vector -Returns +Return ------- None + +Description +----------- +The approximation will begin with the set of parameters . ") SetParameters; void SetParameters(const math_Vector & ThePar); - /****************** SetPeriodic ******************/ - /**** md5 signature: 3109823bbe448d62437b44b39b4d9b19 ****/ + /****** BRepApprox_TheComputeLineOfApprox::SetPeriodic ******/ + /****** md5 signature: 3109823bbe448d62437b44b39b4d9b19 ******/ %feature("compactdefaultargs") SetPeriodic; - %feature("autodoc", "Sets periodic flag. if theperiodic = standard_true, algorith tries to build periodic multicurve using corresponding c1 boundary condition for first and last multipoints. multiline must be closed. - + %feature("autodoc", " Parameters ---------- thePeriodic: bool -Returns +Return ------- None + +Description +----------- +Sets periodic flag. If thePeriodic = Standard_True, algorithm tries to build periodic multicurve using corresponding C1 boundary condition for first and last multipoints. Multiline must be closed. ") SetPeriodic; void SetPeriodic(const Standard_Boolean thePeriodic); - /****************** SetTolerances ******************/ - /**** md5 signature: ce7879738ace848f7a3a27c56467be10 ****/ + /****** BRepApprox_TheComputeLineOfApprox::SetTolerances ******/ + /****** md5 signature: ce7879738ace848f7a3a27c56467be10 ******/ %feature("compactdefaultargs") SetTolerances; - %feature("autodoc", "Changes the tolerances of the approximation. - + %feature("autodoc", " Parameters ---------- Tolerance3d: float Tolerance2d: float -Returns +Return ------- None + +Description +----------- +Changes the tolerances of the approximation. ") SetTolerances; void SetTolerances(const Standard_Real Tolerance3d, const Standard_Real Tolerance2d); - /****************** Value ******************/ - /**** md5 signature: c818c96a9a832640b6267a997c4dbd3b ****/ + /****** BRepApprox_TheComputeLineOfApprox::Value ******/ + /****** md5 signature: c818c96a9a832640b6267a997c4dbd3b ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns the result of the approximation. - -Returns + %feature("autodoc", "Return ------- AppParCurves_MultiBSpCurve + +Description +----------- +returns the result of the approximation. ") Value; - const AppParCurves_MultiBSpCurve & Value(); + AppParCurves_MultiBSpCurve Value(); }; @@ -3337,49 +4537,55 @@ AppParCurves_MultiBSpCurve **********************************************************************/ class BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox : public math_FunctionSetWithDerivatives { public: - /****************** BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox ******************/ - /**** md5 signature: fd1150e117774d6c220dfd74355e5440 ****/ + /****** BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox::BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox ******/ + /****** md5 signature: fd1150e117774d6c220dfd74355e5440 ******/ %feature("compactdefaultargs") BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S1: BRepAdaptor_Surface S2: BRepAdaptor_Surface -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox; BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox(const BRepAdaptor_Surface & S1, const BRepAdaptor_Surface & S2); - /****************** AuxillarSurface1 ******************/ - /**** md5 signature: 35d4a58811ea11f385418cfaab72d7ba ****/ + /****** BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox::AuxillarSurface1 ******/ + /****** md5 signature: 35d4a58811ea11f385418cfaab72d7ba ******/ %feature("compactdefaultargs") AuxillarSurface1; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- BRepAdaptor_Surface + +Description +----------- +No available documentation. ") AuxillarSurface1; - const BRepAdaptor_Surface & AuxillarSurface1(); + BRepAdaptor_Surface AuxillarSurface1(); - /****************** AuxillarSurface2 ******************/ - /**** md5 signature: 6195097157048ebf7856e69ebf2099cb ****/ + /****** BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox::AuxillarSurface2 ******/ + /****** md5 signature: 6195097157048ebf7856e69ebf2099cb ******/ %feature("compactdefaultargs") AuxillarSurface2; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- BRepAdaptor_Surface + +Description +----------- +No available documentation. ") AuxillarSurface2; - const BRepAdaptor_Surface & AuxillarSurface2(); + BRepAdaptor_Surface AuxillarSurface2(); - /****************** ComputeParameters ******************/ - /**** md5 signature: 5686d6c4ca7c470ce5a820727bd25544 ****/ + /****** BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox::ComputeParameters ******/ + /****** md5 signature: 5686d6c4ca7c470ce5a820727bd25544 ******/ %feature("compactdefaultargs") ComputeParameters; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- ChoixIso: IntImp_ConstIsoparametric @@ -3389,152 +4595,181 @@ BornInf: math_Vector BornSup: math_Vector Tolerance: math_Vector -Returns +Return ------- None + +Description +----------- +No available documentation. ") ComputeParameters; void ComputeParameters(const IntImp_ConstIsoparametric ChoixIso, const TColStd_Array1OfReal & Param, math_Vector & UVap, math_Vector & BornInf, math_Vector & BornSup, math_Vector & Tolerance); - /****************** Derivatives ******************/ - /**** md5 signature: 80ee5f16e62731c095910ad60228848b ****/ + /****** BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox::Derivatives ******/ + /****** md5 signature: 80ee5f16e62731c095910ad60228848b ******/ %feature("compactdefaultargs") Derivatives; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- X: math_Vector D: math_Matrix -Returns +Return ------- bool + +Description +----------- +No available documentation. ") Derivatives; Standard_Boolean Derivatives(const math_Vector & X, math_Matrix & D); - /****************** Direction ******************/ - /**** md5 signature: 7db1622a0b370b4453af0886bb5f840c ****/ + /****** BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox::Direction ******/ + /****** md5 signature: 7db1622a0b370b4453af0886bb5f840c ******/ %feature("compactdefaultargs") Direction; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Dir + +Description +----------- +No available documentation. ") Direction; gp_Dir Direction(); - /****************** DirectionOnS1 ******************/ - /**** md5 signature: bc5dc0d8303d35b67ad8c11b04c94ec5 ****/ + /****** BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox::DirectionOnS1 ******/ + /****** md5 signature: bc5dc0d8303d35b67ad8c11b04c94ec5 ******/ %feature("compactdefaultargs") DirectionOnS1; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Dir2d + +Description +----------- +No available documentation. ") DirectionOnS1; gp_Dir2d DirectionOnS1(); - /****************** DirectionOnS2 ******************/ - /**** md5 signature: caea60e56e0b7869c8e3533543115136 ****/ + /****** BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox::DirectionOnS2 ******/ + /****** md5 signature: caea60e56e0b7869c8e3533543115136 ******/ %feature("compactdefaultargs") DirectionOnS2; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Dir2d + +Description +----------- +No available documentation. ") DirectionOnS2; gp_Dir2d DirectionOnS2(); - /****************** IsTangent ******************/ - /**** md5 signature: 9e73991f5144c0e218a14c453bc89c5f ****/ + /****** BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox::IsTangent ******/ + /****** md5 signature: 9e73991f5144c0e218a14c453bc89c5f ******/ %feature("compactdefaultargs") IsTangent; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- UVap: math_Vector Param: TColStd_Array1OfReal -BestChoix: IntImp_ConstIsoparametric -Returns +Return ------- -bool +BestChoix: IntImp_ConstIsoparametric + +Description +----------- +No available documentation. ") IsTangent; - Standard_Boolean IsTangent(const math_Vector & UVap, TColStd_Array1OfReal & Param, IntImp_ConstIsoparametric & BestChoix); + Standard_Boolean IsTangent(const math_Vector & UVap, TColStd_Array1OfReal & Param, IntImp_ConstIsoparametric &OutValue); - /****************** NbEquations ******************/ - /**** md5 signature: 42be0dc2e32c8e563393e8490171707e ****/ + /****** BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox::NbEquations ******/ + /****** md5 signature: 42be0dc2e32c8e563393e8490171707e ******/ %feature("compactdefaultargs") NbEquations; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbEquations; Standard_Integer NbEquations(); - /****************** NbVariables ******************/ - /**** md5 signature: a3de6b8a577fc113199e11b2b0bcdced ****/ + /****** BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox::NbVariables ******/ + /****** md5 signature: a3de6b8a577fc113199e11b2b0bcdced ******/ %feature("compactdefaultargs") NbVariables; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbVariables; Standard_Integer NbVariables(); - /****************** Point ******************/ - /**** md5 signature: aacd847206090cc43a493e5072f97000 ****/ + /****** BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox::Point ******/ + /****** md5 signature: aacd847206090cc43a493e5072f97000 ******/ %feature("compactdefaultargs") Point; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Pnt + +Description +----------- +No available documentation. ") Point; gp_Pnt Point(); - /****************** Root ******************/ - /**** md5 signature: 1f1a437be6bd034392962de6cf04ded1 ****/ + /****** BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox::Root ******/ + /****** md5 signature: 1f1a437be6bd034392962de6cf04ded1 ******/ %feature("compactdefaultargs") Root; - %feature("autodoc", "Returns somme des fi*fi. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns somme des fi*fi. ") Root; Standard_Real Root(); - /****************** Value ******************/ - /**** md5 signature: 31f6ba581b8fae503400d98976418349 ****/ + /****** BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox::Value ******/ + /****** md5 signature: 31f6ba581b8fae503400d98976418349 ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- X: math_Vector F: math_Vector -Returns +Return ------- bool + +Description +----------- +No available documentation. ") Value; Standard_Boolean Value(const math_Vector & X, math_Vector & F); - /****************** Values ******************/ - /**** md5 signature: 17c41f2c2b925e9ddfe2f61a9052313c ****/ + /****** BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox::Values ******/ + /****** md5 signature: 17c41f2c2b925e9ddfe2f61a9052313c ******/ %feature("compactdefaultargs") Values; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- X: math_Vector F: math_Vector D: math_Matrix -Returns +Return ------- bool + +Description +----------- +No available documentation. ") Values; Standard_Boolean Values(const math_Vector & X, math_Vector & F, math_Matrix & D); @@ -3552,43 +4787,48 @@ bool ***********************************************/ class BRepApprox_TheImpPrmSvSurfacesOfApprox : public ApproxInt_SvSurfaces { public: - /****************** BRepApprox_TheImpPrmSvSurfacesOfApprox ******************/ - /**** md5 signature: 351f816713979fa454a2d27963cc84ed ****/ + /****** BRepApprox_TheImpPrmSvSurfacesOfApprox::BRepApprox_TheImpPrmSvSurfacesOfApprox ******/ + /****** md5 signature: 351f816713979fa454a2d27963cc84ed ******/ %feature("compactdefaultargs") BRepApprox_TheImpPrmSvSurfacesOfApprox; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Surf1: BRepAdaptor_Surface Surf2: IntSurf_Quadric -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepApprox_TheImpPrmSvSurfacesOfApprox; BRepApprox_TheImpPrmSvSurfacesOfApprox(const BRepAdaptor_Surface & Surf1, const IntSurf_Quadric & Surf2); - /****************** BRepApprox_TheImpPrmSvSurfacesOfApprox ******************/ - /**** md5 signature: 07325ab325390fd9130b8085a321a96c ****/ + /****** BRepApprox_TheImpPrmSvSurfacesOfApprox::BRepApprox_TheImpPrmSvSurfacesOfApprox ******/ + /****** md5 signature: 07325ab325390fd9130b8085a321a96c ******/ %feature("compactdefaultargs") BRepApprox_TheImpPrmSvSurfacesOfApprox; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Surf1: IntSurf_Quadric Surf2: BRepAdaptor_Surface -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepApprox_TheImpPrmSvSurfacesOfApprox; BRepApprox_TheImpPrmSvSurfacesOfApprox(const IntSurf_Quadric & Surf1, const BRepAdaptor_Surface & Surf2); - /****************** Compute ******************/ - /**** md5 signature: 1b6699512251d1cde0fa87fb6fb9f2bf ****/ + /****** BRepApprox_TheImpPrmSvSurfacesOfApprox::Compute ******/ + /****** md5 signature: 1b6699512251d1cde0fa87fb6fb9f2bf ******/ %feature("compactdefaultargs") Compute; - %feature("autodoc", "Returns true if tg,tguv1 tguv2 can be computed. - + %feature("autodoc", " Parameters ---------- Pt: gp_Pnt @@ -3596,20 +4836,23 @@ Tg: gp_Vec Tguv1: gp_Vec2d Tguv2: gp_Vec2d -Returns +Return ------- u1: float v1: float u2: float v2: float + +Description +----------- +returns True if Tg,Tguv1 Tguv2 can be computed. ") 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 ******************/ - /**** md5 signature: 9b8bce66add52a246baf1e5f56b41c57 ****/ + /****** BRepApprox_TheImpPrmSvSurfacesOfApprox::Pnt ******/ + /****** md5 signature: 9b8bce66add52a246baf1e5f56b41c57 ******/ %feature("compactdefaultargs") Pnt; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- u1: float @@ -3618,17 +4861,20 @@ u2: float v2: float P: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") Pnt; void Pnt(const Standard_Real u1, const Standard_Real v1, const Standard_Real u2, const Standard_Real v2, gp_Pnt & P); - /****************** SeekPoint ******************/ - /**** md5 signature: 1cbe34841922a959c2a9bca52603cce9 ****/ + /****** BRepApprox_TheImpPrmSvSurfacesOfApprox::SeekPoint ******/ + /****** md5 signature: 1cbe34841922a959c2a9bca52603cce9 ******/ %feature("compactdefaultargs") SeekPoint; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- u1: float @@ -3637,17 +4883,20 @@ u2: float v2: float Point: IntSurf_PntOn2S -Returns +Return ------- bool + +Description +----------- +No available documentation. ") SeekPoint; Standard_Boolean SeekPoint(const Standard_Real u1, const Standard_Real v1, const Standard_Real u2, const Standard_Real v2, IntSurf_PntOn2S & Point); - /****************** Tangency ******************/ - /**** md5 signature: c0c9891902a6459b409f1a9c52228000 ****/ + /****** BRepApprox_TheImpPrmSvSurfacesOfApprox::Tangency ******/ + /****** md5 signature: c0c9891902a6459b409f1a9c52228000 ******/ %feature("compactdefaultargs") Tangency; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- u1: float @@ -3656,17 +4905,20 @@ u2: float v2: float Tg: gp_Vec -Returns +Return ------- bool + +Description +----------- +No available documentation. ") Tangency; Standard_Boolean Tangency(const Standard_Real u1, const Standard_Real v1, const Standard_Real u2, const Standard_Real v2, gp_Vec & Tg); - /****************** TangencyOnSurf1 ******************/ - /**** md5 signature: 92ffba31e07343330c44d9dee4123c55 ****/ + /****** BRepApprox_TheImpPrmSvSurfacesOfApprox::TangencyOnSurf1 ******/ + /****** md5 signature: 92ffba31e07343330c44d9dee4123c55 ******/ %feature("compactdefaultargs") TangencyOnSurf1; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- u1: float @@ -3675,17 +4927,20 @@ u2: float v2: float Tg: gp_Vec2d -Returns +Return ------- bool + +Description +----------- +No available documentation. ") TangencyOnSurf1; Standard_Boolean TangencyOnSurf1(const Standard_Real u1, const Standard_Real v1, const Standard_Real u2, const Standard_Real v2, gp_Vec2d & Tg); - /****************** TangencyOnSurf2 ******************/ - /**** md5 signature: 0c3b4c57afa7cd03a0f9030ecd47326b ****/ + /****** BRepApprox_TheImpPrmSvSurfacesOfApprox::TangencyOnSurf2 ******/ + /****** md5 signature: 0c3b4c57afa7cd03a0f9030ecd47326b ******/ %feature("compactdefaultargs") TangencyOnSurf2; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- u1: float @@ -3694,9 +4949,13 @@ u2: float v2: float Tg: gp_Vec2d -Returns +Return ------- bool + +Description +----------- +No available documentation. ") TangencyOnSurf2; Standard_Boolean TangencyOnSurf2(const Standard_Real u1, const Standard_Real v1, const Standard_Real u2, const Standard_Real v2, gp_Vec2d & Tg); @@ -3718,11 +4977,10 @@ bool *********************************************************/ class BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox { public: - /****************** BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox ******************/ - /**** md5 signature: d3ed7255941cd2b0a551739eda53debc ****/ + /****** BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox::BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox ******/ + /****** md5 signature: d3ed7255941cd2b0a551739eda53debc ******/ %feature("compactdefaultargs") BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox; - %feature("autodoc", "Compute the solution point with the close point. - + %feature("autodoc", " Parameters ---------- Param: TColStd_Array1OfReal @@ -3730,158 +4988,189 @@ S1: BRepAdaptor_Surface S2: BRepAdaptor_Surface TolTangency: float -Returns +Return ------- None + +Description +----------- +compute the solution point with the close point. ") BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox; BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox(const TColStd_Array1OfReal & Param, const BRepAdaptor_Surface & S1, const BRepAdaptor_Surface & S2, const Standard_Real TolTangency); - /****************** BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox ******************/ - /**** md5 signature: fb5174c3acb3fe83c13bf6c1aa515267 ****/ + /****** BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox::BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox ******/ + /****** md5 signature: fb5174c3acb3fe83c13bf6c1aa515267 ******/ %feature("compactdefaultargs") BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox; - %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); }. - + %feature("autodoc", " Parameters ---------- S1: BRepAdaptor_Surface S2: BRepAdaptor_Surface TolTangency: float -Returns +Return ------- None + +Description +----------- +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); }. ") BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox; BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox(const BRepAdaptor_Surface & S1, const BRepAdaptor_Surface & S2, const Standard_Real TolTangency); - /****************** ChangePoint ******************/ - /**** md5 signature: 1b1852ae04e18b1e3ae0c1ea8c1f6773 ****/ + /****** BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox::ChangePoint ******/ + /****** md5 signature: 1b1852ae04e18b1e3ae0c1ea8c1f6773 ******/ %feature("compactdefaultargs") ChangePoint; - %feature("autodoc", "Return the intersection point which is enable for changing. - -Returns + %feature("autodoc", "Return ------- IntSurf_PntOn2S + +Description +----------- +return the intersection point which is enable for changing. ") ChangePoint; IntSurf_PntOn2S & ChangePoint(); - /****************** Direction ******************/ - /**** md5 signature: 6107c9113155a9ae9007c5c8e526a738 ****/ + /****** BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox::Direction ******/ + /****** md5 signature: 6107c9113155a9ae9007c5c8e526a738 ******/ %feature("compactdefaultargs") Direction; - %feature("autodoc", "Returns the tangent at the intersection line. - -Returns + %feature("autodoc", "Return ------- gp_Dir + +Description +----------- +Returns the tangent at the intersection line. ") Direction; const gp_Dir Direction(); - /****************** DirectionOnS1 ******************/ - /**** md5 signature: 0ea23aedfa0d65293f06d50c4f4fd61f ****/ + /****** BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox::DirectionOnS1 ******/ + /****** md5 signature: 0ea23aedfa0d65293f06d50c4f4fd61f ******/ %feature("compactdefaultargs") DirectionOnS1; - %feature("autodoc", "Returns the tangent at the intersection line in the parametric space of the first surface. - -Returns + %feature("autodoc", "Return ------- gp_Dir2d + +Description +----------- +Returns the tangent at the intersection line in the parametric space of the first surface. ") DirectionOnS1; const gp_Dir2d DirectionOnS1(); - /****************** DirectionOnS2 ******************/ - /**** md5 signature: 9fe51e029e5ffcecf563550ef1c567fd ****/ + /****** BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox::DirectionOnS2 ******/ + /****** md5 signature: 9fe51e029e5ffcecf563550ef1c567fd ******/ %feature("compactdefaultargs") DirectionOnS2; - %feature("autodoc", "Returns the tangent at the intersection line in the parametric space of the second surface. - -Returns + %feature("autodoc", "Return ------- gp_Dir2d + +Description +----------- +Returns the tangent at the intersection line in the parametric space of the second surface. ") DirectionOnS2; const gp_Dir2d DirectionOnS2(); - /****************** Function ******************/ - /**** md5 signature: 5929136760b661f9c0d7a509de29d340 ****/ + /****** BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox::Function ******/ + /****** md5 signature: 5929136760b661f9c0d7a509de29d340 ******/ %feature("compactdefaultargs") Function; - %feature("autodoc", "Return the math function which is used to compute the intersection. - -Returns + %feature("autodoc", "Return ------- BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox + +Description +----------- +return the math function which is used to compute the intersection. ") Function; BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox & Function(); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Returns true if the creation completed without failure. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns True if the creation completed without failure. ") IsDone; Standard_Boolean IsDone(); - /****************** IsEmpty ******************/ - /**** md5 signature: 6ab5e1ad63f93168856ab126dd374b81 ****/ + /****** BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox::IsEmpty ******/ + /****** md5 signature: 6ab5e1ad63f93168856ab126dd374b81 ******/ %feature("compactdefaultargs") IsEmpty; - %feature("autodoc", "Returns true when there is no solution to the problem. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns True when there is no solution to the problem. ") IsEmpty; Standard_Boolean IsEmpty(); - /****************** IsTangent ******************/ - /**** md5 signature: 16a7964bb24e34f80fabc93e5a65aedc ****/ + /****** BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox::IsTangent ******/ + /****** md5 signature: 16a7964bb24e34f80fabc93e5a65aedc ******/ %feature("compactdefaultargs") IsTangent; - %feature("autodoc", "Returns true if the surfaces are tangent at the intersection point. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns True if the surfaces are tangent at the intersection point. ") IsTangent; Standard_Boolean IsTangent(); - /****************** Perform ******************/ - /**** md5 signature: ba19d26576d52e0e2824307d3171f0bf ****/ + /****** BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox::Perform ******/ + /****** md5 signature: ba19d26576d52e0e2824307d3171f0bf ******/ %feature("compactdefaultargs") Perform; - %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). - + %feature("autodoc", " Parameters ---------- Param: TColStd_Array1OfReal Rsnld: math_FunctionSetRoot -Returns +Return ------- IntImp_ConstIsoparametric + +Description +----------- +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). ") Perform; IntImp_ConstIsoparametric Perform(const TColStd_Array1OfReal & Param, math_FunctionSetRoot & Rsnld); - /****************** Perform ******************/ - /**** md5 signature: 01d0aa4ed60a8ef13ed05d29863bed35 ****/ + /****** BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox::Perform ******/ + /****** md5 signature: 01d0aa4ed60a8ef13ed05d29863bed35 ******/ %feature("compactdefaultargs") Perform; - %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). - + %feature("autodoc", " Parameters ---------- Param: TColStd_Array1OfReal Rsnld: math_FunctionSetRoot ChoixIso: IntImp_ConstIsoparametric -Returns +Return ------- IntImp_ConstIsoparametric + +Description +----------- +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). ") Perform; IntImp_ConstIsoparametric Perform(const TColStd_Array1OfReal & Param, math_FunctionSetRoot & Rsnld, const IntImp_ConstIsoparametric ChoixIso); - /****************** Point ******************/ - /**** md5 signature: be121892232ab68ab537f33c0dca8dfd ****/ + /****** BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox::Point ******/ + /****** md5 signature: be121892232ab68ab537f33c0dca8dfd ******/ %feature("compactdefaultargs") Point; - %feature("autodoc", "Returns the intersection point. - -Returns + %feature("autodoc", "Return ------- IntSurf_PntOn2S + +Description +----------- +Returns the intersection point. ") Point; const IntSurf_PntOn2S & Point(); @@ -3899,22 +5188,23 @@ IntSurf_PntOn2S ****************************************/ class BRepApprox_TheMultiLineOfApprox { public: - /****************** BRepApprox_TheMultiLineOfApprox ******************/ - /**** md5 signature: 61f3332ae94879b6a2710bda28eece83 ****/ + /****** BRepApprox_TheMultiLineOfApprox::BRepApprox_TheMultiLineOfApprox ******/ + /****** md5 signature: 61f3332ae94879b6a2710bda28eece83 ******/ %feature("compactdefaultargs") BRepApprox_TheMultiLineOfApprox; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepApprox_TheMultiLineOfApprox; BRepApprox_TheMultiLineOfApprox(); - /****************** BRepApprox_TheMultiLineOfApprox ******************/ - /**** md5 signature: ad07dd28d2fb52ddfeff00bc4f3b39c1 ****/ + /****** BRepApprox_TheMultiLineOfApprox::BRepApprox_TheMultiLineOfApprox ******/ + /****** md5 signature: ad07dd28d2fb52ddfeff00bc4f3b39c1 ******/ %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). - + %feature("autodoc", " Parameters ---------- line: BRepApprox_ApproxLine @@ -3931,22 +5221,23 @@ v1o: float u2o: float v2o: float P2DOnFirst: bool -IndMin: int,optional - default value is 0 -IndMax: int,optional - default value is 0 +IndMin: int (optional, default to 0) +IndMax: int (optional, default to 0) -Returns +Return ------- None + +Description +----------- +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). ") 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 ******************/ - /**** md5 signature: 2c60ef9b4d8ce91c87f55b4589e84dcd ****/ + /****** BRepApprox_TheMultiLineOfApprox::BRepApprox_TheMultiLineOfApprox ******/ + /****** md5 signature: 2c60ef9b4d8ce91c87f55b4589e84dcd ******/ %feature("compactdefaultargs") BRepApprox_TheMultiLineOfApprox; - %feature("autodoc", "No extra points will be added on the current line. - + %feature("autodoc", " Parameters ---------- line: BRepApprox_ApproxLine @@ -3962,72 +5253,82 @@ v1o: float u2o: float v2o: float P2DOnFirst: bool -IndMin: int,optional - default value is 0 -IndMax: int,optional - default value is 0 +IndMin: int (optional, default to 0) +IndMax: int (optional, default to 0) -Returns +Return ------- None + +Description +----------- +No Extra points will be added on the current line. ") 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 ******************/ - /**** md5 signature: 15b4b2e195645aebb43170ff7f15952a ****/ + /****** BRepApprox_TheMultiLineOfApprox::Dump ******/ + /****** md5 signature: 15b4b2e195645aebb43170ff7f15952a ******/ %feature("compactdefaultargs") Dump; - %feature("autodoc", "Dump of the current multi-line. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Dump of the current multi-line. ") Dump; void Dump(); - /****************** FirstPoint ******************/ - /**** md5 signature: 6036aa5f9c36e4ed29b55026423af997 ****/ + /****** BRepApprox_TheMultiLineOfApprox::FirstPoint ******/ + /****** md5 signature: 6036aa5f9c36e4ed29b55026423af997 ******/ %feature("compactdefaultargs") FirstPoint; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") FirstPoint; Standard_Integer FirstPoint(); - /****************** LastPoint ******************/ - /**** md5 signature: e2615285c6676dba4ad25275a0d452ca ****/ + /****** BRepApprox_TheMultiLineOfApprox::LastPoint ******/ + /****** md5 signature: e2615285c6676dba4ad25275a0d452ca ******/ %feature("compactdefaultargs") LastPoint; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") LastPoint; Standard_Integer LastPoint(); - /****************** MakeMLBetween ******************/ - /**** md5 signature: 87c3b2149dab9604268e6c6bc4f0c906 ****/ + /****** BRepApprox_TheMultiLineOfApprox::MakeMLBetween ******/ + /****** md5 signature: 87c3b2149dab9604268e6c6bc4f0c906 ******/ %feature("compactdefaultargs") MakeMLBetween; - %feature("autodoc", "Tries to make a sub-line between and points of this line by adding new points. - + %feature("autodoc", " Parameters ---------- Low: int High: int NbPointsToInsert: int -Returns +Return ------- BRepApprox_TheMultiLineOfApprox + +Description +----------- +Tries to make a sub-line between and points of this line by adding new points. ") MakeMLBetween; BRepApprox_TheMultiLineOfApprox MakeMLBetween(const Standard_Integer Low, const Standard_Integer High, const Standard_Integer NbPointsToInsert); - /****************** MakeMLOneMorePoint ******************/ - /**** md5 signature: 421c45436bad3eda04a112bcb72d86ce ****/ + /****** BRepApprox_TheMultiLineOfApprox::MakeMLOneMorePoint ******/ + /****** md5 signature: 421c45436bad3eda04a112bcb72d86ce ******/ %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. - + %feature("autodoc", " Parameters ---------- Low: int @@ -4035,140 +5336,168 @@ High: int indbad: int OtherLine: BRepApprox_TheMultiLineOfApprox -Returns +Return ------- bool + +Description +----------- +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. ") MakeMLOneMorePoint; Standard_Boolean MakeMLOneMorePoint(const Standard_Integer Low, const Standard_Integer High, const Standard_Integer indbad, BRepApprox_TheMultiLineOfApprox & OtherLine); - /****************** NbP2d ******************/ - /**** md5 signature: 9ba8c102bdeba2dda342e0db8269bbf5 ****/ + /****** BRepApprox_TheMultiLineOfApprox::NbP2d ******/ + /****** md5 signature: 9ba8c102bdeba2dda342e0db8269bbf5 ******/ %feature("compactdefaultargs") NbP2d; - %feature("autodoc", "Returns the number of 2d points of a theline. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns the number of 2d points of a TheLine. ") NbP2d; Standard_Integer NbP2d(); - /****************** NbP3d ******************/ - /**** md5 signature: 89b8d7613eeb2675b9641bf825abe487 ****/ + /****** BRepApprox_TheMultiLineOfApprox::NbP3d ******/ + /****** md5 signature: 89b8d7613eeb2675b9641bf825abe487 ******/ %feature("compactdefaultargs") NbP3d; - %feature("autodoc", "Returns the number of 3d points of a theline. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns the number of 3d points of a TheLine. ") NbP3d; Standard_Integer NbP3d(); - /****************** Tangency ******************/ - /**** md5 signature: c6cbaf0059f48e429c903570a14ee737 ****/ + /****** BRepApprox_TheMultiLineOfApprox::Tangency ******/ + /****** md5 signature: c6cbaf0059f48e429c903570a14ee737 ******/ %feature("compactdefaultargs") Tangency; - %feature("autodoc", "Returns the 3d tangency points of the multipoint only when 3d points exist. - + %feature("autodoc", " Parameters ---------- MPointIndex: int tabV: TColgp_Array1OfVec -Returns +Return ------- bool + +Description +----------- +Returns the 3d tangency points of the multipoint only when 3d points exist. ") Tangency; Standard_Boolean Tangency(const Standard_Integer MPointIndex, TColgp_Array1OfVec & tabV); - /****************** Tangency ******************/ - /**** md5 signature: e9d5611508aa120465fde3464ad5ef52 ****/ + /****** BRepApprox_TheMultiLineOfApprox::Tangency ******/ + /****** md5 signature: e9d5611508aa120465fde3464ad5ef52 ******/ %feature("compactdefaultargs") Tangency; - %feature("autodoc", "Returns the 2d tangency points of the multipoint only when 2d points exist. - + %feature("autodoc", " Parameters ---------- MPointIndex: int tabV2d: TColgp_Array1OfVec2d -Returns +Return ------- bool + +Description +----------- +Returns the 2d tangency points of the multipoint only when 2d points exist. ") Tangency; Standard_Boolean Tangency(const Standard_Integer MPointIndex, TColgp_Array1OfVec2d & tabV2d); - /****************** Tangency ******************/ - /**** md5 signature: c8caf611c9dc97dd9b8842534059cab9 ****/ + /****** BRepApprox_TheMultiLineOfApprox::Tangency ******/ + /****** md5 signature: c8caf611c9dc97dd9b8842534059cab9 ******/ %feature("compactdefaultargs") Tangency; - %feature("autodoc", "Returns the 3d and 2d points of the multipoint . - + %feature("autodoc", " Parameters ---------- MPointIndex: int tabV: TColgp_Array1OfVec tabV2d: TColgp_Array1OfVec2d -Returns +Return ------- bool + +Description +----------- +Returns the 3d and 2d points of the multipoint . ") Tangency; Standard_Boolean Tangency(const Standard_Integer MPointIndex, TColgp_Array1OfVec & tabV, TColgp_Array1OfVec2d & tabV2d); - /****************** Value ******************/ - /**** md5 signature: 511d3e7ebcd62cd9cfde5bca091161ea ****/ + /****** BRepApprox_TheMultiLineOfApprox::Value ******/ + /****** md5 signature: 511d3e7ebcd62cd9cfde5bca091161ea ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns the 3d points of the multipoint when only 3d points exist. - + %feature("autodoc", " Parameters ---------- MPointIndex: int tabPt: TColgp_Array1OfPnt -Returns +Return ------- None + +Description +----------- +Returns the 3d points of the multipoint when only 3d points exist. ") Value; void Value(const Standard_Integer MPointIndex, TColgp_Array1OfPnt & tabPt); - /****************** Value ******************/ - /**** md5 signature: 6626a2a082c59909a2d396794f2d2a4e ****/ + /****** BRepApprox_TheMultiLineOfApprox::Value ******/ + /****** md5 signature: 6626a2a082c59909a2d396794f2d2a4e ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns the 2d points of the multipoint when only 2d points exist. - + %feature("autodoc", " Parameters ---------- MPointIndex: int tabPt2d: TColgp_Array1OfPnt2d -Returns +Return ------- None + +Description +----------- +Returns the 2d points of the multipoint when only 2d points exist. ") Value; void Value(const Standard_Integer MPointIndex, TColgp_Array1OfPnt2d & tabPt2d); - /****************** Value ******************/ - /**** md5 signature: 9ace448e14090fa28f4ee0cbe190ed29 ****/ + /****** BRepApprox_TheMultiLineOfApprox::Value ******/ + /****** md5 signature: 9ace448e14090fa28f4ee0cbe190ed29 ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns the 3d and 2d points of the multipoint . - + %feature("autodoc", " Parameters ---------- MPointIndex: int tabPt: TColgp_Array1OfPnt tabPt2d: TColgp_Array1OfPnt2d -Returns +Return ------- None + +Description +----------- +Returns the 3d and 2d points of the multipoint . ") Value; void Value(const Standard_Integer MPointIndex, TColgp_Array1OfPnt & tabPt, TColgp_Array1OfPnt2d & tabPt2d); - /****************** WhatStatus ******************/ - /**** md5 signature: 76f55e4a417176afbc003868c157efc5 ****/ + /****** BRepApprox_TheMultiLineOfApprox::WhatStatus ******/ + /****** md5 signature: 76f55e4a417176afbc003868c157efc5 ******/ %feature("compactdefaultargs") WhatStatus; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- Approx_Status + +Description +----------- +No available documentation. ") WhatStatus; Approx_Status WhatStatus(); @@ -4186,45 +5515,50 @@ Approx_Status ********************************************/ class BRepApprox_TheMultiLineToolOfApprox { public: - /****************** Curvature ******************/ - /**** md5 signature: bf7ee67527922d9913db5a4fbf2e4afb ****/ + /****** BRepApprox_TheMultiLineToolOfApprox::Curvature ******/ + /****** md5 signature: bf7ee67527922d9913db5a4fbf2e4afb ******/ %feature("compactdefaultargs") Curvature; - %feature("autodoc", "Returns the 3d curvature of the multipoint when only 3d points exist. - + %feature("autodoc", " Parameters ---------- ML: BRepApprox_TheMultiLineOfApprox MPointIndex: int tabV: TColgp_Array1OfVec -Returns +Return ------- bool + +Description +----------- +returns the 3d curvature of the multipoint when only 3d points exist. ") Curvature; static Standard_Boolean Curvature(const BRepApprox_TheMultiLineOfApprox & ML, const Standard_Integer MPointIndex, TColgp_Array1OfVec & tabV); - /****************** Curvature ******************/ - /**** md5 signature: febf4f9f7956f4982c5221e66708df55 ****/ + /****** BRepApprox_TheMultiLineToolOfApprox::Curvature ******/ + /****** md5 signature: febf4f9f7956f4982c5221e66708df55 ******/ %feature("compactdefaultargs") Curvature; - %feature("autodoc", "Returns the 2d curvature points of the multipoint only when 2d points exist. - + %feature("autodoc", " Parameters ---------- ML: BRepApprox_TheMultiLineOfApprox MPointIndex: int tabV2d: TColgp_Array1OfVec2d -Returns +Return ------- bool + +Description +----------- +returns the 2d curvature points of the multipoint only when 2d points exist. ") Curvature; static Standard_Boolean Curvature(const BRepApprox_TheMultiLineOfApprox & ML, const Standard_Integer MPointIndex, TColgp_Array1OfVec2d & tabV2d); - /****************** Curvature ******************/ - /**** md5 signature: ac0a699a5da9a476fb76822ea024d997 ****/ + /****** BRepApprox_TheMultiLineToolOfApprox::Curvature ******/ + /****** md5 signature: ac0a699a5da9a476fb76822ea024d997 ******/ %feature("compactdefaultargs") Curvature; - %feature("autodoc", "Returns the 3d and 2d curvature of the multipoint . - + %feature("autodoc", " Parameters ---------- ML: BRepApprox_TheMultiLineOfApprox @@ -4232,62 +5566,74 @@ MPointIndex: int tabV: TColgp_Array1OfVec tabV2d: TColgp_Array1OfVec2d -Returns +Return ------- bool + +Description +----------- +returns the 3d and 2d curvature of the multipoint . ") Curvature; static Standard_Boolean Curvature(const BRepApprox_TheMultiLineOfApprox & ML, const Standard_Integer MPointIndex, TColgp_Array1OfVec & tabV, TColgp_Array1OfVec2d & tabV2d); - /****************** Dump ******************/ - /**** md5 signature: b9cdb0fd704d7adbd581eb92bfcc2528 ****/ + /****** BRepApprox_TheMultiLineToolOfApprox::Dump ******/ + /****** md5 signature: b9cdb0fd704d7adbd581eb92bfcc2528 ******/ %feature("compactdefaultargs") Dump; - %feature("autodoc", "Dump of the current multi-line. - + %feature("autodoc", " Parameters ---------- ML: BRepApprox_TheMultiLineOfApprox -Returns +Return ------- None + +Description +----------- +Dump of the current multi-line. ") Dump; static void Dump(const BRepApprox_TheMultiLineOfApprox & ML); - /****************** FirstPoint ******************/ - /**** md5 signature: 85a33a9acd8ba8a4e3e2371ddd20fc7c ****/ + /****** BRepApprox_TheMultiLineToolOfApprox::FirstPoint ******/ + /****** md5 signature: 85a33a9acd8ba8a4e3e2371ddd20fc7c ******/ %feature("compactdefaultargs") FirstPoint; - %feature("autodoc", "Returns the number of multipoints of the themultiline. - + %feature("autodoc", " Parameters ---------- ML: BRepApprox_TheMultiLineOfApprox -Returns +Return ------- int + +Description +----------- +Returns the number of multipoints of the TheMultiLine. ") FirstPoint; static Standard_Integer FirstPoint(const BRepApprox_TheMultiLineOfApprox & ML); - /****************** LastPoint ******************/ - /**** md5 signature: 47721ef9a832798de7a827f5fa93cc6a ****/ + /****** BRepApprox_TheMultiLineToolOfApprox::LastPoint ******/ + /****** md5 signature: 47721ef9a832798de7a827f5fa93cc6a ******/ %feature("compactdefaultargs") LastPoint; - %feature("autodoc", "Returns the number of multipoints of the themultiline. - + %feature("autodoc", " Parameters ---------- ML: BRepApprox_TheMultiLineOfApprox -Returns +Return ------- int + +Description +----------- +Returns the number of multipoints of the TheMultiLine. ") LastPoint; static Standard_Integer LastPoint(const BRepApprox_TheMultiLineOfApprox & ML); - /****************** MakeMLBetween ******************/ - /**** md5 signature: 0f95b389697bc413dc72ff9ef97cc6a8 ****/ + /****** BRepApprox_TheMultiLineToolOfApprox::MakeMLBetween ******/ + /****** md5 signature: 0f95b389697bc413dc72ff9ef97cc6a8 ******/ %feature("compactdefaultargs") MakeMLBetween; - %feature("autodoc", "Is called if whatstatus returned 'pointsadded'. - + %feature("autodoc", " Parameters ---------- ML: BRepApprox_TheMultiLineOfApprox @@ -4295,17 +5641,20 @@ I1: int I2: int NbPMin: int -Returns +Return ------- BRepApprox_TheMultiLineOfApprox + +Description +----------- +Is called if WhatStatus returned 'PointsAdded'. ") MakeMLBetween; static BRepApprox_TheMultiLineOfApprox MakeMLBetween(const BRepApprox_TheMultiLineOfApprox & ML, const Standard_Integer I1, const Standard_Integer I2, const Standard_Integer NbPMin); - /****************** MakeMLOneMorePoint ******************/ - /**** md5 signature: 4d363a38e0089ecaa07a9e81dab44599 ****/ + /****** BRepApprox_TheMultiLineToolOfApprox::MakeMLOneMorePoint ******/ + /****** md5 signature: 4d363a38e0089ecaa07a9e81dab44599 ******/ %feature("compactdefaultargs") MakeMLOneMorePoint; - %feature("autodoc", "Is called when the bezier curve contains a loop. - + %feature("autodoc", " Parameters ---------- ML: BRepApprox_TheMultiLineOfApprox @@ -4314,81 +5663,96 @@ I2: int indbad: int OtherLine: BRepApprox_TheMultiLineOfApprox -Returns +Return ------- bool + +Description +----------- +Is called when the Bezier curve contains a loop. ") 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 ******************/ - /**** md5 signature: 4dbf4c9efe98f097e7d61fb3638a07d9 ****/ + /****** BRepApprox_TheMultiLineToolOfApprox::NbP2d ******/ + /****** md5 signature: 4dbf4c9efe98f097e7d61fb3638a07d9 ******/ %feature("compactdefaultargs") NbP2d; - %feature("autodoc", "Returns the number of 2d points of a themultiline. - + %feature("autodoc", " Parameters ---------- ML: BRepApprox_TheMultiLineOfApprox -Returns +Return ------- int + +Description +----------- +Returns the number of 2d points of a TheMultiLine. ") NbP2d; static Standard_Integer NbP2d(const BRepApprox_TheMultiLineOfApprox & ML); - /****************** NbP3d ******************/ - /**** md5 signature: cf55a696ef970abbf2e8f74b4a0daed1 ****/ + /****** BRepApprox_TheMultiLineToolOfApprox::NbP3d ******/ + /****** md5 signature: cf55a696ef970abbf2e8f74b4a0daed1 ******/ %feature("compactdefaultargs") NbP3d; - %feature("autodoc", "Returns the number of 3d points of a themultiline. - + %feature("autodoc", " Parameters ---------- ML: BRepApprox_TheMultiLineOfApprox -Returns +Return ------- int + +Description +----------- +Returns the number of 3d points of a TheMultiLine. ") NbP3d; static Standard_Integer NbP3d(const BRepApprox_TheMultiLineOfApprox & ML); - /****************** Tangency ******************/ - /**** md5 signature: b7b561fe15855fef28260b26ee552e4b ****/ + /****** BRepApprox_TheMultiLineToolOfApprox::Tangency ******/ + /****** md5 signature: b7b561fe15855fef28260b26ee552e4b ******/ %feature("compactdefaultargs") Tangency; - %feature("autodoc", "Returns the 3d points of the multipoint when only 3d points exist. - + %feature("autodoc", " Parameters ---------- ML: BRepApprox_TheMultiLineOfApprox MPointIndex: int tabV: TColgp_Array1OfVec -Returns +Return ------- bool + +Description +----------- +returns the 3d points of the multipoint when only 3d points exist. ") Tangency; static Standard_Boolean Tangency(const BRepApprox_TheMultiLineOfApprox & ML, const Standard_Integer MPointIndex, TColgp_Array1OfVec & tabV); - /****************** Tangency ******************/ - /**** md5 signature: 8152094c428170ba0f2f1fd17292c27c ****/ + /****** BRepApprox_TheMultiLineToolOfApprox::Tangency ******/ + /****** md5 signature: 8152094c428170ba0f2f1fd17292c27c ******/ %feature("compactdefaultargs") Tangency; - %feature("autodoc", "Returns the 2d tangency points of the multipoint only when 2d points exist. - + %feature("autodoc", " Parameters ---------- ML: BRepApprox_TheMultiLineOfApprox MPointIndex: int tabV2d: TColgp_Array1OfVec2d -Returns +Return ------- bool + +Description +----------- +returns the 2d tangency points of the multipoint only when 2d points exist. ") Tangency; static Standard_Boolean Tangency(const BRepApprox_TheMultiLineOfApprox & ML, const Standard_Integer MPointIndex, TColgp_Array1OfVec2d & tabV2d); - /****************** Tangency ******************/ - /**** md5 signature: 6aef83009c20ac70bd1b04ba431473d4 ****/ + /****** BRepApprox_TheMultiLineToolOfApprox::Tangency ******/ + /****** md5 signature: 6aef83009c20ac70bd1b04ba431473d4 ******/ %feature("compactdefaultargs") Tangency; - %feature("autodoc", "Returns the 3d and 2d points of the multipoint . - + %feature("autodoc", " Parameters ---------- ML: BRepApprox_TheMultiLineOfApprox @@ -4396,51 +5760,60 @@ MPointIndex: int tabV: TColgp_Array1OfVec tabV2d: TColgp_Array1OfVec2d -Returns +Return ------- bool + +Description +----------- +returns the 3d and 2d points of the multipoint . ") Tangency; static Standard_Boolean Tangency(const BRepApprox_TheMultiLineOfApprox & ML, const Standard_Integer MPointIndex, TColgp_Array1OfVec & tabV, TColgp_Array1OfVec2d & tabV2d); - /****************** Value ******************/ - /**** md5 signature: ecc7784256b44d7c12f30c0b086997a2 ****/ + /****** BRepApprox_TheMultiLineToolOfApprox::Value ******/ + /****** md5 signature: ecc7784256b44d7c12f30c0b086997a2 ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns the 3d points of the multipoint when only 3d points exist. - + %feature("autodoc", " Parameters ---------- ML: BRepApprox_TheMultiLineOfApprox MPointIndex: int tabPt: TColgp_Array1OfPnt -Returns +Return ------- None + +Description +----------- +returns the 3d points of the multipoint when only 3d points exist. ") Value; static void Value(const BRepApprox_TheMultiLineOfApprox & ML, const Standard_Integer MPointIndex, TColgp_Array1OfPnt & tabPt); - /****************** Value ******************/ - /**** md5 signature: f04c8e8e6745056be43d70d16c74dcf5 ****/ + /****** BRepApprox_TheMultiLineToolOfApprox::Value ******/ + /****** md5 signature: f04c8e8e6745056be43d70d16c74dcf5 ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns the 2d points of the multipoint when only 2d points exist. - + %feature("autodoc", " Parameters ---------- ML: BRepApprox_TheMultiLineOfApprox MPointIndex: int tabPt2d: TColgp_Array1OfPnt2d -Returns +Return ------- None + +Description +----------- +returns the 2d points of the multipoint when only 2d points exist. ") Value; static void Value(const BRepApprox_TheMultiLineOfApprox & ML, const Standard_Integer MPointIndex, TColgp_Array1OfPnt2d & tabPt2d); - /****************** Value ******************/ - /**** md5 signature: a95dafe6ca3a1d888726e591cc020148 ****/ + /****** BRepApprox_TheMultiLineToolOfApprox::Value ******/ + /****** md5 signature: a95dafe6ca3a1d888726e591cc020148 ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns the 3d and 2d points of the multipoint . - + %feature("autodoc", " Parameters ---------- ML: BRepApprox_TheMultiLineOfApprox @@ -4448,26 +5821,33 @@ MPointIndex: int tabPt: TColgp_Array1OfPnt tabPt2d: TColgp_Array1OfPnt2d -Returns +Return ------- None + +Description +----------- +returns the 3d and 2d points of the multipoint . ") Value; static void Value(const BRepApprox_TheMultiLineOfApprox & ML, const Standard_Integer MPointIndex, TColgp_Array1OfPnt & tabPt, TColgp_Array1OfPnt2d & tabPt2d); - /****************** WhatStatus ******************/ - /**** md5 signature: d2b8e2cdf30a632e4776399c404b4817 ****/ + /****** BRepApprox_TheMultiLineToolOfApprox::WhatStatus ******/ + /****** md5 signature: d2b8e2cdf30a632e4776399c404b4817 ******/ %feature("compactdefaultargs") WhatStatus; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- ML: BRepApprox_TheMultiLineOfApprox I1: int I2: int -Returns +Return ------- Approx_Status + +Description +----------- +No available documentation. ") WhatStatus; static Approx_Status WhatStatus(const BRepApprox_TheMultiLineOfApprox & ML, const Standard_Integer I1, const Standard_Integer I2); @@ -4485,27 +5865,29 @@ Approx_Status ***********************************************/ class BRepApprox_ThePrmPrmSvSurfacesOfApprox : public ApproxInt_SvSurfaces { public: - /****************** BRepApprox_ThePrmPrmSvSurfacesOfApprox ******************/ - /**** md5 signature: e65d1da54b125e00ef167affcb368a96 ****/ + /****** BRepApprox_ThePrmPrmSvSurfacesOfApprox::BRepApprox_ThePrmPrmSvSurfacesOfApprox ******/ + /****** md5 signature: e65d1da54b125e00ef167affcb368a96 ******/ %feature("compactdefaultargs") BRepApprox_ThePrmPrmSvSurfacesOfApprox; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Surf1: BRepAdaptor_Surface Surf2: BRepAdaptor_Surface -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepApprox_ThePrmPrmSvSurfacesOfApprox; BRepApprox_ThePrmPrmSvSurfacesOfApprox(const BRepAdaptor_Surface & Surf1, const BRepAdaptor_Surface & Surf2); - /****************** Compute ******************/ - /**** md5 signature: 1b6699512251d1cde0fa87fb6fb9f2bf ****/ + /****** BRepApprox_ThePrmPrmSvSurfacesOfApprox::Compute ******/ + /****** md5 signature: 1b6699512251d1cde0fa87fb6fb9f2bf ******/ %feature("compactdefaultargs") Compute; - %feature("autodoc", "Returns true if tg,tguv1 tguv2 can be computed. - + %feature("autodoc", " Parameters ---------- Pt: gp_Pnt @@ -4513,20 +5895,23 @@ Tg: gp_Vec Tguv1: gp_Vec2d Tguv2: gp_Vec2d -Returns +Return ------- u1: float v1: float u2: float v2: float + +Description +----------- +returns True if Tg,Tguv1 Tguv2 can be computed. ") 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 ******************/ - /**** md5 signature: 9b8bce66add52a246baf1e5f56b41c57 ****/ + /****** BRepApprox_ThePrmPrmSvSurfacesOfApprox::Pnt ******/ + /****** md5 signature: 9b8bce66add52a246baf1e5f56b41c57 ******/ %feature("compactdefaultargs") Pnt; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- u1: float @@ -4535,17 +5920,20 @@ u2: float v2: float P: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") Pnt; void Pnt(const Standard_Real u1, const Standard_Real v1, const Standard_Real u2, const Standard_Real v2, gp_Pnt & P); - /****************** SeekPoint ******************/ - /**** md5 signature: 1cbe34841922a959c2a9bca52603cce9 ****/ + /****** BRepApprox_ThePrmPrmSvSurfacesOfApprox::SeekPoint ******/ + /****** md5 signature: 1cbe34841922a959c2a9bca52603cce9 ******/ %feature("compactdefaultargs") SeekPoint; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- u1: float @@ -4554,17 +5942,20 @@ u2: float v2: float Point: IntSurf_PntOn2S -Returns +Return ------- bool + +Description +----------- +No available documentation. ") SeekPoint; Standard_Boolean SeekPoint(const Standard_Real u1, const Standard_Real v1, const Standard_Real u2, const Standard_Real v2, IntSurf_PntOn2S & Point); - /****************** Tangency ******************/ - /**** md5 signature: c0c9891902a6459b409f1a9c52228000 ****/ + /****** BRepApprox_ThePrmPrmSvSurfacesOfApprox::Tangency ******/ + /****** md5 signature: c0c9891902a6459b409f1a9c52228000 ******/ %feature("compactdefaultargs") Tangency; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- u1: float @@ -4573,17 +5964,20 @@ u2: float v2: float Tg: gp_Vec -Returns +Return ------- bool + +Description +----------- +No available documentation. ") Tangency; Standard_Boolean Tangency(const Standard_Real u1, const Standard_Real v1, const Standard_Real u2, const Standard_Real v2, gp_Vec & Tg); - /****************** TangencyOnSurf1 ******************/ - /**** md5 signature: 92ffba31e07343330c44d9dee4123c55 ****/ + /****** BRepApprox_ThePrmPrmSvSurfacesOfApprox::TangencyOnSurf1 ******/ + /****** md5 signature: 92ffba31e07343330c44d9dee4123c55 ******/ %feature("compactdefaultargs") TangencyOnSurf1; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- u1: float @@ -4592,17 +5986,20 @@ u2: float v2: float Tg: gp_Vec2d -Returns +Return ------- bool + +Description +----------- +No available documentation. ") TangencyOnSurf1; Standard_Boolean TangencyOnSurf1(const Standard_Real u1, const Standard_Real v1, const Standard_Real u2, const Standard_Real v2, gp_Vec2d & Tg); - /****************** TangencyOnSurf2 ******************/ - /**** md5 signature: 0c3b4c57afa7cd03a0f9030ecd47326b ****/ + /****** BRepApprox_ThePrmPrmSvSurfacesOfApprox::TangencyOnSurf2 ******/ + /****** md5 signature: 0c3b4c57afa7cd03a0f9030ecd47326b ******/ %feature("compactdefaultargs") TangencyOnSurf2; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- u1: float @@ -4611,9 +6008,13 @@ u2: float v2: float Tg: gp_Vec2d -Returns +Return ------- bool + +Description +----------- +No available documentation. ") TangencyOnSurf2; Standard_Boolean TangencyOnSurf2(const Standard_Real u1, const Standard_Real v1, const Standard_Real u2, const Standard_Real v2, gp_Vec2d & Tg); @@ -4631,249 +6032,295 @@ bool **************************************************************/ class BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox : public math_FunctionSetWithDerivatives { public: - /****************** BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox ******************/ - /**** md5 signature: b9ba9fb685c01d3cdaa6f5530485bceb ****/ + /****** BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox::BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox ******/ + /****** md5 signature: b9ba9fb685c01d3cdaa6f5530485bceb ******/ %feature("compactdefaultargs") BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox; BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox(); - /****************** BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox ******************/ - /**** md5 signature: a24c282cf420ee670be218df4f94a5f5 ****/ + /****** BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox::BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox ******/ + /****** md5 signature: a24c282cf420ee670be218df4f94a5f5 ******/ %feature("compactdefaultargs") BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- PS: BRepAdaptor_Surface IS: IntSurf_Quadric -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox; BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox(const BRepAdaptor_Surface & PS, const IntSurf_Quadric & IS); - /****************** BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox ******************/ - /**** md5 signature: 0dbcc591454534ee61d1672b023e50ce ****/ + /****** BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox::BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox ******/ + /****** md5 signature: 0dbcc591454534ee61d1672b023e50ce ******/ %feature("compactdefaultargs") BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- IS: IntSurf_Quadric -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox; BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox(const IntSurf_Quadric & IS); - /****************** Derivatives ******************/ - /**** md5 signature: 80ee5f16e62731c095910ad60228848b ****/ + /****** BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox::Derivatives ******/ + /****** md5 signature: 80ee5f16e62731c095910ad60228848b ******/ %feature("compactdefaultargs") Derivatives; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- X: math_Vector D: math_Matrix -Returns +Return ------- bool + +Description +----------- +No available documentation. ") Derivatives; Standard_Boolean Derivatives(const math_Vector & X, math_Matrix & D); - /****************** Direction2d ******************/ - /**** md5 signature: e46e583c3b745511fb8654831bfa19d7 ****/ + /****** BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox::Direction2d ******/ + /****** md5 signature: e46e583c3b745511fb8654831bfa19d7 ******/ %feature("compactdefaultargs") Direction2d; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Dir2d + +Description +----------- +No available documentation. ") Direction2d; const gp_Dir2d Direction2d(); - /****************** Direction3d ******************/ - /**** md5 signature: ceda05eba57d20f6f3ce262f42faf157 ****/ + /****** BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox::Direction3d ******/ + /****** md5 signature: ceda05eba57d20f6f3ce262f42faf157 ******/ %feature("compactdefaultargs") Direction3d; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Vec + +Description +----------- +No available documentation. ") Direction3d; const gp_Vec Direction3d(); - /****************** ISurface ******************/ - /**** md5 signature: 0401f703cbd4484a6014535602bb165f ****/ + /****** BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox::ISurface ******/ + /****** md5 signature: 0401f703cbd4484a6014535602bb165f ******/ %feature("compactdefaultargs") ISurface; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- IntSurf_Quadric + +Description +----------- +No available documentation. ") ISurface; const IntSurf_Quadric & ISurface(); - /****************** IsTangent ******************/ - /**** md5 signature: 52337431677eb50512a9391c1db95a81 ****/ + /****** BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox::IsTangent ******/ + /****** md5 signature: 52337431677eb50512a9391c1db95a81 ******/ %feature("compactdefaultargs") IsTangent; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsTangent; Standard_Boolean IsTangent(); - /****************** NbEquations ******************/ - /**** md5 signature: 42be0dc2e32c8e563393e8490171707e ****/ + /****** BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox::NbEquations ******/ + /****** md5 signature: 42be0dc2e32c8e563393e8490171707e ******/ %feature("compactdefaultargs") NbEquations; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbEquations; Standard_Integer NbEquations(); - /****************** NbVariables ******************/ - /**** md5 signature: a3de6b8a577fc113199e11b2b0bcdced ****/ + /****** BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox::NbVariables ******/ + /****** md5 signature: a3de6b8a577fc113199e11b2b0bcdced ******/ %feature("compactdefaultargs") NbVariables; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbVariables; Standard_Integer NbVariables(); - /****************** PSurface ******************/ - /**** md5 signature: 6400b2748022787da79a4e57d03a7e1a ****/ + /****** BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox::PSurface ******/ + /****** md5 signature: 6400b2748022787da79a4e57d03a7e1a ******/ %feature("compactdefaultargs") PSurface; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- BRepAdaptor_Surface + +Description +----------- +No available documentation. ") PSurface; - const BRepAdaptor_Surface & PSurface(); + BRepAdaptor_Surface PSurface(); - /****************** Point ******************/ - /**** md5 signature: 177e376cc11d1fedb2819bac56591ea8 ****/ + /****** BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox::Point ******/ + /****** md5 signature: 177e376cc11d1fedb2819bac56591ea8 ******/ %feature("compactdefaultargs") Point; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Pnt + +Description +----------- +No available documentation. ") Point; const gp_Pnt Point(); - /****************** Root ******************/ - /**** md5 signature: 1f1a437be6bd034392962de6cf04ded1 ****/ + /****** BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox::Root ******/ + /****** md5 signature: 1f1a437be6bd034392962de6cf04ded1 ******/ %feature("compactdefaultargs") Root; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") Root; Standard_Real Root(); - /****************** Set ******************/ - /**** md5 signature: 9058e7788b2e34d9884944da3a219e67 ****/ + /****** BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox::Set ******/ + /****** md5 signature: 9058e7788b2e34d9884944da3a219e67 ******/ %feature("compactdefaultargs") Set; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- PS: BRepAdaptor_Surface -Returns +Return ------- None + +Description +----------- +No available documentation. ") Set; void Set(const BRepAdaptor_Surface & PS); - /****************** Set ******************/ - /**** md5 signature: 7e3e1092ebe5da1f71e965a1091893e3 ****/ + /****** BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox::Set ******/ + /****** md5 signature: 7e3e1092ebe5da1f71e965a1091893e3 ******/ %feature("compactdefaultargs") Set; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Tolerance: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") Set; void Set(const Standard_Real Tolerance); - /****************** SetImplicitSurface ******************/ - /**** md5 signature: 0ad3b55688a2be8e3aa7ec9c9bcbd283 ****/ + /****** BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox::SetImplicitSurface ******/ + /****** md5 signature: 0ad3b55688a2be8e3aa7ec9c9bcbd283 ******/ %feature("compactdefaultargs") SetImplicitSurface; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- IS: IntSurf_Quadric -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetImplicitSurface; void SetImplicitSurface(const IntSurf_Quadric & IS); - /****************** Tolerance ******************/ - /**** md5 signature: 9e5775014410d884d1a1adc1cd47930b ****/ + /****** BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox::Tolerance ******/ + /****** md5 signature: 9e5775014410d884d1a1adc1cd47930b ******/ %feature("compactdefaultargs") Tolerance; - %feature("autodoc", "Returns the value tol so that if abs(func.root()) None: ... - def IsDone(self) -> bool: ... - def NbMultiCurves(self) -> int: ... - def SetParameters(self, Tol3d: float, Tol2d: float, DegMin: int, DegMax: int, NbIterMax: int, NbPntMax: Optional[int] = 30, ApproxWithTangency: Optional[bool] = True, Parametrization: Optional[Approx_ParametrizationType] = Approx_ChordLength) -> None: ... - def TolReached2d(self) -> float: ... - def TolReached3d(self) -> float: ... - def Value(self, Index: int) -> AppParCurves_MultiBSpCurve: ... + def __init__(self) -> None: ... + def IsDone(self) -> bool: ... + def NbMultiCurves(self) -> int: ... + @staticmethod + def Parameters( + Line: BRepApprox_TheMultiLineOfApprox, + firstP: int, + lastP: int, + Par: Approx_ParametrizationType, + TheParameters: math_Vector, + ) -> None: ... + def SetParameters( + self, + Tol3d: float, + Tol2d: float, + DegMin: int, + DegMax: int, + NbIterMax: int, + NbPntMax: Optional[int] = 30, + ApproxWithTangency: Optional[bool] = True, + Parametrization: Optional[Approx_ParametrizationType] = Approx_ChordLength, + ) -> None: ... + def TolReached2d(self) -> float: ... + def TolReached3d(self) -> float: ... + def Value(self, Index: int) -> AppParCurves_MultiBSpCurve: ... class BRepApprox_ApproxLine(Standard_Transient): - @overload - def __init__(self, CurveXYZ: Geom_BSplineCurve, CurveUV1: Geom2d_BSplineCurve, CurveUV2: Geom2d_BSplineCurve) -> None: ... - @overload - def __init__(self, lin: IntSurf_LineOn2S, theTang: Optional[bool] = False) -> None: ... - def NbPnts(self) -> int: ... - def Point(self, Index: int) -> IntSurf_PntOn2S: ... + @overload + def __init__( + self, + CurveXYZ: Geom_BSplineCurve, + CurveUV1: Geom2d_BSplineCurve, + CurveUV2: Geom2d_BSplineCurve, + ) -> None: ... + @overload + def __init__( + self, lin: IntSurf_LineOn2S, theTang: Optional[bool] = False + ) -> None: ... + def NbPnts(self) -> int: ... + def Point(self, Index: int) -> IntSurf_PntOn2S: ... class BRepApprox_BSpGradient_BFGSOfMyBSplGradientOfTheComputeLineOfApprox(math_BFGS): - def __init__(self, F: math_MultipleVarFunctionWithGradient, StartingPoint: math_Vector, Tolerance3d: float, Tolerance2d: float, Eps: float, NbIterations: Optional[int] = 200) -> None: ... - def IsSolutionReached(self, F: math_MultipleVarFunctionWithGradient) -> bool: ... + def __init__( + self, + F: math_MultipleVarFunctionWithGradient, + StartingPoint: math_Vector, + Tolerance3d: float, + Tolerance2d: float, + Eps: float, + NbIterations: Optional[int] = 200, + ) -> None: ... + def IsSolutionReached(self, F: math_MultipleVarFunctionWithGradient) -> bool: ... -class BRepApprox_BSpParFunctionOfMyBSplGradientOfTheComputeLineOfApprox(math_MultipleVarFunctionWithGradient): - def __init__(self, SSP: BRepApprox_TheMultiLineOfApprox, FirstPoint: int, LastPoint: int, TheConstraints: AppParCurves_HArray1OfConstraintCouple, Parameters: math_Vector, Knots: TColStd_Array1OfReal, Mults: TColStd_Array1OfInteger, NbPol: int) -> None: ... - def CurveValue(self) -> AppParCurves_MultiBSpCurve: ... - def DerivativeFunctionMatrix(self) -> math_Matrix: ... - def Error(self, IPoint: int, CurveIndex: int) -> float: ... - def FirstConstraint(self, TheConstraints: AppParCurves_HArray1OfConstraintCouple, FirstPoint: int) -> AppParCurves_Constraint: ... - def FunctionMatrix(self) -> math_Matrix: ... - def Gradient(self, X: math_Vector, G: math_Vector) -> bool: ... - def Index(self) -> math_IntegerVector: ... - def LastConstraint(self, TheConstraints: AppParCurves_HArray1OfConstraintCouple, LastPoint: int) -> AppParCurves_Constraint: ... - def MaxError2d(self) -> float: ... - def MaxError3d(self) -> float: ... - def NbVariables(self) -> int: ... - def NewParameters(self) -> math_Vector: ... - def SetFirstLambda(self, l1: float) -> None: ... - def SetLastLambda(self, l2: float) -> None: ... - def Value(self, X: math_Vector) -> Tuple[bool, float]: ... - def Values(self, X: math_Vector, G: math_Vector) -> Tuple[bool, float]: ... +class BRepApprox_BSpParFunctionOfMyBSplGradientOfTheComputeLineOfApprox( + math_MultipleVarFunctionWithGradient +): + def __init__( + self, + SSP: BRepApprox_TheMultiLineOfApprox, + FirstPoint: int, + LastPoint: int, + TheConstraints: AppParCurves_HArray1OfConstraintCouple, + Parameters: math_Vector, + Knots: TColStd_Array1OfReal, + Mults: TColStd_Array1OfInteger, + NbPol: int, + ) -> None: ... + def CurveValue(self) -> AppParCurves_MultiBSpCurve: ... + def DerivativeFunctionMatrix(self) -> math_Matrix: ... + def Error(self, IPoint: int, CurveIndex: int) -> float: ... + def FirstConstraint( + self, TheConstraints: AppParCurves_HArray1OfConstraintCouple, FirstPoint: int + ) -> AppParCurves_Constraint: ... + def FunctionMatrix(self) -> math_Matrix: ... + def Gradient(self, X: math_Vector, G: math_Vector) -> bool: ... + def Index(self) -> math_IntegerVector: ... + def LastConstraint( + self, TheConstraints: AppParCurves_HArray1OfConstraintCouple, LastPoint: int + ) -> AppParCurves_Constraint: ... + def MaxError2d(self) -> float: ... + def MaxError3d(self) -> float: ... + def NbVariables(self) -> int: ... + def NewParameters(self) -> math_Vector: ... + def SetFirstLambda(self, l1: float) -> None: ... + def SetLastLambda(self, l2: float) -> None: ... + def Value(self, X: math_Vector) -> Tuple[bool, float]: ... + def Values(self, X: math_Vector, G: math_Vector) -> Tuple[bool, float]: ... class BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox: - @overload - def __init__(self, SSP: BRepApprox_TheMultiLineOfApprox, FirstPoint: int, LastPoint: int, FirstCons: AppParCurves_Constraint, LastCons: AppParCurves_Constraint, Parameters: math_Vector, NbPol: int) -> None: ... - @overload - def __init__(self, SSP: BRepApprox_TheMultiLineOfApprox, FirstPoint: int, LastPoint: int, FirstCons: AppParCurves_Constraint, LastCons: AppParCurves_Constraint, NbPol: int) -> None: ... - @overload - def __init__(self, SSP: BRepApprox_TheMultiLineOfApprox, Knots: TColStd_Array1OfReal, Mults: TColStd_Array1OfInteger, FirstPoint: int, LastPoint: int, FirstCons: AppParCurves_Constraint, LastCons: AppParCurves_Constraint, Parameters: math_Vector, NbPol: int) -> None: ... - @overload - def __init__(self, SSP: BRepApprox_TheMultiLineOfApprox, Knots: TColStd_Array1OfReal, Mults: TColStd_Array1OfInteger, FirstPoint: int, LastPoint: int, FirstCons: AppParCurves_Constraint, LastCons: AppParCurves_Constraint, NbPol: int) -> None: ... - def BSplineValue(self) -> AppParCurves_MultiBSpCurve: ... - def BezierValue(self) -> AppParCurves_MultiCurve: ... - def DerivativeFunctionMatrix(self) -> math_Matrix: ... - def Distance(self) -> math_Matrix: ... - def Error(self) -> Tuple[float, float, float]: ... - def ErrorGradient(self, Grad: math_Vector) -> Tuple[float, float, float]: ... - def FirstLambda(self) -> float: ... - def FunctionMatrix(self) -> math_Matrix: ... - def IsDone(self) -> bool: ... - def KIndex(self) -> math_IntegerVector: ... - def LastLambda(self) -> float: ... - @overload - def Perform(self, Parameters: math_Vector) -> None: ... - @overload - def Perform(self, Parameters: math_Vector, l1: float, l2: float) -> None: ... - @overload - def Perform(self, Parameters: math_Vector, V1t: math_Vector, V2t: math_Vector, l1: float, l2: float) -> None: ... - @overload - def Perform(self, Parameters: math_Vector, V1t: math_Vector, V2t: math_Vector, V1c: math_Vector, V2c: math_Vector, l1: float, l2: float) -> None: ... - def Points(self) -> math_Matrix: ... - def Poles(self) -> math_Matrix: ... + @overload + def __init__( + self, + SSP: BRepApprox_TheMultiLineOfApprox, + FirstPoint: int, + LastPoint: int, + FirstCons: AppParCurves_Constraint, + LastCons: AppParCurves_Constraint, + Parameters: math_Vector, + NbPol: int, + ) -> None: ... + @overload + def __init__( + self, + SSP: BRepApprox_TheMultiLineOfApprox, + FirstPoint: int, + LastPoint: int, + FirstCons: AppParCurves_Constraint, + LastCons: AppParCurves_Constraint, + NbPol: int, + ) -> None: ... + @overload + def __init__( + self, + SSP: BRepApprox_TheMultiLineOfApprox, + Knots: TColStd_Array1OfReal, + Mults: TColStd_Array1OfInteger, + FirstPoint: int, + LastPoint: int, + FirstCons: AppParCurves_Constraint, + LastCons: AppParCurves_Constraint, + Parameters: math_Vector, + NbPol: int, + ) -> None: ... + @overload + def __init__( + self, + SSP: BRepApprox_TheMultiLineOfApprox, + Knots: TColStd_Array1OfReal, + Mults: TColStd_Array1OfInteger, + FirstPoint: int, + LastPoint: int, + FirstCons: AppParCurves_Constraint, + LastCons: AppParCurves_Constraint, + NbPol: int, + ) -> None: ... + def BSplineValue(self) -> AppParCurves_MultiBSpCurve: ... + def BezierValue(self) -> AppParCurves_MultiCurve: ... + def DerivativeFunctionMatrix(self) -> math_Matrix: ... + def Distance(self) -> math_Matrix: ... + def Error(self) -> Tuple[float, float, float]: ... + def ErrorGradient(self, Grad: math_Vector) -> Tuple[float, float, float]: ... + def FirstLambda(self) -> float: ... + def FunctionMatrix(self) -> math_Matrix: ... + def IsDone(self) -> bool: ... + def KIndex(self) -> math_IntegerVector: ... + def LastLambda(self) -> float: ... + @overload + def Perform(self, Parameters: math_Vector) -> None: ... + @overload + def Perform(self, Parameters: math_Vector, l1: float, l2: float) -> None: ... + @overload + def Perform( + self, + Parameters: math_Vector, + V1t: math_Vector, + V2t: math_Vector, + l1: float, + l2: float, + ) -> None: ... + @overload + def Perform( + self, + Parameters: math_Vector, + V1t: math_Vector, + V2t: math_Vector, + V1c: math_Vector, + V2c: math_Vector, + l1: float, + l2: float, + ) -> None: ... + def Points(self) -> math_Matrix: ... + def Poles(self) -> math_Matrix: ... class BRepApprox_Gradient_BFGSOfMyGradientOfTheComputeLineBezierOfApprox(math_BFGS): - def __init__(self, F: math_MultipleVarFunctionWithGradient, StartingPoint: math_Vector, Tolerance3d: float, Tolerance2d: float, Eps: float, NbIterations: Optional[int] = 200) -> None: ... - def IsSolutionReached(self, F: math_MultipleVarFunctionWithGradient) -> bool: ... + def __init__( + self, + F: math_MultipleVarFunctionWithGradient, + StartingPoint: math_Vector, + Tolerance3d: float, + Tolerance2d: float, + Eps: float, + NbIterations: Optional[int] = 200, + ) -> None: ... + def IsSolutionReached(self, F: math_MultipleVarFunctionWithGradient) -> bool: ... class BRepApprox_Gradient_BFGSOfMyGradientbisOfTheComputeLineOfApprox(math_BFGS): - def __init__(self, F: math_MultipleVarFunctionWithGradient, StartingPoint: math_Vector, Tolerance3d: float, Tolerance2d: float, Eps: float, NbIterations: Optional[int] = 200) -> None: ... - def IsSolutionReached(self, F: math_MultipleVarFunctionWithGradient) -> bool: ... + def __init__( + self, + F: math_MultipleVarFunctionWithGradient, + StartingPoint: math_Vector, + Tolerance3d: float, + Tolerance2d: float, + Eps: float, + NbIterations: Optional[int] = 200, + ) -> None: ... + def IsSolutionReached(self, F: math_MultipleVarFunctionWithGradient) -> bool: ... class BRepApprox_MyBSplGradientOfTheComputeLineOfApprox: - @overload - def __init__(self, SSP: BRepApprox_TheMultiLineOfApprox, FirstPoint: int, LastPoint: int, TheConstraints: AppParCurves_HArray1OfConstraintCouple, Parameters: math_Vector, Knots: TColStd_Array1OfReal, Mults: TColStd_Array1OfInteger, Deg: int, Tol3d: float, Tol2d: float, NbIterations: Optional[int] = 1) -> None: ... - @overload - def __init__(self, SSP: BRepApprox_TheMultiLineOfApprox, FirstPoint: int, LastPoint: int, TheConstraints: AppParCurves_HArray1OfConstraintCouple, Parameters: math_Vector, Knots: TColStd_Array1OfReal, Mults: TColStd_Array1OfInteger, Deg: int, Tol3d: float, Tol2d: float, NbIterations: int, lambda1: float, lambda2: float) -> None: ... - def AverageError(self) -> float: ... - def Error(self, Index: int) -> float: ... - def IsDone(self) -> bool: ... - def MaxError2d(self) -> float: ... - def MaxError3d(self) -> float: ... - def Value(self) -> AppParCurves_MultiBSpCurve: ... + @overload + def __init__( + self, + SSP: BRepApprox_TheMultiLineOfApprox, + FirstPoint: int, + LastPoint: int, + TheConstraints: AppParCurves_HArray1OfConstraintCouple, + Parameters: math_Vector, + Knots: TColStd_Array1OfReal, + Mults: TColStd_Array1OfInteger, + Deg: int, + Tol3d: float, + Tol2d: float, + NbIterations: Optional[int] = 1, + ) -> None: ... + @overload + def __init__( + self, + SSP: BRepApprox_TheMultiLineOfApprox, + FirstPoint: int, + LastPoint: int, + TheConstraints: AppParCurves_HArray1OfConstraintCouple, + Parameters: math_Vector, + Knots: TColStd_Array1OfReal, + Mults: TColStd_Array1OfInteger, + Deg: int, + Tol3d: float, + Tol2d: float, + NbIterations: int, + lambda1: float, + lambda2: float, + ) -> None: ... + def AverageError(self) -> float: ... + def Error(self, Index: int) -> float: ... + def IsDone(self) -> bool: ... + def MaxError2d(self) -> float: ... + def MaxError3d(self) -> float: ... + def Value(self) -> AppParCurves_MultiBSpCurve: ... class BRepApprox_MyGradientOfTheComputeLineBezierOfApprox: - def __init__(self, SSP: BRepApprox_TheMultiLineOfApprox, FirstPoint: int, LastPoint: int, TheConstraints: AppParCurves_HArray1OfConstraintCouple, Parameters: math_Vector, Deg: int, Tol3d: float, Tol2d: float, NbIterations: Optional[int] = 200) -> None: ... - def AverageError(self) -> float: ... - def Error(self, Index: int) -> float: ... - def IsDone(self) -> bool: ... - def MaxError2d(self) -> float: ... - def MaxError3d(self) -> float: ... - def Value(self) -> AppParCurves_MultiCurve: ... + def __init__( + self, + SSP: BRepApprox_TheMultiLineOfApprox, + FirstPoint: int, + LastPoint: int, + TheConstraints: AppParCurves_HArray1OfConstraintCouple, + Parameters: math_Vector, + Deg: int, + Tol3d: float, + Tol2d: float, + NbIterations: Optional[int] = 200, + ) -> None: ... + def AverageError(self) -> float: ... + def Error(self, Index: int) -> float: ... + def IsDone(self) -> bool: ... + def MaxError2d(self) -> float: ... + def MaxError3d(self) -> float: ... + def Value(self) -> AppParCurves_MultiCurve: ... class BRepApprox_MyGradientbisOfTheComputeLineOfApprox: - def __init__(self, SSP: BRepApprox_TheMultiLineOfApprox, FirstPoint: int, LastPoint: int, TheConstraints: AppParCurves_HArray1OfConstraintCouple, Parameters: math_Vector, Deg: int, Tol3d: float, Tol2d: float, NbIterations: Optional[int] = 200) -> None: ... - def AverageError(self) -> float: ... - def Error(self, Index: int) -> float: ... - def IsDone(self) -> bool: ... - def MaxError2d(self) -> float: ... - def MaxError3d(self) -> float: ... - def Value(self) -> AppParCurves_MultiCurve: ... + def __init__( + self, + SSP: BRepApprox_TheMultiLineOfApprox, + FirstPoint: int, + LastPoint: int, + TheConstraints: AppParCurves_HArray1OfConstraintCouple, + Parameters: math_Vector, + Deg: int, + Tol3d: float, + Tol2d: float, + NbIterations: Optional[int] = 200, + ) -> None: ... + def AverageError(self) -> float: ... + def Error(self, Index: int) -> float: ... + def IsDone(self) -> bool: ... + def MaxError2d(self) -> float: ... + def MaxError3d(self) -> float: ... + def Value(self) -> AppParCurves_MultiCurve: ... -class BRepApprox_ParFunctionOfMyGradientOfTheComputeLineBezierOfApprox(math_MultipleVarFunctionWithGradient): - def __init__(self, SSP: BRepApprox_TheMultiLineOfApprox, FirstPoint: int, LastPoint: int, TheConstraints: AppParCurves_HArray1OfConstraintCouple, Parameters: math_Vector, Deg: int) -> None: ... - def CurveValue(self) -> AppParCurves_MultiCurve: ... - def Error(self, IPoint: int, CurveIndex: int) -> float: ... - def FirstConstraint(self, TheConstraints: AppParCurves_HArray1OfConstraintCouple, FirstPoint: int) -> AppParCurves_Constraint: ... - def Gradient(self, X: math_Vector, G: math_Vector) -> bool: ... - def LastConstraint(self, TheConstraints: AppParCurves_HArray1OfConstraintCouple, LastPoint: int) -> AppParCurves_Constraint: ... - def MaxError2d(self) -> float: ... - def MaxError3d(self) -> float: ... - def NbVariables(self) -> int: ... - def NewParameters(self) -> math_Vector: ... - def Value(self, X: math_Vector) -> Tuple[bool, float]: ... - def Values(self, X: math_Vector, G: math_Vector) -> Tuple[bool, float]: ... +class BRepApprox_ParFunctionOfMyGradientOfTheComputeLineBezierOfApprox( + math_MultipleVarFunctionWithGradient +): + def __init__( + self, + SSP: BRepApprox_TheMultiLineOfApprox, + FirstPoint: int, + LastPoint: int, + TheConstraints: AppParCurves_HArray1OfConstraintCouple, + Parameters: math_Vector, + Deg: int, + ) -> None: ... + def CurveValue(self) -> AppParCurves_MultiCurve: ... + def Error(self, IPoint: int, CurveIndex: int) -> float: ... + def FirstConstraint( + self, TheConstraints: AppParCurves_HArray1OfConstraintCouple, FirstPoint: int + ) -> AppParCurves_Constraint: ... + def Gradient(self, X: math_Vector, G: math_Vector) -> bool: ... + def LastConstraint( + self, TheConstraints: AppParCurves_HArray1OfConstraintCouple, LastPoint: int + ) -> AppParCurves_Constraint: ... + def MaxError2d(self) -> float: ... + def MaxError3d(self) -> float: ... + def NbVariables(self) -> int: ... + def NewParameters(self) -> math_Vector: ... + def Value(self, X: math_Vector) -> Tuple[bool, float]: ... + def Values(self, X: math_Vector, G: math_Vector) -> Tuple[bool, float]: ... -class BRepApprox_ParFunctionOfMyGradientbisOfTheComputeLineOfApprox(math_MultipleVarFunctionWithGradient): - def __init__(self, SSP: BRepApprox_TheMultiLineOfApprox, FirstPoint: int, LastPoint: int, TheConstraints: AppParCurves_HArray1OfConstraintCouple, Parameters: math_Vector, Deg: int) -> None: ... - def CurveValue(self) -> AppParCurves_MultiCurve: ... - def Error(self, IPoint: int, CurveIndex: int) -> float: ... - def FirstConstraint(self, TheConstraints: AppParCurves_HArray1OfConstraintCouple, FirstPoint: int) -> AppParCurves_Constraint: ... - def Gradient(self, X: math_Vector, G: math_Vector) -> bool: ... - def LastConstraint(self, TheConstraints: AppParCurves_HArray1OfConstraintCouple, LastPoint: int) -> AppParCurves_Constraint: ... - def MaxError2d(self) -> float: ... - def MaxError3d(self) -> float: ... - def NbVariables(self) -> int: ... - def NewParameters(self) -> math_Vector: ... - def Value(self, X: math_Vector) -> Tuple[bool, float]: ... - def Values(self, X: math_Vector, G: math_Vector) -> Tuple[bool, float]: ... +class BRepApprox_ParFunctionOfMyGradientbisOfTheComputeLineOfApprox( + math_MultipleVarFunctionWithGradient +): + def __init__( + self, + SSP: BRepApprox_TheMultiLineOfApprox, + FirstPoint: int, + LastPoint: int, + TheConstraints: AppParCurves_HArray1OfConstraintCouple, + Parameters: math_Vector, + Deg: int, + ) -> None: ... + def CurveValue(self) -> AppParCurves_MultiCurve: ... + def Error(self, IPoint: int, CurveIndex: int) -> float: ... + def FirstConstraint( + self, TheConstraints: AppParCurves_HArray1OfConstraintCouple, FirstPoint: int + ) -> AppParCurves_Constraint: ... + def Gradient(self, X: math_Vector, G: math_Vector) -> bool: ... + def LastConstraint( + self, TheConstraints: AppParCurves_HArray1OfConstraintCouple, LastPoint: int + ) -> AppParCurves_Constraint: ... + def MaxError2d(self) -> float: ... + def MaxError3d(self) -> float: ... + def NbVariables(self) -> int: ... + def NewParameters(self) -> math_Vector: ... + def Value(self, X: math_Vector) -> Tuple[bool, float]: ... + def Values(self, X: math_Vector, G: math_Vector) -> Tuple[bool, float]: ... class BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox: - @overload - def __init__(self, SSP: BRepApprox_TheMultiLineOfApprox, FirstPoint: int, LastPoint: int, FirstCons: AppParCurves_Constraint, LastCons: AppParCurves_Constraint, Parameters: math_Vector, NbPol: int) -> None: ... - @overload - def __init__(self, SSP: BRepApprox_TheMultiLineOfApprox, FirstPoint: int, LastPoint: int, FirstCons: AppParCurves_Constraint, LastCons: AppParCurves_Constraint, NbPol: int) -> None: ... - @overload - def __init__(self, SSP: BRepApprox_TheMultiLineOfApprox, Knots: TColStd_Array1OfReal, Mults: TColStd_Array1OfInteger, FirstPoint: int, LastPoint: int, FirstCons: AppParCurves_Constraint, LastCons: AppParCurves_Constraint, Parameters: math_Vector, NbPol: int) -> None: ... - @overload - def __init__(self, SSP: BRepApprox_TheMultiLineOfApprox, Knots: TColStd_Array1OfReal, Mults: TColStd_Array1OfInteger, FirstPoint: int, LastPoint: int, FirstCons: AppParCurves_Constraint, LastCons: AppParCurves_Constraint, NbPol: int) -> None: ... - def BSplineValue(self) -> AppParCurves_MultiBSpCurve: ... - def BezierValue(self) -> AppParCurves_MultiCurve: ... - def DerivativeFunctionMatrix(self) -> math_Matrix: ... - def Distance(self) -> math_Matrix: ... - def Error(self) -> Tuple[float, float, float]: ... - def ErrorGradient(self, Grad: math_Vector) -> Tuple[float, float, float]: ... - def FirstLambda(self) -> float: ... - def FunctionMatrix(self) -> math_Matrix: ... - def IsDone(self) -> bool: ... - def KIndex(self) -> math_IntegerVector: ... - def LastLambda(self) -> float: ... - @overload - def Perform(self, Parameters: math_Vector) -> None: ... - @overload - def Perform(self, Parameters: math_Vector, l1: float, l2: float) -> None: ... - @overload - def Perform(self, Parameters: math_Vector, V1t: math_Vector, V2t: math_Vector, l1: float, l2: float) -> None: ... - @overload - def Perform(self, Parameters: math_Vector, V1t: math_Vector, V2t: math_Vector, V1c: math_Vector, V2c: math_Vector, l1: float, l2: float) -> None: ... - def Points(self) -> math_Matrix: ... - def Poles(self) -> math_Matrix: ... + @overload + def __init__( + self, + SSP: BRepApprox_TheMultiLineOfApprox, + FirstPoint: int, + LastPoint: int, + FirstCons: AppParCurves_Constraint, + LastCons: AppParCurves_Constraint, + Parameters: math_Vector, + NbPol: int, + ) -> None: ... + @overload + def __init__( + self, + SSP: BRepApprox_TheMultiLineOfApprox, + FirstPoint: int, + LastPoint: int, + FirstCons: AppParCurves_Constraint, + LastCons: AppParCurves_Constraint, + NbPol: int, + ) -> None: ... + @overload + def __init__( + self, + SSP: BRepApprox_TheMultiLineOfApprox, + Knots: TColStd_Array1OfReal, + Mults: TColStd_Array1OfInteger, + FirstPoint: int, + LastPoint: int, + FirstCons: AppParCurves_Constraint, + LastCons: AppParCurves_Constraint, + Parameters: math_Vector, + NbPol: int, + ) -> None: ... + @overload + def __init__( + self, + SSP: BRepApprox_TheMultiLineOfApprox, + Knots: TColStd_Array1OfReal, + Mults: TColStd_Array1OfInteger, + FirstPoint: int, + LastPoint: int, + FirstCons: AppParCurves_Constraint, + LastCons: AppParCurves_Constraint, + NbPol: int, + ) -> None: ... + def BSplineValue(self) -> AppParCurves_MultiBSpCurve: ... + def BezierValue(self) -> AppParCurves_MultiCurve: ... + def DerivativeFunctionMatrix(self) -> math_Matrix: ... + def Distance(self) -> math_Matrix: ... + def Error(self) -> Tuple[float, float, float]: ... + def ErrorGradient(self, Grad: math_Vector) -> Tuple[float, float, float]: ... + def FirstLambda(self) -> float: ... + def FunctionMatrix(self) -> math_Matrix: ... + def IsDone(self) -> bool: ... + def KIndex(self) -> math_IntegerVector: ... + def LastLambda(self) -> float: ... + @overload + def Perform(self, Parameters: math_Vector) -> None: ... + @overload + def Perform(self, Parameters: math_Vector, l1: float, l2: float) -> None: ... + @overload + def Perform( + self, + Parameters: math_Vector, + V1t: math_Vector, + V2t: math_Vector, + l1: float, + l2: float, + ) -> None: ... + @overload + def Perform( + self, + Parameters: math_Vector, + V1t: math_Vector, + V2t: math_Vector, + V1c: math_Vector, + V2c: math_Vector, + l1: float, + l2: float, + ) -> None: ... + def Points(self) -> math_Matrix: ... + def Poles(self) -> math_Matrix: ... class BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox: - @overload - def __init__(self, SSP: BRepApprox_TheMultiLineOfApprox, FirstPoint: int, LastPoint: int, FirstCons: AppParCurves_Constraint, LastCons: AppParCurves_Constraint, Parameters: math_Vector, NbPol: int) -> None: ... - @overload - def __init__(self, SSP: BRepApprox_TheMultiLineOfApprox, FirstPoint: int, LastPoint: int, FirstCons: AppParCurves_Constraint, LastCons: AppParCurves_Constraint, NbPol: int) -> None: ... - @overload - def __init__(self, SSP: BRepApprox_TheMultiLineOfApprox, Knots: TColStd_Array1OfReal, Mults: TColStd_Array1OfInteger, FirstPoint: int, LastPoint: int, FirstCons: AppParCurves_Constraint, LastCons: AppParCurves_Constraint, Parameters: math_Vector, NbPol: int) -> None: ... - @overload - def __init__(self, SSP: BRepApprox_TheMultiLineOfApprox, Knots: TColStd_Array1OfReal, Mults: TColStd_Array1OfInteger, FirstPoint: int, LastPoint: int, FirstCons: AppParCurves_Constraint, LastCons: AppParCurves_Constraint, NbPol: int) -> None: ... - def BSplineValue(self) -> AppParCurves_MultiBSpCurve: ... - def BezierValue(self) -> AppParCurves_MultiCurve: ... - def DerivativeFunctionMatrix(self) -> math_Matrix: ... - def Distance(self) -> math_Matrix: ... - def Error(self) -> Tuple[float, float, float]: ... - def ErrorGradient(self, Grad: math_Vector) -> Tuple[float, float, float]: ... - def FirstLambda(self) -> float: ... - def FunctionMatrix(self) -> math_Matrix: ... - def IsDone(self) -> bool: ... - def KIndex(self) -> math_IntegerVector: ... - def LastLambda(self) -> float: ... - @overload - def Perform(self, Parameters: math_Vector) -> None: ... - @overload - def Perform(self, Parameters: math_Vector, l1: float, l2: float) -> None: ... - @overload - def Perform(self, Parameters: math_Vector, V1t: math_Vector, V2t: math_Vector, l1: float, l2: float) -> None: ... - @overload - def Perform(self, Parameters: math_Vector, V1t: math_Vector, V2t: math_Vector, V1c: math_Vector, V2c: math_Vector, l1: float, l2: float) -> None: ... - def Points(self) -> math_Matrix: ... - def Poles(self) -> math_Matrix: ... + @overload + def __init__( + self, + SSP: BRepApprox_TheMultiLineOfApprox, + FirstPoint: int, + LastPoint: int, + FirstCons: AppParCurves_Constraint, + LastCons: AppParCurves_Constraint, + Parameters: math_Vector, + NbPol: int, + ) -> None: ... + @overload + def __init__( + self, + SSP: BRepApprox_TheMultiLineOfApprox, + FirstPoint: int, + LastPoint: int, + FirstCons: AppParCurves_Constraint, + LastCons: AppParCurves_Constraint, + NbPol: int, + ) -> None: ... + @overload + def __init__( + self, + SSP: BRepApprox_TheMultiLineOfApprox, + Knots: TColStd_Array1OfReal, + Mults: TColStd_Array1OfInteger, + FirstPoint: int, + LastPoint: int, + FirstCons: AppParCurves_Constraint, + LastCons: AppParCurves_Constraint, + Parameters: math_Vector, + NbPol: int, + ) -> None: ... + @overload + def __init__( + self, + SSP: BRepApprox_TheMultiLineOfApprox, + Knots: TColStd_Array1OfReal, + Mults: TColStd_Array1OfInteger, + FirstPoint: int, + LastPoint: int, + FirstCons: AppParCurves_Constraint, + LastCons: AppParCurves_Constraint, + NbPol: int, + ) -> None: ... + def BSplineValue(self) -> AppParCurves_MultiBSpCurve: ... + def BezierValue(self) -> AppParCurves_MultiCurve: ... + def DerivativeFunctionMatrix(self) -> math_Matrix: ... + def Distance(self) -> math_Matrix: ... + def Error(self) -> Tuple[float, float, float]: ... + def ErrorGradient(self, Grad: math_Vector) -> Tuple[float, float, float]: ... + def FirstLambda(self) -> float: ... + def FunctionMatrix(self) -> math_Matrix: ... + def IsDone(self) -> bool: ... + def KIndex(self) -> math_IntegerVector: ... + def LastLambda(self) -> float: ... + @overload + def Perform(self, Parameters: math_Vector) -> None: ... + @overload + def Perform(self, Parameters: math_Vector, l1: float, l2: float) -> None: ... + @overload + def Perform( + self, + Parameters: math_Vector, + V1t: math_Vector, + V2t: math_Vector, + l1: float, + l2: float, + ) -> None: ... + @overload + def Perform( + self, + Parameters: math_Vector, + V1t: math_Vector, + V2t: math_Vector, + V1c: math_Vector, + V2c: math_Vector, + l1: float, + l2: float, + ) -> None: ... + def Points(self) -> math_Matrix: ... + def Poles(self) -> math_Matrix: ... class BRepApprox_ResConstraintOfMyGradientOfTheComputeLineBezierOfApprox: - def __init__(self, SSP: BRepApprox_TheMultiLineOfApprox, SCurv: AppParCurves_MultiCurve, FirstPoint: int, LastPoint: int, Constraints: AppParCurves_HArray1OfConstraintCouple, Bern: math_Matrix, DerivativeBern: math_Matrix, Tolerance: Optional[float] = 1.0e-10) -> None: ... - def ConstraintDerivative(self, SSP: BRepApprox_TheMultiLineOfApprox, Parameters: math_Vector, Deg: int, DA: math_Matrix) -> math_Matrix: ... - def ConstraintMatrix(self) -> math_Matrix: ... - def Duale(self) -> math_Vector: ... - def InverseMatrix(self) -> math_Matrix: ... - def IsDone(self) -> bool: ... + def __init__( + self, + SSP: BRepApprox_TheMultiLineOfApprox, + SCurv: AppParCurves_MultiCurve, + FirstPoint: int, + LastPoint: int, + Constraints: AppParCurves_HArray1OfConstraintCouple, + Bern: math_Matrix, + DerivativeBern: math_Matrix, + Tolerance: Optional[float] = 1.0e-10, + ) -> None: ... + def ConstraintDerivative( + self, + SSP: BRepApprox_TheMultiLineOfApprox, + Parameters: math_Vector, + Deg: int, + DA: math_Matrix, + ) -> math_Matrix: ... + def ConstraintMatrix(self) -> math_Matrix: ... + def Duale(self) -> math_Vector: ... + def InverseMatrix(self) -> math_Matrix: ... + def IsDone(self) -> bool: ... class BRepApprox_ResConstraintOfMyGradientbisOfTheComputeLineOfApprox: - def __init__(self, SSP: BRepApprox_TheMultiLineOfApprox, SCurv: AppParCurves_MultiCurve, FirstPoint: int, LastPoint: int, Constraints: AppParCurves_HArray1OfConstraintCouple, Bern: math_Matrix, DerivativeBern: math_Matrix, Tolerance: Optional[float] = 1.0e-10) -> None: ... - def ConstraintDerivative(self, SSP: BRepApprox_TheMultiLineOfApprox, Parameters: math_Vector, Deg: int, DA: math_Matrix) -> math_Matrix: ... - def ConstraintMatrix(self) -> math_Matrix: ... - def Duale(self) -> math_Vector: ... - def InverseMatrix(self) -> math_Matrix: ... - def IsDone(self) -> bool: ... + def __init__( + self, + SSP: BRepApprox_TheMultiLineOfApprox, + SCurv: AppParCurves_MultiCurve, + FirstPoint: int, + LastPoint: int, + Constraints: AppParCurves_HArray1OfConstraintCouple, + Bern: math_Matrix, + DerivativeBern: math_Matrix, + Tolerance: Optional[float] = 1.0e-10, + ) -> None: ... + def ConstraintDerivative( + self, + SSP: BRepApprox_TheMultiLineOfApprox, + Parameters: math_Vector, + Deg: int, + DA: math_Matrix, + ) -> math_Matrix: ... + def ConstraintMatrix(self) -> math_Matrix: ... + def Duale(self) -> math_Vector: ... + def InverseMatrix(self) -> math_Matrix: ... + def IsDone(self) -> bool: ... + +class BRepApprox_SurfaceTool: + @staticmethod + def AxeOfRevolution(S: BRepAdaptor_Surface) -> gp_Ax1: ... + @staticmethod + def BSpline(S: BRepAdaptor_Surface) -> Geom_BSplineSurface: ... + @staticmethod + def BasisCurve(S: BRepAdaptor_Surface) -> Adaptor3d_Curve: ... + @staticmethod + def Bezier(S: BRepAdaptor_Surface) -> Geom_BezierSurface: ... + @staticmethod + def Cone(S: BRepAdaptor_Surface) -> gp_Cone: ... + @staticmethod + def Cylinder(S: BRepAdaptor_Surface) -> gp_Cylinder: ... + @staticmethod + def D0(S: BRepAdaptor_Surface, u: float, v: float, P: gp_Pnt) -> None: ... + @staticmethod + def D1( + S: BRepAdaptor_Surface, u: float, v: float, P: gp_Pnt, D1u: gp_Vec, D1v: gp_Vec + ) -> None: ... + @staticmethod + def D2( + S: BRepAdaptor_Surface, + u: float, + v: float, + P: gp_Pnt, + D1U: gp_Vec, + D1V: gp_Vec, + D2U: gp_Vec, + D2V: gp_Vec, + D2UV: gp_Vec, + ) -> None: ... + @staticmethod + def D3( + S: BRepAdaptor_Surface, + u: float, + v: float, + P: gp_Pnt, + D1U: gp_Vec, + D1V: gp_Vec, + D2U: gp_Vec, + D2V: gp_Vec, + D2UV: gp_Vec, + D3U: gp_Vec, + D3V: gp_Vec, + D3UUV: gp_Vec, + D3UVV: gp_Vec, + ) -> None: ... + @staticmethod + def DN(S: BRepAdaptor_Surface, u: float, v: float, Nu: int, Nv: int) -> gp_Vec: ... + @staticmethod + def Direction(S: BRepAdaptor_Surface) -> gp_Dir: ... + @staticmethod + def FirstUParameter(S: BRepAdaptor_Surface) -> float: ... + @staticmethod + def FirstVParameter(S: BRepAdaptor_Surface) -> float: ... + @staticmethod + def GetType(S: BRepAdaptor_Surface) -> GeomAbs_SurfaceType: ... + @staticmethod + def IsUClosed(S: BRepAdaptor_Surface) -> bool: ... + @staticmethod + def IsUPeriodic(S: BRepAdaptor_Surface) -> bool: ... + @staticmethod + def IsVClosed(S: BRepAdaptor_Surface) -> bool: ... + @staticmethod + def IsVPeriodic(S: BRepAdaptor_Surface) -> bool: ... + @staticmethod + def LastUParameter(S: BRepAdaptor_Surface) -> float: ... + @staticmethod + def LastVParameter(S: BRepAdaptor_Surface) -> float: ... + @overload + @staticmethod + def NbSamplesU(S: BRepAdaptor_Surface) -> int: ... + @overload + @staticmethod + def NbSamplesU(S: BRepAdaptor_Surface, u1: float, u2: float) -> int: ... + @overload + @staticmethod + def NbSamplesV(S: BRepAdaptor_Surface) -> int: ... + @overload + @staticmethod + def NbSamplesV(S: BRepAdaptor_Surface, v1: float, v2: float) -> int: ... + @staticmethod + def NbUIntervals(S: BRepAdaptor_Surface, Sh: GeomAbs_Shape) -> int: ... + @staticmethod + def NbVIntervals(S: BRepAdaptor_Surface, Sh: GeomAbs_Shape) -> int: ... + @staticmethod + def Plane(S: BRepAdaptor_Surface) -> gp_Pln: ... + @staticmethod + def Sphere(S: BRepAdaptor_Surface) -> gp_Sphere: ... + @staticmethod + def Torus(S: BRepAdaptor_Surface) -> gp_Torus: ... + @staticmethod + def UIntervals( + S: BRepAdaptor_Surface, T: TColStd_Array1OfReal, Sh: GeomAbs_Shape + ) -> None: ... + @staticmethod + def UPeriod(S: BRepAdaptor_Surface) -> float: ... + @staticmethod + def UResolution(S: BRepAdaptor_Surface, R3d: float) -> float: ... + @staticmethod + def UTrim( + S: BRepAdaptor_Surface, First: float, Last: float, Tol: float + ) -> Adaptor3d_Surface: ... + @staticmethod + def VIntervals( + S: BRepAdaptor_Surface, T: TColStd_Array1OfReal, Sh: GeomAbs_Shape + ) -> None: ... + @staticmethod + def VPeriod(S: BRepAdaptor_Surface) -> float: ... + @staticmethod + def VResolution(S: BRepAdaptor_Surface, R3d: float) -> float: ... + @staticmethod + def VTrim( + S: BRepAdaptor_Surface, First: float, Last: float, Tol: float + ) -> Adaptor3d_Surface: ... + @staticmethod + def Value(S: BRepAdaptor_Surface, u: float, v: float) -> gp_Pnt: ... class BRepApprox_TheComputeLineBezierOfApprox: - @overload - def __init__(self, Line: BRepApprox_TheMultiLineOfApprox, degreemin: Optional[int] = 4, degreemax: Optional[int] = 8, Tolerance3d: Optional[float] = 1.0e-3, Tolerance2d: Optional[float] = 1.0e-6, NbIterations: Optional[int] = 5, cutting: Optional[bool] = True, parametrization: Optional[Approx_ParametrizationType] = Approx_ChordLength, Squares: Optional[bool] = False) -> None: ... - @overload - def __init__(self, Line: BRepApprox_TheMultiLineOfApprox, Parameters: math_Vector, degreemin: Optional[int] = 4, degreemax: Optional[int] = 8, Tolerance3d: Optional[float] = 1.0e-03, Tolerance2d: Optional[float] = 1.0e-06, NbIterations: Optional[int] = 5, cutting: Optional[bool] = True, Squares: Optional[bool] = False) -> None: ... - @overload - def __init__(self, Parameters: math_Vector, degreemin: Optional[int] = 4, degreemax: Optional[int] = 8, Tolerance3d: Optional[float] = 1.0e-03, Tolerance2d: Optional[float] = 1.0e-06, NbIterations: Optional[int] = 5, cutting: Optional[bool] = True, Squares: Optional[bool] = False) -> None: ... - @overload - def __init__(self, degreemin: Optional[int] = 4, degreemax: Optional[int] = 8, Tolerance3d: Optional[float] = 1.0e-03, Tolerance2d: Optional[float] = 1.0e-06, NbIterations: Optional[int] = 5, cutting: Optional[bool] = True, parametrization: Optional[Approx_ParametrizationType] = Approx_ChordLength, Squares: Optional[bool] = False) -> None: ... - def ChangeValue(self, Index: Optional[int] = 1) -> AppParCurves_MultiCurve: ... - def Error(self, Index: int) -> Tuple[float, float]: ... - def Init(self, degreemin: Optional[int] = 4, degreemax: Optional[int] = 8, Tolerance3d: Optional[float] = 1.0e-03, Tolerance2d: Optional[float] = 1.0e-06, NbIterations: Optional[int] = 5, cutting: Optional[bool] = True, parametrization: Optional[Approx_ParametrizationType] = Approx_ChordLength, Squares: Optional[bool] = False) -> None: ... - def IsAllApproximated(self) -> bool: ... - def IsToleranceReached(self) -> bool: ... - def NbMultiCurves(self) -> int: ... - def Parameters(self, Index: Optional[int] = 1) -> TColStd_Array1OfReal: ... - def Parametrization(self) -> Approx_ParametrizationType: ... - def Perform(self, Line: BRepApprox_TheMultiLineOfApprox) -> None: ... - def SetConstraints(self, firstC: AppParCurves_Constraint, lastC: AppParCurves_Constraint) -> None: ... - def SetDegrees(self, degreemin: int, degreemax: int) -> None: ... - def SetTolerances(self, Tolerance3d: float, Tolerance2d: float) -> None: ... - def SplineValue(self) -> AppParCurves_MultiBSpCurve: ... - def Value(self, Index: Optional[int] = 1) -> AppParCurves_MultiCurve: ... + @overload + def __init__( + self, + Line: BRepApprox_TheMultiLineOfApprox, + degreemin: Optional[int] = 4, + degreemax: Optional[int] = 8, + Tolerance3d: Optional[float] = 1.0e-3, + Tolerance2d: Optional[float] = 1.0e-6, + NbIterations: Optional[int] = 5, + cutting: Optional[bool] = True, + parametrization: Optional[Approx_ParametrizationType] = Approx_ChordLength, + Squares: Optional[bool] = False, + ) -> None: ... + @overload + def __init__( + self, + Line: BRepApprox_TheMultiLineOfApprox, + Parameters: math_Vector, + degreemin: Optional[int] = 4, + degreemax: Optional[int] = 8, + Tolerance3d: Optional[float] = 1.0e-03, + Tolerance2d: Optional[float] = 1.0e-06, + NbIterations: Optional[int] = 5, + cutting: Optional[bool] = True, + Squares: Optional[bool] = False, + ) -> None: ... + @overload + def __init__( + self, + Parameters: math_Vector, + degreemin: Optional[int] = 4, + degreemax: Optional[int] = 8, + Tolerance3d: Optional[float] = 1.0e-03, + Tolerance2d: Optional[float] = 1.0e-06, + NbIterations: Optional[int] = 5, + cutting: Optional[bool] = True, + Squares: Optional[bool] = False, + ) -> None: ... + @overload + def __init__( + self, + degreemin: Optional[int] = 4, + degreemax: Optional[int] = 8, + Tolerance3d: Optional[float] = 1.0e-03, + Tolerance2d: Optional[float] = 1.0e-06, + NbIterations: Optional[int] = 5, + cutting: Optional[bool] = True, + parametrization: Optional[Approx_ParametrizationType] = Approx_ChordLength, + Squares: Optional[bool] = False, + ) -> None: ... + def ChangeValue(self, Index: Optional[int] = 1) -> AppParCurves_MultiCurve: ... + def Error(self, Index: int) -> Tuple[float, float]: ... + def Init( + self, + degreemin: Optional[int] = 4, + degreemax: Optional[int] = 8, + Tolerance3d: Optional[float] = 1.0e-03, + Tolerance2d: Optional[float] = 1.0e-06, + NbIterations: Optional[int] = 5, + cutting: Optional[bool] = True, + parametrization: Optional[Approx_ParametrizationType] = Approx_ChordLength, + Squares: Optional[bool] = False, + ) -> None: ... + def IsAllApproximated(self) -> bool: ... + def IsToleranceReached(self) -> bool: ... + def NbMultiCurves(self) -> int: ... + def Parameters(self, Index: Optional[int] = 1) -> TColStd_Array1OfReal: ... + def Parametrization(self) -> Approx_ParametrizationType: ... + def Perform(self, Line: BRepApprox_TheMultiLineOfApprox) -> None: ... + def SetConstraints( + self, firstC: AppParCurves_Constraint, lastC: AppParCurves_Constraint + ) -> None: ... + def SetDegrees(self, degreemin: int, degreemax: int) -> None: ... + def SetTolerances(self, Tolerance3d: float, Tolerance2d: float) -> None: ... + def SplineValue(self) -> AppParCurves_MultiBSpCurve: ... + def Value(self, Index: Optional[int] = 1) -> AppParCurves_MultiCurve: ... class BRepApprox_TheComputeLineOfApprox: - @overload - def __init__(self, Line: BRepApprox_TheMultiLineOfApprox, degreemin: Optional[int] = 4, degreemax: Optional[int] = 8, Tolerance3d: Optional[float] = 1.0e-3, Tolerance2d: Optional[float] = 1.0e-6, NbIterations: Optional[int] = 5, cutting: Optional[bool] = True, parametrization: Optional[Approx_ParametrizationType] = Approx_ChordLength, Squares: Optional[bool] = False) -> None: ... - @overload - def __init__(self, Line: BRepApprox_TheMultiLineOfApprox, Parameters: math_Vector, degreemin: Optional[int] = 4, degreemax: Optional[int] = 8, Tolerance3d: Optional[float] = 1.0e-03, Tolerance2d: Optional[float] = 1.0e-06, NbIterations: Optional[int] = 5, cutting: Optional[bool] = True, Squares: Optional[bool] = False) -> None: ... - @overload - def __init__(self, Parameters: math_Vector, degreemin: Optional[int] = 4, degreemax: Optional[int] = 8, Tolerance3d: Optional[float] = 1.0e-03, Tolerance2d: Optional[float] = 1.0e-06, NbIterations: Optional[int] = 5, cutting: Optional[bool] = True, Squares: Optional[bool] = False) -> None: ... - @overload - def __init__(self, degreemin: Optional[int] = 4, degreemax: Optional[int] = 8, Tolerance3d: Optional[float] = 1.0e-03, Tolerance2d: Optional[float] = 1.0e-06, NbIterations: Optional[int] = 5, cutting: Optional[bool] = True, parametrization: Optional[Approx_ParametrizationType] = Approx_ChordLength, Squares: Optional[bool] = False) -> None: ... - def ChangeValue(self) -> AppParCurves_MultiBSpCurve: ... - def Error(self) -> Tuple[float, float]: ... - def Init(self, degreemin: Optional[int] = 4, degreemax: Optional[int] = 8, Tolerance3d: Optional[float] = 1.0e-03, Tolerance2d: Optional[float] = 1.0e-06, NbIterations: Optional[int] = 5, cutting: Optional[bool] = True, parametrization: Optional[Approx_ParametrizationType] = Approx_ChordLength, Squares: Optional[bool] = False) -> None: ... - def Interpol(self, Line: BRepApprox_TheMultiLineOfApprox) -> None: ... - def IsAllApproximated(self) -> bool: ... - def IsToleranceReached(self) -> bool: ... - def Parameters(self) -> TColStd_Array1OfReal: ... - def Perform(self, Line: BRepApprox_TheMultiLineOfApprox) -> None: ... - def SetConstraints(self, firstC: AppParCurves_Constraint, lastC: AppParCurves_Constraint) -> None: ... - def SetContinuity(self, C: int) -> None: ... - def SetDegrees(self, degreemin: int, degreemax: int) -> None: ... - def SetKnots(self, Knots: TColStd_Array1OfReal) -> None: ... - def SetKnotsAndMultiplicities(self, Knots: TColStd_Array1OfReal, Mults: TColStd_Array1OfInteger) -> None: ... - def SetParameters(self, ThePar: math_Vector) -> None: ... - def SetPeriodic(self, thePeriodic: bool) -> None: ... - def SetTolerances(self, Tolerance3d: float, Tolerance2d: float) -> None: ... - def Value(self) -> AppParCurves_MultiBSpCurve: ... + @overload + def __init__( + self, + Line: BRepApprox_TheMultiLineOfApprox, + degreemin: Optional[int] = 4, + degreemax: Optional[int] = 8, + Tolerance3d: Optional[float] = 1.0e-3, + Tolerance2d: Optional[float] = 1.0e-6, + NbIterations: Optional[int] = 5, + cutting: Optional[bool] = True, + parametrization: Optional[Approx_ParametrizationType] = Approx_ChordLength, + Squares: Optional[bool] = False, + ) -> None: ... + @overload + def __init__( + self, + Line: BRepApprox_TheMultiLineOfApprox, + Parameters: math_Vector, + degreemin: Optional[int] = 4, + degreemax: Optional[int] = 8, + Tolerance3d: Optional[float] = 1.0e-03, + Tolerance2d: Optional[float] = 1.0e-06, + NbIterations: Optional[int] = 5, + cutting: Optional[bool] = True, + Squares: Optional[bool] = False, + ) -> None: ... + @overload + def __init__( + self, + Parameters: math_Vector, + degreemin: Optional[int] = 4, + degreemax: Optional[int] = 8, + Tolerance3d: Optional[float] = 1.0e-03, + Tolerance2d: Optional[float] = 1.0e-06, + NbIterations: Optional[int] = 5, + cutting: Optional[bool] = True, + Squares: Optional[bool] = False, + ) -> None: ... + @overload + def __init__( + self, + degreemin: Optional[int] = 4, + degreemax: Optional[int] = 8, + Tolerance3d: Optional[float] = 1.0e-03, + Tolerance2d: Optional[float] = 1.0e-06, + NbIterations: Optional[int] = 5, + cutting: Optional[bool] = True, + parametrization: Optional[Approx_ParametrizationType] = Approx_ChordLength, + Squares: Optional[bool] = False, + ) -> None: ... + def ChangeValue(self) -> AppParCurves_MultiBSpCurve: ... + def Error(self) -> Tuple[float, float]: ... + def Init( + self, + degreemin: Optional[int] = 4, + degreemax: Optional[int] = 8, + Tolerance3d: Optional[float] = 1.0e-03, + Tolerance2d: Optional[float] = 1.0e-06, + NbIterations: Optional[int] = 5, + cutting: Optional[bool] = True, + parametrization: Optional[Approx_ParametrizationType] = Approx_ChordLength, + Squares: Optional[bool] = False, + ) -> None: ... + def Interpol(self, Line: BRepApprox_TheMultiLineOfApprox) -> None: ... + def IsAllApproximated(self) -> bool: ... + def IsToleranceReached(self) -> bool: ... + def Parameters(self) -> TColStd_Array1OfReal: ... + def Perform(self, Line: BRepApprox_TheMultiLineOfApprox) -> None: ... + def SetConstraints( + self, firstC: AppParCurves_Constraint, lastC: AppParCurves_Constraint + ) -> None: ... + def SetContinuity(self, C: int) -> None: ... + def SetDegrees(self, degreemin: int, degreemax: int) -> None: ... + def SetKnots(self, Knots: TColStd_Array1OfReal) -> None: ... + def SetKnotsAndMultiplicities( + self, Knots: TColStd_Array1OfReal, Mults: TColStd_Array1OfInteger + ) -> None: ... + def SetParameters(self, ThePar: math_Vector) -> None: ... + def SetPeriodic(self, thePeriodic: bool) -> None: ... + def SetTolerances(self, Tolerance3d: float, Tolerance2d: float) -> None: ... + def Value(self) -> AppParCurves_MultiBSpCurve: ... -class BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox(math_FunctionSetWithDerivatives): - def __init__(self, S1: BRepAdaptor_Surface, S2: BRepAdaptor_Surface) -> None: ... - def AuxillarSurface1(self) -> BRepAdaptor_Surface: ... - def AuxillarSurface2(self) -> BRepAdaptor_Surface: ... - def ComputeParameters(self, ChoixIso: IntImp_ConstIsoparametric, Param: TColStd_Array1OfReal, UVap: math_Vector, BornInf: math_Vector, BornSup: math_Vector, Tolerance: math_Vector) -> None: ... - def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... - def Direction(self) -> gp_Dir: ... - def DirectionOnS1(self) -> gp_Dir2d: ... - def DirectionOnS2(self) -> gp_Dir2d: ... - def IsTangent(self, UVap: math_Vector, Param: TColStd_Array1OfReal, BestChoix: IntImp_ConstIsoparametric) -> bool: ... - def NbEquations(self) -> int: ... - def NbVariables(self) -> int: ... - def Point(self) -> gp_Pnt: ... - def Root(self) -> float: ... - def Value(self, X: math_Vector, F: math_Vector) -> bool: ... - def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... +class BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox( + math_FunctionSetWithDerivatives +): + def __init__(self, S1: BRepAdaptor_Surface, S2: BRepAdaptor_Surface) -> None: ... + def AuxillarSurface1(self) -> BRepAdaptor_Surface: ... + def AuxillarSurface2(self) -> BRepAdaptor_Surface: ... + def ComputeParameters( + self, + ChoixIso: IntImp_ConstIsoparametric, + Param: TColStd_Array1OfReal, + UVap: math_Vector, + BornInf: math_Vector, + BornSup: math_Vector, + Tolerance: math_Vector, + ) -> None: ... + def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... + def Direction(self) -> gp_Dir: ... + def DirectionOnS1(self) -> gp_Dir2d: ... + def DirectionOnS2(self) -> gp_Dir2d: ... + def IsTangent( + self, UVap: math_Vector, Param: TColStd_Array1OfReal + ) -> Tuple[bool, IntImp_ConstIsoparametric]: ... + def NbEquations(self) -> int: ... + def NbVariables(self) -> int: ... + def Point(self) -> gp_Pnt: ... + def Root(self) -> float: ... + def Value(self, X: math_Vector, F: math_Vector) -> bool: ... + def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... class BRepApprox_TheImpPrmSvSurfacesOfApprox(ApproxInt_SvSurfaces): - @overload - def __init__(self, Surf1: BRepAdaptor_Surface, Surf2: IntSurf_Quadric) -> None: ... - @overload - def __init__(self, Surf1: IntSurf_Quadric, Surf2: BRepAdaptor_Surface) -> None: ... - def Compute(self, Pt: gp_Pnt, Tg: gp_Vec, Tguv1: gp_Vec2d, Tguv2: gp_Vec2d) -> Tuple[bool, float, float, float, float]: ... - def Pnt(self, u1: float, v1: float, u2: float, v2: float, P: gp_Pnt) -> None: ... - def SeekPoint(self, u1: float, v1: float, u2: float, v2: float, Point: IntSurf_PntOn2S) -> bool: ... - def Tangency(self, u1: float, v1: float, u2: float, v2: float, Tg: gp_Vec) -> bool: ... - def TangencyOnSurf1(self, u1: float, v1: float, u2: float, v2: float, Tg: gp_Vec2d) -> bool: ... - def TangencyOnSurf2(self, u1: float, v1: float, u2: float, v2: float, Tg: gp_Vec2d) -> bool: ... + @overload + def __init__(self, Surf1: BRepAdaptor_Surface, Surf2: IntSurf_Quadric) -> None: ... + @overload + def __init__(self, Surf1: IntSurf_Quadric, Surf2: BRepAdaptor_Surface) -> None: ... + def Compute( + self, Pt: gp_Pnt, Tg: gp_Vec, Tguv1: gp_Vec2d, Tguv2: gp_Vec2d + ) -> Tuple[bool, float, float, float, float]: ... + def Pnt(self, u1: float, v1: float, u2: float, v2: float, P: gp_Pnt) -> None: ... + def SeekPoint( + self, u1: float, v1: float, u2: float, v2: float, Point: IntSurf_PntOn2S + ) -> bool: ... + def Tangency( + self, u1: float, v1: float, u2: float, v2: float, Tg: gp_Vec + ) -> bool: ... + def TangencyOnSurf1( + self, u1: float, v1: float, u2: float, v2: float, Tg: gp_Vec2d + ) -> bool: ... + def TangencyOnSurf2( + self, u1: float, v1: float, u2: float, v2: float, Tg: gp_Vec2d + ) -> bool: ... class BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox: - @overload - def __init__(self, Param: TColStd_Array1OfReal, S1: BRepAdaptor_Surface, S2: BRepAdaptor_Surface, TolTangency: float) -> None: ... - @overload - def __init__(self, S1: BRepAdaptor_Surface, S2: BRepAdaptor_Surface, TolTangency: float) -> None: ... - def ChangePoint(self) -> IntSurf_PntOn2S: ... - def Direction(self) -> gp_Dir: ... - def DirectionOnS1(self) -> gp_Dir2d: ... - def DirectionOnS2(self) -> gp_Dir2d: ... - def Function(self) -> BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox: ... - def IsDone(self) -> bool: ... - def IsEmpty(self) -> bool: ... - def IsTangent(self) -> bool: ... - @overload - def Perform(self, Param: TColStd_Array1OfReal, Rsnld: math_FunctionSetRoot) -> IntImp_ConstIsoparametric: ... - @overload - def Perform(self, Param: TColStd_Array1OfReal, Rsnld: math_FunctionSetRoot, ChoixIso: IntImp_ConstIsoparametric) -> IntImp_ConstIsoparametric: ... - def Point(self) -> IntSurf_PntOn2S: ... + @overload + def __init__( + self, + Param: TColStd_Array1OfReal, + S1: BRepAdaptor_Surface, + S2: BRepAdaptor_Surface, + TolTangency: float, + ) -> None: ... + @overload + def __init__( + self, S1: BRepAdaptor_Surface, S2: BRepAdaptor_Surface, TolTangency: float + ) -> None: ... + def ChangePoint(self) -> IntSurf_PntOn2S: ... + def Direction(self) -> gp_Dir: ... + def DirectionOnS1(self) -> gp_Dir2d: ... + def DirectionOnS2(self) -> gp_Dir2d: ... + def Function( + self, + ) -> BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox: ... + def IsDone(self) -> bool: ... + def IsEmpty(self) -> bool: ... + def IsTangent(self) -> bool: ... + @overload + def Perform( + self, Param: TColStd_Array1OfReal, Rsnld: math_FunctionSetRoot + ) -> IntImp_ConstIsoparametric: ... + @overload + def Perform( + self, + Param: TColStd_Array1OfReal, + Rsnld: math_FunctionSetRoot, + ChoixIso: IntImp_ConstIsoparametric, + ) -> IntImp_ConstIsoparametric: ... + def Point(self) -> IntSurf_PntOn2S: ... class BRepApprox_TheMultiLineOfApprox: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, line: BRepApprox_ApproxLine, PtrSvSurfaces: None, NbP3d: int, NbP2d: int, ApproxU1V1: bool, ApproxU2V2: bool, xo: float, yo: float, zo: float, u1o: float, v1o: float, u2o: float, v2o: float, P2DOnFirst: bool, IndMin: Optional[int] = 0, IndMax: Optional[int] = 0) -> None: ... - @overload - def __init__(self, line: BRepApprox_ApproxLine, NbP3d: int, NbP2d: int, ApproxU1V1: bool, ApproxU2V2: bool, xo: float, yo: float, zo: float, u1o: float, v1o: float, u2o: float, v2o: float, P2DOnFirst: bool, IndMin: Optional[int] = 0, IndMax: Optional[int] = 0) -> None: ... - def Dump(self) -> None: ... - def FirstPoint(self) -> int: ... - def LastPoint(self) -> int: ... - def MakeMLBetween(self, Low: int, High: int, NbPointsToInsert: int) -> BRepApprox_TheMultiLineOfApprox: ... - def MakeMLOneMorePoint(self, Low: int, High: int, indbad: int, OtherLine: BRepApprox_TheMultiLineOfApprox) -> bool: ... - def NbP2d(self) -> int: ... - def NbP3d(self) -> int: ... - @overload - def Tangency(self, MPointIndex: int, tabV: TColgp_Array1OfVec) -> bool: ... - @overload - def Tangency(self, MPointIndex: int, tabV2d: TColgp_Array1OfVec2d) -> bool: ... - @overload - def Tangency(self, MPointIndex: int, tabV: TColgp_Array1OfVec, tabV2d: TColgp_Array1OfVec2d) -> bool: ... - @overload - def Value(self, MPointIndex: int, tabPt: TColgp_Array1OfPnt) -> None: ... - @overload - def Value(self, MPointIndex: int, tabPt2d: TColgp_Array1OfPnt2d) -> None: ... - @overload - def Value(self, MPointIndex: int, tabPt: TColgp_Array1OfPnt, tabPt2d: TColgp_Array1OfPnt2d) -> None: ... - def WhatStatus(self) -> Approx_Status: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__( + self, + line: BRepApprox_ApproxLine, + PtrSvSurfaces: None, + NbP3d: int, + NbP2d: int, + ApproxU1V1: bool, + ApproxU2V2: bool, + xo: float, + yo: float, + zo: float, + u1o: float, + v1o: float, + u2o: float, + v2o: float, + P2DOnFirst: bool, + IndMin: Optional[int] = 0, + IndMax: Optional[int] = 0, + ) -> None: ... + @overload + def __init__( + self, + line: BRepApprox_ApproxLine, + NbP3d: int, + NbP2d: int, + ApproxU1V1: bool, + ApproxU2V2: bool, + xo: float, + yo: float, + zo: float, + u1o: float, + v1o: float, + u2o: float, + v2o: float, + P2DOnFirst: bool, + IndMin: Optional[int] = 0, + IndMax: Optional[int] = 0, + ) -> None: ... + def Dump(self) -> None: ... + def FirstPoint(self) -> int: ... + def LastPoint(self) -> int: ... + def MakeMLBetween( + self, Low: int, High: int, NbPointsToInsert: int + ) -> BRepApprox_TheMultiLineOfApprox: ... + def MakeMLOneMorePoint( + self, + Low: int, + High: int, + indbad: int, + OtherLine: BRepApprox_TheMultiLineOfApprox, + ) -> bool: ... + def NbP2d(self) -> int: ... + def NbP3d(self) -> int: ... + @overload + def Tangency(self, MPointIndex: int, tabV: TColgp_Array1OfVec) -> bool: ... + @overload + def Tangency(self, MPointIndex: int, tabV2d: TColgp_Array1OfVec2d) -> bool: ... + @overload + def Tangency( + self, MPointIndex: int, tabV: TColgp_Array1OfVec, tabV2d: TColgp_Array1OfVec2d + ) -> bool: ... + @overload + def Value(self, MPointIndex: int, tabPt: TColgp_Array1OfPnt) -> None: ... + @overload + def Value(self, MPointIndex: int, tabPt2d: TColgp_Array1OfPnt2d) -> None: ... + @overload + def Value( + self, MPointIndex: int, tabPt: TColgp_Array1OfPnt, tabPt2d: TColgp_Array1OfPnt2d + ) -> None: ... + def WhatStatus(self) -> Approx_Status: ... class BRepApprox_TheMultiLineToolOfApprox: - @overload - @staticmethod - def Curvature(ML: BRepApprox_TheMultiLineOfApprox, MPointIndex: int, tabV: TColgp_Array1OfVec) -> bool: ... - @overload - @staticmethod - def Curvature(ML: BRepApprox_TheMultiLineOfApprox, MPointIndex: int, tabV2d: TColgp_Array1OfVec2d) -> bool: ... - @overload - @staticmethod - def Curvature(ML: BRepApprox_TheMultiLineOfApprox, MPointIndex: int, tabV: TColgp_Array1OfVec, tabV2d: TColgp_Array1OfVec2d) -> bool: ... - @staticmethod - def Dump(ML: BRepApprox_TheMultiLineOfApprox) -> None: ... - @staticmethod - def FirstPoint(ML: BRepApprox_TheMultiLineOfApprox) -> int: ... - @staticmethod - def LastPoint(ML: BRepApprox_TheMultiLineOfApprox) -> int: ... - @staticmethod - def MakeMLBetween(ML: BRepApprox_TheMultiLineOfApprox, I1: int, I2: int, NbPMin: int) -> BRepApprox_TheMultiLineOfApprox: ... - @staticmethod - def MakeMLOneMorePoint(ML: BRepApprox_TheMultiLineOfApprox, I1: int, I2: int, indbad: int, OtherLine: BRepApprox_TheMultiLineOfApprox) -> bool: ... - @staticmethod - def NbP2d(ML: BRepApprox_TheMultiLineOfApprox) -> int: ... - @staticmethod - def NbP3d(ML: BRepApprox_TheMultiLineOfApprox) -> int: ... - @overload - @staticmethod - def Tangency(ML: BRepApprox_TheMultiLineOfApprox, MPointIndex: int, tabV: TColgp_Array1OfVec) -> bool: ... - @overload - @staticmethod - def Tangency(ML: BRepApprox_TheMultiLineOfApprox, MPointIndex: int, tabV2d: TColgp_Array1OfVec2d) -> bool: ... - @overload - @staticmethod - def Tangency(ML: BRepApprox_TheMultiLineOfApprox, MPointIndex: int, tabV: TColgp_Array1OfVec, tabV2d: TColgp_Array1OfVec2d) -> bool: ... - @overload - @staticmethod - def Value(ML: BRepApprox_TheMultiLineOfApprox, MPointIndex: int, tabPt: TColgp_Array1OfPnt) -> None: ... - @overload - @staticmethod - def Value(ML: BRepApprox_TheMultiLineOfApprox, MPointIndex: int, tabPt2d: TColgp_Array1OfPnt2d) -> None: ... - @overload - @staticmethod - def Value(ML: BRepApprox_TheMultiLineOfApprox, MPointIndex: int, tabPt: TColgp_Array1OfPnt, tabPt2d: TColgp_Array1OfPnt2d) -> None: ... - @staticmethod - def WhatStatus(ML: BRepApprox_TheMultiLineOfApprox, I1: int, I2: int) -> Approx_Status: ... + @overload + @staticmethod + def Curvature( + ML: BRepApprox_TheMultiLineOfApprox, MPointIndex: int, tabV: TColgp_Array1OfVec + ) -> bool: ... + @overload + @staticmethod + def Curvature( + ML: BRepApprox_TheMultiLineOfApprox, + MPointIndex: int, + tabV2d: TColgp_Array1OfVec2d, + ) -> bool: ... + @overload + @staticmethod + def Curvature( + ML: BRepApprox_TheMultiLineOfApprox, + MPointIndex: int, + tabV: TColgp_Array1OfVec, + tabV2d: TColgp_Array1OfVec2d, + ) -> bool: ... + @staticmethod + def Dump(ML: BRepApprox_TheMultiLineOfApprox) -> None: ... + @staticmethod + def FirstPoint(ML: BRepApprox_TheMultiLineOfApprox) -> int: ... + @staticmethod + def LastPoint(ML: BRepApprox_TheMultiLineOfApprox) -> int: ... + @staticmethod + def MakeMLBetween( + ML: BRepApprox_TheMultiLineOfApprox, I1: int, I2: int, NbPMin: int + ) -> BRepApprox_TheMultiLineOfApprox: ... + @staticmethod + def MakeMLOneMorePoint( + ML: BRepApprox_TheMultiLineOfApprox, + I1: int, + I2: int, + indbad: int, + OtherLine: BRepApprox_TheMultiLineOfApprox, + ) -> bool: ... + @staticmethod + def NbP2d(ML: BRepApprox_TheMultiLineOfApprox) -> int: ... + @staticmethod + def NbP3d(ML: BRepApprox_TheMultiLineOfApprox) -> int: ... + @overload + @staticmethod + def Tangency( + ML: BRepApprox_TheMultiLineOfApprox, MPointIndex: int, tabV: TColgp_Array1OfVec + ) -> bool: ... + @overload + @staticmethod + def Tangency( + ML: BRepApprox_TheMultiLineOfApprox, + MPointIndex: int, + tabV2d: TColgp_Array1OfVec2d, + ) -> bool: ... + @overload + @staticmethod + def Tangency( + ML: BRepApprox_TheMultiLineOfApprox, + MPointIndex: int, + tabV: TColgp_Array1OfVec, + tabV2d: TColgp_Array1OfVec2d, + ) -> bool: ... + @overload + @staticmethod + def Value( + ML: BRepApprox_TheMultiLineOfApprox, MPointIndex: int, tabPt: TColgp_Array1OfPnt + ) -> None: ... + @overload + @staticmethod + def Value( + ML: BRepApprox_TheMultiLineOfApprox, + MPointIndex: int, + tabPt2d: TColgp_Array1OfPnt2d, + ) -> None: ... + @overload + @staticmethod + def Value( + ML: BRepApprox_TheMultiLineOfApprox, + MPointIndex: int, + tabPt: TColgp_Array1OfPnt, + tabPt2d: TColgp_Array1OfPnt2d, + ) -> None: ... + @staticmethod + def WhatStatus( + ML: BRepApprox_TheMultiLineOfApprox, I1: int, I2: int + ) -> Approx_Status: ... class BRepApprox_ThePrmPrmSvSurfacesOfApprox(ApproxInt_SvSurfaces): - def __init__(self, Surf1: BRepAdaptor_Surface, Surf2: BRepAdaptor_Surface) -> None: ... - def Compute(self, Pt: gp_Pnt, Tg: gp_Vec, Tguv1: gp_Vec2d, Tguv2: gp_Vec2d) -> Tuple[bool, float, float, float, float]: ... - def Pnt(self, u1: float, v1: float, u2: float, v2: float, P: gp_Pnt) -> None: ... - def SeekPoint(self, u1: float, v1: float, u2: float, v2: float, Point: IntSurf_PntOn2S) -> bool: ... - def Tangency(self, u1: float, v1: float, u2: float, v2: float, Tg: gp_Vec) -> bool: ... - def TangencyOnSurf1(self, u1: float, v1: float, u2: float, v2: float, Tg: gp_Vec2d) -> bool: ... - def TangencyOnSurf2(self, u1: float, v1: float, u2: float, v2: float, Tg: gp_Vec2d) -> bool: ... + def __init__( + self, Surf1: BRepAdaptor_Surface, Surf2: BRepAdaptor_Surface + ) -> None: ... + def Compute( + self, Pt: gp_Pnt, Tg: gp_Vec, Tguv1: gp_Vec2d, Tguv2: gp_Vec2d + ) -> Tuple[bool, float, float, float, float]: ... + def Pnt(self, u1: float, v1: float, u2: float, v2: float, P: gp_Pnt) -> None: ... + def SeekPoint( + self, u1: float, v1: float, u2: float, v2: float, Point: IntSurf_PntOn2S + ) -> bool: ... + def Tangency( + self, u1: float, v1: float, u2: float, v2: float, Tg: gp_Vec + ) -> bool: ... + def TangencyOnSurf1( + self, u1: float, v1: float, u2: float, v2: float, Tg: gp_Vec2d + ) -> bool: ... + def TangencyOnSurf2( + self, u1: float, v1: float, u2: float, v2: float, Tg: gp_Vec2d + ) -> bool: ... -class BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox(math_FunctionSetWithDerivatives): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, PS: BRepAdaptor_Surface, IS: IntSurf_Quadric) -> None: ... - @overload - def __init__(self, IS: IntSurf_Quadric) -> None: ... - def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... - def Direction2d(self) -> gp_Dir2d: ... - def Direction3d(self) -> gp_Vec: ... - def ISurface(self) -> IntSurf_Quadric: ... - def IsTangent(self) -> bool: ... - def NbEquations(self) -> int: ... - def NbVariables(self) -> int: ... - def PSurface(self) -> BRepAdaptor_Surface: ... - def Point(self) -> gp_Pnt: ... - def Root(self) -> float: ... - @overload - def Set(self, PS: BRepAdaptor_Surface) -> None: ... - @overload - def Set(self, Tolerance: float) -> None: ... - def SetImplicitSurface(self, IS: IntSurf_Quadric) -> None: ... - def Tolerance(self) -> float: ... - def Value(self, X: math_Vector, F: math_Vector) -> bool: ... - def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... +class BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox( + math_FunctionSetWithDerivatives +): + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, PS: BRepAdaptor_Surface, IS: IntSurf_Quadric) -> None: ... + @overload + def __init__(self, IS: IntSurf_Quadric) -> None: ... + def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... + def Direction2d(self) -> gp_Dir2d: ... + def Direction3d(self) -> gp_Vec: ... + def ISurface(self) -> IntSurf_Quadric: ... + def IsTangent(self) -> bool: ... + def NbEquations(self) -> int: ... + def NbVariables(self) -> int: ... + def PSurface(self) -> BRepAdaptor_Surface: ... + def Point(self) -> gp_Pnt: ... + def Root(self) -> float: ... + @overload + def Set(self, PS: BRepAdaptor_Surface) -> None: ... + @overload + def Set(self, Tolerance: float) -> None: ... + def SetImplicitSurface(self, IS: IntSurf_Quadric) -> None: ... + def Tolerance(self) -> float: ... + def Value(self, X: math_Vector, F: math_Vector) -> bool: ... + def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... # harray1 classes # harray2 classes # hsequence classes - -BRepApprox_TheMultiLineToolOfApprox_Curvature = BRepApprox_TheMultiLineToolOfApprox.Curvature -BRepApprox_TheMultiLineToolOfApprox_Curvature = BRepApprox_TheMultiLineToolOfApprox.Curvature -BRepApprox_TheMultiLineToolOfApprox_Curvature = BRepApprox_TheMultiLineToolOfApprox.Curvature -BRepApprox_TheMultiLineToolOfApprox_Dump = BRepApprox_TheMultiLineToolOfApprox.Dump -BRepApprox_TheMultiLineToolOfApprox_FirstPoint = BRepApprox_TheMultiLineToolOfApprox.FirstPoint -BRepApprox_TheMultiLineToolOfApprox_LastPoint = BRepApprox_TheMultiLineToolOfApprox.LastPoint -BRepApprox_TheMultiLineToolOfApprox_MakeMLBetween = BRepApprox_TheMultiLineToolOfApprox.MakeMLBetween -BRepApprox_TheMultiLineToolOfApprox_MakeMLOneMorePoint = BRepApprox_TheMultiLineToolOfApprox.MakeMLOneMorePoint -BRepApprox_TheMultiLineToolOfApprox_NbP2d = BRepApprox_TheMultiLineToolOfApprox.NbP2d -BRepApprox_TheMultiLineToolOfApprox_NbP3d = BRepApprox_TheMultiLineToolOfApprox.NbP3d -BRepApprox_TheMultiLineToolOfApprox_Tangency = BRepApprox_TheMultiLineToolOfApprox.Tangency -BRepApprox_TheMultiLineToolOfApprox_Tangency = BRepApprox_TheMultiLineToolOfApprox.Tangency -BRepApprox_TheMultiLineToolOfApprox_Tangency = BRepApprox_TheMultiLineToolOfApprox.Tangency -BRepApprox_TheMultiLineToolOfApprox_Value = BRepApprox_TheMultiLineToolOfApprox.Value -BRepApprox_TheMultiLineToolOfApprox_Value = BRepApprox_TheMultiLineToolOfApprox.Value -BRepApprox_TheMultiLineToolOfApprox_Value = BRepApprox_TheMultiLineToolOfApprox.Value -BRepApprox_TheMultiLineToolOfApprox_WhatStatus = BRepApprox_TheMultiLineToolOfApprox.WhatStatus diff --git a/src/SWIG_files/wrapper/BRepBlend.i b/src/SWIG_files/wrapper/BRepBlend.i index 0d73dd62f..801e15cb5 100644 --- a/src/SWIG_files/wrapper/BRepBlend.i +++ b/src/SWIG_files/wrapper/BRepBlend.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPBLENDDOCSTRING "BRepBlend module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepblend.html" +https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_brepblend.html" %enddef %module (package="OCC.Core", docstring=BREPBLENDDOCSTRING) BRepBlend @@ -31,8 +31,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepblend.html" %include ../common/CommonIncludes.i %include ../common/ExceptionCatcher.i %include ../common/FunctionTransformers.i +%include ../common/EnumTemplates.i %include ../common/Operators.i %include ../common/OccHandle.i +%include ../common/IOStream.i +%include ../common/ArrayMacros.i %{ @@ -50,9 +53,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepblend.html" #include #include #include -#include #include +#include #include +#include +#include #include #include #include @@ -88,9 +93,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepblend.html" %import Blend.i %import math.i %import AppBlend.i -%import Adaptor3d.i %import Adaptor2d.i +%import Adaptor3d.i %import IntSurf.i +%import Geom2d.i +%import Geom.i %import Law.i %import ChFiDS.i %import TopAbs.i @@ -103,7 +110,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -162,22 +169,23 @@ typedef NCollection_Sequence BRepBlend_SequenceOfPointOnRs %nodefaultctor BRepBlend_AppFuncRoot; class BRepBlend_AppFuncRoot : public Approx_SweepFunction { public: - /****************** BarycentreOfSurf ******************/ - /**** md5 signature: a691940df52b45c198f3414d0790e091 ****/ + /****** BRepBlend_AppFuncRoot::BarycentreOfSurf ******/ + /****** md5 signature: a691940df52b45c198f3414d0790e091 ******/ %feature("compactdefaultargs") BarycentreOfSurf; - %feature("autodoc", "Get the barycentre of surface. an very poor estimation is sufficent. this information is usefull to perform well conditionned rational approximation. - -Returns + %feature("autodoc", "Return ------- gp_Pnt + +Description +----------- +Get the barycentre of Surface. An very poor estimation is sufficient. This information is useful to perform well conditioned rational approximation. ") BarycentreOfSurf; virtual gp_Pnt BarycentreOfSurf(); - /****************** D0 ******************/ - /**** md5 signature: 6e91f38f7b850db44626fcacae37aa41 ****/ + /****** BRepBlend_AppFuncRoot::D0 ******/ + /****** md5 signature: 6e91f38f7b850db44626fcacae37aa41 ******/ %feature("compactdefaultargs") D0; - %feature("autodoc", "Compute the section for v = param. - + %feature("autodoc", " Parameters ---------- Param: float @@ -187,17 +195,20 @@ Poles: TColgp_Array1OfPnt Poles2d: TColgp_Array1OfPnt2d Weigths: TColStd_Array1OfReal -Returns +Return ------- bool + +Description +----------- +compute the section for v = param. ") 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); - /****************** D1 ******************/ - /**** md5 signature: 2393309f0bc419006f62cbad28865129 ****/ + /****** BRepBlend_AppFuncRoot::D1 ******/ + /****** md5 signature: 2393309f0bc419006f62cbad28865129 ******/ %feature("compactdefaultargs") D1; - %feature("autodoc", "Compute the first derivative in v direction of the section for v = param. - + %feature("autodoc", " Parameters ---------- Param: float @@ -210,17 +221,20 @@ DPoles2d: TColgp_Array1OfVec2d Weigths: TColStd_Array1OfReal DWeigths: TColStd_Array1OfReal -Returns +Return ------- bool + +Description +----------- +compute the first derivative in v direction of the section for v = param. ") 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); - /****************** D2 ******************/ - /**** md5 signature: 4cdf4be928174877f3da59b3bf48c192 ****/ + /****** BRepBlend_AppFuncRoot::D2 ******/ + /****** md5 signature: 4cdf4be928174877f3da59b3bf48c192 ******/ %feature("compactdefaultargs") D2; - %feature("autodoc", "Compute the second derivative in v direction of the section for v = param. - + %feature("autodoc", " Parameters ---------- Param: float @@ -236,32 +250,38 @@ Weigths: TColStd_Array1OfReal DWeigths: TColStd_Array1OfReal D2Weigths: TColStd_Array1OfReal -Returns +Return ------- bool + +Description +----------- +compute the second derivative in v direction of the section for v = param. ") 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); - /****************** GetMinimalWeight ******************/ - /**** md5 signature: 36fb20110448cba55b750bc7db93d222 ****/ + /****** BRepBlend_AppFuncRoot::GetMinimalWeight ******/ + /****** md5 signature: 36fb20110448cba55b750bc7db93d222 ******/ %feature("compactdefaultargs") GetMinimalWeight; - %feature("autodoc", "Compute the minimal value of weight for each poles of all sections. this information is usefull to perform well conditionned rational approximation. - + %feature("autodoc", " Parameters ---------- Weigths: TColStd_Array1OfReal -Returns +Return ------- None + +Description +----------- +Compute the minimal value of weight for each poles of all sections. This information is useful to perform well conditioned rational approximation. ") GetMinimalWeight; virtual void GetMinimalWeight(TColStd_Array1OfReal & Weigths); - /****************** GetTolerance ******************/ - /**** md5 signature: 3f6ec4398981d416a51435f14d7cee22 ****/ + /****** BRepBlend_AppFuncRoot::GetTolerance ******/ + /****** md5 signature: 3f6ec4398981d416a51435f14d7cee22 ******/ %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. - + %feature("autodoc", " Parameters ---------- BoundTol: float @@ -269,111 +289,132 @@ SurfTol: float AngleTol: float Tol3d: TColStd_Array1OfReal -Returns +Return ------- None + +Description +----------- +Returns the tolerance to reach in approximation to respect BoundTol error at the Boundary AngleTol tangent error at the Boundary (in radian) SurfTol error inside the surface. ") GetTolerance; virtual void GetTolerance(const Standard_Real BoundTol, const Standard_Real SurfTol, const Standard_Real AngleTol, TColStd_Array1OfReal & Tol3d); - /****************** Intervals ******************/ - /**** md5 signature: 89fb47d5d3721d82826a17cc788156e4 ****/ + /****** BRepBlend_AppFuncRoot::Intervals ******/ + /****** md5 signature: 89fb47d5d3721d82826a17cc788156e4 ******/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). - + %feature("autodoc", " Parameters ---------- T: TColStd_Array1OfReal S: GeomAbs_Shape -Returns +Return ------- None + +Description +----------- +Stores in the parameters bounding the intervals of continuity . //! The array must provide enough room to accommodate for the parameters. i.e. T.Length() > NbIntervals(). ") Intervals; virtual void Intervals(TColStd_Array1OfReal & T, const GeomAbs_Shape S); - /****************** IsRational ******************/ - /**** md5 signature: 2a6f0ec7e4a129780b654d163e7e3b1c ****/ + /****** BRepBlend_AppFuncRoot::IsRational ******/ + /****** md5 signature: 2a6f0ec7e4a129780b654d163e7e3b1c ******/ %feature("compactdefaultargs") IsRational; - %feature("autodoc", "Returns if the section is rationnal or not. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns if the section is rational or not. ") IsRational; virtual Standard_Boolean IsRational(); - /****************** Knots ******************/ - /**** md5 signature: 25dbe24e24c953c2c68b0d008e63e5d6 ****/ + /****** BRepBlend_AppFuncRoot::Knots ******/ + /****** md5 signature: 25dbe24e24c953c2c68b0d008e63e5d6 ******/ %feature("compactdefaultargs") Knots; - %feature("autodoc", "Get the knots of the section. - + %feature("autodoc", " Parameters ---------- TKnots: TColStd_Array1OfReal -Returns +Return ------- None + +Description +----------- +get the Knots of the section. ") Knots; virtual void Knots(TColStd_Array1OfReal & TKnots); - /****************** MaximalSection ******************/ - /**** md5 signature: b8f0d759fcd21b95d400b3aae3c12cfc ****/ + /****** BRepBlend_AppFuncRoot::MaximalSection ******/ + /****** md5 signature: b8f0d759fcd21b95d400b3aae3c12cfc ******/ %feature("compactdefaultargs") MaximalSection; - %feature("autodoc", "Returns the length of the maximum section. this information is usefull to perform well conditionned rational approximation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the length of the maximum section. This information is useful to perform well conditioned rational approximation. ") MaximalSection; virtual Standard_Real MaximalSection(); - /****************** Mults ******************/ - /**** md5 signature: 033dc1fab9e10e705c796ffc1e03a44d ****/ + /****** BRepBlend_AppFuncRoot::Mults ******/ + /****** md5 signature: 033dc1fab9e10e705c796ffc1e03a44d ******/ %feature("compactdefaultargs") Mults; - %feature("autodoc", "Get the multplicities of the section. - + %feature("autodoc", " Parameters ---------- TMults: TColStd_Array1OfInteger -Returns +Return ------- None + +Description +----------- +get the Multplicities of the section. ") Mults; virtual void Mults(TColStd_Array1OfInteger & TMults); - /****************** Nb2dCurves ******************/ - /**** md5 signature: a7d69b59dcf4f7a28533481bfba32ffb ****/ + /****** BRepBlend_AppFuncRoot::Nb2dCurves ******/ + /****** md5 signature: a7d69b59dcf4f7a28533481bfba32ffb ******/ %feature("compactdefaultargs") Nb2dCurves; - %feature("autodoc", "Get the number of 2d curves to approximate. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +get the number of 2d curves to approximate. ") Nb2dCurves; virtual Standard_Integer Nb2dCurves(); - /****************** NbIntervals ******************/ - /**** md5 signature: f69f597bd42e14bdc81d20aa650b3d54 ****/ + /****** BRepBlend_AppFuncRoot::NbIntervals ******/ + /****** md5 signature: f69f597bd42e14bdc81d20aa650b3d54 ******/ %feature("compactdefaultargs") NbIntervals; - %feature("autodoc", "Returns the number of intervals for continuity . may be one if continuity(me) >= . - + %feature("autodoc", " Parameters ---------- S: GeomAbs_Shape -Returns +Return ------- int + +Description +----------- +Returns the number of intervals for continuity . May be one if Continuity(me) >= . ") NbIntervals; virtual Standard_Integer NbIntervals(const GeomAbs_Shape S); - /****************** Point ******************/ - /**** md5 signature: afc5d5ba96bac3b7421329782521d7aa ****/ + /****** BRepBlend_AppFuncRoot::Point ******/ + /****** md5 signature: afc5d5ba96bac3b7421329782521d7aa ******/ %feature("compactdefaultargs") Point; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Func: Blend_AppFunction @@ -381,90 +422,109 @@ Param: float Sol: math_Vector Pnt: Blend_Point -Returns +Return ------- None + +Description +----------- +No available documentation. ") Point; virtual void Point(const Blend_AppFunction & Func, const Standard_Real Param, const math_Vector & Sol, Blend_Point & Pnt); - /****************** Resolution ******************/ - /**** md5 signature: ed5d1e3e2211bf035576b0c56d934522 ****/ + /****** BRepBlend_AppFuncRoot::Resolution ******/ + /****** md5 signature: ed5d1e3e2211bf035576b0c56d934522 ******/ %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", " Parameters ---------- Index: int Tol: float -Returns +Return ------- TolU: float TolV: float + +Description +----------- +Returns the resolutions in the sub-space 2d -- This information is usfull to find an good tolerance in 2d approximation. ") Resolution; virtual void Resolution(const Standard_Integer Index, const Standard_Real Tol, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** SectionShape ******************/ - /**** md5 signature: 4b057291e9e338f8d299ce252e7fb36b ****/ + /****** BRepBlend_AppFuncRoot::SectionShape ******/ + /****** md5 signature: 4b057291e9e338f8d299ce252e7fb36b ******/ %feature("compactdefaultargs") SectionShape; - %feature("autodoc", "Get the format of an section. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- NbPoles: int NbKnots: int Degree: int + +Description +----------- +get the format of an section. ") SectionShape; virtual void SectionShape(Standard_Integer &OutValue, Standard_Integer &OutValue, Standard_Integer &OutValue); - /****************** SetInterval ******************/ - /**** md5 signature: 09d00fda8057705f50d4a0bf656696ed ****/ + /****** BRepBlend_AppFuncRoot::SetInterval ******/ + /****** md5 signature: 09d00fda8057705f50d4a0bf656696ed ******/ %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. - + %feature("autodoc", " Parameters ---------- First: float Last: float -Returns +Return ------- None + +Description +----------- +Sets the bounds of the parametric interval on the fonction This determines the derivatives in these values if the function is not Cn. ") SetInterval; virtual void SetInterval(const Standard_Real First, const Standard_Real Last); - /****************** SetTolerance ******************/ - /**** md5 signature: bf0b5b1b4d35ebad7b1b81b0b9b8ba2c ****/ + /****** BRepBlend_AppFuncRoot::SetTolerance ******/ + /****** md5 signature: bf0b5b1b4d35ebad7b1b81b0b9b8ba2c ******/ %feature("compactdefaultargs") SetTolerance; - %feature("autodoc", "Is usfull, if (me) have to be run numerical algorithme to perform d0, d1 or d2. - + %feature("autodoc", " Parameters ---------- Tol3d: float Tol2d: float -Returns +Return ------- None + +Description +----------- +Is usfull, if (me) have to be run numerical algorithme to perform D0, D1 or D2. ") SetTolerance; virtual void SetTolerance(const Standard_Real Tol3d, const Standard_Real Tol2d); - /****************** Vec ******************/ - /**** md5 signature: 8e423ef956801f23a2aa4f8ca11e9907 ****/ + /****** BRepBlend_AppFuncRoot::Vec ******/ + /****** md5 signature: 8e423ef956801f23a2aa4f8ca11e9907 ******/ %feature("compactdefaultargs") Vec; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Sol: math_Vector Pnt: Blend_Point -Returns +Return ------- None + +Description +----------- +No available documentation. ") Vec; virtual void Vec(math_Vector & Sol, const Blend_Point & Pnt); @@ -484,22 +544,23 @@ None **************************/ class BRepBlend_AppSurf : public AppBlend_Approx { public: - /****************** BRepBlend_AppSurf ******************/ - /**** md5 signature: 3d853e22ecc3f684cf3f625ffa444684 ****/ + /****** BRepBlend_AppSurf::BRepBlend_AppSurf ******/ + /****** md5 signature: 3d853e22ecc3f684cf3f625ffa444684 ******/ %feature("compactdefaultargs") BRepBlend_AppSurf; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepBlend_AppSurf; BRepBlend_AppSurf(); - /****************** BRepBlend_AppSurf ******************/ - /**** md5 signature: f90d822c69ef6411865bdcb2388b117c ****/ + /****** BRepBlend_AppSurf::BRepBlend_AppSurf ******/ + /****** md5 signature: f90d822c69ef6411865bdcb2388b117c ******/ %feature("compactdefaultargs") BRepBlend_AppSurf; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Degmin: int @@ -507,47 +568,54 @@ Degmax: int Tol3d: float Tol2d: float NbIt: int -KnownParameters: bool,optional - default value is Standard_False +KnownParameters: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: 4cc571878c66d538aeaf8b0affec3574 ****/ + /****** BRepBlend_AppSurf::Continuity ******/ + /****** md5 signature: 4cc571878c66d538aeaf8b0affec3574 ******/ %feature("compactdefaultargs") Continuity; - %feature("autodoc", "Returns the continuity used in the approximation. - -Returns + %feature("autodoc", "Return ------- GeomAbs_Shape + +Description +----------- +returns the Continuity used in the approximation. ") Continuity; GeomAbs_Shape Continuity(); - /****************** CriteriumWeight ******************/ - /**** md5 signature: 4b68323f3c03d233f69e27404a58a42c ****/ + /****** BRepBlend_AppSurf::CriteriumWeight ******/ + /****** md5 signature: 4b68323f3c03d233f69e27404a58a42c ******/ %feature("compactdefaultargs") CriteriumWeight; - %feature("autodoc", "Returns the weights (as percent) associed to the criterium used in the optimization. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- W1: float W2: float W3: float + +Description +----------- +returns the Weights (as percent) associed to the criterium used in the optimization. ") CriteriumWeight; void CriteriumWeight(Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** Curve2d ******************/ - /**** md5 signature: 45f5fb41b7daba7a20d1fb56ead05f0f ****/ + /****** BRepBlend_AppSurf::Curve2d ******/ + /****** md5 signature: 45f5fb41b7daba7a20d1fb56ead05f0f ******/ %feature("compactdefaultargs") Curve2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Index: int @@ -555,81 +623,96 @@ TPoles: TColgp_Array1OfPnt2d TKnots: TColStd_Array1OfReal TMults: TColStd_Array1OfInteger -Returns +Return ------- None + +Description +----------- +No available documentation. ") Curve2d; void Curve2d(const Standard_Integer Index, TColgp_Array1OfPnt2d & TPoles, TColStd_Array1OfReal & TKnots, TColStd_Array1OfInteger & TMults); - /****************** Curve2dPoles ******************/ - /**** md5 signature: 8df321abd16a4651f96229eab1c5f048 ****/ + /****** BRepBlend_AppSurf::Curve2dPoles ******/ + /****** md5 signature: 8df321abd16a4651f96229eab1c5f048 ******/ %feature("compactdefaultargs") Curve2dPoles; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- TColgp_Array1OfPnt2d + +Description +----------- +No available documentation. ") Curve2dPoles; const TColgp_Array1OfPnt2d & Curve2dPoles(const Standard_Integer Index); - /****************** Curves2dDegree ******************/ - /**** md5 signature: 85ba31033da623d05ad75c9b051842b3 ****/ + /****** BRepBlend_AppSurf::Curves2dDegree ******/ + /****** md5 signature: 85ba31033da623d05ad75c9b051842b3 ******/ %feature("compactdefaultargs") Curves2dDegree; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") Curves2dDegree; Standard_Integer Curves2dDegree(); - /****************** Curves2dKnots ******************/ - /**** md5 signature: cd12725d88c425f3fe1ebccf9467256f ****/ + /****** BRepBlend_AppSurf::Curves2dKnots ******/ + /****** md5 signature: cd12725d88c425f3fe1ebccf9467256f ******/ %feature("compactdefaultargs") Curves2dKnots; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TColStd_Array1OfReal + +Description +----------- +No available documentation. ") Curves2dKnots; const TColStd_Array1OfReal & Curves2dKnots(); - /****************** Curves2dMults ******************/ - /**** md5 signature: d4f1ca5a39a589bb289460010c5bbf39 ****/ + /****** BRepBlend_AppSurf::Curves2dMults ******/ + /****** md5 signature: d4f1ca5a39a589bb289460010c5bbf39 ******/ %feature("compactdefaultargs") Curves2dMults; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TColStd_Array1OfInteger + +Description +----------- +No available documentation. ") Curves2dMults; const TColStd_Array1OfInteger & Curves2dMults(); - /****************** Curves2dShape ******************/ - /**** md5 signature: 28bf2faa4b8e811f12223cb99d1721ea ****/ + /****** BRepBlend_AppSurf::Curves2dShape ******/ + /****** md5 signature: 28bf2faa4b8e811f12223cb99d1721ea ******/ %feature("compactdefaultargs") Curves2dShape; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- Degree: int NbPoles: int NbKnots: int + +Description +----------- +No available documentation. ") Curves2dShape; void Curves2dShape(Standard_Integer &OutValue, Standard_Integer &OutValue, Standard_Integer &OutValue); - /****************** Init ******************/ - /**** md5 signature: 44a81349dbd1c40eccbaf3f763903054 ****/ + /****** BRepBlend_AppSurf::Init ******/ + /****** md5 signature: 44a81349dbd1c40eccbaf3f763903054 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Degmin: int @@ -637,166 +720,193 @@ Degmax: int Tol3d: float Tol2d: float NbIt: int -KnownParameters: bool,optional - default value is Standard_False +KnownParameters: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** BRepBlend_AppSurf::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsDone; Standard_Boolean IsDone(); - /****************** NbCurves2d ******************/ - /**** md5 signature: 91ae967daa54efe7d38afad4a5698e5b ****/ + /****** BRepBlend_AppSurf::NbCurves2d ******/ + /****** md5 signature: 91ae967daa54efe7d38afad4a5698e5b ******/ %feature("compactdefaultargs") NbCurves2d; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbCurves2d; Standard_Integer NbCurves2d(); - /****************** ParType ******************/ - /**** md5 signature: 97fa11d31bc8075ba4a84bf8b926a855 ****/ + /****** BRepBlend_AppSurf::ParType ******/ + /****** md5 signature: 97fa11d31bc8075ba4a84bf8b926a855 ******/ %feature("compactdefaultargs") ParType; - %feature("autodoc", "Returns the type of parametrization used in the approximation. - -Returns + %feature("autodoc", "Return ------- Approx_ParametrizationType + +Description +----------- +returns the type of parametrization used in the approximation. ") ParType; Approx_ParametrizationType ParType(); - /****************** Perform ******************/ - /**** md5 signature: a9a9e9c5bf9d1337764cca2e172749d2 ****/ + /****** BRepBlend_AppSurf::Perform ******/ + /****** md5 signature: a9a9e9c5bf9d1337764cca2e172749d2 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Lin: BRepBlend_Line SecGen: Blend_AppFunction -SpApprox: bool,optional - default value is Standard_False +SpApprox: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +No available documentation. ") Perform; void Perform(const opencascade::handle & Lin, Blend_AppFunction & SecGen, const Standard_Boolean SpApprox = Standard_False); - /****************** Perform ******************/ - /**** md5 signature: 7a55171e878a876862465555307e6bd3 ****/ + /****** BRepBlend_AppSurf::Perform ******/ + /****** md5 signature: 7a55171e878a876862465555307e6bd3 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Lin: BRepBlend_Line SecGen: Blend_AppFunction NbMaxP: int -Returns +Return ------- None + +Description +----------- +No available documentation. ") Perform; void Perform(const opencascade::handle & Lin, Blend_AppFunction & SecGen, const Standard_Integer NbMaxP); - /****************** PerformSmoothing ******************/ - /**** md5 signature: 7cb77d9dda0f081d8efd1da8d7d4b09d ****/ + /****** BRepBlend_AppSurf::PerformSmoothing ******/ + /****** md5 signature: 7cb77d9dda0f081d8efd1da8d7d4b09d ******/ %feature("compactdefaultargs") PerformSmoothing; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Lin: BRepBlend_Line SecGen: Blend_AppFunction -Returns +Return ------- None + +Description +----------- +No available documentation. ") PerformSmoothing; void PerformSmoothing(const opencascade::handle & Lin, Blend_AppFunction & SecGen); - /****************** SetContinuity ******************/ - /**** md5 signature: 41a91b0ea6e9b248a1b48c05882f4281 ****/ + /****** BRepBlend_AppSurf::SetContinuity ******/ + /****** md5 signature: 41a91b0ea6e9b248a1b48c05882f4281 ******/ %feature("compactdefaultargs") SetContinuity; - %feature("autodoc", "Define the continuity used in the approximation. - + %feature("autodoc", " Parameters ---------- C: GeomAbs_Shape -Returns +Return ------- None + +Description +----------- +Define the Continuity used in the approximation. ") SetContinuity; void SetContinuity(const GeomAbs_Shape C); - /****************** SetCriteriumWeight ******************/ - /**** md5 signature: f8c7045bd0e7f781a0984d023e8b1268 ****/ + /****** BRepBlend_AppSurf::SetCriteriumWeight ******/ + /****** md5 signature: f8c7045bd0e7f781a0984d023e8b1268 ******/ %feature("compactdefaultargs") SetCriteriumWeight; - %feature("autodoc", "Define the weights associed to the criterium used in the optimization. //! if wi <= 0. - + %feature("autodoc", " Parameters ---------- W1: float W2: float W3: float -Returns +Return ------- None + +Description +----------- +define the Weights associed to the criterium used in the optimization. //! if Wi <= 0. ") SetCriteriumWeight; void SetCriteriumWeight(const Standard_Real W1, const Standard_Real W2, const Standard_Real W3); - /****************** SetParType ******************/ - /**** md5 signature: ff343d7833ad3cc796439eb5cefa88ba ****/ + /****** BRepBlend_AppSurf::SetParType ******/ + /****** md5 signature: ff343d7833ad3cc796439eb5cefa88ba ******/ %feature("compactdefaultargs") SetParType; - %feature("autodoc", "Define the type of parametrization used in the approximation. - + %feature("autodoc", " Parameters ---------- ParType: Approx_ParametrizationType -Returns +Return ------- None + +Description +----------- +Define the type of parametrization used in the approximation. ") SetParType; void SetParType(const Approx_ParametrizationType ParType); - /****************** SurfPoles ******************/ - /**** md5 signature: 33be5d08621b237fcd73b5b9accd2338 ****/ + /****** BRepBlend_AppSurf::SurfPoles ******/ + /****** md5 signature: 33be5d08621b237fcd73b5b9accd2338 ******/ %feature("compactdefaultargs") SurfPoles; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TColgp_Array2OfPnt + +Description +----------- +No available documentation. ") SurfPoles; const TColgp_Array2OfPnt & SurfPoles(); - /****************** SurfShape ******************/ - /**** md5 signature: 6dbc9c018a92aabb9f9d1988ac20cb43 ****/ + /****** BRepBlend_AppSurf::SurfShape ******/ + /****** md5 signature: 6dbc9c018a92aabb9f9d1988ac20cb43 ******/ %feature("compactdefaultargs") SurfShape; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- UDegree: int VDegree: int @@ -804,69 +914,82 @@ NbUPoles: int NbVPoles: int NbUKnots: int NbVKnots: int + +Description +----------- +No available documentation. ") SurfShape; void SurfShape(Standard_Integer &OutValue, Standard_Integer &OutValue, Standard_Integer &OutValue, Standard_Integer &OutValue, Standard_Integer &OutValue, Standard_Integer &OutValue); - /****************** SurfUKnots ******************/ - /**** md5 signature: 30cf4dd9deaf04a1c77052e14ae7392b ****/ + /****** BRepBlend_AppSurf::SurfUKnots ******/ + /****** md5 signature: 30cf4dd9deaf04a1c77052e14ae7392b ******/ %feature("compactdefaultargs") SurfUKnots; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TColStd_Array1OfReal + +Description +----------- +No available documentation. ") SurfUKnots; const TColStd_Array1OfReal & SurfUKnots(); - /****************** SurfUMults ******************/ - /**** md5 signature: ef046447df8e4b2931da90e1475e731f ****/ + /****** BRepBlend_AppSurf::SurfUMults ******/ + /****** md5 signature: ef046447df8e4b2931da90e1475e731f ******/ %feature("compactdefaultargs") SurfUMults; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TColStd_Array1OfInteger + +Description +----------- +No available documentation. ") SurfUMults; const TColStd_Array1OfInteger & SurfUMults(); - /****************** SurfVKnots ******************/ - /**** md5 signature: 52c9dafc43c5e3713c77d7aa4381da5c ****/ + /****** BRepBlend_AppSurf::SurfVKnots ******/ + /****** md5 signature: 52c9dafc43c5e3713c77d7aa4381da5c ******/ %feature("compactdefaultargs") SurfVKnots; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TColStd_Array1OfReal + +Description +----------- +No available documentation. ") SurfVKnots; const TColStd_Array1OfReal & SurfVKnots(); - /****************** SurfVMults ******************/ - /**** md5 signature: 589e6536c77c512e7a37f99faf0fa21c ****/ + /****** BRepBlend_AppSurf::SurfVMults ******/ + /****** md5 signature: 589e6536c77c512e7a37f99faf0fa21c ******/ %feature("compactdefaultargs") SurfVMults; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TColStd_Array1OfInteger + +Description +----------- +No available documentation. ") SurfVMults; const TColStd_Array1OfInteger & SurfVMults(); - /****************** SurfWeights ******************/ - /**** md5 signature: 894d2a3f2c33f7d641aef9c7f9e3fa57 ****/ + /****** BRepBlend_AppSurf::SurfWeights ******/ + /****** md5 signature: 894d2a3f2c33f7d641aef9c7f9e3fa57 ******/ %feature("compactdefaultargs") SurfWeights; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TColStd_Array2OfReal + +Description +----------- +No available documentation. ") SurfWeights; const TColStd_Array2OfReal & SurfWeights(); - /****************** Surface ******************/ - /**** md5 signature: 49bb9dd6da49966f0010e14dd0ffef04 ****/ + /****** BRepBlend_AppSurf::Surface ******/ + /****** md5 signature: 49bb9dd6da49966f0010e14dd0ffef04 ******/ %feature("compactdefaultargs") Surface; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- TPoles: TColgp_Array2OfPnt @@ -876,61 +999,75 @@ TVKnots: TColStd_Array1OfReal TUMults: TColStd_Array1OfInteger TVMults: TColStd_Array1OfInteger -Returns +Return ------- None + +Description +----------- +No available documentation. ") Surface; void Surface(TColgp_Array2OfPnt & TPoles, TColStd_Array2OfReal & TWeights, TColStd_Array1OfReal & TUKnots, TColStd_Array1OfReal & TVKnots, TColStd_Array1OfInteger & TUMults, TColStd_Array1OfInteger & TVMults); - /****************** TolCurveOnSurf ******************/ - /**** md5 signature: f21f0f877b35cf67581fa59260f72857 ****/ + /****** BRepBlend_AppSurf::TolCurveOnSurf ******/ + /****** md5 signature: f21f0f877b35cf67581fa59260f72857 ******/ %feature("compactdefaultargs") TolCurveOnSurf; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- float + +Description +----------- +No available documentation. ") TolCurveOnSurf; Standard_Real TolCurveOnSurf(const Standard_Integer Index); - /****************** TolReached ******************/ - /**** md5 signature: c8d3e7f26c4ee8a50f4eca5274d79e63 ****/ + /****** BRepBlend_AppSurf::TolReached ******/ + /****** md5 signature: c8d3e7f26c4ee8a50f4eca5274d79e63 ******/ %feature("compactdefaultargs") TolReached; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- Tol3d: float Tol2d: float + +Description +----------- +No available documentation. ") TolReached; void TolReached(Standard_Real &OutValue, Standard_Real &OutValue); - /****************** UDegree ******************/ - /**** md5 signature: f204e5fbf1c49e3d9e4889dfead5a190 ****/ + /****** BRepBlend_AppSurf::UDegree ******/ + /****** md5 signature: f204e5fbf1c49e3d9e4889dfead5a190 ******/ %feature("compactdefaultargs") UDegree; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") UDegree; Standard_Integer UDegree(); - /****************** VDegree ******************/ - /**** md5 signature: 4901bdb3b29a5c2410ca93d6a7816f06 ****/ + /****** BRepBlend_AppSurf::VDegree ******/ + /****** md5 signature: 4901bdb3b29a5c2410ca93d6a7816f06 ******/ %feature("compactdefaultargs") VDegree; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") VDegree; Standard_Integer VDegree(); @@ -948,11 +1085,10 @@ int *****************************/ class BRepBlend_AppSurface : public AppBlend_Approx { public: - /****************** BRepBlend_AppSurface ******************/ - /**** md5 signature: 4c9fa38ef52401b9399050fa7e75f465 ****/ + /****** BRepBlend_AppSurface::BRepBlend_AppSurface ******/ + /****** md5 signature: 4c9fa38ef52401b9399050fa7e75f465 ******/ %feature("compactdefaultargs") BRepBlend_AppSurface; - %feature("autodoc", "Approximation of the new surface (and eventually the 2d curves on the support surfaces). normaly the 2d curve are approximated with an tolerance given by the resolution on support surfaces, but if this tolerance is too large tol2d is used. - + %feature("autodoc", " Parameters ---------- Funct: Approx_SweepFunction @@ -961,24 +1097,24 @@ Last: float Tol3d: float Tol2d: float TolAngular: float -Continuity: GeomAbs_Shape,optional - default value is GeomAbs_C0 -Degmax: int,optional - default value is 11 -Segmax: int,optional - default value is 50 +Continuity: GeomAbs_Shape (optional, default to GeomAbs_C0) +Degmax: int (optional, default to 11) +Segmax: int (optional, default to 50) -Returns +Return ------- None + +Description +----------- +Approximation of the new Surface (and eventually the 2d Curves on the support surfaces). Normally the 2d curve are approximated with an tolerance given by the resolution on support surfaces, but if this tolerance is too large Tol2d is used. ") 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 ******************/ - /**** md5 signature: 45f5fb41b7daba7a20d1fb56ead05f0f ****/ + /****** BRepBlend_AppSurface::Curve2d ******/ + /****** md5 signature: 45f5fb41b7daba7a20d1fb56ead05f0f ******/ %feature("compactdefaultargs") Curve2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Index: int @@ -986,152 +1122,187 @@ TPoles: TColgp_Array1OfPnt2d TKnots: TColStd_Array1OfReal TMults: TColStd_Array1OfInteger -Returns +Return ------- None + +Description +----------- +No available documentation. ") Curve2d; void Curve2d(const Standard_Integer Index, TColgp_Array1OfPnt2d & TPoles, TColStd_Array1OfReal & TKnots, TColStd_Array1OfInteger & TMults); - /****************** Curve2dPoles ******************/ - /**** md5 signature: 8df321abd16a4651f96229eab1c5f048 ****/ + /****** BRepBlend_AppSurface::Curve2dPoles ******/ + /****** md5 signature: 8df321abd16a4651f96229eab1c5f048 ******/ %feature("compactdefaultargs") Curve2dPoles; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- TColgp_Array1OfPnt2d + +Description +----------- +No available documentation. ") Curve2dPoles; const TColgp_Array1OfPnt2d & Curve2dPoles(const Standard_Integer Index); - /****************** Curves2dDegree ******************/ - /**** md5 signature: 85ba31033da623d05ad75c9b051842b3 ****/ + /****** BRepBlend_AppSurface::Curves2dDegree ******/ + /****** md5 signature: 85ba31033da623d05ad75c9b051842b3 ******/ %feature("compactdefaultargs") Curves2dDegree; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") Curves2dDegree; Standard_Integer Curves2dDegree(); - /****************** Curves2dKnots ******************/ - /**** md5 signature: cd12725d88c425f3fe1ebccf9467256f ****/ + /****** BRepBlend_AppSurface::Curves2dKnots ******/ + /****** md5 signature: cd12725d88c425f3fe1ebccf9467256f ******/ %feature("compactdefaultargs") Curves2dKnots; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TColStd_Array1OfReal + +Description +----------- +No available documentation. ") Curves2dKnots; const TColStd_Array1OfReal & Curves2dKnots(); - /****************** Curves2dMults ******************/ - /**** md5 signature: d4f1ca5a39a589bb289460010c5bbf39 ****/ + /****** BRepBlend_AppSurface::Curves2dMults ******/ + /****** md5 signature: d4f1ca5a39a589bb289460010c5bbf39 ******/ %feature("compactdefaultargs") Curves2dMults; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TColStd_Array1OfInteger + +Description +----------- +No available documentation. ") Curves2dMults; const TColStd_Array1OfInteger & Curves2dMults(); - /****************** Curves2dShape ******************/ - /**** md5 signature: 28bf2faa4b8e811f12223cb99d1721ea ****/ + /****** BRepBlend_AppSurface::Curves2dShape ******/ + /****** md5 signature: 28bf2faa4b8e811f12223cb99d1721ea ******/ %feature("compactdefaultargs") Curves2dShape; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- Degree: int NbPoles: int NbKnots: int + +Description +----------- +No available documentation. ") Curves2dShape; void Curves2dShape(Standard_Integer &OutValue, Standard_Integer &OutValue, Standard_Integer &OutValue); + /****** BRepBlend_AppSurface::Dump ******/ + /****** md5 signature: d37b43e0b2386dc096d5d707876db157 ******/ + %feature("compactdefaultargs") Dump; + %feature("autodoc", " +Parameters +---------- + +Return +------- +o: Standard_OStream + +Description +----------- +display information on approximation. +") Dump; + void Dump(std::ostream &OutValue); - %feature("autodoc", "1"); - %extend{ - std::string DumpToString() { - std::stringstream s; - self->Dump(s); - return s.str();} - }; - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** BRepBlend_AppSurface::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsDone; Standard_Boolean IsDone(); - /****************** Max2dError ******************/ - /**** md5 signature: bb3f56b4b55e0d91b8620b3ad4fad758 ****/ + /****** BRepBlend_AppSurface::Max2dError ******/ + /****** md5 signature: bb3f56b4b55e0d91b8620b3ad4fad758 ******/ %feature("compactdefaultargs") Max2dError; - %feature("autodoc", "Returns the maximum error in the 2d curve approximation. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- float + +Description +----------- +returns the maximum error in the 2d curve approximation. ") Max2dError; Standard_Real Max2dError(const Standard_Integer Index); - /****************** MaxErrorOnSurf ******************/ - /**** md5 signature: e42290da593c42adaac24f68c51ecbda ****/ + /****** BRepBlend_AppSurface::MaxErrorOnSurf ******/ + /****** md5 signature: e42290da593c42adaac24f68c51ecbda ******/ %feature("compactdefaultargs") MaxErrorOnSurf; - %feature("autodoc", "Returns the maximum error in the suface approximation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the maximum error in the surface approximation. ") MaxErrorOnSurf; Standard_Real MaxErrorOnSurf(); - /****************** NbCurves2d ******************/ - /**** md5 signature: 91ae967daa54efe7d38afad4a5698e5b ****/ + /****** BRepBlend_AppSurface::NbCurves2d ******/ + /****** md5 signature: 91ae967daa54efe7d38afad4a5698e5b ******/ %feature("compactdefaultargs") NbCurves2d; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbCurves2d; Standard_Integer NbCurves2d(); - /****************** SurfPoles ******************/ - /**** md5 signature: 33be5d08621b237fcd73b5b9accd2338 ****/ + /****** BRepBlend_AppSurface::SurfPoles ******/ + /****** md5 signature: 33be5d08621b237fcd73b5b9accd2338 ******/ %feature("compactdefaultargs") SurfPoles; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TColgp_Array2OfPnt + +Description +----------- +No available documentation. ") SurfPoles; const TColgp_Array2OfPnt & SurfPoles(); - /****************** SurfShape ******************/ - /**** md5 signature: 6dbc9c018a92aabb9f9d1988ac20cb43 ****/ + /****** BRepBlend_AppSurface::SurfShape ******/ + /****** md5 signature: 6dbc9c018a92aabb9f9d1988ac20cb43 ******/ %feature("compactdefaultargs") SurfShape; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- UDegree: int VDegree: int @@ -1139,69 +1310,82 @@ NbUPoles: int NbVPoles: int NbUKnots: int NbVKnots: int + +Description +----------- +No available documentation. ") SurfShape; void SurfShape(Standard_Integer &OutValue, Standard_Integer &OutValue, Standard_Integer &OutValue, Standard_Integer &OutValue, Standard_Integer &OutValue, Standard_Integer &OutValue); - /****************** SurfUKnots ******************/ - /**** md5 signature: 30cf4dd9deaf04a1c77052e14ae7392b ****/ + /****** BRepBlend_AppSurface::SurfUKnots ******/ + /****** md5 signature: 30cf4dd9deaf04a1c77052e14ae7392b ******/ %feature("compactdefaultargs") SurfUKnots; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TColStd_Array1OfReal + +Description +----------- +No available documentation. ") SurfUKnots; const TColStd_Array1OfReal & SurfUKnots(); - /****************** SurfUMults ******************/ - /**** md5 signature: ef046447df8e4b2931da90e1475e731f ****/ + /****** BRepBlend_AppSurface::SurfUMults ******/ + /****** md5 signature: ef046447df8e4b2931da90e1475e731f ******/ %feature("compactdefaultargs") SurfUMults; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TColStd_Array1OfInteger + +Description +----------- +No available documentation. ") SurfUMults; const TColStd_Array1OfInteger & SurfUMults(); - /****************** SurfVKnots ******************/ - /**** md5 signature: 52c9dafc43c5e3713c77d7aa4381da5c ****/ + /****** BRepBlend_AppSurface::SurfVKnots ******/ + /****** md5 signature: 52c9dafc43c5e3713c77d7aa4381da5c ******/ %feature("compactdefaultargs") SurfVKnots; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TColStd_Array1OfReal + +Description +----------- +No available documentation. ") SurfVKnots; const TColStd_Array1OfReal & SurfVKnots(); - /****************** SurfVMults ******************/ - /**** md5 signature: 589e6536c77c512e7a37f99faf0fa21c ****/ + /****** BRepBlend_AppSurface::SurfVMults ******/ + /****** md5 signature: 589e6536c77c512e7a37f99faf0fa21c ******/ %feature("compactdefaultargs") SurfVMults; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TColStd_Array1OfInteger + +Description +----------- +No available documentation. ") SurfVMults; const TColStd_Array1OfInteger & SurfVMults(); - /****************** SurfWeights ******************/ - /**** md5 signature: 894d2a3f2c33f7d641aef9c7f9e3fa57 ****/ + /****** BRepBlend_AppSurface::SurfWeights ******/ + /****** md5 signature: 894d2a3f2c33f7d641aef9c7f9e3fa57 ******/ %feature("compactdefaultargs") SurfWeights; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TColStd_Array2OfReal + +Description +----------- +No available documentation. ") SurfWeights; const TColStd_Array2OfReal & SurfWeights(); - /****************** Surface ******************/ - /**** md5 signature: 49bb9dd6da49966f0010e14dd0ffef04 ****/ + /****** BRepBlend_AppSurface::Surface ******/ + /****** md5 signature: 49bb9dd6da49966f0010e14dd0ffef04 ******/ %feature("compactdefaultargs") Surface; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- TPoles: TColgp_Array2OfPnt @@ -1211,46 +1395,57 @@ TVKnots: TColStd_Array1OfReal TUMults: TColStd_Array1OfInteger TVMults: TColStd_Array1OfInteger -Returns +Return ------- None + +Description +----------- +No available documentation. ") Surface; void Surface(TColgp_Array2OfPnt & TPoles, TColStd_Array2OfReal & TWeights, TColStd_Array1OfReal & TUKnots, TColStd_Array1OfReal & TVKnots, TColStd_Array1OfInteger & TUMults, TColStd_Array1OfInteger & TVMults); - /****************** TolCurveOnSurf ******************/ - /**** md5 signature: f21f0f877b35cf67581fa59260f72857 ****/ + /****** BRepBlend_AppSurface::TolCurveOnSurf ******/ + /****** md5 signature: f21f0f877b35cf67581fa59260f72857 ******/ %feature("compactdefaultargs") TolCurveOnSurf; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- float + +Description +----------- +No available documentation. ") TolCurveOnSurf; Standard_Real TolCurveOnSurf(const Standard_Integer Index); - /****************** UDegree ******************/ - /**** md5 signature: f204e5fbf1c49e3d9e4889dfead5a190 ****/ + /****** BRepBlend_AppSurface::UDegree ******/ + /****** md5 signature: f204e5fbf1c49e3d9e4889dfead5a190 ******/ %feature("compactdefaultargs") UDegree; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") UDegree; Standard_Integer UDegree(); - /****************** VDegree ******************/ - /**** md5 signature: 4901bdb3b29a5c2410ca93d6a7816f06 ****/ + /****** BRepBlend_AppSurface::VDegree ******/ + /****** md5 signature: 4901bdb3b29a5c2410ca93d6a7816f06 ******/ %feature("compactdefaultargs") VDegree; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") VDegree; Standard_Integer VDegree(); @@ -1268,254 +1463,438 @@ int }; /**************************** -* class BRepBlend_CSWalking * +* class BRepBlend_BlendTool * ****************************/ -class BRepBlend_CSWalking { +class BRepBlend_BlendTool { public: - /****************** BRepBlend_CSWalking ******************/ - /**** md5 signature: e134d88e0a8d54d9b285cd0fdf218776 ****/ - %feature("compactdefaultargs") BRepBlend_CSWalking; - %feature("autodoc", "No available documentation. + /****** BRepBlend_BlendTool::Bounds ******/ + /****** md5 signature: 14979ddc3175e995d5548477ac5bcd4b ******/ + %feature("compactdefaultargs") Bounds; + %feature("autodoc", " +Parameters +---------- +C: Adaptor2d_Curve2d +Return +------- +Ufirst: float +Ulast: float + +Description +----------- +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. +") Bounds; + static void Bounds(const opencascade::handle & C, Standard_Real &OutValue, Standard_Real &OutValue); + + /****** BRepBlend_BlendTool::CurveOnSurf ******/ + /****** md5 signature: 42ed509a86edeb73002d5f1d07860770 ******/ + %feature("compactdefaultargs") CurveOnSurf; + %feature("autodoc", " Parameters ---------- -Curv: Adaptor3d_HCurve -Surf: Adaptor3d_HSurface -Domain: Adaptor3d_TopolTool +C: Adaptor2d_Curve2d +S: Adaptor3d_Surface -Returns +Return ------- -None -") BRepBlend_CSWalking; - BRepBlend_CSWalking(const opencascade::handle & Curv, const opencascade::handle & Surf, const opencascade::handle & Domain); +opencascade::handle - /****************** Complete ******************/ - /**** md5 signature: 8a1bdd17921ba51464cb2900597d7f15 ****/ - %feature("compactdefaultargs") Complete; - %feature("autodoc", "No available documentation. +Description +----------- +No available documentation. +") CurveOnSurf; + static opencascade::handle CurveOnSurf(const opencascade::handle & C, const opencascade::handle & S); + /****** BRepBlend_BlendTool::Inters ******/ + /****** md5 signature: 170d1a316434301ae883f401f1afc1a5 ******/ + %feature("compactdefaultargs") Inters; + %feature("autodoc", " Parameters ---------- -F: Blend_CSFunction -Pmin: float +P1: gp_Pnt2d +P2: gp_Pnt2d +S: Adaptor3d_Surface +C: Adaptor2d_Curve2d + +Return +------- +Param: float +Dist: float + +Description +----------- +No available documentation. +") Inters; + static Standard_Boolean Inters(const gp_Pnt2d & P1, const gp_Pnt2d & P2, const opencascade::handle & S, const opencascade::handle & C, Standard_Real &OutValue, Standard_Real &OutValue); + + /****** BRepBlend_BlendTool::NbSamplesU ******/ + /****** md5 signature: 7ffe816252db97bdbf2950cea2ca2037 ******/ + %feature("compactdefaultargs") NbSamplesU; + %feature("autodoc", " +Parameters +---------- +S: Adaptor3d_Surface +u1: float +u2: float + +Return +------- +int + +Description +----------- +No available documentation. +") NbSamplesU; + static Standard_Integer NbSamplesU(const opencascade::handle & S, const Standard_Real u1, const Standard_Real u2); + + /****** BRepBlend_BlendTool::NbSamplesV ******/ + /****** md5 signature: 183861bdb84cb1597bd3a1324a097e8e ******/ + %feature("compactdefaultargs") NbSamplesV; + %feature("autodoc", " +Parameters +---------- +S: Adaptor3d_Surface +v1: float +v2: float + +Return +------- +int + +Description +----------- +No available documentation. +") NbSamplesV; + static Standard_Integer NbSamplesV(const opencascade::handle & S, const Standard_Real v1, const Standard_Real v2); + + /****** BRepBlend_BlendTool::Parameter ******/ + /****** md5 signature: 7ae5064afa9b94fba3ac6ba29690d05a ******/ + %feature("compactdefaultargs") Parameter; + %feature("autodoc", " +Parameters +---------- +V: Adaptor3d_HVertex +A: Adaptor2d_Curve2d + +Return +------- +float -Returns +Description +----------- +Returns the parameter of the vertex V on the edge A. +") Parameter; + static Standard_Real Parameter(const opencascade::handle & V, const opencascade::handle & A); + + /****** BRepBlend_BlendTool::Project ******/ + /****** md5 signature: dd03f29497bf175b89cbdb0eb69337ae ******/ + %feature("compactdefaultargs") Project; + %feature("autodoc", " +Parameters +---------- +P: gp_Pnt2d +S: Adaptor3d_Surface +C: Adaptor2d_Curve2d + +Return +------- +Paramproj: float +Dist: float + +Description +----------- +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. +") Project; + static Standard_Boolean Project(const gp_Pnt2d & P, const opencascade::handle & S, const opencascade::handle & C, Standard_Real &OutValue, Standard_Real &OutValue); + + /****** BRepBlend_BlendTool::SingularOnUMax ******/ + /****** md5 signature: d3ce7701aebe6c17d8a630ca024b7a67 ******/ + %feature("compactdefaultargs") SingularOnUMax; + %feature("autodoc", " +Parameters +---------- +S: Adaptor3d_Surface + +Return ------- bool -") Complete; - Standard_Boolean Complete(Blend_CSFunction & F, const Standard_Real Pmin); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ - %feature("compactdefaultargs") IsDone; - %feature("autodoc", "No available documentation. +Description +----------- +No available documentation. +") SingularOnUMax; + static Standard_Boolean SingularOnUMax(const opencascade::handle & S); + + /****** BRepBlend_BlendTool::SingularOnUMin ******/ + /****** md5 signature: d59a1ea9f83cedfe3b3c10bf7d368a33 ******/ + %feature("compactdefaultargs") SingularOnUMin; + %feature("autodoc", " +Parameters +---------- +S: Adaptor3d_Surface -Returns +Return ------- bool -") IsDone; - Standard_Boolean IsDone(); - /****************** Line ******************/ - /**** md5 signature: 9bbdb2164431d955d7a3a08a37fd239f ****/ - %feature("compactdefaultargs") Line; - %feature("autodoc", "No available documentation. +Description +----------- +No available documentation. +") SingularOnUMin; + static Standard_Boolean SingularOnUMin(const opencascade::handle & S); + + /****** BRepBlend_BlendTool::SingularOnVMax ******/ + /****** md5 signature: 5f37482ceddffdf31349f166be64affd ******/ + %feature("compactdefaultargs") SingularOnVMax; + %feature("autodoc", " +Parameters +---------- +S: Adaptor3d_Surface -Returns +Return ------- -opencascade::handle -") Line; - const opencascade::handle & Line(); +bool - /****************** Perform ******************/ - /**** md5 signature: a361649c1733aab22de8bce76b7d94ae ****/ - %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. +Description +----------- +No available documentation. +") SingularOnVMax; + static Standard_Boolean SingularOnVMax(const opencascade::handle & S); + /****** BRepBlend_BlendTool::SingularOnVMin ******/ + /****** md5 signature: 25ae497959e941075dff65a069de3c75 ******/ + %feature("compactdefaultargs") SingularOnVMin; + %feature("autodoc", " Parameters ---------- -F: Blend_CSFunction -Pdep: float -Pmax: float -MaxStep: float -TolGuide: float -Soldep: math_Vector -Tolesp: float -Fleche: float -Appro: bool,optional - default value is Standard_False +S: Adaptor3d_Surface -Returns +Return ------- -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); +bool + +Description +----------- +No available documentation. +") SingularOnVMin; + static Standard_Boolean SingularOnVMin(const opencascade::handle & S); + + /****** BRepBlend_BlendTool::Tolerance ******/ + /****** md5 signature: d0ef038126a2ceb42adeb04bacf780f0 ******/ + %feature("compactdefaultargs") Tolerance; + %feature("autodoc", " +Parameters +---------- +V: Adaptor3d_HVertex +A: Adaptor2d_Curve2d + +Return +------- +float + +Description +----------- +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'. +") Tolerance; + static Standard_Real Tolerance(const opencascade::handle & V, const opencascade::handle & A); }; -%extend BRepBlend_CSWalking { +%extend BRepBlend_BlendTool { %pythoncode { __repr__ = _dumps_object } }; +/**************************** +* class BRepBlend_CSWalking * +****************************/ /********************************** * class BRepBlend_CurvPointRadInv * **********************************/ class BRepBlend_CurvPointRadInv : public Blend_CurvPointFuncInv { public: - /****************** BRepBlend_CurvPointRadInv ******************/ - /**** md5 signature: e46ba43122269d3ee289beea00e78af7 ****/ + /****** BRepBlend_CurvPointRadInv::BRepBlend_CurvPointRadInv ******/ + /****** md5 signature: 07adfa2c83f449c99a58faec4122a065 ******/ %feature("compactdefaultargs") BRepBlend_CurvPointRadInv; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -C1: Adaptor3d_HCurve -C2: Adaptor3d_HCurve +C1: Adaptor3d_Curve +C2: Adaptor3d_Curve -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBlend_CurvPointRadInv; - BRepBlend_CurvPointRadInv(const opencascade::handle & C1, const opencascade::handle & C2); + BRepBlend_CurvPointRadInv(const opencascade::handle & C1, const opencascade::handle & C2); - /****************** Derivatives ******************/ - /**** md5 signature: 80ee5f16e62731c095910ad60228848b ****/ + /****** BRepBlend_CurvPointRadInv::Derivatives ******/ + /****** md5 signature: 80ee5f16e62731c095910ad60228848b ******/ %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", " Parameters ---------- X: math_Vector D: math_Matrix -Returns +Return ------- bool + +Description +----------- +returns the values of the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. ") Derivatives; Standard_Boolean Derivatives(const math_Vector & X, math_Matrix & D); - /****************** GetBounds ******************/ - /**** md5 signature: 73d101c74e718085b2fc8de28383bce3 ****/ + /****** BRepBlend_CurvPointRadInv::GetBounds ******/ + /****** md5 signature: 73d101c74e718085b2fc8de28383bce3 ******/ %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. - + %feature("autodoc", " Parameters ---------- InfBound: math_Vector SupBound: math_Vector -Returns +Return ------- None + +Description +----------- +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. ") GetBounds; void GetBounds(math_Vector & InfBound, math_Vector & SupBound); - /****************** GetTolerance ******************/ - /**** md5 signature: 463e2084f8f6e4a4f87c36de6e9fd9c6 ****/ + /****** BRepBlend_CurvPointRadInv::GetTolerance ******/ + /****** md5 signature: 463e2084f8f6e4a4f87c36de6e9fd9c6 ******/ %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", " Parameters ---------- Tolerance: math_Vector Tol: float -Returns +Return ------- None + +Description +----------- +Returns in the vector Tolerance the parametric tolerance for each of the 3 variables; Tol is the tolerance used in 3d space. ") GetTolerance; void GetTolerance(math_Vector & Tolerance, const Standard_Real Tol); - /****************** IsSolution ******************/ - /**** md5 signature: 0884df902635922234b529dc88a260b5 ****/ + /****** BRepBlend_CurvPointRadInv::IsSolution ******/ + /****** md5 signature: 0884df902635922234b529dc88a260b5 ******/ %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", " Parameters ---------- Sol: math_Vector Tol: float -Returns +Return ------- bool + +Description +----------- +Returns Standard_True if Sol is a zero of the function. Tol is the tolerance used in 3d space. ") IsSolution; Standard_Boolean IsSolution(const math_Vector & Sol, const Standard_Real Tol); - /****************** NbEquations ******************/ - /**** md5 signature: 42be0dc2e32c8e563393e8490171707e ****/ + /****** BRepBlend_CurvPointRadInv::NbEquations ******/ + /****** md5 signature: 42be0dc2e32c8e563393e8490171707e ******/ %feature("compactdefaultargs") NbEquations; - %feature("autodoc", "Returns 2. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +returns 2. ") NbEquations; Standard_Integer NbEquations(); - /****************** Set ******************/ - /**** md5 signature: d73c9c4058c0955fc8cd59888660f750 ****/ + /****** BRepBlend_CurvPointRadInv::Set ******/ + /****** md5 signature: d73c9c4058c0955fc8cd59888660f750 ******/ %feature("compactdefaultargs") Set; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Choix: int -Returns +Return ------- None + +Description +----------- +No available documentation. ") Set; void Set(const Standard_Integer Choix); - /****************** Set ******************/ - /**** md5 signature: db883cf63ff497749765a1588d5f0509 ****/ + /****** BRepBlend_CurvPointRadInv::Set ******/ + /****** md5 signature: db883cf63ff497749765a1588d5f0509 ******/ %feature("compactdefaultargs") Set; - %feature("autodoc", "Set the point on which a solution has to be found. - + %feature("autodoc", " Parameters ---------- P: gp_Pnt -Returns +Return ------- None + +Description +----------- +Set the Point on which a solution has to be found. ") Set; void Set(const gp_Pnt & P); - /****************** Value ******************/ - /**** md5 signature: 31f6ba581b8fae503400d98976418349 ****/ + /****** BRepBlend_CurvPointRadInv::Value ******/ + /****** md5 signature: 31f6ba581b8fae503400d98976418349 ******/ %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", " Parameters ---------- X: math_Vector F: math_Vector -Returns +Return ------- bool + +Description +----------- +computes the values of the Functions for the variable . Returns True if the computation was done successfully, False otherwise. ") Value; Standard_Boolean Value(const math_Vector & X, math_Vector & F); - /****************** Values ******************/ - /**** md5 signature: 17c41f2c2b925e9ddfe2f61a9052313c ****/ + /****** BRepBlend_CurvPointRadInv::Values ******/ + /****** md5 signature: 17c41f2c2b925e9ddfe2f61a9052313c ******/ %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", " Parameters ---------- X: math_Vector F: math_Vector D: math_Matrix -Returns +Return ------- bool + +Description +----------- +returns the values of the functions and the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. ") Values; Standard_Boolean Values(const math_Vector & X, math_Vector & F, math_Matrix & D); @@ -1533,22 +1912,23 @@ bool ****************************/ class BRepBlend_Extremity { public: - /****************** BRepBlend_Extremity ******************/ - /**** md5 signature: 2f152b6238552d4eda1d4eae96bb18d4 ****/ + /****** BRepBlend_Extremity::BRepBlend_Extremity ******/ + /****** md5 signature: 2f152b6238552d4eda1d4eae96bb18d4 ******/ %feature("compactdefaultargs") BRepBlend_Extremity; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepBlend_Extremity; BRepBlend_Extremity(); - /****************** BRepBlend_Extremity ******************/ - /**** md5 signature: ee5708baa54062a6870f496f8287be89 ****/ + /****** BRepBlend_Extremity::BRepBlend_Extremity ******/ + /****** md5 signature: ee5708baa54062a6870f496f8287be89 ******/ %feature("compactdefaultargs") BRepBlend_Extremity; - %feature("autodoc", "Creates an extremity on a surface. - + %feature("autodoc", " Parameters ---------- P: gp_Pnt @@ -1557,17 +1937,20 @@ V: float Param: float Tol: float -Returns +Return ------- None + +Description +----------- +Creates an extremity on a surface. ") BRepBlend_Extremity; BRepBlend_Extremity(const gp_Pnt & P, const Standard_Real U, const Standard_Real V, const Standard_Real Param, const Standard_Real Tol); - /****************** BRepBlend_Extremity ******************/ - /**** md5 signature: f530cc4b46ea55af8e69fe6333e2fe76 ****/ + /****** BRepBlend_Extremity::BRepBlend_Extremity ******/ + /****** md5 signature: f530cc4b46ea55af8e69fe6333e2fe76 ******/ %feature("compactdefaultargs") BRepBlend_Extremity; - %feature("autodoc", "Creates an extremity on a surface. this extremity matches the vertex . - + %feature("autodoc", " Parameters ---------- P: gp_Pnt @@ -1577,268 +1960,1255 @@ Param: float Tol: float Vtx: Adaptor3d_HVertex -Returns +Return ------- None + +Description +----------- +Creates an extremity on a surface. This extremity matches the vertex . ") 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 ******************/ - /**** md5 signature: ede94a8bfb71acf447a0bfd63c98b8eb ****/ + /****** BRepBlend_Extremity::BRepBlend_Extremity ******/ + /****** md5 signature: ede94a8bfb71acf447a0bfd63c98b8eb ******/ %feature("compactdefaultargs") BRepBlend_Extremity; - %feature("autodoc", "Creates an extremity on a curve. + %feature("autodoc", " +Parameters +---------- +P: gp_Pnt +W: float +Param: float +Tol: float + +Return +------- +None + +Description +----------- +Creates an extremity on a curve. +") BRepBlend_Extremity; + BRepBlend_Extremity(const gp_Pnt & P, const Standard_Real W, const Standard_Real Param, const Standard_Real Tol); + /****** BRepBlend_Extremity::AddArc ******/ + /****** md5 signature: 1bd1958509e7b4b472a6df84023e3729 ******/ + %feature("compactdefaultargs") AddArc; + %feature("autodoc", " Parameters ---------- +A: Adaptor2d_Curve2d +Param: float +TLine: IntSurf_Transition +TArc: IntSurf_Transition + +Return +------- +None + +Description +----------- +Sets the values of a point which is on the arc A, at parameter Param. +") AddArc; + void AddArc(const opencascade::handle & A, const Standard_Real Param, const IntSurf_Transition & TLine, const IntSurf_Transition & TArc); + + /****** BRepBlend_Extremity::HasTangent ******/ + /****** md5 signature: 8ce1fe7a81869f6f1baf5bc37a4f78bd ******/ + %feature("compactdefaultargs") HasTangent; + %feature("autodoc", "Return +------- +bool + +Description +----------- +Returns True if the Tangent is stored. +") HasTangent; + Standard_Boolean HasTangent(); + + /****** BRepBlend_Extremity::IsVertex ******/ + /****** md5 signature: 7dbb6189450b7f2ae76146c6d5d6e875 ******/ + %feature("compactdefaultargs") IsVertex; + %feature("autodoc", "Return +------- +bool + +Description +----------- +Returns Standard_True when the point coincide with an existing vertex. +") IsVertex; + Standard_Boolean IsVertex(); + + /****** BRepBlend_Extremity::NbPointOnRst ******/ + /****** md5 signature: 6b0e2365804848717d5b6d7f5c1786eb ******/ + %feature("compactdefaultargs") NbPointOnRst; + %feature("autodoc", "Return +------- +int + +Description +----------- +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. +") NbPointOnRst; + Standard_Integer NbPointOnRst(); + + /****** BRepBlend_Extremity::Parameter ******/ + /****** md5 signature: ecccdeaeaa0deed24f47e61ad75d24f1 ******/ + %feature("compactdefaultargs") Parameter; + %feature("autodoc", "Return +------- +float + +Description +----------- +No available documentation. +") Parameter; + Standard_Real Parameter(); + + /****** BRepBlend_Extremity::ParameterOnGuide ******/ + /****** md5 signature: ce20260292837a847e6ed56fcbdde050 ******/ + %feature("compactdefaultargs") ParameterOnGuide; + %feature("autodoc", "Return +------- +float + +Description +----------- +No available documentation. +") ParameterOnGuide; + Standard_Real ParameterOnGuide(); + + /****** BRepBlend_Extremity::Parameters ******/ + /****** md5 signature: 24a2c71191423d4e30ed72f58cb5de87 ******/ + %feature("compactdefaultargs") Parameters; + %feature("autodoc", " +Parameters +---------- + +Return +------- +U: float +V: float + +Description +----------- +This method returns the parameters of the point on the concerned surface. +") Parameters; + void Parameters(Standard_Real &OutValue, Standard_Real &OutValue); + + /****** BRepBlend_Extremity::PointOnRst ******/ + /****** md5 signature: d16a6b22823a7de41836e454c6562498 ******/ + %feature("compactdefaultargs") PointOnRst; + %feature("autodoc", " +Parameters +---------- +Index: int + +Return +------- +BRepBlend_PointOnRst + +Description +----------- +No available documentation. +") PointOnRst; + const BRepBlend_PointOnRst & PointOnRst(const Standard_Integer Index); + + /****** BRepBlend_Extremity::SetTangent ******/ + /****** md5 signature: fe6479f29924454154642419383f0e06 ******/ + %feature("compactdefaultargs") SetTangent; + %feature("autodoc", " +Parameters +---------- +Tangent: gp_Vec + +Return +------- +None + +Description +----------- +Set the tangent vector for an extremity on a surface. +") SetTangent; + void SetTangent(const gp_Vec & Tangent); + + /****** BRepBlend_Extremity::SetValue ******/ + /****** md5 signature: df27ebf7b09becfcab08bed6af474b36 ******/ + %feature("compactdefaultargs") SetValue; + %feature("autodoc", " +Parameters +---------- +P: gp_Pnt +U: float +V: float +Param: float +Tol: float + +Return +------- +None + +Description +----------- +Set the values for an extremity on a surface. +") SetValue; + void SetValue(const gp_Pnt & P, const Standard_Real U, const Standard_Real V, const Standard_Real Param, const Standard_Real Tol); + + /****** BRepBlend_Extremity::SetValue ******/ + /****** md5 signature: 2f52a225a20b1c127cd792dc347f9deb ******/ + %feature("compactdefaultargs") SetValue; + %feature("autodoc", " +Parameters +---------- +P: gp_Pnt +U: float +V: float +Param: float +Tol: float +Vtx: Adaptor3d_HVertex + +Return +------- +None + +Description +----------- +Set the values for an extremity on a surface.This extremity matches the vertex . +") 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); + + /****** BRepBlend_Extremity::SetValue ******/ + /****** md5 signature: 20935a61f170d6589ea40791f00aa5f3 ******/ + %feature("compactdefaultargs") SetValue; + %feature("autodoc", " +Parameters +---------- +P: gp_Pnt +W: float +Param: float +Tol: float + +Return +------- +None + +Description +----------- +Set the values for an extremity on curve. +") SetValue; + void SetValue(const gp_Pnt & P, const Standard_Real W, const Standard_Real Param, const Standard_Real Tol); + + /****** BRepBlend_Extremity::SetVertex ******/ + /****** md5 signature: 1c2d847f9895dadcabe6f5a142550e35 ******/ + %feature("compactdefaultargs") SetVertex; + %feature("autodoc", " +Parameters +---------- +V: Adaptor3d_HVertex + +Return +------- +None + +Description +----------- +Set the values for an extremity on a curve. +") SetVertex; + void SetVertex(const opencascade::handle & V); + + /****** BRepBlend_Extremity::Tangent ******/ + /****** md5 signature: 00df3077d87c39a1282b20005486cd6f ******/ + %feature("compactdefaultargs") Tangent; + %feature("autodoc", "Return +------- +gp_Vec + +Description +----------- +This method returns the value of tangent in 3d space. +") Tangent; + const gp_Vec Tangent(); + + /****** BRepBlend_Extremity::Tolerance ******/ + /****** md5 signature: 9e5775014410d884d1a1adc1cd47930b ******/ + %feature("compactdefaultargs") Tolerance; + %feature("autodoc", "Return +------- +float + +Description +----------- +This method returns the fuzziness on the point in 3d space. +") Tolerance; + Standard_Real Tolerance(); + + /****** BRepBlend_Extremity::Value ******/ + /****** md5 signature: eddd2908948849b73f6d8aacab318652 ******/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "Return +------- +gp_Pnt + +Description +----------- +This method returns the value of the point in 3d space. +") Value; + const gp_Pnt Value(); + + /****** BRepBlend_Extremity::Vertex ******/ + /****** md5 signature: 7213fb18dc3be1f48818ab739bb98dfa ******/ + %feature("compactdefaultargs") Vertex; + %feature("autodoc", "Return +------- +opencascade::handle + +Description +----------- +Returns the vertex when IsVertex returns Standard_True. +") Vertex; + const opencascade::handle & Vertex(); + +}; + + +%extend BRepBlend_Extremity { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/******************************* +* class BRepBlend_HCurve2dTool * +*******************************/ +class BRepBlend_HCurve2dTool { + public: + /****** BRepBlend_HCurve2dTool::BSpline ******/ + /****** md5 signature: 1151b84776305bc0a5c8aaee6f50252d ******/ + %feature("compactdefaultargs") BSpline; + %feature("autodoc", " +Parameters +---------- +C: Adaptor2d_Curve2d + +Return +------- +opencascade::handle + +Description +----------- +No available documentation. +") BSpline; + static opencascade::handle BSpline(const opencascade::handle & C); + + /****** BRepBlend_HCurve2dTool::Bezier ******/ + /****** md5 signature: 55afc4c0fc79e07de6077214558af461 ******/ + %feature("compactdefaultargs") Bezier; + %feature("autodoc", " +Parameters +---------- +C: Adaptor2d_Curve2d + +Return +------- +opencascade::handle + +Description +----------- +No available documentation. +") Bezier; + static opencascade::handle Bezier(const opencascade::handle & C); + + /****** BRepBlend_HCurve2dTool::Circle ******/ + /****** md5 signature: 3e4b216e090c5747e712418f4fa66d2c ******/ + %feature("compactdefaultargs") Circle; + %feature("autodoc", " +Parameters +---------- +C: Adaptor2d_Curve2d + +Return +------- +gp_Circ2d + +Description +----------- +No available documentation. +") Circle; + static gp_Circ2d Circle(const opencascade::handle & C); + + /****** BRepBlend_HCurve2dTool::Continuity ******/ + /****** md5 signature: 93cd5f75c1ce867aba7a7f12421275f0 ******/ + %feature("compactdefaultargs") Continuity; + %feature("autodoc", " +Parameters +---------- +C: Adaptor2d_Curve2d + +Return +------- +GeomAbs_Shape + +Description +----------- +No available documentation. +") Continuity; + static GeomAbs_Shape Continuity(const opencascade::handle & C); + + /****** BRepBlend_HCurve2dTool::D0 ******/ + /****** md5 signature: 54c6bd0c456279db2610c0ff0808eb84 ******/ + %feature("compactdefaultargs") D0; + %feature("autodoc", " +Parameters +---------- +C: Adaptor2d_Curve2d +U: float +P: gp_Pnt2d + +Return +------- +None + +Description +----------- +Computes the point of parameter U on the curve. +") D0; + static void D0(const opencascade::handle & C, const Standard_Real U, gp_Pnt2d & P); + + /****** BRepBlend_HCurve2dTool::D1 ******/ + /****** md5 signature: 918bee38d3c31b02180315ab8bd4beb7 ******/ + %feature("compactdefaultargs") D1; + %feature("autodoc", " +Parameters +---------- +C: Adaptor2d_Curve2d +U: float +P: gp_Pnt2d +V: gp_Vec2d + +Return +------- +None + +Description +----------- +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; + static void D1(const opencascade::handle & C, const Standard_Real U, gp_Pnt2d & P, gp_Vec2d & V); + + /****** BRepBlend_HCurve2dTool::D2 ******/ + /****** md5 signature: d9e326efa98865a213fce49a3626a678 ******/ + %feature("compactdefaultargs") D2; + %feature("autodoc", " +Parameters +---------- +C: Adaptor2d_Curve2d +U: float +P: gp_Pnt2d +V1: gp_Vec2d +V2: gp_Vec2d + +Return +------- +None + +Description +----------- +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; + static void D2(const opencascade::handle & C, const Standard_Real U, gp_Pnt2d & P, gp_Vec2d & V1, gp_Vec2d & V2); + + /****** BRepBlend_HCurve2dTool::D3 ******/ + /****** md5 signature: 4951d7379750f8dbc9e426361fa2b365 ******/ + %feature("compactdefaultargs") D3; + %feature("autodoc", " +Parameters +---------- +C: Adaptor2d_Curve2d +U: float +P: gp_Pnt2d +V1: gp_Vec2d +V2: gp_Vec2d +V3: gp_Vec2d + +Return +------- +None + +Description +----------- +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; + static void D3(const opencascade::handle & C, const Standard_Real U, gp_Pnt2d & P, gp_Vec2d & V1, gp_Vec2d & V2, gp_Vec2d & V3); + + /****** BRepBlend_HCurve2dTool::DN ******/ + /****** md5 signature: edb6f0f7cc5bdd7864a248db788f4d84 ******/ + %feature("compactdefaultargs") DN; + %feature("autodoc", " +Parameters +---------- +C: Adaptor2d_Curve2d +U: float +N: int + +Return +------- +gp_Vec2d + +Description +----------- +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; + static gp_Vec2d DN(const opencascade::handle & C, const Standard_Real U, const Standard_Integer N); + + /****** BRepBlend_HCurve2dTool::Ellipse ******/ + /****** md5 signature: 9ddecf68838c4598b17a43e7ee186e6e ******/ + %feature("compactdefaultargs") Ellipse; + %feature("autodoc", " +Parameters +---------- +C: Adaptor2d_Curve2d + +Return +------- +gp_Elips2d + +Description +----------- +No available documentation. +") Ellipse; + static gp_Elips2d Ellipse(const opencascade::handle & C); + + /****** BRepBlend_HCurve2dTool::FirstParameter ******/ + /****** md5 signature: a4d9a6241f0c3cafc57f60a68d9c9127 ******/ + %feature("compactdefaultargs") FirstParameter; + %feature("autodoc", " +Parameters +---------- +C: Adaptor2d_Curve2d + +Return +------- +float + +Description +----------- +No available documentation. +") FirstParameter; + static Standard_Real FirstParameter(const opencascade::handle & C); + + /****** BRepBlend_HCurve2dTool::GetType ******/ + /****** md5 signature: 29ec5067d7e913f214c553444ec99b6a ******/ + %feature("compactdefaultargs") GetType; + %feature("autodoc", " +Parameters +---------- +C: Adaptor2d_Curve2d + +Return +------- +GeomAbs_CurveType + +Description +----------- +Returns the type of the curve in the current interval: Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve. +") GetType; + static GeomAbs_CurveType GetType(const opencascade::handle & C); + + /****** BRepBlend_HCurve2dTool::Hyperbola ******/ + /****** md5 signature: d710d90c07a9bd6c6e8e1ba3fc1c92bf ******/ + %feature("compactdefaultargs") Hyperbola; + %feature("autodoc", " +Parameters +---------- +C: Adaptor2d_Curve2d + +Return +------- +gp_Hypr2d + +Description +----------- +No available documentation. +") Hyperbola; + static gp_Hypr2d Hyperbola(const opencascade::handle & C); + + /****** BRepBlend_HCurve2dTool::Intervals ******/ + /****** md5 signature: 7f25b6c48f712ccc9ec416d83eb97ef8 ******/ + %feature("compactdefaultargs") Intervals; + %feature("autodoc", " +Parameters +---------- +C: Adaptor2d_Curve2d +T: TColStd_Array1OfReal +S: GeomAbs_Shape + +Return +------- +None + +Description +----------- +Stores in the parameters bounding the intervals of continuity . //! The array must provide enough room to accommodate for the parameters. i.e. T.Length() > NbIntervals(). +") Intervals; + static void Intervals(const opencascade::handle & C, TColStd_Array1OfReal & T, const GeomAbs_Shape S); + + /****** BRepBlend_HCurve2dTool::IsClosed ******/ + /****** md5 signature: e2e4c5d0ae21ac59c815ef761d7e7eb0 ******/ + %feature("compactdefaultargs") IsClosed; + %feature("autodoc", " +Parameters +---------- +C: Adaptor2d_Curve2d + +Return +------- +bool + +Description +----------- +No available documentation. +") IsClosed; + static Standard_Boolean IsClosed(const opencascade::handle & C); + + /****** BRepBlend_HCurve2dTool::IsPeriodic ******/ + /****** md5 signature: 343c2522f84a0271d505fb5a7b6123ee ******/ + %feature("compactdefaultargs") IsPeriodic; + %feature("autodoc", " +Parameters +---------- +C: Adaptor2d_Curve2d + +Return +------- +bool + +Description +----------- +No available documentation. +") IsPeriodic; + static Standard_Boolean IsPeriodic(const opencascade::handle & C); + + /****** BRepBlend_HCurve2dTool::LastParameter ******/ + /****** md5 signature: a84c73d5efee27b935b3bc64eba5e8ab ******/ + %feature("compactdefaultargs") LastParameter; + %feature("autodoc", " +Parameters +---------- +C: Adaptor2d_Curve2d + +Return +------- +float + +Description +----------- +No available documentation. +") LastParameter; + static Standard_Real LastParameter(const opencascade::handle & C); + + /****** BRepBlend_HCurve2dTool::Line ******/ + /****** md5 signature: cc50bf5bbcfff1340d1951ad804f481d ******/ + %feature("compactdefaultargs") Line; + %feature("autodoc", " +Parameters +---------- +C: Adaptor2d_Curve2d + +Return +------- +gp_Lin2d + +Description +----------- +No available documentation. +") Line; + static gp_Lin2d Line(const opencascade::handle & C); + + /****** BRepBlend_HCurve2dTool::NbIntervals ******/ + /****** md5 signature: 296d2d406ae6365ab4187665e47f6beb ******/ + %feature("compactdefaultargs") NbIntervals; + %feature("autodoc", " +Parameters +---------- +C: Adaptor2d_Curve2d +S: GeomAbs_Shape + +Return +------- +int + +Description +----------- +Returns the number of intervals for continuity . May be one if Continuity(myclass) >= . +") NbIntervals; + static Standard_Integer NbIntervals(const opencascade::handle & C, const GeomAbs_Shape S); + + /****** BRepBlend_HCurve2dTool::NbSamples ******/ + /****** md5 signature: 4846c46ec026f7e5cf2080eb1601445a ******/ + %feature("compactdefaultargs") NbSamples; + %feature("autodoc", " +Parameters +---------- +C: Adaptor2d_Curve2d +U0: float +U1: float + +Return +------- +int + +Description +----------- +No available documentation. +") NbSamples; + static Standard_Integer NbSamples(const opencascade::handle & C, const Standard_Real U0, const Standard_Real U1); + + /****** BRepBlend_HCurve2dTool::Parabola ******/ + /****** md5 signature: 638d7ecde6dd9f67180eadf45347f22e ******/ + %feature("compactdefaultargs") Parabola; + %feature("autodoc", " +Parameters +---------- +C: Adaptor2d_Curve2d + +Return +------- +gp_Parab2d + +Description +----------- +No available documentation. +") Parabola; + static gp_Parab2d Parabola(const opencascade::handle & C); + + /****** BRepBlend_HCurve2dTool::Period ******/ + /****** md5 signature: 2a78d8fc20cccabaa0fb7d52397ae7ba ******/ + %feature("compactdefaultargs") Period; + %feature("autodoc", " +Parameters +---------- +C: Adaptor2d_Curve2d + +Return +------- +float + +Description +----------- +No available documentation. +") Period; + static Standard_Real Period(const opencascade::handle & C); + + /****** BRepBlend_HCurve2dTool::Resolution ******/ + /****** md5 signature: 1567f92dacdcdb24e1f4d21710c525e2 ******/ + %feature("compactdefaultargs") Resolution; + %feature("autodoc", " +Parameters +---------- +C: Adaptor2d_Curve2d +R3d: float + +Return +------- +float + +Description +----------- +Returns the parametric resolution corresponding to the real space resolution . +") Resolution; + static Standard_Real Resolution(const opencascade::handle & C, const Standard_Real R3d); + + /****** BRepBlend_HCurve2dTool::Value ******/ + /****** md5 signature: f88e121e984f9cbec46065eb86a1e379 ******/ + %feature("compactdefaultargs") Value; + %feature("autodoc", " +Parameters +---------- +C: Adaptor2d_Curve2d +U: float + +Return +------- +gp_Pnt2d + +Description +----------- +Computes the point of parameter U on the curve. +") Value; + static gp_Pnt2d Value(const opencascade::handle & C, const Standard_Real U); + +}; + + +%extend BRepBlend_HCurve2dTool { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/***************************** +* class BRepBlend_HCurveTool * +*****************************/ +class BRepBlend_HCurveTool { + public: + /****** BRepBlend_HCurveTool::BSpline ******/ + /****** md5 signature: 73295d8773f31004aa0bf55b549ab48f ******/ + %feature("compactdefaultargs") BSpline; + %feature("autodoc", " +Parameters +---------- +C: Adaptor3d_Curve + +Return +------- +opencascade::handle + +Description +----------- +No available documentation. +") BSpline; + static opencascade::handle BSpline(const opencascade::handle & C); + + /****** BRepBlend_HCurveTool::Bezier ******/ + /****** md5 signature: f306f8462315905af8e276236266123d ******/ + %feature("compactdefaultargs") Bezier; + %feature("autodoc", " +Parameters +---------- +C: Adaptor3d_Curve + +Return +------- +opencascade::handle + +Description +----------- +No available documentation. +") Bezier; + static opencascade::handle Bezier(const opencascade::handle & C); + + /****** BRepBlend_HCurveTool::Circle ******/ + /****** md5 signature: 7b6731a5a54fc11dc51059ac04fa7d96 ******/ + %feature("compactdefaultargs") Circle; + %feature("autodoc", " +Parameters +---------- +C: Adaptor3d_Curve + +Return +------- +gp_Circ + +Description +----------- +No available documentation. +") Circle; + static gp_Circ Circle(const opencascade::handle & C); + + /****** BRepBlend_HCurveTool::Continuity ******/ + /****** md5 signature: 36a22861c63402bce70a44cade7cd4e2 ******/ + %feature("compactdefaultargs") Continuity; + %feature("autodoc", " +Parameters +---------- +C: Adaptor3d_Curve + +Return +------- +GeomAbs_Shape + +Description +----------- +No available documentation. +") Continuity; + static GeomAbs_Shape Continuity(const opencascade::handle & C); + + /****** BRepBlend_HCurveTool::D0 ******/ + /****** md5 signature: 8132d18251425c9a08facd1890d4dc14 ******/ + %feature("compactdefaultargs") D0; + %feature("autodoc", " +Parameters +---------- +C: Adaptor3d_Curve +U: float +P: gp_Pnt + +Return +------- +None + +Description +----------- +Computes the point of parameter U on the curve. +") D0; + static void D0(const opencascade::handle & C, const Standard_Real U, gp_Pnt & P); + + /****** BRepBlend_HCurveTool::D1 ******/ + /****** md5 signature: e2eff93238cd61643a22155760ca87e7 ******/ + %feature("compactdefaultargs") D1; + %feature("autodoc", " +Parameters +---------- +C: Adaptor3d_Curve +U: float +P: gp_Pnt +V: gp_Vec + +Return +------- +None + +Description +----------- +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; + static void D1(const opencascade::handle & C, const Standard_Real U, gp_Pnt & P, gp_Vec & V); + + /****** BRepBlend_HCurveTool::D2 ******/ + /****** md5 signature: a03fec54dc9fb384b49128be1eeb6ab5 ******/ + %feature("compactdefaultargs") D2; + %feature("autodoc", " +Parameters +---------- +C: Adaptor3d_Curve +U: float +P: gp_Pnt +V1: gp_Vec +V2: gp_Vec + +Return +------- +None + +Description +----------- +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; + static void D2(const opencascade::handle & C, const Standard_Real U, gp_Pnt & P, gp_Vec & V1, gp_Vec & V2); + + /****** BRepBlend_HCurveTool::D3 ******/ + /****** md5 signature: daf7fd27ce53952002a95005add4c7db ******/ + %feature("compactdefaultargs") D3; + %feature("autodoc", " +Parameters +---------- +C: Adaptor3d_Curve +U: float P: gp_Pnt -W: float -Param: float -Tol: float +V1: gp_Vec +V2: gp_Vec +V3: gp_Vec -Returns +Return ------- None -") BRepBlend_Extremity; - BRepBlend_Extremity(const gp_Pnt & P, const Standard_Real W, const Standard_Real Param, const Standard_Real Tol); - /****************** AddArc ******************/ - /**** md5 signature: 76f766390f6d0b768f744948ab0c4ddb ****/ - %feature("compactdefaultargs") AddArc; - %feature("autodoc", "Sets the values of a point which is on the arc a, at parameter param. +Description +----------- +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; + static void D3(const opencascade::handle & C, const Standard_Real U, gp_Pnt & P, gp_Vec & V1, gp_Vec & V2, gp_Vec & V3); + /****** BRepBlend_HCurveTool::DN ******/ + /****** md5 signature: 19abd9a6442d6a3469d8f9590507387e ******/ + %feature("compactdefaultargs") DN; + %feature("autodoc", " Parameters ---------- -A: Adaptor2d_HCurve2d -Param: float -TLine: IntSurf_Transition -TArc: IntSurf_Transition +C: Adaptor3d_Curve +U: float +N: int -Returns +Return ------- -None -") AddArc; - void AddArc(const opencascade::handle & A, const Standard_Real Param, const IntSurf_Transition & TLine, const IntSurf_Transition & TArc); +gp_Vec - /****************** HasTangent ******************/ - /**** md5 signature: 8ce1fe7a81869f6f1baf5bc37a4f78bd ****/ - %feature("compactdefaultargs") HasTangent; - %feature("autodoc", "Returns true if the tangent is stored. +Description +----------- +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; + static gp_Vec DN(const opencascade::handle & C, const Standard_Real U, const Standard_Integer N); + + /****** BRepBlend_HCurveTool::Ellipse ******/ + /****** md5 signature: c32c615877d264a7d9a959c38c10dac5 ******/ + %feature("compactdefaultargs") Ellipse; + %feature("autodoc", " +Parameters +---------- +C: Adaptor3d_Curve -Returns +Return ------- -bool -") HasTangent; - Standard_Boolean HasTangent(); +gp_Elips - /****************** IsVertex ******************/ - /**** md5 signature: 7dbb6189450b7f2ae76146c6d5d6e875 ****/ - %feature("compactdefaultargs") IsVertex; - %feature("autodoc", "Returns standard_true when the point coincide with an existing vertex. +Description +----------- +No available documentation. +") Ellipse; + static gp_Elips Ellipse(const opencascade::handle & C); + + /****** BRepBlend_HCurveTool::FirstParameter ******/ + /****** md5 signature: 25c42492a02c6ff0b57c4cf91fb40f86 ******/ + %feature("compactdefaultargs") FirstParameter; + %feature("autodoc", " +Parameters +---------- +C: Adaptor3d_Curve -Returns +Return ------- -bool -") IsVertex; - Standard_Boolean IsVertex(); +float - /****************** NbPointOnRst ******************/ - /**** md5 signature: 6b0e2365804848717d5b6d7f5c1786eb ****/ - %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. +Description +----------- +No available documentation. +") FirstParameter; + static Standard_Real FirstParameter(const opencascade::handle & C); + + /****** BRepBlend_HCurveTool::GetType ******/ + /****** md5 signature: a686bd836352e7b0b82151881246c5a7 ******/ + %feature("compactdefaultargs") GetType; + %feature("autodoc", " +Parameters +---------- +C: Adaptor3d_Curve -Returns +Return ------- -int -") NbPointOnRst; - Standard_Integer NbPointOnRst(); +GeomAbs_CurveType - /****************** Parameter ******************/ - /**** md5 signature: ecccdeaeaa0deed24f47e61ad75d24f1 ****/ - %feature("compactdefaultargs") Parameter; - %feature("autodoc", "No available documentation. +Description +----------- +Returns the type of the curve in the current interval: Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve. +") GetType; + static GeomAbs_CurveType GetType(const opencascade::handle & C); -Returns + /****** BRepBlend_HCurveTool::Hyperbola ******/ + /****** md5 signature: d833c49b900f354e019cfd82c1b21d0e ******/ + %feature("compactdefaultargs") Hyperbola; + %feature("autodoc", " +Parameters +---------- +C: Adaptor3d_Curve + +Return ------- -float -") Parameter; - Standard_Real Parameter(); +gp_Hypr - /****************** ParameterOnGuide ******************/ - /**** md5 signature: ce20260292837a847e6ed56fcbdde050 ****/ - %feature("compactdefaultargs") ParameterOnGuide; - %feature("autodoc", "No available documentation. +Description +----------- +No available documentation. +") Hyperbola; + static gp_Hypr Hyperbola(const opencascade::handle & C); + + /****** BRepBlend_HCurveTool::Intervals ******/ + /****** md5 signature: ba9ef7becad6f3e6ee434061971db40d ******/ + %feature("compactdefaultargs") Intervals; + %feature("autodoc", " +Parameters +---------- +C: Adaptor3d_Curve +T: TColStd_Array1OfReal +S: GeomAbs_Shape -Returns +Return ------- -float -") ParameterOnGuide; - Standard_Real ParameterOnGuide(); +None - /****************** Parameters ******************/ - /**** md5 signature: 24a2c71191423d4e30ed72f58cb5de87 ****/ - %feature("compactdefaultargs") Parameters; - %feature("autodoc", "This method returns the parameters of the point on the concerned surface. +Description +----------- +Stores in the parameters bounding the intervals of continuity . //! The array must provide enough room to accommodate for the parameters. i.e. T.Length() > NbIntervals(). +") Intervals; + static void Intervals(const opencascade::handle & C, TColStd_Array1OfReal & T, const GeomAbs_Shape S); + /****** BRepBlend_HCurveTool::IsClosed ******/ + /****** md5 signature: 178cf2cfae4002c04a5499797f8bd656 ******/ + %feature("compactdefaultargs") IsClosed; + %feature("autodoc", " Parameters ---------- +C: Adaptor3d_Curve -Returns +Return ------- -U: float -V: float -") Parameters; - void Parameters(Standard_Real &OutValue, Standard_Real &OutValue); +bool - /****************** PointOnRst ******************/ - /**** md5 signature: d16a6b22823a7de41836e454c6562498 ****/ - %feature("compactdefaultargs") PointOnRst; - %feature("autodoc", "No available documentation. +Description +----------- +No available documentation. +") IsClosed; + static Standard_Boolean IsClosed(const opencascade::handle & C); + /****** BRepBlend_HCurveTool::IsPeriodic ******/ + /****** md5 signature: d48777dd4aacf834a3350873acc52ff6 ******/ + %feature("compactdefaultargs") IsPeriodic; + %feature("autodoc", " Parameters ---------- -Index: int +C: Adaptor3d_Curve -Returns +Return ------- -BRepBlend_PointOnRst -") PointOnRst; - const BRepBlend_PointOnRst & PointOnRst(const Standard_Integer Index); +bool - /****************** SetTangent ******************/ - /**** md5 signature: fe6479f29924454154642419383f0e06 ****/ - %feature("compactdefaultargs") SetTangent; - %feature("autodoc", "Set the tangent vector for an extremity on a surface. +Description +----------- +No available documentation. +") IsPeriodic; + static Standard_Boolean IsPeriodic(const opencascade::handle & C); + /****** BRepBlend_HCurveTool::LastParameter ******/ + /****** md5 signature: c00409255c9efae31d007ea0f35327b6 ******/ + %feature("compactdefaultargs") LastParameter; + %feature("autodoc", " Parameters ---------- -Tangent: gp_Vec +C: Adaptor3d_Curve -Returns +Return ------- -None -") SetTangent; - void SetTangent(const gp_Vec & Tangent); +float - /****************** SetValue ******************/ - /**** md5 signature: df27ebf7b09becfcab08bed6af474b36 ****/ - %feature("compactdefaultargs") SetValue; - %feature("autodoc", "Set the values for an extremity on a surface. +Description +----------- +No available documentation. +") LastParameter; + static Standard_Real LastParameter(const opencascade::handle & C); + /****** BRepBlend_HCurveTool::Line ******/ + /****** md5 signature: 5d669526ea2c83636bcd5abea25c7993 ******/ + %feature("compactdefaultargs") Line; + %feature("autodoc", " Parameters ---------- -P: gp_Pnt -U: float -V: float -Param: float -Tol: float +C: Adaptor3d_Curve -Returns +Return ------- -None -") SetValue; - void SetValue(const gp_Pnt & P, const Standard_Real U, const Standard_Real V, const Standard_Real Param, const Standard_Real Tol); +gp_Lin - /****************** SetValue ******************/ - /**** md5 signature: 2f52a225a20b1c127cd792dc347f9deb ****/ - %feature("compactdefaultargs") SetValue; - %feature("autodoc", "Set the values for an extremity on a surface.this extremity matches the vertex . +Description +----------- +No available documentation. +") Line; + static gp_Lin Line(const opencascade::handle & C); + /****** BRepBlend_HCurveTool::NbIntervals ******/ + /****** md5 signature: 14a07173bd3c33d26deeb9707ee34cb3 ******/ + %feature("compactdefaultargs") NbIntervals; + %feature("autodoc", " Parameters ---------- -P: gp_Pnt -U: float -V: float -Param: float -Tol: float -Vtx: Adaptor3d_HVertex +C: Adaptor3d_Curve +S: GeomAbs_Shape -Returns +Return ------- -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); +int - /****************** SetValue ******************/ - /**** md5 signature: 20935a61f170d6589ea40791f00aa5f3 ****/ - %feature("compactdefaultargs") SetValue; - %feature("autodoc", "Set the values for an extremity on curve. +Description +----------- +Returns the number of intervals for continuity . May be one if Continuity(myclass) >= . +") NbIntervals; + static Standard_Integer NbIntervals(const opencascade::handle & C, const GeomAbs_Shape S); + /****** BRepBlend_HCurveTool::NbSamples ******/ + /****** md5 signature: b050222a5e2dbdd07a79f2aec3a93db5 ******/ + %feature("compactdefaultargs") NbSamples; + %feature("autodoc", " Parameters ---------- -P: gp_Pnt -W: float -Param: float -Tol: float +C: Adaptor3d_Curve +U0: float +U1: float -Returns +Return ------- -None -") SetValue; - void SetValue(const gp_Pnt & P, const Standard_Real W, const Standard_Real Param, const Standard_Real Tol); +int - /****************** SetVertex ******************/ - /**** md5 signature: 1c2d847f9895dadcabe6f5a142550e35 ****/ - %feature("compactdefaultargs") SetVertex; - %feature("autodoc", "Set the values for an extremity on a curve. +Description +----------- +No available documentation. +") NbSamples; + static Standard_Integer NbSamples(const opencascade::handle & C, const Standard_Real U0, const Standard_Real U1); + /****** BRepBlend_HCurveTool::Parabola ******/ + /****** md5 signature: cc30b6b7d2e5eb272de9d92bc65e5ba5 ******/ + %feature("compactdefaultargs") Parabola; + %feature("autodoc", " Parameters ---------- -V: Adaptor3d_HVertex +C: Adaptor3d_Curve -Returns +Return ------- -None -") SetVertex; - void SetVertex(const opencascade::handle & V); +gp_Parab - /****************** Tangent ******************/ - /**** md5 signature: 00df3077d87c39a1282b20005486cd6f ****/ - %feature("compactdefaultargs") Tangent; - %feature("autodoc", "This method returns the value of tangent in 3d space. +Description +----------- +No available documentation. +") Parabola; + static gp_Parab Parabola(const opencascade::handle & C); -Returns + /****** BRepBlend_HCurveTool::Period ******/ + /****** md5 signature: f7986452fbb7b824f9223306a3748bb0 ******/ + %feature("compactdefaultargs") Period; + %feature("autodoc", " +Parameters +---------- +C: Adaptor3d_Curve + +Return ------- -gp_Vec -") Tangent; - const gp_Vec Tangent(); +float - /****************** Tolerance ******************/ - /**** md5 signature: 9e5775014410d884d1a1adc1cd47930b ****/ - %feature("compactdefaultargs") Tolerance; - %feature("autodoc", "This method returns the fuzziness on the point in 3d space. +Description +----------- +No available documentation. +") Period; + static Standard_Real Period(const opencascade::handle & C); -Returns + /****** BRepBlend_HCurveTool::Resolution ******/ + /****** md5 signature: 5b1954ce6b6bbeec3732ad23161bfe7f ******/ + %feature("compactdefaultargs") Resolution; + %feature("autodoc", " +Parameters +---------- +C: Adaptor3d_Curve +R3d: float + +Return ------- float -") Tolerance; - Standard_Real Tolerance(); - /****************** Value ******************/ - /**** md5 signature: eddd2908948849b73f6d8aacab318652 ****/ +Description +----------- +Returns the parametric resolution corresponding to the real space resolution . +") Resolution; + static Standard_Real Resolution(const opencascade::handle & C, const Standard_Real R3d); + + /****** BRepBlend_HCurveTool::Value ******/ + /****** md5 signature: 2a733041fbe29fa56e33746589b73c76 ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "This method returns the value of the point in 3d space. + %feature("autodoc", " +Parameters +---------- +C: Adaptor3d_Curve +U: float -Returns +Return ------- gp_Pnt -") Value; - const gp_Pnt Value(); - - /****************** Vertex ******************/ - /**** md5 signature: 7213fb18dc3be1f48818ab739bb98dfa ****/ - %feature("compactdefaultargs") Vertex; - %feature("autodoc", "Returns the vertex when isvertex returns standard_true. -Returns -------- -opencascade::handle -") Vertex; - const opencascade::handle & Vertex(); +Description +----------- +Computes the point of parameter U on the curve. +") Value; + static gp_Pnt Value(const opencascade::handle & C, const Standard_Real U); }; -%extend BRepBlend_Extremity { +%extend BRepBlend_HCurveTool { %pythoncode { __repr__ = _dumps_object } @@ -1849,253 +3219,300 @@ opencascade::handle ***********************/ class BRepBlend_Line : public Standard_Transient { public: - /****************** BRepBlend_Line ******************/ - /**** md5 signature: 57590f6f2b26126cc4d3122e12289624 ****/ + /****** BRepBlend_Line::BRepBlend_Line ******/ + /****** md5 signature: 57590f6f2b26126cc4d3122e12289624 ******/ %feature("compactdefaultargs") BRepBlend_Line; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepBlend_Line; BRepBlend_Line(); - /****************** Append ******************/ - /**** md5 signature: 112809d39d79c49d6bb13a4922e5b5f5 ****/ + /****** BRepBlend_Line::Append ******/ + /****** md5 signature: 112809d39d79c49d6bb13a4922e5b5f5 ******/ %feature("compactdefaultargs") Append; - %feature("autodoc", "Adds a point in the line. - + %feature("autodoc", " Parameters ---------- P: Blend_Point -Returns +Return ------- None + +Description +----------- +Adds a point in the line. ") Append; void Append(const Blend_Point & P); - /****************** Clear ******************/ - /**** md5 signature: ae54be580b423a6eadbe062e0bdb44c2 ****/ + /****** BRepBlend_Line::Clear ******/ + /****** md5 signature: ae54be580b423a6eadbe062e0bdb44c2 ******/ %feature("compactdefaultargs") Clear; - %feature("autodoc", "Clears the content of the line. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Clears the content of the line. ") Clear; void Clear(); - /****************** EndPointOnFirst ******************/ - /**** md5 signature: c529fd184b9e50e1b6ee45bff61b3c9b ****/ + /****** BRepBlend_Line::EndPointOnFirst ******/ + /****** md5 signature: c529fd184b9e50e1b6ee45bff61b3c9b ******/ %feature("compactdefaultargs") EndPointOnFirst; - %feature("autodoc", "Returns the end point on s1. - -Returns + %feature("autodoc", "Return ------- BRepBlend_Extremity + +Description +----------- +Returns the end point on S1. ") EndPointOnFirst; const BRepBlend_Extremity & EndPointOnFirst(); - /****************** EndPointOnSecond ******************/ - /**** md5 signature: f1a00edceae5b932c1068ab023d5ec57 ****/ + /****** BRepBlend_Line::EndPointOnSecond ******/ + /****** md5 signature: f1a00edceae5b932c1068ab023d5ec57 ******/ %feature("compactdefaultargs") EndPointOnSecond; - %feature("autodoc", "Returns the point on s2. - -Returns + %feature("autodoc", "Return ------- BRepBlend_Extremity + +Description +----------- +Returns the point on S2. ") EndPointOnSecond; const BRepBlend_Extremity & EndPointOnSecond(); - /****************** InsertBefore ******************/ - /**** md5 signature: d3fd33dd9ac7a98f0ee2bf360431c1c4 ****/ + /****** BRepBlend_Line::InsertBefore ******/ + /****** md5 signature: d3fd33dd9ac7a98f0ee2bf360431c1c4 ******/ %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", "Adds a point in the line at the first place. - + %feature("autodoc", " Parameters ---------- Index: int P: Blend_Point -Returns +Return ------- None + +Description +----------- +Adds a point in the line at the first place. ") InsertBefore; void InsertBefore(const Standard_Integer Index, const Blend_Point & P); - /****************** NbPoints ******************/ - /**** md5 signature: 1d4bbbd7c4dda4f1e56c00ae994bedbe ****/ + /****** BRepBlend_Line::NbPoints ******/ + /****** md5 signature: 1d4bbbd7c4dda4f1e56c00ae994bedbe ******/ %feature("compactdefaultargs") NbPoints; - %feature("autodoc", "Returns the number of points in the line. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns the number of points in the line. ") NbPoints; Standard_Integer NbPoints(); - /****************** Point ******************/ - /**** md5 signature: f9ecb741c9f8196ebb5c0c795ecf9f95 ****/ + /****** BRepBlend_Line::Point ******/ + /****** md5 signature: f9ecb741c9f8196ebb5c0c795ecf9f95 ******/ %feature("compactdefaultargs") Point; - %feature("autodoc", "Returns the point of range index. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- Blend_Point + +Description +----------- +Returns the point of range Index. ") Point; const Blend_Point & Point(const Standard_Integer Index); - /****************** Prepend ******************/ - /**** md5 signature: 8ea9df6ce05089f4fae42845b69291ef ****/ + /****** BRepBlend_Line::Prepend ******/ + /****** md5 signature: 8ea9df6ce05089f4fae42845b69291ef ******/ %feature("compactdefaultargs") Prepend; - %feature("autodoc", "Adds a point in the line at the first place. - + %feature("autodoc", " Parameters ---------- P: Blend_Point -Returns +Return ------- None + +Description +----------- +Adds a point in the line at the first place. ") Prepend; void Prepend(const Blend_Point & P); - /****************** Remove ******************/ - /**** md5 signature: af46d5b5d8f27ae951629b321df10b36 ****/ + /****** BRepBlend_Line::Remove ******/ + /****** md5 signature: af46d5b5d8f27ae951629b321df10b36 ******/ %feature("compactdefaultargs") Remove; - %feature("autodoc", "Removes from all the items of positions between and . raises an exception if the indices are out of bounds. - + %feature("autodoc", " Parameters ---------- FromIndex: int ToIndex: int -Returns +Return ------- None + +Description +----------- +Removes from all the items of positions between and . Raises an exception if the indices are out of bounds. ") Remove; void Remove(const Standard_Integer FromIndex, const Standard_Integer ToIndex); - /****************** Set ******************/ - /**** md5 signature: 467e8a8ca95b56d13e0b5d0ef5daa15d ****/ + /****** BRepBlend_Line::Set ******/ + /****** md5 signature: 467e8a8ca95b56d13e0b5d0ef5daa15d ******/ %feature("compactdefaultargs") Set; - %feature("autodoc", "Sets the value of the transition of the line on s1 and the line on s2. - + %feature("autodoc", " Parameters ---------- TranS1: IntSurf_TypeTrans TranS2: IntSurf_TypeTrans -Returns +Return ------- None + +Description +----------- +Sets the value of the transition of the line on S1 and the line on S2. ") Set; void Set(const IntSurf_TypeTrans TranS1, const IntSurf_TypeTrans TranS2); - /****************** Set ******************/ - /**** md5 signature: 02e3bdb87daf70bb37bf9aaefbeafc93 ****/ + /****** BRepBlend_Line::Set ******/ + /****** md5 signature: 02e3bdb87daf70bb37bf9aaefbeafc93 ******/ %feature("compactdefaultargs") Set; - %feature("autodoc", "Sets the value of the transition of the line on a surface. - + %feature("autodoc", " Parameters ---------- Trans: IntSurf_TypeTrans -Returns +Return ------- None + +Description +----------- +Sets the value of the transition of the line on a surface. ") Set; void Set(const IntSurf_TypeTrans Trans); - /****************** SetEndPoints ******************/ - /**** md5 signature: 65a8d0dfaf022584d756eabf06874704 ****/ + /****** BRepBlend_Line::SetEndPoints ******/ + /****** md5 signature: 65a8d0dfaf022584d756eabf06874704 ******/ %feature("compactdefaultargs") SetEndPoints; - %feature("autodoc", "Sets tne values of the end points for the line. - + %feature("autodoc", " Parameters ---------- EndPt1: BRepBlend_Extremity EndPt2: BRepBlend_Extremity -Returns +Return ------- None + +Description +----------- +Sets tne values of the end points for the line. ") SetEndPoints; void SetEndPoints(const BRepBlend_Extremity & EndPt1, const BRepBlend_Extremity & EndPt2); - /****************** SetStartPoints ******************/ - /**** md5 signature: 855f4d4c44344953d7a9de9123e71157 ****/ + /****** BRepBlend_Line::SetStartPoints ******/ + /****** md5 signature: 855f4d4c44344953d7a9de9123e71157 ******/ %feature("compactdefaultargs") SetStartPoints; - %feature("autodoc", "Sets the values of the start points for the line. - + %feature("autodoc", " Parameters ---------- StartPt1: BRepBlend_Extremity StartPt2: BRepBlend_Extremity -Returns +Return ------- None + +Description +----------- +Sets the values of the start points for the line. ") SetStartPoints; void SetStartPoints(const BRepBlend_Extremity & StartPt1, const BRepBlend_Extremity & StartPt2); - /****************** StartPointOnFirst ******************/ - /**** md5 signature: eb6cbb694252afa50c3045ff6839418c ****/ + /****** BRepBlend_Line::StartPointOnFirst ******/ + /****** md5 signature: eb6cbb694252afa50c3045ff6839418c ******/ %feature("compactdefaultargs") StartPointOnFirst; - %feature("autodoc", "Returns the start point on s1. - -Returns + %feature("autodoc", "Return ------- BRepBlend_Extremity + +Description +----------- +Returns the start point on S1. ") StartPointOnFirst; const BRepBlend_Extremity & StartPointOnFirst(); - /****************** StartPointOnSecond ******************/ - /**** md5 signature: 152e6eaee5b76910bd5605ccb0d2a63a ****/ + /****** BRepBlend_Line::StartPointOnSecond ******/ + /****** md5 signature: 152e6eaee5b76910bd5605ccb0d2a63a ******/ %feature("compactdefaultargs") StartPointOnSecond; - %feature("autodoc", "Returns the start point on s2. - -Returns + %feature("autodoc", "Return ------- BRepBlend_Extremity + +Description +----------- +Returns the start point on S2. ") StartPointOnSecond; const BRepBlend_Extremity & StartPointOnSecond(); - /****************** TransitionOnS ******************/ - /**** md5 signature: ac2f27afdd16ab93ea1f959cb2bf6e33 ****/ + /****** BRepBlend_Line::TransitionOnS ******/ + /****** md5 signature: ac2f27afdd16ab93ea1f959cb2bf6e33 ******/ %feature("compactdefaultargs") TransitionOnS; - %feature("autodoc", "Returns the type of the transition of the line defined on the surface. - -Returns + %feature("autodoc", "Return ------- IntSurf_TypeTrans + +Description +----------- +Returns the type of the transition of the line defined on the surface. ") TransitionOnS; IntSurf_TypeTrans TransitionOnS(); - /****************** TransitionOnS1 ******************/ - /**** md5 signature: 9de184f3b47c2902be7de5eb10743898 ****/ + /****** BRepBlend_Line::TransitionOnS1 ******/ + /****** md5 signature: 9de184f3b47c2902be7de5eb10743898 ******/ %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. - -Returns + %feature("autodoc", "Return ------- IntSurf_TypeTrans + +Description +----------- +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. ") TransitionOnS1; IntSurf_TypeTrans TransitionOnS1(); - /****************** TransitionOnS2 ******************/ - /**** md5 signature: aafa064949332278d0d49be3da4c6df2 ****/ + /****** BRepBlend_Line::TransitionOnS2 ******/ + /****** md5 signature: aafa064949332278d0d49be3da4c6df2 ******/ %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. - -Returns + %feature("autodoc", "Return ------- IntSurf_TypeTrans + +Description +----------- +Returns the type of the transition of the line defined on the second surface. The transition is 'constant' along the line. ") TransitionOnS2; IntSurf_TypeTrans TransitionOnS2(); @@ -2115,94 +3532,110 @@ IntSurf_TypeTrans *****************************/ class BRepBlend_PointOnRst { public: - /****************** BRepBlend_PointOnRst ******************/ - /**** md5 signature: 090e4894ad074e2741323f5dc694aebc ****/ + /****** BRepBlend_PointOnRst::BRepBlend_PointOnRst ******/ + /****** md5 signature: 090e4894ad074e2741323f5dc694aebc ******/ %feature("compactdefaultargs") BRepBlend_PointOnRst; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BRepBlend_PointOnRst; BRepBlend_PointOnRst(); - /****************** BRepBlend_PointOnRst ******************/ - /**** md5 signature: 1f640570b26a68373b999a68490ca37f ****/ + /****** BRepBlend_PointOnRst::BRepBlend_PointOnRst ******/ + /****** md5 signature: 8111ef27057565050ebf55e9c0cf6987 ******/ %feature("compactdefaultargs") BRepBlend_PointOnRst; - %feature("autodoc", "Creates the pointonrst on the arc a, at parameter param, with the transition tline on the walking line, and tarc on the arc a. - + %feature("autodoc", " Parameters ---------- -A: Adaptor2d_HCurve2d +A: Adaptor2d_Curve2d Param: float TLine: IntSurf_Transition TArc: IntSurf_Transition -Returns +Return ------- None + +Description +----------- +Creates the PointOnRst on the arc A, at parameter Param, with the transition TLine on the walking line, and TArc on the arc A. ") BRepBlend_PointOnRst; - BRepBlend_PointOnRst(const opencascade::handle & A, const Standard_Real Param, const IntSurf_Transition & TLine, const IntSurf_Transition & TArc); + BRepBlend_PointOnRst(const opencascade::handle & A, const Standard_Real Param, const IntSurf_Transition & TLine, const IntSurf_Transition & TArc); - /****************** Arc ******************/ - /**** md5 signature: b2e2a2b000ebbda9cef9186aeead5385 ****/ + /****** BRepBlend_PointOnRst::Arc ******/ + /****** md5 signature: de8e47510fc50811ee5a3e0bc98029e6 ******/ %feature("compactdefaultargs") Arc; - %feature("autodoc", "Returns the arc of restriction containing the vertex. - -Returns + %feature("autodoc", "Return ------- -opencascade::handle +opencascade::handle + +Description +----------- +Returns the arc of restriction containing the vertex. ") Arc; - const opencascade::handle & Arc(); + const opencascade::handle & Arc(); - /****************** ParameterOnArc ******************/ - /**** md5 signature: 53d2051734836b1f3c7d9edd7c3c1884 ****/ + /****** BRepBlend_PointOnRst::ParameterOnArc ******/ + /****** md5 signature: 53d2051734836b1f3c7d9edd7c3c1884 ******/ %feature("compactdefaultargs") ParameterOnArc; - %feature("autodoc", "Returns the parameter of the point on the arc returned by the method arc(). - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the parameter of the point on the arc returned by the method Arc(). ") ParameterOnArc; Standard_Real ParameterOnArc(); - /****************** SetArc ******************/ - /**** md5 signature: ef419e28df8105759150b9a6c4afee00 ****/ + /****** BRepBlend_PointOnRst::SetArc ******/ + /****** md5 signature: ceabf78102f113c25de4b4f678682f05 ******/ %feature("compactdefaultargs") SetArc; - %feature("autodoc", "Sets the values of a point which is on the arc a, at parameter param. - + %feature("autodoc", " Parameters ---------- -A: Adaptor2d_HCurve2d +A: Adaptor2d_Curve2d Param: float TLine: IntSurf_Transition TArc: IntSurf_Transition -Returns +Return ------- None + +Description +----------- +Sets the values of a point which is on the arc A, at parameter Param. ") SetArc; - void SetArc(const opencascade::handle & A, const Standard_Real Param, const IntSurf_Transition & TLine, const IntSurf_Transition & TArc); + void SetArc(const opencascade::handle & A, const Standard_Real Param, const IntSurf_Transition & TLine, const IntSurf_Transition & TArc); - /****************** TransitionOnArc ******************/ - /**** md5 signature: adc9ee508ec8cbe59ce8b05248cd454a ****/ + /****** BRepBlend_PointOnRst::TransitionOnArc ******/ + /****** md5 signature: adc9ee508ec8cbe59ce8b05248cd454a ******/ %feature("compactdefaultargs") TransitionOnArc; - %feature("autodoc", "Returns the transition of the point on the arc returned by arc(). - -Returns + %feature("autodoc", "Return ------- IntSurf_Transition + +Description +----------- +Returns the transition of the point on the arc returned by Arc(). ") TransitionOnArc; const IntSurf_Transition & TransitionOnArc(); - /****************** TransitionOnLine ******************/ - /**** md5 signature: 1ffbcf064eb110daaac7ceebff0fcde5 ****/ + /****** BRepBlend_PointOnRst::TransitionOnLine ******/ + /****** md5 signature: 1ffbcf064eb110daaac7ceebff0fcde5 ******/ %feature("compactdefaultargs") TransitionOnLine; - %feature("autodoc", "Returns the transition of the point on the line on surface. - -Returns + %feature("autodoc", "Return ------- IntSurf_Transition + +Description +----------- +Returns the transition of the point on the line on surface. ") TransitionOnLine; const IntSurf_Transition & TransitionOnLine(); @@ -2220,30 +3653,32 @@ IntSurf_Transition *********************************/ class BRepBlend_RstRstConstRad : public Blend_RstRstFunction { public: - /****************** BRepBlend_RstRstConstRad ******************/ - /**** md5 signature: 1b83fa703abda9bd2fe3a9caa52745e6 ****/ + /****** BRepBlend_RstRstConstRad::BRepBlend_RstRstConstRad ******/ + /****** md5 signature: 074ead157514803251d86880fa21933a ******/ %feature("compactdefaultargs") BRepBlend_RstRstConstRad; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Surf1: Adaptor3d_HSurface -Rst1: Adaptor2d_HCurve2d -Surf2: Adaptor3d_HSurface -Rst2: Adaptor2d_HCurve2d -CGuide: Adaptor3d_HCurve +Surf1: Adaptor3d_Surface +Rst1: Adaptor2d_Curve2d +Surf2: Adaptor3d_Surface +Rst2: Adaptor2d_Curve2d +CGuide: Adaptor3d_Curve -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBlend_RstRstConstRad; - BRepBlend_RstRstConstRad(const opencascade::handle & Surf1, const opencascade::handle & Rst1, const opencascade::handle & Surf2, const opencascade::handle & Rst2, const opencascade::handle & CGuide); + BRepBlend_RstRstConstRad(const opencascade::handle & Surf1, const opencascade::handle & Rst1, const opencascade::handle & Surf2, const opencascade::handle & Rst2, const opencascade::handle & CGuide); - /****************** CenterCircleRst1Rst2 ******************/ - /**** md5 signature: 78a3b5ae21381e7c60ec45458e50cd49 ****/ + /****** BRepBlend_RstRstConstRad::CenterCircleRst1Rst2 ******/ + /****** md5 signature: 78a3b5ae21381e7c60ec45458e50cd49 ******/ %feature("compactdefaultargs") CenterCircleRst1Rst2; - %feature("autodoc", "Give the center of circle define by ptrst1, ptrst2 and radius ray. - + %feature("autodoc", " Parameters ---------- PtRst1: gp_Pnt @@ -2252,17 +3687,20 @@ np: gp_Vec Center: gp_Pnt VdMed: gp_Vec -Returns +Return ------- bool + +Description +----------- +Give the center of circle define by PtRst1, PtRst2 and radius ray. ") CenterCircleRst1Rst2; Standard_Boolean CenterCircleRst1Rst2(const gp_Pnt & PtRst1, const gp_Pnt & PtRst2, const gp_Vec & np, gp_Pnt & Center, gp_Vec & VdMed); - /****************** Decroch ******************/ - /**** md5 signature: 4fb28916dc7b56fca32714bd732ca6a6 ****/ + /****** BRepBlend_RstRstConstRad::Decroch ******/ + /****** md5 signature: 4fb28916dc7b56fca32714bd732ca6a6 ******/ %feature("compactdefaultargs") Decroch; - %feature("autodoc", "Permet d ' implementer un critere de decrochage specifique a la fonction. - + %feature("autodoc", " Parameters ---------- Sol: math_Vector @@ -2271,119 +3709,141 @@ TgRst1: gp_Vec NRst2: gp_Vec TgRst2: gp_Vec -Returns +Return ------- Blend_DecrochStatus + +Description +----------- +Permet d ' implementer un critere de decrochage specifique a la fonction. ") Decroch; Blend_DecrochStatus Decroch(const math_Vector & Sol, gp_Vec & NRst1, gp_Vec & TgRst1, gp_Vec & NRst2, gp_Vec & TgRst2); - /****************** Derivatives ******************/ - /**** md5 signature: 940fde1549012c9025c437a16f7d8c18 ****/ + /****** BRepBlend_RstRstConstRad::Derivatives ******/ + /****** md5 signature: 940fde1549012c9025c437a16f7d8c18 ******/ %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", " Parameters ---------- X: math_Vector D: math_Matrix -Returns +Return ------- bool + +Description +----------- +returns the values of the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. ") Derivatives; Standard_Boolean Derivatives(const math_Vector & X, math_Matrix & D); - /****************** GetBounds ******************/ - /**** md5 signature: 7f39b43072461a3f70a63d3178e97743 ****/ + /****** BRepBlend_RstRstConstRad::GetBounds ******/ + /****** md5 signature: 7f39b43072461a3f70a63d3178e97743 ******/ %feature("compactdefaultargs") GetBounds; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- InfBound: math_Vector SupBound: math_Vector -Returns +Return ------- None + +Description +----------- +No available documentation. ") GetBounds; void GetBounds(math_Vector & InfBound, math_Vector & SupBound); - /****************** GetMinimalDistance ******************/ - /**** md5 signature: b7112b2680da59932f7cc20412f85fda ****/ + /****** BRepBlend_RstRstConstRad::GetMinimalDistance ******/ + /****** md5 signature: b7112b2680da59932f7cc20412f85fda ******/ %feature("compactdefaultargs") GetMinimalDistance; - %feature("autodoc", "Returns the minimal distance beetween two extremitys of calculed sections. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the minimal Distance between two extremities of calculated sections. ") GetMinimalDistance; virtual Standard_Real GetMinimalDistance(); - /****************** GetMinimalWeight ******************/ - /**** md5 signature: f84aaf80601cfa818dfe6e9dd3bec152 ****/ + /****** BRepBlend_RstRstConstRad::GetMinimalWeight ******/ + /****** md5 signature: f84aaf80601cfa818dfe6e9dd3bec152 ******/ %feature("compactdefaultargs") GetMinimalWeight; - %feature("autodoc", "Compute the minimal value of weight for each poles of all sections. - + %feature("autodoc", " Parameters ---------- Weigths: TColStd_Array1OfReal -Returns +Return ------- None + +Description +----------- +Compute the minimal value of weight for each poles of all sections. ") GetMinimalWeight; void GetMinimalWeight(TColStd_Array1OfReal & Weigths); - /****************** GetSectionSize ******************/ - /**** md5 signature: bf1917f305e490b557c33ddc30e16dc7 ****/ + /****** BRepBlend_RstRstConstRad::GetSectionSize ******/ + /****** md5 signature: bf1917f305e490b557c33ddc30e16dc7 ******/ %feature("compactdefaultargs") GetSectionSize; - %feature("autodoc", "Returns the length of the maximum section. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the length of the maximum section. ") GetSectionSize; Standard_Real GetSectionSize(); - /****************** GetShape ******************/ - /**** md5 signature: 6b9d3e113e9e6721b2abf4c094cdd226 ****/ + /****** BRepBlend_RstRstConstRad::GetShape ******/ + /****** md5 signature: 6b9d3e113e9e6721b2abf4c094cdd226 ******/ %feature("compactdefaultargs") GetShape; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- NbPoles: int NbKnots: int Degree: int NbPoles2d: int + +Description +----------- +No available documentation. ") GetShape; void GetShape(Standard_Integer &OutValue, Standard_Integer &OutValue, Standard_Integer &OutValue, Standard_Integer &OutValue); - /****************** GetTolerance ******************/ - /**** md5 signature: db57a1b1119c0b1280472660909013c2 ****/ + /****** BRepBlend_RstRstConstRad::GetTolerance ******/ + /****** md5 signature: db57a1b1119c0b1280472660909013c2 ******/ %feature("compactdefaultargs") GetTolerance; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Tolerance: math_Vector Tol: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") GetTolerance; void GetTolerance(math_Vector & Tolerance, const Standard_Real Tol); - /****************** GetTolerance ******************/ - /**** md5 signature: be5e2f2cb95c7dbdff402ed78245d7d7 ****/ + /****** BRepBlend_RstRstConstRad::GetTolerance ******/ + /****** md5 signature: be5e2f2cb95c7dbdff402ed78245d7d7 ******/ %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", " Parameters ---------- BoundTol: float @@ -2392,221 +3852,262 @@ AngleTol: float Tol3d: math_Vector Tol1D: math_Vector -Returns +Return ------- None + +Description +----------- +Returns the tolerance to reach in approximation to respect BoundTol error at the Boundary AngleTol tangent error at the Boundary SurfTol error inside the surface. ") GetTolerance; void GetTolerance(const Standard_Real BoundTol, const Standard_Real SurfTol, const Standard_Real AngleTol, math_Vector & Tol3d, math_Vector & Tol1D); - /****************** Intervals ******************/ - /**** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ****/ + /****** BRepBlend_RstRstConstRad::Intervals ******/ + /****** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ******/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). - + %feature("autodoc", " Parameters ---------- T: TColStd_Array1OfReal S: GeomAbs_Shape -Returns +Return ------- None + +Description +----------- +Stores in the parameters bounding the intervals of continuity . The array must provide enough room to accommodate for the parameters. i.e. T.Length() > NbIntervals(). ") Intervals; void Intervals(TColStd_Array1OfReal & T, const GeomAbs_Shape S); - /****************** IsRational ******************/ - /**** md5 signature: 82ca56fad113156125f40128b25c0d8e ****/ + /****** BRepBlend_RstRstConstRad::IsRational ******/ + /****** md5 signature: 82ca56fad113156125f40128b25c0d8e ******/ %feature("compactdefaultargs") IsRational; - %feature("autodoc", "Returns if the section is rationnal. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns if the section is rational. ") IsRational; Standard_Boolean IsRational(); - /****************** IsSolution ******************/ - /**** md5 signature: 89ff6b5b0ad96a1e505d615e14235bad ****/ + /****** BRepBlend_RstRstConstRad::IsSolution ******/ + /****** md5 signature: 89ff6b5b0ad96a1e505d615e14235bad ******/ %feature("compactdefaultargs") IsSolution; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Sol: math_Vector Tol: float -Returns +Return ------- bool + +Description +----------- +No available documentation. ") IsSolution; Standard_Boolean IsSolution(const math_Vector & Sol, const Standard_Real Tol); - /****************** IsTangencyPoint ******************/ - /**** md5 signature: 6f3e518ba9796f381f39631e22124ef0 ****/ + /****** BRepBlend_RstRstConstRad::IsTangencyPoint ******/ + /****** md5 signature: 6f3e518ba9796f381f39631e22124ef0 ******/ %feature("compactdefaultargs") IsTangencyPoint; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsTangencyPoint; Standard_Boolean IsTangencyPoint(); - /****************** Knots ******************/ - /**** md5 signature: a226854cd9eac08cbe4282feaa46c20d ****/ + /****** BRepBlend_RstRstConstRad::Knots ******/ + /****** md5 signature: a226854cd9eac08cbe4282feaa46c20d ******/ %feature("compactdefaultargs") Knots; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- TKnots: TColStd_Array1OfReal -Returns +Return ------- None + +Description +----------- +No available documentation. ") Knots; void Knots(TColStd_Array1OfReal & TKnots); - /****************** Mults ******************/ - /**** md5 signature: 36c77711e4160fb27b24b90b8fa7c6de ****/ + /****** BRepBlend_RstRstConstRad::Mults ******/ + /****** md5 signature: 36c77711e4160fb27b24b90b8fa7c6de ******/ %feature("compactdefaultargs") Mults; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- TMults: TColStd_Array1OfInteger -Returns +Return ------- None + +Description +----------- +No available documentation. ") Mults; void Mults(TColStd_Array1OfInteger & TMults); - /****************** NbEquations ******************/ - /**** md5 signature: 23bde6b2e3d1ee771730481f97ff7ae2 ****/ + /****** BRepBlend_RstRstConstRad::NbEquations ******/ + /****** md5 signature: 23bde6b2e3d1ee771730481f97ff7ae2 ******/ %feature("compactdefaultargs") NbEquations; - %feature("autodoc", "Returns 2. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns 2. ") NbEquations; Standard_Integer NbEquations(); - /****************** NbIntervals ******************/ - /**** md5 signature: 8ce4f61bff96d1ce0784028b47edd8dc ****/ + /****** BRepBlend_RstRstConstRad::NbIntervals ******/ + /****** md5 signature: 8ce4f61bff96d1ce0784028b47edd8dc ******/ %feature("compactdefaultargs") NbIntervals; - %feature("autodoc", "Returns the number of intervals for continuity . may be one if continuity(me) >= . - + %feature("autodoc", " Parameters ---------- S: GeomAbs_Shape -Returns +Return ------- int + +Description +----------- +Returns the number of intervals for continuity . May be one if Continuity(me) >= . ") NbIntervals; Standard_Integer NbIntervals(const GeomAbs_Shape S); - /****************** NbVariables ******************/ - /**** md5 signature: c99b0d96b9b2c7c3fd7890618502162b ****/ + /****** BRepBlend_RstRstConstRad::NbVariables ******/ + /****** md5 signature: c99b0d96b9b2c7c3fd7890618502162b ******/ %feature("compactdefaultargs") NbVariables; - %feature("autodoc", "Returns 2. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns 2. ") NbVariables; Standard_Integer NbVariables(); - /****************** ParameterOnRst1 ******************/ - /**** md5 signature: 284ae0a0f8af30bf10c1a23ce2f6a2b9 ****/ + /****** BRepBlend_RstRstConstRad::ParameterOnRst1 ******/ + /****** md5 signature: 284ae0a0f8af30bf10c1a23ce2f6a2b9 ******/ %feature("compactdefaultargs") ParameterOnRst1; - %feature("autodoc", "Returns parameter of the point on the curve. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns parameter of the point on the curve. ") ParameterOnRst1; Standard_Real ParameterOnRst1(); - /****************** ParameterOnRst2 ******************/ - /**** md5 signature: 9bf0d1865174810cd35d339e1b11149f ****/ + /****** BRepBlend_RstRstConstRad::ParameterOnRst2 ******/ + /****** md5 signature: 9bf0d1865174810cd35d339e1b11149f ******/ %feature("compactdefaultargs") ParameterOnRst2; - %feature("autodoc", "Returns parameter of the point on the curve. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns parameter of the point on the curve. ") ParameterOnRst2; Standard_Real ParameterOnRst2(); - /****************** Pnt2dOnRst1 ******************/ - /**** md5 signature: 8af792b525778d9f7163716d45fcb20c ****/ + /****** BRepBlend_RstRstConstRad::Pnt2dOnRst1 ******/ + /****** md5 signature: 8af792b525778d9f7163716d45fcb20c ******/ %feature("compactdefaultargs") Pnt2dOnRst1; - %feature("autodoc", "Returns u,v coordinates of the point on the surface. - -Returns + %feature("autodoc", "Return ------- gp_Pnt2d + +Description +----------- +Returns U,V coordinates of the point on the surface. ") Pnt2dOnRst1; const gp_Pnt2d Pnt2dOnRst1(); - /****************** Pnt2dOnRst2 ******************/ - /**** md5 signature: b5f740f46476c4024b7987481feaf13c ****/ + /****** BRepBlend_RstRstConstRad::Pnt2dOnRst2 ******/ + /****** md5 signature: b5f740f46476c4024b7987481feaf13c ******/ %feature("compactdefaultargs") Pnt2dOnRst2; - %feature("autodoc", "Returns u,v coordinates of the point on the curve on surface. - -Returns + %feature("autodoc", "Return ------- gp_Pnt2d + +Description +----------- +Returns U,V coordinates of the point on the curve on surface. ") Pnt2dOnRst2; const gp_Pnt2d Pnt2dOnRst2(); - /****************** PointOnRst1 ******************/ - /**** md5 signature: 762cc38df03d874429dc79602cf45538 ****/ + /****** BRepBlend_RstRstConstRad::PointOnRst1 ******/ + /****** md5 signature: 762cc38df03d874429dc79602cf45538 ******/ %feature("compactdefaultargs") PointOnRst1; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Pnt + +Description +----------- +No available documentation. ") PointOnRst1; const gp_Pnt PointOnRst1(); - /****************** PointOnRst2 ******************/ - /**** md5 signature: 2b807e562845e47d1e518bf057be180a ****/ + /****** BRepBlend_RstRstConstRad::PointOnRst2 ******/ + /****** md5 signature: 2b807e562845e47d1e518bf057be180a ******/ %feature("compactdefaultargs") PointOnRst2; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Pnt + +Description +----------- +No available documentation. ") PointOnRst2; const gp_Pnt PointOnRst2(); - /****************** Resolution ******************/ - /**** md5 signature: 1f885646df74c72ec13d37a113377aaa ****/ + /****** BRepBlend_RstRstConstRad::Resolution ******/ + /****** md5 signature: 1f885646df74c72ec13d37a113377aaa ******/ %feature("compactdefaultargs") Resolution; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- IC2d: int Tol: float -Returns +Return ------- TolU: float TolV: float + +Description +----------- +No available documentation. ") Resolution; void Resolution(const Standard_Integer IC2d, const Standard_Real Tol, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** Section ******************/ - /**** md5 signature: 5902809a8ef9b0367b5849f8615d68f9 ****/ + /****** BRepBlend_RstRstConstRad::Section ******/ + /****** md5 signature: 5902809a8ef9b0367b5849f8615d68f9 ******/ %feature("compactdefaultargs") Section; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Param: float @@ -2614,18 +4115,21 @@ U: float V: float C: gp_Circ -Returns +Return ------- Pdeb: float Pfin: float + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: 906e6a4bef3056546e496b945ff8d788 ****/ + /****** BRepBlend_RstRstConstRad::Section ******/ + /****** md5 signature: 906e6a4bef3056546e496b945ff8d788 ******/ %feature("compactdefaultargs") Section; - %feature("autodoc", "Used for the first and last section. - + %feature("autodoc", " Parameters ---------- P: Blend_Point @@ -2636,17 +4140,20 @@ DPoles2d: TColgp_Array1OfVec2d Weigths: TColStd_Array1OfReal DWeigths: TColStd_Array1OfReal -Returns +Return ------- bool + +Description +----------- +Used for the first and last section. ") 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 ******************/ - /**** md5 signature: 50af689ba5abf11bb271a06ac70b2d69 ****/ + /****** BRepBlend_RstRstConstRad::Section ******/ + /****** md5 signature: 50af689ba5abf11bb271a06ac70b2d69 ******/ %feature("compactdefaultargs") Section; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P: Blend_Point @@ -2654,17 +4161,20 @@ Poles: TColgp_Array1OfPnt Poles2d: TColgp_Array1OfPnt2d Weigths: TColStd_Array1OfReal -Returns +Return ------- None + +Description +----------- +No available documentation. ") Section; void Section(const Blend_Point & P, TColgp_Array1OfPnt & Poles, TColgp_Array1OfPnt2d & Poles2d, TColStd_Array1OfReal & Weigths); - /****************** Section ******************/ - /**** md5 signature: b6f1107f21a9bc6524bdd8152abaed5f ****/ + /****** BRepBlend_RstRstConstRad::Section ******/ + /****** md5 signature: b6f1107f21a9bc6524bdd8152abaed5f ******/ %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. - + %feature("autodoc", " Parameters ---------- P: Blend_Point @@ -2678,166 +4188,199 @@ Weigths: TColStd_Array1OfReal DWeigths: TColStd_Array1OfReal D2Weigths: TColStd_Array1OfReal -Returns +Return ------- bool + +Description +----------- +Used for the first and last section The method returns Standard_True if the derivatives are computed, otherwise it returns Standard_False. ") 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); - /****************** Set ******************/ - /**** md5 signature: 8feefe3a830da630caff2fb979f4ebff ****/ + /****** BRepBlend_RstRstConstRad::Set ******/ + /****** md5 signature: 1d39a94f99a01338cb8afa4a49c68510 ******/ %feature("compactdefaultargs") Set; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -SurfRef1: Adaptor3d_HSurface -RstRef1: Adaptor2d_HCurve2d -SurfRef2: Adaptor3d_HSurface -RstRef2: Adaptor2d_HCurve2d +SurfRef1: Adaptor3d_Surface +RstRef1: Adaptor2d_Curve2d +SurfRef2: Adaptor3d_Surface +RstRef2: Adaptor2d_Curve2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") Set; - void Set(const opencascade::handle & SurfRef1, const opencascade::handle & RstRef1, const opencascade::handle & SurfRef2, const opencascade::handle & RstRef2); + void Set(const opencascade::handle & SurfRef1, const opencascade::handle & RstRef1, const opencascade::handle & SurfRef2, const opencascade::handle & RstRef2); - /****************** Set ******************/ - /**** md5 signature: a955f35e9076d1c844b9a2aa89b226bf ****/ + /****** BRepBlend_RstRstConstRad::Set ******/ + /****** md5 signature: a955f35e9076d1c844b9a2aa89b226bf ******/ %feature("compactdefaultargs") Set; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Param: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") Set; void Set(const Standard_Real Param); - /****************** Set ******************/ - /**** md5 signature: 7d0982b9e2ba9cb3c696f620150f4f9c ****/ + /****** BRepBlend_RstRstConstRad::Set ******/ + /****** md5 signature: 7d0982b9e2ba9cb3c696f620150f4f9c ******/ %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. - + %feature("autodoc", " Parameters ---------- First: float Last: float -Returns +Return ------- None + +Description +----------- +Sets the bounds of the parametric interval on the guide line. This determines the derivatives in these values if the function is not Cn. ") Set; void Set(const Standard_Real First, const Standard_Real Last); - /****************** Set ******************/ - /**** md5 signature: 99fe75aea7947575eb6b646d1797f9da ****/ + /****** BRepBlend_RstRstConstRad::Set ******/ + /****** md5 signature: 99fe75aea7947575eb6b646d1797f9da ******/ %feature("compactdefaultargs") Set; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Radius: float Choix: int -Returns +Return ------- None + +Description +----------- +No available documentation. ") Set; void Set(const Standard_Real Radius, const Standard_Integer Choix); - /****************** Set ******************/ - /**** md5 signature: 94cfe331c662a2ba190837b24fee3b95 ****/ + /****** BRepBlend_RstRstConstRad::Set ******/ + /****** md5 signature: 94cfe331c662a2ba190837b24fee3b95 ******/ %feature("compactdefaultargs") Set; - %feature("autodoc", "Sets the type of section generation for the approximations. - + %feature("autodoc", " Parameters ---------- TypeSection: BlendFunc_SectionShape -Returns +Return ------- None + +Description +----------- +Sets the type of section generation for the approximations. ") Set; void Set(const BlendFunc_SectionShape TypeSection); - /****************** Tangent2dOnRst1 ******************/ - /**** md5 signature: 8853e0bdcfc4c7ae918b4ce4afe10bf7 ****/ + /****** BRepBlend_RstRstConstRad::Tangent2dOnRst1 ******/ + /****** md5 signature: 8853e0bdcfc4c7ae918b4ce4afe10bf7 ******/ %feature("compactdefaultargs") Tangent2dOnRst1; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Vec2d + +Description +----------- +No available documentation. ") Tangent2dOnRst1; const gp_Vec2d Tangent2dOnRst1(); - /****************** Tangent2dOnRst2 ******************/ - /**** md5 signature: 7efc7e62e5cd2cb55222b8f92787707b ****/ + /****** BRepBlend_RstRstConstRad::Tangent2dOnRst2 ******/ + /****** md5 signature: 7efc7e62e5cd2cb55222b8f92787707b ******/ %feature("compactdefaultargs") Tangent2dOnRst2; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Vec2d + +Description +----------- +No available documentation. ") Tangent2dOnRst2; const gp_Vec2d Tangent2dOnRst2(); - /****************** TangentOnRst1 ******************/ - /**** md5 signature: 1e84fceeab2344ba6b579f62eddd47b2 ****/ + /****** BRepBlend_RstRstConstRad::TangentOnRst1 ******/ + /****** md5 signature: 1e84fceeab2344ba6b579f62eddd47b2 ******/ %feature("compactdefaultargs") TangentOnRst1; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Vec + +Description +----------- +No available documentation. ") TangentOnRst1; const gp_Vec TangentOnRst1(); - /****************** TangentOnRst2 ******************/ - /**** md5 signature: 3441edf62ea8bd65204990029d82b25d ****/ + /****** BRepBlend_RstRstConstRad::TangentOnRst2 ******/ + /****** md5 signature: 3441edf62ea8bd65204990029d82b25d ******/ %feature("compactdefaultargs") TangentOnRst2; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Vec + +Description +----------- +No available documentation. ") TangentOnRst2; const gp_Vec TangentOnRst2(); - /****************** Value ******************/ - /**** md5 signature: 1b689850305d8b13f289849027f0887b ****/ + /****** BRepBlend_RstRstConstRad::Value ******/ + /****** md5 signature: 1b689850305d8b13f289849027f0887b ******/ %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", " Parameters ---------- X: math_Vector F: math_Vector -Returns +Return ------- bool + +Description +----------- +computes the values of the Functions for the variable . Returns True if the computation was done successfully, False otherwise. ") Value; Standard_Boolean Value(const math_Vector & X, math_Vector & F); - /****************** Values ******************/ - /**** md5 signature: cb66193525cc0a7235a2cde2a228308b ****/ + /****** BRepBlend_RstRstConstRad::Values ******/ + /****** md5 signature: cb66193525cc0a7235a2cde2a228308b ******/ %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", " Parameters ---------- X: math_Vector F: math_Vector D: math_Matrix -Returns +Return ------- bool + +Description +----------- +returns the values of the functions and the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. ") Values; Standard_Boolean Values(const math_Vector & X, math_Vector & F, math_Matrix & D); @@ -2855,31 +4398,33 @@ bool ********************************/ class BRepBlend_RstRstEvolRad : public Blend_RstRstFunction { public: - /****************** BRepBlend_RstRstEvolRad ******************/ - /**** md5 signature: 8606df301777879e7316e5ef9599f728 ****/ + /****** BRepBlend_RstRstEvolRad::BRepBlend_RstRstEvolRad ******/ + /****** md5 signature: d79d517ef0e965cc32a0fc12487d3855 ******/ %feature("compactdefaultargs") BRepBlend_RstRstEvolRad; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Surf1: Adaptor3d_HSurface -Rst1: Adaptor2d_HCurve2d -Surf2: Adaptor3d_HSurface -Rst2: Adaptor2d_HCurve2d -CGuide: Adaptor3d_HCurve +Surf1: Adaptor3d_Surface +Rst1: Adaptor2d_Curve2d +Surf2: Adaptor3d_Surface +Rst2: Adaptor2d_Curve2d +CGuide: Adaptor3d_Curve Evol: Law_Function -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBlend_RstRstEvolRad; - BRepBlend_RstRstEvolRad(const opencascade::handle & Surf1, const opencascade::handle & Rst1, const opencascade::handle & Surf2, const opencascade::handle & Rst2, const opencascade::handle & CGuide, const opencascade::handle & Evol); + BRepBlend_RstRstEvolRad(const opencascade::handle & Surf1, const opencascade::handle & Rst1, const opencascade::handle & Surf2, const opencascade::handle & Rst2, const opencascade::handle & CGuide, const opencascade::handle & Evol); - /****************** CenterCircleRst1Rst2 ******************/ - /**** md5 signature: 78a3b5ae21381e7c60ec45458e50cd49 ****/ + /****** BRepBlend_RstRstEvolRad::CenterCircleRst1Rst2 ******/ + /****** md5 signature: 78a3b5ae21381e7c60ec45458e50cd49 ******/ %feature("compactdefaultargs") CenterCircleRst1Rst2; - %feature("autodoc", "Gives the center of circle defined by ptrst1, ptrst2 and radius ray. - + %feature("autodoc", " Parameters ---------- PtRst1: gp_Pnt @@ -2888,17 +4433,20 @@ np: gp_Vec Center: gp_Pnt VdMed: gp_Vec -Returns +Return ------- bool + +Description +----------- +Gives the center of circle defined by PtRst1, PtRst2 and radius ray. ") CenterCircleRst1Rst2; Standard_Boolean CenterCircleRst1Rst2(const gp_Pnt & PtRst1, const gp_Pnt & PtRst2, const gp_Vec & np, gp_Pnt & Center, gp_Vec & VdMed); - /****************** Decroch ******************/ - /**** md5 signature: 4fb28916dc7b56fca32714bd732ca6a6 ****/ + /****** BRepBlend_RstRstEvolRad::Decroch ******/ + /****** md5 signature: 4fb28916dc7b56fca32714bd732ca6a6 ******/ %feature("compactdefaultargs") Decroch; - %feature("autodoc", "Enables implementation of a criterion of decrochage specific to the function. - + %feature("autodoc", " Parameters ---------- Sol: math_Vector @@ -2907,119 +4455,141 @@ TgRst1: gp_Vec NRst2: gp_Vec TgRst2: gp_Vec -Returns +Return ------- Blend_DecrochStatus + +Description +----------- +Enables implementation of a criterion of decrochage specific to the function. ") Decroch; Blend_DecrochStatus Decroch(const math_Vector & Sol, gp_Vec & NRst1, gp_Vec & TgRst1, gp_Vec & NRst2, gp_Vec & TgRst2); - /****************** Derivatives ******************/ - /**** md5 signature: 940fde1549012c9025c437a16f7d8c18 ****/ + /****** BRepBlend_RstRstEvolRad::Derivatives ******/ + /****** md5 signature: 940fde1549012c9025c437a16f7d8c18 ******/ %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", " Parameters ---------- X: math_Vector D: math_Matrix -Returns +Return ------- bool + +Description +----------- +returns the values of the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. ") Derivatives; Standard_Boolean Derivatives(const math_Vector & X, math_Matrix & D); - /****************** GetBounds ******************/ - /**** md5 signature: 7f39b43072461a3f70a63d3178e97743 ****/ + /****** BRepBlend_RstRstEvolRad::GetBounds ******/ + /****** md5 signature: 7f39b43072461a3f70a63d3178e97743 ******/ %feature("compactdefaultargs") GetBounds; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- InfBound: math_Vector SupBound: math_Vector -Returns +Return ------- None + +Description +----------- +No available documentation. ") GetBounds; void GetBounds(math_Vector & InfBound, math_Vector & SupBound); - /****************** GetMinimalDistance ******************/ - /**** md5 signature: b7112b2680da59932f7cc20412f85fda ****/ + /****** BRepBlend_RstRstEvolRad::GetMinimalDistance ******/ + /****** md5 signature: b7112b2680da59932f7cc20412f85fda ******/ %feature("compactdefaultargs") GetMinimalDistance; - %feature("autodoc", "Returns the minimal distance beetween two extremitys of calculed sections. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the minimal Distance between two extremities of calculated sections. ") GetMinimalDistance; virtual Standard_Real GetMinimalDistance(); - /****************** GetMinimalWeight ******************/ - /**** md5 signature: f84aaf80601cfa818dfe6e9dd3bec152 ****/ + /****** BRepBlend_RstRstEvolRad::GetMinimalWeight ******/ + /****** md5 signature: f84aaf80601cfa818dfe6e9dd3bec152 ******/ %feature("compactdefaultargs") GetMinimalWeight; - %feature("autodoc", "Compute the minimal value of weight for each poles of all sections. - + %feature("autodoc", " Parameters ---------- Weigths: TColStd_Array1OfReal -Returns +Return ------- None + +Description +----------- +Compute the minimal value of weight for each poles of all sections. ") GetMinimalWeight; void GetMinimalWeight(TColStd_Array1OfReal & Weigths); - /****************** GetSectionSize ******************/ - /**** md5 signature: bf1917f305e490b557c33ddc30e16dc7 ****/ + /****** BRepBlend_RstRstEvolRad::GetSectionSize ******/ + /****** md5 signature: bf1917f305e490b557c33ddc30e16dc7 ******/ %feature("compactdefaultargs") GetSectionSize; - %feature("autodoc", "Returns the length of the maximum section. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the length of the maximum section. ") GetSectionSize; Standard_Real GetSectionSize(); - /****************** GetShape ******************/ - /**** md5 signature: 6b9d3e113e9e6721b2abf4c094cdd226 ****/ + /****** BRepBlend_RstRstEvolRad::GetShape ******/ + /****** md5 signature: 6b9d3e113e9e6721b2abf4c094cdd226 ******/ %feature("compactdefaultargs") GetShape; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- NbPoles: int NbKnots: int Degree: int NbPoles2d: int + +Description +----------- +No available documentation. ") GetShape; void GetShape(Standard_Integer &OutValue, Standard_Integer &OutValue, Standard_Integer &OutValue, Standard_Integer &OutValue); - /****************** GetTolerance ******************/ - /**** md5 signature: db57a1b1119c0b1280472660909013c2 ****/ + /****** BRepBlend_RstRstEvolRad::GetTolerance ******/ + /****** md5 signature: db57a1b1119c0b1280472660909013c2 ******/ %feature("compactdefaultargs") GetTolerance; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Tolerance: math_Vector Tol: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") GetTolerance; void GetTolerance(math_Vector & Tolerance, const Standard_Real Tol); - /****************** GetTolerance ******************/ - /**** md5 signature: be5e2f2cb95c7dbdff402ed78245d7d7 ****/ + /****** BRepBlend_RstRstEvolRad::GetTolerance ******/ + /****** md5 signature: be5e2f2cb95c7dbdff402ed78245d7d7 ******/ %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", " Parameters ---------- BoundTol: float @@ -3028,221 +4598,262 @@ AngleTol: float Tol3d: math_Vector Tol1D: math_Vector -Returns +Return ------- None + +Description +----------- +Returns the tolerance to reach in approximation to respect BoundTol error at the Boundary AngleTol tangent error at the Boundary SurfTol error inside the surface. ") GetTolerance; void GetTolerance(const Standard_Real BoundTol, const Standard_Real SurfTol, const Standard_Real AngleTol, math_Vector & Tol3d, math_Vector & Tol1D); - /****************** Intervals ******************/ - /**** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ****/ + /****** BRepBlend_RstRstEvolRad::Intervals ******/ + /****** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ******/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). - + %feature("autodoc", " Parameters ---------- T: TColStd_Array1OfReal S: GeomAbs_Shape -Returns +Return ------- None + +Description +----------- +Stores in the parameters bounding the intervals of continuity . The array must provide enough room to accommodate for the parameters. i.e. T.Length() > NbIntervals(). ") Intervals; void Intervals(TColStd_Array1OfReal & T, const GeomAbs_Shape S); - /****************** IsRational ******************/ - /**** md5 signature: 82ca56fad113156125f40128b25c0d8e ****/ + /****** BRepBlend_RstRstEvolRad::IsRational ******/ + /****** md5 signature: 82ca56fad113156125f40128b25c0d8e ******/ %feature("compactdefaultargs") IsRational; - %feature("autodoc", "Returns if the section is rationnal. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns if the section is rational. ") IsRational; Standard_Boolean IsRational(); - /****************** IsSolution ******************/ - /**** md5 signature: 89ff6b5b0ad96a1e505d615e14235bad ****/ + /****** BRepBlend_RstRstEvolRad::IsSolution ******/ + /****** md5 signature: 89ff6b5b0ad96a1e505d615e14235bad ******/ %feature("compactdefaultargs") IsSolution; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Sol: math_Vector Tol: float -Returns +Return ------- bool + +Description +----------- +No available documentation. ") IsSolution; Standard_Boolean IsSolution(const math_Vector & Sol, const Standard_Real Tol); - /****************** IsTangencyPoint ******************/ - /**** md5 signature: 6f3e518ba9796f381f39631e22124ef0 ****/ + /****** BRepBlend_RstRstEvolRad::IsTangencyPoint ******/ + /****** md5 signature: 6f3e518ba9796f381f39631e22124ef0 ******/ %feature("compactdefaultargs") IsTangencyPoint; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsTangencyPoint; Standard_Boolean IsTangencyPoint(); - /****************** Knots ******************/ - /**** md5 signature: a226854cd9eac08cbe4282feaa46c20d ****/ + /****** BRepBlend_RstRstEvolRad::Knots ******/ + /****** md5 signature: a226854cd9eac08cbe4282feaa46c20d ******/ %feature("compactdefaultargs") Knots; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- TKnots: TColStd_Array1OfReal -Returns +Return ------- None + +Description +----------- +No available documentation. ") Knots; void Knots(TColStd_Array1OfReal & TKnots); - /****************** Mults ******************/ - /**** md5 signature: 36c77711e4160fb27b24b90b8fa7c6de ****/ + /****** BRepBlend_RstRstEvolRad::Mults ******/ + /****** md5 signature: 36c77711e4160fb27b24b90b8fa7c6de ******/ %feature("compactdefaultargs") Mults; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- TMults: TColStd_Array1OfInteger -Returns +Return ------- None + +Description +----------- +No available documentation. ") Mults; void Mults(TColStd_Array1OfInteger & TMults); - /****************** NbEquations ******************/ - /**** md5 signature: 23bde6b2e3d1ee771730481f97ff7ae2 ****/ + /****** BRepBlend_RstRstEvolRad::NbEquations ******/ + /****** md5 signature: 23bde6b2e3d1ee771730481f97ff7ae2 ******/ %feature("compactdefaultargs") NbEquations; - %feature("autodoc", "Returns 2. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns 2. ") NbEquations; Standard_Integer NbEquations(); - /****************** NbIntervals ******************/ - /**** md5 signature: 8ce4f61bff96d1ce0784028b47edd8dc ****/ + /****** BRepBlend_RstRstEvolRad::NbIntervals ******/ + /****** md5 signature: 8ce4f61bff96d1ce0784028b47edd8dc ******/ %feature("compactdefaultargs") NbIntervals; - %feature("autodoc", "Returns the number of intervals for continuity . may be one if continuity(me) >= . - + %feature("autodoc", " Parameters ---------- S: GeomAbs_Shape -Returns +Return ------- int + +Description +----------- +Returns the number of intervals for continuity . May be one if Continuity(me) >= . ") NbIntervals; Standard_Integer NbIntervals(const GeomAbs_Shape S); - /****************** NbVariables ******************/ - /**** md5 signature: c99b0d96b9b2c7c3fd7890618502162b ****/ + /****** BRepBlend_RstRstEvolRad::NbVariables ******/ + /****** md5 signature: c99b0d96b9b2c7c3fd7890618502162b ******/ %feature("compactdefaultargs") NbVariables; - %feature("autodoc", "Returns 2. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns 2. ") NbVariables; Standard_Integer NbVariables(); - /****************** ParameterOnRst1 ******************/ - /**** md5 signature: 284ae0a0f8af30bf10c1a23ce2f6a2b9 ****/ + /****** BRepBlend_RstRstEvolRad::ParameterOnRst1 ******/ + /****** md5 signature: 284ae0a0f8af30bf10c1a23ce2f6a2b9 ******/ %feature("compactdefaultargs") ParameterOnRst1; - %feature("autodoc", "Returns parameter of the point on the curve. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns parameter of the point on the curve. ") ParameterOnRst1; Standard_Real ParameterOnRst1(); - /****************** ParameterOnRst2 ******************/ - /**** md5 signature: 9bf0d1865174810cd35d339e1b11149f ****/ + /****** BRepBlend_RstRstEvolRad::ParameterOnRst2 ******/ + /****** md5 signature: 9bf0d1865174810cd35d339e1b11149f ******/ %feature("compactdefaultargs") ParameterOnRst2; - %feature("autodoc", "Returns parameter of the point on the curve. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns parameter of the point on the curve. ") ParameterOnRst2; Standard_Real ParameterOnRst2(); - /****************** Pnt2dOnRst1 ******************/ - /**** md5 signature: 8af792b525778d9f7163716d45fcb20c ****/ + /****** BRepBlend_RstRstEvolRad::Pnt2dOnRst1 ******/ + /****** md5 signature: 8af792b525778d9f7163716d45fcb20c ******/ %feature("compactdefaultargs") Pnt2dOnRst1; - %feature("autodoc", "Returns u,v coordinates of the point on the surface. - -Returns + %feature("autodoc", "Return ------- gp_Pnt2d + +Description +----------- +Returns U,V coordinates of the point on the surface. ") Pnt2dOnRst1; const gp_Pnt2d Pnt2dOnRst1(); - /****************** Pnt2dOnRst2 ******************/ - /**** md5 signature: b5f740f46476c4024b7987481feaf13c ****/ + /****** BRepBlend_RstRstEvolRad::Pnt2dOnRst2 ******/ + /****** md5 signature: b5f740f46476c4024b7987481feaf13c ******/ %feature("compactdefaultargs") Pnt2dOnRst2; - %feature("autodoc", "Returns u,v coordinates of the point on the curve on surface. - -Returns + %feature("autodoc", "Return ------- gp_Pnt2d + +Description +----------- +Returns U,V coordinates of the point on the curve on surface. ") Pnt2dOnRst2; const gp_Pnt2d Pnt2dOnRst2(); - /****************** PointOnRst1 ******************/ - /**** md5 signature: 762cc38df03d874429dc79602cf45538 ****/ + /****** BRepBlend_RstRstEvolRad::PointOnRst1 ******/ + /****** md5 signature: 762cc38df03d874429dc79602cf45538 ******/ %feature("compactdefaultargs") PointOnRst1; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Pnt + +Description +----------- +No available documentation. ") PointOnRst1; const gp_Pnt PointOnRst1(); - /****************** PointOnRst2 ******************/ - /**** md5 signature: 2b807e562845e47d1e518bf057be180a ****/ + /****** BRepBlend_RstRstEvolRad::PointOnRst2 ******/ + /****** md5 signature: 2b807e562845e47d1e518bf057be180a ******/ %feature("compactdefaultargs") PointOnRst2; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Pnt + +Description +----------- +No available documentation. ") PointOnRst2; const gp_Pnt PointOnRst2(); - /****************** Resolution ******************/ - /**** md5 signature: 1f885646df74c72ec13d37a113377aaa ****/ + /****** BRepBlend_RstRstEvolRad::Resolution ******/ + /****** md5 signature: 1f885646df74c72ec13d37a113377aaa ******/ %feature("compactdefaultargs") Resolution; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- IC2d: int Tol: float -Returns +Return ------- TolU: float TolV: float + +Description +----------- +No available documentation. ") Resolution; void Resolution(const Standard_Integer IC2d, const Standard_Real Tol, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** Section ******************/ - /**** md5 signature: 5902809a8ef9b0367b5849f8615d68f9 ****/ + /****** BRepBlend_RstRstEvolRad::Section ******/ + /****** md5 signature: 5902809a8ef9b0367b5849f8615d68f9 ******/ %feature("compactdefaultargs") Section; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Param: float @@ -3250,18 +4861,21 @@ U: float V: float C: gp_Circ -Returns +Return ------- Pdeb: float Pfin: float + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: 906e6a4bef3056546e496b945ff8d788 ****/ + /****** BRepBlend_RstRstEvolRad::Section ******/ + /****** md5 signature: 906e6a4bef3056546e496b945ff8d788 ******/ %feature("compactdefaultargs") Section; - %feature("autodoc", "Used for the first and last section. - + %feature("autodoc", " Parameters ---------- P: Blend_Point @@ -3272,17 +4886,20 @@ DPoles2d: TColgp_Array1OfVec2d Weigths: TColStd_Array1OfReal DWeigths: TColStd_Array1OfReal -Returns +Return ------- bool + +Description +----------- +Used for the first and last section. ") 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 ******************/ - /**** md5 signature: 50af689ba5abf11bb271a06ac70b2d69 ****/ + /****** BRepBlend_RstRstEvolRad::Section ******/ + /****** md5 signature: 50af689ba5abf11bb271a06ac70b2d69 ******/ %feature("compactdefaultargs") Section; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P: Blend_Point @@ -3290,17 +4907,20 @@ Poles: TColgp_Array1OfPnt Poles2d: TColgp_Array1OfPnt2d Weigths: TColStd_Array1OfReal -Returns +Return ------- None + +Description +----------- +No available documentation. ") Section; void Section(const Blend_Point & P, TColgp_Array1OfPnt & Poles, TColgp_Array1OfPnt2d & Poles2d, TColStd_Array1OfReal & Weigths); - /****************** Section ******************/ - /**** md5 signature: b6f1107f21a9bc6524bdd8152abaed5f ****/ + /****** BRepBlend_RstRstEvolRad::Section ******/ + /****** md5 signature: b6f1107f21a9bc6524bdd8152abaed5f ******/ %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. - + %feature("autodoc", " Parameters ---------- P: Blend_Point @@ -3314,165 +4934,198 @@ Weigths: TColStd_Array1OfReal DWeigths: TColStd_Array1OfReal D2Weigths: TColStd_Array1OfReal -Returns +Return ------- bool + +Description +----------- +Used for the first and last section The method returns Standard_True if the derivatives are computed, otherwise it returns Standard_False. ") 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); - /****************** Set ******************/ - /**** md5 signature: 8feefe3a830da630caff2fb979f4ebff ****/ + /****** BRepBlend_RstRstEvolRad::Set ******/ + /****** md5 signature: 1d39a94f99a01338cb8afa4a49c68510 ******/ %feature("compactdefaultargs") Set; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -SurfRef1: Adaptor3d_HSurface -RstRef1: Adaptor2d_HCurve2d -SurfRef2: Adaptor3d_HSurface -RstRef2: Adaptor2d_HCurve2d +SurfRef1: Adaptor3d_Surface +RstRef1: Adaptor2d_Curve2d +SurfRef2: Adaptor3d_Surface +RstRef2: Adaptor2d_Curve2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") Set; - void Set(const opencascade::handle & SurfRef1, const opencascade::handle & RstRef1, const opencascade::handle & SurfRef2, const opencascade::handle & RstRef2); + void Set(const opencascade::handle & SurfRef1, const opencascade::handle & RstRef1, const opencascade::handle & SurfRef2, const opencascade::handle & RstRef2); - /****************** Set ******************/ - /**** md5 signature: a955f35e9076d1c844b9a2aa89b226bf ****/ + /****** BRepBlend_RstRstEvolRad::Set ******/ + /****** md5 signature: a955f35e9076d1c844b9a2aa89b226bf ******/ %feature("compactdefaultargs") Set; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Param: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") Set; void Set(const Standard_Real Param); - /****************** Set ******************/ - /**** md5 signature: 7d0982b9e2ba9cb3c696f620150f4f9c ****/ + /****** BRepBlend_RstRstEvolRad::Set ******/ + /****** md5 signature: 7d0982b9e2ba9cb3c696f620150f4f9c ******/ %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. - + %feature("autodoc", " Parameters ---------- First: float Last: float -Returns +Return ------- None + +Description +----------- +Sets the bounds of the parametric interval on the guide line. This determines the derivatives in these values if the function is not Cn. ") Set; void Set(const Standard_Real First, const Standard_Real Last); - /****************** Set ******************/ - /**** md5 signature: d73c9c4058c0955fc8cd59888660f750 ****/ + /****** BRepBlend_RstRstEvolRad::Set ******/ + /****** md5 signature: d73c9c4058c0955fc8cd59888660f750 ******/ %feature("compactdefaultargs") Set; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Choix: int -Returns +Return ------- None + +Description +----------- +No available documentation. ") Set; void Set(const Standard_Integer Choix); - /****************** Set ******************/ - /**** md5 signature: 94cfe331c662a2ba190837b24fee3b95 ****/ + /****** BRepBlend_RstRstEvolRad::Set ******/ + /****** md5 signature: 94cfe331c662a2ba190837b24fee3b95 ******/ %feature("compactdefaultargs") Set; - %feature("autodoc", "Sets the type of section generation for the approximations. - + %feature("autodoc", " Parameters ---------- TypeSection: BlendFunc_SectionShape -Returns +Return ------- None + +Description +----------- +Sets the type of section generation for the approximations. ") Set; void Set(const BlendFunc_SectionShape TypeSection); - /****************** Tangent2dOnRst1 ******************/ - /**** md5 signature: 8853e0bdcfc4c7ae918b4ce4afe10bf7 ****/ + /****** BRepBlend_RstRstEvolRad::Tangent2dOnRst1 ******/ + /****** md5 signature: 8853e0bdcfc4c7ae918b4ce4afe10bf7 ******/ %feature("compactdefaultargs") Tangent2dOnRst1; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Vec2d + +Description +----------- +No available documentation. ") Tangent2dOnRst1; const gp_Vec2d Tangent2dOnRst1(); - /****************** Tangent2dOnRst2 ******************/ - /**** md5 signature: 7efc7e62e5cd2cb55222b8f92787707b ****/ + /****** BRepBlend_RstRstEvolRad::Tangent2dOnRst2 ******/ + /****** md5 signature: 7efc7e62e5cd2cb55222b8f92787707b ******/ %feature("compactdefaultargs") Tangent2dOnRst2; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Vec2d + +Description +----------- +No available documentation. ") Tangent2dOnRst2; const gp_Vec2d Tangent2dOnRst2(); - /****************** TangentOnRst1 ******************/ - /**** md5 signature: 1e84fceeab2344ba6b579f62eddd47b2 ****/ + /****** BRepBlend_RstRstEvolRad::TangentOnRst1 ******/ + /****** md5 signature: 1e84fceeab2344ba6b579f62eddd47b2 ******/ %feature("compactdefaultargs") TangentOnRst1; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Vec + +Description +----------- +No available documentation. ") TangentOnRst1; const gp_Vec TangentOnRst1(); - /****************** TangentOnRst2 ******************/ - /**** md5 signature: 3441edf62ea8bd65204990029d82b25d ****/ + /****** BRepBlend_RstRstEvolRad::TangentOnRst2 ******/ + /****** md5 signature: 3441edf62ea8bd65204990029d82b25d ******/ %feature("compactdefaultargs") TangentOnRst2; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Vec + +Description +----------- +No available documentation. ") TangentOnRst2; const gp_Vec TangentOnRst2(); - /****************** Value ******************/ - /**** md5 signature: 1b689850305d8b13f289849027f0887b ****/ + /****** BRepBlend_RstRstEvolRad::Value ******/ + /****** md5 signature: 1b689850305d8b13f289849027f0887b ******/ %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", " Parameters ---------- X: math_Vector F: math_Vector -Returns +Return ------- bool + +Description +----------- +computes the values of the Functions for the variable . Returns True if the computation was done successfully, False otherwise. ") Value; Standard_Boolean Value(const math_Vector & X, math_Vector & F); - /****************** Values ******************/ - /**** md5 signature: cb66193525cc0a7235a2cde2a228308b ****/ + /****** BRepBlend_RstRstEvolRad::Values ******/ + /****** md5 signature: cb66193525cc0a7235a2cde2a228308b ******/ %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", " Parameters ---------- X: math_Vector F: math_Vector D: math_Matrix -Returns +Return ------- bool + +Description +----------- +returns the values of the functions and the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. ") Values; Standard_Boolean Values(const math_Vector & X, math_Vector & F, math_Matrix & D); @@ -3490,31 +5143,33 @@ bool ************************************/ class BRepBlend_RstRstLineBuilder { public: - /****************** BRepBlend_RstRstLineBuilder ******************/ - /**** md5 signature: 4298cff32af6f187e303261f177d3486 ****/ + /****** BRepBlend_RstRstLineBuilder::BRepBlend_RstRstLineBuilder ******/ + /****** md5 signature: 0fa89a48d67b7f761c8ed2cee361f92f ******/ %feature("compactdefaultargs") BRepBlend_RstRstLineBuilder; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Surf1: Adaptor3d_HSurface -Rst1: Adaptor2d_HCurve2d +Surf1: Adaptor3d_Surface +Rst1: Adaptor2d_Curve2d Domain1: Adaptor3d_TopolTool -Surf2: Adaptor3d_HSurface -Rst2: Adaptor2d_HCurve2d +Surf2: Adaptor3d_Surface +Rst2: Adaptor2d_Curve2d Domain2: Adaptor3d_TopolTool -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBlend_RstRstLineBuilder; - BRepBlend_RstRstLineBuilder(const opencascade::handle & Surf1, const opencascade::handle & Rst1, const opencascade::handle & Domain1, const opencascade::handle & Surf2, const opencascade::handle & Rst2, const opencascade::handle & Domain2); + BRepBlend_RstRstLineBuilder(const opencascade::handle & Surf1, const opencascade::handle & Rst1, const opencascade::handle & Domain1, const opencascade::handle & Surf2, const opencascade::handle & Rst2, const opencascade::handle & Domain2); - /****************** Complete ******************/ - /**** md5 signature: 826dcd81a620ed85f35c4d4dbd7bd8a7 ****/ + /****** BRepBlend_RstRstLineBuilder::Complete ******/ + /****** md5 signature: 826dcd81a620ed85f35c4d4dbd7bd8a7 ******/ %feature("compactdefaultargs") Complete; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Func: Blend_RstRstFunction @@ -3524,83 +5179,98 @@ Finv2: Blend_SurfCurvFuncInv FinvP2: Blend_CurvPointFuncInv Pmin: float -Returns +Return ------- bool + +Description +----------- +No available documentation. ") Complete; Standard_Boolean Complete(Blend_RstRstFunction & Func, Blend_SurfCurvFuncInv & Finv1, Blend_CurvPointFuncInv & FinvP1, Blend_SurfCurvFuncInv & Finv2, Blend_CurvPointFuncInv & FinvP2, const Standard_Real Pmin); - /****************** Decroch1End ******************/ - /**** md5 signature: f6913d316d5accdf3a84bcfda7bb27e1 ****/ + /****** BRepBlend_RstRstLineBuilder::Decroch1End ******/ + /****** md5 signature: f6913d316d5accdf3a84bcfda7bb27e1 ******/ %feature("compactdefaultargs") Decroch1End; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") Decroch1End; Standard_Boolean Decroch1End(); - /****************** Decroch1Start ******************/ - /**** md5 signature: 85d7bc2d23e235ee8c224332022e89d2 ****/ + /****** BRepBlend_RstRstLineBuilder::Decroch1Start ******/ + /****** md5 signature: 85d7bc2d23e235ee8c224332022e89d2 ******/ %feature("compactdefaultargs") Decroch1Start; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") Decroch1Start; Standard_Boolean Decroch1Start(); - /****************** Decroch2End ******************/ - /**** md5 signature: 598323a82cc53d7940e82a44b6268b22 ****/ + /****** BRepBlend_RstRstLineBuilder::Decroch2End ******/ + /****** md5 signature: 598323a82cc53d7940e82a44b6268b22 ******/ %feature("compactdefaultargs") Decroch2End; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") Decroch2End; Standard_Boolean Decroch2End(); - /****************** Decroch2Start ******************/ - /**** md5 signature: 933f9277fcaba02302f7dbc9d24a34c4 ****/ + /****** BRepBlend_RstRstLineBuilder::Decroch2Start ******/ + /****** md5 signature: 933f9277fcaba02302f7dbc9d24a34c4 ******/ %feature("compactdefaultargs") Decroch2Start; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") Decroch2Start; Standard_Boolean Decroch2Start(); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** BRepBlend_RstRstLineBuilder::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsDone; Standard_Boolean IsDone(); - /****************** Line ******************/ - /**** md5 signature: 9bbdb2164431d955d7a3a08a37fd239f ****/ + /****** BRepBlend_RstRstLineBuilder::Line ******/ + /****** md5 signature: 9bbdb2164431d955d7a3a08a37fd239f ******/ %feature("compactdefaultargs") Line; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Line; const opencascade::handle & Line(); - /****************** Perform ******************/ - /**** md5 signature: e410fc1bc97982de557150e942b13c80 ****/ + /****** BRepBlend_RstRstLineBuilder::Perform ******/ + /****** md5 signature: 5c6445d58f45808f7c3defd1db894a35 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Func: Blend_RstRstFunction @@ -3611,24 +5281,26 @@ FinvP2: Blend_CurvPointFuncInv Pdep: float Pmax: float MaxStep: float +Tol3d: float TolGuide: float Soldep: math_Vector -Tolesp: float Fleche: float -Appro: bool,optional - default value is Standard_False +Appro: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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); + 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 Tol3d, const Standard_Real TolGuide, const math_Vector & Soldep, const Standard_Real Fleche, const Standard_Boolean Appro = Standard_False); - /****************** PerformFirstSection ******************/ - /**** md5 signature: 78e8905aafd910d0fa3a7b23c096467b ****/ + /****** BRepBlend_RstRstLineBuilder::PerformFirstSection ******/ + /****** md5 signature: 452fb9b79df54fb801f2f70d066f611b ******/ %feature("compactdefaultargs") PerformFirstSection; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Func: Blend_RstRstFunction @@ -3639,7 +5311,7 @@ FinvP2: Blend_CurvPointFuncInv Pdep: float Pmax: float Soldep: math_Vector -Tolesp: float +Tol3d: float TolGuide: float RecRst1: bool RecP1: bool @@ -3647,11 +5319,15 @@ RecRst2: bool RecP2: bool ParSol: math_Vector -Returns +Return ------- Psol: float + +Description +----------- +No available documentation. ") 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); + 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 Tol3d, 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); }; @@ -3667,159 +5343,188 @@ Psol: float **************************************/ class BRepBlend_SurfCurvConstRadInv : public Blend_SurfCurvFuncInv { public: - /****************** BRepBlend_SurfCurvConstRadInv ******************/ - /**** md5 signature: dd8173527764ca4c24a4c7f33ba4d87a ****/ + /****** BRepBlend_SurfCurvConstRadInv::BRepBlend_SurfCurvConstRadInv ******/ + /****** md5 signature: 413667a5e3be555bb1567d000f5c37ac ******/ %feature("compactdefaultargs") BRepBlend_SurfCurvConstRadInv; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface -C: Adaptor3d_HCurve -Cg: Adaptor3d_HCurve +S: Adaptor3d_Surface +C: Adaptor3d_Curve +Cg: Adaptor3d_Curve -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBlend_SurfCurvConstRadInv; - BRepBlend_SurfCurvConstRadInv(const opencascade::handle & S, const opencascade::handle & C, const opencascade::handle & Cg); + BRepBlend_SurfCurvConstRadInv(const opencascade::handle & S, const opencascade::handle & C, const opencascade::handle & Cg); - /****************** Derivatives ******************/ - /**** md5 signature: 80ee5f16e62731c095910ad60228848b ****/ + /****** BRepBlend_SurfCurvConstRadInv::Derivatives ******/ + /****** md5 signature: 80ee5f16e62731c095910ad60228848b ******/ %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", " Parameters ---------- X: math_Vector D: math_Matrix -Returns +Return ------- bool + +Description +----------- +returns the values of the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. ") Derivatives; Standard_Boolean Derivatives(const math_Vector & X, math_Matrix & D); - /****************** GetBounds ******************/ - /**** md5 signature: 73d101c74e718085b2fc8de28383bce3 ****/ + /****** BRepBlend_SurfCurvConstRadInv::GetBounds ******/ + /****** md5 signature: 73d101c74e718085b2fc8de28383bce3 ******/ %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. - + %feature("autodoc", " Parameters ---------- InfBound: math_Vector SupBound: math_Vector -Returns +Return ------- None + +Description +----------- +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. ") GetBounds; void GetBounds(math_Vector & InfBound, math_Vector & SupBound); - /****************** GetTolerance ******************/ - /**** md5 signature: 463e2084f8f6e4a4f87c36de6e9fd9c6 ****/ + /****** BRepBlend_SurfCurvConstRadInv::GetTolerance ******/ + /****** md5 signature: 463e2084f8f6e4a4f87c36de6e9fd9c6 ******/ %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", " Parameters ---------- Tolerance: math_Vector Tol: float -Returns +Return ------- None + +Description +----------- +Returns in the vector Tolerance the parametric tolerance for each of the 3 variables; Tol is the tolerance used in 3d space. ") GetTolerance; void GetTolerance(math_Vector & Tolerance, const Standard_Real Tol); - /****************** IsSolution ******************/ - /**** md5 signature: 0884df902635922234b529dc88a260b5 ****/ + /****** BRepBlend_SurfCurvConstRadInv::IsSolution ******/ + /****** md5 signature: 0884df902635922234b529dc88a260b5 ******/ %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", " Parameters ---------- Sol: math_Vector Tol: float -Returns +Return ------- bool + +Description +----------- +Returns Standard_True if Sol is a zero of the function. Tol is the tolerance used in 3d space. ") IsSolution; Standard_Boolean IsSolution(const math_Vector & Sol, const Standard_Real Tol); - /****************** NbEquations ******************/ - /**** md5 signature: 42be0dc2e32c8e563393e8490171707e ****/ + /****** BRepBlend_SurfCurvConstRadInv::NbEquations ******/ + /****** md5 signature: 42be0dc2e32c8e563393e8490171707e ******/ %feature("compactdefaultargs") NbEquations; - %feature("autodoc", "Returns 3. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +returns 3. ") NbEquations; Standard_Integer NbEquations(); - /****************** Set ******************/ - /**** md5 signature: 941166ee1a941569b8be371b05e6b601 ****/ + /****** BRepBlend_SurfCurvConstRadInv::Set ******/ + /****** md5 signature: 941166ee1a941569b8be371b05e6b601 ******/ %feature("compactdefaultargs") Set; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- R: float Choix: int -Returns +Return ------- None + +Description +----------- +No available documentation. ") Set; void Set(const Standard_Real R, const Standard_Integer Choix); - /****************** Set ******************/ - /**** md5 signature: 7f8b456aa3e7d8d6579c1f7d3144efc8 ****/ + /****** BRepBlend_SurfCurvConstRadInv::Set ******/ + /****** md5 signature: 1568bac490950a9b21e695223201919a ******/ %feature("compactdefaultargs") Set; - %feature("autodoc", "Set the restriction on which a solution has to be found. - + %feature("autodoc", " Parameters ---------- -Rst: Adaptor2d_HCurve2d +Rst: Adaptor2d_Curve2d -Returns +Return ------- None + +Description +----------- +Set the restriction on which a solution has to be found. ") Set; - void Set(const opencascade::handle & Rst); + void Set(const opencascade::handle & Rst); - /****************** Value ******************/ - /**** md5 signature: 31f6ba581b8fae503400d98976418349 ****/ + /****** BRepBlend_SurfCurvConstRadInv::Value ******/ + /****** md5 signature: 31f6ba581b8fae503400d98976418349 ******/ %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", " Parameters ---------- X: math_Vector F: math_Vector -Returns +Return ------- bool + +Description +----------- +computes the values of the Functions for the variable . Returns True if the computation was done successfully, False otherwise. ") Value; Standard_Boolean Value(const math_Vector & X, math_Vector & F); - /****************** Values ******************/ - /**** md5 signature: 17c41f2c2b925e9ddfe2f61a9052313c ****/ + /****** BRepBlend_SurfCurvConstRadInv::Values ******/ + /****** md5 signature: 17c41f2c2b925e9ddfe2f61a9052313c ******/ %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", " Parameters ---------- X: math_Vector F: math_Vector D: math_Matrix -Returns +Return ------- bool + +Description +----------- +returns the values of the functions and the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. ") Values; Standard_Boolean Values(const math_Vector & X, math_Vector & F, math_Matrix & D); @@ -3837,159 +5542,188 @@ bool *************************************/ class BRepBlend_SurfCurvEvolRadInv : public Blend_SurfCurvFuncInv { public: - /****************** BRepBlend_SurfCurvEvolRadInv ******************/ - /**** md5 signature: cdd2af0c9686051d434c5a2bc65db59b ****/ + /****** BRepBlend_SurfCurvEvolRadInv::BRepBlend_SurfCurvEvolRadInv ******/ + /****** md5 signature: f4c992f2047ba724a04cb63a1497cb15 ******/ %feature("compactdefaultargs") BRepBlend_SurfCurvEvolRadInv; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface -C: Adaptor3d_HCurve -Cg: Adaptor3d_HCurve +S: Adaptor3d_Surface +C: Adaptor3d_Curve +Cg: Adaptor3d_Curve Evol: Law_Function -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBlend_SurfCurvEvolRadInv; - BRepBlend_SurfCurvEvolRadInv(const opencascade::handle & S, const opencascade::handle & C, const opencascade::handle & Cg, const opencascade::handle & Evol); + BRepBlend_SurfCurvEvolRadInv(const opencascade::handle & S, const opencascade::handle & C, const opencascade::handle & Cg, const opencascade::handle & Evol); - /****************** Derivatives ******************/ - /**** md5 signature: 80ee5f16e62731c095910ad60228848b ****/ + /****** BRepBlend_SurfCurvEvolRadInv::Derivatives ******/ + /****** md5 signature: 80ee5f16e62731c095910ad60228848b ******/ %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", " Parameters ---------- X: math_Vector D: math_Matrix -Returns +Return ------- bool + +Description +----------- +returns the values of the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. ") Derivatives; Standard_Boolean Derivatives(const math_Vector & X, math_Matrix & D); - /****************** GetBounds ******************/ - /**** md5 signature: 73d101c74e718085b2fc8de28383bce3 ****/ + /****** BRepBlend_SurfCurvEvolRadInv::GetBounds ******/ + /****** md5 signature: 73d101c74e718085b2fc8de28383bce3 ******/ %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. - + %feature("autodoc", " Parameters ---------- InfBound: math_Vector SupBound: math_Vector -Returns +Return ------- None + +Description +----------- +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. ") GetBounds; void GetBounds(math_Vector & InfBound, math_Vector & SupBound); - /****************** GetTolerance ******************/ - /**** md5 signature: 463e2084f8f6e4a4f87c36de6e9fd9c6 ****/ + /****** BRepBlend_SurfCurvEvolRadInv::GetTolerance ******/ + /****** md5 signature: 463e2084f8f6e4a4f87c36de6e9fd9c6 ******/ %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", " Parameters ---------- Tolerance: math_Vector Tol: float -Returns +Return ------- None + +Description +----------- +Returns in the vector Tolerance the parametric tolerance for each of the 3 variables; Tol is the tolerance used in 3d space. ") GetTolerance; void GetTolerance(math_Vector & Tolerance, const Standard_Real Tol); - /****************** IsSolution ******************/ - /**** md5 signature: 0884df902635922234b529dc88a260b5 ****/ + /****** BRepBlend_SurfCurvEvolRadInv::IsSolution ******/ + /****** md5 signature: 0884df902635922234b529dc88a260b5 ******/ %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", " Parameters ---------- Sol: math_Vector Tol: float -Returns +Return ------- bool + +Description +----------- +Returns Standard_True if Sol is a zero of the function. Tol is the tolerance used in 3d space. ") IsSolution; Standard_Boolean IsSolution(const math_Vector & Sol, const Standard_Real Tol); - /****************** NbEquations ******************/ - /**** md5 signature: 42be0dc2e32c8e563393e8490171707e ****/ + /****** BRepBlend_SurfCurvEvolRadInv::NbEquations ******/ + /****** md5 signature: 42be0dc2e32c8e563393e8490171707e ******/ %feature("compactdefaultargs") NbEquations; - %feature("autodoc", "Returns 3. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +returns 3. ") NbEquations; Standard_Integer NbEquations(); - /****************** Set ******************/ - /**** md5 signature: d73c9c4058c0955fc8cd59888660f750 ****/ + /****** BRepBlend_SurfCurvEvolRadInv::Set ******/ + /****** md5 signature: d73c9c4058c0955fc8cd59888660f750 ******/ %feature("compactdefaultargs") Set; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Choix: int -Returns +Return ------- None + +Description +----------- +No available documentation. ") Set; void Set(const Standard_Integer Choix); - /****************** Set ******************/ - /**** md5 signature: 7f8b456aa3e7d8d6579c1f7d3144efc8 ****/ + /****** BRepBlend_SurfCurvEvolRadInv::Set ******/ + /****** md5 signature: 1568bac490950a9b21e695223201919a ******/ %feature("compactdefaultargs") Set; - %feature("autodoc", "Set the restriction on which a solution has to be found. - + %feature("autodoc", " Parameters ---------- -Rst: Adaptor2d_HCurve2d +Rst: Adaptor2d_Curve2d -Returns +Return ------- None + +Description +----------- +Set the restriction on which a solution has to be found. ") Set; - void Set(const opencascade::handle & Rst); + void Set(const opencascade::handle & Rst); - /****************** Value ******************/ - /**** md5 signature: 31f6ba581b8fae503400d98976418349 ****/ + /****** BRepBlend_SurfCurvEvolRadInv::Value ******/ + /****** md5 signature: 31f6ba581b8fae503400d98976418349 ******/ %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", " Parameters ---------- X: math_Vector F: math_Vector -Returns +Return ------- bool + +Description +----------- +computes the values of the Functions for the variable . Returns True if the computation was done successfully, False otherwise. ") Value; Standard_Boolean Value(const math_Vector & X, math_Vector & F); - /****************** Values ******************/ - /**** md5 signature: 17c41f2c2b925e9ddfe2f61a9052313c ****/ + /****** BRepBlend_SurfCurvEvolRadInv::Values ******/ + /****** md5 signature: 17c41f2c2b925e9ddfe2f61a9052313c ******/ %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", " Parameters ---------- X: math_Vector F: math_Vector D: math_Matrix -Returns +Return ------- bool + +Description +----------- +returns the values of the functions and the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. ") Values; Standard_Boolean Values(const math_Vector & X, math_Vector & F, math_Matrix & D); @@ -4007,158 +5741,187 @@ bool ***************************************/ class BRepBlend_SurfPointConstRadInv : public Blend_SurfPointFuncInv { public: - /****************** BRepBlend_SurfPointConstRadInv ******************/ - /**** md5 signature: a92478616365f23e2ac95b28299eff0e ****/ + /****** BRepBlend_SurfPointConstRadInv::BRepBlend_SurfPointConstRadInv ******/ + /****** md5 signature: 993f0d82d4c56cde29f6ef73aee3531d ******/ %feature("compactdefaultargs") BRepBlend_SurfPointConstRadInv; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface -C: Adaptor3d_HCurve +S: Adaptor3d_Surface +C: Adaptor3d_Curve -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBlend_SurfPointConstRadInv; - BRepBlend_SurfPointConstRadInv(const opencascade::handle & S, const opencascade::handle & C); + BRepBlend_SurfPointConstRadInv(const opencascade::handle & S, const opencascade::handle & C); - /****************** Derivatives ******************/ - /**** md5 signature: 80ee5f16e62731c095910ad60228848b ****/ + /****** BRepBlend_SurfPointConstRadInv::Derivatives ******/ + /****** md5 signature: 80ee5f16e62731c095910ad60228848b ******/ %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", " Parameters ---------- X: math_Vector D: math_Matrix -Returns +Return ------- bool + +Description +----------- +returns the values of the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. ") Derivatives; Standard_Boolean Derivatives(const math_Vector & X, math_Matrix & D); - /****************** GetBounds ******************/ - /**** md5 signature: 73d101c74e718085b2fc8de28383bce3 ****/ + /****** BRepBlend_SurfPointConstRadInv::GetBounds ******/ + /****** md5 signature: 73d101c74e718085b2fc8de28383bce3 ******/ %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. - + %feature("autodoc", " Parameters ---------- InfBound: math_Vector SupBound: math_Vector -Returns +Return ------- None + +Description +----------- +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. ") GetBounds; void GetBounds(math_Vector & InfBound, math_Vector & SupBound); - /****************** GetTolerance ******************/ - /**** md5 signature: 463e2084f8f6e4a4f87c36de6e9fd9c6 ****/ + /****** BRepBlend_SurfPointConstRadInv::GetTolerance ******/ + /****** md5 signature: 463e2084f8f6e4a4f87c36de6e9fd9c6 ******/ %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", " Parameters ---------- Tolerance: math_Vector Tol: float -Returns +Return ------- None + +Description +----------- +Returns in the vector Tolerance the parametric tolerance for each of the 3 variables; Tol is the tolerance used in 3d space. ") GetTolerance; void GetTolerance(math_Vector & Tolerance, const Standard_Real Tol); - /****************** IsSolution ******************/ - /**** md5 signature: 0884df902635922234b529dc88a260b5 ****/ + /****** BRepBlend_SurfPointConstRadInv::IsSolution ******/ + /****** md5 signature: 0884df902635922234b529dc88a260b5 ******/ %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", " Parameters ---------- Sol: math_Vector Tol: float -Returns +Return ------- bool + +Description +----------- +Returns Standard_True if Sol is a zero of the function. Tol is the tolerance used in 3d space. ") IsSolution; Standard_Boolean IsSolution(const math_Vector & Sol, const Standard_Real Tol); - /****************** NbEquations ******************/ - /**** md5 signature: 42be0dc2e32c8e563393e8490171707e ****/ + /****** BRepBlend_SurfPointConstRadInv::NbEquations ******/ + /****** md5 signature: 42be0dc2e32c8e563393e8490171707e ******/ %feature("compactdefaultargs") NbEquations; - %feature("autodoc", "Returns 3. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +returns 3. ") NbEquations; Standard_Integer NbEquations(); - /****************** Set ******************/ - /**** md5 signature: 941166ee1a941569b8be371b05e6b601 ****/ + /****** BRepBlend_SurfPointConstRadInv::Set ******/ + /****** md5 signature: 941166ee1a941569b8be371b05e6b601 ******/ %feature("compactdefaultargs") Set; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- R: float Choix: int -Returns +Return ------- None + +Description +----------- +No available documentation. ") Set; void Set(const Standard_Real R, const Standard_Integer Choix); - /****************** Set ******************/ - /**** md5 signature: db883cf63ff497749765a1588d5f0509 ****/ + /****** BRepBlend_SurfPointConstRadInv::Set ******/ + /****** md5 signature: db883cf63ff497749765a1588d5f0509 ******/ %feature("compactdefaultargs") Set; - %feature("autodoc", "Set the point on which a solution has to be found. - + %feature("autodoc", " Parameters ---------- P: gp_Pnt -Returns +Return ------- None + +Description +----------- +Set the Point on which a solution has to be found. ") Set; void Set(const gp_Pnt & P); - /****************** Value ******************/ - /**** md5 signature: 31f6ba581b8fae503400d98976418349 ****/ + /****** BRepBlend_SurfPointConstRadInv::Value ******/ + /****** md5 signature: 31f6ba581b8fae503400d98976418349 ******/ %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", " Parameters ---------- X: math_Vector F: math_Vector -Returns +Return ------- bool + +Description +----------- +computes the values of the Functions for the variable . Returns True if the computation was done successfully, False otherwise. ") Value; Standard_Boolean Value(const math_Vector & X, math_Vector & F); - /****************** Values ******************/ - /**** md5 signature: 17c41f2c2b925e9ddfe2f61a9052313c ****/ + /****** BRepBlend_SurfPointConstRadInv::Values ******/ + /****** md5 signature: 17c41f2c2b925e9ddfe2f61a9052313c ******/ %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", " Parameters ---------- X: math_Vector F: math_Vector D: math_Matrix -Returns +Return ------- bool + +Description +----------- +returns the values of the functions and the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. ") Values; Standard_Boolean Values(const math_Vector & X, math_Vector & F, math_Matrix & D); @@ -4176,158 +5939,187 @@ bool **************************************/ class BRepBlend_SurfPointEvolRadInv : public Blend_SurfPointFuncInv { public: - /****************** BRepBlend_SurfPointEvolRadInv ******************/ - /**** md5 signature: e1a872f2bf36c0f7fa4261ef950f62f3 ****/ + /****** BRepBlend_SurfPointEvolRadInv::BRepBlend_SurfPointEvolRadInv ******/ + /****** md5 signature: f3eea577ae1852a9a7135e6772c85ac4 ******/ %feature("compactdefaultargs") BRepBlend_SurfPointEvolRadInv; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -S: Adaptor3d_HSurface -C: Adaptor3d_HCurve +S: Adaptor3d_Surface +C: Adaptor3d_Curve Evol: Law_Function -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBlend_SurfPointEvolRadInv; - BRepBlend_SurfPointEvolRadInv(const opencascade::handle & S, const opencascade::handle & C, const opencascade::handle & Evol); + BRepBlend_SurfPointEvolRadInv(const opencascade::handle & S, const opencascade::handle & C, const opencascade::handle & Evol); - /****************** Derivatives ******************/ - /**** md5 signature: 80ee5f16e62731c095910ad60228848b ****/ + /****** BRepBlend_SurfPointEvolRadInv::Derivatives ******/ + /****** md5 signature: 80ee5f16e62731c095910ad60228848b ******/ %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", " Parameters ---------- X: math_Vector D: math_Matrix -Returns +Return ------- bool + +Description +----------- +returns the values of the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. ") Derivatives; Standard_Boolean Derivatives(const math_Vector & X, math_Matrix & D); - /****************** GetBounds ******************/ - /**** md5 signature: 73d101c74e718085b2fc8de28383bce3 ****/ + /****** BRepBlend_SurfPointEvolRadInv::GetBounds ******/ + /****** md5 signature: 73d101c74e718085b2fc8de28383bce3 ******/ %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. - + %feature("autodoc", " Parameters ---------- InfBound: math_Vector SupBound: math_Vector -Returns +Return ------- None + +Description +----------- +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. ") GetBounds; void GetBounds(math_Vector & InfBound, math_Vector & SupBound); - /****************** GetTolerance ******************/ - /**** md5 signature: 463e2084f8f6e4a4f87c36de6e9fd9c6 ****/ + /****** BRepBlend_SurfPointEvolRadInv::GetTolerance ******/ + /****** md5 signature: 463e2084f8f6e4a4f87c36de6e9fd9c6 ******/ %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", " Parameters ---------- Tolerance: math_Vector Tol: float -Returns +Return ------- None + +Description +----------- +Returns in the vector Tolerance the parametric tolerance for each of the 3 variables; Tol is the tolerance used in 3d space. ") GetTolerance; void GetTolerance(math_Vector & Tolerance, const Standard_Real Tol); - /****************** IsSolution ******************/ - /**** md5 signature: 0884df902635922234b529dc88a260b5 ****/ + /****** BRepBlend_SurfPointEvolRadInv::IsSolution ******/ + /****** md5 signature: 0884df902635922234b529dc88a260b5 ******/ %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", " Parameters ---------- Sol: math_Vector Tol: float -Returns +Return ------- bool + +Description +----------- +Returns Standard_True if Sol is a zero of the function. Tol is the tolerance used in 3d space. ") IsSolution; Standard_Boolean IsSolution(const math_Vector & Sol, const Standard_Real Tol); - /****************** NbEquations ******************/ - /**** md5 signature: 42be0dc2e32c8e563393e8490171707e ****/ + /****** BRepBlend_SurfPointEvolRadInv::NbEquations ******/ + /****** md5 signature: 42be0dc2e32c8e563393e8490171707e ******/ %feature("compactdefaultargs") NbEquations; - %feature("autodoc", "Returns 3. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +returns 3. ") NbEquations; Standard_Integer NbEquations(); - /****************** Set ******************/ - /**** md5 signature: d73c9c4058c0955fc8cd59888660f750 ****/ + /****** BRepBlend_SurfPointEvolRadInv::Set ******/ + /****** md5 signature: d73c9c4058c0955fc8cd59888660f750 ******/ %feature("compactdefaultargs") Set; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Choix: int -Returns +Return ------- None + +Description +----------- +No available documentation. ") Set; void Set(const Standard_Integer Choix); - /****************** Set ******************/ - /**** md5 signature: db883cf63ff497749765a1588d5f0509 ****/ + /****** BRepBlend_SurfPointEvolRadInv::Set ******/ + /****** md5 signature: db883cf63ff497749765a1588d5f0509 ******/ %feature("compactdefaultargs") Set; - %feature("autodoc", "Set the point on which a solution has to be found. - + %feature("autodoc", " Parameters ---------- P: gp_Pnt -Returns +Return ------- None + +Description +----------- +Set the Point on which a solution has to be found. ") Set; void Set(const gp_Pnt & P); - /****************** Value ******************/ - /**** md5 signature: 31f6ba581b8fae503400d98976418349 ****/ + /****** BRepBlend_SurfPointEvolRadInv::Value ******/ + /****** md5 signature: 31f6ba581b8fae503400d98976418349 ******/ %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", " Parameters ---------- X: math_Vector F: math_Vector -Returns +Return ------- bool + +Description +----------- +computes the values of the Functions for the variable . Returns True if the computation was done successfully, False otherwise. ") Value; Standard_Boolean Value(const math_Vector & X, math_Vector & F); - /****************** Values ******************/ - /**** md5 signature: 17c41f2c2b925e9ddfe2f61a9052313c ****/ + /****** BRepBlend_SurfPointEvolRadInv::Values ******/ + /****** md5 signature: 17c41f2c2b925e9ddfe2f61a9052313c ******/ %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", " Parameters ---------- X: math_Vector F: math_Vector D: math_Matrix -Returns +Return ------- bool + +Description +----------- +returns the values of the functions and the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. ") Values; Standard_Boolean Values(const math_Vector & X, math_Vector & F, math_Matrix & D); @@ -4345,148 +6137,172 @@ bool **********************************/ class BRepBlend_SurfRstConstRad : public Blend_SurfRstFunction { public: - /****************** BRepBlend_SurfRstConstRad ******************/ - /**** md5 signature: 43cb2559b69d5e498ec597fa336346ec ****/ + /****** BRepBlend_SurfRstConstRad::BRepBlend_SurfRstConstRad ******/ + /****** md5 signature: 61178a969de9578c5b02b8a945a3f459 ******/ %feature("compactdefaultargs") BRepBlend_SurfRstConstRad; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Surf: Adaptor3d_HSurface -SurfRst: Adaptor3d_HSurface -Rst: Adaptor2d_HCurve2d -CGuide: Adaptor3d_HCurve +Surf: Adaptor3d_Surface +SurfRst: Adaptor3d_Surface +Rst: Adaptor2d_Curve2d +CGuide: Adaptor3d_Curve -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBlend_SurfRstConstRad; - BRepBlend_SurfRstConstRad(const opencascade::handle & Surf, const opencascade::handle & SurfRst, const opencascade::handle & Rst, const opencascade::handle & CGuide); + BRepBlend_SurfRstConstRad(const opencascade::handle & Surf, const opencascade::handle & SurfRst, const opencascade::handle & Rst, const opencascade::handle & CGuide); - /****************** Decroch ******************/ - /**** md5 signature: 7b97fab9290fe599257ab8ce84870242 ****/ + /****** BRepBlend_SurfRstConstRad::Decroch ******/ + /****** md5 signature: 7b97fab9290fe599257ab8ce84870242 ******/ %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. - + %feature("autodoc", " Parameters ---------- Sol: math_Vector NS: gp_Vec TgS: gp_Vec -Returns +Return ------- bool + +Description +----------- +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. ") Decroch; Standard_Boolean Decroch(const math_Vector & Sol, gp_Vec & NS, gp_Vec & TgS); - /****************** Derivatives ******************/ - /**** md5 signature: 940fde1549012c9025c437a16f7d8c18 ****/ + /****** BRepBlend_SurfRstConstRad::Derivatives ******/ + /****** md5 signature: 940fde1549012c9025c437a16f7d8c18 ******/ %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", " Parameters ---------- X: math_Vector D: math_Matrix -Returns +Return ------- bool + +Description +----------- +returns the values of the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. ") Derivatives; Standard_Boolean Derivatives(const math_Vector & X, math_Matrix & D); - /****************** GetBounds ******************/ - /**** md5 signature: 7f39b43072461a3f70a63d3178e97743 ****/ + /****** BRepBlend_SurfRstConstRad::GetBounds ******/ + /****** md5 signature: 7f39b43072461a3f70a63d3178e97743 ******/ %feature("compactdefaultargs") GetBounds; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- InfBound: math_Vector SupBound: math_Vector -Returns +Return ------- None + +Description +----------- +No available documentation. ") GetBounds; void GetBounds(math_Vector & InfBound, math_Vector & SupBound); - /****************** GetMinimalDistance ******************/ - /**** md5 signature: b7112b2680da59932f7cc20412f85fda ****/ + /****** BRepBlend_SurfRstConstRad::GetMinimalDistance ******/ + /****** md5 signature: b7112b2680da59932f7cc20412f85fda ******/ %feature("compactdefaultargs") GetMinimalDistance; - %feature("autodoc", "Returns the minimal distance beetween two extremitys of calculed sections. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the minimal Distance between two extremities of calculated sections. ") GetMinimalDistance; virtual Standard_Real GetMinimalDistance(); - /****************** GetMinimalWeight ******************/ - /**** md5 signature: f84aaf80601cfa818dfe6e9dd3bec152 ****/ + /****** BRepBlend_SurfRstConstRad::GetMinimalWeight ******/ + /****** md5 signature: f84aaf80601cfa818dfe6e9dd3bec152 ******/ %feature("compactdefaultargs") GetMinimalWeight; - %feature("autodoc", "Compute the minimal value of weight for each poles of all sections. - + %feature("autodoc", " Parameters ---------- Weigths: TColStd_Array1OfReal -Returns +Return ------- None + +Description +----------- +Compute the minimal value of weight for each poles of all sections. ") GetMinimalWeight; void GetMinimalWeight(TColStd_Array1OfReal & Weigths); - /****************** GetSectionSize ******************/ - /**** md5 signature: bf1917f305e490b557c33ddc30e16dc7 ****/ + /****** BRepBlend_SurfRstConstRad::GetSectionSize ******/ + /****** md5 signature: bf1917f305e490b557c33ddc30e16dc7 ******/ %feature("compactdefaultargs") GetSectionSize; - %feature("autodoc", "Returns the length of the maximum section. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the length of the maximum section. ") GetSectionSize; Standard_Real GetSectionSize(); - /****************** GetShape ******************/ - /**** md5 signature: 6b9d3e113e9e6721b2abf4c094cdd226 ****/ + /****** BRepBlend_SurfRstConstRad::GetShape ******/ + /****** md5 signature: 6b9d3e113e9e6721b2abf4c094cdd226 ******/ %feature("compactdefaultargs") GetShape; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- NbPoles: int NbKnots: int Degree: int NbPoles2d: int + +Description +----------- +No available documentation. ") GetShape; void GetShape(Standard_Integer &OutValue, Standard_Integer &OutValue, Standard_Integer &OutValue, Standard_Integer &OutValue); - /****************** GetTolerance ******************/ - /**** md5 signature: db57a1b1119c0b1280472660909013c2 ****/ + /****** BRepBlend_SurfRstConstRad::GetTolerance ******/ + /****** md5 signature: db57a1b1119c0b1280472660909013c2 ******/ %feature("compactdefaultargs") GetTolerance; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Tolerance: math_Vector Tol: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") GetTolerance; void GetTolerance(math_Vector & Tolerance, const Standard_Real Tol); - /****************** GetTolerance ******************/ - /**** md5 signature: be5e2f2cb95c7dbdff402ed78245d7d7 ****/ + /****** BRepBlend_SurfRstConstRad::GetTolerance ******/ + /****** md5 signature: be5e2f2cb95c7dbdff402ed78245d7d7 ******/ %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", " Parameters ---------- BoundTol: float @@ -4495,210 +6311,249 @@ AngleTol: float Tol3d: math_Vector Tol1D: math_Vector -Returns +Return ------- None + +Description +----------- +Returns the tolerance to reach in approximation to respect BoundTol error at the Boundary AngleTol tangent error at the Boundary SurfTol error inside the surface. ") GetTolerance; void GetTolerance(const Standard_Real BoundTol, const Standard_Real SurfTol, const Standard_Real AngleTol, math_Vector & Tol3d, math_Vector & Tol1D); - /****************** Intervals ******************/ - /**** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ****/ + /****** BRepBlend_SurfRstConstRad::Intervals ******/ + /****** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ******/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). - + %feature("autodoc", " Parameters ---------- T: TColStd_Array1OfReal S: GeomAbs_Shape -Returns +Return ------- None + +Description +----------- +Stores in the parameters bounding the intervals of continuity . The array must provide enough room to accommodate for the parameters. i.e. T.Length() > NbIntervals(). ") Intervals; void Intervals(TColStd_Array1OfReal & T, const GeomAbs_Shape S); - /****************** IsRational ******************/ - /**** md5 signature: 82ca56fad113156125f40128b25c0d8e ****/ + /****** BRepBlend_SurfRstConstRad::IsRational ******/ + /****** md5 signature: 82ca56fad113156125f40128b25c0d8e ******/ %feature("compactdefaultargs") IsRational; - %feature("autodoc", "Returns if the section is rationnal. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns if the section is rational. ") IsRational; Standard_Boolean IsRational(); - /****************** IsSolution ******************/ - /**** md5 signature: 89ff6b5b0ad96a1e505d615e14235bad ****/ + /****** BRepBlend_SurfRstConstRad::IsSolution ******/ + /****** md5 signature: 89ff6b5b0ad96a1e505d615e14235bad ******/ %feature("compactdefaultargs") IsSolution; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Sol: math_Vector Tol: float -Returns +Return ------- bool + +Description +----------- +No available documentation. ") IsSolution; Standard_Boolean IsSolution(const math_Vector & Sol, const Standard_Real Tol); - /****************** IsTangencyPoint ******************/ - /**** md5 signature: 6f3e518ba9796f381f39631e22124ef0 ****/ + /****** BRepBlend_SurfRstConstRad::IsTangencyPoint ******/ + /****** md5 signature: 6f3e518ba9796f381f39631e22124ef0 ******/ %feature("compactdefaultargs") IsTangencyPoint; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsTangencyPoint; Standard_Boolean IsTangencyPoint(); - /****************** Knots ******************/ - /**** md5 signature: a226854cd9eac08cbe4282feaa46c20d ****/ + /****** BRepBlend_SurfRstConstRad::Knots ******/ + /****** md5 signature: a226854cd9eac08cbe4282feaa46c20d ******/ %feature("compactdefaultargs") Knots; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- TKnots: TColStd_Array1OfReal -Returns +Return ------- None + +Description +----------- +No available documentation. ") Knots; void Knots(TColStd_Array1OfReal & TKnots); - /****************** Mults ******************/ - /**** md5 signature: 36c77711e4160fb27b24b90b8fa7c6de ****/ + /****** BRepBlend_SurfRstConstRad::Mults ******/ + /****** md5 signature: 36c77711e4160fb27b24b90b8fa7c6de ******/ %feature("compactdefaultargs") Mults; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- TMults: TColStd_Array1OfInteger -Returns +Return ------- None + +Description +----------- +No available documentation. ") Mults; void Mults(TColStd_Array1OfInteger & TMults); - /****************** NbEquations ******************/ - /**** md5 signature: 23bde6b2e3d1ee771730481f97ff7ae2 ****/ + /****** BRepBlend_SurfRstConstRad::NbEquations ******/ + /****** md5 signature: 23bde6b2e3d1ee771730481f97ff7ae2 ******/ %feature("compactdefaultargs") NbEquations; - %feature("autodoc", "Returns 3. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns 3. ") NbEquations; Standard_Integer NbEquations(); - /****************** NbIntervals ******************/ - /**** md5 signature: 8ce4f61bff96d1ce0784028b47edd8dc ****/ + /****** BRepBlend_SurfRstConstRad::NbIntervals ******/ + /****** md5 signature: 8ce4f61bff96d1ce0784028b47edd8dc ******/ %feature("compactdefaultargs") NbIntervals; - %feature("autodoc", "Returns the number of intervals for continuity . may be one if continuity(me) >= . - + %feature("autodoc", " Parameters ---------- S: GeomAbs_Shape -Returns +Return ------- int + +Description +----------- +Returns the number of intervals for continuity . May be one if Continuity(me) >= . ") NbIntervals; Standard_Integer NbIntervals(const GeomAbs_Shape S); - /****************** NbVariables ******************/ - /**** md5 signature: c99b0d96b9b2c7c3fd7890618502162b ****/ + /****** BRepBlend_SurfRstConstRad::NbVariables ******/ + /****** md5 signature: c99b0d96b9b2c7c3fd7890618502162b ******/ %feature("compactdefaultargs") NbVariables; - %feature("autodoc", "Returns 3. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns 3. ") NbVariables; Standard_Integer NbVariables(); - /****************** ParameterOnRst ******************/ - /**** md5 signature: 7e31a9a50b0e16d757ff5e9a2545014c ****/ + /****** BRepBlend_SurfRstConstRad::ParameterOnRst ******/ + /****** md5 signature: 7e31a9a50b0e16d757ff5e9a2545014c ******/ %feature("compactdefaultargs") ParameterOnRst; - %feature("autodoc", "Returns parameter of the point on the curve. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns parameter of the point on the curve. ") ParameterOnRst; Standard_Real ParameterOnRst(); - /****************** Pnt2dOnRst ******************/ - /**** md5 signature: be6301599a2805e86c2f189218545e8d ****/ + /****** BRepBlend_SurfRstConstRad::Pnt2dOnRst ******/ + /****** md5 signature: be6301599a2805e86c2f189218545e8d ******/ %feature("compactdefaultargs") Pnt2dOnRst; - %feature("autodoc", "Returns u,v coordinates of the point on the curve on surface. - -Returns + %feature("autodoc", "Return ------- gp_Pnt2d + +Description +----------- +Returns U,V coordinates of the point on the curve on surface. ") Pnt2dOnRst; const gp_Pnt2d Pnt2dOnRst(); - /****************** Pnt2dOnS ******************/ - /**** md5 signature: 17442813aa59649b001e1e639324e582 ****/ + /****** BRepBlend_SurfRstConstRad::Pnt2dOnS ******/ + /****** md5 signature: 17442813aa59649b001e1e639324e582 ******/ %feature("compactdefaultargs") Pnt2dOnS; - %feature("autodoc", "Returns u,v coordinates of the point on the surface. - -Returns + %feature("autodoc", "Return ------- gp_Pnt2d + +Description +----------- +Returns U,V coordinates of the point on the surface. ") Pnt2dOnS; const gp_Pnt2d Pnt2dOnS(); - /****************** PointOnRst ******************/ - /**** md5 signature: 8bca30b1c57a5ca26f02cdaf7dbf609a ****/ + /****** BRepBlend_SurfRstConstRad::PointOnRst ******/ + /****** md5 signature: 8bca30b1c57a5ca26f02cdaf7dbf609a ******/ %feature("compactdefaultargs") PointOnRst; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Pnt + +Description +----------- +No available documentation. ") PointOnRst; const gp_Pnt PointOnRst(); - /****************** PointOnS ******************/ - /**** md5 signature: d0ce1246a72267935632a60d95848390 ****/ + /****** BRepBlend_SurfRstConstRad::PointOnS ******/ + /****** md5 signature: d0ce1246a72267935632a60d95848390 ******/ %feature("compactdefaultargs") PointOnS; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Pnt + +Description +----------- +No available documentation. ") PointOnS; const gp_Pnt PointOnS(); - /****************** Resolution ******************/ - /**** md5 signature: 1f885646df74c72ec13d37a113377aaa ****/ + /****** BRepBlend_SurfRstConstRad::Resolution ******/ + /****** md5 signature: 1f885646df74c72ec13d37a113377aaa ******/ %feature("compactdefaultargs") Resolution; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- IC2d: int Tol: float -Returns +Return ------- TolU: float TolV: float + +Description +----------- +No available documentation. ") Resolution; void Resolution(const Standard_Integer IC2d, const Standard_Real Tol, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** Section ******************/ - /**** md5 signature: c6f45fdc6c5dce2cea7b90328e5e99d9 ****/ + /****** BRepBlend_SurfRstConstRad::Section ******/ + /****** md5 signature: c6f45fdc6c5dce2cea7b90328e5e99d9 ******/ %feature("compactdefaultargs") Section; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Param: float @@ -4707,18 +6562,21 @@ V: float W: float C: gp_Circ -Returns +Return ------- Pdeb: float Pfin: float + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: 906e6a4bef3056546e496b945ff8d788 ****/ + /****** BRepBlend_SurfRstConstRad::Section ******/ + /****** md5 signature: 906e6a4bef3056546e496b945ff8d788 ******/ %feature("compactdefaultargs") Section; - %feature("autodoc", "Used for the first and last section. - + %feature("autodoc", " Parameters ---------- P: Blend_Point @@ -4729,17 +6587,20 @@ DPoles2d: TColgp_Array1OfVec2d Weigths: TColStd_Array1OfReal DWeigths: TColStd_Array1OfReal -Returns +Return ------- bool + +Description +----------- +Used for the first and last section. ") 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 ******************/ - /**** md5 signature: b6f1107f21a9bc6524bdd8152abaed5f ****/ + /****** BRepBlend_SurfRstConstRad::Section ******/ + /****** md5 signature: b6f1107f21a9bc6524bdd8152abaed5f ******/ %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. - + %feature("autodoc", " Parameters ---------- P: Blend_Point @@ -4753,17 +6614,20 @@ Weigths: TColStd_Array1OfReal DWeigths: TColStd_Array1OfReal D2Weigths: TColStd_Array1OfReal -Returns +Return ------- bool + +Description +----------- +Used for the first and last section The method returns Standard_True if the derivatives are computed, otherwise it returns Standard_False. ") 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 ******************/ - /**** md5 signature: 50af689ba5abf11bb271a06ac70b2d69 ****/ + /****** BRepBlend_SurfRstConstRad::Section ******/ + /****** md5 signature: 50af689ba5abf11bb271a06ac70b2d69 ******/ %feature("compactdefaultargs") Section; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P: Blend_Point @@ -4771,164 +6635,197 @@ Poles: TColgp_Array1OfPnt Poles2d: TColgp_Array1OfPnt2d Weigths: TColStd_Array1OfReal -Returns +Return ------- None + +Description +----------- +No available documentation. ") Section; void Section(const Blend_Point & P, TColgp_Array1OfPnt & Poles, TColgp_Array1OfPnt2d & Poles2d, TColStd_Array1OfReal & Weigths); - /****************** Set ******************/ - /**** md5 signature: 45827773e540a48ed043070ebdcad334 ****/ + /****** BRepBlend_SurfRstConstRad::Set ******/ + /****** md5 signature: 51edc1a46f9014e3188bd66241af17c6 ******/ %feature("compactdefaultargs") Set; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -SurfRef: Adaptor3d_HSurface -RstRef: Adaptor2d_HCurve2d +SurfRef: Adaptor3d_Surface +RstRef: Adaptor2d_Curve2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") Set; - void Set(const opencascade::handle & SurfRef, const opencascade::handle & RstRef); + void Set(const opencascade::handle & SurfRef, const opencascade::handle & RstRef); - /****************** Set ******************/ - /**** md5 signature: a955f35e9076d1c844b9a2aa89b226bf ****/ + /****** BRepBlend_SurfRstConstRad::Set ******/ + /****** md5 signature: a955f35e9076d1c844b9a2aa89b226bf ******/ %feature("compactdefaultargs") Set; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Param: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") Set; void Set(const Standard_Real Param); - /****************** Set ******************/ - /**** md5 signature: 7d0982b9e2ba9cb3c696f620150f4f9c ****/ + /****** BRepBlend_SurfRstConstRad::Set ******/ + /****** md5 signature: 7d0982b9e2ba9cb3c696f620150f4f9c ******/ %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. - + %feature("autodoc", " Parameters ---------- First: float Last: float -Returns +Return ------- None + +Description +----------- +Sets the bounds of the parametric interval on the guide line. This determines the derivatives in these values if the function is not Cn. ") Set; void Set(const Standard_Real First, const Standard_Real Last); - /****************** Set ******************/ - /**** md5 signature: 99fe75aea7947575eb6b646d1797f9da ****/ + /****** BRepBlend_SurfRstConstRad::Set ******/ + /****** md5 signature: 99fe75aea7947575eb6b646d1797f9da ******/ %feature("compactdefaultargs") Set; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Radius: float Choix: int -Returns +Return ------- None + +Description +----------- +No available documentation. ") Set; void Set(const Standard_Real Radius, const Standard_Integer Choix); - /****************** Set ******************/ - /**** md5 signature: 94cfe331c662a2ba190837b24fee3b95 ****/ + /****** BRepBlend_SurfRstConstRad::Set ******/ + /****** md5 signature: 94cfe331c662a2ba190837b24fee3b95 ******/ %feature("compactdefaultargs") Set; - %feature("autodoc", "Sets the type of section generation for the approximations. - + %feature("autodoc", " Parameters ---------- TypeSection: BlendFunc_SectionShape -Returns +Return ------- None + +Description +----------- +Sets the type of section generation for the approximations. ") Set; void Set(const BlendFunc_SectionShape TypeSection); - /****************** Tangent2dOnRst ******************/ - /**** md5 signature: a67df95e06afdcf2e410ba7d891bdc53 ****/ + /****** BRepBlend_SurfRstConstRad::Tangent2dOnRst ******/ + /****** md5 signature: a67df95e06afdcf2e410ba7d891bdc53 ******/ %feature("compactdefaultargs") Tangent2dOnRst; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Vec2d + +Description +----------- +No available documentation. ") Tangent2dOnRst; const gp_Vec2d Tangent2dOnRst(); - /****************** Tangent2dOnS ******************/ - /**** md5 signature: e102a4d332cc3b92c9252bebc7ca2a2f ****/ + /****** BRepBlend_SurfRstConstRad::Tangent2dOnS ******/ + /****** md5 signature: e102a4d332cc3b92c9252bebc7ca2a2f ******/ %feature("compactdefaultargs") Tangent2dOnS; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Vec2d + +Description +----------- +No available documentation. ") Tangent2dOnS; const gp_Vec2d Tangent2dOnS(); - /****************** TangentOnRst ******************/ - /**** md5 signature: ee94795e8a03889a76a13b1b2ac6b614 ****/ + /****** BRepBlend_SurfRstConstRad::TangentOnRst ******/ + /****** md5 signature: ee94795e8a03889a76a13b1b2ac6b614 ******/ %feature("compactdefaultargs") TangentOnRst; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Vec + +Description +----------- +No available documentation. ") TangentOnRst; const gp_Vec TangentOnRst(); - /****************** TangentOnS ******************/ - /**** md5 signature: 48a27063e2cf1be2b2c56ad8f774bd84 ****/ + /****** BRepBlend_SurfRstConstRad::TangentOnS ******/ + /****** md5 signature: 48a27063e2cf1be2b2c56ad8f774bd84 ******/ %feature("compactdefaultargs") TangentOnS; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Vec + +Description +----------- +No available documentation. ") TangentOnS; const gp_Vec TangentOnS(); - /****************** Value ******************/ - /**** md5 signature: 1b689850305d8b13f289849027f0887b ****/ + /****** BRepBlend_SurfRstConstRad::Value ******/ + /****** md5 signature: 1b689850305d8b13f289849027f0887b ******/ %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", " Parameters ---------- X: math_Vector F: math_Vector -Returns +Return ------- bool + +Description +----------- +computes the values of the Functions for the variable . Returns True if the computation was done successfully, False otherwise. ") Value; Standard_Boolean Value(const math_Vector & X, math_Vector & F); - /****************** Values ******************/ - /**** md5 signature: cb66193525cc0a7235a2cde2a228308b ****/ + /****** BRepBlend_SurfRstConstRad::Values ******/ + /****** md5 signature: cb66193525cc0a7235a2cde2a228308b ******/ %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", " Parameters ---------- X: math_Vector F: math_Vector D: math_Matrix -Returns +Return ------- bool + +Description +----------- +returns the values of the functions and the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. ") Values; Standard_Boolean Values(const math_Vector & X, math_Vector & F, math_Matrix & D); @@ -4946,149 +6843,173 @@ bool *********************************/ class BRepBlend_SurfRstEvolRad : public Blend_SurfRstFunction { public: - /****************** BRepBlend_SurfRstEvolRad ******************/ - /**** md5 signature: a900f3bd8b402a53ff306bb2d36fda91 ****/ + /****** BRepBlend_SurfRstEvolRad::BRepBlend_SurfRstEvolRad ******/ + /****** md5 signature: 06cb46291f703c140349a3b88ec0c690 ******/ %feature("compactdefaultargs") BRepBlend_SurfRstEvolRad; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Surf: Adaptor3d_HSurface -SurfRst: Adaptor3d_HSurface -Rst: Adaptor2d_HCurve2d -CGuide: Adaptor3d_HCurve +Surf: Adaptor3d_Surface +SurfRst: Adaptor3d_Surface +Rst: Adaptor2d_Curve2d +CGuide: Adaptor3d_Curve Evol: Law_Function -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBlend_SurfRstEvolRad; - BRepBlend_SurfRstEvolRad(const opencascade::handle & Surf, const opencascade::handle & SurfRst, const opencascade::handle & Rst, const opencascade::handle & CGuide, const opencascade::handle & Evol); + BRepBlend_SurfRstEvolRad(const opencascade::handle & Surf, const opencascade::handle & SurfRst, const opencascade::handle & Rst, const opencascade::handle & CGuide, const opencascade::handle & Evol); - /****************** Decroch ******************/ - /**** md5 signature: 7b97fab9290fe599257ab8ce84870242 ****/ + /****** BRepBlend_SurfRstEvolRad::Decroch ******/ + /****** md5 signature: 7b97fab9290fe599257ab8ce84870242 ******/ %feature("compactdefaultargs") Decroch; - %feature("autodoc", "Permet d ' implementer un critere de decrochage specifique a la fonction. - + %feature("autodoc", " Parameters ---------- Sol: math_Vector NS: gp_Vec TgS: gp_Vec -Returns +Return ------- bool + +Description +----------- +Permet d ' implementer un critere de decrochage specifique a la fonction. ") Decroch; Standard_Boolean Decroch(const math_Vector & Sol, gp_Vec & NS, gp_Vec & TgS); - /****************** Derivatives ******************/ - /**** md5 signature: 940fde1549012c9025c437a16f7d8c18 ****/ + /****** BRepBlend_SurfRstEvolRad::Derivatives ******/ + /****** md5 signature: 940fde1549012c9025c437a16f7d8c18 ******/ %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", " Parameters ---------- X: math_Vector D: math_Matrix -Returns +Return ------- bool + +Description +----------- +returns the values of the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. ") Derivatives; Standard_Boolean Derivatives(const math_Vector & X, math_Matrix & D); - /****************** GetBounds ******************/ - /**** md5 signature: 7f39b43072461a3f70a63d3178e97743 ****/ + /****** BRepBlend_SurfRstEvolRad::GetBounds ******/ + /****** md5 signature: 7f39b43072461a3f70a63d3178e97743 ******/ %feature("compactdefaultargs") GetBounds; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- InfBound: math_Vector SupBound: math_Vector -Returns +Return ------- None + +Description +----------- +No available documentation. ") GetBounds; void GetBounds(math_Vector & InfBound, math_Vector & SupBound); - /****************** GetMinimalDistance ******************/ - /**** md5 signature: b7112b2680da59932f7cc20412f85fda ****/ + /****** BRepBlend_SurfRstEvolRad::GetMinimalDistance ******/ + /****** md5 signature: b7112b2680da59932f7cc20412f85fda ******/ %feature("compactdefaultargs") GetMinimalDistance; - %feature("autodoc", "Returns the minimal distance beetween two extremitys of calculed sections. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the minimal Distance between two extremities of calculated sections. ") GetMinimalDistance; virtual Standard_Real GetMinimalDistance(); - /****************** GetMinimalWeight ******************/ - /**** md5 signature: f84aaf80601cfa818dfe6e9dd3bec152 ****/ + /****** BRepBlend_SurfRstEvolRad::GetMinimalWeight ******/ + /****** md5 signature: f84aaf80601cfa818dfe6e9dd3bec152 ******/ %feature("compactdefaultargs") GetMinimalWeight; - %feature("autodoc", "Compute the minimal value of weight for each poles of all sections. - + %feature("autodoc", " Parameters ---------- Weigths: TColStd_Array1OfReal -Returns +Return ------- None + +Description +----------- +Compute the minimal value of weight for each poles of all sections. ") GetMinimalWeight; void GetMinimalWeight(TColStd_Array1OfReal & Weigths); - /****************** GetSectionSize ******************/ - /**** md5 signature: bf1917f305e490b557c33ddc30e16dc7 ****/ + /****** BRepBlend_SurfRstEvolRad::GetSectionSize ******/ + /****** md5 signature: bf1917f305e490b557c33ddc30e16dc7 ******/ %feature("compactdefaultargs") GetSectionSize; - %feature("autodoc", "Returns the length of the maximum section. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the length of the maximum section. ") GetSectionSize; Standard_Real GetSectionSize(); - /****************** GetShape ******************/ - /**** md5 signature: 6b9d3e113e9e6721b2abf4c094cdd226 ****/ + /****** BRepBlend_SurfRstEvolRad::GetShape ******/ + /****** md5 signature: 6b9d3e113e9e6721b2abf4c094cdd226 ******/ %feature("compactdefaultargs") GetShape; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- NbPoles: int NbKnots: int Degree: int NbPoles2d: int + +Description +----------- +No available documentation. ") GetShape; void GetShape(Standard_Integer &OutValue, Standard_Integer &OutValue, Standard_Integer &OutValue, Standard_Integer &OutValue); - /****************** GetTolerance ******************/ - /**** md5 signature: db57a1b1119c0b1280472660909013c2 ****/ + /****** BRepBlend_SurfRstEvolRad::GetTolerance ******/ + /****** md5 signature: db57a1b1119c0b1280472660909013c2 ******/ %feature("compactdefaultargs") GetTolerance; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Tolerance: math_Vector Tol: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") GetTolerance; void GetTolerance(math_Vector & Tolerance, const Standard_Real Tol); - /****************** GetTolerance ******************/ - /**** md5 signature: be5e2f2cb95c7dbdff402ed78245d7d7 ****/ + /****** BRepBlend_SurfRstEvolRad::GetTolerance ******/ + /****** md5 signature: be5e2f2cb95c7dbdff402ed78245d7d7 ******/ %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", " Parameters ---------- BoundTol: float @@ -5097,210 +7018,249 @@ AngleTol: float Tol3d: math_Vector Tol1D: math_Vector -Returns +Return ------- None + +Description +----------- +Returns the tolerance to reach in approximation to respect BoundTol error at the Boundary AngleTol tangent error at the Boundary SurfTol error inside the surface. ") GetTolerance; void GetTolerance(const Standard_Real BoundTol, const Standard_Real SurfTol, const Standard_Real AngleTol, math_Vector & Tol3d, math_Vector & Tol1D); - /****************** Intervals ******************/ - /**** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ****/ + /****** BRepBlend_SurfRstEvolRad::Intervals ******/ + /****** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ******/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). - + %feature("autodoc", " Parameters ---------- T: TColStd_Array1OfReal S: GeomAbs_Shape -Returns +Return ------- None + +Description +----------- +Stores in the parameters bounding the intervals of continuity . The array must provide enough room to accommodate for the parameters. i.e. T.Length() > NbIntervals(). ") Intervals; void Intervals(TColStd_Array1OfReal & T, const GeomAbs_Shape S); - /****************** IsRational ******************/ - /**** md5 signature: 82ca56fad113156125f40128b25c0d8e ****/ + /****** BRepBlend_SurfRstEvolRad::IsRational ******/ + /****** md5 signature: 82ca56fad113156125f40128b25c0d8e ******/ %feature("compactdefaultargs") IsRational; - %feature("autodoc", "Returns if the section is rationnal. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns if the section is rational. ") IsRational; Standard_Boolean IsRational(); - /****************** IsSolution ******************/ - /**** md5 signature: 89ff6b5b0ad96a1e505d615e14235bad ****/ + /****** BRepBlend_SurfRstEvolRad::IsSolution ******/ + /****** md5 signature: 89ff6b5b0ad96a1e505d615e14235bad ******/ %feature("compactdefaultargs") IsSolution; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Sol: math_Vector Tol: float -Returns +Return ------- bool + +Description +----------- +No available documentation. ") IsSolution; Standard_Boolean IsSolution(const math_Vector & Sol, const Standard_Real Tol); - /****************** IsTangencyPoint ******************/ - /**** md5 signature: 6f3e518ba9796f381f39631e22124ef0 ****/ + /****** BRepBlend_SurfRstEvolRad::IsTangencyPoint ******/ + /****** md5 signature: 6f3e518ba9796f381f39631e22124ef0 ******/ %feature("compactdefaultargs") IsTangencyPoint; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsTangencyPoint; Standard_Boolean IsTangencyPoint(); - /****************** Knots ******************/ - /**** md5 signature: a226854cd9eac08cbe4282feaa46c20d ****/ + /****** BRepBlend_SurfRstEvolRad::Knots ******/ + /****** md5 signature: a226854cd9eac08cbe4282feaa46c20d ******/ %feature("compactdefaultargs") Knots; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- TKnots: TColStd_Array1OfReal -Returns +Return ------- None + +Description +----------- +No available documentation. ") Knots; void Knots(TColStd_Array1OfReal & TKnots); - /****************** Mults ******************/ - /**** md5 signature: 36c77711e4160fb27b24b90b8fa7c6de ****/ + /****** BRepBlend_SurfRstEvolRad::Mults ******/ + /****** md5 signature: 36c77711e4160fb27b24b90b8fa7c6de ******/ %feature("compactdefaultargs") Mults; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- TMults: TColStd_Array1OfInteger -Returns +Return ------- None + +Description +----------- +No available documentation. ") Mults; void Mults(TColStd_Array1OfInteger & TMults); - /****************** NbEquations ******************/ - /**** md5 signature: 23bde6b2e3d1ee771730481f97ff7ae2 ****/ + /****** BRepBlend_SurfRstEvolRad::NbEquations ******/ + /****** md5 signature: 23bde6b2e3d1ee771730481f97ff7ae2 ******/ %feature("compactdefaultargs") NbEquations; - %feature("autodoc", "Returns 3. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns 3. ") NbEquations; Standard_Integer NbEquations(); - /****************** NbIntervals ******************/ - /**** md5 signature: 8ce4f61bff96d1ce0784028b47edd8dc ****/ + /****** BRepBlend_SurfRstEvolRad::NbIntervals ******/ + /****** md5 signature: 8ce4f61bff96d1ce0784028b47edd8dc ******/ %feature("compactdefaultargs") NbIntervals; - %feature("autodoc", "Returns the number of intervals for continuity . may be one if continuity(me) >= . - + %feature("autodoc", " Parameters ---------- S: GeomAbs_Shape -Returns +Return ------- int + +Description +----------- +Returns the number of intervals for continuity . May be one if Continuity(me) >= . ") NbIntervals; Standard_Integer NbIntervals(const GeomAbs_Shape S); - /****************** NbVariables ******************/ - /**** md5 signature: c99b0d96b9b2c7c3fd7890618502162b ****/ + /****** BRepBlend_SurfRstEvolRad::NbVariables ******/ + /****** md5 signature: c99b0d96b9b2c7c3fd7890618502162b ******/ %feature("compactdefaultargs") NbVariables; - %feature("autodoc", "Returns 3. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns 3. ") NbVariables; Standard_Integer NbVariables(); - /****************** ParameterOnRst ******************/ - /**** md5 signature: 7e31a9a50b0e16d757ff5e9a2545014c ****/ + /****** BRepBlend_SurfRstEvolRad::ParameterOnRst ******/ + /****** md5 signature: 7e31a9a50b0e16d757ff5e9a2545014c ******/ %feature("compactdefaultargs") ParameterOnRst; - %feature("autodoc", "Returns parameter of the point on the curve. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns parameter of the point on the curve. ") ParameterOnRst; Standard_Real ParameterOnRst(); - /****************** Pnt2dOnRst ******************/ - /**** md5 signature: be6301599a2805e86c2f189218545e8d ****/ + /****** BRepBlend_SurfRstEvolRad::Pnt2dOnRst ******/ + /****** md5 signature: be6301599a2805e86c2f189218545e8d ******/ %feature("compactdefaultargs") Pnt2dOnRst; - %feature("autodoc", "Returns u,v coordinates of the point on the curve on surface. - -Returns + %feature("autodoc", "Return ------- gp_Pnt2d + +Description +----------- +Returns U,V coordinates of the point on the curve on surface. ") Pnt2dOnRst; const gp_Pnt2d Pnt2dOnRst(); - /****************** Pnt2dOnS ******************/ - /**** md5 signature: 17442813aa59649b001e1e639324e582 ****/ + /****** BRepBlend_SurfRstEvolRad::Pnt2dOnS ******/ + /****** md5 signature: 17442813aa59649b001e1e639324e582 ******/ %feature("compactdefaultargs") Pnt2dOnS; - %feature("autodoc", "Returns u,v coordinates of the point on the surface. - -Returns + %feature("autodoc", "Return ------- gp_Pnt2d + +Description +----------- +Returns U,V coordinates of the point on the surface. ") Pnt2dOnS; const gp_Pnt2d Pnt2dOnS(); - /****************** PointOnRst ******************/ - /**** md5 signature: 8bca30b1c57a5ca26f02cdaf7dbf609a ****/ + /****** BRepBlend_SurfRstEvolRad::PointOnRst ******/ + /****** md5 signature: 8bca30b1c57a5ca26f02cdaf7dbf609a ******/ %feature("compactdefaultargs") PointOnRst; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Pnt + +Description +----------- +No available documentation. ") PointOnRst; const gp_Pnt PointOnRst(); - /****************** PointOnS ******************/ - /**** md5 signature: d0ce1246a72267935632a60d95848390 ****/ + /****** BRepBlend_SurfRstEvolRad::PointOnS ******/ + /****** md5 signature: d0ce1246a72267935632a60d95848390 ******/ %feature("compactdefaultargs") PointOnS; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Pnt + +Description +----------- +No available documentation. ") PointOnS; const gp_Pnt PointOnS(); - /****************** Resolution ******************/ - /**** md5 signature: 1f885646df74c72ec13d37a113377aaa ****/ + /****** BRepBlend_SurfRstEvolRad::Resolution ******/ + /****** md5 signature: 1f885646df74c72ec13d37a113377aaa ******/ %feature("compactdefaultargs") Resolution; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- IC2d: int Tol: float -Returns +Return ------- TolU: float TolV: float + +Description +----------- +No available documentation. ") Resolution; void Resolution(const Standard_Integer IC2d, const Standard_Real Tol, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** Section ******************/ - /**** md5 signature: c6f45fdc6c5dce2cea7b90328e5e99d9 ****/ + /****** BRepBlend_SurfRstEvolRad::Section ******/ + /****** md5 signature: c6f45fdc6c5dce2cea7b90328e5e99d9 ******/ %feature("compactdefaultargs") Section; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Param: float @@ -5309,18 +7269,21 @@ V: float W: float C: gp_Circ -Returns +Return ------- Pdeb: float Pfin: float + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: 906e6a4bef3056546e496b945ff8d788 ****/ + /****** BRepBlend_SurfRstEvolRad::Section ******/ + /****** md5 signature: 906e6a4bef3056546e496b945ff8d788 ******/ %feature("compactdefaultargs") Section; - %feature("autodoc", "Used for the first and last section. - + %feature("autodoc", " Parameters ---------- P: Blend_Point @@ -5331,17 +7294,20 @@ DPoles2d: TColgp_Array1OfVec2d Weigths: TColStd_Array1OfReal DWeigths: TColStd_Array1OfReal -Returns +Return ------- bool + +Description +----------- +Used for the first and last section. ") 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 ******************/ - /**** md5 signature: b6f1107f21a9bc6524bdd8152abaed5f ****/ + /****** BRepBlend_SurfRstEvolRad::Section ******/ + /****** md5 signature: b6f1107f21a9bc6524bdd8152abaed5f ******/ %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. - + %feature("autodoc", " Parameters ---------- P: Blend_Point @@ -5355,17 +7321,20 @@ Weigths: TColStd_Array1OfReal DWeigths: TColStd_Array1OfReal D2Weigths: TColStd_Array1OfReal -Returns +Return ------- bool + +Description +----------- +Used for the first and last section The method returns Standard_True if the derivatives are computed, otherwise it returns Standard_False. ") 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 ******************/ - /**** md5 signature: 50af689ba5abf11bb271a06ac70b2d69 ****/ + /****** BRepBlend_SurfRstEvolRad::Section ******/ + /****** md5 signature: 50af689ba5abf11bb271a06ac70b2d69 ******/ %feature("compactdefaultargs") Section; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P: Blend_Point @@ -5373,163 +7342,196 @@ Poles: TColgp_Array1OfPnt Poles2d: TColgp_Array1OfPnt2d Weigths: TColStd_Array1OfReal -Returns +Return ------- None + +Description +----------- +No available documentation. ") Section; void Section(const Blend_Point & P, TColgp_Array1OfPnt & Poles, TColgp_Array1OfPnt2d & Poles2d, TColStd_Array1OfReal & Weigths); - /****************** Set ******************/ - /**** md5 signature: 45827773e540a48ed043070ebdcad334 ****/ + /****** BRepBlend_SurfRstEvolRad::Set ******/ + /****** md5 signature: 51edc1a46f9014e3188bd66241af17c6 ******/ %feature("compactdefaultargs") Set; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -SurfRef: Adaptor3d_HSurface -RstRef: Adaptor2d_HCurve2d +SurfRef: Adaptor3d_Surface +RstRef: Adaptor2d_Curve2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") Set; - void Set(const opencascade::handle & SurfRef, const opencascade::handle & RstRef); + void Set(const opencascade::handle & SurfRef, const opencascade::handle & RstRef); - /****************** Set ******************/ - /**** md5 signature: a955f35e9076d1c844b9a2aa89b226bf ****/ + /****** BRepBlend_SurfRstEvolRad::Set ******/ + /****** md5 signature: a955f35e9076d1c844b9a2aa89b226bf ******/ %feature("compactdefaultargs") Set; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Param: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") Set; void Set(const Standard_Real Param); - /****************** Set ******************/ - /**** md5 signature: 7d0982b9e2ba9cb3c696f620150f4f9c ****/ + /****** BRepBlend_SurfRstEvolRad::Set ******/ + /****** md5 signature: 7d0982b9e2ba9cb3c696f620150f4f9c ******/ %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. - + %feature("autodoc", " Parameters ---------- First: float Last: float -Returns +Return ------- None + +Description +----------- +Sets the bounds of the parametric interval on the guide line. This determines the derivatives in these values if the function is not Cn. ") Set; void Set(const Standard_Real First, const Standard_Real Last); - /****************** Set ******************/ - /**** md5 signature: d73c9c4058c0955fc8cd59888660f750 ****/ + /****** BRepBlend_SurfRstEvolRad::Set ******/ + /****** md5 signature: d73c9c4058c0955fc8cd59888660f750 ******/ %feature("compactdefaultargs") Set; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Choix: int -Returns +Return ------- None + +Description +----------- +No available documentation. ") Set; void Set(const Standard_Integer Choix); - /****************** Set ******************/ - /**** md5 signature: 94cfe331c662a2ba190837b24fee3b95 ****/ + /****** BRepBlend_SurfRstEvolRad::Set ******/ + /****** md5 signature: 94cfe331c662a2ba190837b24fee3b95 ******/ %feature("compactdefaultargs") Set; - %feature("autodoc", "Sets the type of section generation for the approximations. - + %feature("autodoc", " Parameters ---------- TypeSection: BlendFunc_SectionShape -Returns +Return ------- None + +Description +----------- +Sets the type of section generation for the approximations. ") Set; void Set(const BlendFunc_SectionShape TypeSection); - /****************** Tangent2dOnRst ******************/ - /**** md5 signature: a67df95e06afdcf2e410ba7d891bdc53 ****/ + /****** BRepBlend_SurfRstEvolRad::Tangent2dOnRst ******/ + /****** md5 signature: a67df95e06afdcf2e410ba7d891bdc53 ******/ %feature("compactdefaultargs") Tangent2dOnRst; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Vec2d + +Description +----------- +No available documentation. ") Tangent2dOnRst; const gp_Vec2d Tangent2dOnRst(); - /****************** Tangent2dOnS ******************/ - /**** md5 signature: e102a4d332cc3b92c9252bebc7ca2a2f ****/ + /****** BRepBlend_SurfRstEvolRad::Tangent2dOnS ******/ + /****** md5 signature: e102a4d332cc3b92c9252bebc7ca2a2f ******/ %feature("compactdefaultargs") Tangent2dOnS; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Vec2d + +Description +----------- +No available documentation. ") Tangent2dOnS; const gp_Vec2d Tangent2dOnS(); - /****************** TangentOnRst ******************/ - /**** md5 signature: ee94795e8a03889a76a13b1b2ac6b614 ****/ + /****** BRepBlend_SurfRstEvolRad::TangentOnRst ******/ + /****** md5 signature: ee94795e8a03889a76a13b1b2ac6b614 ******/ %feature("compactdefaultargs") TangentOnRst; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Vec + +Description +----------- +No available documentation. ") TangentOnRst; const gp_Vec TangentOnRst(); - /****************** TangentOnS ******************/ - /**** md5 signature: 48a27063e2cf1be2b2c56ad8f774bd84 ****/ + /****** BRepBlend_SurfRstEvolRad::TangentOnS ******/ + /****** md5 signature: 48a27063e2cf1be2b2c56ad8f774bd84 ******/ %feature("compactdefaultargs") TangentOnS; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Vec + +Description +----------- +No available documentation. ") TangentOnS; const gp_Vec TangentOnS(); - /****************** Value ******************/ - /**** md5 signature: 1b689850305d8b13f289849027f0887b ****/ + /****** BRepBlend_SurfRstEvolRad::Value ******/ + /****** md5 signature: 1b689850305d8b13f289849027f0887b ******/ %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", " Parameters ---------- X: math_Vector F: math_Vector -Returns +Return ------- bool + +Description +----------- +computes the values of the Functions for the variable . Returns True if the computation was done successfully, False otherwise. ") Value; Standard_Boolean Value(const math_Vector & X, math_Vector & F); - /****************** Values ******************/ - /**** md5 signature: cb66193525cc0a7235a2cde2a228308b ****/ + /****** BRepBlend_SurfRstEvolRad::Values ******/ + /****** md5 signature: cb66193525cc0a7235a2cde2a228308b ******/ %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", " Parameters ---------- X: math_Vector F: math_Vector D: math_Matrix -Returns +Return ------- bool + +Description +----------- +returns the values of the functions and the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. ") Values; Standard_Boolean Values(const math_Vector & X, math_Vector & F, math_Matrix & D); @@ -5547,30 +7549,32 @@ bool *************************************/ class BRepBlend_SurfRstLineBuilder { public: - /****************** BRepBlend_SurfRstLineBuilder ******************/ - /**** md5 signature: 98ef58092f384b62e54eded9c9002be2 ****/ + /****** BRepBlend_SurfRstLineBuilder::BRepBlend_SurfRstLineBuilder ******/ + /****** md5 signature: d6a0ad1ce9ef95abcda88a808971a42f ******/ %feature("compactdefaultargs") BRepBlend_SurfRstLineBuilder; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Surf1: Adaptor3d_HSurface +Surf1: Adaptor3d_Surface Domain1: Adaptor3d_TopolTool -Surf2: Adaptor3d_HSurface -Rst: Adaptor2d_HCurve2d +Surf2: Adaptor3d_Surface +Rst: Adaptor2d_Curve2d Domain2: Adaptor3d_TopolTool -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBlend_SurfRstLineBuilder; - BRepBlend_SurfRstLineBuilder(const opencascade::handle & Surf1, const opencascade::handle & Domain1, const opencascade::handle & Surf2, const opencascade::handle & Rst, const opencascade::handle & Domain2); + BRepBlend_SurfRstLineBuilder(const opencascade::handle & Surf1, const opencascade::handle & Domain1, const opencascade::handle & Surf2, const opencascade::handle & Rst, const opencascade::handle & Domain2); - /****************** ArcToRecadre ******************/ - /**** md5 signature: f9d5cffa9a03b0a3c58f32741f4a8c9a ****/ + /****** BRepBlend_SurfRstLineBuilder::ArcToRecadre ******/ + /****** md5 signature: f9d5cffa9a03b0a3c58f32741f4a8c9a ******/ %feature("compactdefaultargs") ArcToRecadre; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Sol: math_Vector @@ -5578,17 +7582,20 @@ PrevIndex: int pt2d: gp_Pnt2d lastpt2d: gp_Pnt2d -Returns +Return ------- ponarc: float + +Description +----------- +No available documentation. ") ArcToRecadre; Standard_Integer ArcToRecadre(const math_Vector & Sol, const Standard_Integer PrevIndex, gp_Pnt2d & pt2d, gp_Pnt2d & lastpt2d, Standard_Real &OutValue); - /****************** Complete ******************/ - /**** md5 signature: 8afbad6ca438fb5bf221347cf65278f9 ****/ + /****** BRepBlend_SurfRstLineBuilder::Complete ******/ + /****** md5 signature: 8afbad6ca438fb5bf221347cf65278f9 ******/ %feature("compactdefaultargs") Complete; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Func: Blend_SurfRstFunction @@ -5597,61 +7604,72 @@ FinvP: Blend_SurfPointFuncInv FinvC: Blend_SurfCurvFuncInv Pmin: float -Returns +Return ------- bool + +Description +----------- +No available documentation. ") Complete; Standard_Boolean Complete(Blend_SurfRstFunction & Func, Blend_FuncInv & Finv, Blend_SurfPointFuncInv & FinvP, Blend_SurfCurvFuncInv & FinvC, const Standard_Real Pmin); - /****************** DecrochEnd ******************/ - /**** md5 signature: 9670fa97a635898b96c8e6af24b5f104 ****/ + /****** BRepBlend_SurfRstLineBuilder::DecrochEnd ******/ + /****** md5 signature: 9670fa97a635898b96c8e6af24b5f104 ******/ %feature("compactdefaultargs") DecrochEnd; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") DecrochEnd; Standard_Boolean DecrochEnd(); - /****************** DecrochStart ******************/ - /**** md5 signature: 223f9062baf694444e41dd2120766443 ****/ + /****** BRepBlend_SurfRstLineBuilder::DecrochStart ******/ + /****** md5 signature: 223f9062baf694444e41dd2120766443 ******/ %feature("compactdefaultargs") DecrochStart; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") DecrochStart; Standard_Boolean DecrochStart(); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** BRepBlend_SurfRstLineBuilder::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsDone; Standard_Boolean IsDone(); - /****************** Line ******************/ - /**** md5 signature: 9bbdb2164431d955d7a3a08a37fd239f ****/ + /****** BRepBlend_SurfRstLineBuilder::Line ******/ + /****** md5 signature: 9bbdb2164431d955d7a3a08a37fd239f ******/ %feature("compactdefaultargs") Line; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Line; const opencascade::handle & Line(); - /****************** Perform ******************/ - /**** md5 signature: 3ebeca31e507208cd42bab74df3ed6e3 ****/ + /****** BRepBlend_SurfRstLineBuilder::Perform ******/ + /****** md5 signature: 86cf3650fa597d7655c244c1866126f2 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Func: Blend_SurfRstFunction @@ -5661,24 +7679,27 @@ FinvC: Blend_SurfCurvFuncInv Pdep: float Pmax: float MaxStep: float +Tol3d: float +Tol2d: float TolGuide: float Soldep: math_Vector -Tolesp: float Fleche: float -Appro: bool,optional - default value is Standard_False +Appro: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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); + 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 Tol3d, const Standard_Real Tol2d, const Standard_Real TolGuide, const math_Vector & Soldep, const Standard_Real Fleche, const Standard_Boolean Appro = Standard_False); - /****************** PerformFirstSection ******************/ - /**** md5 signature: 691664aa4fe132192d2ccf25ba05720a ****/ + /****** BRepBlend_SurfRstLineBuilder::PerformFirstSection ******/ + /****** md5 signature: 429fbdc03f84a4a14fbebef94ad27ee5 ******/ %feature("compactdefaultargs") PerformFirstSection; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Func: Blend_SurfRstFunction @@ -5688,18 +7709,23 @@ FinvC: Blend_SurfCurvFuncInv Pdep: float Pmax: float Soldep: math_Vector -Tolesp: float +Tol3d: float +Tol2d: float TolGuide: float RecRst: bool RecP: bool RecS: bool ParSol: math_Vector -Returns +Return ------- Psol: float + +Description +----------- +No available documentation. ") 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); + 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 Tol3d, const Standard_Real Tol2d, const Standard_Real TolGuide, const Standard_Boolean RecRst, const Standard_Boolean RecP, const Standard_Boolean RecS, Standard_Real &OutValue, math_Vector & ParSol); }; @@ -5715,139 +7741,162 @@ Psol: float **************************/ class BRepBlend_Walking { public: - /****************** BRepBlend_Walking ******************/ - /**** md5 signature: 248726a17ab5bcfae0913cbe25564d9d ****/ + /****** BRepBlend_Walking::BRepBlend_Walking ******/ + /****** md5 signature: 3e60e6b4956db8469ccd4414f4eddcf1 ******/ %feature("compactdefaultargs") BRepBlend_Walking; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Surf1: Adaptor3d_HSurface -Surf2: Adaptor3d_HSurface +Surf1: Adaptor3d_Surface +Surf2: Adaptor3d_Surface Domain1: Adaptor3d_TopolTool Domain2: Adaptor3d_TopolTool -HGuide: ChFiDS_HElSpine +HGuide: ChFiDS_ElSpine -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBlend_Walking; - BRepBlend_Walking(const opencascade::handle & Surf1, const opencascade::handle & Surf2, const opencascade::handle & Domain1, const opencascade::handle & Domain2, const opencascade::handle & HGuide); + BRepBlend_Walking(const opencascade::handle & Surf1, const opencascade::handle & Surf2, const opencascade::handle & Domain1, const opencascade::handle & Domain2, const opencascade::handle & HGuide); - /****************** AddSingularPoint ******************/ - /**** md5 signature: 0ea0295b6724aa8af8ca3b784b4bc60a ****/ + /****** BRepBlend_Walking::AddSingularPoint ******/ + /****** md5 signature: 0ea0295b6724aa8af8ca3b784b4bc60a ******/ %feature("compactdefaultargs") AddSingularPoint; - %feature("autodoc", "To define singular points computed before walking. - + %feature("autodoc", " Parameters ---------- P: Blend_Point -Returns +Return ------- None + +Description +----------- +To define singular points computed before walking. ") AddSingularPoint; void AddSingularPoint(const Blend_Point & P); - /****************** Check ******************/ - /**** md5 signature: 7d8efb01ff65c2d30fe479ee5510d837 ****/ + /****** BRepBlend_Walking::Check ******/ + /****** md5 signature: 7d8efb01ff65c2d30fe479ee5510d837 ******/ %feature("compactdefaultargs") Check; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: bool -Returns +Return ------- None + +Description +----------- +No available documentation. ") Check; void Check(const Standard_Boolean C); - /****************** Check2d ******************/ - /**** md5 signature: 71403ff4a3ccda5a85656094466d7bab ****/ + /****** BRepBlend_Walking::Check2d ******/ + /****** md5 signature: 71403ff4a3ccda5a85656094466d7bab ******/ %feature("compactdefaultargs") Check2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: bool -Returns +Return ------- None + +Description +----------- +No available documentation. ") Check2d; void Check2d(const Standard_Boolean C); - /****************** ClassificationOnS1 ******************/ - /**** md5 signature: 2b2955a3ba803ab46041189579530527 ****/ + /****** BRepBlend_Walking::ClassificationOnS1 ******/ + /****** md5 signature: 2b2955a3ba803ab46041189579530527 ******/ %feature("compactdefaultargs") ClassificationOnS1; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: bool -Returns +Return ------- None + +Description +----------- +No available documentation. ") ClassificationOnS1; void ClassificationOnS1(const Standard_Boolean C); - /****************** ClassificationOnS2 ******************/ - /**** md5 signature: bc20933ea1d896b847c2a86545020181 ****/ + /****** BRepBlend_Walking::ClassificationOnS2 ******/ + /****** md5 signature: bc20933ea1d896b847c2a86545020181 ******/ %feature("compactdefaultargs") ClassificationOnS2; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: bool -Returns +Return ------- None + +Description +----------- +No available documentation. ") ClassificationOnS2; void ClassificationOnS2(const Standard_Boolean C); - /****************** Complete ******************/ - /**** md5 signature: 5885fcb1eae17266768e978b25dda475 ****/ + /****** BRepBlend_Walking::Complete ******/ + /****** md5 signature: 5885fcb1eae17266768e978b25dda475 ******/ %feature("compactdefaultargs") Complete; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- F: Blend_Function FInv: Blend_FuncInv Pmin: float -Returns +Return ------- bool + +Description +----------- +No available documentation. ") Complete; Standard_Boolean Complete(Blend_Function & F, Blend_FuncInv & FInv, const Standard_Real Pmin); - /****************** Continu ******************/ - /**** md5 signature: e1fb178a0cc6b5d457359b43b1a7c823 ****/ + /****** BRepBlend_Walking::Continu ******/ + /****** md5 signature: e1fb178a0cc6b5d457359b43b1a7c823 ******/ %feature("compactdefaultargs") Continu; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- F: Blend_Function FInv: Blend_FuncInv P: float -Returns +Return ------- bool + +Description +----------- +No available documentation. ") Continu; Standard_Boolean Continu(Blend_Function & F, Blend_FuncInv & FInv, const Standard_Real P); - /****************** Continu ******************/ - /**** md5 signature: 02a9e3404b651f5bcee39d40728c4c7b ****/ + /****** BRepBlend_Walking::Continu ******/ + /****** md5 signature: 02a9e3404b651f5bcee39d40728c4c7b ******/ %feature("compactdefaultargs") Continu; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- F: Blend_Function @@ -5855,39 +7904,46 @@ FInv: Blend_FuncInv P: float OnS1: bool -Returns +Return ------- bool + +Description +----------- +No available documentation. ") Continu; Standard_Boolean Continu(Blend_Function & F, Blend_FuncInv & FInv, const Standard_Real P, const Standard_Boolean OnS1); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** BRepBlend_Walking::IsDone ******/ + /****** md5 signature: fbb42ba7dccdaf2fe81e0200c743c59b ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsDone; Standard_Boolean IsDone(); - /****************** Line ******************/ - /**** md5 signature: 9bbdb2164431d955d7a3a08a37fd239f ****/ + /****** BRepBlend_Walking::Line ******/ + /****** md5 signature: b1091aed695b71aa16f6f258d9818bca ******/ %feature("compactdefaultargs") Line; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Line; const opencascade::handle & Line(); - /****************** Perform ******************/ - /**** md5 signature: ef3b3700f467db4ea875b65f539d9955 ****/ + /****** BRepBlend_Walking::Perform ******/ + /****** md5 signature: 6d94e3dcc7c71857d2c24ced3358703f ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- F: Blend_Function @@ -5895,45 +7951,49 @@ FInv: Blend_FuncInv Pdep: float Pmax: float MaxStep: float +Tol3d: float TolGuide: float Soldep: math_Vector -Tolesp: float Fleche: float -Appro: bool,optional - default value is Standard_False +Appro: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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); + void Perform(Blend_Function & F, Blend_FuncInv & FInv, const Standard_Real Pdep, const Standard_Real Pmax, const Standard_Real MaxStep, const Standard_Real Tol3d, const Standard_Real TolGuide, const math_Vector & Soldep, const Standard_Real Fleche, const Standard_Boolean Appro = Standard_False); - /****************** PerformFirstSection ******************/ - /**** md5 signature: a2bca51a10d7f020b86504fe9860626e ****/ + /****** BRepBlend_Walking::PerformFirstSection ******/ + /****** md5 signature: 92db8d0914da0712dd54b302697b3aa3 ******/ %feature("compactdefaultargs") PerformFirstSection; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- F: Blend_Function Pdep: float ParDep: math_Vector -Tolesp: float +Tol3d: float TolGuide: float + +Return +------- Pos1: TopAbs_State Pos2: TopAbs_State -Returns -------- -bool +Description +----------- +No available documentation. ") 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); + Standard_Boolean PerformFirstSection(Blend_Function & F, const Standard_Real Pdep, math_Vector & ParDep, const Standard_Real Tol3d, const Standard_Real TolGuide, TopAbs_State &OutValue, TopAbs_State &OutValue); - /****************** PerformFirstSection ******************/ - /**** md5 signature: 39c72a7c59d31a28e720252eee26feee ****/ + /****** BRepBlend_Walking::PerformFirstSection ******/ + /****** md5 signature: 7464aaa5cedcb060541546a3a1ff5540 ******/ %feature("compactdefaultargs") PerformFirstSection; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- F: Blend_Function @@ -5941,53 +8001,64 @@ FInv: Blend_FuncInv Pdep: float Pmax: float ParDep: math_Vector -Tolesp: float +Tol3d: float TolGuide: float RecOnS1: bool RecOnS2: bool ParSol: math_Vector -Returns +Return ------- Psol: float + +Description +----------- +No available documentation. ") 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); + Standard_Boolean PerformFirstSection(Blend_Function & F, Blend_FuncInv & FInv, const Standard_Real Pdep, const Standard_Real Pmax, const math_Vector & ParDep, const Standard_Real Tol3d, const Standard_Real TolGuide, const Standard_Boolean RecOnS1, const Standard_Boolean RecOnS2, Standard_Real &OutValue, math_Vector & ParSol); - /****************** SetDomainsToRecadre ******************/ - /**** md5 signature: 10664ebffbd6ed784502d7d4acfa5a93 ****/ + /****** BRepBlend_Walking::SetDomainsToRecadre ******/ + /****** md5 signature: 10664ebffbd6ed784502d7d4acfa5a93 ******/ %feature("compactdefaultargs") SetDomainsToRecadre; - %feature("autodoc", "To define different domains for control and clipping. - + %feature("autodoc", " Parameters ---------- RecDomain1: Adaptor3d_TopolTool RecDomain2: Adaptor3d_TopolTool -Returns +Return ------- None + +Description +----------- +To define different domains for control and clipping. ") SetDomainsToRecadre; void SetDomainsToRecadre(const opencascade::handle & RecDomain1, const opencascade::handle & RecDomain2); - /****************** TwistOnS1 ******************/ - /**** md5 signature: 9e7cba134041c48814f8e911bc7ceb7d ****/ + /****** BRepBlend_Walking::TwistOnS1 ******/ + /****** md5 signature: 474e20dc041df2edd7db29b1c38c0fef ******/ %feature("compactdefaultargs") TwistOnS1; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") TwistOnS1; Standard_Boolean TwistOnS1(); - /****************** TwistOnS2 ******************/ - /**** md5 signature: d09d14bd26a5c6922f795ecb44cf2f66 ****/ + /****** BRepBlend_Walking::TwistOnS2 ******/ + /****** md5 signature: d6b6b53531e7399ff67cda818415c62a ******/ %feature("compactdefaultargs") TwistOnS2; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") TwistOnS2; Standard_Boolean TwistOnS2(); @@ -6005,11 +8076,10 @@ bool **************************/ class BRepBlend_AppFunc : public BRepBlend_AppFuncRoot { public: - /****************** BRepBlend_AppFunc ******************/ - /**** md5 signature: e8bf5d422d7c3522897eff28c0d69e41 ****/ + /****** BRepBlend_AppFunc::BRepBlend_AppFunc ******/ + /****** md5 signature: e8bf5d422d7c3522897eff28c0d69e41 ******/ %feature("compactdefaultargs") BRepBlend_AppFunc; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Line: BRepBlend_Line @@ -6017,17 +8087,20 @@ Func: Blend_Function Tol3d: float Tol2d: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBlend_AppFunc; BRepBlend_AppFunc(opencascade::handle & Line, Blend_Function & Func, const Standard_Real Tol3d, const Standard_Real Tol2d); - /****************** Point ******************/ - /**** md5 signature: 1f64768686e0fd1268e07e05fcaa4c86 ****/ + /****** BRepBlend_AppFunc::Point ******/ + /****** md5 signature: 1f64768686e0fd1268e07e05fcaa4c86 ******/ %feature("compactdefaultargs") Point; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Func: Blend_AppFunction @@ -6035,25 +8108,32 @@ Param: float Sol: math_Vector Pnt: Blend_Point -Returns +Return ------- None + +Description +----------- +No available documentation. ") Point; void Point(const Blend_AppFunction & Func, const Standard_Real Param, const math_Vector & Sol, Blend_Point & Pnt); - /****************** Vec ******************/ - /**** md5 signature: f98635405dfb2bd7c7d7c0586657d180 ****/ + /****** BRepBlend_AppFunc::Vec ******/ + /****** md5 signature: f98635405dfb2bd7c7d7c0586657d180 ******/ %feature("compactdefaultargs") Vec; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Sol: math_Vector Pnt: Blend_Point -Returns +Return ------- None + +Description +----------- +No available documentation. ") Vec; void Vec(math_Vector & Sol, const Blend_Point & Pnt); @@ -6073,11 +8153,10 @@ None *****************************/ class BRepBlend_AppFuncRst : public BRepBlend_AppFuncRoot { public: - /****************** BRepBlend_AppFuncRst ******************/ - /**** md5 signature: 3afb1cfb110bf596041a7a577f7e1ef2 ****/ + /****** BRepBlend_AppFuncRst::BRepBlend_AppFuncRst ******/ + /****** md5 signature: 3afb1cfb110bf596041a7a577f7e1ef2 ******/ %feature("compactdefaultargs") BRepBlend_AppFuncRst; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Line: BRepBlend_Line @@ -6085,17 +8164,20 @@ Func: Blend_SurfRstFunction Tol3d: float Tol2d: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBlend_AppFuncRst; BRepBlend_AppFuncRst(opencascade::handle & Line, Blend_SurfRstFunction & Func, const Standard_Real Tol3d, const Standard_Real Tol2d); - /****************** Point ******************/ - /**** md5 signature: 1f64768686e0fd1268e07e05fcaa4c86 ****/ + /****** BRepBlend_AppFuncRst::Point ******/ + /****** md5 signature: 1f64768686e0fd1268e07e05fcaa4c86 ******/ %feature("compactdefaultargs") Point; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Func: Blend_AppFunction @@ -6103,25 +8185,32 @@ Param: float Sol: math_Vector Pnt: Blend_Point -Returns +Return ------- None + +Description +----------- +No available documentation. ") Point; void Point(const Blend_AppFunction & Func, const Standard_Real Param, const math_Vector & Sol, Blend_Point & Pnt); - /****************** Vec ******************/ - /**** md5 signature: f98635405dfb2bd7c7d7c0586657d180 ****/ + /****** BRepBlend_AppFuncRst::Vec ******/ + /****** md5 signature: f98635405dfb2bd7c7d7c0586657d180 ******/ %feature("compactdefaultargs") Vec; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Sol: math_Vector Pnt: Blend_Point -Returns +Return ------- None + +Description +----------- +No available documentation. ") Vec; void Vec(math_Vector & Sol, const Blend_Point & Pnt); @@ -6141,11 +8230,10 @@ None ********************************/ class BRepBlend_AppFuncRstRst : public BRepBlend_AppFuncRoot { public: - /****************** BRepBlend_AppFuncRstRst ******************/ - /**** md5 signature: f07240c831038948a4079ef9673c5be0 ****/ + /****** BRepBlend_AppFuncRstRst::BRepBlend_AppFuncRstRst ******/ + /****** md5 signature: f07240c831038948a4079ef9673c5be0 ******/ %feature("compactdefaultargs") BRepBlend_AppFuncRstRst; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Line: BRepBlend_Line @@ -6153,17 +8241,20 @@ Func: Blend_RstRstFunction Tol3d: float Tol2d: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBlend_AppFuncRstRst; BRepBlend_AppFuncRstRst(opencascade::handle & Line, Blend_RstRstFunction & Func, const Standard_Real Tol3d, const Standard_Real Tol2d); - /****************** Point ******************/ - /**** md5 signature: 1f64768686e0fd1268e07e05fcaa4c86 ****/ + /****** BRepBlend_AppFuncRstRst::Point ******/ + /****** md5 signature: 1f64768686e0fd1268e07e05fcaa4c86 ******/ %feature("compactdefaultargs") Point; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Func: Blend_AppFunction @@ -6171,25 +8262,32 @@ Param: float Sol: math_Vector Pnt: Blend_Point -Returns +Return ------- None + +Description +----------- +No available documentation. ") Point; void Point(const Blend_AppFunction & Func, const Standard_Real Param, const math_Vector & Sol, Blend_Point & Pnt); - /****************** Vec ******************/ - /**** md5 signature: f98635405dfb2bd7c7d7c0586657d180 ****/ + /****** BRepBlend_AppFuncRstRst::Vec ******/ + /****** md5 signature: f98635405dfb2bd7c7d7c0586657d180 ******/ %feature("compactdefaultargs") Vec; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Sol: math_Vector Pnt: Blend_Point -Returns +Return ------- None + +Description +----------- +No available documentation. ") Vec; void Vec(math_Vector & Sol, const Blend_Point & Pnt); @@ -6204,6 +8302,14 @@ None } }; +/* python proxy for excluded classes */ +%pythoncode { +@classnotwrapped +class BRepBlend_CSWalking: + pass + +} +/* end python proxy for excluded classes */ /* harray1 classes */ /* harray2 classes */ /* hsequence classes */ @@ -6226,3 +8332,246 @@ BRepBlend_EvolRadInv=OCC.Core.BlendFunc.BlendFunc_EvolRadInv BRepBlend_Ruled=OCC.Core.BlendFunc.BlendFunc_Ruled BRepBlend_RuledInv=OCC.Core.BlendFunc.BlendFunc_RuledInv } +/* deprecated methods */ +%pythoncode { +@deprecated +def BRepBlend_BlendTool_Bounds(*args): + return BRepBlend_BlendTool.Bounds(*args) + +@deprecated +def BRepBlend_BlendTool_CurveOnSurf(*args): + return BRepBlend_BlendTool.CurveOnSurf(*args) + +@deprecated +def BRepBlend_BlendTool_Inters(*args): + return BRepBlend_BlendTool.Inters(*args) + +@deprecated +def BRepBlend_BlendTool_NbSamplesU(*args): + return BRepBlend_BlendTool.NbSamplesU(*args) + +@deprecated +def BRepBlend_BlendTool_NbSamplesV(*args): + return BRepBlend_BlendTool.NbSamplesV(*args) + +@deprecated +def BRepBlend_BlendTool_Parameter(*args): + return BRepBlend_BlendTool.Parameter(*args) + +@deprecated +def BRepBlend_BlendTool_Project(*args): + return BRepBlend_BlendTool.Project(*args) + +@deprecated +def BRepBlend_BlendTool_SingularOnUMax(*args): + return BRepBlend_BlendTool.SingularOnUMax(*args) + +@deprecated +def BRepBlend_BlendTool_SingularOnUMin(*args): + return BRepBlend_BlendTool.SingularOnUMin(*args) + +@deprecated +def BRepBlend_BlendTool_SingularOnVMax(*args): + return BRepBlend_BlendTool.SingularOnVMax(*args) + +@deprecated +def BRepBlend_BlendTool_SingularOnVMin(*args): + return BRepBlend_BlendTool.SingularOnVMin(*args) + +@deprecated +def BRepBlend_BlendTool_Tolerance(*args): + return BRepBlend_BlendTool.Tolerance(*args) + +@deprecated +def BRepBlend_HCurve2dTool_BSpline(*args): + return BRepBlend_HCurve2dTool.BSpline(*args) + +@deprecated +def BRepBlend_HCurve2dTool_Bezier(*args): + return BRepBlend_HCurve2dTool.Bezier(*args) + +@deprecated +def BRepBlend_HCurve2dTool_Circle(*args): + return BRepBlend_HCurve2dTool.Circle(*args) + +@deprecated +def BRepBlend_HCurve2dTool_Continuity(*args): + return BRepBlend_HCurve2dTool.Continuity(*args) + +@deprecated +def BRepBlend_HCurve2dTool_D0(*args): + return BRepBlend_HCurve2dTool.D0(*args) + +@deprecated +def BRepBlend_HCurve2dTool_D1(*args): + return BRepBlend_HCurve2dTool.D1(*args) + +@deprecated +def BRepBlend_HCurve2dTool_D2(*args): + return BRepBlend_HCurve2dTool.D2(*args) + +@deprecated +def BRepBlend_HCurve2dTool_D3(*args): + return BRepBlend_HCurve2dTool.D3(*args) + +@deprecated +def BRepBlend_HCurve2dTool_DN(*args): + return BRepBlend_HCurve2dTool.DN(*args) + +@deprecated +def BRepBlend_HCurve2dTool_Ellipse(*args): + return BRepBlend_HCurve2dTool.Ellipse(*args) + +@deprecated +def BRepBlend_HCurve2dTool_FirstParameter(*args): + return BRepBlend_HCurve2dTool.FirstParameter(*args) + +@deprecated +def BRepBlend_HCurve2dTool_GetType(*args): + return BRepBlend_HCurve2dTool.GetType(*args) + +@deprecated +def BRepBlend_HCurve2dTool_Hyperbola(*args): + return BRepBlend_HCurve2dTool.Hyperbola(*args) + +@deprecated +def BRepBlend_HCurve2dTool_Intervals(*args): + return BRepBlend_HCurve2dTool.Intervals(*args) + +@deprecated +def BRepBlend_HCurve2dTool_IsClosed(*args): + return BRepBlend_HCurve2dTool.IsClosed(*args) + +@deprecated +def BRepBlend_HCurve2dTool_IsPeriodic(*args): + return BRepBlend_HCurve2dTool.IsPeriodic(*args) + +@deprecated +def BRepBlend_HCurve2dTool_LastParameter(*args): + return BRepBlend_HCurve2dTool.LastParameter(*args) + +@deprecated +def BRepBlend_HCurve2dTool_Line(*args): + return BRepBlend_HCurve2dTool.Line(*args) + +@deprecated +def BRepBlend_HCurve2dTool_NbIntervals(*args): + return BRepBlend_HCurve2dTool.NbIntervals(*args) + +@deprecated +def BRepBlend_HCurve2dTool_NbSamples(*args): + return BRepBlend_HCurve2dTool.NbSamples(*args) + +@deprecated +def BRepBlend_HCurve2dTool_Parabola(*args): + return BRepBlend_HCurve2dTool.Parabola(*args) + +@deprecated +def BRepBlend_HCurve2dTool_Period(*args): + return BRepBlend_HCurve2dTool.Period(*args) + +@deprecated +def BRepBlend_HCurve2dTool_Resolution(*args): + return BRepBlend_HCurve2dTool.Resolution(*args) + +@deprecated +def BRepBlend_HCurve2dTool_Value(*args): + return BRepBlend_HCurve2dTool.Value(*args) + +@deprecated +def BRepBlend_HCurveTool_BSpline(*args): + return BRepBlend_HCurveTool.BSpline(*args) + +@deprecated +def BRepBlend_HCurveTool_Bezier(*args): + return BRepBlend_HCurveTool.Bezier(*args) + +@deprecated +def BRepBlend_HCurveTool_Circle(*args): + return BRepBlend_HCurveTool.Circle(*args) + +@deprecated +def BRepBlend_HCurveTool_Continuity(*args): + return BRepBlend_HCurveTool.Continuity(*args) + +@deprecated +def BRepBlend_HCurveTool_D0(*args): + return BRepBlend_HCurveTool.D0(*args) + +@deprecated +def BRepBlend_HCurveTool_D1(*args): + return BRepBlend_HCurveTool.D1(*args) + +@deprecated +def BRepBlend_HCurveTool_D2(*args): + return BRepBlend_HCurveTool.D2(*args) + +@deprecated +def BRepBlend_HCurveTool_D3(*args): + return BRepBlend_HCurveTool.D3(*args) + +@deprecated +def BRepBlend_HCurveTool_DN(*args): + return BRepBlend_HCurveTool.DN(*args) + +@deprecated +def BRepBlend_HCurveTool_Ellipse(*args): + return BRepBlend_HCurveTool.Ellipse(*args) + +@deprecated +def BRepBlend_HCurveTool_FirstParameter(*args): + return BRepBlend_HCurveTool.FirstParameter(*args) + +@deprecated +def BRepBlend_HCurveTool_GetType(*args): + return BRepBlend_HCurveTool.GetType(*args) + +@deprecated +def BRepBlend_HCurveTool_Hyperbola(*args): + return BRepBlend_HCurveTool.Hyperbola(*args) + +@deprecated +def BRepBlend_HCurveTool_Intervals(*args): + return BRepBlend_HCurveTool.Intervals(*args) + +@deprecated +def BRepBlend_HCurveTool_IsClosed(*args): + return BRepBlend_HCurveTool.IsClosed(*args) + +@deprecated +def BRepBlend_HCurveTool_IsPeriodic(*args): + return BRepBlend_HCurveTool.IsPeriodic(*args) + +@deprecated +def BRepBlend_HCurveTool_LastParameter(*args): + return BRepBlend_HCurveTool.LastParameter(*args) + +@deprecated +def BRepBlend_HCurveTool_Line(*args): + return BRepBlend_HCurveTool.Line(*args) + +@deprecated +def BRepBlend_HCurveTool_NbIntervals(*args): + return BRepBlend_HCurveTool.NbIntervals(*args) + +@deprecated +def BRepBlend_HCurveTool_NbSamples(*args): + return BRepBlend_HCurveTool.NbSamples(*args) + +@deprecated +def BRepBlend_HCurveTool_Parabola(*args): + return BRepBlend_HCurveTool.Parabola(*args) + +@deprecated +def BRepBlend_HCurveTool_Period(*args): + return BRepBlend_HCurveTool.Period(*args) + +@deprecated +def BRepBlend_HCurveTool_Resolution(*args): + return BRepBlend_HCurveTool.Resolution(*args) + +@deprecated +def BRepBlend_HCurveTool_Value(*args): + return BRepBlend_HCurveTool.Value(*args) + +} diff --git a/src/SWIG_files/wrapper/BRepBlend.pyi b/src/SWIG_files/wrapper/BRepBlend.pyi index f6329a39b..2dc334f76 100644 --- a/src/SWIG_files/wrapper/BRepBlend.pyi +++ b/src/SWIG_files/wrapper/BRepBlend.pyi @@ -12,562 +12,1239 @@ from OCC.Core.GeomAbs import * from OCC.Core.Blend import * from OCC.Core.math import * from OCC.Core.AppBlend import * -from OCC.Core.Adaptor3d import * from OCC.Core.Adaptor2d import * +from OCC.Core.Adaptor3d import * from OCC.Core.IntSurf import * +from OCC.Core.Geom2d import * +from OCC.Core.Geom import * from OCC.Core.Law import * from OCC.Core.ChFiDS import * from OCC.Core.TopAbs import * -BRepBlend_CSCircular = NewType('BRepBlend_CSCircular', BlendFunc_CSCircular) -BRepBlend_CSConstRad = NewType('BRepBlend_CSConstRad', BlendFunc_CSConstRad) -BRepBlend_ChAsym = NewType('BRepBlend_ChAsym', BlendFunc_ChAsym) -BRepBlend_ChAsymInv = NewType('BRepBlend_ChAsymInv', BlendFunc_ChAsymInv) -BRepBlend_ChamfInv = NewType('BRepBlend_ChamfInv', BlendFunc_ChamfInv) -BRepBlend_Chamfer = NewType('BRepBlend_Chamfer', BlendFunc_Chamfer) -BRepBlend_ConstRad = NewType('BRepBlend_ConstRad', BlendFunc_ConstRad) -BRepBlend_ConstRadInv = NewType('BRepBlend_ConstRadInv', BlendFunc_ConstRadInv) -BRepBlend_ConstThroat = NewType('BRepBlend_ConstThroat', BlendFunc_ConstThroat) -BRepBlend_ConstThroatInv = NewType('BRepBlend_ConstThroatInv', BlendFunc_ConstThroatInv) -BRepBlend_ConstThroatWithPenetration = NewType('BRepBlend_ConstThroatWithPenetration', BlendFunc_ConstThroatWithPenetration) -BRepBlend_ConstThroatWithPenetrationInv = NewType('BRepBlend_ConstThroatWithPenetrationInv', BlendFunc_ConstThroatWithPenetrationInv) -BRepBlend_EvolRad = NewType('BRepBlend_EvolRad', BlendFunc_EvolRad) -BRepBlend_EvolRadInv = NewType('BRepBlend_EvolRadInv', BlendFunc_EvolRadInv) -BRepBlend_Ruled = NewType('BRepBlend_Ruled', BlendFunc_Ruled) -BRepBlend_RuledInv = NewType('BRepBlend_RuledInv', BlendFunc_RuledInv) +BRepBlend_CSCircular = NewType("BRepBlend_CSCircular", BlendFunc_CSCircular) +BRepBlend_CSConstRad = NewType("BRepBlend_CSConstRad", BlendFunc_CSConstRad) +BRepBlend_ChAsym = NewType("BRepBlend_ChAsym", BlendFunc_ChAsym) +BRepBlend_ChAsymInv = NewType("BRepBlend_ChAsymInv", BlendFunc_ChAsymInv) +BRepBlend_ChamfInv = NewType("BRepBlend_ChamfInv", BlendFunc_ChamfInv) +BRepBlend_Chamfer = NewType("BRepBlend_Chamfer", BlendFunc_Chamfer) +BRepBlend_ConstRad = NewType("BRepBlend_ConstRad", BlendFunc_ConstRad) +BRepBlend_ConstRadInv = NewType("BRepBlend_ConstRadInv", BlendFunc_ConstRadInv) +BRepBlend_ConstThroat = NewType("BRepBlend_ConstThroat", BlendFunc_ConstThroat) +BRepBlend_ConstThroatInv = NewType("BRepBlend_ConstThroatInv", BlendFunc_ConstThroatInv) +BRepBlend_ConstThroatWithPenetration = NewType( + "BRepBlend_ConstThroatWithPenetration", BlendFunc_ConstThroatWithPenetration +) +BRepBlend_ConstThroatWithPenetrationInv = NewType( + "BRepBlend_ConstThroatWithPenetrationInv", BlendFunc_ConstThroatWithPenetrationInv +) +BRepBlend_EvolRad = NewType("BRepBlend_EvolRad", BlendFunc_EvolRad) +BRepBlend_EvolRadInv = NewType("BRepBlend_EvolRadInv", BlendFunc_EvolRadInv) +BRepBlend_Ruled = NewType("BRepBlend_Ruled", BlendFunc_Ruled) +BRepBlend_RuledInv = NewType("BRepBlend_RuledInv", BlendFunc_RuledInv) class BRepBlend_SequenceOfLine: - def __init__(self) -> None: ... - def __len__(self) -> int: ... - def Size(self) -> int: ... + def Assign(self, theItem: False) -> False: ... def Clear(self) -> None: ... def First(self) -> False: ... + def IsDeletables(self) -> bool: ... + def IsEmpty(self) -> bool: ... def Last(self) -> False: ... def Length(self) -> int: ... - def Append(self, theItem: False) -> False: ... + def Lower(self) -> int: ... def Prepend(self, theItem: False) -> False: ... def RemoveFirst(self) -> None: ... def Reverse(self) -> None: ... - def Value(self, theIndex: int) -> False: ... def SetValue(self, theIndex: int, theValue: False) -> None: ... - -class BRepBlend_SequenceOfPointOnRst: + def Size(self) -> int: ... + def UpdateUpperBound(self, int) -> None: ... + def UpdateLowerBound(self, int) -> None: ... + def Upper(self) -> int: ... + def Value(self, theIndex: int) -> False: ... def __init__(self) -> None: ... def __len__(self) -> int: ... - def Size(self) -> int: ... + +class BRepBlend_SequenceOfPointOnRst: + def Assign(self, theItem: BRepBlend_PointOnRst) -> BRepBlend_PointOnRst: ... def Clear(self) -> None: ... def First(self) -> BRepBlend_PointOnRst: ... + def IsDeletables(self) -> bool: ... + def IsEmpty(self) -> bool: ... def Last(self) -> BRepBlend_PointOnRst: ... def Length(self) -> int: ... - def Append(self, theItem: BRepBlend_PointOnRst) -> BRepBlend_PointOnRst: ... + def Lower(self) -> int: ... def Prepend(self, theItem: BRepBlend_PointOnRst) -> BRepBlend_PointOnRst: ... def RemoveFirst(self) -> None: ... def Reverse(self) -> None: ... - def Value(self, theIndex: int) -> BRepBlend_PointOnRst: ... def SetValue(self, theIndex: int, theValue: BRepBlend_PointOnRst) -> None: ... + def Size(self) -> int: ... + def UpdateUpperBound(self, int) -> None: ... + def UpdateLowerBound(self, int) -> None: ... + def Upper(self) -> int: ... + def Value(self, theIndex: int) -> BRepBlend_PointOnRst: ... + def __init__(self) -> None: ... + def __len__(self) -> int: ... class BRepBlend_AppFuncRoot(Approx_SweepFunction): - def BarycentreOfSurf(self) -> gp_Pnt: ... - def D0(self, Param: float, First: float, Last: float, Poles: TColgp_Array1OfPnt, Poles2d: TColgp_Array1OfPnt2d, Weigths: TColStd_Array1OfReal) -> bool: ... - def D1(self, Param: float, First: float, Last: float, Poles: TColgp_Array1OfPnt, DPoles: TColgp_Array1OfVec, Poles2d: TColgp_Array1OfPnt2d, DPoles2d: TColgp_Array1OfVec2d, Weigths: TColStd_Array1OfReal, DWeigths: TColStd_Array1OfReal) -> bool: ... - def D2(self, Param: float, First: float, Last: float, Poles: TColgp_Array1OfPnt, DPoles: TColgp_Array1OfVec, D2Poles: TColgp_Array1OfVec, Poles2d: TColgp_Array1OfPnt2d, DPoles2d: TColgp_Array1OfVec2d, D2Poles2d: TColgp_Array1OfVec2d, Weigths: TColStd_Array1OfReal, DWeigths: TColStd_Array1OfReal, D2Weigths: TColStd_Array1OfReal) -> bool: ... - def GetMinimalWeight(self, Weigths: TColStd_Array1OfReal) -> None: ... - def GetTolerance(self, BoundTol: float, SurfTol: float, AngleTol: float, Tol3d: TColStd_Array1OfReal) -> None: ... - def Intervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... - def IsRational(self) -> bool: ... - def Knots(self, TKnots: TColStd_Array1OfReal) -> None: ... - def MaximalSection(self) -> float: ... - def Mults(self, TMults: TColStd_Array1OfInteger) -> None: ... - def Nb2dCurves(self) -> int: ... - def NbIntervals(self, S: GeomAbs_Shape) -> int: ... - def Point(self, Func: Blend_AppFunction, Param: float, Sol: math_Vector, Pnt: Blend_Point) -> None: ... - def Resolution(self, Index: int, Tol: float) -> Tuple[float, float]: ... - def SectionShape(self) -> Tuple[int, int, int]: ... - def SetInterval(self, First: float, Last: float) -> None: ... - def SetTolerance(self, Tol3d: float, Tol2d: float) -> None: ... - def Vec(self, Sol: math_Vector, Pnt: Blend_Point) -> None: ... + def BarycentreOfSurf(self) -> gp_Pnt: ... + def D0( + self, + Param: float, + First: float, + Last: float, + Poles: TColgp_Array1OfPnt, + Poles2d: TColgp_Array1OfPnt2d, + Weigths: TColStd_Array1OfReal, + ) -> bool: ... + def D1( + self, + Param: float, + First: float, + Last: float, + Poles: TColgp_Array1OfPnt, + DPoles: TColgp_Array1OfVec, + Poles2d: TColgp_Array1OfPnt2d, + DPoles2d: TColgp_Array1OfVec2d, + Weigths: TColStd_Array1OfReal, + DWeigths: TColStd_Array1OfReal, + ) -> bool: ... + def D2( + self, + Param: float, + First: float, + Last: float, + Poles: TColgp_Array1OfPnt, + DPoles: TColgp_Array1OfVec, + D2Poles: TColgp_Array1OfVec, + Poles2d: TColgp_Array1OfPnt2d, + DPoles2d: TColgp_Array1OfVec2d, + D2Poles2d: TColgp_Array1OfVec2d, + Weigths: TColStd_Array1OfReal, + DWeigths: TColStd_Array1OfReal, + D2Weigths: TColStd_Array1OfReal, + ) -> bool: ... + def GetMinimalWeight(self, Weigths: TColStd_Array1OfReal) -> None: ... + def GetTolerance( + self, + BoundTol: float, + SurfTol: float, + AngleTol: float, + Tol3d: TColStd_Array1OfReal, + ) -> None: ... + def Intervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... + def IsRational(self) -> bool: ... + def Knots(self, TKnots: TColStd_Array1OfReal) -> None: ... + def MaximalSection(self) -> float: ... + def Mults(self, TMults: TColStd_Array1OfInteger) -> None: ... + def Nb2dCurves(self) -> int: ... + def NbIntervals(self, S: GeomAbs_Shape) -> int: ... + def Point( + self, Func: Blend_AppFunction, Param: float, Sol: math_Vector, Pnt: Blend_Point + ) -> None: ... + def Resolution(self, Index: int, Tol: float) -> Tuple[float, float]: ... + def SectionShape(self) -> Tuple[int, int, int]: ... + def SetInterval(self, First: float, Last: float) -> None: ... + def SetTolerance(self, Tol3d: float, Tol2d: float) -> None: ... + def Vec(self, Sol: math_Vector, Pnt: Blend_Point) -> None: ... class BRepBlend_AppSurf(AppBlend_Approx): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, Degmin: int, Degmax: int, Tol3d: float, Tol2d: float, NbIt: int, KnownParameters: Optional[bool] = False) -> None: ... - def Continuity(self) -> GeomAbs_Shape: ... - def CriteriumWeight(self) -> Tuple[float, float, float]: ... - def Curve2d(self, Index: int, TPoles: TColgp_Array1OfPnt2d, TKnots: TColStd_Array1OfReal, TMults: TColStd_Array1OfInteger) -> None: ... - def Curve2dPoles(self, Index: int) -> TColgp_Array1OfPnt2d: ... - def Curves2dDegree(self) -> int: ... - def Curves2dKnots(self) -> TColStd_Array1OfReal: ... - def Curves2dMults(self) -> TColStd_Array1OfInteger: ... - def Curves2dShape(self) -> Tuple[int, int, int]: ... - def Init(self, Degmin: int, Degmax: int, Tol3d: float, Tol2d: float, NbIt: int, KnownParameters: Optional[bool] = False) -> None: ... - def IsDone(self) -> bool: ... - def NbCurves2d(self) -> int: ... - def ParType(self) -> Approx_ParametrizationType: ... - @overload - def Perform(self, Lin: BRepBlend_Line, SecGen: Blend_AppFunction, SpApprox: Optional[bool] = False) -> None: ... - @overload - def Perform(self, Lin: BRepBlend_Line, SecGen: Blend_AppFunction, NbMaxP: int) -> None: ... - def PerformSmoothing(self, Lin: BRepBlend_Line, SecGen: Blend_AppFunction) -> None: ... - def SetContinuity(self, C: GeomAbs_Shape) -> None: ... - def SetCriteriumWeight(self, W1: float, W2: float, W3: float) -> None: ... - def SetParType(self, ParType: Approx_ParametrizationType) -> None: ... - def SurfPoles(self) -> TColgp_Array2OfPnt: ... - def SurfShape(self) -> Tuple[int, int, int, int, int, int]: ... - def SurfUKnots(self) -> TColStd_Array1OfReal: ... - def SurfUMults(self) -> TColStd_Array1OfInteger: ... - def SurfVKnots(self) -> TColStd_Array1OfReal: ... - def SurfVMults(self) -> TColStd_Array1OfInteger: ... - def SurfWeights(self) -> TColStd_Array2OfReal: ... - def Surface(self, TPoles: TColgp_Array2OfPnt, TWeights: TColStd_Array2OfReal, TUKnots: TColStd_Array1OfReal, TVKnots: TColStd_Array1OfReal, TUMults: TColStd_Array1OfInteger, TVMults: TColStd_Array1OfInteger) -> None: ... - def TolCurveOnSurf(self, Index: int) -> float: ... - def TolReached(self) -> Tuple[float, float]: ... - def UDegree(self) -> int: ... - def VDegree(self) -> int: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__( + self, + Degmin: int, + Degmax: int, + Tol3d: float, + Tol2d: float, + NbIt: int, + KnownParameters: Optional[bool] = False, + ) -> None: ... + def Continuity(self) -> GeomAbs_Shape: ... + def CriteriumWeight(self) -> Tuple[float, float, float]: ... + def Curve2d( + self, + Index: int, + TPoles: TColgp_Array1OfPnt2d, + TKnots: TColStd_Array1OfReal, + TMults: TColStd_Array1OfInteger, + ) -> None: ... + def Curve2dPoles(self, Index: int) -> TColgp_Array1OfPnt2d: ... + def Curves2dDegree(self) -> int: ... + def Curves2dKnots(self) -> TColStd_Array1OfReal: ... + def Curves2dMults(self) -> TColStd_Array1OfInteger: ... + def Curves2dShape(self) -> Tuple[int, int, int]: ... + def Init( + self, + Degmin: int, + Degmax: int, + Tol3d: float, + Tol2d: float, + NbIt: int, + KnownParameters: Optional[bool] = False, + ) -> None: ... + def IsDone(self) -> bool: ... + def NbCurves2d(self) -> int: ... + def ParType(self) -> Approx_ParametrizationType: ... + @overload + def Perform( + self, + Lin: BRepBlend_Line, + SecGen: Blend_AppFunction, + SpApprox: Optional[bool] = False, + ) -> None: ... + @overload + def Perform( + self, Lin: BRepBlend_Line, SecGen: Blend_AppFunction, NbMaxP: int + ) -> None: ... + def PerformSmoothing( + self, Lin: BRepBlend_Line, SecGen: Blend_AppFunction + ) -> None: ... + def SetContinuity(self, C: GeomAbs_Shape) -> None: ... + def SetCriteriumWeight(self, W1: float, W2: float, W3: float) -> None: ... + def SetParType(self, ParType: Approx_ParametrizationType) -> None: ... + def SurfPoles(self) -> TColgp_Array2OfPnt: ... + def SurfShape(self) -> Tuple[int, int, int, int, int, int]: ... + def SurfUKnots(self) -> TColStd_Array1OfReal: ... + def SurfUMults(self) -> TColStd_Array1OfInteger: ... + def SurfVKnots(self) -> TColStd_Array1OfReal: ... + def SurfVMults(self) -> TColStd_Array1OfInteger: ... + def SurfWeights(self) -> TColStd_Array2OfReal: ... + def Surface( + self, + TPoles: TColgp_Array2OfPnt, + TWeights: TColStd_Array2OfReal, + TUKnots: TColStd_Array1OfReal, + TVKnots: TColStd_Array1OfReal, + TUMults: TColStd_Array1OfInteger, + TVMults: TColStd_Array1OfInteger, + ) -> None: ... + def TolCurveOnSurf(self, Index: int) -> float: ... + def TolReached(self) -> Tuple[float, float]: ... + def UDegree(self) -> int: ... + def VDegree(self) -> int: ... class BRepBlend_AppSurface(AppBlend_Approx): - def __init__(self, Funct: Approx_SweepFunction, First: float, Last: float, Tol3d: float, Tol2d: float, TolAngular: float, Continuity: Optional[GeomAbs_Shape] = GeomAbs_C0, Degmax: Optional[int] = 11, Segmax: Optional[int] = 50) -> None: ... - def Curve2d(self, Index: int, TPoles: TColgp_Array1OfPnt2d, TKnots: TColStd_Array1OfReal, TMults: TColStd_Array1OfInteger) -> None: ... - def Curve2dPoles(self, Index: int) -> TColgp_Array1OfPnt2d: ... - def Curves2dDegree(self) -> int: ... - def Curves2dKnots(self) -> TColStd_Array1OfReal: ... - def Curves2dMults(self) -> TColStd_Array1OfInteger: ... - def Curves2dShape(self) -> Tuple[int, int, int]: ... - def IsDone(self) -> bool: ... - def Max2dError(self, Index: int) -> float: ... - def MaxErrorOnSurf(self) -> float: ... - def NbCurves2d(self) -> int: ... - def SurfPoles(self) -> TColgp_Array2OfPnt: ... - def SurfShape(self) -> Tuple[int, int, int, int, int, int]: ... - def SurfUKnots(self) -> TColStd_Array1OfReal: ... - def SurfUMults(self) -> TColStd_Array1OfInteger: ... - def SurfVKnots(self) -> TColStd_Array1OfReal: ... - def SurfVMults(self) -> TColStd_Array1OfInteger: ... - def SurfWeights(self) -> TColStd_Array2OfReal: ... - def Surface(self, TPoles: TColgp_Array2OfPnt, TWeights: TColStd_Array2OfReal, TUKnots: TColStd_Array1OfReal, TVKnots: TColStd_Array1OfReal, TUMults: TColStd_Array1OfInteger, TVMults: TColStd_Array1OfInteger) -> None: ... - def TolCurveOnSurf(self, Index: int) -> float: ... - def UDegree(self) -> int: ... - def VDegree(self) -> int: ... + def __init__( + self, + Funct: Approx_SweepFunction, + First: float, + Last: float, + Tol3d: float, + Tol2d: float, + TolAngular: float, + Continuity: Optional[GeomAbs_Shape] = GeomAbs_C0, + Degmax: Optional[int] = 11, + Segmax: Optional[int] = 50, + ) -> None: ... + def Curve2d( + self, + Index: int, + TPoles: TColgp_Array1OfPnt2d, + TKnots: TColStd_Array1OfReal, + TMults: TColStd_Array1OfInteger, + ) -> None: ... + def Curve2dPoles(self, Index: int) -> TColgp_Array1OfPnt2d: ... + def Curves2dDegree(self) -> int: ... + def Curves2dKnots(self) -> TColStd_Array1OfReal: ... + def Curves2dMults(self) -> TColStd_Array1OfInteger: ... + def Curves2dShape(self) -> Tuple[int, int, int]: ... + def Dump(self) -> str: ... + def IsDone(self) -> bool: ... + def Max2dError(self, Index: int) -> float: ... + def MaxErrorOnSurf(self) -> float: ... + def NbCurves2d(self) -> int: ... + def SurfPoles(self) -> TColgp_Array2OfPnt: ... + def SurfShape(self) -> Tuple[int, int, int, int, int, int]: ... + def SurfUKnots(self) -> TColStd_Array1OfReal: ... + def SurfUMults(self) -> TColStd_Array1OfInteger: ... + def SurfVKnots(self) -> TColStd_Array1OfReal: ... + def SurfVMults(self) -> TColStd_Array1OfInteger: ... + def SurfWeights(self) -> TColStd_Array2OfReal: ... + def Surface( + self, + TPoles: TColgp_Array2OfPnt, + TWeights: TColStd_Array2OfReal, + TUKnots: TColStd_Array1OfReal, + TVKnots: TColStd_Array1OfReal, + TUMults: TColStd_Array1OfInteger, + TVMults: TColStd_Array1OfInteger, + ) -> None: ... + def TolCurveOnSurf(self, Index: int) -> float: ... + def UDegree(self) -> int: ... + def VDegree(self) -> int: ... -class BRepBlend_CSWalking: - def __init__(self, Curv: Adaptor3d_HCurve, Surf: Adaptor3d_HSurface, Domain: Adaptor3d_TopolTool) -> None: ... - def Complete(self, F: Blend_CSFunction, Pmin: float) -> bool: ... - def IsDone(self) -> bool: ... - def Line(self) -> BRepBlend_Line: ... - def Perform(self, F: Blend_CSFunction, Pdep: float, Pmax: float, MaxStep: float, TolGuide: float, Soldep: math_Vector, Tolesp: float, Fleche: float, Appro: Optional[bool] = False) -> None: ... +class BRepBlend_BlendTool: + @staticmethod + def Bounds(C: Adaptor2d_Curve2d) -> Tuple[float, float]: ... + @staticmethod + def CurveOnSurf( + C: Adaptor2d_Curve2d, S: Adaptor3d_Surface + ) -> Adaptor2d_Curve2d: ... + @staticmethod + def Inters( + P1: gp_Pnt2d, P2: gp_Pnt2d, S: Adaptor3d_Surface, C: Adaptor2d_Curve2d + ) -> Tuple[bool, float, float]: ... + @staticmethod + def NbSamplesU(S: Adaptor3d_Surface, u1: float, u2: float) -> int: ... + @staticmethod + def NbSamplesV(S: Adaptor3d_Surface, v1: float, v2: float) -> int: ... + @staticmethod + def Parameter(V: Adaptor3d_HVertex, A: Adaptor2d_Curve2d) -> float: ... + @staticmethod + def Project( + P: gp_Pnt2d, S: Adaptor3d_Surface, C: Adaptor2d_Curve2d + ) -> Tuple[bool, float, float]: ... + @staticmethod + def SingularOnUMax(S: Adaptor3d_Surface) -> bool: ... + @staticmethod + def SingularOnUMin(S: Adaptor3d_Surface) -> bool: ... + @staticmethod + def SingularOnVMax(S: Adaptor3d_Surface) -> bool: ... + @staticmethod + def SingularOnVMin(S: Adaptor3d_Surface) -> bool: ... + @staticmethod + def Tolerance(V: Adaptor3d_HVertex, A: Adaptor2d_Curve2d) -> float: ... class BRepBlend_CurvPointRadInv(Blend_CurvPointFuncInv): - def __init__(self, C1: Adaptor3d_HCurve, C2: Adaptor3d_HCurve) -> None: ... - def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... - def GetBounds(self, InfBound: math_Vector, SupBound: math_Vector) -> None: ... - def GetTolerance(self, Tolerance: math_Vector, Tol: float) -> None: ... - def IsSolution(self, Sol: math_Vector, Tol: float) -> bool: ... - def NbEquations(self) -> int: ... - @overload - def Set(self, Choix: int) -> None: ... - @overload - def Set(self, P: gp_Pnt) -> None: ... - def Value(self, X: math_Vector, F: math_Vector) -> bool: ... - def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... + def __init__(self, C1: Adaptor3d_Curve, C2: Adaptor3d_Curve) -> None: ... + def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... + def GetBounds(self, InfBound: math_Vector, SupBound: math_Vector) -> None: ... + def GetTolerance(self, Tolerance: math_Vector, Tol: float) -> None: ... + def IsSolution(self, Sol: math_Vector, Tol: float) -> bool: ... + def NbEquations(self) -> int: ... + @overload + def Set(self, Choix: int) -> None: ... + @overload + def Set(self, P: gp_Pnt) -> None: ... + def Value(self, X: math_Vector, F: math_Vector) -> bool: ... + def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... class BRepBlend_Extremity: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, P: gp_Pnt, U: float, V: float, Param: float, Tol: float) -> None: ... - @overload - def __init__(self, P: gp_Pnt, U: float, V: float, Param: float, Tol: float, Vtx: Adaptor3d_HVertex) -> None: ... - @overload - def __init__(self, P: gp_Pnt, W: float, Param: float, Tol: float) -> None: ... - def AddArc(self, A: Adaptor2d_HCurve2d, Param: float, TLine: IntSurf_Transition, TArc: IntSurf_Transition) -> None: ... - def HasTangent(self) -> bool: ... - def IsVertex(self) -> bool: ... - def NbPointOnRst(self) -> int: ... - def Parameter(self) -> float: ... - def ParameterOnGuide(self) -> float: ... - def Parameters(self) -> Tuple[float, float]: ... - def PointOnRst(self, Index: int) -> BRepBlend_PointOnRst: ... - def SetTangent(self, Tangent: gp_Vec) -> None: ... - @overload - def SetValue(self, P: gp_Pnt, U: float, V: float, Param: float, Tol: float) -> None: ... - @overload - def SetValue(self, P: gp_Pnt, U: float, V: float, Param: float, Tol: float, Vtx: Adaptor3d_HVertex) -> None: ... - @overload - def SetValue(self, P: gp_Pnt, W: float, Param: float, Tol: float) -> None: ... - def SetVertex(self, V: Adaptor3d_HVertex) -> None: ... - def Tangent(self) -> gp_Vec: ... - def Tolerance(self) -> float: ... - def Value(self) -> gp_Pnt: ... - def Vertex(self) -> Adaptor3d_HVertex: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__( + self, P: gp_Pnt, U: float, V: float, Param: float, Tol: float + ) -> None: ... + @overload + def __init__( + self, + P: gp_Pnt, + U: float, + V: float, + Param: float, + Tol: float, + Vtx: Adaptor3d_HVertex, + ) -> None: ... + @overload + def __init__(self, P: gp_Pnt, W: float, Param: float, Tol: float) -> None: ... + def AddArc( + self, + A: Adaptor2d_Curve2d, + Param: float, + TLine: IntSurf_Transition, + TArc: IntSurf_Transition, + ) -> None: ... + def HasTangent(self) -> bool: ... + def IsVertex(self) -> bool: ... + def NbPointOnRst(self) -> int: ... + def Parameter(self) -> float: ... + def ParameterOnGuide(self) -> float: ... + def Parameters(self) -> Tuple[float, float]: ... + def PointOnRst(self, Index: int) -> BRepBlend_PointOnRst: ... + def SetTangent(self, Tangent: gp_Vec) -> None: ... + @overload + def SetValue( + self, P: gp_Pnt, U: float, V: float, Param: float, Tol: float + ) -> None: ... + @overload + def SetValue( + self, + P: gp_Pnt, + U: float, + V: float, + Param: float, + Tol: float, + Vtx: Adaptor3d_HVertex, + ) -> None: ... + @overload + def SetValue(self, P: gp_Pnt, W: float, Param: float, Tol: float) -> None: ... + def SetVertex(self, V: Adaptor3d_HVertex) -> None: ... + def Tangent(self) -> gp_Vec: ... + def Tolerance(self) -> float: ... + def Value(self) -> gp_Pnt: ... + def Vertex(self) -> Adaptor3d_HVertex: ... + +class BRepBlend_HCurve2dTool: + @staticmethod + def BSpline(C: Adaptor2d_Curve2d) -> Geom2d_BSplineCurve: ... + @staticmethod + def Bezier(C: Adaptor2d_Curve2d) -> Geom2d_BezierCurve: ... + @staticmethod + def Circle(C: Adaptor2d_Curve2d) -> gp_Circ2d: ... + @staticmethod + def Continuity(C: Adaptor2d_Curve2d) -> GeomAbs_Shape: ... + @staticmethod + def D0(C: Adaptor2d_Curve2d, U: float, P: gp_Pnt2d) -> None: ... + @staticmethod + def D1(C: Adaptor2d_Curve2d, U: float, P: gp_Pnt2d, V: gp_Vec2d) -> None: ... + @staticmethod + def D2( + C: Adaptor2d_Curve2d, U: float, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d + ) -> None: ... + @staticmethod + def D3( + C: Adaptor2d_Curve2d, + U: float, + P: gp_Pnt2d, + V1: gp_Vec2d, + V2: gp_Vec2d, + V3: gp_Vec2d, + ) -> None: ... + @staticmethod + def DN(C: Adaptor2d_Curve2d, U: float, N: int) -> gp_Vec2d: ... + @staticmethod + def Ellipse(C: Adaptor2d_Curve2d) -> gp_Elips2d: ... + @staticmethod + def FirstParameter(C: Adaptor2d_Curve2d) -> float: ... + @staticmethod + def GetType(C: Adaptor2d_Curve2d) -> GeomAbs_CurveType: ... + @staticmethod + def Hyperbola(C: Adaptor2d_Curve2d) -> gp_Hypr2d: ... + @staticmethod + def Intervals( + C: Adaptor2d_Curve2d, T: TColStd_Array1OfReal, S: GeomAbs_Shape + ) -> None: ... + @staticmethod + def IsClosed(C: Adaptor2d_Curve2d) -> bool: ... + @staticmethod + def IsPeriodic(C: Adaptor2d_Curve2d) -> bool: ... + @staticmethod + def LastParameter(C: Adaptor2d_Curve2d) -> float: ... + @staticmethod + def Line(C: Adaptor2d_Curve2d) -> gp_Lin2d: ... + @staticmethod + def NbIntervals(C: Adaptor2d_Curve2d, S: GeomAbs_Shape) -> int: ... + @staticmethod + def NbSamples(C: Adaptor2d_Curve2d, U0: float, U1: float) -> int: ... + @staticmethod + def Parabola(C: Adaptor2d_Curve2d) -> gp_Parab2d: ... + @staticmethod + def Period(C: Adaptor2d_Curve2d) -> float: ... + @staticmethod + def Resolution(C: Adaptor2d_Curve2d, R3d: float) -> float: ... + @staticmethod + def Value(C: Adaptor2d_Curve2d, U: float) -> gp_Pnt2d: ... + +class BRepBlend_HCurveTool: + @staticmethod + def BSpline(C: Adaptor3d_Curve) -> Geom_BSplineCurve: ... + @staticmethod + def Bezier(C: Adaptor3d_Curve) -> Geom_BezierCurve: ... + @staticmethod + def Circle(C: Adaptor3d_Curve) -> gp_Circ: ... + @staticmethod + def Continuity(C: Adaptor3d_Curve) -> GeomAbs_Shape: ... + @staticmethod + def D0(C: Adaptor3d_Curve, U: float, P: gp_Pnt) -> None: ... + @staticmethod + def D1(C: Adaptor3d_Curve, U: float, P: gp_Pnt, V: gp_Vec) -> None: ... + @staticmethod + def D2(C: Adaptor3d_Curve, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec) -> None: ... + @staticmethod + def D3( + C: Adaptor3d_Curve, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec, V3: gp_Vec + ) -> None: ... + @staticmethod + def DN(C: Adaptor3d_Curve, U: float, N: int) -> gp_Vec: ... + @staticmethod + def Ellipse(C: Adaptor3d_Curve) -> gp_Elips: ... + @staticmethod + def FirstParameter(C: Adaptor3d_Curve) -> float: ... + @staticmethod + def GetType(C: Adaptor3d_Curve) -> GeomAbs_CurveType: ... + @staticmethod + def Hyperbola(C: Adaptor3d_Curve) -> gp_Hypr: ... + @staticmethod + def Intervals( + C: Adaptor3d_Curve, T: TColStd_Array1OfReal, S: GeomAbs_Shape + ) -> None: ... + @staticmethod + def IsClosed(C: Adaptor3d_Curve) -> bool: ... + @staticmethod + def IsPeriodic(C: Adaptor3d_Curve) -> bool: ... + @staticmethod + def LastParameter(C: Adaptor3d_Curve) -> float: ... + @staticmethod + def Line(C: Adaptor3d_Curve) -> gp_Lin: ... + @staticmethod + def NbIntervals(C: Adaptor3d_Curve, S: GeomAbs_Shape) -> int: ... + @staticmethod + def NbSamples(C: Adaptor3d_Curve, U0: float, U1: float) -> int: ... + @staticmethod + def Parabola(C: Adaptor3d_Curve) -> gp_Parab: ... + @staticmethod + def Period(C: Adaptor3d_Curve) -> float: ... + @staticmethod + def Resolution(C: Adaptor3d_Curve, R3d: float) -> float: ... + @staticmethod + def Value(C: Adaptor3d_Curve, U: float) -> gp_Pnt: ... class BRepBlend_Line(Standard_Transient): - def __init__(self) -> None: ... - def Append(self, P: Blend_Point) -> None: ... - def Clear(self) -> None: ... - def EndPointOnFirst(self) -> BRepBlend_Extremity: ... - def EndPointOnSecond(self) -> BRepBlend_Extremity: ... - def InsertBefore(self, Index: int, P: Blend_Point) -> None: ... - def NbPoints(self) -> int: ... - def Point(self, Index: int) -> Blend_Point: ... - def Prepend(self, P: Blend_Point) -> None: ... - def Remove(self, FromIndex: int, ToIndex: int) -> None: ... - @overload - def Set(self, TranS1: IntSurf_TypeTrans, TranS2: IntSurf_TypeTrans) -> None: ... - @overload - def Set(self, Trans: IntSurf_TypeTrans) -> None: ... - def SetEndPoints(self, EndPt1: BRepBlend_Extremity, EndPt2: BRepBlend_Extremity) -> None: ... - def SetStartPoints(self, StartPt1: BRepBlend_Extremity, StartPt2: BRepBlend_Extremity) -> None: ... - def StartPointOnFirst(self) -> BRepBlend_Extremity: ... - def StartPointOnSecond(self) -> BRepBlend_Extremity: ... - def TransitionOnS(self) -> IntSurf_TypeTrans: ... - def TransitionOnS1(self) -> IntSurf_TypeTrans: ... - def TransitionOnS2(self) -> IntSurf_TypeTrans: ... + def __init__(self) -> None: ... + def Append(self, P: Blend_Point) -> None: ... + def Clear(self) -> None: ... + def EndPointOnFirst(self) -> BRepBlend_Extremity: ... + def EndPointOnSecond(self) -> BRepBlend_Extremity: ... + def InsertBefore(self, Index: int, P: Blend_Point) -> None: ... + def NbPoints(self) -> int: ... + def Point(self, Index: int) -> Blend_Point: ... + def Prepend(self, P: Blend_Point) -> None: ... + def Remove(self, FromIndex: int, ToIndex: int) -> None: ... + @overload + def Set(self, TranS1: IntSurf_TypeTrans, TranS2: IntSurf_TypeTrans) -> None: ... + @overload + def Set(self, Trans: IntSurf_TypeTrans) -> None: ... + def SetEndPoints( + self, EndPt1: BRepBlend_Extremity, EndPt2: BRepBlend_Extremity + ) -> None: ... + def SetStartPoints( + self, StartPt1: BRepBlend_Extremity, StartPt2: BRepBlend_Extremity + ) -> None: ... + def StartPointOnFirst(self) -> BRepBlend_Extremity: ... + def StartPointOnSecond(self) -> BRepBlend_Extremity: ... + def TransitionOnS(self) -> IntSurf_TypeTrans: ... + def TransitionOnS1(self) -> IntSurf_TypeTrans: ... + def TransitionOnS2(self) -> IntSurf_TypeTrans: ... class BRepBlend_PointOnRst: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, A: Adaptor2d_HCurve2d, Param: float, TLine: IntSurf_Transition, TArc: IntSurf_Transition) -> None: ... - def Arc(self) -> Adaptor2d_HCurve2d: ... - def ParameterOnArc(self) -> float: ... - def SetArc(self, A: Adaptor2d_HCurve2d, Param: float, TLine: IntSurf_Transition, TArc: IntSurf_Transition) -> None: ... - def TransitionOnArc(self) -> IntSurf_Transition: ... - def TransitionOnLine(self) -> IntSurf_Transition: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__( + self, + A: Adaptor2d_Curve2d, + Param: float, + TLine: IntSurf_Transition, + TArc: IntSurf_Transition, + ) -> None: ... + def Arc(self) -> Adaptor2d_Curve2d: ... + def ParameterOnArc(self) -> float: ... + def SetArc( + self, + A: Adaptor2d_Curve2d, + Param: float, + TLine: IntSurf_Transition, + TArc: IntSurf_Transition, + ) -> None: ... + def TransitionOnArc(self) -> IntSurf_Transition: ... + def TransitionOnLine(self) -> IntSurf_Transition: ... class BRepBlend_RstRstConstRad(Blend_RstRstFunction): - def __init__(self, Surf1: Adaptor3d_HSurface, Rst1: Adaptor2d_HCurve2d, Surf2: Adaptor3d_HSurface, Rst2: Adaptor2d_HCurve2d, CGuide: Adaptor3d_HCurve) -> None: ... - def CenterCircleRst1Rst2(self, PtRst1: gp_Pnt, PtRst2: gp_Pnt, np: gp_Vec, Center: gp_Pnt, VdMed: gp_Vec) -> bool: ... - def Decroch(self, Sol: math_Vector, NRst1: gp_Vec, TgRst1: gp_Vec, NRst2: gp_Vec, TgRst2: gp_Vec) -> Blend_DecrochStatus: ... - def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... - def GetBounds(self, InfBound: math_Vector, SupBound: math_Vector) -> None: ... - def GetMinimalDistance(self) -> float: ... - def GetMinimalWeight(self, Weigths: TColStd_Array1OfReal) -> None: ... - def GetSectionSize(self) -> float: ... - def GetShape(self) -> Tuple[int, int, int, int]: ... - @overload - def GetTolerance(self, Tolerance: math_Vector, Tol: float) -> None: ... - @overload - def GetTolerance(self, BoundTol: float, SurfTol: float, AngleTol: float, Tol3d: math_Vector, Tol1D: math_Vector) -> None: ... - def Intervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... - def IsRational(self) -> bool: ... - def IsSolution(self, Sol: math_Vector, Tol: float) -> bool: ... - def IsTangencyPoint(self) -> bool: ... - def Knots(self, TKnots: TColStd_Array1OfReal) -> None: ... - def Mults(self, TMults: TColStd_Array1OfInteger) -> None: ... - def NbEquations(self) -> int: ... - def NbIntervals(self, S: GeomAbs_Shape) -> int: ... - def NbVariables(self) -> int: ... - def ParameterOnRst1(self) -> float: ... - def ParameterOnRst2(self) -> float: ... - def Pnt2dOnRst1(self) -> gp_Pnt2d: ... - def Pnt2dOnRst2(self) -> gp_Pnt2d: ... - def PointOnRst1(self) -> gp_Pnt: ... - def PointOnRst2(self) -> gp_Pnt: ... - def Resolution(self, IC2d: int, Tol: float) -> Tuple[float, float]: ... - @overload - def Section(self, Param: float, U: float, V: float, C: gp_Circ) -> Tuple[float, float]: ... - @overload - def Section(self, P: Blend_Point, Poles: TColgp_Array1OfPnt, DPoles: TColgp_Array1OfVec, Poles2d: TColgp_Array1OfPnt2d, DPoles2d: TColgp_Array1OfVec2d, Weigths: TColStd_Array1OfReal, DWeigths: TColStd_Array1OfReal) -> bool: ... - @overload - def Section(self, P: Blend_Point, Poles: TColgp_Array1OfPnt, Poles2d: TColgp_Array1OfPnt2d, Weigths: TColStd_Array1OfReal) -> None: ... - @overload - def Section(self, P: Blend_Point, Poles: TColgp_Array1OfPnt, DPoles: TColgp_Array1OfVec, D2Poles: TColgp_Array1OfVec, Poles2d: TColgp_Array1OfPnt2d, DPoles2d: TColgp_Array1OfVec2d, D2Poles2d: TColgp_Array1OfVec2d, Weigths: TColStd_Array1OfReal, DWeigths: TColStd_Array1OfReal, D2Weigths: TColStd_Array1OfReal) -> bool: ... - @overload - def Set(self, SurfRef1: Adaptor3d_HSurface, RstRef1: Adaptor2d_HCurve2d, SurfRef2: Adaptor3d_HSurface, RstRef2: Adaptor2d_HCurve2d) -> None: ... - @overload - def Set(self, Param: float) -> None: ... - @overload - def Set(self, First: float, Last: float) -> None: ... - @overload - def Set(self, Radius: float, Choix: int) -> None: ... - @overload - def Set(self, TypeSection: BlendFunc_SectionShape) -> None: ... - def Tangent2dOnRst1(self) -> gp_Vec2d: ... - def Tangent2dOnRst2(self) -> gp_Vec2d: ... - def TangentOnRst1(self) -> gp_Vec: ... - def TangentOnRst2(self) -> gp_Vec: ... - def Value(self, X: math_Vector, F: math_Vector) -> bool: ... - def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... + def __init__( + self, + Surf1: Adaptor3d_Surface, + Rst1: Adaptor2d_Curve2d, + Surf2: Adaptor3d_Surface, + Rst2: Adaptor2d_Curve2d, + CGuide: Adaptor3d_Curve, + ) -> None: ... + def CenterCircleRst1Rst2( + self, PtRst1: gp_Pnt, PtRst2: gp_Pnt, np: gp_Vec, Center: gp_Pnt, VdMed: gp_Vec + ) -> bool: ... + def Decroch( + self, + Sol: math_Vector, + NRst1: gp_Vec, + TgRst1: gp_Vec, + NRst2: gp_Vec, + TgRst2: gp_Vec, + ) -> Blend_DecrochStatus: ... + def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... + def GetBounds(self, InfBound: math_Vector, SupBound: math_Vector) -> None: ... + def GetMinimalDistance(self) -> float: ... + def GetMinimalWeight(self, Weigths: TColStd_Array1OfReal) -> None: ... + def GetSectionSize(self) -> float: ... + def GetShape(self) -> Tuple[int, int, int, int]: ... + @overload + def GetTolerance(self, Tolerance: math_Vector, Tol: float) -> None: ... + @overload + def GetTolerance( + self, + BoundTol: float, + SurfTol: float, + AngleTol: float, + Tol3d: math_Vector, + Tol1D: math_Vector, + ) -> None: ... + def Intervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... + def IsRational(self) -> bool: ... + def IsSolution(self, Sol: math_Vector, Tol: float) -> bool: ... + def IsTangencyPoint(self) -> bool: ... + def Knots(self, TKnots: TColStd_Array1OfReal) -> None: ... + def Mults(self, TMults: TColStd_Array1OfInteger) -> None: ... + def NbEquations(self) -> int: ... + def NbIntervals(self, S: GeomAbs_Shape) -> int: ... + def NbVariables(self) -> int: ... + def ParameterOnRst1(self) -> float: ... + def ParameterOnRst2(self) -> float: ... + def Pnt2dOnRst1(self) -> gp_Pnt2d: ... + def Pnt2dOnRst2(self) -> gp_Pnt2d: ... + def PointOnRst1(self) -> gp_Pnt: ... + def PointOnRst2(self) -> gp_Pnt: ... + def Resolution(self, IC2d: int, Tol: float) -> Tuple[float, float]: ... + @overload + def Section( + self, Param: float, U: float, V: float, C: gp_Circ + ) -> Tuple[float, float]: ... + @overload + def Section( + self, + P: Blend_Point, + Poles: TColgp_Array1OfPnt, + DPoles: TColgp_Array1OfVec, + Poles2d: TColgp_Array1OfPnt2d, + DPoles2d: TColgp_Array1OfVec2d, + Weigths: TColStd_Array1OfReal, + DWeigths: TColStd_Array1OfReal, + ) -> bool: ... + @overload + def Section( + self, + P: Blend_Point, + Poles: TColgp_Array1OfPnt, + Poles2d: TColgp_Array1OfPnt2d, + Weigths: TColStd_Array1OfReal, + ) -> None: ... + @overload + def Section( + self, + P: Blend_Point, + Poles: TColgp_Array1OfPnt, + DPoles: TColgp_Array1OfVec, + D2Poles: TColgp_Array1OfVec, + Poles2d: TColgp_Array1OfPnt2d, + DPoles2d: TColgp_Array1OfVec2d, + D2Poles2d: TColgp_Array1OfVec2d, + Weigths: TColStd_Array1OfReal, + DWeigths: TColStd_Array1OfReal, + D2Weigths: TColStd_Array1OfReal, + ) -> bool: ... + @overload + def Set( + self, + SurfRef1: Adaptor3d_Surface, + RstRef1: Adaptor2d_Curve2d, + SurfRef2: Adaptor3d_Surface, + RstRef2: Adaptor2d_Curve2d, + ) -> None: ... + @overload + def Set(self, Param: float) -> None: ... + @overload + def Set(self, First: float, Last: float) -> None: ... + @overload + def Set(self, Radius: float, Choix: int) -> None: ... + @overload + def Set(self, TypeSection: BlendFunc_SectionShape) -> None: ... + def Tangent2dOnRst1(self) -> gp_Vec2d: ... + def Tangent2dOnRst2(self) -> gp_Vec2d: ... + def TangentOnRst1(self) -> gp_Vec: ... + def TangentOnRst2(self) -> gp_Vec: ... + def Value(self, X: math_Vector, F: math_Vector) -> bool: ... + def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... class BRepBlend_RstRstEvolRad(Blend_RstRstFunction): - def __init__(self, Surf1: Adaptor3d_HSurface, Rst1: Adaptor2d_HCurve2d, Surf2: Adaptor3d_HSurface, Rst2: Adaptor2d_HCurve2d, CGuide: Adaptor3d_HCurve, Evol: Law_Function) -> None: ... - def CenterCircleRst1Rst2(self, PtRst1: gp_Pnt, PtRst2: gp_Pnt, np: gp_Vec, Center: gp_Pnt, VdMed: gp_Vec) -> bool: ... - def Decroch(self, Sol: math_Vector, NRst1: gp_Vec, TgRst1: gp_Vec, NRst2: gp_Vec, TgRst2: gp_Vec) -> Blend_DecrochStatus: ... - def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... - def GetBounds(self, InfBound: math_Vector, SupBound: math_Vector) -> None: ... - def GetMinimalDistance(self) -> float: ... - def GetMinimalWeight(self, Weigths: TColStd_Array1OfReal) -> None: ... - def GetSectionSize(self) -> float: ... - def GetShape(self) -> Tuple[int, int, int, int]: ... - @overload - def GetTolerance(self, Tolerance: math_Vector, Tol: float) -> None: ... - @overload - def GetTolerance(self, BoundTol: float, SurfTol: float, AngleTol: float, Tol3d: math_Vector, Tol1D: math_Vector) -> None: ... - def Intervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... - def IsRational(self) -> bool: ... - def IsSolution(self, Sol: math_Vector, Tol: float) -> bool: ... - def IsTangencyPoint(self) -> bool: ... - def Knots(self, TKnots: TColStd_Array1OfReal) -> None: ... - def Mults(self, TMults: TColStd_Array1OfInteger) -> None: ... - def NbEquations(self) -> int: ... - def NbIntervals(self, S: GeomAbs_Shape) -> int: ... - def NbVariables(self) -> int: ... - def ParameterOnRst1(self) -> float: ... - def ParameterOnRst2(self) -> float: ... - def Pnt2dOnRst1(self) -> gp_Pnt2d: ... - def Pnt2dOnRst2(self) -> gp_Pnt2d: ... - def PointOnRst1(self) -> gp_Pnt: ... - def PointOnRst2(self) -> gp_Pnt: ... - def Resolution(self, IC2d: int, Tol: float) -> Tuple[float, float]: ... - @overload - def Section(self, Param: float, U: float, V: float, C: gp_Circ) -> Tuple[float, float]: ... - @overload - def Section(self, P: Blend_Point, Poles: TColgp_Array1OfPnt, DPoles: TColgp_Array1OfVec, Poles2d: TColgp_Array1OfPnt2d, DPoles2d: TColgp_Array1OfVec2d, Weigths: TColStd_Array1OfReal, DWeigths: TColStd_Array1OfReal) -> bool: ... - @overload - def Section(self, P: Blend_Point, Poles: TColgp_Array1OfPnt, Poles2d: TColgp_Array1OfPnt2d, Weigths: TColStd_Array1OfReal) -> None: ... - @overload - def Section(self, P: Blend_Point, Poles: TColgp_Array1OfPnt, DPoles: TColgp_Array1OfVec, D2Poles: TColgp_Array1OfVec, Poles2d: TColgp_Array1OfPnt2d, DPoles2d: TColgp_Array1OfVec2d, D2Poles2d: TColgp_Array1OfVec2d, Weigths: TColStd_Array1OfReal, DWeigths: TColStd_Array1OfReal, D2Weigths: TColStd_Array1OfReal) -> bool: ... - @overload - def Set(self, SurfRef1: Adaptor3d_HSurface, RstRef1: Adaptor2d_HCurve2d, SurfRef2: Adaptor3d_HSurface, RstRef2: Adaptor2d_HCurve2d) -> None: ... - @overload - def Set(self, Param: float) -> None: ... - @overload - def Set(self, First: float, Last: float) -> None: ... - @overload - def Set(self, Choix: int) -> None: ... - @overload - def Set(self, TypeSection: BlendFunc_SectionShape) -> None: ... - def Tangent2dOnRst1(self) -> gp_Vec2d: ... - def Tangent2dOnRst2(self) -> gp_Vec2d: ... - def TangentOnRst1(self) -> gp_Vec: ... - def TangentOnRst2(self) -> gp_Vec: ... - def Value(self, X: math_Vector, F: math_Vector) -> bool: ... - def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... + def __init__( + self, + Surf1: Adaptor3d_Surface, + Rst1: Adaptor2d_Curve2d, + Surf2: Adaptor3d_Surface, + Rst2: Adaptor2d_Curve2d, + CGuide: Adaptor3d_Curve, + Evol: Law_Function, + ) -> None: ... + def CenterCircleRst1Rst2( + self, PtRst1: gp_Pnt, PtRst2: gp_Pnt, np: gp_Vec, Center: gp_Pnt, VdMed: gp_Vec + ) -> bool: ... + def Decroch( + self, + Sol: math_Vector, + NRst1: gp_Vec, + TgRst1: gp_Vec, + NRst2: gp_Vec, + TgRst2: gp_Vec, + ) -> Blend_DecrochStatus: ... + def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... + def GetBounds(self, InfBound: math_Vector, SupBound: math_Vector) -> None: ... + def GetMinimalDistance(self) -> float: ... + def GetMinimalWeight(self, Weigths: TColStd_Array1OfReal) -> None: ... + def GetSectionSize(self) -> float: ... + def GetShape(self) -> Tuple[int, int, int, int]: ... + @overload + def GetTolerance(self, Tolerance: math_Vector, Tol: float) -> None: ... + @overload + def GetTolerance( + self, + BoundTol: float, + SurfTol: float, + AngleTol: float, + Tol3d: math_Vector, + Tol1D: math_Vector, + ) -> None: ... + def Intervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... + def IsRational(self) -> bool: ... + def IsSolution(self, Sol: math_Vector, Tol: float) -> bool: ... + def IsTangencyPoint(self) -> bool: ... + def Knots(self, TKnots: TColStd_Array1OfReal) -> None: ... + def Mults(self, TMults: TColStd_Array1OfInteger) -> None: ... + def NbEquations(self) -> int: ... + def NbIntervals(self, S: GeomAbs_Shape) -> int: ... + def NbVariables(self) -> int: ... + def ParameterOnRst1(self) -> float: ... + def ParameterOnRst2(self) -> float: ... + def Pnt2dOnRst1(self) -> gp_Pnt2d: ... + def Pnt2dOnRst2(self) -> gp_Pnt2d: ... + def PointOnRst1(self) -> gp_Pnt: ... + def PointOnRst2(self) -> gp_Pnt: ... + def Resolution(self, IC2d: int, Tol: float) -> Tuple[float, float]: ... + @overload + def Section( + self, Param: float, U: float, V: float, C: gp_Circ + ) -> Tuple[float, float]: ... + @overload + def Section( + self, + P: Blend_Point, + Poles: TColgp_Array1OfPnt, + DPoles: TColgp_Array1OfVec, + Poles2d: TColgp_Array1OfPnt2d, + DPoles2d: TColgp_Array1OfVec2d, + Weigths: TColStd_Array1OfReal, + DWeigths: TColStd_Array1OfReal, + ) -> bool: ... + @overload + def Section( + self, + P: Blend_Point, + Poles: TColgp_Array1OfPnt, + Poles2d: TColgp_Array1OfPnt2d, + Weigths: TColStd_Array1OfReal, + ) -> None: ... + @overload + def Section( + self, + P: Blend_Point, + Poles: TColgp_Array1OfPnt, + DPoles: TColgp_Array1OfVec, + D2Poles: TColgp_Array1OfVec, + Poles2d: TColgp_Array1OfPnt2d, + DPoles2d: TColgp_Array1OfVec2d, + D2Poles2d: TColgp_Array1OfVec2d, + Weigths: TColStd_Array1OfReal, + DWeigths: TColStd_Array1OfReal, + D2Weigths: TColStd_Array1OfReal, + ) -> bool: ... + @overload + def Set( + self, + SurfRef1: Adaptor3d_Surface, + RstRef1: Adaptor2d_Curve2d, + SurfRef2: Adaptor3d_Surface, + RstRef2: Adaptor2d_Curve2d, + ) -> None: ... + @overload + def Set(self, Param: float) -> None: ... + @overload + def Set(self, First: float, Last: float) -> None: ... + @overload + def Set(self, Choix: int) -> None: ... + @overload + def Set(self, TypeSection: BlendFunc_SectionShape) -> None: ... + def Tangent2dOnRst1(self) -> gp_Vec2d: ... + def Tangent2dOnRst2(self) -> gp_Vec2d: ... + def TangentOnRst1(self) -> gp_Vec: ... + def TangentOnRst2(self) -> gp_Vec: ... + def Value(self, X: math_Vector, F: math_Vector) -> bool: ... + def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... class BRepBlend_RstRstLineBuilder: - def __init__(self, Surf1: Adaptor3d_HSurface, Rst1: Adaptor2d_HCurve2d, Domain1: Adaptor3d_TopolTool, Surf2: Adaptor3d_HSurface, Rst2: Adaptor2d_HCurve2d, Domain2: Adaptor3d_TopolTool) -> None: ... - def Complete(self, Func: Blend_RstRstFunction, Finv1: Blend_SurfCurvFuncInv, FinvP1: Blend_CurvPointFuncInv, Finv2: Blend_SurfCurvFuncInv, FinvP2: Blend_CurvPointFuncInv, Pmin: float) -> bool: ... - def Decroch1End(self) -> bool: ... - def Decroch1Start(self) -> bool: ... - def Decroch2End(self) -> bool: ... - def Decroch2Start(self) -> bool: ... - def IsDone(self) -> bool: ... - def Line(self) -> BRepBlend_Line: ... - def Perform(self, Func: Blend_RstRstFunction, Finv1: Blend_SurfCurvFuncInv, FinvP1: Blend_CurvPointFuncInv, Finv2: Blend_SurfCurvFuncInv, FinvP2: Blend_CurvPointFuncInv, Pdep: float, Pmax: float, MaxStep: float, TolGuide: float, Soldep: math_Vector, Tolesp: float, Fleche: float, Appro: Optional[bool] = False) -> None: ... - def PerformFirstSection(self, Func: Blend_RstRstFunction, Finv1: Blend_SurfCurvFuncInv, FinvP1: Blend_CurvPointFuncInv, Finv2: Blend_SurfCurvFuncInv, FinvP2: Blend_CurvPointFuncInv, Pdep: float, Pmax: float, Soldep: math_Vector, Tolesp: float, TolGuide: float, RecRst1: bool, RecP1: bool, RecRst2: bool, RecP2: bool, ParSol: math_Vector) -> Tuple[bool, float]: ... + def __init__( + self, + Surf1: Adaptor3d_Surface, + Rst1: Adaptor2d_Curve2d, + Domain1: Adaptor3d_TopolTool, + Surf2: Adaptor3d_Surface, + Rst2: Adaptor2d_Curve2d, + Domain2: Adaptor3d_TopolTool, + ) -> None: ... + def Complete( + self, + Func: Blend_RstRstFunction, + Finv1: Blend_SurfCurvFuncInv, + FinvP1: Blend_CurvPointFuncInv, + Finv2: Blend_SurfCurvFuncInv, + FinvP2: Blend_CurvPointFuncInv, + Pmin: float, + ) -> bool: ... + def Decroch1End(self) -> bool: ... + def Decroch1Start(self) -> bool: ... + def Decroch2End(self) -> bool: ... + def Decroch2Start(self) -> bool: ... + def IsDone(self) -> bool: ... + def Line(self) -> BRepBlend_Line: ... + def Perform( + self, + Func: Blend_RstRstFunction, + Finv1: Blend_SurfCurvFuncInv, + FinvP1: Blend_CurvPointFuncInv, + Finv2: Blend_SurfCurvFuncInv, + FinvP2: Blend_CurvPointFuncInv, + Pdep: float, + Pmax: float, + MaxStep: float, + Tol3d: float, + TolGuide: float, + Soldep: math_Vector, + Fleche: float, + Appro: Optional[bool] = False, + ) -> None: ... + def PerformFirstSection( + self, + Func: Blend_RstRstFunction, + Finv1: Blend_SurfCurvFuncInv, + FinvP1: Blend_CurvPointFuncInv, + Finv2: Blend_SurfCurvFuncInv, + FinvP2: Blend_CurvPointFuncInv, + Pdep: float, + Pmax: float, + Soldep: math_Vector, + Tol3d: float, + TolGuide: float, + RecRst1: bool, + RecP1: bool, + RecRst2: bool, + RecP2: bool, + ParSol: math_Vector, + ) -> Tuple[bool, float]: ... class BRepBlend_SurfCurvConstRadInv(Blend_SurfCurvFuncInv): - def __init__(self, S: Adaptor3d_HSurface, C: Adaptor3d_HCurve, Cg: Adaptor3d_HCurve) -> None: ... - def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... - def GetBounds(self, InfBound: math_Vector, SupBound: math_Vector) -> None: ... - def GetTolerance(self, Tolerance: math_Vector, Tol: float) -> None: ... - def IsSolution(self, Sol: math_Vector, Tol: float) -> bool: ... - def NbEquations(self) -> int: ... - @overload - def Set(self, R: float, Choix: int) -> None: ... - @overload - def Set(self, Rst: Adaptor2d_HCurve2d) -> None: ... - def Value(self, X: math_Vector, F: math_Vector) -> bool: ... - def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... + def __init__( + self, S: Adaptor3d_Surface, C: Adaptor3d_Curve, Cg: Adaptor3d_Curve + ) -> None: ... + def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... + def GetBounds(self, InfBound: math_Vector, SupBound: math_Vector) -> None: ... + def GetTolerance(self, Tolerance: math_Vector, Tol: float) -> None: ... + def IsSolution(self, Sol: math_Vector, Tol: float) -> bool: ... + def NbEquations(self) -> int: ... + @overload + def Set(self, R: float, Choix: int) -> None: ... + @overload + def Set(self, Rst: Adaptor2d_Curve2d) -> None: ... + def Value(self, X: math_Vector, F: math_Vector) -> bool: ... + def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... class BRepBlend_SurfCurvEvolRadInv(Blend_SurfCurvFuncInv): - def __init__(self, S: Adaptor3d_HSurface, C: Adaptor3d_HCurve, Cg: Adaptor3d_HCurve, Evol: Law_Function) -> None: ... - def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... - def GetBounds(self, InfBound: math_Vector, SupBound: math_Vector) -> None: ... - def GetTolerance(self, Tolerance: math_Vector, Tol: float) -> None: ... - def IsSolution(self, Sol: math_Vector, Tol: float) -> bool: ... - def NbEquations(self) -> int: ... - @overload - def Set(self, Choix: int) -> None: ... - @overload - def Set(self, Rst: Adaptor2d_HCurve2d) -> None: ... - def Value(self, X: math_Vector, F: math_Vector) -> bool: ... - def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... + def __init__( + self, + S: Adaptor3d_Surface, + C: Adaptor3d_Curve, + Cg: Adaptor3d_Curve, + Evol: Law_Function, + ) -> None: ... + def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... + def GetBounds(self, InfBound: math_Vector, SupBound: math_Vector) -> None: ... + def GetTolerance(self, Tolerance: math_Vector, Tol: float) -> None: ... + def IsSolution(self, Sol: math_Vector, Tol: float) -> bool: ... + def NbEquations(self) -> int: ... + @overload + def Set(self, Choix: int) -> None: ... + @overload + def Set(self, Rst: Adaptor2d_Curve2d) -> None: ... + def Value(self, X: math_Vector, F: math_Vector) -> bool: ... + def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... class BRepBlend_SurfPointConstRadInv(Blend_SurfPointFuncInv): - def __init__(self, S: Adaptor3d_HSurface, C: Adaptor3d_HCurve) -> None: ... - def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... - def GetBounds(self, InfBound: math_Vector, SupBound: math_Vector) -> None: ... - def GetTolerance(self, Tolerance: math_Vector, Tol: float) -> None: ... - def IsSolution(self, Sol: math_Vector, Tol: float) -> bool: ... - def NbEquations(self) -> int: ... - @overload - def Set(self, R: float, Choix: int) -> None: ... - @overload - def Set(self, P: gp_Pnt) -> None: ... - def Value(self, X: math_Vector, F: math_Vector) -> bool: ... - def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... + def __init__(self, S: Adaptor3d_Surface, C: Adaptor3d_Curve) -> None: ... + def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... + def GetBounds(self, InfBound: math_Vector, SupBound: math_Vector) -> None: ... + def GetTolerance(self, Tolerance: math_Vector, Tol: float) -> None: ... + def IsSolution(self, Sol: math_Vector, Tol: float) -> bool: ... + def NbEquations(self) -> int: ... + @overload + def Set(self, R: float, Choix: int) -> None: ... + @overload + def Set(self, P: gp_Pnt) -> None: ... + def Value(self, X: math_Vector, F: math_Vector) -> bool: ... + def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... class BRepBlend_SurfPointEvolRadInv(Blend_SurfPointFuncInv): - def __init__(self, S: Adaptor3d_HSurface, C: Adaptor3d_HCurve, Evol: Law_Function) -> None: ... - def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... - def GetBounds(self, InfBound: math_Vector, SupBound: math_Vector) -> None: ... - def GetTolerance(self, Tolerance: math_Vector, Tol: float) -> None: ... - def IsSolution(self, Sol: math_Vector, Tol: float) -> bool: ... - def NbEquations(self) -> int: ... - @overload - def Set(self, Choix: int) -> None: ... - @overload - def Set(self, P: gp_Pnt) -> None: ... - def Value(self, X: math_Vector, F: math_Vector) -> bool: ... - def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... + def __init__( + self, S: Adaptor3d_Surface, C: Adaptor3d_Curve, Evol: Law_Function + ) -> None: ... + def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... + def GetBounds(self, InfBound: math_Vector, SupBound: math_Vector) -> None: ... + def GetTolerance(self, Tolerance: math_Vector, Tol: float) -> None: ... + def IsSolution(self, Sol: math_Vector, Tol: float) -> bool: ... + def NbEquations(self) -> int: ... + @overload + def Set(self, Choix: int) -> None: ... + @overload + def Set(self, P: gp_Pnt) -> None: ... + def Value(self, X: math_Vector, F: math_Vector) -> bool: ... + def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... class BRepBlend_SurfRstConstRad(Blend_SurfRstFunction): - def __init__(self, Surf: Adaptor3d_HSurface, SurfRst: Adaptor3d_HSurface, Rst: Adaptor2d_HCurve2d, CGuide: Adaptor3d_HCurve) -> None: ... - def Decroch(self, Sol: math_Vector, NS: gp_Vec, TgS: gp_Vec) -> bool: ... - def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... - def GetBounds(self, InfBound: math_Vector, SupBound: math_Vector) -> None: ... - def GetMinimalDistance(self) -> float: ... - def GetMinimalWeight(self, Weigths: TColStd_Array1OfReal) -> None: ... - def GetSectionSize(self) -> float: ... - def GetShape(self) -> Tuple[int, int, int, int]: ... - @overload - def GetTolerance(self, Tolerance: math_Vector, Tol: float) -> None: ... - @overload - def GetTolerance(self, BoundTol: float, SurfTol: float, AngleTol: float, Tol3d: math_Vector, Tol1D: math_Vector) -> None: ... - def Intervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... - def IsRational(self) -> bool: ... - def IsSolution(self, Sol: math_Vector, Tol: float) -> bool: ... - def IsTangencyPoint(self) -> bool: ... - def Knots(self, TKnots: TColStd_Array1OfReal) -> None: ... - def Mults(self, TMults: TColStd_Array1OfInteger) -> None: ... - def NbEquations(self) -> int: ... - def NbIntervals(self, S: GeomAbs_Shape) -> int: ... - def NbVariables(self) -> int: ... - def ParameterOnRst(self) -> float: ... - def Pnt2dOnRst(self) -> gp_Pnt2d: ... - def Pnt2dOnS(self) -> gp_Pnt2d: ... - def PointOnRst(self) -> gp_Pnt: ... - def PointOnS(self) -> gp_Pnt: ... - def Resolution(self, IC2d: int, Tol: float) -> Tuple[float, float]: ... - @overload - def Section(self, Param: float, U: float, V: float, W: float, C: gp_Circ) -> Tuple[float, float]: ... - @overload - def Section(self, P: Blend_Point, Poles: TColgp_Array1OfPnt, DPoles: TColgp_Array1OfVec, Poles2d: TColgp_Array1OfPnt2d, DPoles2d: TColgp_Array1OfVec2d, Weigths: TColStd_Array1OfReal, DWeigths: TColStd_Array1OfReal) -> bool: ... - @overload - def Section(self, P: Blend_Point, Poles: TColgp_Array1OfPnt, DPoles: TColgp_Array1OfVec, D2Poles: TColgp_Array1OfVec, Poles2d: TColgp_Array1OfPnt2d, DPoles2d: TColgp_Array1OfVec2d, D2Poles2d: TColgp_Array1OfVec2d, Weigths: TColStd_Array1OfReal, DWeigths: TColStd_Array1OfReal, D2Weigths: TColStd_Array1OfReal) -> bool: ... - @overload - def Section(self, P: Blend_Point, Poles: TColgp_Array1OfPnt, Poles2d: TColgp_Array1OfPnt2d, Weigths: TColStd_Array1OfReal) -> None: ... - @overload - def Set(self, SurfRef: Adaptor3d_HSurface, RstRef: Adaptor2d_HCurve2d) -> None: ... - @overload - def Set(self, Param: float) -> None: ... - @overload - def Set(self, First: float, Last: float) -> None: ... - @overload - def Set(self, Radius: float, Choix: int) -> None: ... - @overload - def Set(self, TypeSection: BlendFunc_SectionShape) -> None: ... - def Tangent2dOnRst(self) -> gp_Vec2d: ... - def Tangent2dOnS(self) -> gp_Vec2d: ... - def TangentOnRst(self) -> gp_Vec: ... - def TangentOnS(self) -> gp_Vec: ... - def Value(self, X: math_Vector, F: math_Vector) -> bool: ... - def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... + def __init__( + self, + Surf: Adaptor3d_Surface, + SurfRst: Adaptor3d_Surface, + Rst: Adaptor2d_Curve2d, + CGuide: Adaptor3d_Curve, + ) -> None: ... + def Decroch(self, Sol: math_Vector, NS: gp_Vec, TgS: gp_Vec) -> bool: ... + def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... + def GetBounds(self, InfBound: math_Vector, SupBound: math_Vector) -> None: ... + def GetMinimalDistance(self) -> float: ... + def GetMinimalWeight(self, Weigths: TColStd_Array1OfReal) -> None: ... + def GetSectionSize(self) -> float: ... + def GetShape(self) -> Tuple[int, int, int, int]: ... + @overload + def GetTolerance(self, Tolerance: math_Vector, Tol: float) -> None: ... + @overload + def GetTolerance( + self, + BoundTol: float, + SurfTol: float, + AngleTol: float, + Tol3d: math_Vector, + Tol1D: math_Vector, + ) -> None: ... + def Intervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... + def IsRational(self) -> bool: ... + def IsSolution(self, Sol: math_Vector, Tol: float) -> bool: ... + def IsTangencyPoint(self) -> bool: ... + def Knots(self, TKnots: TColStd_Array1OfReal) -> None: ... + def Mults(self, TMults: TColStd_Array1OfInteger) -> None: ... + def NbEquations(self) -> int: ... + def NbIntervals(self, S: GeomAbs_Shape) -> int: ... + def NbVariables(self) -> int: ... + def ParameterOnRst(self) -> float: ... + def Pnt2dOnRst(self) -> gp_Pnt2d: ... + def Pnt2dOnS(self) -> gp_Pnt2d: ... + def PointOnRst(self) -> gp_Pnt: ... + def PointOnS(self) -> gp_Pnt: ... + def Resolution(self, IC2d: int, Tol: float) -> Tuple[float, float]: ... + @overload + def Section( + self, Param: float, U: float, V: float, W: float, C: gp_Circ + ) -> Tuple[float, float]: ... + @overload + def Section( + self, + P: Blend_Point, + Poles: TColgp_Array1OfPnt, + DPoles: TColgp_Array1OfVec, + Poles2d: TColgp_Array1OfPnt2d, + DPoles2d: TColgp_Array1OfVec2d, + Weigths: TColStd_Array1OfReal, + DWeigths: TColStd_Array1OfReal, + ) -> bool: ... + @overload + def Section( + self, + P: Blend_Point, + Poles: TColgp_Array1OfPnt, + DPoles: TColgp_Array1OfVec, + D2Poles: TColgp_Array1OfVec, + Poles2d: TColgp_Array1OfPnt2d, + DPoles2d: TColgp_Array1OfVec2d, + D2Poles2d: TColgp_Array1OfVec2d, + Weigths: TColStd_Array1OfReal, + DWeigths: TColStd_Array1OfReal, + D2Weigths: TColStd_Array1OfReal, + ) -> bool: ... + @overload + def Section( + self, + P: Blend_Point, + Poles: TColgp_Array1OfPnt, + Poles2d: TColgp_Array1OfPnt2d, + Weigths: TColStd_Array1OfReal, + ) -> None: ... + @overload + def Set(self, SurfRef: Adaptor3d_Surface, RstRef: Adaptor2d_Curve2d) -> None: ... + @overload + def Set(self, Param: float) -> None: ... + @overload + def Set(self, First: float, Last: float) -> None: ... + @overload + def Set(self, Radius: float, Choix: int) -> None: ... + @overload + def Set(self, TypeSection: BlendFunc_SectionShape) -> None: ... + def Tangent2dOnRst(self) -> gp_Vec2d: ... + def Tangent2dOnS(self) -> gp_Vec2d: ... + def TangentOnRst(self) -> gp_Vec: ... + def TangentOnS(self) -> gp_Vec: ... + def Value(self, X: math_Vector, F: math_Vector) -> bool: ... + def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... class BRepBlend_SurfRstEvolRad(Blend_SurfRstFunction): - def __init__(self, Surf: Adaptor3d_HSurface, SurfRst: Adaptor3d_HSurface, Rst: Adaptor2d_HCurve2d, CGuide: Adaptor3d_HCurve, Evol: Law_Function) -> None: ... - def Decroch(self, Sol: math_Vector, NS: gp_Vec, TgS: gp_Vec) -> bool: ... - def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... - def GetBounds(self, InfBound: math_Vector, SupBound: math_Vector) -> None: ... - def GetMinimalDistance(self) -> float: ... - def GetMinimalWeight(self, Weigths: TColStd_Array1OfReal) -> None: ... - def GetSectionSize(self) -> float: ... - def GetShape(self) -> Tuple[int, int, int, int]: ... - @overload - def GetTolerance(self, Tolerance: math_Vector, Tol: float) -> None: ... - @overload - def GetTolerance(self, BoundTol: float, SurfTol: float, AngleTol: float, Tol3d: math_Vector, Tol1D: math_Vector) -> None: ... - def Intervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... - def IsRational(self) -> bool: ... - def IsSolution(self, Sol: math_Vector, Tol: float) -> bool: ... - def IsTangencyPoint(self) -> bool: ... - def Knots(self, TKnots: TColStd_Array1OfReal) -> None: ... - def Mults(self, TMults: TColStd_Array1OfInteger) -> None: ... - def NbEquations(self) -> int: ... - def NbIntervals(self, S: GeomAbs_Shape) -> int: ... - def NbVariables(self) -> int: ... - def ParameterOnRst(self) -> float: ... - def Pnt2dOnRst(self) -> gp_Pnt2d: ... - def Pnt2dOnS(self) -> gp_Pnt2d: ... - def PointOnRst(self) -> gp_Pnt: ... - def PointOnS(self) -> gp_Pnt: ... - def Resolution(self, IC2d: int, Tol: float) -> Tuple[float, float]: ... - @overload - def Section(self, Param: float, U: float, V: float, W: float, C: gp_Circ) -> Tuple[float, float]: ... - @overload - def Section(self, P: Blend_Point, Poles: TColgp_Array1OfPnt, DPoles: TColgp_Array1OfVec, Poles2d: TColgp_Array1OfPnt2d, DPoles2d: TColgp_Array1OfVec2d, Weigths: TColStd_Array1OfReal, DWeigths: TColStd_Array1OfReal) -> bool: ... - @overload - def Section(self, P: Blend_Point, Poles: TColgp_Array1OfPnt, DPoles: TColgp_Array1OfVec, D2Poles: TColgp_Array1OfVec, Poles2d: TColgp_Array1OfPnt2d, DPoles2d: TColgp_Array1OfVec2d, D2Poles2d: TColgp_Array1OfVec2d, Weigths: TColStd_Array1OfReal, DWeigths: TColStd_Array1OfReal, D2Weigths: TColStd_Array1OfReal) -> bool: ... - @overload - def Section(self, P: Blend_Point, Poles: TColgp_Array1OfPnt, Poles2d: TColgp_Array1OfPnt2d, Weigths: TColStd_Array1OfReal) -> None: ... - @overload - def Set(self, SurfRef: Adaptor3d_HSurface, RstRef: Adaptor2d_HCurve2d) -> None: ... - @overload - def Set(self, Param: float) -> None: ... - @overload - def Set(self, First: float, Last: float) -> None: ... - @overload - def Set(self, Choix: int) -> None: ... - @overload - def Set(self, TypeSection: BlendFunc_SectionShape) -> None: ... - def Tangent2dOnRst(self) -> gp_Vec2d: ... - def Tangent2dOnS(self) -> gp_Vec2d: ... - def TangentOnRst(self) -> gp_Vec: ... - def TangentOnS(self) -> gp_Vec: ... - def Value(self, X: math_Vector, F: math_Vector) -> bool: ... - def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... + def __init__( + self, + Surf: Adaptor3d_Surface, + SurfRst: Adaptor3d_Surface, + Rst: Adaptor2d_Curve2d, + CGuide: Adaptor3d_Curve, + Evol: Law_Function, + ) -> None: ... + def Decroch(self, Sol: math_Vector, NS: gp_Vec, TgS: gp_Vec) -> bool: ... + def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... + def GetBounds(self, InfBound: math_Vector, SupBound: math_Vector) -> None: ... + def GetMinimalDistance(self) -> float: ... + def GetMinimalWeight(self, Weigths: TColStd_Array1OfReal) -> None: ... + def GetSectionSize(self) -> float: ... + def GetShape(self) -> Tuple[int, int, int, int]: ... + @overload + def GetTolerance(self, Tolerance: math_Vector, Tol: float) -> None: ... + @overload + def GetTolerance( + self, + BoundTol: float, + SurfTol: float, + AngleTol: float, + Tol3d: math_Vector, + Tol1D: math_Vector, + ) -> None: ... + def Intervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... + def IsRational(self) -> bool: ... + def IsSolution(self, Sol: math_Vector, Tol: float) -> bool: ... + def IsTangencyPoint(self) -> bool: ... + def Knots(self, TKnots: TColStd_Array1OfReal) -> None: ... + def Mults(self, TMults: TColStd_Array1OfInteger) -> None: ... + def NbEquations(self) -> int: ... + def NbIntervals(self, S: GeomAbs_Shape) -> int: ... + def NbVariables(self) -> int: ... + def ParameterOnRst(self) -> float: ... + def Pnt2dOnRst(self) -> gp_Pnt2d: ... + def Pnt2dOnS(self) -> gp_Pnt2d: ... + def PointOnRst(self) -> gp_Pnt: ... + def PointOnS(self) -> gp_Pnt: ... + def Resolution(self, IC2d: int, Tol: float) -> Tuple[float, float]: ... + @overload + def Section( + self, Param: float, U: float, V: float, W: float, C: gp_Circ + ) -> Tuple[float, float]: ... + @overload + def Section( + self, + P: Blend_Point, + Poles: TColgp_Array1OfPnt, + DPoles: TColgp_Array1OfVec, + Poles2d: TColgp_Array1OfPnt2d, + DPoles2d: TColgp_Array1OfVec2d, + Weigths: TColStd_Array1OfReal, + DWeigths: TColStd_Array1OfReal, + ) -> bool: ... + @overload + def Section( + self, + P: Blend_Point, + Poles: TColgp_Array1OfPnt, + DPoles: TColgp_Array1OfVec, + D2Poles: TColgp_Array1OfVec, + Poles2d: TColgp_Array1OfPnt2d, + DPoles2d: TColgp_Array1OfVec2d, + D2Poles2d: TColgp_Array1OfVec2d, + Weigths: TColStd_Array1OfReal, + DWeigths: TColStd_Array1OfReal, + D2Weigths: TColStd_Array1OfReal, + ) -> bool: ... + @overload + def Section( + self, + P: Blend_Point, + Poles: TColgp_Array1OfPnt, + Poles2d: TColgp_Array1OfPnt2d, + Weigths: TColStd_Array1OfReal, + ) -> None: ... + @overload + def Set(self, SurfRef: Adaptor3d_Surface, RstRef: Adaptor2d_Curve2d) -> None: ... + @overload + def Set(self, Param: float) -> None: ... + @overload + def Set(self, First: float, Last: float) -> None: ... + @overload + def Set(self, Choix: int) -> None: ... + @overload + def Set(self, TypeSection: BlendFunc_SectionShape) -> None: ... + def Tangent2dOnRst(self) -> gp_Vec2d: ... + def Tangent2dOnS(self) -> gp_Vec2d: ... + def TangentOnRst(self) -> gp_Vec: ... + def TangentOnS(self) -> gp_Vec: ... + def Value(self, X: math_Vector, F: math_Vector) -> bool: ... + def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... class BRepBlend_SurfRstLineBuilder: - def __init__(self, Surf1: Adaptor3d_HSurface, Domain1: Adaptor3d_TopolTool, Surf2: Adaptor3d_HSurface, Rst: Adaptor2d_HCurve2d, Domain2: Adaptor3d_TopolTool) -> None: ... - def ArcToRecadre(self, Sol: math_Vector, PrevIndex: int, pt2d: gp_Pnt2d, lastpt2d: gp_Pnt2d) -> Tuple[int, float]: ... - def Complete(self, Func: Blend_SurfRstFunction, Finv: Blend_FuncInv, FinvP: Blend_SurfPointFuncInv, FinvC: Blend_SurfCurvFuncInv, Pmin: float) -> bool: ... - def DecrochEnd(self) -> bool: ... - def DecrochStart(self) -> bool: ... - def IsDone(self) -> bool: ... - def Line(self) -> BRepBlend_Line: ... - def Perform(self, Func: Blend_SurfRstFunction, Finv: Blend_FuncInv, FinvP: Blend_SurfPointFuncInv, FinvC: Blend_SurfCurvFuncInv, Pdep: float, Pmax: float, MaxStep: float, TolGuide: float, Soldep: math_Vector, Tolesp: float, Fleche: float, Appro: Optional[bool] = False) -> None: ... - def PerformFirstSection(self, Func: Blend_SurfRstFunction, Finv: Blend_FuncInv, FinvP: Blend_SurfPointFuncInv, FinvC: Blend_SurfCurvFuncInv, Pdep: float, Pmax: float, Soldep: math_Vector, Tolesp: float, TolGuide: float, RecRst: bool, RecP: bool, RecS: bool, ParSol: math_Vector) -> Tuple[bool, float]: ... + def __init__( + self, + Surf1: Adaptor3d_Surface, + Domain1: Adaptor3d_TopolTool, + Surf2: Adaptor3d_Surface, + Rst: Adaptor2d_Curve2d, + Domain2: Adaptor3d_TopolTool, + ) -> None: ... + def ArcToRecadre( + self, Sol: math_Vector, PrevIndex: int, pt2d: gp_Pnt2d, lastpt2d: gp_Pnt2d + ) -> Tuple[int, float]: ... + def Complete( + self, + Func: Blend_SurfRstFunction, + Finv: Blend_FuncInv, + FinvP: Blend_SurfPointFuncInv, + FinvC: Blend_SurfCurvFuncInv, + Pmin: float, + ) -> bool: ... + def DecrochEnd(self) -> bool: ... + def DecrochStart(self) -> bool: ... + def IsDone(self) -> bool: ... + def Line(self) -> BRepBlend_Line: ... + def Perform( + self, + Func: Blend_SurfRstFunction, + Finv: Blend_FuncInv, + FinvP: Blend_SurfPointFuncInv, + FinvC: Blend_SurfCurvFuncInv, + Pdep: float, + Pmax: float, + MaxStep: float, + Tol3d: float, + Tol2d: float, + TolGuide: float, + Soldep: math_Vector, + Fleche: float, + Appro: Optional[bool] = False, + ) -> None: ... + def PerformFirstSection( + self, + Func: Blend_SurfRstFunction, + Finv: Blend_FuncInv, + FinvP: Blend_SurfPointFuncInv, + FinvC: Blend_SurfCurvFuncInv, + Pdep: float, + Pmax: float, + Soldep: math_Vector, + Tol3d: float, + Tol2d: float, + TolGuide: float, + RecRst: bool, + RecP: bool, + RecS: bool, + ParSol: math_Vector, + ) -> Tuple[bool, float]: ... class BRepBlend_Walking: - def __init__(self, Surf1: Adaptor3d_HSurface, Surf2: Adaptor3d_HSurface, Domain1: Adaptor3d_TopolTool, Domain2: Adaptor3d_TopolTool, HGuide: ChFiDS_HElSpine) -> None: ... - def AddSingularPoint(self, P: Blend_Point) -> None: ... - def Check(self, C: bool) -> None: ... - def Check2d(self, C: bool) -> None: ... - def ClassificationOnS1(self, C: bool) -> None: ... - def ClassificationOnS2(self, C: bool) -> None: ... - def Complete(self, F: Blend_Function, FInv: Blend_FuncInv, Pmin: float) -> bool: ... - @overload - def Continu(self, F: Blend_Function, FInv: Blend_FuncInv, P: float) -> bool: ... - @overload - def Continu(self, F: Blend_Function, FInv: Blend_FuncInv, P: float, OnS1: bool) -> bool: ... - def IsDone(self) -> bool: ... - def Line(self) -> BRepBlend_Line: ... - def Perform(self, F: Blend_Function, FInv: Blend_FuncInv, Pdep: float, Pmax: float, MaxStep: float, TolGuide: float, Soldep: math_Vector, Tolesp: float, Fleche: float, Appro: Optional[bool] = False) -> None: ... - @overload - def PerformFirstSection(self, F: Blend_Function, Pdep: float, ParDep: math_Vector, Tolesp: float, TolGuide: float, Pos1: TopAbs_State, Pos2: TopAbs_State) -> bool: ... - @overload - def PerformFirstSection(self, F: Blend_Function, FInv: Blend_FuncInv, Pdep: float, Pmax: float, ParDep: math_Vector, Tolesp: float, TolGuide: float, RecOnS1: bool, RecOnS2: bool, ParSol: math_Vector) -> Tuple[bool, float]: ... - def SetDomainsToRecadre(self, RecDomain1: Adaptor3d_TopolTool, RecDomain2: Adaptor3d_TopolTool) -> None: ... - def TwistOnS1(self) -> bool: ... - def TwistOnS2(self) -> bool: ... + def __init__( + self, + Surf1: Adaptor3d_Surface, + Surf2: Adaptor3d_Surface, + Domain1: Adaptor3d_TopolTool, + Domain2: Adaptor3d_TopolTool, + HGuide: ChFiDS_ElSpine, + ) -> None: ... + def AddSingularPoint(self, P: Blend_Point) -> None: ... + def Check(self, C: bool) -> None: ... + def Check2d(self, C: bool) -> None: ... + def ClassificationOnS1(self, C: bool) -> None: ... + def ClassificationOnS2(self, C: bool) -> None: ... + def Complete(self, F: Blend_Function, FInv: Blend_FuncInv, Pmin: float) -> bool: ... + @overload + def Continu(self, F: Blend_Function, FInv: Blend_FuncInv, P: float) -> bool: ... + @overload + def Continu( + self, F: Blend_Function, FInv: Blend_FuncInv, P: float, OnS1: bool + ) -> bool: ... + def IsDone(self) -> bool: ... + def Line(self) -> BRepBlend_Line: ... + def Perform( + self, + F: Blend_Function, + FInv: Blend_FuncInv, + Pdep: float, + Pmax: float, + MaxStep: float, + Tol3d: float, + TolGuide: float, + Soldep: math_Vector, + Fleche: float, + Appro: Optional[bool] = False, + ) -> None: ... + @overload + def PerformFirstSection( + self, + F: Blend_Function, + Pdep: float, + ParDep: math_Vector, + Tol3d: float, + TolGuide: float, + ) -> Tuple[bool, TopAbs_State, TopAbs_State]: ... + @overload + def PerformFirstSection( + self, + F: Blend_Function, + FInv: Blend_FuncInv, + Pdep: float, + Pmax: float, + ParDep: math_Vector, + Tol3d: float, + TolGuide: float, + RecOnS1: bool, + RecOnS2: bool, + ParSol: math_Vector, + ) -> Tuple[bool, float]: ... + def SetDomainsToRecadre( + self, RecDomain1: Adaptor3d_TopolTool, RecDomain2: Adaptor3d_TopolTool + ) -> None: ... + def TwistOnS1(self) -> bool: ... + def TwistOnS2(self) -> bool: ... class BRepBlend_AppFunc(BRepBlend_AppFuncRoot): - def __init__(self, Line: BRepBlend_Line, Func: Blend_Function, Tol3d: float, Tol2d: float) -> None: ... - def Point(self, Func: Blend_AppFunction, Param: float, Sol: math_Vector, Pnt: Blend_Point) -> None: ... - def Vec(self, Sol: math_Vector, Pnt: Blend_Point) -> None: ... + def __init__( + self, Line: BRepBlend_Line, Func: Blend_Function, Tol3d: float, Tol2d: float + ) -> None: ... + def Point( + self, Func: Blend_AppFunction, Param: float, Sol: math_Vector, Pnt: Blend_Point + ) -> None: ... + def Vec(self, Sol: math_Vector, Pnt: Blend_Point) -> None: ... class BRepBlend_AppFuncRst(BRepBlend_AppFuncRoot): - def __init__(self, Line: BRepBlend_Line, Func: Blend_SurfRstFunction, Tol3d: float, Tol2d: float) -> None: ... - def Point(self, Func: Blend_AppFunction, Param: float, Sol: math_Vector, Pnt: Blend_Point) -> None: ... - def Vec(self, Sol: math_Vector, Pnt: Blend_Point) -> None: ... + def __init__( + self, + Line: BRepBlend_Line, + Func: Blend_SurfRstFunction, + Tol3d: float, + Tol2d: float, + ) -> None: ... + def Point( + self, Func: Blend_AppFunction, Param: float, Sol: math_Vector, Pnt: Blend_Point + ) -> None: ... + def Vec(self, Sol: math_Vector, Pnt: Blend_Point) -> None: ... class BRepBlend_AppFuncRstRst(BRepBlend_AppFuncRoot): - def __init__(self, Line: BRepBlend_Line, Func: Blend_RstRstFunction, Tol3d: float, Tol2d: float) -> None: ... - def Point(self, Func: Blend_AppFunction, Param: float, Sol: math_Vector, Pnt: Blend_Point) -> None: ... - def Vec(self, Sol: math_Vector, Pnt: Blend_Point) -> None: ... + def __init__( + self, + Line: BRepBlend_Line, + Func: Blend_RstRstFunction, + Tol3d: float, + Tol2d: float, + ) -> None: ... + def Point( + self, Func: Blend_AppFunction, Param: float, Sol: math_Vector, Pnt: Blend_Point + ) -> None: ... + def Vec(self, Sol: math_Vector, Pnt: Blend_Point) -> None: ... + +# classnotwrapped +class BRepBlend_CSWalking: ... # harray1 classes # harray2 classes # hsequence classes - diff --git a/src/SWIG_files/wrapper/BRepBndLib.i b/src/SWIG_files/wrapper/BRepBndLib.i index 02242f171..614c0f27b 100644 --- a/src/SWIG_files/wrapper/BRepBndLib.i +++ b/src/SWIG_files/wrapper/BRepBndLib.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPBNDLIBDOCSTRING "BRepBndLib module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepbndlib.html" +https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_brepbndlib.html" %enddef %module (package="OCC.Core", docstring=BREPBNDLIBDOCSTRING) BRepBndLib @@ -31,8 +31,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepbndlib.html" %include ../common/CommonIncludes.i %include ../common/ExceptionCatcher.i %include ../common/FunctionTransformers.i +%include ../common/EnumTemplates.i %include ../common/Operators.i %include ../common/OccHandle.i +%include ../common/IOStream.i +%include ../common/ArrayMacros.i %{ @@ -63,7 +66,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -83,79 +86,85 @@ from OCC.Core.Exception import * %rename(brepbndlib) BRepBndLib; class BRepBndLib { public: - /****************** Add ******************/ - /**** md5 signature: 9c3545c9b1c2df3d52fed48b98ad0a1a ****/ + /****** BRepBndLib::Add ******/ + /****** md5 signature: 9c3545c9b1c2df3d52fed48b98ad0a1a ******/ %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", " Parameters ---------- S: TopoDS_Shape B: Bnd_Box -useTriangulation: bool,optional - default value is Standard_True +useTriangulation: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +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. ") Add; static void Add(const TopoDS_Shape & S, Bnd_Box & B, const Standard_Boolean useTriangulation = Standard_True); - /****************** AddClose ******************/ - /**** md5 signature: 5b4c3dd1c546b82ab92a38e981573fb5 ****/ + /****** BRepBndLib::AddClose ******/ + /****** md5 signature: 5b4c3dd1c546b82ab92a38e981573fb5 ******/ %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. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape B: Bnd_Box -Returns +Return ------- None + +Description +----------- +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; static void AddClose(const TopoDS_Shape & S, Bnd_Box & B); - /****************** AddOBB ******************/ - /**** md5 signature: 4475957a182d53ac4344f17f5720d203 ****/ + /****** BRepBndLib::AddOBB ******/ + /****** md5 signature: 4475957a182d53ac4344f17f5720d203 ******/ %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. - + %feature("autodoc", " Parameters ---------- theS: TopoDS_Shape theOBB: Bnd_OBB -theIsTriangulationUsed: bool,optional - default value is Standard_True -theIsOptimal: bool,optional - default value is Standard_False -theIsShapeToleranceUsed: bool,optional - default value is Standard_True - -Returns +theIsTriangulationUsed: bool (optional, default to Standard_True) +theIsOptimal: bool (optional, default to Standard_False) +theIsShapeToleranceUsed: bool (optional, default to Standard_True) + +Return ------- None + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: bd6c1029fd07d68da48862cc70fd6a39 ****/ + /****** BRepBndLib::AddOptimal ******/ + /****** md5 signature: bd6c1029fd07d68da48862cc70fd6a39 ******/ %feature("compactdefaultargs") AddOptimal; - %feature("autodoc", "Adds the shape s to the bounding box b. this algorith builds precise bounding box, which differs from exact geometry boundaries of shape only on shape entities tolerances algorithm is the same as for method add(..), but uses more precise methods for building boxes for geometry objects. if useshapetolerance = true, bounding box is enlardged by shape tolerances and these tolerances are used for numerical methods of bounding box size calculations, otherwise bounding box is built according to sizes of uderlined geometrical entities, numerical calculation use tolerance precision::confusion(). - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape B: Bnd_Box -useTriangulation: bool,optional - default value is Standard_True -useShapeTolerance: bool,optional - default value is Standard_False +useTriangulation: bool (optional, default to Standard_True) +useShapeTolerance: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +Adds the shape S to the bounding box B. This algorithm builds precise bounding box, which differs from exact geometry boundaries of shape only on shape entities tolerances Algorithm is the same as for method Add(..), but uses more precise methods for building boxes for geometry objects. If useShapeTolerance = True, bounding box is enlardged by shape tolerances and these tolerances are used for numerical methods of bounding box size calculations, otherwise bounding box is built according to sizes of uderlined geometrical entities, numerical calculation use tolerance Precision::Confusion(). ") AddOptimal; static void AddOptimal(const TopoDS_Shape & S, Bnd_Box & B, const Standard_Boolean useTriangulation = Standard_True, const Standard_Boolean useShapeTolerance = Standard_False); @@ -174,3 +183,22 @@ None /* class aliases */ %pythoncode { } +/* deprecated methods */ +%pythoncode { +@deprecated +def brepbndlib_Add(*args): + return brepbndlib.Add(*args) + +@deprecated +def brepbndlib_AddClose(*args): + return brepbndlib.AddClose(*args) + +@deprecated +def brepbndlib_AddOBB(*args): + return brepbndlib.AddOBB(*args) + +@deprecated +def brepbndlib_AddOptimal(*args): + return brepbndlib.AddOptimal(*args) + +} diff --git a/src/SWIG_files/wrapper/BRepBndLib.pyi b/src/SWIG_files/wrapper/BRepBndLib.pyi index fcc51b8c0..c7c3c93d6 100644 --- a/src/SWIG_files/wrapper/BRepBndLib.pyi +++ b/src/SWIG_files/wrapper/BRepBndLib.pyi @@ -6,22 +6,29 @@ from OCC.Core.NCollection import * from OCC.Core.TopoDS import * from OCC.Core.Bnd import * - class brepbndlib: - @staticmethod - def Add(S: TopoDS_Shape, B: Bnd_Box, useTriangulation: Optional[bool] = True) -> None: ... - @staticmethod - def AddClose(S: TopoDS_Shape, B: Bnd_Box) -> None: ... - @staticmethod - def AddOBB(theS: TopoDS_Shape, theOBB: Bnd_OBB, theIsTriangulationUsed: Optional[bool] = True, theIsOptimal: Optional[bool] = False, theIsShapeToleranceUsed: Optional[bool] = True) -> None: ... - @staticmethod - def AddOptimal(S: TopoDS_Shape, B: Bnd_Box, useTriangulation: Optional[bool] = True, useShapeTolerance: Optional[bool] = False) -> None: ... + @staticmethod + def Add( + S: TopoDS_Shape, B: Bnd_Box, useTriangulation: Optional[bool] = True + ) -> None: ... + @staticmethod + def AddClose(S: TopoDS_Shape, B: Bnd_Box) -> None: ... + @staticmethod + def AddOBB( + theS: TopoDS_Shape, + theOBB: Bnd_OBB, + theIsTriangulationUsed: Optional[bool] = True, + theIsOptimal: Optional[bool] = False, + theIsShapeToleranceUsed: Optional[bool] = True, + ) -> None: ... + @staticmethod + def AddOptimal( + S: TopoDS_Shape, + B: Bnd_Box, + useTriangulation: Optional[bool] = True, + useShapeTolerance: Optional[bool] = False, + ) -> None: ... # harray1 classes # harray2 classes # hsequence classes - -brepbndlib_Add = brepbndlib.Add -brepbndlib_AddClose = brepbndlib.AddClose -brepbndlib_AddOBB = brepbndlib.AddOBB -brepbndlib_AddOptimal = brepbndlib.AddOptimal diff --git a/src/SWIG_files/wrapper/BRepBuilderAPI.i b/src/SWIG_files/wrapper/BRepBuilderAPI.i index b669637dc..15b409212 100644 --- a/src/SWIG_files/wrapper/BRepBuilderAPI.i +++ b/src/SWIG_files/wrapper/BRepBuilderAPI.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPBUILDERAPIDOCSTRING "BRepBuilderAPI module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepbuilderapi.html" +https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_brepbuilderapi.html" %enddef %module (package="OCC.Core", docstring=BREPBUILDERAPIDOCSTRING) BRepBuilderAPI @@ -31,8 +31,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepbuilderapi.ht %include ../common/CommonIncludes.i %include ../common/ExceptionCatcher.i %include ../common/FunctionTransformers.i +%include ../common/EnumTemplates.i %include ../common/Operators.i %include ../common/OccHandle.i +%include ../common/IOStream.i +%include ../common/ArrayMacros.i %{ @@ -50,6 +53,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepbuilderapi.ht #include #include #include +#include #include #include #include @@ -70,6 +74,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepbuilderapi.ht %import TColStd.i %import Bnd.i %import Geom2d.i +%import Poly.i %pythoncode { from enum import IntEnum @@ -77,21 +82,6 @@ from OCC.Core.Exception import * }; /* public enums */ -enum BRepBuilderAPI_ShapeModification { - BRepBuilderAPI_Preserved = 0, - BRepBuilderAPI_Deleted = 1, - BRepBuilderAPI_Trimmed = 2, - BRepBuilderAPI_Merged = 3, - BRepBuilderAPI_BoundaryModified = 4, -}; - -enum BRepBuilderAPI_WireError { - BRepBuilderAPI_WireDone = 0, - BRepBuilderAPI_EmptyWire = 1, - BRepBuilderAPI_DisconnectedWire = 2, - BRepBuilderAPI_NonManifoldWire = 3, -}; - enum BRepBuilderAPI_EdgeError { BRepBuilderAPI_EdgeDone = 0, BRepBuilderAPI_PointProjectionFailed = 1, @@ -102,6 +92,14 @@ enum BRepBuilderAPI_EdgeError { BRepBuilderAPI_LineThroughIdenticPoints = 6, }; +enum BRepBuilderAPI_FaceError { + BRepBuilderAPI_FaceDone = 0, + BRepBuilderAPI_NoFace = 1, + BRepBuilderAPI_NotPlanar = 2, + BRepBuilderAPI_CurveProjectionFailed = 3, + BRepBuilderAPI_ParametersOutOfRange = 4, +}; + enum BRepBuilderAPI_PipeError { BRepBuilderAPI_PipeDone = 0, BRepBuilderAPI_PipeNotDone = 1, @@ -109,18 +107,12 @@ enum BRepBuilderAPI_PipeError { BRepBuilderAPI_ImpossibleContact = 3, }; -enum BRepBuilderAPI_TransitionMode { - BRepBuilderAPI_Transformed = 0, - BRepBuilderAPI_RightCorner = 1, - BRepBuilderAPI_RoundCorner = 2, -}; - -enum BRepBuilderAPI_FaceError { - BRepBuilderAPI_FaceDone = 0, - BRepBuilderAPI_NoFace = 1, - BRepBuilderAPI_NotPlanar = 2, - BRepBuilderAPI_CurveProjectionFailed = 3, - BRepBuilderAPI_ParametersOutOfRange = 4, +enum BRepBuilderAPI_ShapeModification { + BRepBuilderAPI_Preserved = 0, + BRepBuilderAPI_Deleted = 1, + BRepBuilderAPI_Trimmed = 2, + BRepBuilderAPI_Merged = 3, + BRepBuilderAPI_BoundaryModified = 4, }; enum BRepBuilderAPI_ShellError { @@ -130,32 +122,23 @@ enum BRepBuilderAPI_ShellError { BRepBuilderAPI_ShellParametersOutOfRange = 3, }; -/* end public enums declaration */ +enum BRepBuilderAPI_TransitionMode { + BRepBuilderAPI_Transformed = 0, + BRepBuilderAPI_RightCorner = 1, + BRepBuilderAPI_RoundCorner = 2, +}; -/* python proy classes for enums */ -%pythoncode { +enum BRepBuilderAPI_WireError { + BRepBuilderAPI_WireDone = 0, + BRepBuilderAPI_EmptyWire = 1, + BRepBuilderAPI_DisconnectedWire = 2, + BRepBuilderAPI_NonManifoldWire = 3, +}; -class BRepBuilderAPI_ShapeModification(IntEnum): - BRepBuilderAPI_Preserved = 0 - BRepBuilderAPI_Deleted = 1 - BRepBuilderAPI_Trimmed = 2 - BRepBuilderAPI_Merged = 3 - BRepBuilderAPI_BoundaryModified = 4 -BRepBuilderAPI_Preserved = BRepBuilderAPI_ShapeModification.BRepBuilderAPI_Preserved -BRepBuilderAPI_Deleted = BRepBuilderAPI_ShapeModification.BRepBuilderAPI_Deleted -BRepBuilderAPI_Trimmed = BRepBuilderAPI_ShapeModification.BRepBuilderAPI_Trimmed -BRepBuilderAPI_Merged = BRepBuilderAPI_ShapeModification.BRepBuilderAPI_Merged -BRepBuilderAPI_BoundaryModified = BRepBuilderAPI_ShapeModification.BRepBuilderAPI_BoundaryModified +/* end public enums declaration */ -class BRepBuilderAPI_WireError(IntEnum): - BRepBuilderAPI_WireDone = 0 - BRepBuilderAPI_EmptyWire = 1 - BRepBuilderAPI_DisconnectedWire = 2 - BRepBuilderAPI_NonManifoldWire = 3 -BRepBuilderAPI_WireDone = BRepBuilderAPI_WireError.BRepBuilderAPI_WireDone -BRepBuilderAPI_EmptyWire = BRepBuilderAPI_WireError.BRepBuilderAPI_EmptyWire -BRepBuilderAPI_DisconnectedWire = BRepBuilderAPI_WireError.BRepBuilderAPI_DisconnectedWire -BRepBuilderAPI_NonManifoldWire = BRepBuilderAPI_WireError.BRepBuilderAPI_NonManifoldWire +/* python proxy classes for enums */ +%pythoncode { class BRepBuilderAPI_EdgeError(IntEnum): BRepBuilderAPI_EdgeDone = 0 @@ -173,24 +156,6 @@ BRepBuilderAPI_PointWithInfiniteParameter = BRepBuilderAPI_EdgeError.BRepBuilder BRepBuilderAPI_DifferentsPointAndParameter = BRepBuilderAPI_EdgeError.BRepBuilderAPI_DifferentsPointAndParameter BRepBuilderAPI_LineThroughIdenticPoints = BRepBuilderAPI_EdgeError.BRepBuilderAPI_LineThroughIdenticPoints -class BRepBuilderAPI_PipeError(IntEnum): - BRepBuilderAPI_PipeDone = 0 - BRepBuilderAPI_PipeNotDone = 1 - BRepBuilderAPI_PlaneNotIntersectGuide = 2 - BRepBuilderAPI_ImpossibleContact = 3 -BRepBuilderAPI_PipeDone = BRepBuilderAPI_PipeError.BRepBuilderAPI_PipeDone -BRepBuilderAPI_PipeNotDone = BRepBuilderAPI_PipeError.BRepBuilderAPI_PipeNotDone -BRepBuilderAPI_PlaneNotIntersectGuide = BRepBuilderAPI_PipeError.BRepBuilderAPI_PlaneNotIntersectGuide -BRepBuilderAPI_ImpossibleContact = BRepBuilderAPI_PipeError.BRepBuilderAPI_ImpossibleContact - -class BRepBuilderAPI_TransitionMode(IntEnum): - BRepBuilderAPI_Transformed = 0 - BRepBuilderAPI_RightCorner = 1 - BRepBuilderAPI_RoundCorner = 2 -BRepBuilderAPI_Transformed = BRepBuilderAPI_TransitionMode.BRepBuilderAPI_Transformed -BRepBuilderAPI_RightCorner = BRepBuilderAPI_TransitionMode.BRepBuilderAPI_RightCorner -BRepBuilderAPI_RoundCorner = BRepBuilderAPI_TransitionMode.BRepBuilderAPI_RoundCorner - class BRepBuilderAPI_FaceError(IntEnum): BRepBuilderAPI_FaceDone = 0 BRepBuilderAPI_NoFace = 1 @@ -203,6 +168,28 @@ BRepBuilderAPI_NotPlanar = BRepBuilderAPI_FaceError.BRepBuilderAPI_NotPlanar BRepBuilderAPI_CurveProjectionFailed = BRepBuilderAPI_FaceError.BRepBuilderAPI_CurveProjectionFailed BRepBuilderAPI_ParametersOutOfRange = BRepBuilderAPI_FaceError.BRepBuilderAPI_ParametersOutOfRange +class BRepBuilderAPI_PipeError(IntEnum): + BRepBuilderAPI_PipeDone = 0 + BRepBuilderAPI_PipeNotDone = 1 + BRepBuilderAPI_PlaneNotIntersectGuide = 2 + BRepBuilderAPI_ImpossibleContact = 3 +BRepBuilderAPI_PipeDone = BRepBuilderAPI_PipeError.BRepBuilderAPI_PipeDone +BRepBuilderAPI_PipeNotDone = BRepBuilderAPI_PipeError.BRepBuilderAPI_PipeNotDone +BRepBuilderAPI_PlaneNotIntersectGuide = BRepBuilderAPI_PipeError.BRepBuilderAPI_PlaneNotIntersectGuide +BRepBuilderAPI_ImpossibleContact = BRepBuilderAPI_PipeError.BRepBuilderAPI_ImpossibleContact + +class BRepBuilderAPI_ShapeModification(IntEnum): + BRepBuilderAPI_Preserved = 0 + BRepBuilderAPI_Deleted = 1 + BRepBuilderAPI_Trimmed = 2 + BRepBuilderAPI_Merged = 3 + BRepBuilderAPI_BoundaryModified = 4 +BRepBuilderAPI_Preserved = BRepBuilderAPI_ShapeModification.BRepBuilderAPI_Preserved +BRepBuilderAPI_Deleted = BRepBuilderAPI_ShapeModification.BRepBuilderAPI_Deleted +BRepBuilderAPI_Trimmed = BRepBuilderAPI_ShapeModification.BRepBuilderAPI_Trimmed +BRepBuilderAPI_Merged = BRepBuilderAPI_ShapeModification.BRepBuilderAPI_Merged +BRepBuilderAPI_BoundaryModified = BRepBuilderAPI_ShapeModification.BRepBuilderAPI_BoundaryModified + class BRepBuilderAPI_ShellError(IntEnum): BRepBuilderAPI_ShellDone = 0 BRepBuilderAPI_EmptyShell = 1 @@ -212,6 +199,24 @@ BRepBuilderAPI_ShellDone = BRepBuilderAPI_ShellError.BRepBuilderAPI_ShellDone BRepBuilderAPI_EmptyShell = BRepBuilderAPI_ShellError.BRepBuilderAPI_EmptyShell BRepBuilderAPI_DisconnectedShell = BRepBuilderAPI_ShellError.BRepBuilderAPI_DisconnectedShell BRepBuilderAPI_ShellParametersOutOfRange = BRepBuilderAPI_ShellError.BRepBuilderAPI_ShellParametersOutOfRange + +class BRepBuilderAPI_TransitionMode(IntEnum): + BRepBuilderAPI_Transformed = 0 + BRepBuilderAPI_RightCorner = 1 + BRepBuilderAPI_RoundCorner = 2 +BRepBuilderAPI_Transformed = BRepBuilderAPI_TransitionMode.BRepBuilderAPI_Transformed +BRepBuilderAPI_RightCorner = BRepBuilderAPI_TransitionMode.BRepBuilderAPI_RightCorner +BRepBuilderAPI_RoundCorner = BRepBuilderAPI_TransitionMode.BRepBuilderAPI_RoundCorner + +class BRepBuilderAPI_WireError(IntEnum): + BRepBuilderAPI_WireDone = 0 + BRepBuilderAPI_EmptyWire = 1 + BRepBuilderAPI_DisconnectedWire = 2 + BRepBuilderAPI_NonManifoldWire = 3 +BRepBuilderAPI_WireDone = BRepBuilderAPI_WireError.BRepBuilderAPI_WireDone +BRepBuilderAPI_EmptyWire = BRepBuilderAPI_WireError.BRepBuilderAPI_EmptyWire +BRepBuilderAPI_DisconnectedWire = BRepBuilderAPI_WireError.BRepBuilderAPI_DisconnectedWire +BRepBuilderAPI_NonManifoldWire = BRepBuilderAPI_WireError.BRepBuilderAPI_NonManifoldWire }; /* end python proxy for enums */ @@ -236,55 +241,65 @@ typedef NCollection_Vector VectorOfPoint; %rename(brepbuilderapi) BRepBuilderAPI; class BRepBuilderAPI { public: - /****************** Plane ******************/ - /**** md5 signature: 215779db6a724a03f9f8ce477370cef4 ****/ + /****** BRepBuilderAPI::Plane ******/ + /****** md5 signature: 215779db6a724a03f9f8ce477370cef4 ******/ %feature("compactdefaultargs") Plane; - %feature("autodoc", "Sets the current plane. - + %feature("autodoc", " Parameters ---------- P: Geom_Plane -Returns +Return ------- None + +Description +----------- +Sets the current plane. ") Plane; static void Plane(const opencascade::handle & P); - /****************** Plane ******************/ - /**** md5 signature: 6d27cd1f706ac4d5f7ea5e003d1302b0 ****/ + /****** BRepBuilderAPI::Plane ******/ + /****** md5 signature: 6d27cd1f706ac4d5f7ea5e003d1302b0 ******/ %feature("compactdefaultargs") Plane; - %feature("autodoc", "Returns the current plane. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns the current plane. ") Plane; static const opencascade::handle & Plane(); - /****************** Precision ******************/ - /**** md5 signature: ced9db4ac4e8a407df5972bac5488688 ****/ + /****** BRepBuilderAPI::Precision ******/ + /****** md5 signature: ced9db4ac4e8a407df5972bac5488688 ******/ %feature("compactdefaultargs") Precision; - %feature("autodoc", "Sets the default precision. the current precision is returned. - + %feature("autodoc", " Parameters ---------- P: float -Returns +Return ------- None + +Description +----------- +Sets the default precision. The current Precision is returned. ") Precision; static void Precision(const Standard_Real P); - /****************** Precision ******************/ - /**** md5 signature: 5a0c763be80263f1e28f9182713f12dc ****/ + /****** BRepBuilderAPI::Precision ******/ + /****** md5 signature: 5a0c763be80263f1e28f9182713f12dc ******/ %feature("compactdefaultargs") Precision; - %feature("autodoc", "Returns the default precision. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the default precision. ") Precision; static Standard_Real Precision(); @@ -302,99 +317,117 @@ float *******************************/ class BRepBuilderAPI_Collect { public: - /****************** BRepBuilderAPI_Collect ******************/ - /**** md5 signature: 389c61cabe5e3b0cdaed5ff1824ab60c ****/ + /****** BRepBuilderAPI_Collect::BRepBuilderAPI_Collect ******/ + /****** md5 signature: 389c61cabe5e3b0cdaed5ff1824ab60c ******/ %feature("compactdefaultargs") BRepBuilderAPI_Collect; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_Collect; BRepBuilderAPI_Collect(); - /****************** Add ******************/ - /**** md5 signature: a5c5cb395419acc4c81c2fc73ccd4b50 ****/ + /****** BRepBuilderAPI_Collect::Add ******/ + /****** md5 signature: a5c5cb395419acc4c81c2fc73ccd4b50 ******/ %feature("compactdefaultargs") Add; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- SI: TopoDS_Shape MKS: BRepBuilderAPI_MakeShape -Returns +Return ------- None + +Description +----------- +No available documentation. ") Add; void Add(const TopoDS_Shape & SI, BRepBuilderAPI_MakeShape & MKS); - /****************** AddGenerated ******************/ - /**** md5 signature: 24d2f071681238ae41ddf97ad14ec2c3 ****/ + /****** BRepBuilderAPI_Collect::AddGenerated ******/ + /****** md5 signature: 24d2f071681238ae41ddf97ad14ec2c3 ******/ %feature("compactdefaultargs") AddGenerated; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape Gen: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +No available documentation. ") AddGenerated; void AddGenerated(const TopoDS_Shape & S, const TopoDS_Shape & Gen); - /****************** AddModif ******************/ - /**** md5 signature: d42b5cf3b841c945de9d3d65afeede81 ****/ + /****** BRepBuilderAPI_Collect::AddModif ******/ + /****** md5 signature: d42b5cf3b841c945de9d3d65afeede81 ******/ %feature("compactdefaultargs") AddModif; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape Mod: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +No available documentation. ") AddModif; void AddModif(const TopoDS_Shape & S, const TopoDS_Shape & Mod); - /****************** Filter ******************/ - /**** md5 signature: 0a1acafd79b78748618f690fbfb61533 ****/ + /****** BRepBuilderAPI_Collect::Filter ******/ + /****** md5 signature: 0a1acafd79b78748618f690fbfb61533 ******/ %feature("compactdefaultargs") Filter; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- SF: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +No available documentation. ") Filter; void Filter(const TopoDS_Shape & SF); - /****************** Generated ******************/ - /**** md5 signature: 176507b5ffd0100ab7a88bdc3ba1ff71 ****/ + /****** BRepBuilderAPI_Collect::Generated ******/ + /****** md5 signature: 176507b5ffd0100ab7a88bdc3ba1ff71 ******/ %feature("compactdefaultargs") Generated; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopTools_DataMapOfShapeListOfShape + +Description +----------- +No available documentation. ") Generated; const TopTools_DataMapOfShapeListOfShape & Generated(); - /****************** Modification ******************/ - /**** md5 signature: 8146072a56cfb726ec8891f6d418e953 ****/ + /****** BRepBuilderAPI_Collect::Modification ******/ + /****** md5 signature: 8146072a56cfb726ec8891f6d418e953 ******/ %feature("compactdefaultargs") Modification; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopTools_DataMapOfShapeListOfShape + +Description +----------- +No available documentation. ") Modification; const TopTools_DataMapOfShapeListOfShape & Modification(); @@ -413,25 +446,29 @@ TopTools_DataMapOfShapeListOfShape %nodefaultctor BRepBuilderAPI_Command; class BRepBuilderAPI_Command { public: - /****************** Check ******************/ - /**** md5 signature: f34c3545e20ecd4b70f0028e921e213b ****/ + /****** BRepBuilderAPI_Command::Check ******/ + /****** md5 signature: f34c3545e20ecd4b70f0028e921e213b ******/ %feature("compactdefaultargs") Check; - %feature("autodoc", "Raises notdone if done is false. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Raises NotDone if done is false. ") Check; void Check(); - /****************** IsDone ******************/ - /**** md5 signature: 1dfe5875b8bc7f7b11380fb4ab8a9eb0 ****/ + /****** BRepBuilderAPI_Command::IsDone ******/ + /****** md5 signature: 1dfe5875b8bc7f7b11380fb4ab8a9eb0 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsDone; virtual Standard_Boolean IsDone(); @@ -469,7 +506,7 @@ enum FS_Statuses { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class FS_Statuses(IntEnum): @@ -494,97 +531,114 @@ FS_Exception = FS_Statuses.FS_Exception }; /* end python proxy for enums */ - /****************** BRepBuilderAPI_FastSewing ******************/ - /**** md5 signature: 5cdf281365d4a008fe89ed2644d07eef ****/ + /****** BRepBuilderAPI_FastSewing::BRepBuilderAPI_FastSewing ******/ + /****** md5 signature: 5cdf281365d4a008fe89ed2644d07eef ******/ %feature("compactdefaultargs") BRepBuilderAPI_FastSewing; - %feature("autodoc", "Creates an object with tolerance of connexity. - + %feature("autodoc", " Parameters ---------- -theTolerance: float,optional - default value is 1.0e-06 +theTolerance: float (optional, default to 1.0e-06) -Returns +Return ------- None + +Description +----------- +Creates an object with tolerance of connexity. ") BRepBuilderAPI_FastSewing; BRepBuilderAPI_FastSewing(const Standard_Real theTolerance = 1.0e-06); - /****************** Add ******************/ - /**** md5 signature: 68dfa588b1680a2069907b2bf05e1c65 ****/ + /****** BRepBuilderAPI_FastSewing::Add ******/ + /****** md5 signature: 68dfa588b1680a2069907b2bf05e1c65 ******/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Adds faces of a shape. - + %feature("autodoc", " Parameters ---------- theShape: TopoDS_Shape -Returns +Return ------- bool + +Description +----------- +Adds faces of a shape. ") Add; Standard_Boolean Add(const TopoDS_Shape & theShape); - /****************** Add ******************/ - /**** md5 signature: 5c877fb8c71029cef3b4fa5692a20197 ****/ + /****** BRepBuilderAPI_FastSewing::Add ******/ + /****** md5 signature: 5c877fb8c71029cef3b4fa5692a20197 ******/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Adds a surface. - + %feature("autodoc", " Parameters ---------- theSurface: Geom_Surface -Returns +Return ------- bool + +Description +----------- +Adds a surface. ") Add; Standard_Boolean Add(const opencascade::handle & theSurface); - /****************** GetResult ******************/ - /**** md5 signature: 9bb8729ba64a056c1d3bbe9695c34e70 ****/ + /****** BRepBuilderAPI_FastSewing::GetResult ******/ + /****** md5 signature: 9bb8729ba64a056c1d3bbe9695c34e70 ******/ %feature("compactdefaultargs") GetResult; - %feature("autodoc", "Returns resulted shape. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +Returns resulted shape. ") GetResult; const TopoDS_Shape GetResult(); - /****************** GetTolerance ******************/ - /**** md5 signature: 08094ae040a166d1b252ee02000bca27 ****/ + /****** BRepBuilderAPI_FastSewing::GetTolerance ******/ + /****** md5 signature: 08094ae040a166d1b252ee02000bca27 ******/ %feature("compactdefaultargs") GetTolerance; - %feature("autodoc", "Returns tolerance. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns tolerance. ") GetTolerance; Standard_Real GetTolerance(); - /****************** Perform ******************/ - /**** md5 signature: edb59e2ca9c97ae6c4d9ce2566330337 ****/ + /****** BRepBuilderAPI_FastSewing::Perform ******/ + /****** md5 signature: edb59e2ca9c97ae6c4d9ce2566330337 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Compute resulted shape. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Compute resulted shape. ") Perform; void Perform(); - /****************** SetTolerance ******************/ - /**** md5 signature: 4181eb50f502c475b9b01c03a6a70db9 ****/ + /****** BRepBuilderAPI_FastSewing::SetTolerance ******/ + /****** md5 signature: 4181eb50f502c475b9b01c03a6a70db9 ******/ %feature("compactdefaultargs") SetTolerance; - %feature("autodoc", "Sets tolerance. - + %feature("autodoc", " Parameters ---------- theToler: float -Returns +Return ------- None + +Description +----------- +Sets tolerance. ") SetTolerance; void SetTolerance(const Standard_Real theToler); @@ -608,70 +662,80 @@ None *********************************/ class BRepBuilderAPI_FindPlane { public: - /****************** BRepBuilderAPI_FindPlane ******************/ - /**** md5 signature: ef4ea376286fb1ede698f0b19cc4f429 ****/ + /****** BRepBuilderAPI_FindPlane::BRepBuilderAPI_FindPlane ******/ + /****** md5 signature: ef4ea376286fb1ede698f0b19cc4f429 ******/ %feature("compactdefaultargs") BRepBuilderAPI_FindPlane; - %feature("autodoc", "Initializes an empty algorithm. the function init is then used to define the shape. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Initializes an empty algorithm. The function Init is then used to define the shape. ") BRepBuilderAPI_FindPlane; BRepBuilderAPI_FindPlane(); - /****************** BRepBuilderAPI_FindPlane ******************/ - /**** md5 signature: 763aa4ae1a7235c1609845cf21bc92e2 ****/ + /****** BRepBuilderAPI_FindPlane::BRepBuilderAPI_FindPlane ******/ + /****** md5 signature: 763aa4ae1a7235c1609845cf21bc92e2 ******/ %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. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Tol: float,optional - default value is -1 +Tol: float (optional, default to -1) -Returns +Return ------- None + +Description +----------- +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; BRepBuilderAPI_FindPlane(const TopoDS_Shape & S, const Standard_Real Tol = -1); - /****************** Found ******************/ - /**** md5 signature: f98a87b5981b48fa74222eaa5aa8feb6 ****/ + /****** BRepBuilderAPI_FindPlane::Found ******/ + /****** md5 signature: f98a87b5981b48fa74222eaa5aa8feb6 ******/ %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. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns true if a plane containing the edges of the shape is found and built. Use the function Plane to consult the result. ") Found; Standard_Boolean Found(); - /****************** Init ******************/ - /**** md5 signature: 4d646163f720cb1bdaa4671839b00b98 ****/ + /****** BRepBuilderAPI_FindPlane::Init ******/ + /****** md5 signature: 4d646163f720cb1bdaa4671839b00b98 ******/ %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. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Tol: float,optional - default value is -1 +Tol: float (optional, default to -1) -Returns +Return ------- None + +Description +----------- +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. ") Init; void Init(const TopoDS_Shape & S, const Standard_Real Tol = -1); - /****************** Plane ******************/ - /**** md5 signature: 5c94d426c8cb0ea718d9147a0f1d68f5 ****/ + /****** BRepBuilderAPI_FindPlane::Plane ******/ + /****** md5 signature: 5c94d426c8cb0ea718d9147a0f1d68f5 ******/ %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. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +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. ") Plane; opencascade::handle Plane(); @@ -689,620 +753,724 @@ opencascade::handle ******************************/ class BRepBuilderAPI_Sewing : public Standard_Transient { public: - /****************** BRepBuilderAPI_Sewing ******************/ - /**** md5 signature: e18a1d19a8b6425820c30aa95cb1c4b9 ****/ + /****** BRepBuilderAPI_Sewing::BRepBuilderAPI_Sewing ******/ + /****** md5 signature: e18a1d19a8b6425820c30aa95cb1c4b9 ******/ %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. - + %feature("autodoc", " Parameters ---------- -tolerance: float,optional - default value is 1.0e-06 -option1: bool,optional - default value is Standard_True -option2: bool,optional - default value is Standard_True -option3: bool,optional - default value is Standard_True -option4: bool,optional - default value is Standard_False +tolerance: float (optional, default to 1.0e-06) +option1: bool (optional, default to Standard_True) +option2: bool (optional, default to Standard_True) +option3: bool (optional, default to Standard_True) +option4: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +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. ") 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); - /****************** Add ******************/ - /**** md5 signature: e2be6f2074943772e403ebcbe671347a ****/ + /****** BRepBuilderAPI_Sewing::Add ******/ + /****** md5 signature: e2be6f2074943772e403ebcbe671347a ******/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Defines the shapes to be sewed or controlled. - + %feature("autodoc", " Parameters ---------- shape: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Defines the shapes to be sewed or controlled. ") Add; void Add(const TopoDS_Shape & shape); - /****************** ContigousEdge ******************/ - /**** md5 signature: 528f0ebefe61a096548f88451970603d ****/ + /****** BRepBuilderAPI_Sewing::ContigousEdge ******/ + /****** md5 signature: 528f0ebefe61a096548f88451970603d ******/ %feature("compactdefaultargs") ContigousEdge; - %feature("autodoc", "Gives each contigous edge. - + %feature("autodoc", " Parameters ---------- index: int -Returns +Return ------- TopoDS_Edge + +Description +----------- +Gives each contiguous edge. ") ContigousEdge; const TopoDS_Edge ContigousEdge(const Standard_Integer index); - /****************** ContigousEdgeCouple ******************/ - /**** md5 signature: 783b24657c04ecf4547ffd8cfddcc368 ****/ + /****** BRepBuilderAPI_Sewing::ContigousEdgeCouple ******/ + /****** md5 signature: 783b24657c04ecf4547ffd8cfddcc368 ******/ %feature("compactdefaultargs") ContigousEdgeCouple; - %feature("autodoc", "Gives the sections (edge) belonging to a contigous edge. - + %feature("autodoc", " Parameters ---------- index: int -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Gives the sections (edge) belonging to a contiguous edge. ") ContigousEdgeCouple; const TopTools_ListOfShape & ContigousEdgeCouple(const Standard_Integer index); - /****************** DegeneratedShape ******************/ - /**** md5 signature: e6eb24cfb41ed6276abbd22e81382ad4 ****/ + /****** BRepBuilderAPI_Sewing::DegeneratedShape ******/ + /****** md5 signature: e6eb24cfb41ed6276abbd22e81382ad4 ******/ %feature("compactdefaultargs") DegeneratedShape; - %feature("autodoc", "Gives each degenerated shape. - + %feature("autodoc", " Parameters ---------- index: int -Returns +Return ------- TopoDS_Shape + +Description +----------- +Gives each degenerated shape. ") DegeneratedShape; const TopoDS_Shape DegeneratedShape(const Standard_Integer index); - /****************** DeletedFace ******************/ - /**** md5 signature: e964b07feb42f72561b85423c8033fca ****/ + /****** BRepBuilderAPI_Sewing::DeletedFace ******/ + /****** md5 signature: e964b07feb42f72561b85423c8033fca ******/ %feature("compactdefaultargs") DeletedFace; - %feature("autodoc", "Gives each deleted face. - + %feature("autodoc", " Parameters ---------- index: int -Returns +Return ------- TopoDS_Face + +Description +----------- +Gives each deleted face. ") DeletedFace; const TopoDS_Face DeletedFace(const Standard_Integer index); - /****************** Dump ******************/ - /**** md5 signature: 15b4b2e195645aebb43170ff7f15952a ****/ + /****** BRepBuilderAPI_Sewing::Dump ******/ + /****** md5 signature: 15b4b2e195645aebb43170ff7f15952a ******/ %feature("compactdefaultargs") Dump; - %feature("autodoc", "Print the informations. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +print the information. ") Dump; void Dump(); - /****************** FaceMode ******************/ - /**** md5 signature: 21661531f4beeda56376b9777120d25d ****/ + /****** BRepBuilderAPI_Sewing::FaceMode ******/ + /****** md5 signature: 21661531f4beeda56376b9777120d25d ******/ %feature("compactdefaultargs") FaceMode; - %feature("autodoc", "Returns mode for sewing faces by default - true. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns mode for sewing faces By default - true. ") FaceMode; Standard_Boolean FaceMode(); - /****************** FloatingEdgesMode ******************/ - /**** md5 signature: 4a5c8040ae5369a46adc16bfcec4bd53 ****/ + /****** BRepBuilderAPI_Sewing::FloatingEdgesMode ******/ + /****** md5 signature: 4a5c8040ae5369a46adc16bfcec4bd53 ******/ %feature("compactdefaultargs") FloatingEdgesMode; - %feature("autodoc", "Returns mode for sewing floating edges by default - false. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns mode for sewing floating edges By default - false. ") FloatingEdgesMode; Standard_Boolean FloatingEdgesMode(); - /****************** FreeEdge ******************/ - /**** md5 signature: d7877d5632d059ec28a98ec8914a60d4 ****/ + /****** BRepBuilderAPI_Sewing::FreeEdge ******/ + /****** md5 signature: d7877d5632d059ec28a98ec8914a60d4 ******/ %feature("compactdefaultargs") FreeEdge; - %feature("autodoc", "Gives each free edge. - + %feature("autodoc", " Parameters ---------- index: int -Returns +Return ------- TopoDS_Edge + +Description +----------- +Gives each free edge. ") FreeEdge; const TopoDS_Edge FreeEdge(const Standard_Integer index); - /****************** GetContext ******************/ - /**** md5 signature: 4fb4f0ef4e8072c0449192799698250c ****/ + /****** BRepBuilderAPI_Sewing::GetContext ******/ + /****** md5 signature: 4fb4f0ef4e8072c0449192799698250c ******/ %feature("compactdefaultargs") GetContext; - %feature("autodoc", "Return context. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +return context. ") GetContext; const opencascade::handle & GetContext(); - /****************** Init ******************/ - /**** md5 signature: 9a7c36413c1eb2ae42b6435c1c7d2e86 ****/ + /****** BRepBuilderAPI_Sewing::Init ******/ + /****** md5 signature: 9a7c36413c1eb2ae42b6435c1c7d2e86 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "Initialize the parameters if necessary. - + %feature("autodoc", " Parameters ---------- -tolerance: float,optional - default value is 1.0e-06 -option1: bool,optional - default value is Standard_True -option2: bool,optional - default value is Standard_True -option3: bool,optional - default value is Standard_True -option4: bool,optional - default value is Standard_False +tolerance: float (optional, default to 1.0e-06) +option1: bool (optional, default to Standard_True) +option2: bool (optional, default to Standard_True) +option3: bool (optional, default to Standard_True) +option4: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +initialize the parameters if necessary. ") 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); - /****************** IsDegenerated ******************/ - /**** md5 signature: 84979167278e746e62a21a790a7cd87e ****/ + /****** BRepBuilderAPI_Sewing::IsDegenerated ******/ + /****** md5 signature: 84979167278e746e62a21a790a7cd87e ******/ %feature("compactdefaultargs") IsDegenerated; - %feature("autodoc", "Indicates if a input shape is degenerated. - + %feature("autodoc", " Parameters ---------- shape: TopoDS_Shape -Returns +Return ------- bool + +Description +----------- +Indicates if a input shape is degenerated. ") IsDegenerated; Standard_Boolean IsDegenerated(const TopoDS_Shape & shape); - /****************** IsModified ******************/ - /**** md5 signature: 1d5d4f025b62ca0ccc6672d39cdf22fc ****/ + /****** BRepBuilderAPI_Sewing::IsModified ******/ + /****** md5 signature: 1d5d4f025b62ca0ccc6672d39cdf22fc ******/ %feature("compactdefaultargs") IsModified; - %feature("autodoc", "Indicates if a input shape has been modified. - + %feature("autodoc", " Parameters ---------- shape: TopoDS_Shape -Returns +Return ------- bool + +Description +----------- +Indicates if a input shape has been modified. ") IsModified; Standard_Boolean IsModified(const TopoDS_Shape & shape); - /****************** IsModifiedSubShape ******************/ - /**** md5 signature: 7a0857a507d3c4158ac7100a028d6a23 ****/ + /****** BRepBuilderAPI_Sewing::IsModifiedSubShape ******/ + /****** md5 signature: 7a0857a507d3c4158ac7100a028d6a23 ******/ %feature("compactdefaultargs") IsModifiedSubShape; - %feature("autodoc", "Indicates if a input subshape has been modified. - + %feature("autodoc", " Parameters ---------- shape: TopoDS_Shape -Returns +Return ------- bool + +Description +----------- +Indicates if a input subshape has been modified. ") IsModifiedSubShape; Standard_Boolean IsModifiedSubShape(const TopoDS_Shape & shape); - /****************** IsSectionBound ******************/ - /**** md5 signature: cd9153a526df9f57af17b95cfb016aa1 ****/ + /****** BRepBuilderAPI_Sewing::IsSectionBound ******/ + /****** md5 signature: cd9153a526df9f57af17b95cfb016aa1 ******/ %feature("compactdefaultargs") IsSectionBound; - %feature("autodoc", "Indicates if a section is bound (before use sectiontoboundary). - + %feature("autodoc", " Parameters ---------- section: TopoDS_Edge -Returns +Return ------- bool + +Description +----------- +Indicates if a section is bound (before use SectionToBoundary). ") IsSectionBound; Standard_Boolean IsSectionBound(const TopoDS_Edge & section); - /****************** Load ******************/ - /**** md5 signature: 5e48307a99195c8c9f614df4cf55663d ****/ + /****** BRepBuilderAPI_Sewing::Load ******/ + /****** md5 signature: 5e48307a99195c8c9f614df4cf55663d ******/ %feature("compactdefaultargs") Load; - %feature("autodoc", "Loades the context shape. - + %feature("autodoc", " Parameters ---------- shape: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Loads the context shape. ") Load; void Load(const TopoDS_Shape & shape); - /****************** LocalTolerancesMode ******************/ - /**** md5 signature: d909e2ebc0fc932438ad29d4934d9840 ****/ + /****** BRepBuilderAPI_Sewing::LocalTolerancesMode ******/ + /****** md5 signature: d909e2ebc0fc932438ad29d4934d9840 ******/ %feature("compactdefaultargs") LocalTolerancesMode; - %feature("autodoc", "Returns mode for accounting of local tolerances of edges and vertices during of merging. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns mode for accounting of local tolerances of edges and vertices during of merging. ") LocalTolerancesMode; Standard_Boolean LocalTolerancesMode(); - /****************** MaxTolerance ******************/ - /**** md5 signature: b0c09a40965fea8fc4d63c52a795d7fd ****/ + /****** BRepBuilderAPI_Sewing::MaxTolerance ******/ + /****** md5 signature: b0c09a40965fea8fc4d63c52a795d7fd ******/ %feature("compactdefaultargs") MaxTolerance; - %feature("autodoc", "Gives set max tolerance. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Gives set max tolerance. ") MaxTolerance; Standard_Real MaxTolerance(); - /****************** MinTolerance ******************/ - /**** md5 signature: 2629547ec2afd3a7a2edaa268cbc0366 ****/ + /****** BRepBuilderAPI_Sewing::MinTolerance ******/ + /****** md5 signature: 2629547ec2afd3a7a2edaa268cbc0366 ******/ %feature("compactdefaultargs") MinTolerance; - %feature("autodoc", "Gives set min tolerance. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Gives set min tolerance. ") MinTolerance; Standard_Real MinTolerance(); - /****************** Modified ******************/ - /**** md5 signature: 8eae36e55014fa2f45331a4af35cda4c ****/ + /****** BRepBuilderAPI_Sewing::Modified ******/ + /****** md5 signature: 8eae36e55014fa2f45331a4af35cda4c ******/ %feature("compactdefaultargs") Modified; - %feature("autodoc", "Gives a modifieded shape. - + %feature("autodoc", " Parameters ---------- shape: TopoDS_Shape -Returns +Return ------- TopoDS_Shape + +Description +----------- +Gives a modifieded shape. ") Modified; const TopoDS_Shape Modified(const TopoDS_Shape & shape); - /****************** ModifiedSubShape ******************/ - /**** md5 signature: 73e3082562f6dcafa13952269a08c5fa ****/ + /****** BRepBuilderAPI_Sewing::ModifiedSubShape ******/ + /****** md5 signature: 73e3082562f6dcafa13952269a08c5fa ******/ %feature("compactdefaultargs") ModifiedSubShape; - %feature("autodoc", "Gives a modifieded subshape. - + %feature("autodoc", " Parameters ---------- shape: TopoDS_Shape -Returns +Return ------- TopoDS_Shape + +Description +----------- +Gives a modifieded subshape. ") ModifiedSubShape; TopoDS_Shape ModifiedSubShape(const TopoDS_Shape & shape); - /****************** MultipleEdge ******************/ - /**** md5 signature: 128ede0c8440ddd28a067c7bb024d295 ****/ + /****** BRepBuilderAPI_Sewing::MultipleEdge ******/ + /****** md5 signature: 128ede0c8440ddd28a067c7bb024d295 ******/ %feature("compactdefaultargs") MultipleEdge; - %feature("autodoc", "Gives each multiple edge. - + %feature("autodoc", " Parameters ---------- index: int -Returns +Return ------- TopoDS_Edge + +Description +----------- +Gives each multiple edge. ") MultipleEdge; const TopoDS_Edge MultipleEdge(const Standard_Integer index); - /****************** NbContigousEdges ******************/ - /**** md5 signature: c293fac1d421e2d1f7207054b4a45923 ****/ + /****** BRepBuilderAPI_Sewing::NbContigousEdges ******/ + /****** md5 signature: c293fac1d421e2d1f7207054b4a45923 ******/ %feature("compactdefaultargs") NbContigousEdges; - %feature("autodoc", "Gives the number of contigous edges (edge shared by two faces). - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Gives the number of contiguous edges (edge shared by two faces). ") NbContigousEdges; Standard_Integer NbContigousEdges(); - /****************** NbDegeneratedShapes ******************/ - /**** md5 signature: 002576d80bfb4575f6cdfeeff5b81a1e ****/ + /****** BRepBuilderAPI_Sewing::NbDegeneratedShapes ******/ + /****** md5 signature: 002576d80bfb4575f6cdfeeff5b81a1e ******/ %feature("compactdefaultargs") NbDegeneratedShapes; - %feature("autodoc", "Gives the number of degenerated shapes. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Gives the number of degenerated shapes. ") NbDegeneratedShapes; Standard_Integer NbDegeneratedShapes(); - /****************** NbDeletedFaces ******************/ - /**** md5 signature: 4ba093eaaa12ab2808b2529553c686f1 ****/ + /****** BRepBuilderAPI_Sewing::NbDeletedFaces ******/ + /****** md5 signature: 4ba093eaaa12ab2808b2529553c686f1 ******/ %feature("compactdefaultargs") NbDeletedFaces; - %feature("autodoc", "Gives the number of deleted faces (faces smallest than tolerance). - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Gives the number of deleted faces (faces smallest than tolerance). ") NbDeletedFaces; Standard_Integer NbDeletedFaces(); - /****************** NbFreeEdges ******************/ - /**** md5 signature: 601078396c3dc97b2847707250e5a03a ****/ + /****** BRepBuilderAPI_Sewing::NbFreeEdges ******/ + /****** md5 signature: 601078396c3dc97b2847707250e5a03a ******/ %feature("compactdefaultargs") NbFreeEdges; - %feature("autodoc", "Gives the number of free edges (edge shared by one face). - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Gives the number of free edges (edge shared by one face). ") NbFreeEdges; Standard_Integer NbFreeEdges(); - /****************** NbMultipleEdges ******************/ - /**** md5 signature: 656b6af0bb5cea1fea2a3c70157e30b5 ****/ + /****** BRepBuilderAPI_Sewing::NbMultipleEdges ******/ + /****** md5 signature: 656b6af0bb5cea1fea2a3c70157e30b5 ******/ %feature("compactdefaultargs") NbMultipleEdges; - %feature("autodoc", "Gives the number of multiple edges (edge shared by more than two faces). - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Gives the number of multiple edges (edge shared by more than two faces). ") NbMultipleEdges; Standard_Integer NbMultipleEdges(); - /****************** NonManifoldMode ******************/ - /**** md5 signature: 34f87de0adb2c358ab80ad641118c76e ****/ + /****** BRepBuilderAPI_Sewing::NonManifoldMode ******/ + /****** md5 signature: 34f87de0adb2c358ab80ad641118c76e ******/ %feature("compactdefaultargs") NonManifoldMode; - %feature("autodoc", "Gets mode for non-manifold sewing. //! internal fuctions ---. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Gets mode for non-manifold sewing. //! INTERNAL FUNCTIONS ---. ") NonManifoldMode; Standard_Boolean NonManifoldMode(); - /****************** Perform ******************/ - /**** md5 signature: d7fed22833997c4a8f7923f6a29bd664 ****/ + /****** BRepBuilderAPI_Sewing::Perform ******/ + /****** md5 signature: d7fed22833997c4a8f7923f6a29bd664 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Computing theprogress - progress indicator of algorithm. - + %feature("autodoc", " Parameters ---------- -theProgress: Message_ProgressRange,optional - default value is Message_ProgressRange() +theProgress: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- None + +Description +----------- +Computing theProgress - progress indicator of algorithm. ") Perform; void Perform(const Message_ProgressRange & theProgress = Message_ProgressRange()); - /****************** SameParameterMode ******************/ - /**** md5 signature: 7e498208ee59dfaf63264199ca1716c8 ****/ + /****** BRepBuilderAPI_Sewing::SameParameterMode ******/ + /****** md5 signature: 7e498208ee59dfaf63264199ca1716c8 ******/ %feature("compactdefaultargs") SameParameterMode; - %feature("autodoc", "Gets same parameter mode. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Gets same parameter mode. ") SameParameterMode; Standard_Boolean SameParameterMode(); - /****************** SectionToBoundary ******************/ - /**** md5 signature: 8753cd22e70a557633e4602d07baeefe ****/ + /****** BRepBuilderAPI_Sewing::SectionToBoundary ******/ + /****** md5 signature: 8753cd22e70a557633e4602d07baeefe ******/ %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. - + %feature("autodoc", " Parameters ---------- section: TopoDS_Edge -Returns +Return ------- TopoDS_Edge + +Description +----------- +Gives the original edge (free boundary) which becomes the the section. Remember that sections constitute common edges. This information is important for control because with original edge we can find the surface to which the section is attached. ") SectionToBoundary; const TopoDS_Edge SectionToBoundary(const TopoDS_Edge & section); - /****************** SetContext ******************/ - /**** md5 signature: d164363977e75e7eed55b6d2c433f4ef ****/ + /****** BRepBuilderAPI_Sewing::SetContext ******/ + /****** md5 signature: d164363977e75e7eed55b6d2c433f4ef ******/ %feature("compactdefaultargs") SetContext; - %feature("autodoc", "Set context. - + %feature("autodoc", " Parameters ---------- theContext: BRepTools_ReShape -Returns +Return ------- None + +Description +----------- +set context. ") SetContext; void SetContext(const opencascade::handle & theContext); - /****************** SetFaceMode ******************/ - /**** md5 signature: be33d5623b757a136bdeb5a9404588b8 ****/ + /****** BRepBuilderAPI_Sewing::SetFaceMode ******/ + /****** md5 signature: be33d5623b757a136bdeb5a9404588b8 ******/ %feature("compactdefaultargs") SetFaceMode; - %feature("autodoc", "Sets mode for sewing faces by default - true. - + %feature("autodoc", " Parameters ---------- theFaceMode: bool -Returns +Return ------- None + +Description +----------- +Sets mode for sewing faces By default - true. ") SetFaceMode; void SetFaceMode(const Standard_Boolean theFaceMode); - /****************** SetFloatingEdgesMode ******************/ - /**** md5 signature: 9e535d43ee813c0bb3f60089705740ad ****/ + /****** BRepBuilderAPI_Sewing::SetFloatingEdgesMode ******/ + /****** md5 signature: 9e535d43ee813c0bb3f60089705740ad ******/ %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", " Parameters ---------- theFloatingEdgesMode: bool -Returns +Return ------- None + +Description +----------- +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. ") SetFloatingEdgesMode; void SetFloatingEdgesMode(const Standard_Boolean theFloatingEdgesMode); - /****************** SetLocalTolerancesMode ******************/ - /**** md5 signature: 11968066a6abf7bbfe86e1caa2d4682f ****/ + /****** BRepBuilderAPI_Sewing::SetLocalTolerancesMode ******/ + /****** md5 signature: 11968066a6abf7bbfe86e1caa2d4682f ******/ %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", " Parameters ---------- theLocalTolerancesMode: bool -Returns +Return ------- None + +Description +----------- +Sets mode for accounting of local tolerances of edges and vertices during of merging in this case WorkTolerance = myTolerance + tolEdge1+ tolEdg2;. ") SetLocalTolerancesMode; void SetLocalTolerancesMode(const Standard_Boolean theLocalTolerancesMode); - /****************** SetMaxTolerance ******************/ - /**** md5 signature: 4b5771be6c78dcae85f644f87aad2350 ****/ + /****** BRepBuilderAPI_Sewing::SetMaxTolerance ******/ + /****** md5 signature: 4b5771be6c78dcae85f644f87aad2350 ******/ %feature("compactdefaultargs") SetMaxTolerance; - %feature("autodoc", "Sets max tolerance. - + %feature("autodoc", " Parameters ---------- theMaxToler: float -Returns +Return ------- None + +Description +----------- +Sets max tolerance. ") SetMaxTolerance; void SetMaxTolerance(const Standard_Real theMaxToler); - /****************** SetMinTolerance ******************/ - /**** md5 signature: 7ba51e2f5c5991bb95f9e3c8a5d6f1f3 ****/ + /****** BRepBuilderAPI_Sewing::SetMinTolerance ******/ + /****** md5 signature: 7ba51e2f5c5991bb95f9e3c8a5d6f1f3 ******/ %feature("compactdefaultargs") SetMinTolerance; - %feature("autodoc", "Sets min tolerance. - + %feature("autodoc", " Parameters ---------- theMinToler: float -Returns +Return ------- None + +Description +----------- +Sets min tolerance. ") SetMinTolerance; void SetMinTolerance(const Standard_Real theMinToler); - /****************** SetNonManifoldMode ******************/ - /**** md5 signature: 5d218b8a6549d6b81b32f7e6532da86f ****/ + /****** BRepBuilderAPI_Sewing::SetNonManifoldMode ******/ + /****** md5 signature: 5d218b8a6549d6b81b32f7e6532da86f ******/ %feature("compactdefaultargs") SetNonManifoldMode; - %feature("autodoc", "Sets mode for non-manifold sewing. - + %feature("autodoc", " Parameters ---------- theNonManifoldMode: bool -Returns +Return ------- None + +Description +----------- +Sets mode for non-manifold sewing. ") SetNonManifoldMode; void SetNonManifoldMode(const Standard_Boolean theNonManifoldMode); - /****************** SetSameParameterMode ******************/ - /**** md5 signature: 31ed69081c7788c7c8d7bac985fad0fb ****/ + /****** BRepBuilderAPI_Sewing::SetSameParameterMode ******/ + /****** md5 signature: 31ed69081c7788c7c8d7bac985fad0fb ******/ %feature("compactdefaultargs") SetSameParameterMode; - %feature("autodoc", "Sets same parameter mode. - + %feature("autodoc", " Parameters ---------- SameParameterMode: bool -Returns +Return ------- None + +Description +----------- +Sets same parameter mode. ") SetSameParameterMode; void SetSameParameterMode(const Standard_Boolean SameParameterMode); - /****************** SetTolerance ******************/ - /**** md5 signature: 6adfe96b6feba352d7526961c84ccdab ****/ + /****** BRepBuilderAPI_Sewing::SetTolerance ******/ + /****** md5 signature: 6adfe96b6feba352d7526961c84ccdab ******/ %feature("compactdefaultargs") SetTolerance; - %feature("autodoc", "Sets tolerance. - + %feature("autodoc", " Parameters ---------- theToler: float -Returns +Return ------- None + +Description +----------- +Sets tolerance. ") SetTolerance; void SetTolerance(const Standard_Real theToler); - /****************** SewedShape ******************/ - /**** md5 signature: 15c4b701ec45daeb64ce5999149305ef ****/ + /****** BRepBuilderAPI_Sewing::SewedShape ******/ + /****** md5 signature: 15c4b701ec45daeb64ce5999149305ef ******/ %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. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +Gives the sewed shape a null shape if nothing constructed may be a face, a shell, a solid or a compound. ") SewedShape; const TopoDS_Shape SewedShape(); - /****************** Tolerance ******************/ - /**** md5 signature: 9e5775014410d884d1a1adc1cd47930b ****/ + /****** BRepBuilderAPI_Sewing::Tolerance ******/ + /****** md5 signature: 9e5775014410d884d1a1adc1cd47930b ******/ %feature("compactdefaultargs") Tolerance; - %feature("autodoc", "Gives set tolerance. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Gives set tolerance. ") Tolerance; Standard_Real Tolerance(); - /****************** WhichFace ******************/ - /**** md5 signature: 3e589a12446d56482439b5fd7cbfa5d8 ****/ + /****** BRepBuilderAPI_Sewing::WhichFace ******/ + /****** md5 signature: 3e589a12446d56482439b5fd7cbfa5d8 ******/ %feature("compactdefaultargs") WhichFace; - %feature("autodoc", "Gives a modified shape. - + %feature("autodoc", " Parameters ---------- theEdg: TopoDS_Edge -index: int,optional - default value is 1 +index: int (optional, default to 1) -Returns +Return ------- TopoDS_Face + +Description +----------- +Gives a modified shape. ") WhichFace; TopoDS_Face WhichFace(const TopoDS_Edge & theEdg, const Standard_Integer index = 1); @@ -1323,85 +1491,101 @@ TopoDS_Face class BRepBuilderAPI_VertexInspector : public NCollection_CellFilter_InspectorXYZ { public: typedef Standard_Integer Target; - /****************** BRepBuilderAPI_VertexInspector ******************/ - /**** md5 signature: 0eeefa290e63d77a3860d0886de050c7 ****/ + /****** BRepBuilderAPI_VertexInspector::BRepBuilderAPI_VertexInspector ******/ + /****** md5 signature: 0eeefa290e63d77a3860d0886de050c7 ******/ %feature("compactdefaultargs") BRepBuilderAPI_VertexInspector; - %feature("autodoc", "Constructor; remembers the tolerance. - + %feature("autodoc", " Parameters ---------- theTol: float -Returns +Return ------- None + +Description +----------- +Constructor; remembers the tolerance. ") BRepBuilderAPI_VertexInspector; BRepBuilderAPI_VertexInspector(const Standard_Real theTol); - /****************** Add ******************/ - /**** md5 signature: 674df0f2056599deaae173500780a92d ****/ + /****** BRepBuilderAPI_VertexInspector::Add ******/ + /****** md5 signature: 674df0f2056599deaae173500780a92d ******/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Keep the points used for comparison. - + %feature("autodoc", " Parameters ---------- thePnt: gp_XYZ -Returns +Return ------- None + +Description +----------- +Keep the points used for comparison. ") Add; void Add(const gp_XYZ & thePnt); - /****************** ClearResList ******************/ - /**** md5 signature: 437c3c9842327f69417ece821777001d ****/ + /****** BRepBuilderAPI_VertexInspector::ClearResList ******/ + /****** md5 signature: 437c3c9842327f69417ece821777001d ******/ %feature("compactdefaultargs") ClearResList; - %feature("autodoc", "Clear the list of adjacent points. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Clear the list of adjacent points. ") ClearResList; void ClearResList(); - /****************** Inspect ******************/ - /**** md5 signature: 261093865d6e31515b7e7f70c791b792 ****/ + /****** BRepBuilderAPI_VertexInspector::Inspect ******/ + /****** md5 signature: 261093865d6e31515b7e7f70c791b792 ******/ %feature("compactdefaultargs") Inspect; - %feature("autodoc", "Implementation of inspection method. - + %feature("autodoc", " Parameters ---------- theTarget: int -Returns +Return ------- NCollection_CellFilter_Action + +Description +----------- +Implementation of inspection method. ") Inspect; NCollection_CellFilter_Action Inspect(const Standard_Integer theTarget); - /****************** ResInd ******************/ - /**** md5 signature: 06a54f141487331d8d67cc5507fd93fe ****/ + /****** BRepBuilderAPI_VertexInspector::ResInd ******/ + /****** md5 signature: 06a54f141487331d8d67cc5507fd93fe ******/ %feature("compactdefaultargs") ResInd; - %feature("autodoc", "Get list of indexes of points adjacent with the current. - -Returns + %feature("autodoc", "Return ------- TColStd_ListOfInteger + +Description +----------- +Get list of indexes of points adjacent with the current. ") ResInd; const TColStd_ListOfInteger & ResInd(); - /****************** SetCurrent ******************/ - /**** md5 signature: 52c7652c9c3b17a93e1b9f74b55265ec ****/ + /****** BRepBuilderAPI_VertexInspector::SetCurrent ******/ + /****** md5 signature: 52c7652c9c3b17a93e1b9f74b55265ec ******/ %feature("compactdefaultargs") SetCurrent; - %feature("autodoc", "Set current point to search for coincidence. - + %feature("autodoc", " Parameters ---------- theCurPnt: gp_XYZ -Returns +Return ------- None + +Description +----------- +Set current point to search for coincidence. ") SetCurrent; void SetCurrent(const gp_XYZ & theCurPnt); @@ -1419,81 +1603,98 @@ None ******************************************/ class BRepBuilderAPI_BndBoxTreeSelector : public BRepBuilderAPI_BndBoxTree::Selector { public: - /****************** BRepBuilderAPI_BndBoxTreeSelector ******************/ - /**** md5 signature: 701377c6f5b5b4ad360057f52164f1cc ****/ + /****** BRepBuilderAPI_BndBoxTreeSelector::BRepBuilderAPI_BndBoxTreeSelector ******/ + /****** md5 signature: 701377c6f5b5b4ad360057f52164f1cc ******/ %feature("compactdefaultargs") BRepBuilderAPI_BndBoxTreeSelector; - %feature("autodoc", "Constructor; calls the base class constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Constructor; calls the base class constructor. ") BRepBuilderAPI_BndBoxTreeSelector; BRepBuilderAPI_BndBoxTreeSelector(); - /****************** Accept ******************/ - /**** md5 signature: 5815dd7c853dd2ee8117fbcdf8728805 ****/ + /****** BRepBuilderAPI_BndBoxTreeSelector::Accept ******/ + /****** md5 signature: 5815dd7c853dd2ee8117fbcdf8728805 ******/ %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. - + %feature("autodoc", " Parameters ---------- theObj: int -Returns +Return ------- bool + +Description +----------- +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. +Return: True, because the object is accepted. ") Accept; Standard_Boolean Accept(const Standard_Integer & theObj); - /****************** ClearResList ******************/ - /**** md5 signature: 437c3c9842327f69417ece821777001d ****/ + /****** BRepBuilderAPI_BndBoxTreeSelector::ClearResList ******/ + /****** md5 signature: 437c3c9842327f69417ece821777001d ******/ %feature("compactdefaultargs") ClearResList; - %feature("autodoc", "Clear the list of intersecting boxes. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Clear the list of intersecting boxes. ") ClearResList; void ClearResList(); - /****************** Reject ******************/ - /**** md5 signature: d86ca564c619503e8a9e9a9dd035781a ****/ + /****** BRepBuilderAPI_BndBoxTreeSelector::Reject ******/ + /****** md5 signature: d86ca564c619503e8a9e9a9dd035781a ******/ %feature("compactdefaultargs") Reject; - %feature("autodoc", "Implementation of rejection method returns true if the bounding box does not intersect with the current . - + %feature("autodoc", " Parameters ---------- theBox: Bnd_Box -Returns +Return ------- bool + +Description +----------- +Implementation of rejection method +Return: True if the bounding box does not intersect with the current. ") Reject; Standard_Boolean Reject(const Bnd_Box & theBox); - /****************** ResInd ******************/ - /**** md5 signature: 06a54f141487331d8d67cc5507fd93fe ****/ + /****** BRepBuilderAPI_BndBoxTreeSelector::ResInd ******/ + /****** md5 signature: 06a54f141487331d8d67cc5507fd93fe ******/ %feature("compactdefaultargs") ResInd; - %feature("autodoc", "Get list of indexes of boxes intersecting with the current box. - -Returns + %feature("autodoc", "Return ------- TColStd_ListOfInteger + +Description +----------- +Get list of indexes of boxes intersecting with the current box. ") ResInd; const TColStd_ListOfInteger & ResInd(); - /****************** SetCurrent ******************/ - /**** md5 signature: f630ad6cec547ab81dd1ff7942351413 ****/ + /****** BRepBuilderAPI_BndBoxTreeSelector::SetCurrent ******/ + /****** md5 signature: f630ad6cec547ab81dd1ff7942351413 ******/ %feature("compactdefaultargs") SetCurrent; - %feature("autodoc", "Set current box to search for overlapping with him. - + %feature("autodoc", " Parameters ---------- theBox: Bnd_Box -Returns +Return ------- None + +Description +----------- +Set current box to search for overlapping with him. ") SetCurrent; void SetCurrent(const Bnd_Box & theBox); @@ -1512,70 +1713,88 @@ None %nodefaultctor BRepBuilderAPI_MakeShape; class BRepBuilderAPI_MakeShape : public BRepBuilderAPI_Command { public: - /****************** Build ******************/ - /**** md5 signature: 66e0ade7e3cfb9cd9bdff795cda9b98c ****/ + /****** BRepBuilderAPI_MakeShape::Build ******/ + /****** md5 signature: d39f8b7cbf799a16c2e10ed4575e82fe ******/ %feature("compactdefaultargs") Build; - %feature("autodoc", "This is called by shape(). it does nothing but may be redefined. + %feature("autodoc", " +Parameters +---------- +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- None + +Description +----------- +This is called by Shape(). It does nothing but may be redefined. ") Build; - virtual void Build(); + virtual void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); - /****************** Generated ******************/ - /**** md5 signature: ec0cc02a1efd6cf2ce3c0b78f26c1d07 ****/ + /****** BRepBuilderAPI_MakeShape::Generated ******/ + /****** md5 signature: ec0cc02a1efd6cf2ce3c0b78f26c1d07 ******/ %feature("compactdefaultargs") Generated; - %feature("autodoc", "Returns the list of shapes generated from the shape . - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Returns the list of shapes generated from the shape . ") Generated; virtual const TopTools_ListOfShape & Generated(const TopoDS_Shape & S); - /****************** IsDeleted ******************/ - /**** md5 signature: eb6924b9523d7e4f22d23c7c973700db ****/ + /****** BRepBuilderAPI_MakeShape::IsDeleted ******/ + /****** md5 signature: eb6924b9523d7e4f22d23c7c973700db ******/ %feature("compactdefaultargs") IsDeleted; - %feature("autodoc", "Returns true if the shape s has been deleted. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- bool + +Description +----------- +Returns true if the shape S has been deleted. ") IsDeleted; virtual Standard_Boolean IsDeleted(const TopoDS_Shape & S); - /****************** Modified ******************/ - /**** md5 signature: a806cf91fce8bea1007aadababd10388 ****/ + /****** BRepBuilderAPI_MakeShape::Modified ******/ + /****** md5 signature: a806cf91fce8bea1007aadababd10388 ******/ %feature("compactdefaultargs") Modified; - %feature("autodoc", "Returns the list of shapes modified from the shape . - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Returns the list of shapes modified from the shape . ") Modified; virtual const TopTools_ListOfShape & Modified(const TopoDS_Shape & S); - /****************** Shape ******************/ - /**** md5 signature: 2d17c0c46a6272e892d56c2b4312553d ****/ + /****** BRepBuilderAPI_MakeShape::Shape ******/ + /****** md5 signature: 2d17c0c46a6272e892d56c2b4312553d ******/ %feature("compactdefaultargs") Shape; - %feature("autodoc", "Returns a shape built by the shape construction algorithm. raises exception stdfail_notdone if the shape was not built. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +Returns a shape built by the shape construction algorithm. Raises exception StdFail_NotDone if the shape was not built. ") Shape; virtual const TopoDS_Shape Shape(); @@ -1593,450 +1812,529 @@ TopoDS_Shape ********************************/ class BRepBuilderAPI_MakeEdge : public BRepBuilderAPI_MakeShape { public: - /****************** BRepBuilderAPI_MakeEdge ******************/ - /**** md5 signature: 0f4dfcd8f012cf307355479d4f35ebf8 ****/ + /****** BRepBuilderAPI_MakeEdge::BRepBuilderAPI_MakeEdge ******/ + /****** md5 signature: 0f4dfcd8f012cf307355479d4f35ebf8 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge(); - /****************** BRepBuilderAPI_MakeEdge ******************/ - /**** md5 signature: 03760e464316327715c9f60169e5c353 ****/ + /****** BRepBuilderAPI_MakeEdge::BRepBuilderAPI_MakeEdge ******/ + /****** md5 signature: 03760e464316327715c9f60169e5c353 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- V1: TopoDS_Vertex V2: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge(const TopoDS_Vertex & V1, const TopoDS_Vertex & V2); - /****************** BRepBuilderAPI_MakeEdge ******************/ - /**** md5 signature: 1d9c138e8ad8dac88bf15ba61ca8eeea ****/ + /****** BRepBuilderAPI_MakeEdge::BRepBuilderAPI_MakeEdge ******/ + /****** md5 signature: 1d9c138e8ad8dac88bf15ba61ca8eeea ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P1: gp_Pnt P2: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge(const gp_Pnt & P1, const gp_Pnt & P2); - /****************** BRepBuilderAPI_MakeEdge ******************/ - /**** md5 signature: a5bad4ad36582766f329b2997750bd64 ****/ + /****** BRepBuilderAPI_MakeEdge::BRepBuilderAPI_MakeEdge ******/ + /****** md5 signature: a5bad4ad36582766f329b2997750bd64 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Lin -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge(const gp_Lin & L); - /****************** BRepBuilderAPI_MakeEdge ******************/ - /**** md5 signature: cab45d250f4e44f193c7ef6ad550c658 ****/ + /****** BRepBuilderAPI_MakeEdge::BRepBuilderAPI_MakeEdge ******/ + /****** md5 signature: cab45d250f4e44f193c7ef6ad550c658 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Lin p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge(const gp_Lin & L, const Standard_Real p1, const Standard_Real p2); - /****************** BRepBuilderAPI_MakeEdge ******************/ - /**** md5 signature: f2a39fbc1a11abf4d5ee9cb892172a65 ****/ + /****** BRepBuilderAPI_MakeEdge::BRepBuilderAPI_MakeEdge ******/ + /****** md5 signature: f2a39fbc1a11abf4d5ee9cb892172a65 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Lin P1: gp_Pnt P2: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge(const gp_Lin & L, const gp_Pnt & P1, const gp_Pnt & P2); - /****************** BRepBuilderAPI_MakeEdge ******************/ - /**** md5 signature: 180771a5e26f55185893bfbc74200e26 ****/ + /****** BRepBuilderAPI_MakeEdge::BRepBuilderAPI_MakeEdge ******/ + /****** md5 signature: 180771a5e26f55185893bfbc74200e26 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Lin V1: TopoDS_Vertex V2: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge(const gp_Lin & L, const TopoDS_Vertex & V1, const TopoDS_Vertex & V2); - /****************** BRepBuilderAPI_MakeEdge ******************/ - /**** md5 signature: 01f9144f68791c93ea0b77b16ae7f738 ****/ + /****** BRepBuilderAPI_MakeEdge::BRepBuilderAPI_MakeEdge ******/ + /****** md5 signature: 01f9144f68791c93ea0b77b16ae7f738 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Circ -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge(const gp_Circ & L); - /****************** BRepBuilderAPI_MakeEdge ******************/ - /**** md5 signature: 9c413b91f4f43dbb36a6be7b3575c890 ****/ + /****** BRepBuilderAPI_MakeEdge::BRepBuilderAPI_MakeEdge ******/ + /****** md5 signature: 9c413b91f4f43dbb36a6be7b3575c890 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Circ p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge(const gp_Circ & L, const Standard_Real p1, const Standard_Real p2); - /****************** BRepBuilderAPI_MakeEdge ******************/ - /**** md5 signature: 3dfc053e7499ca226c956c4bd26ed85d ****/ + /****** BRepBuilderAPI_MakeEdge::BRepBuilderAPI_MakeEdge ******/ + /****** md5 signature: 3dfc053e7499ca226c956c4bd26ed85d ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Circ P1: gp_Pnt P2: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge(const gp_Circ & L, const gp_Pnt & P1, const gp_Pnt & P2); - /****************** BRepBuilderAPI_MakeEdge ******************/ - /**** md5 signature: ffe72e79252ec3798fe6ad30ff8a9d8c ****/ + /****** BRepBuilderAPI_MakeEdge::BRepBuilderAPI_MakeEdge ******/ + /****** md5 signature: ffe72e79252ec3798fe6ad30ff8a9d8c ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Circ V1: TopoDS_Vertex V2: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge(const gp_Circ & L, const TopoDS_Vertex & V1, const TopoDS_Vertex & V2); - /****************** BRepBuilderAPI_MakeEdge ******************/ - /**** md5 signature: f0af09a1e0509e61e8f46e9b99a5f265 ****/ + /****** BRepBuilderAPI_MakeEdge::BRepBuilderAPI_MakeEdge ******/ + /****** md5 signature: f0af09a1e0509e61e8f46e9b99a5f265 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Elips -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge(const gp_Elips & L); - /****************** BRepBuilderAPI_MakeEdge ******************/ - /**** md5 signature: 4ee630b3a076bf0e9dad64f944eba049 ****/ + /****** BRepBuilderAPI_MakeEdge::BRepBuilderAPI_MakeEdge ******/ + /****** md5 signature: 4ee630b3a076bf0e9dad64f944eba049 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Elips p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge(const gp_Elips & L, const Standard_Real p1, const Standard_Real p2); - /****************** BRepBuilderAPI_MakeEdge ******************/ - /**** md5 signature: 2ef92171d9092a0e8f3c7bf0b7d90e0f ****/ + /****** BRepBuilderAPI_MakeEdge::BRepBuilderAPI_MakeEdge ******/ + /****** md5 signature: 2ef92171d9092a0e8f3c7bf0b7d90e0f ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Elips P1: gp_Pnt P2: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge(const gp_Elips & L, const gp_Pnt & P1, const gp_Pnt & P2); - /****************** BRepBuilderAPI_MakeEdge ******************/ - /**** md5 signature: 5df7d682759ac8fa2d83101a9ae6744a ****/ + /****** BRepBuilderAPI_MakeEdge::BRepBuilderAPI_MakeEdge ******/ + /****** md5 signature: 5df7d682759ac8fa2d83101a9ae6744a ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Elips V1: TopoDS_Vertex V2: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge(const gp_Elips & L, const TopoDS_Vertex & V1, const TopoDS_Vertex & V2); - /****************** BRepBuilderAPI_MakeEdge ******************/ - /**** md5 signature: 13812eb3449432a1961fdc8707025659 ****/ + /****** BRepBuilderAPI_MakeEdge::BRepBuilderAPI_MakeEdge ******/ + /****** md5 signature: 13812eb3449432a1961fdc8707025659 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Hypr -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge(const gp_Hypr & L); - /****************** BRepBuilderAPI_MakeEdge ******************/ - /**** md5 signature: fc8c25337ccae7524af5016c0558529d ****/ + /****** BRepBuilderAPI_MakeEdge::BRepBuilderAPI_MakeEdge ******/ + /****** md5 signature: fc8c25337ccae7524af5016c0558529d ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Hypr p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge(const gp_Hypr & L, const Standard_Real p1, const Standard_Real p2); - /****************** BRepBuilderAPI_MakeEdge ******************/ - /**** md5 signature: 125132cc5b68b71332321fdb8ed75aef ****/ + /****** BRepBuilderAPI_MakeEdge::BRepBuilderAPI_MakeEdge ******/ + /****** md5 signature: 125132cc5b68b71332321fdb8ed75aef ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Hypr P1: gp_Pnt P2: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge(const gp_Hypr & L, const gp_Pnt & P1, const gp_Pnt & P2); - /****************** BRepBuilderAPI_MakeEdge ******************/ - /**** md5 signature: 5c1bf3d6aaa00d737afd406d3c012341 ****/ + /****** BRepBuilderAPI_MakeEdge::BRepBuilderAPI_MakeEdge ******/ + /****** md5 signature: 5c1bf3d6aaa00d737afd406d3c012341 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Hypr V1: TopoDS_Vertex V2: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge(const gp_Hypr & L, const TopoDS_Vertex & V1, const TopoDS_Vertex & V2); - /****************** BRepBuilderAPI_MakeEdge ******************/ - /**** md5 signature: d97ef5d901ee9aab613ae11dba6cb537 ****/ + /****** BRepBuilderAPI_MakeEdge::BRepBuilderAPI_MakeEdge ******/ + /****** md5 signature: d97ef5d901ee9aab613ae11dba6cb537 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Parab -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge(const gp_Parab & L); - /****************** BRepBuilderAPI_MakeEdge ******************/ - /**** md5 signature: 9bdd925165b2ff5d5abb2947ee8d711a ****/ + /****** BRepBuilderAPI_MakeEdge::BRepBuilderAPI_MakeEdge ******/ + /****** md5 signature: 9bdd925165b2ff5d5abb2947ee8d711a ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Parab p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge(const gp_Parab & L, const Standard_Real p1, const Standard_Real p2); - /****************** BRepBuilderAPI_MakeEdge ******************/ - /**** md5 signature: 3b344cb2d8419d529ee9d54d2f6cc669 ****/ + /****** BRepBuilderAPI_MakeEdge::BRepBuilderAPI_MakeEdge ******/ + /****** md5 signature: 3b344cb2d8419d529ee9d54d2f6cc669 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Parab P1: gp_Pnt P2: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge(const gp_Parab & L, const gp_Pnt & P1, const gp_Pnt & P2); - /****************** BRepBuilderAPI_MakeEdge ******************/ - /**** md5 signature: 5f6deb41b0ccadcc0541de06b4588820 ****/ + /****** BRepBuilderAPI_MakeEdge::BRepBuilderAPI_MakeEdge ******/ + /****** md5 signature: 5f6deb41b0ccadcc0541de06b4588820 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Parab V1: TopoDS_Vertex V2: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge(const gp_Parab & L, const TopoDS_Vertex & V1, const TopoDS_Vertex & V2); - /****************** BRepBuilderAPI_MakeEdge ******************/ - /**** md5 signature: 230e0e9c29476df7018fb49aef783237 ****/ + /****** BRepBuilderAPI_MakeEdge::BRepBuilderAPI_MakeEdge ******/ + /****** md5 signature: 230e0e9c29476df7018fb49aef783237 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: Geom_Curve -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge(const opencascade::handle & L); - /****************** BRepBuilderAPI_MakeEdge ******************/ - /**** md5 signature: d49aaa94a0b6680c60d31379455f3068 ****/ + /****** BRepBuilderAPI_MakeEdge::BRepBuilderAPI_MakeEdge ******/ + /****** md5 signature: d49aaa94a0b6680c60d31379455f3068 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: Geom_Curve p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge(const opencascade::handle & L, const Standard_Real p1, const Standard_Real p2); - /****************** BRepBuilderAPI_MakeEdge ******************/ - /**** md5 signature: 9add2febba648d64ba90e4afe104291e ****/ + /****** BRepBuilderAPI_MakeEdge::BRepBuilderAPI_MakeEdge ******/ + /****** md5 signature: 9add2febba648d64ba90e4afe104291e ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: Geom_Curve P1: gp_Pnt P2: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge(const opencascade::handle & L, const gp_Pnt & P1, const gp_Pnt & P2); - /****************** BRepBuilderAPI_MakeEdge ******************/ - /**** md5 signature: 45ce7c9f95893c06e5e00995284ecf21 ****/ + /****** BRepBuilderAPI_MakeEdge::BRepBuilderAPI_MakeEdge ******/ + /****** md5 signature: 45ce7c9f95893c06e5e00995284ecf21 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: Geom_Curve V1: TopoDS_Vertex V2: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge(const opencascade::handle & L, const TopoDS_Vertex & V1, const TopoDS_Vertex & V2); - /****************** BRepBuilderAPI_MakeEdge ******************/ - /**** md5 signature: 72e4841e5d7e7c2edb5bc8aa27592395 ****/ + /****** BRepBuilderAPI_MakeEdge::BRepBuilderAPI_MakeEdge ******/ + /****** md5 signature: 72e4841e5d7e7c2edb5bc8aa27592395 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: Geom_Curve @@ -2045,17 +2343,20 @@ P2: gp_Pnt p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: 07688a814bb54bebc945f45067aefbe5 ****/ + /****** BRepBuilderAPI_MakeEdge::BRepBuilderAPI_MakeEdge ******/ + /****** md5 signature: 07688a814bb54bebc945f45067aefbe5 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: Geom_Curve @@ -2064,33 +2365,39 @@ V2: TopoDS_Vertex p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: a4782af46daf51d670da12ea4e8c9988 ****/ + /****** BRepBuilderAPI_MakeEdge::BRepBuilderAPI_MakeEdge ******/ + /****** md5 signature: a4782af46daf51d670da12ea4e8c9988 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: Geom2d_Curve S: Geom_Surface -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge(const opencascade::handle & L, const opencascade::handle & S); - /****************** BRepBuilderAPI_MakeEdge ******************/ - /**** md5 signature: b8076f60fd8e4e00baf4eb4e6d15d226 ****/ + /****** BRepBuilderAPI_MakeEdge::BRepBuilderAPI_MakeEdge ******/ + /****** md5 signature: b8076f60fd8e4e00baf4eb4e6d15d226 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: Geom2d_Curve @@ -2098,17 +2405,20 @@ S: Geom_Surface p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge(const opencascade::handle & L, const opencascade::handle & S, const Standard_Real p1, const Standard_Real p2); - /****************** BRepBuilderAPI_MakeEdge ******************/ - /**** md5 signature: 8695836e69885815046f06b0ae0bc482 ****/ + /****** BRepBuilderAPI_MakeEdge::BRepBuilderAPI_MakeEdge ******/ + /****** md5 signature: 8695836e69885815046f06b0ae0bc482 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: Geom2d_Curve @@ -2116,17 +2426,20 @@ S: Geom_Surface P1: gp_Pnt P2: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge(const opencascade::handle & L, const opencascade::handle & S, const gp_Pnt & P1, const gp_Pnt & P2); - /****************** BRepBuilderAPI_MakeEdge ******************/ - /**** md5 signature: 03da4358eb0602d842c54753b709c010 ****/ + /****** BRepBuilderAPI_MakeEdge::BRepBuilderAPI_MakeEdge ******/ + /****** md5 signature: 03da4358eb0602d842c54753b709c010 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: Geom2d_Curve @@ -2134,17 +2447,20 @@ S: Geom_Surface V1: TopoDS_Vertex V2: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge(const opencascade::handle & L, const opencascade::handle & S, const TopoDS_Vertex & V1, const TopoDS_Vertex & V2); - /****************** BRepBuilderAPI_MakeEdge ******************/ - /**** md5 signature: 1129d1ac8dade951df00631adc5bd7eb ****/ + /****** BRepBuilderAPI_MakeEdge::BRepBuilderAPI_MakeEdge ******/ + /****** md5 signature: 1129d1ac8dade951df00631adc5bd7eb ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: Geom2d_Curve @@ -2154,17 +2470,20 @@ P2: gp_Pnt p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: acd21d73401432f2c365942d82c1fc03 ****/ + /****** BRepBuilderAPI_MakeEdge::BRepBuilderAPI_MakeEdge ******/ + /****** md5 signature: acd21d73401432f2c365942d82c1fc03 ******/ %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. - + %feature("autodoc", " Parameters ---------- L: Geom2d_Curve @@ -2174,105 +2493,124 @@ V2: TopoDS_Vertex p1: float p2: float -Returns +Return ------- None + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 768a18012e715670ae29301e23e2cf8b ****/ + /****** BRepBuilderAPI_MakeEdge::Edge ******/ + /****** md5 signature: 768a18012e715670ae29301e23e2cf8b ******/ %feature("compactdefaultargs") Edge; - %feature("autodoc", "Returns the constructed edge. exceptions stdfail_notdone if the edge is not built. - -Returns + %feature("autodoc", "Return ------- TopoDS_Edge + +Description +----------- +Returns the constructed edge. Exceptions StdFail_NotDone if the edge is not built. ") Edge; const TopoDS_Edge Edge(); - /****************** Error ******************/ - /**** md5 signature: eed0e2d16bc922bda6437a7e6e62f61b ****/ + /****** BRepBuilderAPI_MakeEdge::Error ******/ + /****** md5 signature: eed0e2d16bc922bda6437a7e6e62f61b ******/ %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. - -Returns + %feature("autodoc", "Return ------- BRepBuilderAPI_EdgeError + +Description +----------- +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. ") Error; BRepBuilderAPI_EdgeError Error(); - /****************** Init ******************/ - /**** md5 signature: 3a7fb0adde1a97c68f435539513bba2c ****/ + /****** BRepBuilderAPI_MakeEdge::Init ******/ + /****** md5 signature: 3a7fb0adde1a97c68f435539513bba2c ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom_Curve -Returns +Return ------- None + +Description +----------- +No available documentation. ") Init; void Init(const opencascade::handle & C); - /****************** Init ******************/ - /**** md5 signature: 69ab6deacb22a5a946bd084862db1233 ****/ + /****** BRepBuilderAPI_MakeEdge::Init ******/ + /****** md5 signature: 69ab6deacb22a5a946bd084862db1233 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom_Curve p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") Init; void Init(const opencascade::handle & C, const Standard_Real p1, const Standard_Real p2); - /****************** Init ******************/ - /**** md5 signature: 235ac27b5a022827b7d54091e2111592 ****/ + /****** BRepBuilderAPI_MakeEdge::Init ******/ + /****** md5 signature: 235ac27b5a022827b7d54091e2111592 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom_Curve P1: gp_Pnt P2: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") Init; void Init(const opencascade::handle & C, const gp_Pnt & P1, const gp_Pnt & P2); - /****************** Init ******************/ - /**** md5 signature: 9b236210e3d8f5b8c0ae08f9ff665d2d ****/ + /****** BRepBuilderAPI_MakeEdge::Init ******/ + /****** md5 signature: 9b236210e3d8f5b8c0ae08f9ff665d2d ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom_Curve V1: TopoDS_Vertex V2: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") Init; void Init(const opencascade::handle & C, const TopoDS_Vertex & V1, const TopoDS_Vertex & V2); - /****************** Init ******************/ - /**** md5 signature: b7311420b3eb1ee66bd9b3232f6bbf14 ****/ + /****** BRepBuilderAPI_MakeEdge::Init ******/ + /****** md5 signature: b7311420b3eb1ee66bd9b3232f6bbf14 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom_Curve @@ -2281,17 +2619,20 @@ P2: gp_Pnt p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") Init; void Init(const opencascade::handle & C, const gp_Pnt & P1, const gp_Pnt & P2, const Standard_Real p1, const Standard_Real p2); - /****************** Init ******************/ - /**** md5 signature: f0ddd1dcd6baa38ff9d6ad052ec8cf95 ****/ + /****** BRepBuilderAPI_MakeEdge::Init ******/ + /****** md5 signature: f0ddd1dcd6baa38ff9d6ad052ec8cf95 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom_Curve @@ -2300,33 +2641,39 @@ V2: TopoDS_Vertex p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") Init; void Init(const opencascade::handle & C, const TopoDS_Vertex & V1, const TopoDS_Vertex & V2, const Standard_Real p1, const Standard_Real p2); - /****************** Init ******************/ - /**** md5 signature: 2207b24682fbbcefc3a70c5dcfc79e41 ****/ + /****** BRepBuilderAPI_MakeEdge::Init ******/ + /****** md5 signature: 2207b24682fbbcefc3a70c5dcfc79e41 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom2d_Curve S: Geom_Surface -Returns +Return ------- None + +Description +----------- +No available documentation. ") Init; void Init(const opencascade::handle & C, const opencascade::handle & S); - /****************** Init ******************/ - /**** md5 signature: 46ba1cf0906b7383d025da040ff8be26 ****/ + /****** BRepBuilderAPI_MakeEdge::Init ******/ + /****** md5 signature: 46ba1cf0906b7383d025da040ff8be26 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom2d_Curve @@ -2334,17 +2681,20 @@ S: Geom_Surface p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") Init; void Init(const opencascade::handle & C, const opencascade::handle & S, const Standard_Real p1, const Standard_Real p2); - /****************** Init ******************/ - /**** md5 signature: 0b0c938b079b5bfdc1085e8f8a945803 ****/ + /****** BRepBuilderAPI_MakeEdge::Init ******/ + /****** md5 signature: 0b0c938b079b5bfdc1085e8f8a945803 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom2d_Curve @@ -2352,17 +2702,20 @@ S: Geom_Surface P1: gp_Pnt P2: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") Init; void Init(const opencascade::handle & C, const opencascade::handle & S, const gp_Pnt & P1, const gp_Pnt & P2); - /****************** Init ******************/ - /**** md5 signature: cc30f692d59f3ba69b1c4b104a9aba38 ****/ + /****** BRepBuilderAPI_MakeEdge::Init ******/ + /****** md5 signature: cc30f692d59f3ba69b1c4b104a9aba38 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom2d_Curve @@ -2370,17 +2723,20 @@ S: Geom_Surface V1: TopoDS_Vertex V2: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") Init; void Init(const opencascade::handle & C, const opencascade::handle & S, const TopoDS_Vertex & V1, const TopoDS_Vertex & V2); - /****************** Init ******************/ - /**** md5 signature: 13f84c1b43401d2a23e02820d3c88735 ****/ + /****** BRepBuilderAPI_MakeEdge::Init ******/ + /****** md5 signature: 13f84c1b43401d2a23e02820d3c88735 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom2d_Curve @@ -2390,17 +2746,20 @@ P2: gp_Pnt p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: 59918a63418830ecee317dd35f9016cc ****/ + /****** BRepBuilderAPI_MakeEdge::Init ******/ + /****** md5 signature: 59918a63418830ecee317dd35f9016cc ******/ %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(). - + %feature("autodoc", " Parameters ---------- C: Geom2d_Curve @@ -2410,42 +2769,52 @@ V2: TopoDS_Vertex p1: float p2: float -Returns +Return ------- None + +Description +----------- +Defines or redefines the arguments for the construction of an edge. This function is currently used after the empty constructor BRepAPI_MakeEdge(). ") 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); - /****************** IsDone ******************/ - /**** md5 signature: e2af43c18fdd9d21f5f5de9eae7fc9de ****/ + /****** BRepBuilderAPI_MakeEdge::IsDone ******/ + /****** md5 signature: e2af43c18fdd9d21f5f5de9eae7fc9de ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Returns true if the edge is built. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns true if the edge is built. ") IsDone; virtual Standard_Boolean IsDone(); - /****************** Vertex1 ******************/ - /**** md5 signature: 3013872331c1fad0ef9330909eb27447 ****/ + /****** BRepBuilderAPI_MakeEdge::Vertex1 ******/ + /****** md5 signature: 3013872331c1fad0ef9330909eb27447 ******/ %feature("compactdefaultargs") Vertex1; - %feature("autodoc", "Returns the first vertex of the edge. may be null. - -Returns + %feature("autodoc", "Return ------- TopoDS_Vertex + +Description +----------- +Returns the first vertex of the edge. May be Null. ") Vertex1; const TopoDS_Vertex Vertex1(); - /****************** Vertex2 ******************/ - /**** md5 signature: ce52ea817fb1fca460491831377f3811 ****/ + /****** BRepBuilderAPI_MakeEdge::Vertex2 ******/ + /****** md5 signature: ce52ea817fb1fca460491831377f3811 ******/ %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. - -Returns + %feature("autodoc", "Return ------- TopoDS_Vertex + +Description +----------- +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. ") Vertex2; const TopoDS_Vertex Vertex2(); @@ -2463,439 +2832,516 @@ TopoDS_Vertex **********************************/ class BRepBuilderAPI_MakeEdge2d : public BRepBuilderAPI_MakeShape { public: - /****************** BRepBuilderAPI_MakeEdge2d ******************/ - /**** md5 signature: bfcf05f03d1155d3e3138fd904ebec30 ****/ + /****** BRepBuilderAPI_MakeEdge2d::BRepBuilderAPI_MakeEdge2d ******/ + /****** md5 signature: bfcf05f03d1155d3e3138fd904ebec30 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- V1: TopoDS_Vertex V2: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d(const TopoDS_Vertex & V1, const TopoDS_Vertex & V2); - /****************** BRepBuilderAPI_MakeEdge2d ******************/ - /**** md5 signature: 005fbf9b30edf45cd1d556cd57449b52 ****/ + /****** BRepBuilderAPI_MakeEdge2d::BRepBuilderAPI_MakeEdge2d ******/ + /****** md5 signature: 005fbf9b30edf45cd1d556cd57449b52 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P1: gp_Pnt2d P2: gp_Pnt2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d(const gp_Pnt2d & P1, const gp_Pnt2d & P2); - /****************** BRepBuilderAPI_MakeEdge2d ******************/ - /**** md5 signature: f90665f57f4d23d3332cedf8ded3559b ****/ + /****** BRepBuilderAPI_MakeEdge2d::BRepBuilderAPI_MakeEdge2d ******/ + /****** md5 signature: f90665f57f4d23d3332cedf8ded3559b ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Lin2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d(const gp_Lin2d & L); - /****************** BRepBuilderAPI_MakeEdge2d ******************/ - /**** md5 signature: 517f958b659e1ac3a0ae753bf31ac3db ****/ + /****** BRepBuilderAPI_MakeEdge2d::BRepBuilderAPI_MakeEdge2d ******/ + /****** md5 signature: 517f958b659e1ac3a0ae753bf31ac3db ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Lin2d p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d(const gp_Lin2d & L, const Standard_Real p1, const Standard_Real p2); - /****************** BRepBuilderAPI_MakeEdge2d ******************/ - /**** md5 signature: 645572569e68cc969305ed87c8785980 ****/ + /****** BRepBuilderAPI_MakeEdge2d::BRepBuilderAPI_MakeEdge2d ******/ + /****** md5 signature: 645572569e68cc969305ed87c8785980 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Lin2d P1: gp_Pnt2d P2: gp_Pnt2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d(const gp_Lin2d & L, const gp_Pnt2d & P1, const gp_Pnt2d & P2); - /****************** BRepBuilderAPI_MakeEdge2d ******************/ - /**** md5 signature: 9e194e6799c2033512dfc9a79fac26a8 ****/ + /****** BRepBuilderAPI_MakeEdge2d::BRepBuilderAPI_MakeEdge2d ******/ + /****** md5 signature: 9e194e6799c2033512dfc9a79fac26a8 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Lin2d V1: TopoDS_Vertex V2: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d(const gp_Lin2d & L, const TopoDS_Vertex & V1, const TopoDS_Vertex & V2); - /****************** BRepBuilderAPI_MakeEdge2d ******************/ - /**** md5 signature: 9b27412010f85348ad711cccbd4623c7 ****/ + /****** BRepBuilderAPI_MakeEdge2d::BRepBuilderAPI_MakeEdge2d ******/ + /****** md5 signature: 9b27412010f85348ad711cccbd4623c7 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Circ2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d(const gp_Circ2d & L); - /****************** BRepBuilderAPI_MakeEdge2d ******************/ - /**** md5 signature: 18039721aab72cd4872f8a52d0333539 ****/ + /****** BRepBuilderAPI_MakeEdge2d::BRepBuilderAPI_MakeEdge2d ******/ + /****** md5 signature: 18039721aab72cd4872f8a52d0333539 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Circ2d p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d(const gp_Circ2d & L, const Standard_Real p1, const Standard_Real p2); - /****************** BRepBuilderAPI_MakeEdge2d ******************/ - /**** md5 signature: 3f6e055266559e7e5feb71876b03cebb ****/ + /****** BRepBuilderAPI_MakeEdge2d::BRepBuilderAPI_MakeEdge2d ******/ + /****** md5 signature: 3f6e055266559e7e5feb71876b03cebb ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Circ2d P1: gp_Pnt2d P2: gp_Pnt2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d(const gp_Circ2d & L, const gp_Pnt2d & P1, const gp_Pnt2d & P2); - /****************** BRepBuilderAPI_MakeEdge2d ******************/ - /**** md5 signature: 90e59e52a38ceac1b93d35076ac4b470 ****/ + /****** BRepBuilderAPI_MakeEdge2d::BRepBuilderAPI_MakeEdge2d ******/ + /****** md5 signature: 90e59e52a38ceac1b93d35076ac4b470 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Circ2d V1: TopoDS_Vertex V2: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d(const gp_Circ2d & L, const TopoDS_Vertex & V1, const TopoDS_Vertex & V2); - /****************** BRepBuilderAPI_MakeEdge2d ******************/ - /**** md5 signature: dec7d4c0169150a2e86b3ee1b6fd23d0 ****/ + /****** BRepBuilderAPI_MakeEdge2d::BRepBuilderAPI_MakeEdge2d ******/ + /****** md5 signature: dec7d4c0169150a2e86b3ee1b6fd23d0 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Elips2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d(const gp_Elips2d & L); - /****************** BRepBuilderAPI_MakeEdge2d ******************/ - /**** md5 signature: ac65cdde53679ed90ba1f3521c9a3285 ****/ + /****** BRepBuilderAPI_MakeEdge2d::BRepBuilderAPI_MakeEdge2d ******/ + /****** md5 signature: ac65cdde53679ed90ba1f3521c9a3285 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Elips2d p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d(const gp_Elips2d & L, const Standard_Real p1, const Standard_Real p2); - /****************** BRepBuilderAPI_MakeEdge2d ******************/ - /**** md5 signature: 1c65a339c0b972e42e9c595f9c5b6f4d ****/ + /****** BRepBuilderAPI_MakeEdge2d::BRepBuilderAPI_MakeEdge2d ******/ + /****** md5 signature: 1c65a339c0b972e42e9c595f9c5b6f4d ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Elips2d P1: gp_Pnt2d P2: gp_Pnt2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d(const gp_Elips2d & L, const gp_Pnt2d & P1, const gp_Pnt2d & P2); - /****************** BRepBuilderAPI_MakeEdge2d ******************/ - /**** md5 signature: 0fae436d0a0a9fe9d4eeb533df3f44eb ****/ + /****** BRepBuilderAPI_MakeEdge2d::BRepBuilderAPI_MakeEdge2d ******/ + /****** md5 signature: 0fae436d0a0a9fe9d4eeb533df3f44eb ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Elips2d V1: TopoDS_Vertex V2: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d(const gp_Elips2d & L, const TopoDS_Vertex & V1, const TopoDS_Vertex & V2); - /****************** BRepBuilderAPI_MakeEdge2d ******************/ - /**** md5 signature: 2811ce4e0a900a196d2b1018f783f418 ****/ + /****** BRepBuilderAPI_MakeEdge2d::BRepBuilderAPI_MakeEdge2d ******/ + /****** md5 signature: 2811ce4e0a900a196d2b1018f783f418 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Hypr2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d(const gp_Hypr2d & L); - /****************** BRepBuilderAPI_MakeEdge2d ******************/ - /**** md5 signature: 646a459c3c2f033deab8f144a96e5357 ****/ + /****** BRepBuilderAPI_MakeEdge2d::BRepBuilderAPI_MakeEdge2d ******/ + /****** md5 signature: 646a459c3c2f033deab8f144a96e5357 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Hypr2d p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d(const gp_Hypr2d & L, const Standard_Real p1, const Standard_Real p2); - /****************** BRepBuilderAPI_MakeEdge2d ******************/ - /**** md5 signature: 6c97acd26146d4579544d00e0b8754b4 ****/ + /****** BRepBuilderAPI_MakeEdge2d::BRepBuilderAPI_MakeEdge2d ******/ + /****** md5 signature: 6c97acd26146d4579544d00e0b8754b4 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Hypr2d P1: gp_Pnt2d P2: gp_Pnt2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d(const gp_Hypr2d & L, const gp_Pnt2d & P1, const gp_Pnt2d & P2); - /****************** BRepBuilderAPI_MakeEdge2d ******************/ - /**** md5 signature: e685718a19517adce0bcf4152dbab516 ****/ + /****** BRepBuilderAPI_MakeEdge2d::BRepBuilderAPI_MakeEdge2d ******/ + /****** md5 signature: e685718a19517adce0bcf4152dbab516 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Hypr2d V1: TopoDS_Vertex V2: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d(const gp_Hypr2d & L, const TopoDS_Vertex & V1, const TopoDS_Vertex & V2); - /****************** BRepBuilderAPI_MakeEdge2d ******************/ - /**** md5 signature: 3be5ea6bf0eccd78bd66cc84a44a1315 ****/ + /****** BRepBuilderAPI_MakeEdge2d::BRepBuilderAPI_MakeEdge2d ******/ + /****** md5 signature: 3be5ea6bf0eccd78bd66cc84a44a1315 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Parab2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d(const gp_Parab2d & L); - /****************** BRepBuilderAPI_MakeEdge2d ******************/ - /**** md5 signature: ab84070f23b486412154603704adccd1 ****/ + /****** BRepBuilderAPI_MakeEdge2d::BRepBuilderAPI_MakeEdge2d ******/ + /****** md5 signature: ab84070f23b486412154603704adccd1 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Parab2d p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d(const gp_Parab2d & L, const Standard_Real p1, const Standard_Real p2); - /****************** BRepBuilderAPI_MakeEdge2d ******************/ - /**** md5 signature: e0927bb381df58d6b09770a3a3a2eb6b ****/ + /****** BRepBuilderAPI_MakeEdge2d::BRepBuilderAPI_MakeEdge2d ******/ + /****** md5 signature: e0927bb381df58d6b09770a3a3a2eb6b ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Parab2d P1: gp_Pnt2d P2: gp_Pnt2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d(const gp_Parab2d & L, const gp_Pnt2d & P1, const gp_Pnt2d & P2); - /****************** BRepBuilderAPI_MakeEdge2d ******************/ - /**** md5 signature: 92f0a714ee22f0a05ae1cc70b4cc3960 ****/ + /****** BRepBuilderAPI_MakeEdge2d::BRepBuilderAPI_MakeEdge2d ******/ + /****** md5 signature: 92f0a714ee22f0a05ae1cc70b4cc3960 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Parab2d V1: TopoDS_Vertex V2: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d(const gp_Parab2d & L, const TopoDS_Vertex & V1, const TopoDS_Vertex & V2); - /****************** BRepBuilderAPI_MakeEdge2d ******************/ - /**** md5 signature: 4f70f767c647552694ba5cb2a0398a22 ****/ + /****** BRepBuilderAPI_MakeEdge2d::BRepBuilderAPI_MakeEdge2d ******/ + /****** md5 signature: 4f70f767c647552694ba5cb2a0398a22 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: Geom2d_Curve -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d(const opencascade::handle & L); - /****************** BRepBuilderAPI_MakeEdge2d ******************/ - /**** md5 signature: 347d8e971dc03f71d278f01c11915918 ****/ + /****** BRepBuilderAPI_MakeEdge2d::BRepBuilderAPI_MakeEdge2d ******/ + /****** md5 signature: 347d8e971dc03f71d278f01c11915918 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: Geom2d_Curve p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d(const opencascade::handle & L, const Standard_Real p1, const Standard_Real p2); - /****************** BRepBuilderAPI_MakeEdge2d ******************/ - /**** md5 signature: 523fe18ae6edb34b5d4509345437720d ****/ + /****** BRepBuilderAPI_MakeEdge2d::BRepBuilderAPI_MakeEdge2d ******/ + /****** md5 signature: 523fe18ae6edb34b5d4509345437720d ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: Geom2d_Curve P1: gp_Pnt2d P2: gp_Pnt2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d(const opencascade::handle & L, const gp_Pnt2d & P1, const gp_Pnt2d & P2); - /****************** BRepBuilderAPI_MakeEdge2d ******************/ - /**** md5 signature: 02288724f7a44b2381d52b1c08ffb0db ****/ + /****** BRepBuilderAPI_MakeEdge2d::BRepBuilderAPI_MakeEdge2d ******/ + /****** md5 signature: 02288724f7a44b2381d52b1c08ffb0db ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: Geom2d_Curve V1: TopoDS_Vertex V2: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d(const opencascade::handle & L, const TopoDS_Vertex & V1, const TopoDS_Vertex & V2); - /****************** BRepBuilderAPI_MakeEdge2d ******************/ - /**** md5 signature: 26d33d19f47440e8800d85f2d5408a0e ****/ + /****** BRepBuilderAPI_MakeEdge2d::BRepBuilderAPI_MakeEdge2d ******/ + /****** md5 signature: 26d33d19f47440e8800d85f2d5408a0e ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: Geom2d_Curve @@ -2904,17 +3350,20 @@ P2: gp_Pnt2d p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: 56473d16c2838587271d3f4ea5327365 ****/ + /****** BRepBuilderAPI_MakeEdge2d::BRepBuilderAPI_MakeEdge2d ******/ + /****** md5 signature: 56473d16c2838587271d3f4ea5327365 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: Geom2d_Curve @@ -2923,105 +3372,124 @@ V2: TopoDS_Vertex p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: 768a18012e715670ae29301e23e2cf8b ****/ + /****** BRepBuilderAPI_MakeEdge2d::Edge ******/ + /****** md5 signature: 768a18012e715670ae29301e23e2cf8b ******/ %feature("compactdefaultargs") Edge; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopoDS_Edge + +Description +----------- +No available documentation. ") Edge; const TopoDS_Edge Edge(); - /****************** Error ******************/ - /**** md5 signature: eed0e2d16bc922bda6437a7e6e62f61b ****/ + /****** BRepBuilderAPI_MakeEdge2d::Error ******/ + /****** md5 signature: eed0e2d16bc922bda6437a7e6e62f61b ******/ %feature("compactdefaultargs") Error; - %feature("autodoc", "Returns the error description when notdone. - -Returns + %feature("autodoc", "Return ------- BRepBuilderAPI_EdgeError + +Description +----------- +Returns the error description when NotDone. ") Error; BRepBuilderAPI_EdgeError Error(); - /****************** Init ******************/ - /**** md5 signature: 9265e5f0d4ffc1952c67390e1e4fa21c ****/ + /****** BRepBuilderAPI_MakeEdge2d::Init ******/ + /****** md5 signature: 9265e5f0d4ffc1952c67390e1e4fa21c ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom2d_Curve -Returns +Return ------- None + +Description +----------- +No available documentation. ") Init; void Init(const opencascade::handle & C); - /****************** Init ******************/ - /**** md5 signature: 0961809b47e34c89a735be9bbe4cd201 ****/ + /****** BRepBuilderAPI_MakeEdge2d::Init ******/ + /****** md5 signature: 0961809b47e34c89a735be9bbe4cd201 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom2d_Curve p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") Init; void Init(const opencascade::handle & C, const Standard_Real p1, const Standard_Real p2); - /****************** Init ******************/ - /**** md5 signature: 3aebe7beccd2278aab8e691a1202290a ****/ + /****** BRepBuilderAPI_MakeEdge2d::Init ******/ + /****** md5 signature: 3aebe7beccd2278aab8e691a1202290a ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom2d_Curve P1: gp_Pnt2d P2: gp_Pnt2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") Init; void Init(const opencascade::handle & C, const gp_Pnt2d & P1, const gp_Pnt2d & P2); - /****************** Init ******************/ - /**** md5 signature: 9ea2122c0b47e1c54f550895e77a510a ****/ + /****** BRepBuilderAPI_MakeEdge2d::Init ******/ + /****** md5 signature: 9ea2122c0b47e1c54f550895e77a510a ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom2d_Curve V1: TopoDS_Vertex V2: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") Init; void Init(const opencascade::handle & C, const TopoDS_Vertex & V1, const TopoDS_Vertex & V2); - /****************** Init ******************/ - /**** md5 signature: 909c5b62ad2dddf89a9e7ed6c45abf2e ****/ + /****** BRepBuilderAPI_MakeEdge2d::Init ******/ + /****** md5 signature: 909c5b62ad2dddf89a9e7ed6c45abf2e ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom2d_Curve @@ -3030,17 +3498,20 @@ P2: gp_Pnt2d p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") Init; void Init(const opencascade::handle & C, const gp_Pnt2d & P1, const gp_Pnt2d & P2, const Standard_Real p1, const Standard_Real p2); - /****************** Init ******************/ - /**** md5 signature: c6a6dc0247fd8deba360e5bd07dc5e73 ****/ + /****** BRepBuilderAPI_MakeEdge2d::Init ******/ + /****** md5 signature: c6a6dc0247fd8deba360e5bd07dc5e73 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom2d_Curve @@ -3049,42 +3520,52 @@ V2: TopoDS_Vertex p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") Init; void Init(const opencascade::handle & C, const TopoDS_Vertex & V1, const TopoDS_Vertex & V2, const Standard_Real p1, const Standard_Real p2); - /****************** IsDone ******************/ - /**** md5 signature: e2af43c18fdd9d21f5f5de9eae7fc9de ****/ + /****** BRepBuilderAPI_MakeEdge2d::IsDone ******/ + /****** md5 signature: e2af43c18fdd9d21f5f5de9eae7fc9de ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsDone; virtual Standard_Boolean IsDone(); - /****************** Vertex1 ******************/ - /**** md5 signature: 3013872331c1fad0ef9330909eb27447 ****/ + /****** BRepBuilderAPI_MakeEdge2d::Vertex1 ******/ + /****** md5 signature: 3013872331c1fad0ef9330909eb27447 ******/ %feature("compactdefaultargs") Vertex1; - %feature("autodoc", "Returns the first vertex of the edge. may be null. - -Returns + %feature("autodoc", "Return ------- TopoDS_Vertex + +Description +----------- +Returns the first vertex of the edge. May be Null. ") Vertex1; const TopoDS_Vertex Vertex1(); - /****************** Vertex2 ******************/ - /**** md5 signature: ce52ea817fb1fca460491831377f3811 ****/ + /****** BRepBuilderAPI_MakeEdge2d::Vertex2 ******/ + /****** md5 signature: ce52ea817fb1fca460491831377f3811 ******/ %feature("compactdefaultargs") Vertex2; - %feature("autodoc", "Returns the second vertex of the edge. may be null. - -Returns + %feature("autodoc", "Return ------- TopoDS_Vertex + +Description +----------- +Returns the second vertex of the edge. May be Null. ") Vertex2; const TopoDS_Vertex Vertex2(); @@ -3102,128 +3583,150 @@ TopoDS_Vertex ********************************/ class BRepBuilderAPI_MakeFace : public BRepBuilderAPI_MakeShape { public: - /****************** BRepBuilderAPI_MakeFace ******************/ - /**** md5 signature: 541fc4c7355d3a6bfcb60a10e43cf520 ****/ + /****** BRepBuilderAPI_MakeFace::BRepBuilderAPI_MakeFace ******/ + /****** md5 signature: 541fc4c7355d3a6bfcb60a10e43cf520 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", "Not done. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Not done. ") BRepBuilderAPI_MakeFace; BRepBuilderAPI_MakeFace(); - /****************** BRepBuilderAPI_MakeFace ******************/ - /**** md5 signature: ac0ecdd4e8a721d62679f96f7f91809d ****/ + /****** BRepBuilderAPI_MakeFace::BRepBuilderAPI_MakeFace ******/ + /****** md5 signature: ac0ecdd4e8a721d62679f96f7f91809d ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", "Load a face. usefull to add wires. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face -Returns +Return ------- None + +Description +----------- +Load a face. useful to add wires. ") BRepBuilderAPI_MakeFace; BRepBuilderAPI_MakeFace(const TopoDS_Face & F); - /****************** BRepBuilderAPI_MakeFace ******************/ - /**** md5 signature: 09cbbdd333649801fb329dbe37136e63 ****/ + /****** BRepBuilderAPI_MakeFace::BRepBuilderAPI_MakeFace ******/ + /****** md5 signature: 09cbbdd333649801fb329dbe37136e63 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", "Make a face from a plane. - + %feature("autodoc", " Parameters ---------- P: gp_Pln -Returns +Return ------- None + +Description +----------- +Make a face from a plane. ") BRepBuilderAPI_MakeFace; BRepBuilderAPI_MakeFace(const gp_Pln & P); - /****************** BRepBuilderAPI_MakeFace ******************/ - /**** md5 signature: 32764c05c024544669d521c68d438194 ****/ + /****** BRepBuilderAPI_MakeFace::BRepBuilderAPI_MakeFace ******/ + /****** md5 signature: 32764c05c024544669d521c68d438194 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", "Make a face from a cylinder. - + %feature("autodoc", " Parameters ---------- C: gp_Cylinder -Returns +Return ------- None + +Description +----------- +Make a face from a cylinder. ") BRepBuilderAPI_MakeFace; BRepBuilderAPI_MakeFace(const gp_Cylinder & C); - /****************** BRepBuilderAPI_MakeFace ******************/ - /**** md5 signature: a8014928898748a8afd97b723642bfde ****/ + /****** BRepBuilderAPI_MakeFace::BRepBuilderAPI_MakeFace ******/ + /****** md5 signature: a8014928898748a8afd97b723642bfde ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", "Make a face from a cone. - + %feature("autodoc", " Parameters ---------- C: gp_Cone -Returns +Return ------- None + +Description +----------- +Make a face from a cone. ") BRepBuilderAPI_MakeFace; BRepBuilderAPI_MakeFace(const gp_Cone & C); - /****************** BRepBuilderAPI_MakeFace ******************/ - /**** md5 signature: 601ec600164793fe1616d7fb2ccbac9c ****/ + /****** BRepBuilderAPI_MakeFace::BRepBuilderAPI_MakeFace ******/ + /****** md5 signature: 601ec600164793fe1616d7fb2ccbac9c ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", "Make a face from a sphere. - + %feature("autodoc", " Parameters ---------- S: gp_Sphere -Returns +Return ------- None + +Description +----------- +Make a face from a sphere. ") BRepBuilderAPI_MakeFace; BRepBuilderAPI_MakeFace(const gp_Sphere & S); - /****************** BRepBuilderAPI_MakeFace ******************/ - /**** md5 signature: b49168111fb28a9fbfcf81267cbe8113 ****/ + /****** BRepBuilderAPI_MakeFace::BRepBuilderAPI_MakeFace ******/ + /****** md5 signature: b49168111fb28a9fbfcf81267cbe8113 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", "Make a face from a torus. - + %feature("autodoc", " Parameters ---------- C: gp_Torus -Returns +Return ------- None + +Description +----------- +Make a face from a torus. ") BRepBuilderAPI_MakeFace; BRepBuilderAPI_MakeFace(const gp_Torus & C); - /****************** BRepBuilderAPI_MakeFace ******************/ - /**** md5 signature: 19698edbc93d15eb12e95d38e52b3f6c ****/ + /****** BRepBuilderAPI_MakeFace::BRepBuilderAPI_MakeFace ******/ + /****** md5 signature: 19698edbc93d15eb12e95d38e52b3f6c ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", "Make a face from a surface. accepts tolerance value (toldegen) for resolution of degenerated edges. - + %feature("autodoc", " Parameters ---------- S: Geom_Surface TolDegen: float -Returns +Return ------- None + +Description +----------- +Make a face from a Surface. Accepts tolerance value (TolDegen) for resolution of degenerated edges. ") BRepBuilderAPI_MakeFace; BRepBuilderAPI_MakeFace(const opencascade::handle & S, const Standard_Real TolDegen); - /****************** BRepBuilderAPI_MakeFace ******************/ - /**** md5 signature: 7d4d076aa11a1d86947f3f83700ec90a ****/ + /****** BRepBuilderAPI_MakeFace::BRepBuilderAPI_MakeFace ******/ + /****** md5 signature: 7d4d076aa11a1d86947f3f83700ec90a ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", "Make a face from a plane. - + %feature("autodoc", " Parameters ---------- P: gp_Pln @@ -3232,17 +3735,20 @@ UMax: float VMin: float VMax: float -Returns +Return ------- None + +Description +----------- +Make a face from a plane. ") BRepBuilderAPI_MakeFace; BRepBuilderAPI_MakeFace(const gp_Pln & P, const Standard_Real UMin, const Standard_Real UMax, const Standard_Real VMin, const Standard_Real VMax); - /****************** BRepBuilderAPI_MakeFace ******************/ - /**** md5 signature: 86ebae58c5c914174876b10e55d9ff25 ****/ + /****** BRepBuilderAPI_MakeFace::BRepBuilderAPI_MakeFace ******/ + /****** md5 signature: 86ebae58c5c914174876b10e55d9ff25 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", "Make a face from a cylinder. - + %feature("autodoc", " Parameters ---------- C: gp_Cylinder @@ -3251,17 +3757,20 @@ UMax: float VMin: float VMax: float -Returns +Return ------- None + +Description +----------- +Make a face from a cylinder. ") BRepBuilderAPI_MakeFace; BRepBuilderAPI_MakeFace(const gp_Cylinder & C, const Standard_Real UMin, const Standard_Real UMax, const Standard_Real VMin, const Standard_Real VMax); - /****************** BRepBuilderAPI_MakeFace ******************/ - /**** md5 signature: 267ce5594216afaf1147e246c8b90396 ****/ + /****** BRepBuilderAPI_MakeFace::BRepBuilderAPI_MakeFace ******/ + /****** md5 signature: 267ce5594216afaf1147e246c8b90396 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", "Make a face from a cone. - + %feature("autodoc", " Parameters ---------- C: gp_Cone @@ -3270,17 +3779,20 @@ UMax: float VMin: float VMax: float -Returns +Return ------- None + +Description +----------- +Make a face from a cone. ") BRepBuilderAPI_MakeFace; BRepBuilderAPI_MakeFace(const gp_Cone & C, const Standard_Real UMin, const Standard_Real UMax, const Standard_Real VMin, const Standard_Real VMax); - /****************** BRepBuilderAPI_MakeFace ******************/ - /**** md5 signature: 730d0df0fe03cbb16abd38a38bf6a663 ****/ + /****** BRepBuilderAPI_MakeFace::BRepBuilderAPI_MakeFace ******/ + /****** md5 signature: 730d0df0fe03cbb16abd38a38bf6a663 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", "Make a face from a sphere. - + %feature("autodoc", " Parameters ---------- S: gp_Sphere @@ -3289,17 +3801,20 @@ UMax: float VMin: float VMax: float -Returns +Return ------- None + +Description +----------- +Make a face from a sphere. ") BRepBuilderAPI_MakeFace; BRepBuilderAPI_MakeFace(const gp_Sphere & S, const Standard_Real UMin, const Standard_Real UMax, const Standard_Real VMin, const Standard_Real VMax); - /****************** BRepBuilderAPI_MakeFace ******************/ - /**** md5 signature: 70893c6c780557b1c1313442260a61b5 ****/ + /****** BRepBuilderAPI_MakeFace::BRepBuilderAPI_MakeFace ******/ + /****** md5 signature: 70893c6c780557b1c1313442260a61b5 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", "Make a face from a torus. - + %feature("autodoc", " Parameters ---------- C: gp_Torus @@ -3308,17 +3823,20 @@ UMax: float VMin: float VMax: float -Returns +Return ------- None + +Description +----------- +Make a face from a torus. ") BRepBuilderAPI_MakeFace; BRepBuilderAPI_MakeFace(const gp_Torus & C, const Standard_Real UMin, const Standard_Real UMax, const Standard_Real VMin, const Standard_Real VMax); - /****************** BRepBuilderAPI_MakeFace ******************/ - /**** md5 signature: e23dfaea01284f0f537f62f6d18ac86e ****/ + /****** BRepBuilderAPI_MakeFace::BRepBuilderAPI_MakeFace ******/ + /****** md5 signature: e23dfaea01284f0f537f62f6d18ac86e ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", "Make a face from a surface. accepts tolerance value (toldegen) for resolution of degenerated edges. - + %feature("autodoc", " Parameters ---------- S: Geom_Surface @@ -3328,227 +3846,260 @@ VMin: float VMax: float TolDegen: float -Returns +Return ------- None + +Description +----------- +Make a face from a Surface. Accepts tolerance value (TolDegen) for resolution of degenerated edges. ") 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 ******************/ - /**** md5 signature: 445f7f291f4fd9242a0baacb4a8f70b7 ****/ + /****** BRepBuilderAPI_MakeFace::BRepBuilderAPI_MakeFace ******/ + /****** md5 signature: 445f7f291f4fd9242a0baacb4a8f70b7 ******/ %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. - + %feature("autodoc", " Parameters ---------- W: TopoDS_Wire -OnlyPlane: bool,optional - default value is Standard_False +OnlyPlane: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +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. ") BRepBuilderAPI_MakeFace; BRepBuilderAPI_MakeFace(const TopoDS_Wire & W, const Standard_Boolean OnlyPlane = Standard_False); - /****************** BRepBuilderAPI_MakeFace ******************/ - /**** md5 signature: c51c2e33e6a98cb7fbfd33a45d8d698e ****/ + /****** BRepBuilderAPI_MakeFace::BRepBuilderAPI_MakeFace ******/ + /****** md5 signature: c51c2e33e6a98cb7fbfd33a45d8d698e ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", "Make a face from a plane and a wire. - + %feature("autodoc", " Parameters ---------- P: gp_Pln W: TopoDS_Wire -Inside: bool,optional - default value is Standard_True +Inside: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +Make a face from a plane and a wire. ") BRepBuilderAPI_MakeFace; BRepBuilderAPI_MakeFace(const gp_Pln & P, const TopoDS_Wire & W, const Standard_Boolean Inside = Standard_True); - /****************** BRepBuilderAPI_MakeFace ******************/ - /**** md5 signature: 0472770e0d262b823eb560efae3e6e5c ****/ + /****** BRepBuilderAPI_MakeFace::BRepBuilderAPI_MakeFace ******/ + /****** md5 signature: 0472770e0d262b823eb560efae3e6e5c ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", "Make a face from a cylinder and a wire. - + %feature("autodoc", " Parameters ---------- C: gp_Cylinder W: TopoDS_Wire -Inside: bool,optional - default value is Standard_True +Inside: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +Make a face from a cylinder and a wire. ") BRepBuilderAPI_MakeFace; BRepBuilderAPI_MakeFace(const gp_Cylinder & C, const TopoDS_Wire & W, const Standard_Boolean Inside = Standard_True); - /****************** BRepBuilderAPI_MakeFace ******************/ - /**** md5 signature: 462af6579232e59b54ec8e3d75b73582 ****/ + /****** BRepBuilderAPI_MakeFace::BRepBuilderAPI_MakeFace ******/ + /****** md5 signature: 462af6579232e59b54ec8e3d75b73582 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", "Make a face from a cone and a wire. - + %feature("autodoc", " Parameters ---------- C: gp_Cone W: TopoDS_Wire -Inside: bool,optional - default value is Standard_True +Inside: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +Make a face from a cone and a wire. ") BRepBuilderAPI_MakeFace; BRepBuilderAPI_MakeFace(const gp_Cone & C, const TopoDS_Wire & W, const Standard_Boolean Inside = Standard_True); - /****************** BRepBuilderAPI_MakeFace ******************/ - /**** md5 signature: 99a77f7d6e2680966ddcd548f37f569b ****/ + /****** BRepBuilderAPI_MakeFace::BRepBuilderAPI_MakeFace ******/ + /****** md5 signature: 99a77f7d6e2680966ddcd548f37f569b ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", "Make a face from a sphere and a wire. - + %feature("autodoc", " Parameters ---------- S: gp_Sphere W: TopoDS_Wire -Inside: bool,optional - default value is Standard_True +Inside: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +Make a face from a sphere and a wire. ") BRepBuilderAPI_MakeFace; BRepBuilderAPI_MakeFace(const gp_Sphere & S, const TopoDS_Wire & W, const Standard_Boolean Inside = Standard_True); - /****************** BRepBuilderAPI_MakeFace ******************/ - /**** md5 signature: 63a33d76e4d34c48ee138e308eb1db38 ****/ + /****** BRepBuilderAPI_MakeFace::BRepBuilderAPI_MakeFace ******/ + /****** md5 signature: 63a33d76e4d34c48ee138e308eb1db38 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", "Make a face from a torus and a wire. - + %feature("autodoc", " Parameters ---------- C: gp_Torus W: TopoDS_Wire -Inside: bool,optional - default value is Standard_True +Inside: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +Make a face from a torus and a wire. ") BRepBuilderAPI_MakeFace; BRepBuilderAPI_MakeFace(const gp_Torus & C, const TopoDS_Wire & W, const Standard_Boolean Inside = Standard_True); - /****************** BRepBuilderAPI_MakeFace ******************/ - /**** md5 signature: a23085932fa89afc65030dc882efe010 ****/ + /****** BRepBuilderAPI_MakeFace::BRepBuilderAPI_MakeFace ******/ + /****** md5 signature: a23085932fa89afc65030dc882efe010 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", "Make a face from a surface and a wire. - + %feature("autodoc", " Parameters ---------- S: Geom_Surface W: TopoDS_Wire -Inside: bool,optional - default value is Standard_True +Inside: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +Make a face from a Surface and a wire. If the surface S is not plane, it must contain pcurves for all edges in W, otherwise the wrong shape will be created. ") BRepBuilderAPI_MakeFace; BRepBuilderAPI_MakeFace(const opencascade::handle & S, const TopoDS_Wire & W, const Standard_Boolean Inside = Standard_True); - /****************** BRepBuilderAPI_MakeFace ******************/ - /**** md5 signature: 7f01fc7c4e918e13e23cec82d2e59e87 ****/ + /****** BRepBuilderAPI_MakeFace::BRepBuilderAPI_MakeFace ******/ + /****** md5 signature: 7f01fc7c4e918e13e23cec82d2e59e87 ******/ %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. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face W: TopoDS_Wire -Returns +Return ------- None + +Description +----------- +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. ") BRepBuilderAPI_MakeFace; BRepBuilderAPI_MakeFace(const TopoDS_Face & F, const TopoDS_Wire & W); - /****************** Add ******************/ - /**** md5 signature: 3257e47f30128eb5440b1eab5065e724 ****/ + /****** BRepBuilderAPI_MakeFace::Add ******/ + /****** md5 signature: 3257e47f30128eb5440b1eab5065e724 ******/ %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;. - + %feature("autodoc", " Parameters ---------- W: TopoDS_Wire -Returns +Return ------- None + +Description +----------- +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;. ") Add; void Add(const TopoDS_Wire & W); - /****************** Error ******************/ - /**** md5 signature: eb6c34bb46d70357b5b10c7d3da472d1 ****/ + /****** BRepBuilderAPI_MakeFace::Error ******/ + /****** md5 signature: eb6c34bb46d70357b5b10c7d3da472d1 ******/ %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. - -Returns + %feature("autodoc", "Return ------- BRepBuilderAPI_FaceError + +Description +----------- +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. ") Error; BRepBuilderAPI_FaceError Error(); - /****************** Face ******************/ - /**** md5 signature: 91e216ebeb76e55c73eb9e179241a6ff ****/ + /****** BRepBuilderAPI_MakeFace::Face ******/ + /****** md5 signature: 91e216ebeb76e55c73eb9e179241a6ff ******/ %feature("compactdefaultargs") Face; - %feature("autodoc", "Returns the constructed face. exceptions stdfail_notdone if no face is built. - -Returns + %feature("autodoc", "Return ------- TopoDS_Face + +Description +----------- +Returns the constructed face. Exceptions StdFail_NotDone if no face is built. ") Face; const TopoDS_Face Face(); - /****************** Init ******************/ - /**** md5 signature: a8dfaa68079e743e08190fe58d950a9a ****/ + /****** BRepBuilderAPI_MakeFace::Init ******/ + /****** md5 signature: a8dfaa68079e743e08190fe58d950a9a ******/ %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. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face -Returns +Return ------- None + +Description +----------- +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. ") Init; void Init(const TopoDS_Face & F); - /****************** Init ******************/ - /**** md5 signature: 4537ccbc32157e9ea035d63999e8cd22 ****/ + /****** BRepBuilderAPI_MakeFace::Init ******/ + /****** md5 signature: 4537ccbc32157e9ea035d63999e8cd22 ******/ %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. - + %feature("autodoc", " Parameters ---------- S: Geom_Surface Bound: bool TolDegen: float -Returns +Return ------- None + +Description +----------- +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; void Init(const opencascade::handle & S, const Standard_Boolean Bound, const Standard_Real TolDegen); - /****************** Init ******************/ - /**** md5 signature: 1577db0535b260fa5404a98f8fa219d8 ****/ + /****** BRepBuilderAPI_MakeFace::Init ******/ + /****** md5 signature: 1577db0535b260fa5404a98f8fa219d8 ******/ %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. - + %feature("autodoc", " Parameters ---------- S: Geom_Surface @@ -3558,20 +4109,26 @@ VMin: float VMax: float TolDegen: float -Returns +Return ------- None + +Description +----------- +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. ") 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); - /****************** IsDone ******************/ - /**** md5 signature: e2af43c18fdd9d21f5f5de9eae7fc9de ****/ + /****** BRepBuilderAPI_MakeFace::IsDone ******/ + /****** md5 signature: e2af43c18fdd9d21f5f5de9eae7fc9de ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Returns true if this algorithm has a valid face. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns true if this algorithm has a valid face. ") IsDone; virtual Standard_Boolean IsDone(); @@ -3589,231 +4146,267 @@ bool ***********************************/ class BRepBuilderAPI_MakePolygon : public BRepBuilderAPI_MakeShape { public: - /****************** BRepBuilderAPI_MakePolygon ******************/ - /**** md5 signature: 76b9dec7e7af466015f22b4541dcf01f ****/ + /****** BRepBuilderAPI_MakePolygon::BRepBuilderAPI_MakePolygon ******/ + /****** md5 signature: 76b9dec7e7af466015f22b4541dcf01f ******/ %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. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +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. ") BRepBuilderAPI_MakePolygon; BRepBuilderAPI_MakePolygon(); - /****************** BRepBuilderAPI_MakePolygon ******************/ - /**** md5 signature: 098299ba5eb88578080ae78ecfe81e1f ****/ + /****** BRepBuilderAPI_MakePolygon::BRepBuilderAPI_MakePolygon ******/ + /****** md5 signature: 098299ba5eb88578080ae78ecfe81e1f ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakePolygon; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P1: gp_Pnt P2: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakePolygon; BRepBuilderAPI_MakePolygon(const gp_Pnt & P1, const gp_Pnt & P2); - /****************** BRepBuilderAPI_MakePolygon ******************/ - /**** md5 signature: c6858b7d36146f5d63c0fd944672bfba ****/ + /****** BRepBuilderAPI_MakePolygon::BRepBuilderAPI_MakePolygon ******/ + /****** md5 signature: c6858b7d36146f5d63c0fd944672bfba ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakePolygon; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P1: gp_Pnt P2: gp_Pnt P3: gp_Pnt -Close: bool,optional - default value is Standard_False +Close: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakePolygon; BRepBuilderAPI_MakePolygon(const gp_Pnt & P1, const gp_Pnt & P2, const gp_Pnt & P3, const Standard_Boolean Close = Standard_False); - /****************** BRepBuilderAPI_MakePolygon ******************/ - /**** md5 signature: ff8e512f1837d0f4a96f00091a06e596 ****/ + /****** BRepBuilderAPI_MakePolygon::BRepBuilderAPI_MakePolygon ******/ + /****** md5 signature: ff8e512f1837d0f4a96f00091a06e596 ******/ %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. - + %feature("autodoc", " Parameters ---------- P1: gp_Pnt P2: gp_Pnt P3: gp_Pnt P4: gp_Pnt -Close: bool,optional - default value is Standard_False +Close: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +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; 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 ******************/ - /**** md5 signature: db14a595777414d9224a0d464b0087f4 ****/ + /****** BRepBuilderAPI_MakePolygon::BRepBuilderAPI_MakePolygon ******/ + /****** md5 signature: db14a595777414d9224a0d464b0087f4 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakePolygon; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- V1: TopoDS_Vertex V2: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakePolygon; BRepBuilderAPI_MakePolygon(const TopoDS_Vertex & V1, const TopoDS_Vertex & V2); - /****************** BRepBuilderAPI_MakePolygon ******************/ - /**** md5 signature: 14bb91facda291b2240bb410e1aa87ac ****/ + /****** BRepBuilderAPI_MakePolygon::BRepBuilderAPI_MakePolygon ******/ + /****** md5 signature: 14bb91facda291b2240bb410e1aa87ac ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakePolygon; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- V1: TopoDS_Vertex V2: TopoDS_Vertex V3: TopoDS_Vertex -Close: bool,optional - default value is Standard_False +Close: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepBuilderAPI_MakePolygon; BRepBuilderAPI_MakePolygon(const TopoDS_Vertex & V1, const TopoDS_Vertex & V2, const TopoDS_Vertex & V3, const Standard_Boolean Close = Standard_False); - /****************** BRepBuilderAPI_MakePolygon ******************/ - /**** md5 signature: 09e12386b8a6639bf1930f50b100b12f ****/ + /****** BRepBuilderAPI_MakePolygon::BRepBuilderAPI_MakePolygon ******/ + /****** md5 signature: 09e12386b8a6639bf1930f50b100b12f ******/ %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. - + %feature("autodoc", " Parameters ---------- V1: TopoDS_Vertex V2: TopoDS_Vertex V3: TopoDS_Vertex V4: TopoDS_Vertex -Close: bool,optional - default value is Standard_False +Close: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +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; BRepBuilderAPI_MakePolygon(const TopoDS_Vertex & V1, const TopoDS_Vertex & V2, const TopoDS_Vertex & V3, const TopoDS_Vertex & V4, const Standard_Boolean Close = Standard_False); - /****************** Add ******************/ - /**** md5 signature: b714bfb888eecda75b87221b873365bd ****/ + /****** BRepBuilderAPI_MakePolygon::Add ******/ + /****** md5 signature: b714bfb888eecda75b87221b873365bd ******/ %feature("compactdefaultargs") Add; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") Add; void Add(const gp_Pnt & P); - /****************** Add ******************/ - /**** md5 signature: 50c25a05b9135c3510f0a532439b09c2 ****/ + /****** BRepBuilderAPI_MakePolygon::Add ******/ + /****** md5 signature: 50c25a05b9135c3510f0a532439b09c2 ******/ %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. - + %feature("autodoc", " Parameters ---------- V: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +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. ") Add; void Add(const TopoDS_Vertex & V); - /****************** Added ******************/ - /**** md5 signature: ae76eff202ef54dd186494f9fb9a5cb0 ****/ + /****** BRepBuilderAPI_MakePolygon::Added ******/ + /****** md5 signature: ae76eff202ef54dd186494f9fb9a5cb0 ******/ %feature("compactdefaultargs") Added; - %feature("autodoc", "Returns true if the last vertex added to the constructed polygonal wire is not coincident with the previous one. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns true if the last vertex added to the constructed polygonal wire is not coincident with the previous one. ") Added; Standard_Boolean Added(); - /****************** Close ******************/ - /**** md5 signature: d50d7ba65c2beb3eb436584b5735f108 ****/ + /****** BRepBuilderAPI_MakePolygon::Close ******/ + /****** md5 signature: d50d7ba65c2beb3eb436584b5735f108 ******/ %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. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Closes the polygonal wire under construction. Note - this is equivalent to adding the first vertex to the polygonal wire under construction. ") Close; void Close(); - /****************** Edge ******************/ - /**** md5 signature: be590cff987799d8b7c28083399d0e9f ****/ + /****** BRepBuilderAPI_MakePolygon::Edge ******/ + /****** md5 signature: be590cff987799d8b7c28083399d0e9f ******/ %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. - -Returns + %feature("autodoc", "Return ------- TopoDS_Edge + +Description +----------- +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. ") Edge; const TopoDS_Edge Edge(); - /****************** FirstVertex ******************/ - /**** md5 signature: 4e5c0d56a66d88d33c820ea69fb94d01 ****/ + /****** BRepBuilderAPI_MakePolygon::FirstVertex ******/ + /****** md5 signature: 4e5c0d56a66d88d33c820ea69fb94d01 ******/ %feature("compactdefaultargs") FirstVertex; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopoDS_Vertex + +Description +----------- +No available documentation. ") FirstVertex; const TopoDS_Vertex FirstVertex(); - /****************** IsDone ******************/ - /**** md5 signature: e2af43c18fdd9d21f5f5de9eae7fc9de ****/ + /****** BRepBuilderAPI_MakePolygon::IsDone ******/ + /****** md5 signature: e2af43c18fdd9d21f5f5de9eae7fc9de ******/ %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. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +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. ") IsDone; virtual Standard_Boolean IsDone(); - /****************** LastVertex ******************/ - /**** md5 signature: 00579001fbfcdaa6b9840a736dc9243f ****/ + /****** BRepBuilderAPI_MakePolygon::LastVertex ******/ + /****** md5 signature: 00579001fbfcdaa6b9840a736dc9243f ******/ %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. - -Returns + %feature("autodoc", "Return ------- TopoDS_Vertex + +Description +----------- +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. ") LastVertex; const TopoDS_Vertex LastVertex(); - /****************** Wire ******************/ - /**** md5 signature: 1a80266ab027407949727610f03160e2 ****/ + /****** BRepBuilderAPI_MakePolygon::Wire ******/ + /****** md5 signature: 1a80266ab027407949727610f03160e2 ******/ %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. - -Returns + %feature("autodoc", "Return ------- TopoDS_Wire + +Description +----------- +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. ") Wire; const TopoDS_Wire Wire(); @@ -3826,44 +4419,98 @@ TopoDS_Wire } }; +/*************************************** +* class BRepBuilderAPI_MakeShapeOnMesh * +***************************************/ +class BRepBuilderAPI_MakeShapeOnMesh : public BRepBuilderAPI_MakeShape { + public: + /****** BRepBuilderAPI_MakeShapeOnMesh::BRepBuilderAPI_MakeShapeOnMesh ******/ + /****** md5 signature: d9775140ece54795f4552a05eb93688b ******/ + %feature("compactdefaultargs") BRepBuilderAPI_MakeShapeOnMesh; + %feature("autodoc", " +Parameters +---------- +theMesh: Poly_Triangulation + +Return +------- +None + +Description +----------- +Ctor. Sets mesh to process. +Input parameter: theMesh - Mesh to construct shape for. +") BRepBuilderAPI_MakeShapeOnMesh; + BRepBuilderAPI_MakeShapeOnMesh(const opencascade::handle & theMesh); + + /****** BRepBuilderAPI_MakeShapeOnMesh::Build ******/ + /****** md5 signature: 58900897d55d51e349b2e40a091ec26f ******/ + %feature("compactdefaultargs") Build; + %feature("autodoc", " +Parameters +---------- +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) + +Return +------- +None + +Description +----------- +Builds shape on mesh. +") Build; + virtual void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); + +}; + + +%extend BRepBuilderAPI_MakeShapeOnMesh { + %pythoncode { + __repr__ = _dumps_object + } +}; + /********************************* * class BRepBuilderAPI_MakeShell * *********************************/ class BRepBuilderAPI_MakeShell : public BRepBuilderAPI_MakeShape { public: - /****************** BRepBuilderAPI_MakeShell ******************/ - /**** md5 signature: f66e5150c2a308218c8635771a238ba1 ****/ + /****** BRepBuilderAPI_MakeShell::BRepBuilderAPI_MakeShell ******/ + /****** md5 signature: f66e5150c2a308218c8635771a238ba1 ******/ %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. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +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. ") BRepBuilderAPI_MakeShell; BRepBuilderAPI_MakeShell(); - /****************** BRepBuilderAPI_MakeShell ******************/ - /**** md5 signature: 87884626f1f7fdf07d62fe74f501184a ****/ + /****** BRepBuilderAPI_MakeShell::BRepBuilderAPI_MakeShell ******/ + /****** md5 signature: 87884626f1f7fdf07d62fe74f501184a ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeShell; - %feature("autodoc", "Constructs a shell from the surface s. - + %feature("autodoc", " Parameters ---------- S: Geom_Surface -Segment: bool,optional - default value is Standard_False +Segment: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +Constructs a shell from the surface S. ") BRepBuilderAPI_MakeShell; BRepBuilderAPI_MakeShell(const opencascade::handle & S, const Standard_Boolean Segment = Standard_False); - /****************** BRepBuilderAPI_MakeShell ******************/ - /**** md5 signature: 62bc5e6495312d5200397401e6149645 ****/ + /****** BRepBuilderAPI_MakeShell::BRepBuilderAPI_MakeShell ******/ + /****** md5 signature: 62bc5e6495312d5200397401e6149645 ******/ %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. - + %feature("autodoc", " Parameters ---------- S: Geom_Surface @@ -3871,31 +4518,35 @@ UMin: float UMax: float VMin: float VMax: float -Segment: bool,optional - default value is Standard_False +Segment: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 0aa62273be80712ad65930b43e4dfd23 ****/ + /****** BRepBuilderAPI_MakeShell::Error ******/ + /****** md5 signature: 0aa62273be80712ad65930b43e4dfd23 ******/ %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. - -Returns + %feature("autodoc", "Return ------- BRepBuilderAPI_ShellError + +Description +----------- +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. ") Error; BRepBuilderAPI_ShellError Error(); - /****************** Init ******************/ - /**** md5 signature: ee785ff5defa7d18e86d0ad913d864fa ****/ + /****** BRepBuilderAPI_MakeShell::Init ******/ + /****** md5 signature: ee785ff5defa7d18e86d0ad913d864fa ******/ %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. - + %feature("autodoc", " Parameters ---------- S: Geom_Surface @@ -3903,34 +4554,41 @@ UMin: float UMax: float VMin: float VMax: float -Segment: bool,optional - default value is Standard_False +Segment: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +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. ") 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); - /****************** IsDone ******************/ - /**** md5 signature: e2af43c18fdd9d21f5f5de9eae7fc9de ****/ + /****** BRepBuilderAPI_MakeShell::IsDone ******/ + /****** md5 signature: e2af43c18fdd9d21f5f5de9eae7fc9de ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Returns true if the shell is built. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns true if the shell is built. ") IsDone; virtual Standard_Boolean IsDone(); - /****************** Shell ******************/ - /**** md5 signature: c581862d26a0a34b15cf9dd6d442e65d ****/ + /****** BRepBuilderAPI_MakeShell::Shell ******/ + /****** md5 signature: c581862d26a0a34b15cf9dd6d442e65d ******/ %feature("compactdefaultargs") Shell; - %feature("autodoc", "Returns the new shell. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shell + +Description +----------- +Returns the new Shell. ") Shell; const TopoDS_Shell Shell(); @@ -3948,160 +4606,190 @@ TopoDS_Shell *********************************/ class BRepBuilderAPI_MakeSolid : public BRepBuilderAPI_MakeShape { public: - /****************** BRepBuilderAPI_MakeSolid ******************/ - /**** md5 signature: a5b7a0bcf7177389d2c0fbff22c20022 ****/ + /****** BRepBuilderAPI_MakeSolid::BRepBuilderAPI_MakeSolid ******/ + /****** md5 signature: a5b7a0bcf7177389d2c0fbff22c20022 ******/ %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. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +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. ") BRepBuilderAPI_MakeSolid; BRepBuilderAPI_MakeSolid(); - /****************** BRepBuilderAPI_MakeSolid ******************/ - /**** md5 signature: d3b423f1106df0dc0090ff23b3ee24ef ****/ + /****** BRepBuilderAPI_MakeSolid::BRepBuilderAPI_MakeSolid ******/ + /****** md5 signature: d3b423f1106df0dc0090ff23b3ee24ef ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeSolid; - %feature("autodoc", "Make a solid from a compsolid. - + %feature("autodoc", " Parameters ---------- S: TopoDS_CompSolid -Returns +Return ------- None + +Description +----------- +Make a solid from a CompSolid. ") BRepBuilderAPI_MakeSolid; BRepBuilderAPI_MakeSolid(const TopoDS_CompSolid & S); - /****************** BRepBuilderAPI_MakeSolid ******************/ - /**** md5 signature: b45624aedbdaace00f5a4fd4cf1bc27e ****/ + /****** BRepBuilderAPI_MakeSolid::BRepBuilderAPI_MakeSolid ******/ + /****** md5 signature: b45624aedbdaace00f5a4fd4cf1bc27e ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeSolid; - %feature("autodoc", "Make a solid from a shell. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shell -Returns +Return ------- None + +Description +----------- +Make a solid from a shell. ") BRepBuilderAPI_MakeSolid; BRepBuilderAPI_MakeSolid(const TopoDS_Shell & S); - /****************** BRepBuilderAPI_MakeSolid ******************/ - /**** md5 signature: 0f9a5bc9bb6cb89c67cea5b1bc4d5b2a ****/ + /****** BRepBuilderAPI_MakeSolid::BRepBuilderAPI_MakeSolid ******/ + /****** md5 signature: 0f9a5bc9bb6cb89c67cea5b1bc4d5b2a ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeSolid; - %feature("autodoc", "Make a solid from two shells. - + %feature("autodoc", " Parameters ---------- S1: TopoDS_Shell S2: TopoDS_Shell -Returns +Return ------- None + +Description +----------- +Make a solid from two shells. ") BRepBuilderAPI_MakeSolid; BRepBuilderAPI_MakeSolid(const TopoDS_Shell & S1, const TopoDS_Shell & S2); - /****************** BRepBuilderAPI_MakeSolid ******************/ - /**** md5 signature: d3948f38236bf5b8c03aeea98dbc39e8 ****/ + /****** BRepBuilderAPI_MakeSolid::BRepBuilderAPI_MakeSolid ******/ + /****** md5 signature: d3948f38236bf5b8c03aeea98dbc39e8 ******/ %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. - + %feature("autodoc", " Parameters ---------- S1: TopoDS_Shell S2: TopoDS_Shell S3: TopoDS_Shell -Returns +Return ------- None + +Description +----------- +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; BRepBuilderAPI_MakeSolid(const TopoDS_Shell & S1, const TopoDS_Shell & S2, const TopoDS_Shell & S3); - /****************** BRepBuilderAPI_MakeSolid ******************/ - /**** md5 signature: d269b933200bdc54c7639ac73cae0e58 ****/ + /****** BRepBuilderAPI_MakeSolid::BRepBuilderAPI_MakeSolid ******/ + /****** md5 signature: d269b933200bdc54c7639ac73cae0e58 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeSolid; - %feature("autodoc", "Make a solid from a solid. usefull for adding later. - + %feature("autodoc", " Parameters ---------- So: TopoDS_Solid -Returns +Return ------- None + +Description +----------- +Make a solid from a solid. useful for adding later. ") BRepBuilderAPI_MakeSolid; BRepBuilderAPI_MakeSolid(const TopoDS_Solid & So); - /****************** BRepBuilderAPI_MakeSolid ******************/ - /**** md5 signature: d8eb662f7f3e18001233ce551b0f73d9 ****/ + /****** BRepBuilderAPI_MakeSolid::BRepBuilderAPI_MakeSolid ******/ + /****** md5 signature: d8eb662f7f3e18001233ce551b0f73d9 ******/ %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. - + %feature("autodoc", " Parameters ---------- So: TopoDS_Solid S: TopoDS_Shell -Returns +Return ------- None + +Description +----------- +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; BRepBuilderAPI_MakeSolid(const TopoDS_Solid & So, const TopoDS_Shell & S); - /****************** Add ******************/ - /**** md5 signature: 755d393a8f453c7309ea9f34b76a9857 ****/ + /****** BRepBuilderAPI_MakeSolid::Add ******/ + /****** md5 signature: 755d393a8f453c7309ea9f34b76a9857 ******/ %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. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shell -Returns +Return ------- None + +Description +----------- +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. ") Add; void Add(const TopoDS_Shell & S); - /****************** IsDeleted ******************/ - /**** md5 signature: 28be7c17a3b2776f59567554f488bbf5 ****/ + /****** BRepBuilderAPI_MakeSolid::IsDeleted ******/ + /****** md5 signature: 28be7c17a3b2776f59567554f488bbf5 ******/ %feature("compactdefaultargs") IsDeleted; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- bool + +Description +----------- +No available documentation. ") IsDeleted; virtual Standard_Boolean IsDeleted(const TopoDS_Shape & S); - /****************** IsDone ******************/ - /**** md5 signature: e2af43c18fdd9d21f5f5de9eae7fc9de ****/ + /****** BRepBuilderAPI_MakeSolid::IsDone ******/ + /****** md5 signature: e2af43c18fdd9d21f5f5de9eae7fc9de ******/ %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. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +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. ") IsDone; virtual Standard_Boolean IsDone(); - /****************** Solid ******************/ - /**** md5 signature: 2538cb0f3104aa1b86470e63b7cc116d ****/ + /****** BRepBuilderAPI_MakeSolid::Solid ******/ + /****** md5 signature: 2538cb0f3104aa1b86470e63b7cc116d ******/ %feature("compactdefaultargs") Solid; - %feature("autodoc", "Returns the new solid. - -Returns + %feature("autodoc", "Return ------- TopoDS_Solid + +Description +----------- +Returns the new Solid. ") Solid; const TopoDS_Solid Solid(); @@ -4119,29 +4807,34 @@ TopoDS_Solid **********************************/ class BRepBuilderAPI_MakeVertex : public BRepBuilderAPI_MakeShape { public: - /****************** BRepBuilderAPI_MakeVertex ******************/ - /**** md5 signature: 76b4a67f4a0d412d52fe80f15569e02f ****/ + /****** BRepBuilderAPI_MakeVertex::BRepBuilderAPI_MakeVertex ******/ + /****** md5 signature: 76b4a67f4a0d412d52fe80f15569e02f ******/ %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", " Parameters ---------- P: gp_Pnt -Returns +Return ------- None + +Description +----------- +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);. ") BRepBuilderAPI_MakeVertex; BRepBuilderAPI_MakeVertex(const gp_Pnt & P); - /****************** Vertex ******************/ - /**** md5 signature: c8025d701d2a4994ffc4b119d7279582 ****/ + /****** BRepBuilderAPI_MakeVertex::Vertex ******/ + /****** md5 signature: c8025d701d2a4994ffc4b119d7279582 ******/ %feature("compactdefaultargs") Vertex; - %feature("autodoc", "Returns the constructed vertex. - -Returns + %feature("autodoc", "Return ------- TopoDS_Vertex + +Description +----------- +Returns the constructed vertex. ") Vertex; const TopoDS_Vertex Vertex(); @@ -4159,70 +4852,80 @@ TopoDS_Vertex ********************************/ class BRepBuilderAPI_MakeWire : public BRepBuilderAPI_MakeShape { public: - /****************** BRepBuilderAPI_MakeWire ******************/ - /**** md5 signature: a01271fd9c59f1930aae350997331097 ****/ + /****** BRepBuilderAPI_MakeWire::BRepBuilderAPI_MakeWire ******/ + /****** md5 signature: a01271fd9c59f1930aae350997331097 ******/ %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. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +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. ") BRepBuilderAPI_MakeWire; BRepBuilderAPI_MakeWire(); - /****************** BRepBuilderAPI_MakeWire ******************/ - /**** md5 signature: 35268938f48dfb41e577c864ce8837b0 ****/ + /****** BRepBuilderAPI_MakeWire::BRepBuilderAPI_MakeWire ******/ + /****** md5 signature: 35268938f48dfb41e577c864ce8837b0 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeWire; - %feature("autodoc", "Make a wire from an edge. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +Make a Wire from an edge. ") BRepBuilderAPI_MakeWire; BRepBuilderAPI_MakeWire(const TopoDS_Edge & E); - /****************** BRepBuilderAPI_MakeWire ******************/ - /**** md5 signature: 6fbd8669e7f97e678d8f6fe0553aab2c ****/ + /****** BRepBuilderAPI_MakeWire::BRepBuilderAPI_MakeWire ******/ + /****** md5 signature: 6fbd8669e7f97e678d8f6fe0553aab2c ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeWire; - %feature("autodoc", "Make a wire from two edges. - + %feature("autodoc", " Parameters ---------- E1: TopoDS_Edge E2: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +Make a Wire from two edges. ") BRepBuilderAPI_MakeWire; BRepBuilderAPI_MakeWire(const TopoDS_Edge & E1, const TopoDS_Edge & E2); - /****************** BRepBuilderAPI_MakeWire ******************/ - /**** md5 signature: 6b399cddd86d79169964ba26015dd934 ****/ + /****** BRepBuilderAPI_MakeWire::BRepBuilderAPI_MakeWire ******/ + /****** md5 signature: 6b399cddd86d79169964ba26015dd934 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeWire; - %feature("autodoc", "Make a wire from three edges. - + %feature("autodoc", " Parameters ---------- E1: TopoDS_Edge E2: TopoDS_Edge E3: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +Make a Wire from three edges. ") BRepBuilderAPI_MakeWire; BRepBuilderAPI_MakeWire(const TopoDS_Edge & E1, const TopoDS_Edge & E2, const TopoDS_Edge & E3); - /****************** BRepBuilderAPI_MakeWire ******************/ - /**** md5 signature: c0179625e4bc4e90d4f0be5171bf6b0e ****/ + /****** BRepBuilderAPI_MakeWire::BRepBuilderAPI_MakeWire ******/ + /****** md5 signature: c0179625e4bc4e90d4f0be5171bf6b0e ******/ %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. - + %feature("autodoc", " Parameters ---------- E1: TopoDS_Edge @@ -4230,140 +4933,169 @@ E2: TopoDS_Edge E3: TopoDS_Edge E4: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +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; BRepBuilderAPI_MakeWire(const TopoDS_Edge & E1, const TopoDS_Edge & E2, const TopoDS_Edge & E3, const TopoDS_Edge & E4); - /****************** BRepBuilderAPI_MakeWire ******************/ - /**** md5 signature: 307db2e099310281146759f5119b202b ****/ + /****** BRepBuilderAPI_MakeWire::BRepBuilderAPI_MakeWire ******/ + /****** md5 signature: 307db2e099310281146759f5119b202b ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeWire; - %feature("autodoc", "Make a wire from a wire. usefull for adding later. - + %feature("autodoc", " Parameters ---------- W: TopoDS_Wire -Returns +Return ------- None + +Description +----------- +Make a Wire from a Wire. useful for adding later. ") BRepBuilderAPI_MakeWire; BRepBuilderAPI_MakeWire(const TopoDS_Wire & W); - /****************** BRepBuilderAPI_MakeWire ******************/ - /**** md5 signature: 01bfeedca98a0748591c3cfaec81cb52 ****/ + /****** BRepBuilderAPI_MakeWire::BRepBuilderAPI_MakeWire ******/ + /****** md5 signature: 01bfeedca98a0748591c3cfaec81cb52 ******/ %feature("compactdefaultargs") BRepBuilderAPI_MakeWire; - %feature("autodoc", "Add an edge to a wire. - + %feature("autodoc", " Parameters ---------- W: TopoDS_Wire E: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +Add an edge to a wire. ") BRepBuilderAPI_MakeWire; BRepBuilderAPI_MakeWire(const TopoDS_Wire & W, const TopoDS_Edge & E); - /****************** Add ******************/ - /**** md5 signature: 2689ece383041802da1cd80a0167e44a ****/ + /****** BRepBuilderAPI_MakeWire::Add ******/ + /****** md5 signature: 2689ece383041802da1cd80a0167e44a ******/ %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. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +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. ") Add; void Add(const TopoDS_Edge & E); - /****************** Add ******************/ - /**** md5 signature: 3257e47f30128eb5440b1eab5065e724 ****/ + /****** BRepBuilderAPI_MakeWire::Add ******/ + /****** md5 signature: 3257e47f30128eb5440b1eab5065e724 ******/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Add the edges of to the current wire. - + %feature("autodoc", " Parameters ---------- W: TopoDS_Wire -Returns +Return ------- None + +Description +----------- +Add the edges of to the current wire. ") Add; void Add(const TopoDS_Wire & W); - /****************** Add ******************/ - /**** md5 signature: acaf1f40b8e0173007b2aad5fa46572c ****/ + /****** BRepBuilderAPI_MakeWire::Add ******/ + /****** md5 signature: acaf1f40b8e0173007b2aad5fa46572c ******/ %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 ). - + %feature("autodoc", " Parameters ---------- L: TopTools_ListOfShape -Returns +Return ------- None + +Description +----------- +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 ). ") Add; void Add(const TopTools_ListOfShape & L); - /****************** Edge ******************/ - /**** md5 signature: be590cff987799d8b7c28083399d0e9f ****/ + /****** BRepBuilderAPI_MakeWire::Edge ******/ + /****** md5 signature: be590cff987799d8b7c28083399d0e9f ******/ %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.. - -Returns + %feature("autodoc", "Return ------- TopoDS_Edge + +Description +----------- +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.. ") Edge; const TopoDS_Edge Edge(); - /****************** Error ******************/ - /**** md5 signature: c54fcbd964e19f731ce241d941c68253 ****/ + /****** BRepBuilderAPI_MakeWire::Error ******/ + /****** md5 signature: c54fcbd964e19f731ce241d941c68253 ******/ %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. - -Returns + %feature("autodoc", "Return ------- BRepBuilderAPI_WireError + +Description +----------- +Returns the construction status - BRepBuilderAPI_WireDone if the wire is built, or - another value of the BRepBuilderAPI_WireError enumeration indicating why the construction failed. ") Error; BRepBuilderAPI_WireError Error(); - /****************** IsDone ******************/ - /**** md5 signature: e2af43c18fdd9d21f5f5de9eae7fc9de ****/ + /****** BRepBuilderAPI_MakeWire::IsDone ******/ + /****** md5 signature: e2af43c18fdd9d21f5f5de9eae7fc9de ******/ %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. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +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. ") IsDone; virtual Standard_Boolean IsDone(); - /****************** Vertex ******************/ - /**** md5 signature: 84212ff79cd7d64cd0ebfa6f17214e90 ****/ + /****** BRepBuilderAPI_MakeWire::Vertex ******/ + /****** md5 signature: 84212ff79cd7d64cd0ebfa6f17214e90 ******/ %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. - -Returns + %feature("autodoc", "Return ------- TopoDS_Vertex + +Description +----------- +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. ") Vertex; const TopoDS_Vertex Vertex(); - /****************** Wire ******************/ - /**** md5 signature: 1a80266ab027407949727610f03160e2 ****/ + /****** BRepBuilderAPI_MakeWire::Wire ******/ + /****** md5 signature: 1a80266ab027407949727610f03160e2 ******/ %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. - -Returns + %feature("autodoc", "Return ------- TopoDS_Wire + +Description +----------- +Returns the constructed wire; or the part of the wire under construction already built. Exceptions StdFail_NotDone if a wire is not built. ") Wire; const TopoDS_Wire Wire(); @@ -4382,33 +5114,39 @@ TopoDS_Wire %nodefaultctor BRepBuilderAPI_ModifyShape; class BRepBuilderAPI_ModifyShape : public BRepBuilderAPI_MakeShape { public: - /****************** Modified ******************/ - /**** md5 signature: 73ccfe97b4ed94547a190332224ffe23 ****/ + /****** BRepBuilderAPI_ModifyShape::Modified ******/ + /****** md5 signature: 73ccfe97b4ed94547a190332224ffe23 ******/ %feature("compactdefaultargs") Modified; - %feature("autodoc", "Returns the list of shapes modified from the shape . - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Returns the list of shapes modified from the shape . ") Modified; virtual const TopTools_ListOfShape & Modified(const TopoDS_Shape & S); - /****************** ModifiedShape ******************/ - /**** md5 signature: 2b7ee5e0dcc7da5f7f19b64339c05803 ****/ + /****** BRepBuilderAPI_ModifyShape::ModifiedShape ******/ + /****** md5 signature: 2b7ee5e0dcc7da5f7f19b64339c05803 ******/ %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. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- TopoDS_Shape + +Description +----------- +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; virtual TopoDS_Shape ModifiedShape(const TopoDS_Shape & S); @@ -4426,52 +5164,56 @@ TopoDS_Shape ****************************/ class BRepBuilderAPI_Copy : public BRepBuilderAPI_ModifyShape { public: - /****************** BRepBuilderAPI_Copy ******************/ - /**** md5 signature: f814be791462311b9bd70700b07a803c ****/ + /****** BRepBuilderAPI_Copy::BRepBuilderAPI_Copy ******/ + /****** md5 signature: f814be791462311b9bd70700b07a803c ******/ %feature("compactdefaultargs") BRepBuilderAPI_Copy; - %feature("autodoc", "Constructs an empty copy framework. use the function perform to copy shapes. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Constructs an empty copy framework. Use the function Perform to copy shapes. ") BRepBuilderAPI_Copy; BRepBuilderAPI_Copy(); - /****************** BRepBuilderAPI_Copy ******************/ - /**** md5 signature: 3cb4979fa2e75d4803c748d02780b980 ****/ + /****** BRepBuilderAPI_Copy::BRepBuilderAPI_Copy ******/ + /****** md5 signature: 3cb4979fa2e75d4803c748d02780b980 ******/ %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. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -copyGeom: bool,optional - default value is Standard_True -copyMesh: bool,optional - default value is Standard_False +copyGeom: bool (optional, default to Standard_True) +copyMesh: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +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; BRepBuilderAPI_Copy(const TopoDS_Shape & S, const Standard_Boolean copyGeom = Standard_True, const Standard_Boolean copyMesh = Standard_False); - /****************** Perform ******************/ - /**** md5 signature: fd7a196bf04e4d1c7c8c422daf764262 ****/ + /****** BRepBuilderAPI_Copy::Perform ******/ + /****** md5 signature: fd7a196bf04e4d1c7c8c422daf764262 ******/ %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. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -copyGeom: bool,optional - default value is Standard_True -copyMesh: bool,optional - default value is Standard_False +copyGeom: bool (optional, default to Standard_True) +copyMesh: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +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; void Perform(const TopoDS_Shape & S, const Standard_Boolean copyGeom = Standard_True, const Standard_Boolean copyMesh = Standard_False); @@ -4489,83 +5231,96 @@ None **********************************/ class BRepBuilderAPI_GTransform : public BRepBuilderAPI_ModifyShape { public: - /****************** BRepBuilderAPI_GTransform ******************/ - /**** md5 signature: e9a10c3514cc17ff8ed09aec00d8cb93 ****/ + /****** BRepBuilderAPI_GTransform::BRepBuilderAPI_GTransform ******/ + /****** md5 signature: e9a10c3514cc17ff8ed09aec00d8cb93 ******/ %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", " Parameters ---------- T: gp_GTrsf -Returns +Return ------- None + +Description +----------- +Constructs a framework for applying the geometric transformation T to a shape. Use the function Perform to define the shape to transform. ") BRepBuilderAPI_GTransform; BRepBuilderAPI_GTransform(const gp_GTrsf & T); - /****************** BRepBuilderAPI_GTransform ******************/ - /**** md5 signature: 802e107723be9776d843f3a4e2d6fab3 ****/ + /****** BRepBuilderAPI_GTransform::BRepBuilderAPI_GTransform ******/ + /****** md5 signature: 802e107723be9776d843f3a4e2d6fab3 ******/ %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. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape T: gp_GTrsf -Copy: bool,optional - default value is Standard_False +Copy: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +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; BRepBuilderAPI_GTransform(const TopoDS_Shape & S, const gp_GTrsf & T, const Standard_Boolean Copy = Standard_False); - /****************** Modified ******************/ - /**** md5 signature: 73ccfe97b4ed94547a190332224ffe23 ****/ + /****** BRepBuilderAPI_GTransform::Modified ******/ + /****** md5 signature: 73ccfe97b4ed94547a190332224ffe23 ******/ %feature("compactdefaultargs") Modified; - %feature("autodoc", "Returns the list of shapes modified from the shape . - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Returns the list of shapes modified from the shape . ") Modified; virtual const TopTools_ListOfShape & Modified(const TopoDS_Shape & S); - /****************** ModifiedShape ******************/ - /**** md5 signature: 52b70a5b01905688e2ddbc00ab060e3c ****/ + /****** BRepBuilderAPI_GTransform::ModifiedShape ******/ + /****** md5 signature: 52b70a5b01905688e2ddbc00ab060e3c ******/ %feature("compactdefaultargs") ModifiedShape; - %feature("autodoc", "Returns the modified shape corresponding to . - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- TopoDS_Shape + +Description +----------- +Returns the modified shape corresponding to . ") ModifiedShape; virtual TopoDS_Shape ModifiedShape(const TopoDS_Shape & S); - /****************** Perform ******************/ - /**** md5 signature: 18b546559b34b40c9a50445613009c29 ****/ + /****** BRepBuilderAPI_GTransform::Perform ******/ + /****** md5 signature: 18b546559b34b40c9a50445613009c29 ******/ %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. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Copy: bool,optional - default value is Standard_False +Copy: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +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. ") Perform; void Perform(const TopoDS_Shape & S, const Standard_Boolean Copy = Standard_False); @@ -4583,78 +5338,90 @@ None ************************************/ class BRepBuilderAPI_NurbsConvert : public BRepBuilderAPI_ModifyShape { public: - /****************** BRepBuilderAPI_NurbsConvert ******************/ - /**** md5 signature: cb8a8d7eea9b92ec4e01dce2e0e52c7d ****/ + /****** BRepBuilderAPI_NurbsConvert::BRepBuilderAPI_NurbsConvert ******/ + /****** md5 signature: cb8a8d7eea9b92ec4e01dce2e0e52c7d ******/ %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. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Constructs a framework for converting the geometry of a shape into NURBS geometry. Use the function Perform to define the shape to convert. ") BRepBuilderAPI_NurbsConvert; BRepBuilderAPI_NurbsConvert(); - /****************** BRepBuilderAPI_NurbsConvert ******************/ - /**** md5 signature: 97b829c018fc2c7268806ac155e1b4cf ****/ + /****** BRepBuilderAPI_NurbsConvert::BRepBuilderAPI_NurbsConvert ******/ + /****** md5 signature: 97b829c018fc2c7268806ac155e1b4cf ******/ %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. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Copy: bool,optional - default value is Standard_False +Copy: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +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; BRepBuilderAPI_NurbsConvert(const TopoDS_Shape & S, const Standard_Boolean Copy = Standard_False); - /****************** Modified ******************/ - /**** md5 signature: a806cf91fce8bea1007aadababd10388 ****/ + /****** BRepBuilderAPI_NurbsConvert::Modified ******/ + /****** md5 signature: a806cf91fce8bea1007aadababd10388 ******/ %feature("compactdefaultargs") Modified; - %feature("autodoc", "Returns the list of shapes modified from the shape . - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Returns the list of shapes modified from the shape . ") Modified; virtual const TopTools_ListOfShape & Modified(const TopoDS_Shape & S); - /****************** ModifiedShape ******************/ - /**** md5 signature: 2b7ee5e0dcc7da5f7f19b64339c05803 ****/ + /****** BRepBuilderAPI_NurbsConvert::ModifiedShape ******/ + /****** md5 signature: 2b7ee5e0dcc7da5f7f19b64339c05803 ******/ %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. . - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- TopoDS_Shape + +Description +----------- +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. ") ModifiedShape; virtual TopoDS_Shape ModifiedShape(const TopoDS_Shape & S); - /****************** Perform ******************/ - /**** md5 signature: 18b546559b34b40c9a50445613009c29 ****/ + /****** BRepBuilderAPI_NurbsConvert::Perform ******/ + /****** md5 signature: 18b546559b34b40c9a50445613009c29 ******/ %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. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Copy: bool,optional - default value is Standard_False +Copy: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +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. ") Perform; void Perform(const TopoDS_Shape & S, const Standard_Boolean Copy = Standard_False); @@ -4672,85 +5439,100 @@ None *********************************/ class BRepBuilderAPI_Transform : public BRepBuilderAPI_ModifyShape { public: - /****************** BRepBuilderAPI_Transform ******************/ - /**** md5 signature: cbdf3e6dd6a17d83bfe43442a75e4924 ****/ + /****** BRepBuilderAPI_Transform::BRepBuilderAPI_Transform ******/ + /****** md5 signature: cbdf3e6dd6a17d83bfe43442a75e4924 ******/ %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", " Parameters ---------- T: gp_Trsf -Returns +Return ------- None + +Description +----------- +Constructs a framework for applying the geometric transformation T to a shape. Use the function Perform to define the shape to transform. ") BRepBuilderAPI_Transform; BRepBuilderAPI_Transform(const gp_Trsf & T); - /****************** BRepBuilderAPI_Transform ******************/ - /**** md5 signature: 580043d7d7072f80daac5d9450a520d9 ****/ + /****** BRepBuilderAPI_Transform::BRepBuilderAPI_Transform ******/ + /****** md5 signature: 0ab1a7312e9d2fe5b40a55da4604dabf ******/ %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 . - + %feature("autodoc", " Parameters ---------- -S: TopoDS_Shape -T: gp_Trsf -Copy: bool,optional - default value is Standard_False +theShape: TopoDS_Shape +theTrsf: gp_Trsf +theCopyGeom: bool (optional, default to Standard_False) +theCopyMesh: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +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 . If is true, the triangulation will be copied, and the copy will be assigned to the result shape. ") BRepBuilderAPI_Transform; - BRepBuilderAPI_Transform(const TopoDS_Shape & S, const gp_Trsf & T, const Standard_Boolean Copy = Standard_False); + BRepBuilderAPI_Transform(const TopoDS_Shape & theShape, const gp_Trsf & theTrsf, const Standard_Boolean theCopyGeom = Standard_False, const Standard_Boolean theCopyMesh = Standard_False); - /****************** Modified ******************/ - /**** md5 signature: 73ccfe97b4ed94547a190332224ffe23 ****/ + /****** BRepBuilderAPI_Transform::Modified ******/ + /****** md5 signature: 73ccfe97b4ed94547a190332224ffe23 ******/ %feature("compactdefaultargs") Modified; - %feature("autodoc", "Returns the list of shapes modified from the shape . - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Returns the list of shapes modified from the shape . ") Modified; virtual const TopTools_ListOfShape & Modified(const TopoDS_Shape & S); - /****************** ModifiedShape ******************/ - /**** md5 signature: 52b70a5b01905688e2ddbc00ab060e3c ****/ + /****** BRepBuilderAPI_Transform::ModifiedShape ******/ + /****** md5 signature: 52b70a5b01905688e2ddbc00ab060e3c ******/ %feature("compactdefaultargs") ModifiedShape; - %feature("autodoc", "Returns the modified shape corresponding to . - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- TopoDS_Shape + +Description +----------- +Returns the modified shape corresponding to . ") ModifiedShape; virtual TopoDS_Shape ModifiedShape(const TopoDS_Shape & S); - /****************** Perform ******************/ - /**** md5 signature: 18b546559b34b40c9a50445613009c29 ****/ + /****** BRepBuilderAPI_Transform::Perform ******/ + /****** md5 signature: 373b1849db31ffa26c084b85e421ba70 ******/ %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. - + %feature("autodoc", " Parameters ---------- -S: TopoDS_Shape -Copy: bool,optional - default value is Standard_False +theShape: TopoDS_Shape +theCopyGeom: bool (optional, default to Standard_False) +theCopyMesh: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +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, in other words, if the determinant of the vectorial part of T is equal to 1., and if theCopyGeom 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 theShape. - If theCopyMesh is true, the triangulation will be copied, and the copy will be assigned to the result shape. 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. ") Perform; - void Perform(const TopoDS_Shape & S, const Standard_Boolean Copy = Standard_False); + void Perform(const TopoDS_Shape & theShape, const Standard_Boolean theCopyGeom = Standard_False, const Standard_Boolean theCopyMesh = Standard_False); }; @@ -4767,3 +5549,22 @@ None /* class aliases */ %pythoncode { } +/* deprecated methods */ +%pythoncode { +@deprecated +def brepbuilderapi_Plane(*args): + return brepbuilderapi.Plane(*args) + +@deprecated +def brepbuilderapi_Plane(*args): + return brepbuilderapi.Plane(*args) + +@deprecated +def brepbuilderapi_Precision(*args): + return brepbuilderapi.Precision(*args) + +@deprecated +def brepbuilderapi_Precision(*args): + return brepbuilderapi.Precision(*args) + +} diff --git a/src/SWIG_files/wrapper/BRepBuilderAPI.pyi b/src/SWIG_files/wrapper/BRepBuilderAPI.pyi index 4a1ee9110..56a7487cd 100644 --- a/src/SWIG_files/wrapper/BRepBuilderAPI.pyi +++ b/src/SWIG_files/wrapper/BRepBuilderAPI.pyi @@ -12,574 +12,804 @@ from OCC.Core.gp import * from OCC.Core.TColStd import * from OCC.Core.Bnd import * from OCC.Core.Geom2d import * +from OCC.Core.Poly import * -#the following typedef cannot be wrapped as is -BRepBuilderAPI_BndBoxTree = NewType('BRepBuilderAPI_BndBoxTree', Any) -#the following typedef cannot be wrapped as is -BRepBuilderAPI_CellFilter = NewType('BRepBuilderAPI_CellFilter', Any) -#the following typedef cannot be wrapped as is -VectorOfPoint = NewType('VectorOfPoint', Any) +# the following typedef cannot be wrapped as is +BRepBuilderAPI_BndBoxTree = NewType("BRepBuilderAPI_BndBoxTree", Any) +# the following typedef cannot be wrapped as is +BRepBuilderAPI_CellFilter = NewType("BRepBuilderAPI_CellFilter", Any) +# the following typedef cannot be wrapped as is +VectorOfPoint = NewType("VectorOfPoint", Any) + +class BRepBuilderAPI_EdgeError(IntEnum): + BRepBuilderAPI_EdgeDone: int = ... + BRepBuilderAPI_PointProjectionFailed: int = ... + BRepBuilderAPI_ParameterOutOfRange: int = ... + BRepBuilderAPI_DifferentPointsOnClosedCurve: int = ... + BRepBuilderAPI_PointWithInfiniteParameter: int = ... + BRepBuilderAPI_DifferentsPointAndParameter: int = ... + BRepBuilderAPI_LineThroughIdenticPoints: int = ... + +BRepBuilderAPI_EdgeDone = BRepBuilderAPI_EdgeError.BRepBuilderAPI_EdgeDone +BRepBuilderAPI_PointProjectionFailed = ( + BRepBuilderAPI_EdgeError.BRepBuilderAPI_PointProjectionFailed +) +BRepBuilderAPI_ParameterOutOfRange = ( + BRepBuilderAPI_EdgeError.BRepBuilderAPI_ParameterOutOfRange +) +BRepBuilderAPI_DifferentPointsOnClosedCurve = ( + BRepBuilderAPI_EdgeError.BRepBuilderAPI_DifferentPointsOnClosedCurve +) +BRepBuilderAPI_PointWithInfiniteParameter = ( + BRepBuilderAPI_EdgeError.BRepBuilderAPI_PointWithInfiniteParameter +) +BRepBuilderAPI_DifferentsPointAndParameter = ( + BRepBuilderAPI_EdgeError.BRepBuilderAPI_DifferentsPointAndParameter +) +BRepBuilderAPI_LineThroughIdenticPoints = ( + BRepBuilderAPI_EdgeError.BRepBuilderAPI_LineThroughIdenticPoints +) + +class BRepBuilderAPI_FaceError(IntEnum): + BRepBuilderAPI_FaceDone: int = ... + BRepBuilderAPI_NoFace: int = ... + BRepBuilderAPI_NotPlanar: int = ... + BRepBuilderAPI_CurveProjectionFailed: int = ... + BRepBuilderAPI_ParametersOutOfRange: int = ... + +BRepBuilderAPI_FaceDone = BRepBuilderAPI_FaceError.BRepBuilderAPI_FaceDone +BRepBuilderAPI_NoFace = BRepBuilderAPI_FaceError.BRepBuilderAPI_NoFace +BRepBuilderAPI_NotPlanar = BRepBuilderAPI_FaceError.BRepBuilderAPI_NotPlanar +BRepBuilderAPI_CurveProjectionFailed = ( + BRepBuilderAPI_FaceError.BRepBuilderAPI_CurveProjectionFailed +) +BRepBuilderAPI_ParametersOutOfRange = ( + BRepBuilderAPI_FaceError.BRepBuilderAPI_ParametersOutOfRange +) + +class BRepBuilderAPI_PipeError(IntEnum): + BRepBuilderAPI_PipeDone: int = ... + BRepBuilderAPI_PipeNotDone: int = ... + BRepBuilderAPI_PlaneNotIntersectGuide: int = ... + BRepBuilderAPI_ImpossibleContact: int = ... + +BRepBuilderAPI_PipeDone = BRepBuilderAPI_PipeError.BRepBuilderAPI_PipeDone +BRepBuilderAPI_PipeNotDone = BRepBuilderAPI_PipeError.BRepBuilderAPI_PipeNotDone +BRepBuilderAPI_PlaneNotIntersectGuide = ( + BRepBuilderAPI_PipeError.BRepBuilderAPI_PlaneNotIntersectGuide +) +BRepBuilderAPI_ImpossibleContact = ( + BRepBuilderAPI_PipeError.BRepBuilderAPI_ImpossibleContact +) class BRepBuilderAPI_ShapeModification(IntEnum): - BRepBuilderAPI_Preserved: int = ... - BRepBuilderAPI_Deleted: int = ... - BRepBuilderAPI_Trimmed: int = ... - BRepBuilderAPI_Merged: int = ... - BRepBuilderAPI_BoundaryModified: int = ... + BRepBuilderAPI_Preserved: int = ... + BRepBuilderAPI_Deleted: int = ... + BRepBuilderAPI_Trimmed: int = ... + BRepBuilderAPI_Merged: int = ... + BRepBuilderAPI_BoundaryModified: int = ... + BRepBuilderAPI_Preserved = BRepBuilderAPI_ShapeModification.BRepBuilderAPI_Preserved BRepBuilderAPI_Deleted = BRepBuilderAPI_ShapeModification.BRepBuilderAPI_Deleted BRepBuilderAPI_Trimmed = BRepBuilderAPI_ShapeModification.BRepBuilderAPI_Trimmed BRepBuilderAPI_Merged = BRepBuilderAPI_ShapeModification.BRepBuilderAPI_Merged -BRepBuilderAPI_BoundaryModified = BRepBuilderAPI_ShapeModification.BRepBuilderAPI_BoundaryModified - -class BRepBuilderAPI_WireError(IntEnum): - BRepBuilderAPI_WireDone: int = ... - BRepBuilderAPI_EmptyWire: int = ... - BRepBuilderAPI_DisconnectedWire: int = ... - BRepBuilderAPI_NonManifoldWire: int = ... -BRepBuilderAPI_WireDone = BRepBuilderAPI_WireError.BRepBuilderAPI_WireDone -BRepBuilderAPI_EmptyWire = BRepBuilderAPI_WireError.BRepBuilderAPI_EmptyWire -BRepBuilderAPI_DisconnectedWire = BRepBuilderAPI_WireError.BRepBuilderAPI_DisconnectedWire -BRepBuilderAPI_NonManifoldWire = BRepBuilderAPI_WireError.BRepBuilderAPI_NonManifoldWire +BRepBuilderAPI_BoundaryModified = ( + BRepBuilderAPI_ShapeModification.BRepBuilderAPI_BoundaryModified +) -class BRepBuilderAPI_EdgeError(IntEnum): - BRepBuilderAPI_EdgeDone: int = ... - BRepBuilderAPI_PointProjectionFailed: int = ... - BRepBuilderAPI_ParameterOutOfRange: int = ... - BRepBuilderAPI_DifferentPointsOnClosedCurve: int = ... - BRepBuilderAPI_PointWithInfiniteParameter: int = ... - BRepBuilderAPI_DifferentsPointAndParameter: int = ... - BRepBuilderAPI_LineThroughIdenticPoints: int = ... -BRepBuilderAPI_EdgeDone = BRepBuilderAPI_EdgeError.BRepBuilderAPI_EdgeDone -BRepBuilderAPI_PointProjectionFailed = BRepBuilderAPI_EdgeError.BRepBuilderAPI_PointProjectionFailed -BRepBuilderAPI_ParameterOutOfRange = BRepBuilderAPI_EdgeError.BRepBuilderAPI_ParameterOutOfRange -BRepBuilderAPI_DifferentPointsOnClosedCurve = BRepBuilderAPI_EdgeError.BRepBuilderAPI_DifferentPointsOnClosedCurve -BRepBuilderAPI_PointWithInfiniteParameter = BRepBuilderAPI_EdgeError.BRepBuilderAPI_PointWithInfiniteParameter -BRepBuilderAPI_DifferentsPointAndParameter = BRepBuilderAPI_EdgeError.BRepBuilderAPI_DifferentsPointAndParameter -BRepBuilderAPI_LineThroughIdenticPoints = BRepBuilderAPI_EdgeError.BRepBuilderAPI_LineThroughIdenticPoints +class BRepBuilderAPI_ShellError(IntEnum): + BRepBuilderAPI_ShellDone: int = ... + BRepBuilderAPI_EmptyShell: int = ... + BRepBuilderAPI_DisconnectedShell: int = ... + BRepBuilderAPI_ShellParametersOutOfRange: int = ... -class BRepBuilderAPI_PipeError(IntEnum): - BRepBuilderAPI_PipeDone: int = ... - BRepBuilderAPI_PipeNotDone: int = ... - BRepBuilderAPI_PlaneNotIntersectGuide: int = ... - BRepBuilderAPI_ImpossibleContact: int = ... -BRepBuilderAPI_PipeDone = BRepBuilderAPI_PipeError.BRepBuilderAPI_PipeDone -BRepBuilderAPI_PipeNotDone = BRepBuilderAPI_PipeError.BRepBuilderAPI_PipeNotDone -BRepBuilderAPI_PlaneNotIntersectGuide = BRepBuilderAPI_PipeError.BRepBuilderAPI_PlaneNotIntersectGuide -BRepBuilderAPI_ImpossibleContact = BRepBuilderAPI_PipeError.BRepBuilderAPI_ImpossibleContact +BRepBuilderAPI_ShellDone = BRepBuilderAPI_ShellError.BRepBuilderAPI_ShellDone +BRepBuilderAPI_EmptyShell = BRepBuilderAPI_ShellError.BRepBuilderAPI_EmptyShell +BRepBuilderAPI_DisconnectedShell = ( + BRepBuilderAPI_ShellError.BRepBuilderAPI_DisconnectedShell +) +BRepBuilderAPI_ShellParametersOutOfRange = ( + BRepBuilderAPI_ShellError.BRepBuilderAPI_ShellParametersOutOfRange +) class BRepBuilderAPI_TransitionMode(IntEnum): - BRepBuilderAPI_Transformed: int = ... - BRepBuilderAPI_RightCorner: int = ... - BRepBuilderAPI_RoundCorner: int = ... + BRepBuilderAPI_Transformed: int = ... + BRepBuilderAPI_RightCorner: int = ... + BRepBuilderAPI_RoundCorner: int = ... + BRepBuilderAPI_Transformed = BRepBuilderAPI_TransitionMode.BRepBuilderAPI_Transformed BRepBuilderAPI_RightCorner = BRepBuilderAPI_TransitionMode.BRepBuilderAPI_RightCorner BRepBuilderAPI_RoundCorner = BRepBuilderAPI_TransitionMode.BRepBuilderAPI_RoundCorner -class BRepBuilderAPI_FaceError(IntEnum): - BRepBuilderAPI_FaceDone: int = ... - BRepBuilderAPI_NoFace: int = ... - BRepBuilderAPI_NotPlanar: int = ... - BRepBuilderAPI_CurveProjectionFailed: int = ... - BRepBuilderAPI_ParametersOutOfRange: int = ... -BRepBuilderAPI_FaceDone = BRepBuilderAPI_FaceError.BRepBuilderAPI_FaceDone -BRepBuilderAPI_NoFace = BRepBuilderAPI_FaceError.BRepBuilderAPI_NoFace -BRepBuilderAPI_NotPlanar = BRepBuilderAPI_FaceError.BRepBuilderAPI_NotPlanar -BRepBuilderAPI_CurveProjectionFailed = BRepBuilderAPI_FaceError.BRepBuilderAPI_CurveProjectionFailed -BRepBuilderAPI_ParametersOutOfRange = BRepBuilderAPI_FaceError.BRepBuilderAPI_ParametersOutOfRange +class BRepBuilderAPI_WireError(IntEnum): + BRepBuilderAPI_WireDone: int = ... + BRepBuilderAPI_EmptyWire: int = ... + BRepBuilderAPI_DisconnectedWire: int = ... + BRepBuilderAPI_NonManifoldWire: int = ... -class BRepBuilderAPI_ShellError(IntEnum): - BRepBuilderAPI_ShellDone: int = ... - BRepBuilderAPI_EmptyShell: int = ... - BRepBuilderAPI_DisconnectedShell: int = ... - BRepBuilderAPI_ShellParametersOutOfRange: int = ... -BRepBuilderAPI_ShellDone = BRepBuilderAPI_ShellError.BRepBuilderAPI_ShellDone -BRepBuilderAPI_EmptyShell = BRepBuilderAPI_ShellError.BRepBuilderAPI_EmptyShell -BRepBuilderAPI_DisconnectedShell = BRepBuilderAPI_ShellError.BRepBuilderAPI_DisconnectedShell -BRepBuilderAPI_ShellParametersOutOfRange = BRepBuilderAPI_ShellError.BRepBuilderAPI_ShellParametersOutOfRange +BRepBuilderAPI_WireDone = BRepBuilderAPI_WireError.BRepBuilderAPI_WireDone +BRepBuilderAPI_EmptyWire = BRepBuilderAPI_WireError.BRepBuilderAPI_EmptyWire +BRepBuilderAPI_DisconnectedWire = ( + BRepBuilderAPI_WireError.BRepBuilderAPI_DisconnectedWire +) +BRepBuilderAPI_NonManifoldWire = BRepBuilderAPI_WireError.BRepBuilderAPI_NonManifoldWire class brepbuilderapi: - @overload - @staticmethod - def Plane(P: Geom_Plane) -> None: ... - @overload - @staticmethod - def Plane() -> Geom_Plane: ... - @overload - @staticmethod - def Precision(P: float) -> None: ... - @overload - @staticmethod - def Precision() -> float: ... + @overload + @staticmethod + def Plane(P: Geom_Plane) -> None: ... + @overload + @staticmethod + def Plane() -> Geom_Plane: ... + @overload + @staticmethod + def Precision(P: float) -> None: ... + @overload + @staticmethod + def Precision() -> float: ... class BRepBuilderAPI_Collect: - def __init__(self) -> None: ... - def Add(self, SI: TopoDS_Shape, MKS: BRepBuilderAPI_MakeShape) -> None: ... - def AddGenerated(self, S: TopoDS_Shape, Gen: TopoDS_Shape) -> None: ... - def AddModif(self, S: TopoDS_Shape, Mod: TopoDS_Shape) -> None: ... - def Filter(self, SF: TopoDS_Shape) -> None: ... - def Generated(self) -> TopTools_DataMapOfShapeListOfShape: ... - def Modification(self) -> TopTools_DataMapOfShapeListOfShape: ... + def __init__(self) -> None: ... + def Add(self, SI: TopoDS_Shape, MKS: BRepBuilderAPI_MakeShape) -> None: ... + def AddGenerated(self, S: TopoDS_Shape, Gen: TopoDS_Shape) -> None: ... + def AddModif(self, S: TopoDS_Shape, Mod: TopoDS_Shape) -> None: ... + def Filter(self, SF: TopoDS_Shape) -> None: ... + def Generated(self) -> TopTools_DataMapOfShapeListOfShape: ... + def Modification(self) -> TopTools_DataMapOfShapeListOfShape: ... class BRepBuilderAPI_Command: - def Check(self) -> None: ... - def IsDone(self) -> bool: ... + def Check(self) -> None: ... + def IsDone(self) -> bool: ... class BRepBuilderAPI_FastSewing(Standard_Transient): - def __init__(self, theTolerance: Optional[float] = 1.0e-06) -> None: ... - @overload - def Add(self, theShape: TopoDS_Shape) -> bool: ... - @overload - def Add(self, theSurface: Geom_Surface) -> bool: ... - def GetResult(self) -> TopoDS_Shape: ... - def GetTolerance(self) -> float: ... - def Perform(self) -> None: ... - def SetTolerance(self, theToler: float) -> None: ... + def __init__(self, theTolerance: Optional[float] = 1.0e-06) -> None: ... + @overload + def Add(self, theShape: TopoDS_Shape) -> bool: ... + @overload + def Add(self, theSurface: Geom_Surface) -> bool: ... + def GetResult(self) -> TopoDS_Shape: ... + def GetTolerance(self) -> float: ... + def Perform(self) -> None: ... + def SetTolerance(self, theToler: float) -> None: ... class BRepBuilderAPI_FindPlane: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, S: TopoDS_Shape, Tol: Optional[float] = -1) -> None: ... - def Found(self) -> bool: ... - def Init(self, S: TopoDS_Shape, Tol: Optional[float] = -1) -> None: ... - def Plane(self) -> Geom_Plane: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, S: TopoDS_Shape, Tol: Optional[float] = -1) -> None: ... + def Found(self) -> bool: ... + def Init(self, S: TopoDS_Shape, Tol: Optional[float] = -1) -> None: ... + def Plane(self) -> Geom_Plane: ... class BRepBuilderAPI_Sewing(Standard_Transient): - def __init__(self, tolerance: Optional[float] = 1.0e-06, option1: Optional[bool] = True, option2: Optional[bool] = True, option3: Optional[bool] = True, option4: Optional[bool] = False) -> None: ... - def Add(self, shape: TopoDS_Shape) -> None: ... - def ContigousEdge(self, index: int) -> TopoDS_Edge: ... - def ContigousEdgeCouple(self, index: int) -> TopTools_ListOfShape: ... - def DegeneratedShape(self, index: int) -> TopoDS_Shape: ... - def DeletedFace(self, index: int) -> TopoDS_Face: ... - def Dump(self) -> None: ... - def FaceMode(self) -> bool: ... - def FloatingEdgesMode(self) -> bool: ... - def FreeEdge(self, index: int) -> TopoDS_Edge: ... - def GetContext(self) -> BRepTools_ReShape: ... - def Init(self, tolerance: Optional[float] = 1.0e-06, option1: Optional[bool] = True, option2: Optional[bool] = True, option3: Optional[bool] = True, option4: Optional[bool] = False) -> None: ... - def IsDegenerated(self, shape: TopoDS_Shape) -> bool: ... - def IsModified(self, shape: TopoDS_Shape) -> bool: ... - def IsModifiedSubShape(self, shape: TopoDS_Shape) -> bool: ... - def IsSectionBound(self, section: TopoDS_Edge) -> bool: ... - def Load(self, shape: TopoDS_Shape) -> None: ... - def LocalTolerancesMode(self) -> bool: ... - def MaxTolerance(self) -> float: ... - def MinTolerance(self) -> float: ... - def Modified(self, shape: TopoDS_Shape) -> TopoDS_Shape: ... - def ModifiedSubShape(self, shape: TopoDS_Shape) -> TopoDS_Shape: ... - def MultipleEdge(self, index: int) -> TopoDS_Edge: ... - def NbContigousEdges(self) -> int: ... - def NbDegeneratedShapes(self) -> int: ... - def NbDeletedFaces(self) -> int: ... - def NbFreeEdges(self) -> int: ... - def NbMultipleEdges(self) -> int: ... - def NonManifoldMode(self) -> bool: ... - def Perform(self, theProgress: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... - def SameParameterMode(self) -> bool: ... - def SectionToBoundary(self, section: TopoDS_Edge) -> TopoDS_Edge: ... - def SetContext(self, theContext: BRepTools_ReShape) -> None: ... - def SetFaceMode(self, theFaceMode: bool) -> None: ... - def SetFloatingEdgesMode(self, theFloatingEdgesMode: bool) -> None: ... - def SetLocalTolerancesMode(self, theLocalTolerancesMode: bool) -> None: ... - def SetMaxTolerance(self, theMaxToler: float) -> None: ... - def SetMinTolerance(self, theMinToler: float) -> None: ... - def SetNonManifoldMode(self, theNonManifoldMode: bool) -> None: ... - def SetSameParameterMode(self, SameParameterMode: bool) -> None: ... - def SetTolerance(self, theToler: float) -> None: ... - def SewedShape(self) -> TopoDS_Shape: ... - def Tolerance(self) -> float: ... - def WhichFace(self, theEdg: TopoDS_Edge, index: Optional[int] = 1) -> TopoDS_Face: ... + def __init__( + self, + tolerance: Optional[float] = 1.0e-06, + option1: Optional[bool] = True, + option2: Optional[bool] = True, + option3: Optional[bool] = True, + option4: Optional[bool] = False, + ) -> None: ... + def Add(self, shape: TopoDS_Shape) -> None: ... + def ContigousEdge(self, index: int) -> TopoDS_Edge: ... + def ContigousEdgeCouple(self, index: int) -> TopTools_ListOfShape: ... + def DegeneratedShape(self, index: int) -> TopoDS_Shape: ... + def DeletedFace(self, index: int) -> TopoDS_Face: ... + def Dump(self) -> None: ... + def FaceMode(self) -> bool: ... + def FloatingEdgesMode(self) -> bool: ... + def FreeEdge(self, index: int) -> TopoDS_Edge: ... + def GetContext(self) -> BRepTools_ReShape: ... + def Init( + self, + tolerance: Optional[float] = 1.0e-06, + option1: Optional[bool] = True, + option2: Optional[bool] = True, + option3: Optional[bool] = True, + option4: Optional[bool] = False, + ) -> None: ... + def IsDegenerated(self, shape: TopoDS_Shape) -> bool: ... + def IsModified(self, shape: TopoDS_Shape) -> bool: ... + def IsModifiedSubShape(self, shape: TopoDS_Shape) -> bool: ... + def IsSectionBound(self, section: TopoDS_Edge) -> bool: ... + def Load(self, shape: TopoDS_Shape) -> None: ... + def LocalTolerancesMode(self) -> bool: ... + def MaxTolerance(self) -> float: ... + def MinTolerance(self) -> float: ... + def Modified(self, shape: TopoDS_Shape) -> TopoDS_Shape: ... + def ModifiedSubShape(self, shape: TopoDS_Shape) -> TopoDS_Shape: ... + def MultipleEdge(self, index: int) -> TopoDS_Edge: ... + def NbContigousEdges(self) -> int: ... + def NbDegeneratedShapes(self) -> int: ... + def NbDeletedFaces(self) -> int: ... + def NbFreeEdges(self) -> int: ... + def NbMultipleEdges(self) -> int: ... + def NonManifoldMode(self) -> bool: ... + def Perform( + self, theProgress: Optional[Message_ProgressRange] = Message_ProgressRange() + ) -> None: ... + def SameParameterMode(self) -> bool: ... + def SectionToBoundary(self, section: TopoDS_Edge) -> TopoDS_Edge: ... + def SetContext(self, theContext: BRepTools_ReShape) -> None: ... + def SetFaceMode(self, theFaceMode: bool) -> None: ... + def SetFloatingEdgesMode(self, theFloatingEdgesMode: bool) -> None: ... + def SetLocalTolerancesMode(self, theLocalTolerancesMode: bool) -> None: ... + def SetMaxTolerance(self, theMaxToler: float) -> None: ... + def SetMinTolerance(self, theMinToler: float) -> None: ... + def SetNonManifoldMode(self, theNonManifoldMode: bool) -> None: ... + def SetSameParameterMode(self, SameParameterMode: bool) -> None: ... + def SetTolerance(self, theToler: float) -> None: ... + def SewedShape(self) -> TopoDS_Shape: ... + def Tolerance(self) -> float: ... + def WhichFace( + self, theEdg: TopoDS_Edge, index: Optional[int] = 1 + ) -> TopoDS_Face: ... class BRepBuilderAPI_VertexInspector(NCollection_CellFilter_InspectorXYZ): - def __init__(self, theTol: float) -> None: ... - def Add(self, thePnt: gp_XYZ) -> None: ... - def ClearResList(self) -> None: ... - def Inspect(self, theTarget: int) -> NCollection_CellFilter_Action: ... - def ResInd(self) -> TColStd_ListOfInteger: ... - def SetCurrent(self, theCurPnt: gp_XYZ) -> None: ... - -class BRepBuilderAPI_BndBoxTreeSelector(): - def __init__(self) -> None: ... - def Accept(self, theObj: int) -> bool: ... - def ClearResList(self) -> None: ... - def Reject(self, theBox: Bnd_Box) -> bool: ... - def ResInd(self) -> TColStd_ListOfInteger: ... - def SetCurrent(self, theBox: Bnd_Box) -> None: ... + def __init__(self, theTol: float) -> None: ... + def Add(self, thePnt: gp_XYZ) -> None: ... + def ClearResList(self) -> None: ... + def Inspect(self, theTarget: int) -> NCollection_CellFilter_Action: ... + def ResInd(self) -> TColStd_ListOfInteger: ... + def SetCurrent(self, theCurPnt: gp_XYZ) -> None: ... + +class BRepBuilderAPI_BndBoxTreeSelector: + def __init__(self) -> None: ... + def Accept(self, theObj: int) -> bool: ... + def ClearResList(self) -> None: ... + def Reject(self, theBox: Bnd_Box) -> bool: ... + def ResInd(self) -> TColStd_ListOfInteger: ... + def SetCurrent(self, theBox: Bnd_Box) -> None: ... class BRepBuilderAPI_MakeShape(BRepBuilderAPI_Command): - def Build(self) -> None: ... - def Generated(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... - def IsDeleted(self, S: TopoDS_Shape) -> bool: ... - def Modified(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... - def Shape(self) -> TopoDS_Shape: ... + def Build( + self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange() + ) -> None: ... + def Generated(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... + def IsDeleted(self, S: TopoDS_Shape) -> bool: ... + def Modified(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... + def Shape(self) -> TopoDS_Shape: ... class BRepBuilderAPI_MakeEdge(BRepBuilderAPI_MakeShape): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... - @overload - def __init__(self, P1: gp_Pnt, P2: gp_Pnt) -> None: ... - @overload - def __init__(self, L: gp_Lin) -> None: ... - @overload - def __init__(self, L: gp_Lin, p1: float, p2: float) -> None: ... - @overload - def __init__(self, L: gp_Lin, P1: gp_Pnt, P2: gp_Pnt) -> None: ... - @overload - def __init__(self, L: gp_Lin, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... - @overload - def __init__(self, L: gp_Circ) -> None: ... - @overload - def __init__(self, L: gp_Circ, p1: float, p2: float) -> None: ... - @overload - def __init__(self, L: gp_Circ, P1: gp_Pnt, P2: gp_Pnt) -> None: ... - @overload - def __init__(self, L: gp_Circ, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... - @overload - def __init__(self, L: gp_Elips) -> None: ... - @overload - def __init__(self, L: gp_Elips, p1: float, p2: float) -> None: ... - @overload - def __init__(self, L: gp_Elips, P1: gp_Pnt, P2: gp_Pnt) -> None: ... - @overload - def __init__(self, L: gp_Elips, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... - @overload - def __init__(self, L: gp_Hypr) -> None: ... - @overload - def __init__(self, L: gp_Hypr, p1: float, p2: float) -> None: ... - @overload - def __init__(self, L: gp_Hypr, P1: gp_Pnt, P2: gp_Pnt) -> None: ... - @overload - def __init__(self, L: gp_Hypr, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... - @overload - def __init__(self, L: gp_Parab) -> None: ... - @overload - def __init__(self, L: gp_Parab, p1: float, p2: float) -> None: ... - @overload - def __init__(self, L: gp_Parab, P1: gp_Pnt, P2: gp_Pnt) -> None: ... - @overload - def __init__(self, L: gp_Parab, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... - @overload - def __init__(self, L: Geom_Curve) -> None: ... - @overload - def __init__(self, L: Geom_Curve, p1: float, p2: float) -> None: ... - @overload - def __init__(self, L: Geom_Curve, P1: gp_Pnt, P2: gp_Pnt) -> None: ... - @overload - def __init__(self, L: Geom_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... - @overload - def __init__(self, L: Geom_Curve, P1: gp_Pnt, P2: gp_Pnt, p1: float, p2: float) -> None: ... - @overload - def __init__(self, L: Geom_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex, p1: float, p2: float) -> None: ... - @overload - def __init__(self, L: Geom2d_Curve, S: Geom_Surface) -> None: ... - @overload - def __init__(self, L: Geom2d_Curve, S: Geom_Surface, p1: float, p2: float) -> None: ... - @overload - def __init__(self, L: Geom2d_Curve, S: Geom_Surface, P1: gp_Pnt, P2: gp_Pnt) -> None: ... - @overload - def __init__(self, L: Geom2d_Curve, S: Geom_Surface, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... - @overload - def __init__(self, L: Geom2d_Curve, S: Geom_Surface, P1: gp_Pnt, P2: gp_Pnt, p1: float, p2: float) -> None: ... - @overload - def __init__(self, L: Geom2d_Curve, S: Geom_Surface, V1: TopoDS_Vertex, V2: TopoDS_Vertex, p1: float, p2: float) -> None: ... - def Edge(self) -> TopoDS_Edge: ... - def Error(self) -> BRepBuilderAPI_EdgeError: ... - @overload - def Init(self, C: Geom_Curve) -> None: ... - @overload - def Init(self, C: Geom_Curve, p1: float, p2: float) -> None: ... - @overload - def Init(self, C: Geom_Curve, P1: gp_Pnt, P2: gp_Pnt) -> None: ... - @overload - def Init(self, C: Geom_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... - @overload - def Init(self, C: Geom_Curve, P1: gp_Pnt, P2: gp_Pnt, p1: float, p2: float) -> None: ... - @overload - def Init(self, C: Geom_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex, p1: float, p2: float) -> None: ... - @overload - def Init(self, C: Geom2d_Curve, S: Geom_Surface) -> None: ... - @overload - def Init(self, C: Geom2d_Curve, S: Geom_Surface, p1: float, p2: float) -> None: ... - @overload - def Init(self, C: Geom2d_Curve, S: Geom_Surface, P1: gp_Pnt, P2: gp_Pnt) -> None: ... - @overload - def Init(self, C: Geom2d_Curve, S: Geom_Surface, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... - @overload - def Init(self, C: Geom2d_Curve, S: Geom_Surface, P1: gp_Pnt, P2: gp_Pnt, p1: float, p2: float) -> None: ... - @overload - def Init(self, C: Geom2d_Curve, S: Geom_Surface, V1: TopoDS_Vertex, V2: TopoDS_Vertex, p1: float, p2: float) -> None: ... - def IsDone(self) -> bool: ... - def Vertex1(self) -> TopoDS_Vertex: ... - def Vertex2(self) -> TopoDS_Vertex: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... + @overload + def __init__(self, P1: gp_Pnt, P2: gp_Pnt) -> None: ... + @overload + def __init__(self, L: gp_Lin) -> None: ... + @overload + def __init__(self, L: gp_Lin, p1: float, p2: float) -> None: ... + @overload + def __init__(self, L: gp_Lin, P1: gp_Pnt, P2: gp_Pnt) -> None: ... + @overload + def __init__(self, L: gp_Lin, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... + @overload + def __init__(self, L: gp_Circ) -> None: ... + @overload + def __init__(self, L: gp_Circ, p1: float, p2: float) -> None: ... + @overload + def __init__(self, L: gp_Circ, P1: gp_Pnt, P2: gp_Pnt) -> None: ... + @overload + def __init__(self, L: gp_Circ, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... + @overload + def __init__(self, L: gp_Elips) -> None: ... + @overload + def __init__(self, L: gp_Elips, p1: float, p2: float) -> None: ... + @overload + def __init__(self, L: gp_Elips, P1: gp_Pnt, P2: gp_Pnt) -> None: ... + @overload + def __init__(self, L: gp_Elips, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... + @overload + def __init__(self, L: gp_Hypr) -> None: ... + @overload + def __init__(self, L: gp_Hypr, p1: float, p2: float) -> None: ... + @overload + def __init__(self, L: gp_Hypr, P1: gp_Pnt, P2: gp_Pnt) -> None: ... + @overload + def __init__(self, L: gp_Hypr, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... + @overload + def __init__(self, L: gp_Parab) -> None: ... + @overload + def __init__(self, L: gp_Parab, p1: float, p2: float) -> None: ... + @overload + def __init__(self, L: gp_Parab, P1: gp_Pnt, P2: gp_Pnt) -> None: ... + @overload + def __init__(self, L: gp_Parab, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... + @overload + def __init__(self, L: Geom_Curve) -> None: ... + @overload + def __init__(self, L: Geom_Curve, p1: float, p2: float) -> None: ... + @overload + def __init__(self, L: Geom_Curve, P1: gp_Pnt, P2: gp_Pnt) -> None: ... + @overload + def __init__(self, L: Geom_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... + @overload + def __init__( + self, L: Geom_Curve, P1: gp_Pnt, P2: gp_Pnt, p1: float, p2: float + ) -> None: ... + @overload + def __init__( + self, L: Geom_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex, p1: float, p2: float + ) -> None: ... + @overload + def __init__(self, L: Geom2d_Curve, S: Geom_Surface) -> None: ... + @overload + def __init__( + self, L: Geom2d_Curve, S: Geom_Surface, p1: float, p2: float + ) -> None: ... + @overload + def __init__( + self, L: Geom2d_Curve, S: Geom_Surface, P1: gp_Pnt, P2: gp_Pnt + ) -> None: ... + @overload + def __init__( + self, L: Geom2d_Curve, S: Geom_Surface, V1: TopoDS_Vertex, V2: TopoDS_Vertex + ) -> None: ... + @overload + def __init__( + self, + L: Geom2d_Curve, + S: Geom_Surface, + P1: gp_Pnt, + P2: gp_Pnt, + p1: float, + p2: float, + ) -> None: ... + @overload + def __init__( + self, + L: Geom2d_Curve, + S: Geom_Surface, + V1: TopoDS_Vertex, + V2: TopoDS_Vertex, + p1: float, + p2: float, + ) -> None: ... + def Edge(self) -> TopoDS_Edge: ... + def Error(self) -> BRepBuilderAPI_EdgeError: ... + @overload + def Init(self, C: Geom_Curve) -> None: ... + @overload + def Init(self, C: Geom_Curve, p1: float, p2: float) -> None: ... + @overload + def Init(self, C: Geom_Curve, P1: gp_Pnt, P2: gp_Pnt) -> None: ... + @overload + def Init(self, C: Geom_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... + @overload + def Init( + self, C: Geom_Curve, P1: gp_Pnt, P2: gp_Pnt, p1: float, p2: float + ) -> None: ... + @overload + def Init( + self, C: Geom_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex, p1: float, p2: float + ) -> None: ... + @overload + def Init(self, C: Geom2d_Curve, S: Geom_Surface) -> None: ... + @overload + def Init(self, C: Geom2d_Curve, S: Geom_Surface, p1: float, p2: float) -> None: ... + @overload + def Init( + self, C: Geom2d_Curve, S: Geom_Surface, P1: gp_Pnt, P2: gp_Pnt + ) -> None: ... + @overload + def Init( + self, C: Geom2d_Curve, S: Geom_Surface, V1: TopoDS_Vertex, V2: TopoDS_Vertex + ) -> None: ... + @overload + def Init( + self, + C: Geom2d_Curve, + S: Geom_Surface, + P1: gp_Pnt, + P2: gp_Pnt, + p1: float, + p2: float, + ) -> None: ... + @overload + def Init( + self, + C: Geom2d_Curve, + S: Geom_Surface, + V1: TopoDS_Vertex, + V2: TopoDS_Vertex, + p1: float, + p2: float, + ) -> None: ... + def IsDone(self) -> bool: ... + def Vertex1(self) -> TopoDS_Vertex: ... + def Vertex2(self) -> TopoDS_Vertex: ... class BRepBuilderAPI_MakeEdge2d(BRepBuilderAPI_MakeShape): - @overload - def __init__(self, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... - @overload - def __init__(self, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... - @overload - def __init__(self, L: gp_Lin2d) -> None: ... - @overload - def __init__(self, L: gp_Lin2d, p1: float, p2: float) -> None: ... - @overload - def __init__(self, L: gp_Lin2d, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... - @overload - def __init__(self, L: gp_Lin2d, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... - @overload - def __init__(self, L: gp_Circ2d) -> None: ... - @overload - def __init__(self, L: gp_Circ2d, p1: float, p2: float) -> None: ... - @overload - def __init__(self, L: gp_Circ2d, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... - @overload - def __init__(self, L: gp_Circ2d, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... - @overload - def __init__(self, L: gp_Elips2d) -> None: ... - @overload - def __init__(self, L: gp_Elips2d, p1: float, p2: float) -> None: ... - @overload - def __init__(self, L: gp_Elips2d, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... - @overload - def __init__(self, L: gp_Elips2d, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... - @overload - def __init__(self, L: gp_Hypr2d) -> None: ... - @overload - def __init__(self, L: gp_Hypr2d, p1: float, p2: float) -> None: ... - @overload - def __init__(self, L: gp_Hypr2d, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... - @overload - def __init__(self, L: gp_Hypr2d, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... - @overload - def __init__(self, L: gp_Parab2d) -> None: ... - @overload - def __init__(self, L: gp_Parab2d, p1: float, p2: float) -> None: ... - @overload - def __init__(self, L: gp_Parab2d, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... - @overload - def __init__(self, L: gp_Parab2d, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... - @overload - def __init__(self, L: Geom2d_Curve) -> None: ... - @overload - def __init__(self, L: Geom2d_Curve, p1: float, p2: float) -> None: ... - @overload - def __init__(self, L: Geom2d_Curve, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... - @overload - def __init__(self, L: Geom2d_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... - @overload - def __init__(self, L: Geom2d_Curve, P1: gp_Pnt2d, P2: gp_Pnt2d, p1: float, p2: float) -> None: ... - @overload - def __init__(self, L: Geom2d_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex, p1: float, p2: float) -> None: ... - def Edge(self) -> TopoDS_Edge: ... - def Error(self) -> BRepBuilderAPI_EdgeError: ... - @overload - def Init(self, C: Geom2d_Curve) -> None: ... - @overload - def Init(self, C: Geom2d_Curve, p1: float, p2: float) -> None: ... - @overload - def Init(self, C: Geom2d_Curve, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... - @overload - def Init(self, C: Geom2d_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... - @overload - def Init(self, C: Geom2d_Curve, P1: gp_Pnt2d, P2: gp_Pnt2d, p1: float, p2: float) -> None: ... - @overload - def Init(self, C: Geom2d_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex, p1: float, p2: float) -> None: ... - def IsDone(self) -> bool: ... - def Vertex1(self) -> TopoDS_Vertex: ... - def Vertex2(self) -> TopoDS_Vertex: ... + @overload + def __init__(self, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... + @overload + def __init__(self, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... + @overload + def __init__(self, L: gp_Lin2d) -> None: ... + @overload + def __init__(self, L: gp_Lin2d, p1: float, p2: float) -> None: ... + @overload + def __init__(self, L: gp_Lin2d, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... + @overload + def __init__(self, L: gp_Lin2d, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... + @overload + def __init__(self, L: gp_Circ2d) -> None: ... + @overload + def __init__(self, L: gp_Circ2d, p1: float, p2: float) -> None: ... + @overload + def __init__(self, L: gp_Circ2d, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... + @overload + def __init__(self, L: gp_Circ2d, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... + @overload + def __init__(self, L: gp_Elips2d) -> None: ... + @overload + def __init__(self, L: gp_Elips2d, p1: float, p2: float) -> None: ... + @overload + def __init__(self, L: gp_Elips2d, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... + @overload + def __init__(self, L: gp_Elips2d, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... + @overload + def __init__(self, L: gp_Hypr2d) -> None: ... + @overload + def __init__(self, L: gp_Hypr2d, p1: float, p2: float) -> None: ... + @overload + def __init__(self, L: gp_Hypr2d, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... + @overload + def __init__(self, L: gp_Hypr2d, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... + @overload + def __init__(self, L: gp_Parab2d) -> None: ... + @overload + def __init__(self, L: gp_Parab2d, p1: float, p2: float) -> None: ... + @overload + def __init__(self, L: gp_Parab2d, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... + @overload + def __init__(self, L: gp_Parab2d, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... + @overload + def __init__(self, L: Geom2d_Curve) -> None: ... + @overload + def __init__(self, L: Geom2d_Curve, p1: float, p2: float) -> None: ... + @overload + def __init__(self, L: Geom2d_Curve, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... + @overload + def __init__( + self, L: Geom2d_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex + ) -> None: ... + @overload + def __init__( + self, L: Geom2d_Curve, P1: gp_Pnt2d, P2: gp_Pnt2d, p1: float, p2: float + ) -> None: ... + @overload + def __init__( + self, + L: Geom2d_Curve, + V1: TopoDS_Vertex, + V2: TopoDS_Vertex, + p1: float, + p2: float, + ) -> None: ... + def Edge(self) -> TopoDS_Edge: ... + def Error(self) -> BRepBuilderAPI_EdgeError: ... + @overload + def Init(self, C: Geom2d_Curve) -> None: ... + @overload + def Init(self, C: Geom2d_Curve, p1: float, p2: float) -> None: ... + @overload + def Init(self, C: Geom2d_Curve, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... + @overload + def Init(self, C: Geom2d_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... + @overload + def Init( + self, C: Geom2d_Curve, P1: gp_Pnt2d, P2: gp_Pnt2d, p1: float, p2: float + ) -> None: ... + @overload + def Init( + self, + C: Geom2d_Curve, + V1: TopoDS_Vertex, + V2: TopoDS_Vertex, + p1: float, + p2: float, + ) -> None: ... + def IsDone(self) -> bool: ... + def Vertex1(self) -> TopoDS_Vertex: ... + def Vertex2(self) -> TopoDS_Vertex: ... class BRepBuilderAPI_MakeFace(BRepBuilderAPI_MakeShape): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, F: TopoDS_Face) -> None: ... - @overload - def __init__(self, P: gp_Pln) -> None: ... - @overload - def __init__(self, C: gp_Cylinder) -> None: ... - @overload - def __init__(self, C: gp_Cone) -> None: ... - @overload - def __init__(self, S: gp_Sphere) -> None: ... - @overload - def __init__(self, C: gp_Torus) -> None: ... - @overload - def __init__(self, S: Geom_Surface, TolDegen: float) -> None: ... - @overload - def __init__(self, P: gp_Pln, UMin: float, UMax: float, VMin: float, VMax: float) -> None: ... - @overload - def __init__(self, C: gp_Cylinder, UMin: float, UMax: float, VMin: float, VMax: float) -> None: ... - @overload - def __init__(self, C: gp_Cone, UMin: float, UMax: float, VMin: float, VMax: float) -> None: ... - @overload - def __init__(self, S: gp_Sphere, UMin: float, UMax: float, VMin: float, VMax: float) -> None: ... - @overload - def __init__(self, C: gp_Torus, UMin: float, UMax: float, VMin: float, VMax: float) -> None: ... - @overload - def __init__(self, S: Geom_Surface, UMin: float, UMax: float, VMin: float, VMax: float, TolDegen: float) -> None: ... - @overload - def __init__(self, W: TopoDS_Wire, OnlyPlane: Optional[bool] = False) -> None: ... - @overload - def __init__(self, P: gp_Pln, W: TopoDS_Wire, Inside: Optional[bool] = True) -> None: ... - @overload - def __init__(self, C: gp_Cylinder, W: TopoDS_Wire, Inside: Optional[bool] = True) -> None: ... - @overload - def __init__(self, C: gp_Cone, W: TopoDS_Wire, Inside: Optional[bool] = True) -> None: ... - @overload - def __init__(self, S: gp_Sphere, W: TopoDS_Wire, Inside: Optional[bool] = True) -> None: ... - @overload - def __init__(self, C: gp_Torus, W: TopoDS_Wire, Inside: Optional[bool] = True) -> None: ... - @overload - def __init__(self, S: Geom_Surface, W: TopoDS_Wire, Inside: Optional[bool] = True) -> None: ... - @overload - def __init__(self, F: TopoDS_Face, W: TopoDS_Wire) -> None: ... - def Add(self, W: TopoDS_Wire) -> None: ... - def Error(self) -> BRepBuilderAPI_FaceError: ... - def Face(self) -> TopoDS_Face: ... - @overload - def Init(self, F: TopoDS_Face) -> None: ... - @overload - def Init(self, S: Geom_Surface, Bound: bool, TolDegen: float) -> None: ... - @overload - def Init(self, S: Geom_Surface, UMin: float, UMax: float, VMin: float, VMax: float, TolDegen: float) -> None: ... - def IsDone(self) -> bool: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, F: TopoDS_Face) -> None: ... + @overload + def __init__(self, P: gp_Pln) -> None: ... + @overload + def __init__(self, C: gp_Cylinder) -> None: ... + @overload + def __init__(self, C: gp_Cone) -> None: ... + @overload + def __init__(self, S: gp_Sphere) -> None: ... + @overload + def __init__(self, C: gp_Torus) -> None: ... + @overload + def __init__(self, S: Geom_Surface, TolDegen: float) -> None: ... + @overload + def __init__( + self, P: gp_Pln, UMin: float, UMax: float, VMin: float, VMax: float + ) -> None: ... + @overload + def __init__( + self, C: gp_Cylinder, UMin: float, UMax: float, VMin: float, VMax: float + ) -> None: ... + @overload + def __init__( + self, C: gp_Cone, UMin: float, UMax: float, VMin: float, VMax: float + ) -> None: ... + @overload + def __init__( + self, S: gp_Sphere, UMin: float, UMax: float, VMin: float, VMax: float + ) -> None: ... + @overload + def __init__( + self, C: gp_Torus, UMin: float, UMax: float, VMin: float, VMax: float + ) -> None: ... + @overload + def __init__( + self, + S: Geom_Surface, + UMin: float, + UMax: float, + VMin: float, + VMax: float, + TolDegen: float, + ) -> None: ... + @overload + def __init__(self, W: TopoDS_Wire, OnlyPlane: Optional[bool] = False) -> None: ... + @overload + def __init__( + self, P: gp_Pln, W: TopoDS_Wire, Inside: Optional[bool] = True + ) -> None: ... + @overload + def __init__( + self, C: gp_Cylinder, W: TopoDS_Wire, Inside: Optional[bool] = True + ) -> None: ... + @overload + def __init__( + self, C: gp_Cone, W: TopoDS_Wire, Inside: Optional[bool] = True + ) -> None: ... + @overload + def __init__( + self, S: gp_Sphere, W: TopoDS_Wire, Inside: Optional[bool] = True + ) -> None: ... + @overload + def __init__( + self, C: gp_Torus, W: TopoDS_Wire, Inside: Optional[bool] = True + ) -> None: ... + @overload + def __init__( + self, S: Geom_Surface, W: TopoDS_Wire, Inside: Optional[bool] = True + ) -> None: ... + @overload + def __init__(self, F: TopoDS_Face, W: TopoDS_Wire) -> None: ... + def Add(self, W: TopoDS_Wire) -> None: ... + def Error(self) -> BRepBuilderAPI_FaceError: ... + def Face(self) -> TopoDS_Face: ... + @overload + def Init(self, F: TopoDS_Face) -> None: ... + @overload + def Init(self, S: Geom_Surface, Bound: bool, TolDegen: float) -> None: ... + @overload + def Init( + self, + S: Geom_Surface, + UMin: float, + UMax: float, + VMin: float, + VMax: float, + TolDegen: float, + ) -> None: ... + def IsDone(self) -> bool: ... class BRepBuilderAPI_MakePolygon(BRepBuilderAPI_MakeShape): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, P1: gp_Pnt, P2: gp_Pnt) -> None: ... - @overload - def __init__(self, P1: gp_Pnt, P2: gp_Pnt, P3: gp_Pnt, Close: Optional[bool] = False) -> None: ... - @overload - def __init__(self, P1: gp_Pnt, P2: gp_Pnt, P3: gp_Pnt, P4: gp_Pnt, Close: Optional[bool] = False) -> None: ... - @overload - def __init__(self, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... - @overload - def __init__(self, V1: TopoDS_Vertex, V2: TopoDS_Vertex, V3: TopoDS_Vertex, Close: Optional[bool] = False) -> None: ... - @overload - def __init__(self, V1: TopoDS_Vertex, V2: TopoDS_Vertex, V3: TopoDS_Vertex, V4: TopoDS_Vertex, Close: Optional[bool] = False) -> None: ... - @overload - def Add(self, P: gp_Pnt) -> None: ... - @overload - def Add(self, V: TopoDS_Vertex) -> None: ... - def Added(self) -> bool: ... - def Close(self) -> None: ... - def Edge(self) -> TopoDS_Edge: ... - def FirstVertex(self) -> TopoDS_Vertex: ... - def IsDone(self) -> bool: ... - def LastVertex(self) -> TopoDS_Vertex: ... - def Wire(self) -> TopoDS_Wire: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, P1: gp_Pnt, P2: gp_Pnt) -> None: ... + @overload + def __init__( + self, P1: gp_Pnt, P2: gp_Pnt, P3: gp_Pnt, Close: Optional[bool] = False + ) -> None: ... + @overload + def __init__( + self, + P1: gp_Pnt, + P2: gp_Pnt, + P3: gp_Pnt, + P4: gp_Pnt, + Close: Optional[bool] = False, + ) -> None: ... + @overload + def __init__(self, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... + @overload + def __init__( + self, + V1: TopoDS_Vertex, + V2: TopoDS_Vertex, + V3: TopoDS_Vertex, + Close: Optional[bool] = False, + ) -> None: ... + @overload + def __init__( + self, + V1: TopoDS_Vertex, + V2: TopoDS_Vertex, + V3: TopoDS_Vertex, + V4: TopoDS_Vertex, + Close: Optional[bool] = False, + ) -> None: ... + @overload + def Add(self, P: gp_Pnt) -> None: ... + @overload + def Add(self, V: TopoDS_Vertex) -> None: ... + def Added(self) -> bool: ... + def Close(self) -> None: ... + def Edge(self) -> TopoDS_Edge: ... + def FirstVertex(self) -> TopoDS_Vertex: ... + def IsDone(self) -> bool: ... + def LastVertex(self) -> TopoDS_Vertex: ... + def Wire(self) -> TopoDS_Wire: ... + +class BRepBuilderAPI_MakeShapeOnMesh(BRepBuilderAPI_MakeShape): + def __init__(self, theMesh: Poly_Triangulation) -> None: ... + def Build( + self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange() + ) -> None: ... class BRepBuilderAPI_MakeShell(BRepBuilderAPI_MakeShape): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, S: Geom_Surface, Segment: Optional[bool] = False) -> None: ... - @overload - def __init__(self, S: Geom_Surface, UMin: float, UMax: float, VMin: float, VMax: float, Segment: Optional[bool] = False) -> None: ... - def Error(self) -> BRepBuilderAPI_ShellError: ... - def Init(self, S: Geom_Surface, UMin: float, UMax: float, VMin: float, VMax: float, Segment: Optional[bool] = False) -> None: ... - def IsDone(self) -> bool: ... - def Shell(self) -> TopoDS_Shell: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, S: Geom_Surface, Segment: Optional[bool] = False) -> None: ... + @overload + def __init__( + self, + S: Geom_Surface, + UMin: float, + UMax: float, + VMin: float, + VMax: float, + Segment: Optional[bool] = False, + ) -> None: ... + def Error(self) -> BRepBuilderAPI_ShellError: ... + def Init( + self, + S: Geom_Surface, + UMin: float, + UMax: float, + VMin: float, + VMax: float, + Segment: Optional[bool] = False, + ) -> None: ... + def IsDone(self) -> bool: ... + def Shell(self) -> TopoDS_Shell: ... class BRepBuilderAPI_MakeSolid(BRepBuilderAPI_MakeShape): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, S: TopoDS_CompSolid) -> None: ... - @overload - def __init__(self, S: TopoDS_Shell) -> None: ... - @overload - def __init__(self, S1: TopoDS_Shell, S2: TopoDS_Shell) -> None: ... - @overload - def __init__(self, S1: TopoDS_Shell, S2: TopoDS_Shell, S3: TopoDS_Shell) -> None: ... - @overload - def __init__(self, So: TopoDS_Solid) -> None: ... - @overload - def __init__(self, So: TopoDS_Solid, S: TopoDS_Shell) -> None: ... - def Add(self, S: TopoDS_Shell) -> None: ... - def IsDeleted(self, S: TopoDS_Shape) -> bool: ... - def IsDone(self) -> bool: ... - def Solid(self) -> TopoDS_Solid: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, S: TopoDS_CompSolid) -> None: ... + @overload + def __init__(self, S: TopoDS_Shell) -> None: ... + @overload + def __init__(self, S1: TopoDS_Shell, S2: TopoDS_Shell) -> None: ... + @overload + def __init__( + self, S1: TopoDS_Shell, S2: TopoDS_Shell, S3: TopoDS_Shell + ) -> None: ... + @overload + def __init__(self, So: TopoDS_Solid) -> None: ... + @overload + def __init__(self, So: TopoDS_Solid, S: TopoDS_Shell) -> None: ... + def Add(self, S: TopoDS_Shell) -> None: ... + def IsDeleted(self, S: TopoDS_Shape) -> bool: ... + def IsDone(self) -> bool: ... + def Solid(self) -> TopoDS_Solid: ... class BRepBuilderAPI_MakeVertex(BRepBuilderAPI_MakeShape): - @overload - def __init__(self, P: gp_Pnt) -> None: ... - def Vertex(self) -> TopoDS_Vertex: ... + @overload + def __init__(self, P: gp_Pnt) -> None: ... + def Vertex(self) -> TopoDS_Vertex: ... class BRepBuilderAPI_MakeWire(BRepBuilderAPI_MakeShape): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, E: TopoDS_Edge) -> None: ... - @overload - def __init__(self, E1: TopoDS_Edge, E2: TopoDS_Edge) -> None: ... - @overload - def __init__(self, E1: TopoDS_Edge, E2: TopoDS_Edge, E3: TopoDS_Edge) -> None: ... - @overload - def __init__(self, E1: TopoDS_Edge, E2: TopoDS_Edge, E3: TopoDS_Edge, E4: TopoDS_Edge) -> None: ... - @overload - def __init__(self, W: TopoDS_Wire) -> None: ... - @overload - def __init__(self, W: TopoDS_Wire, E: TopoDS_Edge) -> None: ... - @overload - def Add(self, E: TopoDS_Edge) -> None: ... - @overload - def Add(self, W: TopoDS_Wire) -> None: ... - @overload - def Add(self, L: TopTools_ListOfShape) -> None: ... - def Edge(self) -> TopoDS_Edge: ... - def Error(self) -> BRepBuilderAPI_WireError: ... - def IsDone(self) -> bool: ... - def Vertex(self) -> TopoDS_Vertex: ... - def Wire(self) -> TopoDS_Wire: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, E: TopoDS_Edge) -> None: ... + @overload + def __init__(self, E1: TopoDS_Edge, E2: TopoDS_Edge) -> None: ... + @overload + def __init__(self, E1: TopoDS_Edge, E2: TopoDS_Edge, E3: TopoDS_Edge) -> None: ... + @overload + def __init__( + self, E1: TopoDS_Edge, E2: TopoDS_Edge, E3: TopoDS_Edge, E4: TopoDS_Edge + ) -> None: ... + @overload + def __init__(self, W: TopoDS_Wire) -> None: ... + @overload + def __init__(self, W: TopoDS_Wire, E: TopoDS_Edge) -> None: ... + @overload + def Add(self, E: TopoDS_Edge) -> None: ... + @overload + def Add(self, W: TopoDS_Wire) -> None: ... + @overload + def Add(self, L: TopTools_ListOfShape) -> None: ... + def Edge(self) -> TopoDS_Edge: ... + def Error(self) -> BRepBuilderAPI_WireError: ... + def IsDone(self) -> bool: ... + def Vertex(self) -> TopoDS_Vertex: ... + def Wire(self) -> TopoDS_Wire: ... class BRepBuilderAPI_ModifyShape(BRepBuilderAPI_MakeShape): - def Modified(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... - def ModifiedShape(self, S: TopoDS_Shape) -> TopoDS_Shape: ... + def Modified(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... + def ModifiedShape(self, S: TopoDS_Shape) -> TopoDS_Shape: ... class BRepBuilderAPI_Copy(BRepBuilderAPI_ModifyShape): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, S: TopoDS_Shape, copyGeom: Optional[bool] = True, copyMesh: Optional[bool] = False) -> None: ... - def Perform(self, S: TopoDS_Shape, copyGeom: Optional[bool] = True, copyMesh: Optional[bool] = False) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__( + self, + S: TopoDS_Shape, + copyGeom: Optional[bool] = True, + copyMesh: Optional[bool] = False, + ) -> None: ... + def Perform( + self, + S: TopoDS_Shape, + copyGeom: Optional[bool] = True, + copyMesh: Optional[bool] = False, + ) -> None: ... class BRepBuilderAPI_GTransform(BRepBuilderAPI_ModifyShape): - @overload - def __init__(self, T: gp_GTrsf) -> None: ... - @overload - def __init__(self, S: TopoDS_Shape, T: gp_GTrsf, Copy: Optional[bool] = False) -> None: ... - def Modified(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... - def ModifiedShape(self, S: TopoDS_Shape) -> TopoDS_Shape: ... - def Perform(self, S: TopoDS_Shape, Copy: Optional[bool] = False) -> None: ... + @overload + def __init__(self, T: gp_GTrsf) -> None: ... + @overload + def __init__( + self, S: TopoDS_Shape, T: gp_GTrsf, Copy: Optional[bool] = False + ) -> None: ... + def Modified(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... + def ModifiedShape(self, S: TopoDS_Shape) -> TopoDS_Shape: ... + def Perform(self, S: TopoDS_Shape, Copy: Optional[bool] = False) -> None: ... class BRepBuilderAPI_NurbsConvert(BRepBuilderAPI_ModifyShape): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, S: TopoDS_Shape, Copy: Optional[bool] = False) -> None: ... - def Modified(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... - def ModifiedShape(self, S: TopoDS_Shape) -> TopoDS_Shape: ... - def Perform(self, S: TopoDS_Shape, Copy: Optional[bool] = False) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, S: TopoDS_Shape, Copy: Optional[bool] = False) -> None: ... + def Modified(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... + def ModifiedShape(self, S: TopoDS_Shape) -> TopoDS_Shape: ... + def Perform(self, S: TopoDS_Shape, Copy: Optional[bool] = False) -> None: ... class BRepBuilderAPI_Transform(BRepBuilderAPI_ModifyShape): - @overload - def __init__(self, T: gp_Trsf) -> None: ... - @overload - def __init__(self, S: TopoDS_Shape, T: gp_Trsf, Copy: Optional[bool] = False) -> None: ... - def Modified(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... - def ModifiedShape(self, S: TopoDS_Shape) -> TopoDS_Shape: ... - def Perform(self, S: TopoDS_Shape, Copy: Optional[bool] = False) -> None: ... + @overload + def __init__(self, T: gp_Trsf) -> None: ... + @overload + def __init__( + self, + theShape: TopoDS_Shape, + theTrsf: gp_Trsf, + theCopyGeom: Optional[bool] = False, + theCopyMesh: Optional[bool] = False, + ) -> None: ... + def Modified(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... + def ModifiedShape(self, S: TopoDS_Shape) -> TopoDS_Shape: ... + def Perform( + self, + theShape: TopoDS_Shape, + theCopyGeom: Optional[bool] = False, + theCopyMesh: Optional[bool] = False, + ) -> None: ... # harray1 classes # harray2 classes # hsequence classes - -brepbuilderapi_Plane = brepbuilderapi.Plane -brepbuilderapi_Plane = brepbuilderapi.Plane -brepbuilderapi_Precision = brepbuilderapi.Precision -brepbuilderapi_Precision = brepbuilderapi.Precision diff --git a/src/SWIG_files/wrapper/BRepCheck.i b/src/SWIG_files/wrapper/BRepCheck.i index e7e3ad49b..36ee6aa13 100644 --- a/src/SWIG_files/wrapper/BRepCheck.i +++ b/src/SWIG_files/wrapper/BRepCheck.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPCHECKDOCSTRING "BRepCheck module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepcheck.html" +https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_brepcheck.html" %enddef %module (package="OCC.Core", docstring=BREPCHECKDOCSTRING) BRepCheck @@ -31,8 +31,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepcheck.html" %include ../common/CommonIncludes.i %include ../common/ExceptionCatcher.i %include ../common/FunctionTransformers.i +%include ../common/EnumTemplates.i %include ../common/Operators.i %include ../common/OccHandle.i +%include ../common/IOStream.i +%include ../common/ArrayMacros.i %{ @@ -109,7 +112,7 @@ enum BRepCheck_Status { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class BRepCheck_Status(IntEnum): @@ -201,8 +204,7 @@ BRepCheck_CheckFail = BRepCheck_Status.BRepCheck_CheckFail /* end handles declaration */ /* templates */ -%template(BRepCheck_DataMapOfShapeListOfStatus) NCollection_DataMap; -%template(BRepCheck_DataMapOfShapeResult) NCollection_DataMap,TopTools_OrientedShapeMapHasher>; +%template(BRepCheck_IndexedDataMapOfShapeResult) NCollection_IndexedDataMap>; %template(BRepCheck_ListIteratorOfListOfStatus) NCollection_TListIterator; %template(BRepCheck_ListOfStatus) NCollection_List; @@ -210,15 +212,21 @@ BRepCheck_CheckFail = BRepCheck_Status.BRepCheck_CheckFail %pythoncode { def __len__(self): return self.Size() + + def __iter__(self): + it = BRepCheck_ListIteratorOfListOfStatus(self.this) + while it.More(): + yield it.Value() + it.Next() } }; /* end templates declaration */ /* typedefs */ -typedef NCollection_DataMap::Iterator BRepCheck_DataMapIteratorOfDataMapOfShapeListOfStatus; -typedef NCollection_DataMap, TopTools_OrientedShapeMapHasher>::Iterator BRepCheck_DataMapIteratorOfDataMapOfShapeResult; -typedef NCollection_DataMap BRepCheck_DataMapOfShapeListOfStatus; -typedef NCollection_DataMap, TopTools_OrientedShapeMapHasher> BRepCheck_DataMapOfShapeResult; +typedef NCollection_DataMap), TopTools_ShapeMapHasher>::Iterator BRepCheck_DataMapIteratorOfDataMapOfShapeListOfStatus; +typedef NCollection_DataMap), TopTools_ShapeMapHasher> BRepCheck_DataMapOfShapeListOfStatus; +typedef NCollection_Shared BRepCheck_HListOfStatus; +typedef NCollection_IndexedDataMap> BRepCheck_IndexedDataMapOfShapeResult; typedef NCollection_List::Iterator BRepCheck_ListIteratorOfListOfStatus; typedef NCollection_List BRepCheck_ListOfStatus; /* end typedefs declaration */ @@ -229,57 +237,83 @@ typedef NCollection_List BRepCheck_ListOfStatus; %rename(brepcheck) BRepCheck; class BRepCheck { public: - /****************** Add ******************/ - /**** md5 signature: bedfa5bf84f03f430e2a976318bd4d44 ****/ + /****** BRepCheck::Add ******/ + /****** md5 signature: bedfa5bf84f03f430e2a976318bd4d44 ******/ %feature("compactdefaultargs") Add; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- List: BRepCheck_ListOfStatus Stat: BRepCheck_Status -Returns +Return ------- None + +Description +----------- +No available documentation. ") Add; static void Add(BRepCheck_ListOfStatus & List, const BRepCheck_Status Stat); - /****************** PrecCurve ******************/ - /**** md5 signature: ca69acd06fec0c99014d9a2e8efe98cf ****/ + /****** BRepCheck::PrecCurve ******/ + /****** md5 signature: ca69acd06fec0c99014d9a2e8efe98cf ******/ %feature("compactdefaultargs") PrecCurve; - %feature("autodoc", "Returns the resolution on the 3d curve. - + %feature("autodoc", " Parameters ---------- aAC3D: Adaptor3d_Curve -Returns +Return ------- float + +Description +----------- +Returns the resolution on the 3d curve. ") PrecCurve; static Standard_Real PrecCurve(const Adaptor3d_Curve & aAC3D); - /****************** PrecSurface ******************/ - /**** md5 signature: 1ee0cf2b6eac4a6cd14cb86720323439 ****/ + /****** BRepCheck::PrecSurface ******/ + /****** md5 signature: 6f4c623dddf91472dbeeff8461bbbbf9 ******/ %feature("compactdefaultargs") PrecSurface; - %feature("autodoc", "Returns the resolution on the surface. - + %feature("autodoc", " Parameters ---------- -aAHSurf: Adaptor3d_HSurface +aAHSurf: Adaptor3d_Surface -Returns +Return ------- float + +Description +----------- +Returns the resolution on the surface. ") PrecSurface; - static Standard_Real PrecSurface(const opencascade::handle & aAHSurf); + static Standard_Real PrecSurface(const opencascade::handle & aAHSurf); - /****************** SelfIntersection ******************/ - /**** md5 signature: bb04b20d19bd60ec83e4525199c06c3b ****/ - %feature("compactdefaultargs") SelfIntersection; - %feature("autodoc", "No available documentation. + /****** BRepCheck::Print ******/ + /****** md5 signature: 0f4f5589255e0cda18fd387e5d4e5b49 ******/ + %feature("compactdefaultargs") Print; + %feature("autodoc", " +Parameters +---------- +Stat: BRepCheck_Status + +Return +------- +OS: Standard_OStream + +Description +----------- +No available documentation. +") Print; + static void Print(const BRepCheck_Status Stat, std::ostream &OutValue); + /****** BRepCheck::SelfIntersection ******/ + /****** md5 signature: bb04b20d19bd60ec83e4525199c06c3b ******/ + %feature("compactdefaultargs") SelfIntersection; + %feature("autodoc", " Parameters ---------- W: TopoDS_Wire @@ -287,9 +321,13 @@ F: TopoDS_Face E1: TopoDS_Edge E2: TopoDS_Edge -Returns +Return ------- bool + +Description +----------- +No available documentation. ") SelfIntersection; static Standard_Boolean SelfIntersection(const TopoDS_Wire & W, const TopoDS_Face & F, TopoDS_Edge & E1, TopoDS_Edge & E2); @@ -307,80 +345,156 @@ bool ***************************/ class BRepCheck_Analyzer { public: - /****************** BRepCheck_Analyzer ******************/ - /**** md5 signature: 1ea01ba3f32c876f168d8f18b7120753 ****/ + /****** BRepCheck_Analyzer::BRepCheck_Analyzer ******/ + /****** md5 signature: c4951524e7a1ce44dddda94aa6e9d260 ******/ %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", " Parameters ---------- S: TopoDS_Shape -GeomControls: bool,optional - default value is Standard_True +GeomControls: bool (optional, default to Standard_True) +theIsParallel: bool (optional, default to Standard_False) +theIsExact: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +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. ") BRepCheck_Analyzer; - BRepCheck_Analyzer(const TopoDS_Shape & S, const Standard_Boolean GeomControls = Standard_True); + BRepCheck_Analyzer(const TopoDS_Shape & S, const Standard_Boolean GeomControls = Standard_True, const Standard_Boolean theIsParallel = Standard_False, const Standard_Boolean theIsExact = Standard_False); - /****************** Init ******************/ - /**** md5 signature: 5196c4939ad07fcdde4186169aa9d21c ****/ + /****** BRepCheck_Analyzer::Init ******/ + /****** md5 signature: 5196c4939ad07fcdde4186169aa9d21c ******/ %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. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -GeomControls: bool,optional - default value is Standard_True +GeomControls: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- + 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; void Init(const TopoDS_Shape & S, const Standard_Boolean GeomControls = Standard_True); - /****************** IsValid ******************/ - /**** md5 signature: 067e002b3bd9e0362264cfada4f4eeac ****/ - %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. + /****** BRepCheck_Analyzer::IsExactMethod ******/ + /****** md5 signature: 5e4b019881aa7aa6b5765966d6b467ca ******/ + %feature("compactdefaultargs") IsExactMethod; + %feature("autodoc", "Return +------- +bool + +Description +----------- +Returns true if exact method selected. +") IsExactMethod; + Standard_Boolean IsExactMethod(); + + /****** BRepCheck_Analyzer::IsParallel ******/ + /****** md5 signature: fc1de18a583c6aa3b3d9897c80aa553e ******/ + %feature("compactdefaultargs") IsParallel; + %feature("autodoc", "Return +------- +bool +Description +----------- +Returns true if parallel flag is set. +") IsParallel; + Standard_Boolean IsParallel(); + + /****** BRepCheck_Analyzer::IsValid ******/ + /****** md5 signature: 067e002b3bd9e0362264cfada4f4eeac ******/ + %feature("compactdefaultargs") IsValid; + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- bool + +Description +----------- + is a subshape of the original shape. Returns if no default has been detected on and any of its subshape. ") IsValid; Standard_Boolean IsValid(const TopoDS_Shape & S); - /****************** IsValid ******************/ - /**** md5 signature: 2809e700423e4fe6ecd395953f3a2406 ****/ + /****** BRepCheck_Analyzer::IsValid ******/ + /****** md5 signature: 7d115ff85bb657b98ab8790006673845 ******/ %feature("compactdefaultargs") IsValid; - %feature("autodoc", "Returns true if no defect is detected on the shape s or any of its subshapes. returns true if the shape s is valid. this function checks whether a given shape is valid by checking that: - the topology is correct - parameterization of edges in particular is correct. for the topology to be correct, the following conditions must be satisfied: - edges should have at least two vertices if they are not degenerate edges. the vertices should be within the range of the bounding edges at the tolerance specified in the vertex, - edges should share at least one face. the representation of the edges should be within the tolerance criterion assigned to them. - wires defining a face should not self-intersect and should be closed, - there should be one wire which contains all other wires inside a face, - wires should be correctly oriented with respect to each of the edges, - faces should be correctly oriented, in particular with respect to adjacent faces if these faces define a solid, - shells defining a solid should be closed. there should be one enclosing shell if the shape is a solid; to check parameterization of edge, there are 2 approaches depending on the edge?s contextual situation. - if the edge is either single, or it is in the context of a wire or a compound, its parameterization is defined by the parameterization of its 3d curve and is considered as valid. - if the edge is in the context of a face, it should have sameparameter and samerange flags set to standard_true. to check these flags, you should call the function brep_tool::sameparameter and brep_tool::samerange for an edge. if at least one of these flags is set to standard_false, the edge is considered as invalid without any additional check. if the edge is contained by a face, and it has sameparameter and samerange flags set to standard_true, isvalid checks whether representation of the edge on face, in context of which the edge is considered, has the same parameterization up to the tolerance value coded on the edge. for a given parameter t on the edge having c as a 3d curve and one pcurve p on a surface s (base surface of the reference face), this checks that |c(t) - s(p(t))| is less than or equal to tolerance, where tolerance is the tolerance value coded on the edge. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +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. ") IsValid; Standard_Boolean IsValid(); - /****************** Result ******************/ - /**** md5 signature: 7fd5f89db753d52aa955dc54a91f1dca ****/ + /****** BRepCheck_Analyzer::Result ******/ + /****** md5 signature: 4d39ddda3bce0424b01a6b2fbba14ad2 ******/ %feature("compactdefaultargs") Result; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -SubS: TopoDS_Shape +theSubS: TopoDS_Shape -Returns +Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Result; - const opencascade::handle & Result(const TopoDS_Shape & SubS); + const opencascade::handle & Result(const TopoDS_Shape & theSubS); + + /****** BRepCheck_Analyzer::SetExactMethod ******/ + /****** md5 signature: 7e9fb7a39514337474c163d15b041f18 ******/ + %feature("compactdefaultargs") SetExactMethod; + %feature("autodoc", " +Parameters +---------- +theIsExact: bool + +Return +------- +None + +Description +----------- +Sets method to calculate distance: Calculating in finite number of points (if theIsExact is false, faster, but possible not correct result) or exact calculating by using BRepLib_CheckCurveOnSurface class (if theIsExact is true, slowly, but more correctly). Exact method is used only when edge is SameParameter. Default method is calculating in finite number of points. +") SetExactMethod; + void SetExactMethod(const Standard_Boolean theIsExact); + + /****** BRepCheck_Analyzer::SetParallel ******/ + /****** md5 signature: 91c6328a8c6135d4f1f1da7db8aee28f ******/ + %feature("compactdefaultargs") SetParallel; + %feature("autodoc", " +Parameters +---------- +theIsParallel: bool + +Return +------- +None + +Description +----------- +Sets parallel flag. +") SetParallel; + void SetParallel(const Standard_Boolean theIsParallel); }; @@ -397,175 +511,243 @@ opencascade::handle %nodefaultctor BRepCheck_Result; class BRepCheck_Result : public Standard_Transient { public: - /****************** Blind ******************/ - /**** md5 signature: a1ab049e14b32de120dd2ea19807b88d ****/ + /****** BRepCheck_Result::Blind ******/ + /****** md5 signature: a1ab049e14b32de120dd2ea19807b88d ******/ %feature("compactdefaultargs") Blind; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") Blind; virtual void Blind(); - /****************** ContextualShape ******************/ - /**** md5 signature: a584ebc1dedd342131b091fe5e1e437d ****/ + /****** BRepCheck_Result::ContextualShape ******/ + /****** md5 signature: eb8bd6cde885ea4f72b149425281ff43 ******/ %feature("compactdefaultargs") ContextualShape; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +No available documentation. ") ContextualShape; const TopoDS_Shape ContextualShape(); - /****************** InContext ******************/ - /**** md5 signature: 0fa7f35fe7112fd6ac32ee69a7cd8f93 ****/ + /****** BRepCheck_Result::InContext ******/ + /****** md5 signature: 0fa7f35fe7112fd6ac32ee69a7cd8f93 ******/ %feature("compactdefaultargs") InContext; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- ContextShape: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +No available documentation. ") InContext; virtual void InContext(const TopoDS_Shape & ContextShape); - /****************** Init ******************/ - /**** md5 signature: 5b69b32485b3d9f82ae4abb9c853c3c7 ****/ + /****** BRepCheck_Result::Init ******/ + /****** md5 signature: 5b69b32485b3d9f82ae4abb9c853c3c7 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +No available documentation. ") Init; void Init(const TopoDS_Shape & S); - /****************** InitContextIterator ******************/ - /**** md5 signature: 055b8946b118029a0bda6f11c38e1af0 ****/ + /****** BRepCheck_Result::InitContextIterator ******/ + /****** md5 signature: 055b8946b118029a0bda6f11c38e1af0 ******/ %feature("compactdefaultargs") InitContextIterator; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") InitContextIterator; void InitContextIterator(); - /****************** IsBlind ******************/ - /**** md5 signature: ff5e40e27b44b4cdc0af878d02e09a0e ****/ + /****** BRepCheck_Result::IsBlind ******/ + /****** md5 signature: 7bdfbaa9abb88d00524ebffdd69f140b ******/ %feature("compactdefaultargs") IsBlind; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsBlind; Standard_Boolean IsBlind(); - /****************** IsMinimum ******************/ - /**** md5 signature: 6488fc4883a388bc6a5f73438abeaae1 ****/ + /****** BRepCheck_Result::IsMinimum ******/ + /****** md5 signature: a6bf8651a71b5ace0b26012ddb26bfd5 ******/ %feature("compactdefaultargs") IsMinimum; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsMinimum; Standard_Boolean IsMinimum(); - /****************** Minimum ******************/ - /**** md5 signature: 567db75783723918a8acfdd7121b3ae4 ****/ - %feature("compactdefaultargs") Minimum; - %feature("autodoc", "No available documentation. + /****** BRepCheck_Result::IsStatusOnShape ******/ + /****** md5 signature: 7a9b88e66fff4774274cebabd6b916eb ******/ + %feature("compactdefaultargs") IsStatusOnShape; + %feature("autodoc", " +Parameters +---------- +theShape: TopoDS_Shape -Returns +Return +------- +bool + +Description +----------- +No available documentation. +") IsStatusOnShape; + Standard_Boolean IsStatusOnShape(const TopoDS_Shape & theShape); + + /****** BRepCheck_Result::Minimum ******/ + /****** md5 signature: 567db75783723918a8acfdd7121b3ae4 ******/ + %feature("compactdefaultargs") Minimum; + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") Minimum; virtual void Minimum(); - /****************** MoreShapeInContext ******************/ - /**** md5 signature: abe30661c8b45664c5aa94279afd2fd5 ****/ + /****** BRepCheck_Result::MoreShapeInContext ******/ + /****** md5 signature: aaff979dbb1ba3d73332a5aa219d6b33 ******/ %feature("compactdefaultargs") MoreShapeInContext; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") MoreShapeInContext; Standard_Boolean MoreShapeInContext(); - /****************** NextShapeInContext ******************/ - /**** md5 signature: 279884531473bc64fc375fb134c53593 ****/ + /****** BRepCheck_Result::NextShapeInContext ******/ + /****** md5 signature: 279884531473bc64fc375fb134c53593 ******/ %feature("compactdefaultargs") NextShapeInContext; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") NextShapeInContext; void NextShapeInContext(); - /****************** SetFailStatus ******************/ - /**** md5 signature: 258e6542a6a15f2fae38c3b9476b7210 ****/ + /****** BRepCheck_Result::SetFailStatus ******/ + /****** md5 signature: 258e6542a6a15f2fae38c3b9476b7210 ******/ %feature("compactdefaultargs") SetFailStatus; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetFailStatus; void SetFailStatus(const TopoDS_Shape & S); - /****************** Status ******************/ - /**** md5 signature: 2b35975a0de3dfdf852d1653c75a7cab ****/ - %feature("compactdefaultargs") Status; - %feature("autodoc", "No available documentation. + /****** BRepCheck_Result::SetParallel ******/ + /****** md5 signature: 75181e0ac6329b778751501d9f3f15d9 ******/ + %feature("compactdefaultargs") SetParallel; + %feature("autodoc", " +Parameters +---------- +theIsParallel: bool + +Return +------- +None -Returns +Description +----------- +No available documentation. +") SetParallel; + void SetParallel(Standard_Boolean theIsParallel); + + /****** BRepCheck_Result::Status ******/ + /****** md5 signature: 64167c852e0650aecc4792387cb6ad32 ******/ + %feature("compactdefaultargs") Status; + %feature("autodoc", "Return ------- BRepCheck_ListOfStatus + +Description +----------- +No available documentation. ") Status; const BRepCheck_ListOfStatus & Status(); - /****************** StatusOnShape ******************/ - /**** md5 signature: ea055126ff7476811793b92dafd7757d ****/ + /****** BRepCheck_Result::StatusOnShape ******/ + /****** md5 signature: 9d703d3594f470498bdec69da88c13b2 ******/ %feature("compactdefaultargs") StatusOnShape; - %feature("autodoc", "If not already done, performs the incontext control and returns the list of status. - -Parameters ----------- -S: TopoDS_Shape - -Returns + %feature("autodoc", "Return ------- BRepCheck_ListOfStatus + +Description +----------- +No available documentation. ") StatusOnShape; - const BRepCheck_ListOfStatus & StatusOnShape(const TopoDS_Shape & S); + const BRepCheck_ListOfStatus & StatusOnShape(); - /****************** StatusOnShape ******************/ - /**** md5 signature: b9a7334597b91c919b966f5d1e8d799f ****/ + /****** BRepCheck_Result::StatusOnShape ******/ + /****** md5 signature: c188dfc8bfd0a5dda5145143d5c9b549 ******/ %feature("compactdefaultargs") StatusOnShape; - %feature("autodoc", "No available documentation. + %feature("autodoc", " +Parameters +---------- +theShape: TopoDS_Shape -Returns +Return ------- BRepCheck_ListOfStatus + +Description +----------- +No available documentation. ") StatusOnShape; - const BRepCheck_ListOfStatus & StatusOnShape(); + const BRepCheck_ListOfStatus & StatusOnShape(const TopoDS_Shape & theShape); }; @@ -583,122 +765,176 @@ BRepCheck_ListOfStatus ***********************/ class BRepCheck_Edge : public BRepCheck_Result { public: - /****************** BRepCheck_Edge ******************/ - /**** md5 signature: ca66a001fe402a1661316ddbfbe09937 ****/ + /****** BRepCheck_Edge::BRepCheck_Edge ******/ + /****** md5 signature: ca66a001fe402a1661316ddbfbe09937 ******/ %feature("compactdefaultargs") BRepCheck_Edge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepCheck_Edge; BRepCheck_Edge(const TopoDS_Edge & E); - /****************** Blind ******************/ - /**** md5 signature: 05cb8700c802bda95aa5d71d47a1c542 ****/ + /****** BRepCheck_Edge::Blind ******/ + /****** md5 signature: 05cb8700c802bda95aa5d71d47a1c542 ******/ %feature("compactdefaultargs") Blind; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") Blind; void Blind(); - /****************** CheckPolygonOnTriangulation ******************/ - /**** md5 signature: 4d8b4b0088c17108fc572dd80979b176 ****/ + /****** BRepCheck_Edge::CheckPolygonOnTriangulation ******/ + /****** md5 signature: 4d8b4b0088c17108fc572dd80979b176 ******/ %feature("compactdefaultargs") CheckPolygonOnTriangulation; - %feature("autodoc", "Checks, if polygon on triangulation of heedge is out of 3d-curve of this edge. - + %feature("autodoc", " Parameters ---------- theEdge: TopoDS_Edge -Returns +Return ------- BRepCheck_Status + +Description +----------- +Checks, if polygon on triangulation of heEdge is out of 3D-curve of this edge. ") CheckPolygonOnTriangulation; BRepCheck_Status CheckPolygonOnTriangulation(const TopoDS_Edge & theEdge); - /****************** GeometricControls ******************/ - /**** md5 signature: 37d96a49d68a7118896a14ac30457fb2 ****/ + /****** BRepCheck_Edge::GeometricControls ******/ + /****** md5 signature: 37d96a49d68a7118896a14ac30457fb2 ******/ %feature("compactdefaultargs") GeometricControls; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") GeometricControls; Standard_Boolean GeometricControls(); - /****************** GeometricControls ******************/ - /**** md5 signature: 16194f16c24aad512d5519bba6fbad11 ****/ + /****** BRepCheck_Edge::GeometricControls ******/ + /****** md5 signature: 16194f16c24aad512d5519bba6fbad11 ******/ %feature("compactdefaultargs") GeometricControls; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- B: bool -Returns +Return ------- None + +Description +----------- +No available documentation. ") GeometricControls; void GeometricControls(const Standard_Boolean B); - /****************** InContext ******************/ - /**** md5 signature: 068e04b29819e902bf375d055c106b65 ****/ + /****** BRepCheck_Edge::InContext ******/ + /****** md5 signature: 068e04b29819e902bf375d055c106b65 ******/ %feature("compactdefaultargs") InContext; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- ContextShape: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +No available documentation. ") InContext; void InContext(const TopoDS_Shape & ContextShape); - /****************** Minimum ******************/ - /**** md5 signature: bcca4bce745250eb4a0cbc554641b42d ****/ - %feature("compactdefaultargs") Minimum; - %feature("autodoc", "No available documentation. + /****** BRepCheck_Edge::IsExactMethod ******/ + /****** md5 signature: 5e4b019881aa7aa6b5765966d6b467ca ******/ + %feature("compactdefaultargs") IsExactMethod; + %feature("autodoc", "Return +------- +bool -Returns +Description +----------- +Returns true if exact method selected. +") IsExactMethod; + Standard_Boolean IsExactMethod(); + + /****** BRepCheck_Edge::Minimum ******/ + /****** md5 signature: bcca4bce745250eb4a0cbc554641b42d ******/ + %feature("compactdefaultargs") Minimum; + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") Minimum; void Minimum(); - /****************** SetStatus ******************/ - /**** md5 signature: 86ab384d3d45dec24b5a7e095ad3e061 ****/ - %feature("compactdefaultargs") SetStatus; - %feature("autodoc", "Sets status of edge;. + /****** BRepCheck_Edge::SetExactMethod ******/ + /****** md5 signature: 61e71faebec158e548494f19380d6da6 ******/ + %feature("compactdefaultargs") SetExactMethod; + %feature("autodoc", " +Parameters +---------- +theIsExact: bool + +Return +------- +None + +Description +----------- +Sets method to calculate distance: Calculating in finite number of points (if theIsExact is false, faster, but possible not correct result) or exact calculating by using BRepLib_CheckCurveOnSurface class (if theIsExact is true, slowly, but more correctly). Exact method is used only when edge is SameParameter. Default method is calculating in finite number of points. +") SetExactMethod; + void SetExactMethod(Standard_Boolean theIsExact); + /****** BRepCheck_Edge::SetStatus ******/ + /****** md5 signature: 86ab384d3d45dec24b5a7e095ad3e061 ******/ + %feature("compactdefaultargs") SetStatus; + %feature("autodoc", " Parameters ---------- theStatus: BRepCheck_Status -Returns +Return ------- None + +Description +----------- +Sets status of Edge;. ") SetStatus; void SetStatus(const BRepCheck_Status theStatus); - /****************** Tolerance ******************/ - /**** md5 signature: 014b06346af255e506514edbf19cdb2c ****/ + /****** BRepCheck_Edge::Tolerance ******/ + /****** md5 signature: 014b06346af255e506514edbf19cdb2c ******/ %feature("compactdefaultargs") Tolerance; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") Tolerance; Standard_Real Tolerance(); @@ -718,166 +954,194 @@ float ***********************/ class BRepCheck_Face : public BRepCheck_Result { public: - /****************** BRepCheck_Face ******************/ - /**** md5 signature: ffaa5efe498f128a0f1112b1a5efeb0e ****/ + /****** BRepCheck_Face::BRepCheck_Face ******/ + /****** md5 signature: ffaa5efe498f128a0f1112b1a5efeb0e ******/ %feature("compactdefaultargs") BRepCheck_Face; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepCheck_Face; BRepCheck_Face(const TopoDS_Face & F); - /****************** Blind ******************/ - /**** md5 signature: 05cb8700c802bda95aa5d71d47a1c542 ****/ + /****** BRepCheck_Face::Blind ******/ + /****** md5 signature: 05cb8700c802bda95aa5d71d47a1c542 ******/ %feature("compactdefaultargs") Blind; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") Blind; void Blind(); - /****************** ClassifyWires ******************/ - /**** md5 signature: bb809bae2576b6926cd5d7fae290be65 ****/ + /****** BRepCheck_Face::ClassifyWires ******/ + /****** md5 signature: bb809bae2576b6926cd5d7fae290be65 ******/ %feature("compactdefaultargs") ClassifyWires; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Update: bool,optional - default value is Standard_False +Update: bool (optional, default to Standard_False) -Returns +Return ------- BRepCheck_Status + +Description +----------- +No available documentation. ") ClassifyWires; BRepCheck_Status ClassifyWires(const Standard_Boolean Update = Standard_False); - /****************** GeometricControls ******************/ - /**** md5 signature: 37d96a49d68a7118896a14ac30457fb2 ****/ + /****** BRepCheck_Face::GeometricControls ******/ + /****** md5 signature: 37d96a49d68a7118896a14ac30457fb2 ******/ %feature("compactdefaultargs") GeometricControls; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") GeometricControls; Standard_Boolean GeometricControls(); - /****************** GeometricControls ******************/ - /**** md5 signature: 16194f16c24aad512d5519bba6fbad11 ****/ + /****** BRepCheck_Face::GeometricControls ******/ + /****** md5 signature: 16194f16c24aad512d5519bba6fbad11 ******/ %feature("compactdefaultargs") GeometricControls; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- B: bool -Returns +Return ------- None + +Description +----------- +No available documentation. ") GeometricControls; void GeometricControls(const Standard_Boolean B); - /****************** InContext ******************/ - /**** md5 signature: 068e04b29819e902bf375d055c106b65 ****/ + /****** BRepCheck_Face::InContext ******/ + /****** md5 signature: 068e04b29819e902bf375d055c106b65 ******/ %feature("compactdefaultargs") InContext; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- ContextShape: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +No available documentation. ") InContext; void InContext(const TopoDS_Shape & ContextShape); - /****************** IntersectWires ******************/ - /**** md5 signature: c3735730ccec0181832410a49f869f1f ****/ + /****** BRepCheck_Face::IntersectWires ******/ + /****** md5 signature: c3735730ccec0181832410a49f869f1f ******/ %feature("compactdefaultargs") IntersectWires; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Update: bool,optional - default value is Standard_False +Update: bool (optional, default to Standard_False) -Returns +Return ------- BRepCheck_Status + +Description +----------- +No available documentation. ") IntersectWires; BRepCheck_Status IntersectWires(const Standard_Boolean Update = Standard_False); - /****************** IsUnorientable ******************/ - /**** md5 signature: 17483e961c63ce65c4e2be8f16bc72a0 ****/ + /****** BRepCheck_Face::IsUnorientable ******/ + /****** md5 signature: 17483e961c63ce65c4e2be8f16bc72a0 ******/ %feature("compactdefaultargs") IsUnorientable; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsUnorientable; Standard_Boolean IsUnorientable(); - /****************** Minimum ******************/ - /**** md5 signature: bcca4bce745250eb4a0cbc554641b42d ****/ + /****** BRepCheck_Face::Minimum ******/ + /****** md5 signature: bcca4bce745250eb4a0cbc554641b42d ******/ %feature("compactdefaultargs") Minimum; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") Minimum; void Minimum(); - /****************** OrientationOfWires ******************/ - /**** md5 signature: 3d0ccc0a3319e206c424d8d492226c82 ****/ + /****** BRepCheck_Face::OrientationOfWires ******/ + /****** md5 signature: 3d0ccc0a3319e206c424d8d492226c82 ******/ %feature("compactdefaultargs") OrientationOfWires; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Update: bool,optional - default value is Standard_False +Update: bool (optional, default to Standard_False) -Returns +Return ------- BRepCheck_Status + +Description +----------- +No available documentation. ") OrientationOfWires; BRepCheck_Status OrientationOfWires(const Standard_Boolean Update = Standard_False); - /****************** SetStatus ******************/ - /**** md5 signature: 86ab384d3d45dec24b5a7e095ad3e061 ****/ + /****** BRepCheck_Face::SetStatus ******/ + /****** md5 signature: 86ab384d3d45dec24b5a7e095ad3e061 ******/ %feature("compactdefaultargs") SetStatus; - %feature("autodoc", "Sets status of face;. - + %feature("autodoc", " Parameters ---------- theStatus: BRepCheck_Status -Returns +Return ------- None + +Description +----------- +Sets status of Face;. ") SetStatus; void SetStatus(const BRepCheck_Status theStatus); - /****************** SetUnorientable ******************/ - /**** md5 signature: 2f269456d5f1ea5e8b2cc3a49e5ea74f ****/ + /****** BRepCheck_Face::SetUnorientable ******/ + /****** md5 signature: 2f269456d5f1ea5e8b2cc3a49e5ea74f ******/ %feature("compactdefaultargs") SetUnorientable; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") SetUnorientable; void SetUnorientable(); @@ -897,124 +1161,145 @@ None ************************/ class BRepCheck_Shell : public BRepCheck_Result { public: - /****************** BRepCheck_Shell ******************/ - /**** md5 signature: 309826e2b109bc8c22ada37375badcaf ****/ + /****** BRepCheck_Shell::BRepCheck_Shell ******/ + /****** md5 signature: 309826e2b109bc8c22ada37375badcaf ******/ %feature("compactdefaultargs") BRepCheck_Shell; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shell -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepCheck_Shell; BRepCheck_Shell(const TopoDS_Shell & S); - /****************** Blind ******************/ - /**** md5 signature: 05cb8700c802bda95aa5d71d47a1c542 ****/ + /****** BRepCheck_Shell::Blind ******/ + /****** md5 signature: 05cb8700c802bda95aa5d71d47a1c542 ******/ %feature("compactdefaultargs") Blind; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") Blind; void Blind(); - /****************** Closed ******************/ - /**** md5 signature: 13c91693b79f0b3874479828b766a2ec ****/ + /****** BRepCheck_Shell::Closed ******/ + /****** md5 signature: 13c91693b79f0b3874479828b766a2ec ******/ %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. - + %feature("autodoc", " Parameters ---------- -Update: bool,optional - default value is Standard_False +Update: bool (optional, default to Standard_False) -Returns +Return ------- BRepCheck_Status + +Description +----------- +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; BRepCheck_Status Closed(const Standard_Boolean Update = Standard_False); - /****************** InContext ******************/ - /**** md5 signature: 068e04b29819e902bf375d055c106b65 ****/ + /****** BRepCheck_Shell::InContext ******/ + /****** md5 signature: 068e04b29819e902bf375d055c106b65 ******/ %feature("compactdefaultargs") InContext; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- ContextShape: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +No available documentation. ") InContext; void InContext(const TopoDS_Shape & ContextShape); - /****************** IsUnorientable ******************/ - /**** md5 signature: 17483e961c63ce65c4e2be8f16bc72a0 ****/ + /****** BRepCheck_Shell::IsUnorientable ******/ + /****** md5 signature: 17483e961c63ce65c4e2be8f16bc72a0 ******/ %feature("compactdefaultargs") IsUnorientable; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsUnorientable; Standard_Boolean IsUnorientable(); - /****************** Minimum ******************/ - /**** md5 signature: bcca4bce745250eb4a0cbc554641b42d ****/ + /****** BRepCheck_Shell::Minimum ******/ + /****** md5 signature: bcca4bce745250eb4a0cbc554641b42d ******/ %feature("compactdefaultargs") Minimum; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") Minimum; void Minimum(); - /****************** NbConnectedSet ******************/ - /**** md5 signature: 486bb36e33ee94a7ee60e1326cdd8de4 ****/ + /****** BRepCheck_Shell::NbConnectedSet ******/ + /****** md5 signature: 486bb36e33ee94a7ee60e1326cdd8de4 ******/ %feature("compactdefaultargs") NbConnectedSet; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theSets: TopTools_ListOfShape -Returns +Return ------- int + +Description +----------- +No available documentation. ") NbConnectedSet; Standard_Integer NbConnectedSet(TopTools_ListOfShape & theSets); - /****************** Orientation ******************/ - /**** md5 signature: 3ac937d67db0dcd6512a5c13770310c9 ****/ + /****** BRepCheck_Shell::Orientation ******/ + /****** md5 signature: 3ac937d67db0dcd6512a5c13770310c9 ******/ %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. - + %feature("autodoc", " Parameters ---------- -Update: bool,optional - default value is Standard_False +Update: bool (optional, default to Standard_False) -Returns +Return ------- BRepCheck_Status + +Description +----------- +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. ") Orientation; BRepCheck_Status Orientation(const Standard_Boolean Update = Standard_False); - /****************** SetUnorientable ******************/ - /**** md5 signature: 2f269456d5f1ea5e8b2cc3a49e5ea74f ****/ + /****** BRepCheck_Shell::SetUnorientable ******/ + /****** md5 signature: 2f269456d5f1ea5e8b2cc3a49e5ea74f ******/ %feature("compactdefaultargs") SetUnorientable; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") SetUnorientable; void SetUnorientable(); @@ -1034,55 +1319,65 @@ None ************************/ class BRepCheck_Solid : public BRepCheck_Result { public: - /****************** BRepCheck_Solid ******************/ - /**** md5 signature: 8777687e7fe8f001f2eafb6fa25c0a3a ****/ + /****** BRepCheck_Solid::BRepCheck_Solid ******/ + /****** md5 signature: 8777687e7fe8f001f2eafb6fa25c0a3a ******/ %feature("compactdefaultargs") BRepCheck_Solid; - %feature("autodoc", "Constructor is the solid to check. - + %feature("autodoc", " Parameters ---------- theS: TopoDS_Solid -Returns +Return ------- None + +Description +----------- +Constructor is the solid to check. ") BRepCheck_Solid; BRepCheck_Solid(const TopoDS_Solid & theS); - /****************** Blind ******************/ - /**** md5 signature: d3654c48391487543928e984233515d4 ****/ + /****** BRepCheck_Solid::Blind ******/ + /****** md5 signature: d3654c48391487543928e984233515d4 ******/ %feature("compactdefaultargs") Blind; - %feature("autodoc", "See the parent class for more details. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +see the parent class for more details. ") Blind; virtual void Blind(); - /****************** InContext ******************/ - /**** md5 signature: fc3ba1a648e2a8cd0fb0e179a74b9ebb ****/ + /****** BRepCheck_Solid::InContext ******/ + /****** md5 signature: fc3ba1a648e2a8cd0fb0e179a74b9ebb ******/ %feature("compactdefaultargs") InContext; - %feature("autodoc", "Checks the solid in context of the shape . - + %feature("autodoc", " Parameters ---------- theContextShape: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Checks the solid in context of the shape . ") InContext; virtual void InContext(const TopoDS_Shape & theContextShape); - /****************** Minimum ******************/ - /**** md5 signature: 6432f12790acf2012f66746d67657613 ****/ + /****** BRepCheck_Solid::Minimum ******/ + /****** md5 signature: 6432f12790acf2012f66746d67657613 ******/ %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. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +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. ") Minimum; virtual void Minimum(); @@ -1102,66 +1397,78 @@ None *************************/ class BRepCheck_Vertex : public BRepCheck_Result { public: - /****************** BRepCheck_Vertex ******************/ - /**** md5 signature: 68efde7ae373863d3e1be49e11e82d88 ****/ + /****** BRepCheck_Vertex::BRepCheck_Vertex ******/ + /****** md5 signature: 68efde7ae373863d3e1be49e11e82d88 ******/ %feature("compactdefaultargs") BRepCheck_Vertex; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- V: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepCheck_Vertex; BRepCheck_Vertex(const TopoDS_Vertex & V); - /****************** Blind ******************/ - /**** md5 signature: 05cb8700c802bda95aa5d71d47a1c542 ****/ + /****** BRepCheck_Vertex::Blind ******/ + /****** md5 signature: 05cb8700c802bda95aa5d71d47a1c542 ******/ %feature("compactdefaultargs") Blind; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") Blind; void Blind(); - /****************** InContext ******************/ - /**** md5 signature: 068e04b29819e902bf375d055c106b65 ****/ + /****** BRepCheck_Vertex::InContext ******/ + /****** md5 signature: 068e04b29819e902bf375d055c106b65 ******/ %feature("compactdefaultargs") InContext; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- ContextShape: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +No available documentation. ") InContext; void InContext(const TopoDS_Shape & ContextShape); - /****************** Minimum ******************/ - /**** md5 signature: bcca4bce745250eb4a0cbc554641b42d ****/ + /****** BRepCheck_Vertex::Minimum ******/ + /****** md5 signature: bcca4bce745250eb4a0cbc554641b42d ******/ %feature("compactdefaultargs") Minimum; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") Minimum; void Minimum(); - /****************** Tolerance ******************/ - /**** md5 signature: 014b06346af255e506514edbf19cdb2c ****/ + /****** BRepCheck_Vertex::Tolerance ******/ + /****** md5 signature: 014b06346af255e506514edbf19cdb2c ******/ %feature("compactdefaultargs") Tolerance; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") Tolerance; Standard_Real Tolerance(); @@ -1181,165 +1488,191 @@ float ***********************/ class BRepCheck_Wire : public BRepCheck_Result { public: - /****************** BRepCheck_Wire ******************/ - /**** md5 signature: ab6c2dd585c88fb5fb0be4ceaf53f81e ****/ + /****** BRepCheck_Wire::BRepCheck_Wire ******/ + /****** md5 signature: ab6c2dd585c88fb5fb0be4ceaf53f81e ******/ %feature("compactdefaultargs") BRepCheck_Wire; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- W: TopoDS_Wire -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepCheck_Wire; BRepCheck_Wire(const TopoDS_Wire & W); - /****************** Blind ******************/ - /**** md5 signature: 05cb8700c802bda95aa5d71d47a1c542 ****/ + /****** BRepCheck_Wire::Blind ******/ + /****** md5 signature: 05cb8700c802bda95aa5d71d47a1c542 ******/ %feature("compactdefaultargs") Blind; - %feature("autodoc", "Does nothing. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Does nothing. ") Blind; void Blind(); - /****************** Closed ******************/ - /**** md5 signature: 13c91693b79f0b3874479828b766a2ec ****/ + /****** BRepCheck_Wire::Closed ******/ + /****** md5 signature: 13c91693b79f0b3874479828b766a2ec ******/ %feature("compactdefaultargs") Closed; - %feature("autodoc", "Checks if the oriented edges of the wire give a closed wire. if the wire is closed, returns brepcheck_noerror. warning : if the first and last edge are infinite, the wire will be considered as a closed one. if is set to standard_true, registers the status in the list. may return (and registers): **brepcheck_notconnected, if wire is not topologically closed **brepcheck_redundantedge, if an edge is in wire more than 3 times or in case of 2 occurences if not with forward and reversed orientation. **brepcheck_noerror. - + %feature("autodoc", " Parameters ---------- -Update: bool,optional - default value is Standard_False +Update: bool (optional, default to Standard_False) -Returns +Return ------- BRepCheck_Status + +Description +----------- +Checks if the oriented edges of the wire give a closed wire. If the wire is closed, returns BRepCheck_NoError. Warning: if the first and last edge are infinite, the wire will be considered as a closed one. If is set to Standard_True, registers the status in the list. May return (and registers): **BRepCheck_NotConnected, if wire is not topologically closed **BRepCheck_RedundantEdge, if an edge is in wire more than 3 times or in case of 2 occurrences if not with FORWARD and REVERSED orientation. **BRepCheck_NoError. ") Closed; BRepCheck_Status Closed(const Standard_Boolean Update = Standard_False); - /****************** Closed2d ******************/ - /**** md5 signature: ec5831e967eb070b5c82ca8964b55fe8 ****/ + /****** BRepCheck_Wire::Closed2d ******/ + /****** md5 signature: ec5831e967eb070b5c82ca8964b55fe8 ******/ %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. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face -Update: bool,optional - default value is Standard_False +Update: bool (optional, default to Standard_False) -Returns +Return ------- BRepCheck_Status + +Description +----------- +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; BRepCheck_Status Closed2d(const TopoDS_Face & F, const Standard_Boolean Update = Standard_False); - /****************** GeometricControls ******************/ - /**** md5 signature: 37d96a49d68a7118896a14ac30457fb2 ****/ + /****** BRepCheck_Wire::GeometricControls ******/ + /****** md5 signature: 37d96a49d68a7118896a14ac30457fb2 ******/ %feature("compactdefaultargs") GeometricControls; - %feature("autodoc", "Report selfintersect() check would be (is) done. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +report SelfIntersect() check would be (is) done. ") GeometricControls; Standard_Boolean GeometricControls(); - /****************** GeometricControls ******************/ - /**** md5 signature: 16194f16c24aad512d5519bba6fbad11 ****/ + /****** BRepCheck_Wire::GeometricControls ******/ + /****** md5 signature: 16194f16c24aad512d5519bba6fbad11 ******/ %feature("compactdefaultargs") GeometricControls; - %feature("autodoc", "Set selfintersect() to be checked. - + %feature("autodoc", " Parameters ---------- B: bool -Returns +Return ------- None + +Description +----------- +set SelfIntersect() to be checked. ") GeometricControls; void GeometricControls(const Standard_Boolean B); - /****************** InContext ******************/ - /**** md5 signature: 068e04b29819e902bf375d055c106b65 ****/ + /****** BRepCheck_Wire::InContext ******/ + /****** md5 signature: 068e04b29819e902bf375d055c106b65 ******/ %feature("compactdefaultargs") InContext; - %feature("autodoc", "If is a face, consequently checks selfintersect(), closed(), orientation() and closed2d until faulty is found. - + %feature("autodoc", " Parameters ---------- ContextShape: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +if is a face, consequently checks SelfIntersect(), Closed(), Orientation() and Closed2d until faulty is found. ") InContext; void InContext(const TopoDS_Shape & ContextShape); - /****************** Minimum ******************/ - /**** md5 signature: bcca4bce745250eb4a0cbc554641b42d ****/ + /****** BRepCheck_Wire::Minimum ******/ + /****** md5 signature: bcca4bce745250eb4a0cbc554641b42d ******/ %feature("compactdefaultargs") Minimum; - %feature("autodoc", "Checks that the wire is not empty and 'connex'. called by constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +checks that the wire is not empty and 'connex'. Called by constructor. ") Minimum; void Minimum(); - /****************** Orientation ******************/ - /**** md5 signature: f1973ba2c13b16645155497d42e54b08 ****/ + /****** BRepCheck_Wire::Orientation ******/ + /****** md5 signature: f1973ba2c13b16645155497d42e54b08 ******/ %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. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face -Update: bool,optional - default value is Standard_False +Update: bool (optional, default to Standard_False) -Returns +Return ------- BRepCheck_Status + +Description +----------- +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. ") Orientation; BRepCheck_Status Orientation(const TopoDS_Face & F, const Standard_Boolean Update = Standard_False); - /****************** SelfIntersect ******************/ - /**** md5 signature: f62c98c78906534e424d1494ff924720 ****/ + /****** BRepCheck_Wire::SelfIntersect ******/ + /****** md5 signature: f62c98c78906534e424d1494ff924720 ******/ %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. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face E1: TopoDS_Edge E2: TopoDS_Edge -Update: bool,optional - default value is Standard_False +Update: bool (optional, default to Standard_False) -Returns +Return ------- BRepCheck_Status + +Description +----------- +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; BRepCheck_Status SelfIntersect(const TopoDS_Face & F, TopoDS_Edge & E1, TopoDS_Edge & E2, const Standard_Boolean Update = Standard_False); - /****************** SetStatus ******************/ - /**** md5 signature: 86ab384d3d45dec24b5a7e095ad3e061 ****/ + /****** BRepCheck_Wire::SetStatus ******/ + /****** md5 signature: 86ab384d3d45dec24b5a7e095ad3e061 ******/ %feature("compactdefaultargs") SetStatus; - %feature("autodoc", "Sets status of wire;. - + %feature("autodoc", " Parameters ---------- theStatus: BRepCheck_Status -Returns +Return ------- None + +Description +----------- +Sets status of Wire;. ") SetStatus; void SetStatus(const BRepCheck_Status theStatus); @@ -1360,3 +1693,26 @@ None /* class aliases */ %pythoncode { } +/* deprecated methods */ +%pythoncode { +@deprecated +def brepcheck_Add(*args): + return brepcheck.Add(*args) + +@deprecated +def brepcheck_PrecCurve(*args): + return brepcheck.PrecCurve(*args) + +@deprecated +def brepcheck_PrecSurface(*args): + return brepcheck.PrecSurface(*args) + +@deprecated +def brepcheck_Print(*args): + return brepcheck.Print(*args) + +@deprecated +def brepcheck_SelfIntersection(*args): + return brepcheck.SelfIntersection(*args) + +} diff --git a/src/SWIG_files/wrapper/BRepCheck.pyi b/src/SWIG_files/wrapper/BRepCheck.pyi index 26d7ab992..8c8fc5870 100644 --- a/src/SWIG_files/wrapper/BRepCheck.pyi +++ b/src/SWIG_files/wrapper/BRepCheck.pyi @@ -7,69 +7,80 @@ from OCC.Core.Adaptor3d import * from OCC.Core.TopoDS import * from OCC.Core.TopTools import * +# the following typedef cannot be wrapped as is +BRepCheck_HListOfStatus = NewType("BRepCheck_HListOfStatus", Any) +# the following typedef cannot be wrapped as is +BRepCheck_IndexedDataMapOfShapeResult = NewType( + "BRepCheck_IndexedDataMapOfShapeResult", Any +) class BRepCheck_ListOfStatus: - def __init__(self) -> None: ... - def __len__(self) -> int: ... - def Size(self) -> int: ... + def Append(self, theItem: BRepCheck_Status) -> BRepCheck_Status: ... + def Assign(self, theItem: BRepCheck_ListOfStatus) -> BRepCheck_ListOfStatus: ... def Clear(self) -> None: ... def First(self) -> BRepCheck_Status: ... def Last(self) -> BRepCheck_Status: ... - def Append(self, theItem: BRepCheck_Status) -> BRepCheck_Status: ... def Prepend(self, theItem: BRepCheck_Status) -> BRepCheck_Status: ... def RemoveFirst(self) -> None: ... def Reverse(self) -> None: ... - def Value(self, theIndex: int) -> BRepCheck_Status: ... - def SetValue(self, theIndex: int, theValue: BRepCheck_Status) -> None: ... + def Size(self) -> int: ... + def __init__(self) -> None: ... + def __len__(self) -> int: ... + def __iter__(self) -> BRepCheck_Status: ... class BRepCheck_Status(IntEnum): - BRepCheck_NoError: int = ... - BRepCheck_InvalidPointOnCurve: int = ... - BRepCheck_InvalidPointOnCurveOnSurface: int = ... - BRepCheck_InvalidPointOnSurface: int = ... - BRepCheck_No3DCurve: int = ... - BRepCheck_Multiple3DCurve: int = ... - BRepCheck_Invalid3DCurve: int = ... - BRepCheck_NoCurveOnSurface: int = ... - BRepCheck_InvalidCurveOnSurface: int = ... - BRepCheck_InvalidCurveOnClosedSurface: int = ... - BRepCheck_InvalidSameRangeFlag: int = ... - BRepCheck_InvalidSameParameterFlag: int = ... - BRepCheck_InvalidDegeneratedFlag: int = ... - BRepCheck_FreeEdge: int = ... - BRepCheck_InvalidMultiConnexity: int = ... - BRepCheck_InvalidRange: int = ... - BRepCheck_EmptyWire: int = ... - BRepCheck_RedundantEdge: int = ... - BRepCheck_SelfIntersectingWire: int = ... - BRepCheck_NoSurface: int = ... - BRepCheck_InvalidWire: int = ... - BRepCheck_RedundantWire: int = ... - BRepCheck_IntersectingWires: int = ... - BRepCheck_InvalidImbricationOfWires: int = ... - BRepCheck_EmptyShell: int = ... - BRepCheck_RedundantFace: int = ... - BRepCheck_InvalidImbricationOfShells: int = ... - BRepCheck_UnorientableShape: int = ... - BRepCheck_NotClosed: int = ... - BRepCheck_NotConnected: int = ... - BRepCheck_SubshapeNotInShape: int = ... - BRepCheck_BadOrientation: int = ... - BRepCheck_BadOrientationOfSubshape: int = ... - BRepCheck_InvalidPolygonOnTriangulation: int = ... - BRepCheck_InvalidToleranceValue: int = ... - BRepCheck_EnclosedRegion: int = ... - BRepCheck_CheckFail: int = ... + BRepCheck_NoError: int = ... + BRepCheck_InvalidPointOnCurve: int = ... + BRepCheck_InvalidPointOnCurveOnSurface: int = ... + BRepCheck_InvalidPointOnSurface: int = ... + BRepCheck_No3DCurve: int = ... + BRepCheck_Multiple3DCurve: int = ... + BRepCheck_Invalid3DCurve: int = ... + BRepCheck_NoCurveOnSurface: int = ... + BRepCheck_InvalidCurveOnSurface: int = ... + BRepCheck_InvalidCurveOnClosedSurface: int = ... + BRepCheck_InvalidSameRangeFlag: int = ... + BRepCheck_InvalidSameParameterFlag: int = ... + BRepCheck_InvalidDegeneratedFlag: int = ... + BRepCheck_FreeEdge: int = ... + BRepCheck_InvalidMultiConnexity: int = ... + BRepCheck_InvalidRange: int = ... + BRepCheck_EmptyWire: int = ... + BRepCheck_RedundantEdge: int = ... + BRepCheck_SelfIntersectingWire: int = ... + BRepCheck_NoSurface: int = ... + BRepCheck_InvalidWire: int = ... + BRepCheck_RedundantWire: int = ... + BRepCheck_IntersectingWires: int = ... + BRepCheck_InvalidImbricationOfWires: int = ... + BRepCheck_EmptyShell: int = ... + BRepCheck_RedundantFace: int = ... + BRepCheck_InvalidImbricationOfShells: int = ... + BRepCheck_UnorientableShape: int = ... + BRepCheck_NotClosed: int = ... + BRepCheck_NotConnected: int = ... + BRepCheck_SubshapeNotInShape: int = ... + BRepCheck_BadOrientation: int = ... + BRepCheck_BadOrientationOfSubshape: int = ... + BRepCheck_InvalidPolygonOnTriangulation: int = ... + BRepCheck_InvalidToleranceValue: int = ... + BRepCheck_EnclosedRegion: int = ... + BRepCheck_CheckFail: int = ... + BRepCheck_NoError = BRepCheck_Status.BRepCheck_NoError BRepCheck_InvalidPointOnCurve = BRepCheck_Status.BRepCheck_InvalidPointOnCurve -BRepCheck_InvalidPointOnCurveOnSurface = BRepCheck_Status.BRepCheck_InvalidPointOnCurveOnSurface +BRepCheck_InvalidPointOnCurveOnSurface = ( + BRepCheck_Status.BRepCheck_InvalidPointOnCurveOnSurface +) BRepCheck_InvalidPointOnSurface = BRepCheck_Status.BRepCheck_InvalidPointOnSurface BRepCheck_No3DCurve = BRepCheck_Status.BRepCheck_No3DCurve BRepCheck_Multiple3DCurve = BRepCheck_Status.BRepCheck_Multiple3DCurve BRepCheck_Invalid3DCurve = BRepCheck_Status.BRepCheck_Invalid3DCurve BRepCheck_NoCurveOnSurface = BRepCheck_Status.BRepCheck_NoCurveOnSurface BRepCheck_InvalidCurveOnSurface = BRepCheck_Status.BRepCheck_InvalidCurveOnSurface -BRepCheck_InvalidCurveOnClosedSurface = BRepCheck_Status.BRepCheck_InvalidCurveOnClosedSurface +BRepCheck_InvalidCurveOnClosedSurface = ( + BRepCheck_Status.BRepCheck_InvalidCurveOnClosedSurface +) BRepCheck_InvalidSameRangeFlag = BRepCheck_Status.BRepCheck_InvalidSameRangeFlag BRepCheck_InvalidSameParameterFlag = BRepCheck_Status.BRepCheck_InvalidSameParameterFlag BRepCheck_InvalidDegeneratedFlag = BRepCheck_Status.BRepCheck_InvalidDegeneratedFlag @@ -83,132 +94,162 @@ BRepCheck_NoSurface = BRepCheck_Status.BRepCheck_NoSurface BRepCheck_InvalidWire = BRepCheck_Status.BRepCheck_InvalidWire BRepCheck_RedundantWire = BRepCheck_Status.BRepCheck_RedundantWire BRepCheck_IntersectingWires = BRepCheck_Status.BRepCheck_IntersectingWires -BRepCheck_InvalidImbricationOfWires = BRepCheck_Status.BRepCheck_InvalidImbricationOfWires +BRepCheck_InvalidImbricationOfWires = ( + BRepCheck_Status.BRepCheck_InvalidImbricationOfWires +) BRepCheck_EmptyShell = BRepCheck_Status.BRepCheck_EmptyShell BRepCheck_RedundantFace = BRepCheck_Status.BRepCheck_RedundantFace -BRepCheck_InvalidImbricationOfShells = BRepCheck_Status.BRepCheck_InvalidImbricationOfShells +BRepCheck_InvalidImbricationOfShells = ( + BRepCheck_Status.BRepCheck_InvalidImbricationOfShells +) BRepCheck_UnorientableShape = BRepCheck_Status.BRepCheck_UnorientableShape BRepCheck_NotClosed = BRepCheck_Status.BRepCheck_NotClosed BRepCheck_NotConnected = BRepCheck_Status.BRepCheck_NotConnected BRepCheck_SubshapeNotInShape = BRepCheck_Status.BRepCheck_SubshapeNotInShape BRepCheck_BadOrientation = BRepCheck_Status.BRepCheck_BadOrientation BRepCheck_BadOrientationOfSubshape = BRepCheck_Status.BRepCheck_BadOrientationOfSubshape -BRepCheck_InvalidPolygonOnTriangulation = BRepCheck_Status.BRepCheck_InvalidPolygonOnTriangulation +BRepCheck_InvalidPolygonOnTriangulation = ( + BRepCheck_Status.BRepCheck_InvalidPolygonOnTriangulation +) BRepCheck_InvalidToleranceValue = BRepCheck_Status.BRepCheck_InvalidToleranceValue BRepCheck_EnclosedRegion = BRepCheck_Status.BRepCheck_EnclosedRegion BRepCheck_CheckFail = BRepCheck_Status.BRepCheck_CheckFail class brepcheck: - @staticmethod - def Add(List: BRepCheck_ListOfStatus, Stat: BRepCheck_Status) -> None: ... - @staticmethod - def PrecCurve(aAC3D: Adaptor3d_Curve) -> float: ... - @staticmethod - def PrecSurface(aAHSurf: Adaptor3d_HSurface) -> float: ... - @staticmethod - def SelfIntersection(W: TopoDS_Wire, F: TopoDS_Face, E1: TopoDS_Edge, E2: TopoDS_Edge) -> bool: ... + @staticmethod + def Add(List: BRepCheck_ListOfStatus, Stat: BRepCheck_Status) -> None: ... + @staticmethod + def PrecCurve(aAC3D: Adaptor3d_Curve) -> float: ... + @staticmethod + def PrecSurface(aAHSurf: Adaptor3d_Surface) -> float: ... + @staticmethod + def Print(Stat: BRepCheck_Status) -> str: ... + @staticmethod + def SelfIntersection( + W: TopoDS_Wire, F: TopoDS_Face, E1: TopoDS_Edge, E2: TopoDS_Edge + ) -> bool: ... class BRepCheck_Analyzer: - def __init__(self, S: TopoDS_Shape, GeomControls: Optional[bool] = True) -> None: ... - def Init(self, S: TopoDS_Shape, GeomControls: Optional[bool] = True) -> None: ... - @overload - def IsValid(self, S: TopoDS_Shape) -> bool: ... - @overload - def IsValid(self) -> bool: ... - def Result(self, SubS: TopoDS_Shape) -> BRepCheck_Result: ... + def __init__( + self, + S: TopoDS_Shape, + GeomControls: Optional[bool] = True, + theIsParallel: Optional[bool] = False, + theIsExact: Optional[bool] = False, + ) -> None: ... + def Init(self, S: TopoDS_Shape, GeomControls: Optional[bool] = True) -> None: ... + def IsExactMethod(self) -> bool: ... + def IsParallel(self) -> bool: ... + @overload + def IsValid(self, S: TopoDS_Shape) -> bool: ... + @overload + def IsValid(self) -> bool: ... + def Result(self, theSubS: TopoDS_Shape) -> BRepCheck_Result: ... + def SetExactMethod(self, theIsExact: bool) -> None: ... + def SetParallel(self, theIsParallel: bool) -> None: ... class BRepCheck_Result(Standard_Transient): - def Blind(self) -> None: ... - def ContextualShape(self) -> TopoDS_Shape: ... - def InContext(self, ContextShape: TopoDS_Shape) -> None: ... - def Init(self, S: TopoDS_Shape) -> None: ... - def InitContextIterator(self) -> None: ... - def IsBlind(self) -> bool: ... - def IsMinimum(self) -> bool: ... - def Minimum(self) -> None: ... - def MoreShapeInContext(self) -> bool: ... - def NextShapeInContext(self) -> None: ... - def SetFailStatus(self, S: TopoDS_Shape) -> None: ... - def Status(self) -> BRepCheck_ListOfStatus: ... - @overload - def StatusOnShape(self, S: TopoDS_Shape) -> BRepCheck_ListOfStatus: ... - @overload - def StatusOnShape(self) -> BRepCheck_ListOfStatus: ... + def Blind(self) -> None: ... + def ContextualShape(self) -> TopoDS_Shape: ... + def InContext(self, ContextShape: TopoDS_Shape) -> None: ... + def Init(self, S: TopoDS_Shape) -> None: ... + def InitContextIterator(self) -> None: ... + def IsBlind(self) -> bool: ... + def IsMinimum(self) -> bool: ... + def IsStatusOnShape(self, theShape: TopoDS_Shape) -> bool: ... + def Minimum(self) -> None: ... + def MoreShapeInContext(self) -> bool: ... + def NextShapeInContext(self) -> None: ... + def SetFailStatus(self, S: TopoDS_Shape) -> None: ... + def SetParallel(self, theIsParallel: bool) -> None: ... + def Status(self) -> BRepCheck_ListOfStatus: ... + @overload + def StatusOnShape(self) -> BRepCheck_ListOfStatus: ... + @overload + def StatusOnShape(self, theShape: TopoDS_Shape) -> BRepCheck_ListOfStatus: ... class BRepCheck_Edge(BRepCheck_Result): - def __init__(self, E: TopoDS_Edge) -> None: ... - def Blind(self) -> None: ... - def CheckPolygonOnTriangulation(self, theEdge: TopoDS_Edge) -> BRepCheck_Status: ... - @overload - def GeometricControls(self) -> bool: ... - @overload - def GeometricControls(self, B: bool) -> None: ... - def InContext(self, ContextShape: TopoDS_Shape) -> None: ... - def Minimum(self) -> None: ... - def SetStatus(self, theStatus: BRepCheck_Status) -> None: ... - def Tolerance(self) -> float: ... + def __init__(self, E: TopoDS_Edge) -> None: ... + def Blind(self) -> None: ... + def CheckPolygonOnTriangulation(self, theEdge: TopoDS_Edge) -> BRepCheck_Status: ... + @overload + def GeometricControls(self) -> bool: ... + @overload + def GeometricControls(self, B: bool) -> None: ... + def InContext(self, ContextShape: TopoDS_Shape) -> None: ... + def IsExactMethod(self) -> bool: ... + def Minimum(self) -> None: ... + def SetExactMethod(self, theIsExact: bool) -> None: ... + def SetStatus(self, theStatus: BRepCheck_Status) -> None: ... + def Tolerance(self) -> float: ... class BRepCheck_Face(BRepCheck_Result): - def __init__(self, F: TopoDS_Face) -> None: ... - def Blind(self) -> None: ... - def ClassifyWires(self, Update: Optional[bool] = False) -> BRepCheck_Status: ... - @overload - def GeometricControls(self) -> bool: ... - @overload - def GeometricControls(self, B: bool) -> None: ... - def InContext(self, ContextShape: TopoDS_Shape) -> None: ... - def IntersectWires(self, Update: Optional[bool] = False) -> BRepCheck_Status: ... - def IsUnorientable(self) -> bool: ... - def Minimum(self) -> None: ... - def OrientationOfWires(self, Update: Optional[bool] = False) -> BRepCheck_Status: ... - def SetStatus(self, theStatus: BRepCheck_Status) -> None: ... - def SetUnorientable(self) -> None: ... + def __init__(self, F: TopoDS_Face) -> None: ... + def Blind(self) -> None: ... + def ClassifyWires(self, Update: Optional[bool] = False) -> BRepCheck_Status: ... + @overload + def GeometricControls(self) -> bool: ... + @overload + def GeometricControls(self, B: bool) -> None: ... + def InContext(self, ContextShape: TopoDS_Shape) -> None: ... + def IntersectWires(self, Update: Optional[bool] = False) -> BRepCheck_Status: ... + def IsUnorientable(self) -> bool: ... + def Minimum(self) -> None: ... + def OrientationOfWires( + self, Update: Optional[bool] = False + ) -> BRepCheck_Status: ... + def SetStatus(self, theStatus: BRepCheck_Status) -> None: ... + def SetUnorientable(self) -> None: ... class BRepCheck_Shell(BRepCheck_Result): - def __init__(self, S: TopoDS_Shell) -> None: ... - def Blind(self) -> None: ... - def Closed(self, Update: Optional[bool] = False) -> BRepCheck_Status: ... - def InContext(self, ContextShape: TopoDS_Shape) -> None: ... - def IsUnorientable(self) -> bool: ... - def Minimum(self) -> None: ... - def NbConnectedSet(self, theSets: TopTools_ListOfShape) -> int: ... - def Orientation(self, Update: Optional[bool] = False) -> BRepCheck_Status: ... - def SetUnorientable(self) -> None: ... + def __init__(self, S: TopoDS_Shell) -> None: ... + def Blind(self) -> None: ... + def Closed(self, Update: Optional[bool] = False) -> BRepCheck_Status: ... + def InContext(self, ContextShape: TopoDS_Shape) -> None: ... + def IsUnorientable(self) -> bool: ... + def Minimum(self) -> None: ... + def NbConnectedSet(self, theSets: TopTools_ListOfShape) -> int: ... + def Orientation(self, Update: Optional[bool] = False) -> BRepCheck_Status: ... + def SetUnorientable(self) -> None: ... class BRepCheck_Solid(BRepCheck_Result): - def __init__(self, theS: TopoDS_Solid) -> None: ... - def Blind(self) -> None: ... - def InContext(self, theContextShape: TopoDS_Shape) -> None: ... - def Minimum(self) -> None: ... + def __init__(self, theS: TopoDS_Solid) -> None: ... + def Blind(self) -> None: ... + def InContext(self, theContextShape: TopoDS_Shape) -> None: ... + def Minimum(self) -> None: ... class BRepCheck_Vertex(BRepCheck_Result): - def __init__(self, V: TopoDS_Vertex) -> None: ... - def Blind(self) -> None: ... - def InContext(self, ContextShape: TopoDS_Shape) -> None: ... - def Minimum(self) -> None: ... - def Tolerance(self) -> float: ... + def __init__(self, V: TopoDS_Vertex) -> None: ... + def Blind(self) -> None: ... + def InContext(self, ContextShape: TopoDS_Shape) -> None: ... + def Minimum(self) -> None: ... + def Tolerance(self) -> float: ... class BRepCheck_Wire(BRepCheck_Result): - def __init__(self, W: TopoDS_Wire) -> None: ... - def Blind(self) -> None: ... - def Closed(self, Update: Optional[bool] = False) -> BRepCheck_Status: ... - def Closed2d(self, F: TopoDS_Face, Update: Optional[bool] = False) -> BRepCheck_Status: ... - @overload - def GeometricControls(self) -> bool: ... - @overload - def GeometricControls(self, B: bool) -> None: ... - def InContext(self, ContextShape: TopoDS_Shape) -> None: ... - def Minimum(self) -> None: ... - def Orientation(self, F: TopoDS_Face, Update: Optional[bool] = False) -> BRepCheck_Status: ... - def SelfIntersect(self, F: TopoDS_Face, E1: TopoDS_Edge, E2: TopoDS_Edge, Update: Optional[bool] = False) -> BRepCheck_Status: ... - def SetStatus(self, theStatus: BRepCheck_Status) -> None: ... + def __init__(self, W: TopoDS_Wire) -> None: ... + def Blind(self) -> None: ... + def Closed(self, Update: Optional[bool] = False) -> BRepCheck_Status: ... + def Closed2d( + self, F: TopoDS_Face, Update: Optional[bool] = False + ) -> BRepCheck_Status: ... + @overload + def GeometricControls(self) -> bool: ... + @overload + def GeometricControls(self, B: bool) -> None: ... + def InContext(self, ContextShape: TopoDS_Shape) -> None: ... + def Minimum(self) -> None: ... + def Orientation( + self, F: TopoDS_Face, Update: Optional[bool] = False + ) -> BRepCheck_Status: ... + def SelfIntersect( + self, + F: TopoDS_Face, + E1: TopoDS_Edge, + E2: TopoDS_Edge, + Update: Optional[bool] = False, + ) -> BRepCheck_Status: ... + def SetStatus(self, theStatus: BRepCheck_Status) -> None: ... # harray1 classes # harray2 classes # hsequence classes - -brepcheck_Add = brepcheck.Add -brepcheck_PrecCurve = brepcheck.PrecCurve -brepcheck_PrecSurface = brepcheck.PrecSurface -brepcheck_Print = brepcheck.Print -brepcheck_SelfIntersection = brepcheck.SelfIntersection diff --git a/src/SWIG_files/wrapper/BRepClass.i b/src/SWIG_files/wrapper/BRepClass.i index e4eff8d39..d47408c66 100644 --- a/src/SWIG_files/wrapper/BRepClass.i +++ b/src/SWIG_files/wrapper/BRepClass.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPCLASSDOCSTRING "BRepClass module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepclass.html" +https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_brepclass.html" %enddef %module (package="OCC.Core", docstring=BREPCLASSDOCSTRING) BRepClass @@ -31,8 +31,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepclass.html" %include ../common/CommonIncludes.i %include ../common/ExceptionCatcher.i %include ../common/FunctionTransformers.i +%include ../common/EnumTemplates.i %include ../common/Operators.i %include ../common/OccHandle.i +%include ../common/IOStream.i +%include ../common/ArrayMacros.i %{ @@ -42,6 +45,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepclass.html" #include #include #include +#include #include #include #include @@ -63,6 +67,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepclass.html" %import Standard.i %import NCollection.i %import TopoDS.i +%import TopTools.i %import TopAbs.i %import gp.i %import IntRes2d.i @@ -76,7 +81,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -95,77 +100,183 @@ from OCC.Core.Exception import * ***********************/ class BRepClass_Edge { public: - /****************** BRepClass_Edge ******************/ - /**** md5 signature: fa499f57858b64345785d348f81cc818 ****/ + /****** BRepClass_Edge::BRepClass_Edge ******/ + /****** md5 signature: fa499f57858b64345785d348f81cc818 ******/ %feature("compactdefaultargs") BRepClass_Edge; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepClass_Edge; BRepClass_Edge(); - /****************** BRepClass_Edge ******************/ - /**** md5 signature: a6a6c460541f16aaabfb79777156b15f ****/ + /****** BRepClass_Edge::BRepClass_Edge ******/ + /****** md5 signature: a6a6c460541f16aaabfb79777156b15f ******/ %feature("compactdefaultargs") BRepClass_Edge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge F: TopoDS_Face -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepClass_Edge; BRepClass_Edge(const TopoDS_Edge & E, const TopoDS_Face & F); - /****************** Edge ******************/ - /**** md5 signature: 7927ca64a27bc7479e2b4d4ab87dbb48 ****/ + /****** BRepClass_Edge::Edge ******/ + /****** md5 signature: 7927ca64a27bc7479e2b4d4ab87dbb48 ******/ %feature("compactdefaultargs") Edge; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopoDS_Edge + +Description +----------- +Returns the current Edge. ") Edge; TopoDS_Edge Edge(); - /****************** Edge ******************/ - /**** md5 signature: be590cff987799d8b7c28083399d0e9f ****/ + /****** BRepClass_Edge::Edge ******/ + /****** md5 signature: be590cff987799d8b7c28083399d0e9f ******/ %feature("compactdefaultargs") Edge; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopoDS_Edge + +Description +----------- +No available documentation. ") Edge; const TopoDS_Edge Edge(); - /****************** Face ******************/ - /**** md5 signature: 6e8f5f8b51d0684fdc076a3f5ea16883 ****/ + /****** BRepClass_Edge::Face ******/ + /****** md5 signature: 6e8f5f8b51d0684fdc076a3f5ea16883 ******/ %feature("compactdefaultargs") Face; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopoDS_Face + +Description +----------- +Returns the Face for the current Edge. ") Face; TopoDS_Face Face(); - /****************** Face ******************/ - /**** md5 signature: 91e216ebeb76e55c73eb9e179241a6ff ****/ + /****** BRepClass_Edge::Face ******/ + /****** md5 signature: 91e216ebeb76e55c73eb9e179241a6ff ******/ %feature("compactdefaultargs") Face; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopoDS_Face + +Description +----------- +No available documentation. ") Face; const TopoDS_Face Face(); + /****** BRepClass_Edge::MaxTolerance ******/ + /****** md5 signature: 34f00536788c474152c6e8ed59dfb31e ******/ + %feature("compactdefaultargs") MaxTolerance; + %feature("autodoc", "Return +------- +float + +Description +----------- +Returns the maximum tolerance. +") MaxTolerance; + Standard_Real MaxTolerance(); + + /****** BRepClass_Edge::NextEdge ******/ + /****** md5 signature: 46e9b5528185041e80eced3cd59f29f3 ******/ + %feature("compactdefaultargs") NextEdge; + %feature("autodoc", "Return +------- +TopoDS_Edge + +Description +----------- +Returns the next Edge. +") NextEdge; + const TopoDS_Edge NextEdge(); + + /****** BRepClass_Edge::SetMaxTolerance ******/ + /****** md5 signature: d9b5f48764b511c321401dad8b37d561 ******/ + %feature("compactdefaultargs") SetMaxTolerance; + %feature("autodoc", " +Parameters +---------- +theValue: float + +Return +------- +None + +Description +----------- +Sets the maximum tolerance at which to start checking in the intersector. +") SetMaxTolerance; + void SetMaxTolerance(const Standard_Real theValue); + + /****** BRepClass_Edge::SetNextEdge ******/ + /****** md5 signature: c50a2707391a16a921afeeeda217e8ca ******/ + %feature("compactdefaultargs") SetNextEdge; + %feature("autodoc", " +Parameters +---------- +theMapVE: TopTools_IndexedDataMapOfShapeListOfShape + +Return +------- +None + +Description +----------- +Finds and sets the next Edge for the current. +") SetNextEdge; + void SetNextEdge(const TopTools_IndexedDataMapOfShapeListOfShape & theMapVE); + + /****** BRepClass_Edge::SetUseBndBox ******/ + /****** md5 signature: a345a208e442f23a048168731ab1417e ******/ + %feature("compactdefaultargs") SetUseBndBox; + %feature("autodoc", " +Parameters +---------- +theValue: bool + +Return +------- +None + +Description +----------- +Sets the status of whether we are using boxes or not. +") SetUseBndBox; + void SetUseBndBox(const Standard_Boolean theValue); + + /****** BRepClass_Edge::UseBndBox ******/ + /****** md5 signature: 02b68d127830fd41ee322e70833ed230 ******/ + %feature("compactdefaultargs") UseBndBox; + %feature("autodoc", "Return +------- +bool + +Description +----------- +Returns true if we are using boxes in the intersector. +") UseBndBox; + Standard_Boolean UseBndBox(); + }; @@ -180,102 +291,120 @@ TopoDS_Face ****************************************/ class BRepClass_FClass2dOfFClassifier { public: - /****************** BRepClass_FClass2dOfFClassifier ******************/ - /**** md5 signature: d19d8fe9d8d32983ec914a63ccdfb452 ****/ + /****** BRepClass_FClass2dOfFClassifier::BRepClass_FClass2dOfFClassifier ******/ + /****** md5 signature: d19d8fe9d8d32983ec914a63ccdfb452 ******/ %feature("compactdefaultargs") BRepClass_FClass2dOfFClassifier; - %feature("autodoc", "Creates an undefined classifier. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Creates an undefined classifier. ") BRepClass_FClass2dOfFClassifier; BRepClass_FClass2dOfFClassifier(); - /****************** ClosestIntersection ******************/ - /**** md5 signature: 025d23acf1aa6c435dba31dbf4248fd0 ****/ + /****** BRepClass_FClass2dOfFClassifier::ClosestIntersection ******/ + /****** md5 signature: 025d23acf1aa6c435dba31dbf4248fd0 ******/ %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. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns 0 if the last compared edge had no relevant intersection. Else returns the index of this intersection in the last intersection algorithm. ") ClosestIntersection; Standard_Integer ClosestIntersection(); - /****************** Compare ******************/ - /**** md5 signature: b424d6a228cca9b1cde54a0ef4d4799b ****/ + /****** BRepClass_FClass2dOfFClassifier::Compare ******/ + /****** md5 signature: b424d6a228cca9b1cde54a0ef4d4799b ******/ %feature("compactdefaultargs") Compare; - %feature("autodoc", "Updates the classification process with the edge from the boundary. - + %feature("autodoc", " Parameters ---------- E: BRepClass_Edge Or: TopAbs_Orientation -Returns +Return ------- None + +Description +----------- +Updates the classification process with the edge from the boundary. ") Compare; void Compare(const BRepClass_Edge & E, const TopAbs_Orientation Or); - /****************** Intersector ******************/ - /**** md5 signature: 8af3d3515af322223174c8018ef27775 ****/ + /****** BRepClass_FClass2dOfFClassifier::Intersector ******/ + /****** md5 signature: 8af3d3515af322223174c8018ef27775 ******/ %feature("compactdefaultargs") Intersector; - %feature("autodoc", "Returns the intersecting algorithm. - -Returns + %feature("autodoc", "Return ------- BRepClass_Intersector + +Description +----------- +Returns the intersecting algorithm. ") Intersector; BRepClass_Intersector & Intersector(); - /****************** IsHeadOrEnd ******************/ - /**** md5 signature: bb302ba418a265161aeac4ed94262010 ****/ + /****** BRepClass_FClass2dOfFClassifier::IsHeadOrEnd ******/ + /****** md5 signature: bb302ba418a265161aeac4ed94262010 ******/ %feature("compactdefaultargs") IsHeadOrEnd; - %feature("autodoc", "Returns the standard_true if the closest intersection point represents head or end of the edge. returns standard_false otherwise. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns the Standard_True if the closest intersection point represents head or end of the edge. Returns Standard_False otherwise. ") IsHeadOrEnd; Standard_Boolean IsHeadOrEnd(); - /****************** Parameter ******************/ - /**** md5 signature: ecccdeaeaa0deed24f47e61ad75d24f1 ****/ + /****** BRepClass_FClass2dOfFClassifier::Parameter ******/ + /****** md5 signature: ecccdeaeaa0deed24f47e61ad75d24f1 ******/ %feature("compactdefaultargs") Parameter; - %feature("autodoc", "Returns the current value of the parameter. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the current value of the parameter. ") Parameter; Standard_Real Parameter(); - /****************** Reset ******************/ - /**** md5 signature: a8c5889582c62cd16da1026d9b738b50 ****/ + /****** BRepClass_FClass2dOfFClassifier::Reset ******/ + /****** md5 signature: a8c5889582c62cd16da1026d9b738b50 ******/ %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. - + %feature("autodoc", " Parameters ---------- L: gp_Lin2d P: float Tol: float -Returns +Return ------- None + +Description +----------- +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. ") Reset; void Reset(const gp_Lin2d & L, const Standard_Real P, const Standard_Real Tol); - /****************** State ******************/ - /**** md5 signature: 927c83b1efdec797adb47eb058eddaa0 ****/ + /****** BRepClass_FClass2dOfFClassifier::State ******/ + /****** md5 signature: 927c83b1efdec797adb47eb058eddaa0 ******/ %feature("compactdefaultargs") State; - %feature("autodoc", "Returns the current state of the point. - -Returns + %feature("autodoc", "Return ------- TopAbs_State + +Description +----------- +Returns the current state of the point. ") State; TopAbs_State State(); @@ -293,114 +422,134 @@ TopAbs_State ******************************/ class BRepClass_FClassifier { public: - /****************** BRepClass_FClassifier ******************/ - /**** md5 signature: bbd41df2b8f9d5c7ae4b1c2c2b0ca106 ****/ + /****** BRepClass_FClassifier::BRepClass_FClassifier ******/ + /****** md5 signature: bbd41df2b8f9d5c7ae4b1c2c2b0ca106 ******/ %feature("compactdefaultargs") BRepClass_FClassifier; - %feature("autodoc", "Empty constructor, undefined algorithm. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor, undefined algorithm. ") BRepClass_FClassifier; BRepClass_FClassifier(); - /****************** BRepClass_FClassifier ******************/ - /**** md5 signature: a52683ba5457715c4c8153cd3d0c762a ****/ + /****** BRepClass_FClassifier::BRepClass_FClassifier ******/ + /****** md5 signature: a52683ba5457715c4c8153cd3d0c762a ******/ %feature("compactdefaultargs") BRepClass_FClassifier; - %feature("autodoc", "Creates an algorithm to classify the point p with tolerance on the face described by . - + %feature("autodoc", " Parameters ---------- F: BRepClass_FaceExplorer P: gp_Pnt2d Tol: float -Returns +Return ------- None + +Description +----------- +Creates an algorithm to classify the Point P with Tolerance on the face described by . ") BRepClass_FClassifier; BRepClass_FClassifier(BRepClass_FaceExplorer & F, const gp_Pnt2d & P, const Standard_Real Tol); - /****************** Edge ******************/ - /**** md5 signature: bd52887a3e64f99d6944617c67174745 ****/ + /****** BRepClass_FClassifier::Edge ******/ + /****** md5 signature: bd52887a3e64f99d6944617c67174745 ******/ %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. - -Returns + %feature("autodoc", "Return ------- BRepClass_Edge + +Description +----------- +Returns the Edge used to determine the classification. When the State is ON this is the Edge containing the point. ") Edge; const BRepClass_Edge & Edge(); - /****************** EdgeParameter ******************/ - /**** md5 signature: a4ccdc0e9c154705af034e3ac274511c ****/ + /****** BRepClass_FClassifier::EdgeParameter ******/ + /****** md5 signature: a4ccdc0e9c154705af034e3ac274511c ******/ %feature("compactdefaultargs") EdgeParameter; - %feature("autodoc", "Returns the parameter on edge() used to determine the classification. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the parameter on Edge() used to determine the classification. ") EdgeParameter; Standard_Real EdgeParameter(); - /****************** NoWires ******************/ - /**** md5 signature: 990679762274e4aefbb7c462574e4bcd ****/ + /****** BRepClass_FClassifier::NoWires ******/ + /****** md5 signature: 990679762274e4aefbb7c462574e4bcd ******/ %feature("compactdefaultargs") NoWires; - %feature("autodoc", "Returns true if the face contains no wire. the state is in. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns True if the face contains no wire. The state is IN. ") NoWires; Standard_Boolean NoWires(); - /****************** Perform ******************/ - /**** md5 signature: 3cd7b17096eabe50d8cc92b191abf9d7 ****/ + /****** BRepClass_FClassifier::Perform ******/ + /****** md5 signature: 3cd7b17096eabe50d8cc92b191abf9d7 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Classify the point p with tolerance on the face described by . - + %feature("autodoc", " Parameters ---------- F: BRepClass_FaceExplorer P: gp_Pnt2d Tol: float -Returns +Return ------- None + +Description +----------- +Classify the Point P with Tolerance on the face described by . ") Perform; void Perform(BRepClass_FaceExplorer & F, const gp_Pnt2d & P, const Standard_Real Tol); - /****************** Position ******************/ - /**** md5 signature: 675457384dc44fc07e204a19b6850fe8 ****/ + /****** BRepClass_FClassifier::Position ******/ + /****** md5 signature: 675457384dc44fc07e204a19b6850fe8 ******/ %feature("compactdefaultargs") Position; - %feature("autodoc", "Returns the position of the point on the edge returned by edge. - -Returns + %feature("autodoc", "Return ------- IntRes2d_Position + +Description +----------- +Returns the position of the point on the edge returned by Edge. ") Position; IntRes2d_Position Position(); - /****************** Rejected ******************/ - /**** md5 signature: 56d604911041dd9f442bde612c88e4cd ****/ + /****** BRepClass_FClassifier::Rejected ******/ + /****** md5 signature: 56d604911041dd9f442bde612c88e4cd ******/ %feature("compactdefaultargs") Rejected; - %feature("autodoc", "Returns true when the state was computed by a rejection. the state is out. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns True when the state was computed by a rejection. The state is OUT. ") Rejected; Standard_Boolean Rejected(); - /****************** State ******************/ - /**** md5 signature: 927c83b1efdec797adb47eb058eddaa0 ****/ + /****** BRepClass_FClassifier::State ******/ + /****** md5 signature: 927c83b1efdec797adb47eb058eddaa0 ******/ %feature("compactdefaultargs") State; - %feature("autodoc", "Returns the result of the classification. - -Returns + %feature("autodoc", "Return ------- TopAbs_State + +Description +----------- +Returns the result of the classification. ") State; TopAbs_State State(); @@ -418,197 +567,294 @@ TopAbs_State *******************************/ class BRepClass_FaceExplorer { public: - /****************** BRepClass_FaceExplorer ******************/ - /**** md5 signature: 7ec391bc05dc26ffc180bb1023f157a1 ****/ + /****** BRepClass_FaceExplorer::BRepClass_FaceExplorer ******/ + /****** md5 signature: 7ec391bc05dc26ffc180bb1023f157a1 ******/ %feature("compactdefaultargs") BRepClass_FaceExplorer; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepClass_FaceExplorer; BRepClass_FaceExplorer(const TopoDS_Face & F); - /****************** CheckPoint ******************/ - /**** md5 signature: 6dc400c8511fac8549e1a227e33ff0eb ****/ + /****** BRepClass_FaceExplorer::CheckPoint ******/ + /****** md5 signature: 6dc400c8511fac8549e1a227e33ff0eb ******/ %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. - + %feature("autodoc", " Parameters ---------- thePoint: gp_Pnt2d -Returns +Return ------- bool + +Description +----------- +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. ") CheckPoint; Standard_Boolean CheckPoint(gp_Pnt2d & thePoint); - /****************** CurrentEdge ******************/ - /**** md5 signature: 612321e6d88f3d95d82e61c0e149151b ****/ + /****** BRepClass_FaceExplorer::CurrentEdge ******/ + /****** md5 signature: 612321e6d88f3d95d82e61c0e149151b ******/ %feature("compactdefaultargs") CurrentEdge; - %feature("autodoc", "Current edge in current wire and its orientation. - + %feature("autodoc", " Parameters ---------- E: BRepClass_Edge -Or: TopAbs_Orientation -Returns +Return ------- -None +Or: TopAbs_Orientation + +Description +----------- +Current edge in current wire and its orientation. ") CurrentEdge; - void CurrentEdge(BRepClass_Edge & E, TopAbs_Orientation & Or); + void CurrentEdge(BRepClass_Edge & E, TopAbs_Orientation &OutValue); - /****************** InitEdges ******************/ - /**** md5 signature: 91bbc4c29d3c5c1c40b8c41a10bba4ae ****/ + /****** BRepClass_FaceExplorer::InitEdges ******/ + /****** md5 signature: 91bbc4c29d3c5c1c40b8c41a10bba4ae ******/ %feature("compactdefaultargs") InitEdges; - %feature("autodoc", "Starts an exploration of the edges of the current wire. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Starts an exploration of the edges of the current wire. ") InitEdges; void InitEdges(); - /****************** InitWires ******************/ - /**** md5 signature: ebff8f083b93df212af42dee4111419b ****/ + /****** BRepClass_FaceExplorer::InitWires ******/ + /****** md5 signature: ebff8f083b93df212af42dee4111419b ******/ %feature("compactdefaultargs") InitWires; - %feature("autodoc", "Starts an exploration of the wires. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Starts an exploration of the wires. ") InitWires; void InitWires(); - /****************** MoreEdges ******************/ - /**** md5 signature: ae9c44c48922d7def77564a0d6f2c592 ****/ - %feature("compactdefaultargs") MoreEdges; - %feature("autodoc", "Returns true if there is a current edge. + /****** BRepClass_FaceExplorer::MaxTolerance ******/ + /****** md5 signature: 34f00536788c474152c6e8ed59dfb31e ******/ + %feature("compactdefaultargs") MaxTolerance; + %feature("autodoc", "Return +------- +float + +Description +----------- +Returns the maximum tolerance. +") MaxTolerance; + Standard_Real MaxTolerance(); -Returns + /****** BRepClass_FaceExplorer::MoreEdges ******/ + /****** md5 signature: ae9c44c48922d7def77564a0d6f2c592 ******/ + %feature("compactdefaultargs") MoreEdges; + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns True if there is a current edge. ") MoreEdges; Standard_Boolean MoreEdges(); - /****************** MoreWires ******************/ - /**** md5 signature: b99e6f15aacc2cac79d7fb8f92595589 ****/ + /****** BRepClass_FaceExplorer::MoreWires ******/ + /****** md5 signature: b99e6f15aacc2cac79d7fb8f92595589 ******/ %feature("compactdefaultargs") MoreWires; - %feature("autodoc", "Returns true if there is a current wire. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns True if there is a current wire. ") MoreWires; Standard_Boolean MoreWires(); - /****************** NextEdge ******************/ - /**** md5 signature: 8103c946a7f7c0a3d885514a8a740502 ****/ + /****** BRepClass_FaceExplorer::NextEdge ******/ + /****** md5 signature: 8103c946a7f7c0a3d885514a8a740502 ******/ %feature("compactdefaultargs") NextEdge; - %feature("autodoc", "Sets the explorer to the next edge. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Sets the explorer to the next edge. ") NextEdge; void NextEdge(); - /****************** NextWire ******************/ - /**** md5 signature: 11b92f2dcc830f98b32d40bd651c0b28 ****/ + /****** BRepClass_FaceExplorer::NextWire ******/ + /****** md5 signature: 11b92f2dcc830f98b32d40bd651c0b28 ******/ %feature("compactdefaultargs") NextWire; - %feature("autodoc", "Sets the explorer to the next wire. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Sets the explorer to the next wire. ") NextWire; void NextWire(); - /****************** OtherSegment ******************/ - /**** md5 signature: 27490dca9d2d53354d092dd2a3334ce2 ****/ + /****** BRepClass_FaceExplorer::OtherSegment ******/ + /****** md5 signature: 27490dca9d2d53354d092dd2a3334ce2 ******/ %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. - + %feature("autodoc", " Parameters ---------- P: gp_Pnt2d L: gp_Lin2d -Returns +Return ------- Par: float + +Description +----------- +Returns in , a segment having at least one intersection with the face boundary to compute intersections. Each call gives another segment. ") OtherSegment; Standard_Boolean OtherSegment(const gp_Pnt2d & P, gp_Lin2d & L, Standard_Real &OutValue); - /****************** Reject ******************/ - /**** md5 signature: a145789dcdf45149993e111ed41174ea ****/ + /****** BRepClass_FaceExplorer::Reject ******/ + /****** md5 signature: a145789dcdf45149993e111ed41174ea ******/ %feature("compactdefaultargs") Reject; - %feature("autodoc", "Should return true if the point is outside a bounding volume of the face. - + %feature("autodoc", " Parameters ---------- P: gp_Pnt2d -Returns +Return ------- bool + +Description +----------- +Should return True if the point is outside a bounding volume of the face. ") Reject; Standard_Boolean Reject(const gp_Pnt2d & P); - /****************** RejectEdge ******************/ - /**** md5 signature: ac46be93532b1dfcf60e7e385f949d17 ****/ + /****** BRepClass_FaceExplorer::RejectEdge ******/ + /****** md5 signature: ac46be93532b1dfcf60e7e385f949d17 ******/ %feature("compactdefaultargs") RejectEdge; - %feature("autodoc", "Returns true if the edge bounding volume does not intersect the segment. - + %feature("autodoc", " Parameters ---------- L: gp_Lin2d Par: float -Returns +Return ------- bool + +Description +----------- +Returns True if the edge bounding volume does not intersect the segment. ") RejectEdge; Standard_Boolean RejectEdge(const gp_Lin2d & L, const Standard_Real Par); - /****************** RejectWire ******************/ - /**** md5 signature: a3caa1d04bab721ad3228acbea576ecb ****/ + /****** BRepClass_FaceExplorer::RejectWire ******/ + /****** md5 signature: a3caa1d04bab721ad3228acbea576ecb ******/ %feature("compactdefaultargs") RejectWire; - %feature("autodoc", "Returns true if the wire bounding volume does not intersect the segment. - + %feature("autodoc", " Parameters ---------- L: gp_Lin2d Par: float -Returns +Return ------- bool + +Description +----------- +Returns True if the wire bounding volume does not intersect the segment. ") RejectWire; Standard_Boolean RejectWire(const gp_Lin2d & L, const Standard_Real Par); - /****************** Segment ******************/ - /**** md5 signature: 5eb3735a7b24946e69be33f96fb9d7b5 ****/ + /****** BRepClass_FaceExplorer::Segment ******/ + /****** md5 signature: 5eb3735a7b24946e69be33f96fb9d7b5 ******/ %feature("compactdefaultargs") Segment; - %feature("autodoc", "Returns in , a segment having at least one intersection with the face boundary to compute intersections. - + %feature("autodoc", " Parameters ---------- P: gp_Pnt2d L: gp_Lin2d -Returns +Return ------- Par: float + +Description +----------- +Returns in , a segment having at least one intersection with the face boundary to compute intersections. ") Segment; Standard_Boolean Segment(const gp_Pnt2d & P, gp_Lin2d & L, Standard_Real &OutValue); + /****** BRepClass_FaceExplorer::SetMaxTolerance ******/ + /****** md5 signature: d9b5f48764b511c321401dad8b37d561 ******/ + %feature("compactdefaultargs") SetMaxTolerance; + %feature("autodoc", " +Parameters +---------- +theValue: float + +Return +------- +None + +Description +----------- +Sets the maximum tolerance at which to start checking in the intersector. +") SetMaxTolerance; + void SetMaxTolerance(const Standard_Real theValue); + + /****** BRepClass_FaceExplorer::SetUseBndBox ******/ + /****** md5 signature: a345a208e442f23a048168731ab1417e ******/ + %feature("compactdefaultargs") SetUseBndBox; + %feature("autodoc", " +Parameters +---------- +theValue: bool + +Return +------- +None + +Description +----------- +Sets the status of whether we are using boxes or not. +") SetUseBndBox; + void SetUseBndBox(const Standard_Boolean theValue); + + /****** BRepClass_FaceExplorer::UseBndBox ******/ + /****** md5 signature: 02b68d127830fd41ee322e70833ed230 ******/ + %feature("compactdefaultargs") UseBndBox; + %feature("autodoc", "Return +------- +bool + +Description +----------- +Returns true if we are using boxes in the intersector. +") UseBndBox; + Standard_Boolean UseBndBox(); + }; @@ -623,102 +869,120 @@ Par: float ****************************************/ class BRepClass_FacePassiveClassifier { public: - /****************** BRepClass_FacePassiveClassifier ******************/ - /**** md5 signature: 802f6ac24977e4faa647825a59cd29e0 ****/ + /****** BRepClass_FacePassiveClassifier::BRepClass_FacePassiveClassifier ******/ + /****** md5 signature: 802f6ac24977e4faa647825a59cd29e0 ******/ %feature("compactdefaultargs") BRepClass_FacePassiveClassifier; - %feature("autodoc", "Creates an undefined classifier. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Creates an undefined classifier. ") BRepClass_FacePassiveClassifier; BRepClass_FacePassiveClassifier(); - /****************** ClosestIntersection ******************/ - /**** md5 signature: 025d23acf1aa6c435dba31dbf4248fd0 ****/ + /****** BRepClass_FacePassiveClassifier::ClosestIntersection ******/ + /****** md5 signature: 025d23acf1aa6c435dba31dbf4248fd0 ******/ %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. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns 0 if the last compared edge had no relevant intersection. Else returns the index of this intersection in the last intersection algorithm. ") ClosestIntersection; Standard_Integer ClosestIntersection(); - /****************** Compare ******************/ - /**** md5 signature: b424d6a228cca9b1cde54a0ef4d4799b ****/ + /****** BRepClass_FacePassiveClassifier::Compare ******/ + /****** md5 signature: b424d6a228cca9b1cde54a0ef4d4799b ******/ %feature("compactdefaultargs") Compare; - %feature("autodoc", "Updates the classification process with the edge from the boundary. - + %feature("autodoc", " Parameters ---------- E: BRepClass_Edge Or: TopAbs_Orientation -Returns +Return ------- None + +Description +----------- +Updates the classification process with the edge from the boundary. ") Compare; void Compare(const BRepClass_Edge & E, const TopAbs_Orientation Or); - /****************** Intersector ******************/ - /**** md5 signature: 8af3d3515af322223174c8018ef27775 ****/ + /****** BRepClass_FacePassiveClassifier::Intersector ******/ + /****** md5 signature: 8af3d3515af322223174c8018ef27775 ******/ %feature("compactdefaultargs") Intersector; - %feature("autodoc", "Returns the intersecting algorithm. - -Returns + %feature("autodoc", "Return ------- BRepClass_Intersector + +Description +----------- +Returns the intersecting algorithm. ") Intersector; BRepClass_Intersector & Intersector(); - /****************** IsHeadOrEnd ******************/ - /**** md5 signature: bb302ba418a265161aeac4ed94262010 ****/ + /****** BRepClass_FacePassiveClassifier::IsHeadOrEnd ******/ + /****** md5 signature: bb302ba418a265161aeac4ed94262010 ******/ %feature("compactdefaultargs") IsHeadOrEnd; - %feature("autodoc", "Returns the standard_true if the closest intersection point represents head or end of the edge. returns standard_false otherwise. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns the Standard_True if the closest intersection point represents head or end of the edge. Returns Standard_False otherwise. ") IsHeadOrEnd; Standard_Boolean IsHeadOrEnd(); - /****************** Parameter ******************/ - /**** md5 signature: ecccdeaeaa0deed24f47e61ad75d24f1 ****/ + /****** BRepClass_FacePassiveClassifier::Parameter ******/ + /****** md5 signature: ecccdeaeaa0deed24f47e61ad75d24f1 ******/ %feature("compactdefaultargs") Parameter; - %feature("autodoc", "Returns the current value of the parameter. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the current value of the parameter. ") Parameter; Standard_Real Parameter(); - /****************** Reset ******************/ - /**** md5 signature: a8c5889582c62cd16da1026d9b738b50 ****/ + /****** BRepClass_FacePassiveClassifier::Reset ******/ + /****** md5 signature: a8c5889582c62cd16da1026d9b738b50 ******/ %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. - + %feature("autodoc", " Parameters ---------- L: gp_Lin2d P: float Tol: float -Returns +Return ------- None + +Description +----------- +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. ") Reset; void Reset(const gp_Lin2d & L, const Standard_Real P, const Standard_Real Tol); - /****************** State ******************/ - /**** md5 signature: 927c83b1efdec797adb47eb058eddaa0 ****/ + /****** BRepClass_FacePassiveClassifier::State ******/ + /****** md5 signature: 927c83b1efdec797adb47eb058eddaa0 ******/ %feature("compactdefaultargs") State; - %feature("autodoc", "Returns the current state of the point. - -Returns + %feature("autodoc", "Return ------- TopAbs_State + +Description +----------- +Returns the current state of the point. ") State; TopAbs_State State(); @@ -736,22 +1000,23 @@ TopAbs_State ******************************/ class BRepClass_Intersector : public Geom2dInt_IntConicCurveOfGInter { public: - /****************** BRepClass_Intersector ******************/ - /**** md5 signature: a88e9c7d891ba6eb26fc5a5e12d952ea ****/ + /****** BRepClass_Intersector::BRepClass_Intersector ******/ + /****** md5 signature: a88e9c7d891ba6eb26fc5a5e12d952ea ******/ %feature("compactdefaultargs") BRepClass_Intersector; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepClass_Intersector; BRepClass_Intersector(); - /****************** LocalGeometry ******************/ - /**** md5 signature: 70935b52098ea68ba72383cea6594aad ****/ + /****** BRepClass_Intersector::LocalGeometry ******/ + /****** md5 signature: 70935b52098ea68ba72383cea6594aad ******/ %feature("compactdefaultargs") LocalGeometry; - %feature("autodoc", "Returns in , and the tangent, normal and curvature of the edge at parameter value . - + %feature("autodoc", " Parameters ---------- E: BRepClass_Edge @@ -759,17 +1024,20 @@ U: float T: gp_Dir2d N: gp_Dir2d -Returns +Return ------- C: float + +Description +----------- +Returns in , and the tangent, normal and curvature of the edge at parameter value . ") LocalGeometry; void LocalGeometry(const BRepClass_Edge & E, const Standard_Real U, gp_Dir2d & T, gp_Dir2d & N, Standard_Real &OutValue); - /****************** Perform ******************/ - /**** md5 signature: 5249f9e060959ae45003d92383e6b6b7 ****/ + /****** BRepClass_Intersector::Perform ******/ + /****** md5 signature: 5249f9e060959ae45003d92383e6b6b7 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Intersect the line segment and the edge. - + %feature("autodoc", " Parameters ---------- L: gp_Lin2d @@ -777,9 +1045,13 @@ P: float Tol: float E: BRepClass_Edge -Returns +Return ------- None + +Description +----------- +Intersect the line segment and the edge. ") Perform; void Perform(const gp_Lin2d & L, const Standard_Real P, const Standard_Real Tol, const BRepClass_Edge & E); @@ -797,101 +1069,126 @@ None *********************************/ class BRepClass_FaceClassifier : public BRepClass_FClassifier { public: - /****************** BRepClass_FaceClassifier ******************/ - /**** md5 signature: 3aeb4d4449ed7e7167a0e7f4bbb500a3 ****/ + /****** BRepClass_FaceClassifier::BRepClass_FaceClassifier ******/ + /****** md5 signature: 3aeb4d4449ed7e7167a0e7f4bbb500a3 ******/ %feature("compactdefaultargs") BRepClass_FaceClassifier; - %feature("autodoc", "Empty constructor, undefined algorithm. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor, undefined algorithm. ") BRepClass_FaceClassifier; BRepClass_FaceClassifier(); - /****************** BRepClass_FaceClassifier ******************/ - /**** md5 signature: 9f90975def9132fa18342a3e56ae4e4a ****/ + /****** BRepClass_FaceClassifier::BRepClass_FaceClassifier ******/ + /****** md5 signature: 9f90975def9132fa18342a3e56ae4e4a ******/ %feature("compactdefaultargs") BRepClass_FaceClassifier; - %feature("autodoc", "Creates an algorithm to classify the point p with tolerance on the face described by . - + %feature("autodoc", " Parameters ---------- F: BRepClass_FaceExplorer P: gp_Pnt2d Tol: float -Returns +Return ------- None + +Description +----------- +Creates an algorithm to classify the Point P with Tolerance on the face described by . ") BRepClass_FaceClassifier; BRepClass_FaceClassifier(BRepClass_FaceExplorer & F, const gp_Pnt2d & P, const Standard_Real Tol); - /****************** BRepClass_FaceClassifier ******************/ - /**** md5 signature: 66903fd3767dd144ed0e3a25b29cb078 ****/ + /****** BRepClass_FaceClassifier::BRepClass_FaceClassifier ******/ + /****** md5 signature: ba4f6fe23b613f1af759144923fac8b6 ******/ %feature("compactdefaultargs") BRepClass_FaceClassifier; - %feature("autodoc", "Creates an algorithm to classify the point p with tolerance on the face . - + %feature("autodoc", " Parameters ---------- -F: TopoDS_Face -P: gp_Pnt2d -Tol: float +theF: TopoDS_Face +theP: gp_Pnt2d +theTol: float +theUseBndBox: bool (optional, default to Standard_False) +theGapCheckTol: float (optional, default to 0.1) -Returns +Return ------- None + +Description +----------- +Creates an algorithm to classify the Point P with Tolerance on the face . Recommended to use Bnd_Box if the number of edges > 10 and the geometry is mostly spline. ") BRepClass_FaceClassifier; - BRepClass_FaceClassifier(const TopoDS_Face & F, const gp_Pnt2d & P, const Standard_Real Tol); + BRepClass_FaceClassifier(const TopoDS_Face & theF, const gp_Pnt2d & theP, const Standard_Real theTol, const Standard_Boolean theUseBndBox = Standard_False, const Standard_Real theGapCheckTol = 0.1); - /****************** BRepClass_FaceClassifier ******************/ - /**** md5 signature: ed0c6349f82f0afdf68beb1a375112db ****/ + /****** BRepClass_FaceClassifier::BRepClass_FaceClassifier ******/ + /****** md5 signature: 8cd88928fae7d28c32ff4af3cafa3435 ******/ %feature("compactdefaultargs") BRepClass_FaceClassifier; - %feature("autodoc", "Creates an algorithm to classify the point p with tolerance on the face . - + %feature("autodoc", " Parameters ---------- -F: TopoDS_Face -P: gp_Pnt -Tol: float +theF: TopoDS_Face +theP: gp_Pnt +theTol: float +theUseBndBox: bool (optional, default to Standard_False) +theGapCheckTol: float (optional, default to 0.1) -Returns +Return ------- None + +Description +----------- +Creates an algorithm to classify the Point P with Tolerance on the face . Recommended to use Bnd_Box if the number of edges > 10 and the geometry is mostly spline. ") BRepClass_FaceClassifier; - BRepClass_FaceClassifier(const TopoDS_Face & F, const gp_Pnt & P, const Standard_Real Tol); + BRepClass_FaceClassifier(const TopoDS_Face & theF, const gp_Pnt & theP, const Standard_Real theTol, const Standard_Boolean theUseBndBox = Standard_False, const Standard_Real theGapCheckTol = 0.1); - /****************** Perform ******************/ - /**** md5 signature: 9e3c267a5919cb2c1592840d20d26604 ****/ + /****** BRepClass_FaceClassifier::Perform ******/ + /****** md5 signature: 3ced0bf5a7958aa636c9d28b2159163d ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Classify the point p with tolerance on the face described by . - + %feature("autodoc", " Parameters ---------- -F: TopoDS_Face -P: gp_Pnt2d -Tol: float +theF: TopoDS_Face +theP: gp_Pnt2d +theTol: float +theUseBndBox: bool (optional, default to Standard_False) +theGapCheckTol: float (optional, default to 0.1) -Returns +Return ------- None + +Description +----------- +Classify the Point P with Tolerance on the face described by . Recommended to use Bnd_Box if the number of edges > 10 and the geometry is mostly spline. ") Perform; - void Perform(const TopoDS_Face & F, const gp_Pnt2d & P, const Standard_Real Tol); + void Perform(const TopoDS_Face & theF, const gp_Pnt2d & theP, const Standard_Real theTol, const Standard_Boolean theUseBndBox = Standard_False, const Standard_Real theGapCheckTol = 0.1); - /****************** Perform ******************/ - /**** md5 signature: 76ed91a10bd09a942fede5c41a7caa8b ****/ + /****** BRepClass_FaceClassifier::Perform ******/ + /****** md5 signature: 5d29b2c64e703bbc79782bcb18b7f6fa ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Classify the point p with tolerance on the face described by . - + %feature("autodoc", " Parameters ---------- -F: TopoDS_Face -P: gp_Pnt -Tol: float +theF: TopoDS_Face +theP: gp_Pnt +theTol: float +theUseBndBox: bool (optional, default to Standard_False) +theGapCheckTol: float (optional, default to 0.1) -Returns +Return ------- None + +Description +----------- +Classify the Point P with Tolerance on the face described by . Recommended to use Bnd_Box if the number of edges > 10 and the geometry is mostly spline. ") Perform; - void Perform(const TopoDS_Face & F, const gp_Pnt & P, const Standard_Real Tol); + void Perform(const TopoDS_Face & theF, const gp_Pnt & theP, const Standard_Real theTol, const Standard_Boolean theUseBndBox = Standard_False, const Standard_Real theGapCheckTol = 0.1); }; diff --git a/src/SWIG_files/wrapper/BRepClass.pyi b/src/SWIG_files/wrapper/BRepClass.pyi index dfacd883b..319cf4744 100644 --- a/src/SWIG_files/wrapper/BRepClass.pyi +++ b/src/SWIG_files/wrapper/BRepClass.pyi @@ -4,95 +4,136 @@ from typing import overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * from OCC.Core.TopoDS import * +from OCC.Core.TopTools import * from OCC.Core.TopAbs import * from OCC.Core.gp import * from OCC.Core.IntRes2d import * from OCC.Core.Geom2dInt import * - class BRepClass_Edge: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, E: TopoDS_Edge, F: TopoDS_Face) -> None: ... - @overload - def Edge(self) -> TopoDS_Edge: ... - @overload - def Edge(self) -> TopoDS_Edge: ... - @overload - def Face(self) -> TopoDS_Face: ... - @overload - def Face(self) -> TopoDS_Face: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, E: TopoDS_Edge, F: TopoDS_Face) -> None: ... + @overload + def Edge(self) -> TopoDS_Edge: ... + @overload + def Edge(self) -> TopoDS_Edge: ... + @overload + def Face(self) -> TopoDS_Face: ... + @overload + def Face(self) -> TopoDS_Face: ... + def MaxTolerance(self) -> float: ... + def NextEdge(self) -> TopoDS_Edge: ... + def SetMaxTolerance(self, theValue: float) -> None: ... + def SetNextEdge( + self, theMapVE: TopTools_IndexedDataMapOfShapeListOfShape + ) -> None: ... + def SetUseBndBox(self, theValue: bool) -> None: ... + def UseBndBox(self) -> bool: ... class BRepClass_FClass2dOfFClassifier: - def __init__(self) -> None: ... - def ClosestIntersection(self) -> int: ... - def Compare(self, E: BRepClass_Edge, Or: TopAbs_Orientation) -> None: ... - def Intersector(self) -> BRepClass_Intersector: ... - def IsHeadOrEnd(self) -> bool: ... - def Parameter(self) -> float: ... - def Reset(self, L: gp_Lin2d, P: float, Tol: float) -> None: ... - def State(self) -> TopAbs_State: ... + def __init__(self) -> None: ... + def ClosestIntersection(self) -> int: ... + def Compare(self, E: BRepClass_Edge, Or: TopAbs_Orientation) -> None: ... + def Intersector(self) -> BRepClass_Intersector: ... + def IsHeadOrEnd(self) -> bool: ... + def Parameter(self) -> float: ... + def Reset(self, L: gp_Lin2d, P: float, Tol: float) -> None: ... + def State(self) -> TopAbs_State: ... class BRepClass_FClassifier: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, F: BRepClass_FaceExplorer, P: gp_Pnt2d, Tol: float) -> None: ... - def Edge(self) -> BRepClass_Edge: ... - def EdgeParameter(self) -> float: ... - def NoWires(self) -> bool: ... - def Perform(self, F: BRepClass_FaceExplorer, P: gp_Pnt2d, Tol: float) -> None: ... - def Position(self) -> IntRes2d_Position: ... - def Rejected(self) -> bool: ... - def State(self) -> TopAbs_State: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, F: BRepClass_FaceExplorer, P: gp_Pnt2d, Tol: float) -> None: ... + def Edge(self) -> BRepClass_Edge: ... + def EdgeParameter(self) -> float: ... + def NoWires(self) -> bool: ... + def Perform(self, F: BRepClass_FaceExplorer, P: gp_Pnt2d, Tol: float) -> None: ... + def Position(self) -> IntRes2d_Position: ... + def Rejected(self) -> bool: ... + def State(self) -> TopAbs_State: ... class BRepClass_FaceExplorer: - def __init__(self, F: TopoDS_Face) -> None: ... - def CheckPoint(self, thePoint: gp_Pnt2d) -> bool: ... - def CurrentEdge(self, E: BRepClass_Edge, Or: TopAbs_Orientation) -> None: ... - def InitEdges(self) -> None: ... - def InitWires(self) -> None: ... - def MoreEdges(self) -> bool: ... - def MoreWires(self) -> bool: ... - def NextEdge(self) -> None: ... - def NextWire(self) -> None: ... - def OtherSegment(self, P: gp_Pnt2d, L: gp_Lin2d) -> Tuple[bool, float]: ... - def Reject(self, P: gp_Pnt2d) -> bool: ... - def RejectEdge(self, L: gp_Lin2d, Par: float) -> bool: ... - def RejectWire(self, L: gp_Lin2d, Par: float) -> bool: ... - def Segment(self, P: gp_Pnt2d, L: gp_Lin2d) -> Tuple[bool, float]: ... + def __init__(self, F: TopoDS_Face) -> None: ... + def CheckPoint(self, thePoint: gp_Pnt2d) -> bool: ... + def CurrentEdge(self, E: BRepClass_Edge) -> TopAbs_Orientation: ... + def InitEdges(self) -> None: ... + def InitWires(self) -> None: ... + def MaxTolerance(self) -> float: ... + def MoreEdges(self) -> bool: ... + def MoreWires(self) -> bool: ... + def NextEdge(self) -> None: ... + def NextWire(self) -> None: ... + def OtherSegment(self, P: gp_Pnt2d, L: gp_Lin2d) -> Tuple[bool, float]: ... + def Reject(self, P: gp_Pnt2d) -> bool: ... + def RejectEdge(self, L: gp_Lin2d, Par: float) -> bool: ... + def RejectWire(self, L: gp_Lin2d, Par: float) -> bool: ... + def Segment(self, P: gp_Pnt2d, L: gp_Lin2d) -> Tuple[bool, float]: ... + def SetMaxTolerance(self, theValue: float) -> None: ... + def SetUseBndBox(self, theValue: bool) -> None: ... + def UseBndBox(self) -> bool: ... class BRepClass_FacePassiveClassifier: - def __init__(self) -> None: ... - def ClosestIntersection(self) -> int: ... - def Compare(self, E: BRepClass_Edge, Or: TopAbs_Orientation) -> None: ... - def Intersector(self) -> BRepClass_Intersector: ... - def IsHeadOrEnd(self) -> bool: ... - def Parameter(self) -> float: ... - def Reset(self, L: gp_Lin2d, P: float, Tol: float) -> None: ... - def State(self) -> TopAbs_State: ... + def __init__(self) -> None: ... + def ClosestIntersection(self) -> int: ... + def Compare(self, E: BRepClass_Edge, Or: TopAbs_Orientation) -> None: ... + def Intersector(self) -> BRepClass_Intersector: ... + def IsHeadOrEnd(self) -> bool: ... + def Parameter(self) -> float: ... + def Reset(self, L: gp_Lin2d, P: float, Tol: float) -> None: ... + def State(self) -> TopAbs_State: ... class BRepClass_Intersector(Geom2dInt_IntConicCurveOfGInter): - def __init__(self) -> None: ... - def LocalGeometry(self, E: BRepClass_Edge, U: float, T: gp_Dir2d, N: gp_Dir2d) -> float: ... - def Perform(self, L: gp_Lin2d, P: float, Tol: float, E: BRepClass_Edge) -> None: ... + def __init__(self) -> None: ... + def LocalGeometry( + self, E: BRepClass_Edge, U: float, T: gp_Dir2d, N: gp_Dir2d + ) -> float: ... + def Perform(self, L: gp_Lin2d, P: float, Tol: float, E: BRepClass_Edge) -> None: ... class BRepClass_FaceClassifier(BRepClass_FClassifier): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, F: BRepClass_FaceExplorer, P: gp_Pnt2d, Tol: float) -> None: ... - @overload - def __init__(self, F: TopoDS_Face, P: gp_Pnt2d, Tol: float) -> None: ... - @overload - def __init__(self, F: TopoDS_Face, P: gp_Pnt, Tol: float) -> None: ... - @overload - def Perform(self, F: TopoDS_Face, P: gp_Pnt2d, Tol: float) -> None: ... - @overload - def Perform(self, F: TopoDS_Face, P: gp_Pnt, Tol: float) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, F: BRepClass_FaceExplorer, P: gp_Pnt2d, Tol: float) -> None: ... + @overload + def __init__( + self, + theF: TopoDS_Face, + theP: gp_Pnt2d, + theTol: float, + theUseBndBox: Optional[bool] = False, + theGapCheckTol: Optional[float] = 0.1, + ) -> None: ... + @overload + def __init__( + self, + theF: TopoDS_Face, + theP: gp_Pnt, + theTol: float, + theUseBndBox: Optional[bool] = False, + theGapCheckTol: Optional[float] = 0.1, + ) -> None: ... + @overload + def Perform( + self, + theF: TopoDS_Face, + theP: gp_Pnt2d, + theTol: float, + theUseBndBox: Optional[bool] = False, + theGapCheckTol: Optional[float] = 0.1, + ) -> None: ... + @overload + def Perform( + self, + theF: TopoDS_Face, + theP: gp_Pnt, + theTol: float, + theUseBndBox: Optional[bool] = False, + theGapCheckTol: Optional[float] = 0.1, + ) -> None: ... # harray1 classes # harray2 classes # hsequence classes - diff --git a/src/SWIG_files/wrapper/BRepClass3d.i b/src/SWIG_files/wrapper/BRepClass3d.i index e4eb350aa..482cc38bb 100644 --- a/src/SWIG_files/wrapper/BRepClass3d.i +++ b/src/SWIG_files/wrapper/BRepClass3d.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPCLASS3DDOCSTRING "BRepClass3d module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepclass3d.html" +https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_brepclass3d.html" %enddef %module (package="OCC.Core", docstring=BREPCLASS3DDOCSTRING) BRepClass3d @@ -31,8 +31,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepclass3d.html" %include ../common/CommonIncludes.i %include ../common/ExceptionCatcher.i %include ../common/FunctionTransformers.i +%include ../common/EnumTemplates.i %include ../common/Operators.i %include ../common/OccHandle.i +%include ../common/IOStream.i +%include ../common/ArrayMacros.i %{ @@ -83,7 +86,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -108,18 +111,21 @@ typedef NCollection_DataMap. returns a null shell if has no outer shell. if has only one shell, then it will return, without checking orientation. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Solid -Returns +Return ------- TopoDS_Shell + +Description +----------- +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. ") OuterShell; static TopoDS_Shell OuterShell(const TopoDS_Solid & S); @@ -137,55 +143,62 @@ TopoDS_Shell **********************************/ class BRepClass3d_Intersector3d { public: - /****************** BRepClass3d_Intersector3d ******************/ - /**** md5 signature: 5313248e9a4d9e528b75267702000c25 ****/ + /****** BRepClass3d_Intersector3d::BRepClass3d_Intersector3d ******/ + /****** md5 signature: 5313248e9a4d9e528b75267702000c25 ******/ %feature("compactdefaultargs") BRepClass3d_Intersector3d; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BRepClass3d_Intersector3d; BRepClass3d_Intersector3d(); - /****************** Face ******************/ - /**** md5 signature: 91e216ebeb76e55c73eb9e179241a6ff ****/ + /****** BRepClass3d_Intersector3d::Face ******/ + /****** md5 signature: 91e216ebeb76e55c73eb9e179241a6ff ******/ %feature("compactdefaultargs") Face; - %feature("autodoc", "Returns the significant face used to determine the intersection. - -Returns + %feature("autodoc", "Return ------- TopoDS_Face + +Description +----------- +Returns the significant face used to determine the intersection. ") Face; const TopoDS_Face Face(); - /****************** HasAPoint ******************/ - /**** md5 signature: 95bdb18305d0dc0e9acb6e3a09a77c66 ****/ + /****** BRepClass3d_Intersector3d::HasAPoint ******/ + /****** md5 signature: 95bdb18305d0dc0e9acb6e3a09a77c66 ******/ %feature("compactdefaultargs") HasAPoint; - %feature("autodoc", "True is returned if a point has been found. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +True is returned if a point has been found. ") HasAPoint; Standard_Boolean HasAPoint(); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** BRepClass3d_Intersector3d::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "True is returned when the intersection have been computed. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +True is returned when the intersection have been computed. ") IsDone; Standard_Boolean IsDone(); - /****************** Perform ******************/ - /**** md5 signature: fbf207842cdabc9dffc461de3afdbc7f ****/ + /****** BRepClass3d_Intersector3d::Perform ******/ + /****** md5 signature: fbf207842cdabc9dffc461de3afdbc7f ******/ %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). - + %feature("autodoc", " Parameters ---------- L: gp_Lin @@ -193,75 +206,91 @@ Prm: float Tol: float F: TopoDS_Face -Returns +Return ------- None + +Description +----------- +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). ") Perform; void Perform(const gp_Lin & L, const Standard_Real Prm, const Standard_Real Tol, const TopoDS_Face & F); - /****************** Pnt ******************/ - /**** md5 signature: c0bafeed50f4eebb5964e2bf8520bf90 ****/ + /****** BRepClass3d_Intersector3d::Pnt ******/ + /****** md5 signature: c0bafeed50f4eebb5964e2bf8520bf90 ******/ %feature("compactdefaultargs") Pnt; - %feature("autodoc", "Returns the geometric point of the intersection between the line and the surface. - -Returns + %feature("autodoc", "Return ------- gp_Pnt + +Description +----------- +Returns the geometric point of the intersection between the line and the surface. ") Pnt; const gp_Pnt Pnt(); - /****************** State ******************/ - /**** md5 signature: 927c83b1efdec797adb47eb058eddaa0 ****/ + /****** BRepClass3d_Intersector3d::State ******/ + /****** md5 signature: 927c83b1efdec797adb47eb058eddaa0 ******/ %feature("compactdefaultargs") State; - %feature("autodoc", "Returns the state of the point on the face. the values can be either topabs_in ( the point is in the face) or topabs_on ( the point is on a boudary of the face). - -Returns + %feature("autodoc", "Return ------- TopAbs_State + +Description +----------- +Returns the state of the point on the face. The values can be either TopAbs_IN ( the point is in the face) or TopAbs_ON ( the point is on a boundary of the face). ") State; TopAbs_State State(); - /****************** Transition ******************/ - /**** md5 signature: bd528dc9c78a60a5b26409b8cf4f3afe ****/ + /****** BRepClass3d_Intersector3d::Transition ******/ + /****** md5 signature: bd528dc9c78a60a5b26409b8cf4f3afe ******/ %feature("compactdefaultargs") Transition; - %feature("autodoc", "Returns the transition of the line on the surface. - -Returns + %feature("autodoc", "Return ------- IntCurveSurface_TransitionOnCurve + +Description +----------- +Returns the transition of the line on the surface. ") Transition; IntCurveSurface_TransitionOnCurve Transition(); - /****************** UParameter ******************/ - /**** md5 signature: 5a3c6fef4fc1a6f599cc725a940f8581 ****/ + /****** BRepClass3d_Intersector3d::UParameter ******/ + /****** md5 signature: 5a3c6fef4fc1a6f599cc725a940f8581 ******/ %feature("compactdefaultargs") UParameter; - %feature("autodoc", "Returns the u parameter of the intersection point on the surface. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the U parameter of the intersection point on the surface. ") UParameter; Standard_Real UParameter(); - /****************** VParameter ******************/ - /**** md5 signature: 5b56cd11dcb65aaedb7fac8351dbfbc8 ****/ + /****** BRepClass3d_Intersector3d::VParameter ******/ + /****** md5 signature: 5b56cd11dcb65aaedb7fac8351dbfbc8 ******/ %feature("compactdefaultargs") VParameter; - %feature("autodoc", "Returns the v parameter of the intersection point on the surface. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the V parameter of the intersection point on the surface. ") VParameter; Standard_Real VParameter(); - /****************** WParameter ******************/ - /**** md5 signature: a33035afb8654e081d0823499e659e46 ****/ + /****** BRepClass3d_Intersector3d::WParameter ******/ + /****** md5 signature: a33035afb8654e081d0823499e659e46 ******/ %feature("compactdefaultargs") WParameter; - %feature("autodoc", "Returns the parameter of the intersection point on the line. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the parameter of the intersection point on the line. ") WParameter; Standard_Real WParameter(); @@ -279,108 +308,127 @@ float ********************************/ class BRepClass3d_SClassifier { public: - /****************** BRepClass3d_SClassifier ******************/ - /**** md5 signature: 0e43e1bcc9eb18eda4d1709f9787e45f ****/ + /****** BRepClass3d_SClassifier::BRepClass3d_SClassifier ******/ + /****** md5 signature: 0e43e1bcc9eb18eda4d1709f9787e45f ******/ %feature("compactdefaultargs") BRepClass3d_SClassifier; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BRepClass3d_SClassifier; BRepClass3d_SClassifier(); - /****************** BRepClass3d_SClassifier ******************/ - /**** md5 signature: 0e7fbee80d781c22f36939e8cf1adb7e ****/ + /****** BRepClass3d_SClassifier::BRepClass3d_SClassifier ******/ + /****** md5 signature: 0e7fbee80d781c22f36939e8cf1adb7e ******/ %feature("compactdefaultargs") BRepClass3d_SClassifier; - %feature("autodoc", "Constructor to classify the point p with the tolerance tol on the solid s. - + %feature("autodoc", " Parameters ---------- S: BRepClass3d_SolidExplorer P: gp_Pnt Tol: float -Returns +Return ------- None + +Description +----------- +Constructor to classify the point P with the tolerance Tol on the solid S. ") BRepClass3d_SClassifier; BRepClass3d_SClassifier(BRepClass3d_SolidExplorer & S, const gp_Pnt & P, const Standard_Real Tol); - /****************** Face ******************/ - /**** md5 signature: 64c75db1e9c1285068e9dd474618f74f ****/ + /****** BRepClass3d_SClassifier::Face ******/ + /****** md5 signature: 64c75db1e9c1285068e9dd474618f74f ******/ %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. - -Returns + %feature("autodoc", "Return ------- TopoDS_Face + +Description +----------- +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. ") Face; TopoDS_Face Face(); - /****************** IsOnAFace ******************/ - /**** md5 signature: e7c1af4ae72eee2a9b46452df227e5ed ****/ + /****** BRepClass3d_SClassifier::IsOnAFace ******/ + /****** md5 signature: e7c1af4ae72eee2a9b46452df227e5ed ******/ %feature("compactdefaultargs") IsOnAFace; - %feature("autodoc", "Returns true when the point is a point of a face. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns True when the point is a point of a face. ") IsOnAFace; Standard_Boolean IsOnAFace(); - /****************** Perform ******************/ - /**** md5 signature: 9c6284684be6a59e66779a905c370b7a ****/ + /****** BRepClass3d_SClassifier::Perform ******/ + /****** md5 signature: 9c6284684be6a59e66779a905c370b7a ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Classify the point p with the tolerance tol on the solid s. - + %feature("autodoc", " Parameters ---------- S: BRepClass3d_SolidExplorer P: gp_Pnt Tol: float -Returns +Return ------- None + +Description +----------- +Classify the point P with the tolerance Tol on the solid S. ") Perform; void Perform(BRepClass3d_SolidExplorer & S, const gp_Pnt & P, const Standard_Real Tol); - /****************** PerformInfinitePoint ******************/ - /**** md5 signature: b38a28b443037933c522597a4245e901 ****/ + /****** BRepClass3d_SClassifier::PerformInfinitePoint ******/ + /****** md5 signature: b38a28b443037933c522597a4245e901 ******/ %feature("compactdefaultargs") PerformInfinitePoint; - %feature("autodoc", "Classify an infinite point with the tolerance tol on the solid s. - + %feature("autodoc", " Parameters ---------- S: BRepClass3d_SolidExplorer Tol: float -Returns +Return ------- None + +Description +----------- +Classify an infinite point with the tolerance Tol on the solid S. ") PerformInfinitePoint; void PerformInfinitePoint(BRepClass3d_SolidExplorer & S, const Standard_Real Tol); - /****************** Rejected ******************/ - /**** md5 signature: 56d604911041dd9f442bde612c88e4cd ****/ + /****** BRepClass3d_SClassifier::Rejected ******/ + /****** md5 signature: 56d604911041dd9f442bde612c88e4cd ******/ %feature("compactdefaultargs") Rejected; - %feature("autodoc", "Returns true if the classification has been computed by rejection. the state is then out. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns True if the classification has been computed by rejection. The State is then OUT. ") Rejected; Standard_Boolean Rejected(); - /****************** State ******************/ - /**** md5 signature: 927c83b1efdec797adb47eb058eddaa0 ****/ + /****** BRepClass3d_SClassifier::State ******/ + /****** md5 signature: 927c83b1efdec797adb47eb058eddaa0 ******/ %feature("compactdefaultargs") State; - %feature("autodoc", "Returns the result of the classification. - -Returns + %feature("autodoc", "Return ------- TopAbs_State + +Description +----------- +Returns the result of the classification. ") State; TopAbs_State State(); @@ -398,81 +446,93 @@ TopAbs_State **********************************/ class BRepClass3d_SolidExplorer { public: - /****************** BRepClass3d_SolidExplorer ******************/ - /**** md5 signature: 2cb6e9ade85fff9fe417a5fe5c1853ef ****/ + /****** BRepClass3d_SolidExplorer::BRepClass3d_SolidExplorer ******/ + /****** md5 signature: 2cb6e9ade85fff9fe417a5fe5c1853ef ******/ %feature("compactdefaultargs") BRepClass3d_SolidExplorer; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepClass3d_SolidExplorer; BRepClass3d_SolidExplorer(); - /****************** BRepClass3d_SolidExplorer ******************/ - /**** md5 signature: 4fbcac149406b40fbabba612a552e1fd ****/ + /****** BRepClass3d_SolidExplorer::BRepClass3d_SolidExplorer ******/ + /****** md5 signature: 4fbcac149406b40fbabba612a552e1fd ******/ %feature("compactdefaultargs") BRepClass3d_SolidExplorer; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepClass3d_SolidExplorer; BRepClass3d_SolidExplorer(const TopoDS_Shape & S); - /****************** Box ******************/ - /**** md5 signature: 7c4ea237507e51916495e768089f878e ****/ + /****** BRepClass3d_SolidExplorer::Box ******/ + /****** md5 signature: 7c4ea237507e51916495e768089f878e ******/ %feature("compactdefaultargs") Box; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- Bnd_Box + +Description +----------- +No available documentation. ") Box; const Bnd_Box & Box(); - /****************** CurrentFace ******************/ - /**** md5 signature: 88a3d5d94862043bde89d78000693450 ****/ + /****** BRepClass3d_SolidExplorer::CurrentFace ******/ + /****** md5 signature: 88a3d5d94862043bde89d78000693450 ******/ %feature("compactdefaultargs") CurrentFace; - %feature("autodoc", "Returns the current face. - -Returns + %feature("autodoc", "Return ------- TopoDS_Face + +Description +----------- +Returns the current face. ") CurrentFace; TopoDS_Face CurrentFace(); - /****************** CurrentShell ******************/ - /**** md5 signature: 16e51d9904504dd5dccd12b1a05b6190 ****/ + /****** BRepClass3d_SolidExplorer::CurrentShell ******/ + /****** md5 signature: 16e51d9904504dd5dccd12b1a05b6190 ******/ %feature("compactdefaultargs") CurrentShell; - %feature("autodoc", "Returns the current shell. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shell + +Description +----------- +Returns the current shell. ") CurrentShell; TopoDS_Shell CurrentShell(); - /****************** Destroy ******************/ - /**** md5 signature: 73111f72f4ab0474eb2cfbd7e4af4e1a ****/ + /****** BRepClass3d_SolidExplorer::Destroy ******/ + /****** md5 signature: 73111f72f4ab0474eb2cfbd7e4af4e1a ******/ %feature("compactdefaultargs") Destroy; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") Destroy; void Destroy(); - /****************** DumpSegment ******************/ - /**** md5 signature: 956e65b65651fa5abd6d4e99a756a224 ****/ + /****** BRepClass3d_SolidExplorer::DumpSegment ******/ + /****** md5 signature: 956e65b65651fa5abd6d4e99a756a224 ******/ %feature("compactdefaultargs") DumpSegment; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P: gp_Pnt @@ -480,51 +540,60 @@ L: gp_Lin Par: float S: TopAbs_State -Returns +Return ------- None + +Description +----------- +No available documentation. ") DumpSegment; virtual void DumpSegment(const gp_Pnt & P, const gp_Lin & L, const Standard_Real Par, const TopAbs_State S); - /****************** FindAPointInTheFace ******************/ - /**** md5 signature: 017b38099efc4045694c9c0eec7a0305 ****/ + /****** BRepClass3d_SolidExplorer::FindAPointInTheFace ******/ + /****** md5 signature: 017b38099efc4045694c9c0eec7a0305 ******/ %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. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face P: gp_Pnt -Returns +Return ------- Param: float + +Description +----------- +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. ") FindAPointInTheFace; static Standard_Boolean FindAPointInTheFace(const TopoDS_Face & F, gp_Pnt & P, Standard_Real &OutValue); - /****************** FindAPointInTheFace ******************/ - /**** md5 signature: cfa5d85e3e48ef9c6fa4b8a92d14a8e3 ****/ + /****** BRepClass3d_SolidExplorer::FindAPointInTheFace ******/ + /****** md5 signature: cfa5d85e3e48ef9c6fa4b8a92d14a8e3 ******/ %feature("compactdefaultargs") FindAPointInTheFace; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face P: gp_Pnt -Returns +Return ------- u: float v: float Param: float + +Description +----------- +No available documentation. ") FindAPointInTheFace; static Standard_Boolean FindAPointInTheFace(const TopoDS_Face & F, gp_Pnt & P, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** FindAPointInTheFace ******************/ - /**** md5 signature: c28fe2e7cc35377cd66ce9290933d0a3 ****/ + /****** BRepClass3d_SolidExplorer::FindAPointInTheFace ******/ + /****** md5 signature: c28fe2e7cc35377cd66ce9290933d0a3 ******/ %feature("compactdefaultargs") FindAPointInTheFace; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face @@ -532,272 +601,319 @@ P: gp_Pnt theVecD1U: gp_Vec theVecD1V: gp_Vec -Returns +Return ------- u: float v: float Param: float + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: 6c69107d08aa717df4761c1ae3a12191 ****/ + /****** BRepClass3d_SolidExplorer::FindAPointInTheFace ******/ + /****** md5 signature: 6c69107d08aa717df4761c1ae3a12191 ******/ %feature("compactdefaultargs") FindAPointInTheFace; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face P: gp_Pnt -Returns +Return ------- u: float v: float + +Description +----------- +No available documentation. ") FindAPointInTheFace; static Standard_Boolean FindAPointInTheFace(const TopoDS_Face & F, gp_Pnt & P, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** FindAPointInTheFace ******************/ - /**** md5 signature: 947dd7c60afdf4e19b5af7c8c915c5a4 ****/ + /****** BRepClass3d_SolidExplorer::FindAPointInTheFace ******/ + /****** md5 signature: 947dd7c60afdf4e19b5af7c8c915c5a4 ******/ %feature("compactdefaultargs") FindAPointInTheFace; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face P: gp_Pnt -Returns +Return ------- bool + +Description +----------- +No available documentation. ") FindAPointInTheFace; static Standard_Boolean FindAPointInTheFace(const TopoDS_Face & F, gp_Pnt & P); - /****************** FindAPointInTheFace ******************/ - /**** md5 signature: 1a53cc75214db16eaf466520aec6f0cf ****/ + /****** BRepClass3d_SolidExplorer::FindAPointInTheFace ******/ + /****** md5 signature: 1a53cc75214db16eaf466520aec6f0cf ******/ %feature("compactdefaultargs") FindAPointInTheFace; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face -Returns +Return ------- u: float v: float + +Description +----------- +No available documentation. ") FindAPointInTheFace; static Standard_Boolean FindAPointInTheFace(const TopoDS_Face & F, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** GetFaceSegmentIndex ******************/ - /**** md5 signature: 83baeb3358902c7f4be1cb4a7cc78576 ****/ + /****** BRepClass3d_SolidExplorer::GetFaceSegmentIndex ******/ + /****** md5 signature: 83baeb3358902c7f4be1cb4a7cc78576 ******/ %feature("compactdefaultargs") GetFaceSegmentIndex; - %feature("autodoc", "Returns the index of face for which last segment is calculated. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns the index of face for which last segment is calculated. ") GetFaceSegmentIndex; Standard_Integer GetFaceSegmentIndex(); - /****************** GetMapEV ******************/ - /**** md5 signature: 9321b6d327f7742e505f8eef3f9d8710 ****/ + /****** BRepClass3d_SolidExplorer::GetMapEV ******/ + /****** md5 signature: 9321b6d327f7742e505f8eef3f9d8710 ******/ %feature("compactdefaultargs") GetMapEV; - %feature("autodoc", "Return edge/vertices map for current shape. - -Returns + %feature("autodoc", "Return ------- TopTools_IndexedMapOfShape + +Description +----------- +Return edge/vertices map for current shape. ") GetMapEV; const TopTools_IndexedMapOfShape & GetMapEV(); - /****************** GetShape ******************/ - /**** md5 signature: 68adf76e3cbb4c2e8340f398e62eb4da ****/ + /****** BRepClass3d_SolidExplorer::GetShape ******/ + /****** md5 signature: 68adf76e3cbb4c2e8340f398e62eb4da ******/ %feature("compactdefaultargs") GetShape; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +No available documentation. ") GetShape; const TopoDS_Shape GetShape(); - /****************** GetTree ******************/ - /**** md5 signature: 8b49ac1118352d12ae778510be4c79fc ****/ + /****** BRepClass3d_SolidExplorer::GetTree ******/ + /****** md5 signature: 8b49ac1118352d12ae778510be4c79fc ******/ %feature("compactdefaultargs") GetTree; - %feature("autodoc", "Return ub-tree instance which is used for edge / vertex checks. - -Returns + %feature("autodoc", "Return ------- BRepClass3d_BndBoxTree + +Description +----------- +Return UB-tree instance which is used for edge / vertex checks. ") GetTree; const BRepClass3d_BndBoxTree & GetTree(); - /****************** InitFace ******************/ - /**** md5 signature: 0e969d0225b2576ac55e2fb0e7a91460 ****/ + /****** BRepClass3d_SolidExplorer::InitFace ******/ + /****** md5 signature: 0e969d0225b2576ac55e2fb0e7a91460 ******/ %feature("compactdefaultargs") InitFace; - %feature("autodoc", "Starts an exploration of the faces of the current shell. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Starts an exploration of the faces of the current shell. ") InitFace; void InitFace(); - /****************** InitShape ******************/ - /**** md5 signature: d9bc37c7ee2a5ff0f8819cf45d1e822f ****/ + /****** BRepClass3d_SolidExplorer::InitShape ******/ + /****** md5 signature: d9bc37c7ee2a5ff0f8819cf45d1e822f ******/ %feature("compactdefaultargs") InitShape; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +No available documentation. ") InitShape; void InitShape(const TopoDS_Shape & S); - /****************** InitShell ******************/ - /**** md5 signature: da47ddbaca584bd5639e7c69797b28f8 ****/ + /****** BRepClass3d_SolidExplorer::InitShell ******/ + /****** md5 signature: da47ddbaca584bd5639e7c69797b28f8 ******/ %feature("compactdefaultargs") InitShell; - %feature("autodoc", "Starts an exploration of the shells. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Starts an exploration of the shells. ") InitShell; void InitShell(); - /****************** Intersector ******************/ - /**** md5 signature: 4031f4a71f4a73a8fa5ed1228f085e89 ****/ + /****** BRepClass3d_SolidExplorer::Intersector ******/ + /****** md5 signature: 4031f4a71f4a73a8fa5ed1228f085e89 ******/ %feature("compactdefaultargs") Intersector; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face -Returns +Return ------- IntCurvesFace_Intersector + +Description +----------- +No available documentation. ") Intersector; IntCurvesFace_Intersector & Intersector(const TopoDS_Face & F); - /****************** MoreFace ******************/ - /**** md5 signature: 9ce280b3ff0f94e82bd4ccb635ad91a7 ****/ + /****** BRepClass3d_SolidExplorer::MoreFace ******/ + /****** md5 signature: 9ce280b3ff0f94e82bd4ccb635ad91a7 ******/ %feature("compactdefaultargs") MoreFace; - %feature("autodoc", "Returns true if current face in current shell. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns True if current face in current shell. ") MoreFace; Standard_Boolean MoreFace(); - /****************** MoreShell ******************/ - /**** md5 signature: 9123faff7480a9cd91e7d3a7625f4cdb ****/ + /****** BRepClass3d_SolidExplorer::MoreShell ******/ + /****** md5 signature: 9123faff7480a9cd91e7d3a7625f4cdb ******/ %feature("compactdefaultargs") MoreShell; - %feature("autodoc", "Returns true if there is a current shell. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns True if there is a current shell. ") MoreShell; Standard_Boolean MoreShell(); - /****************** NextFace ******************/ - /**** md5 signature: 33ae62d7d15ec80966f0219be1a267db ****/ + /****** BRepClass3d_SolidExplorer::NextFace ******/ + /****** md5 signature: 33ae62d7d15ec80966f0219be1a267db ******/ %feature("compactdefaultargs") NextFace; - %feature("autodoc", "Sets the explorer to the next face of the current shell. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Sets the explorer to the next Face of the current shell. ") NextFace; void NextFace(); - /****************** NextShell ******************/ - /**** md5 signature: acf25ab192bbd1382fada471f35632f3 ****/ + /****** BRepClass3d_SolidExplorer::NextShell ******/ + /****** md5 signature: acf25ab192bbd1382fada471f35632f3 ******/ %feature("compactdefaultargs") NextShell; - %feature("autodoc", "Sets the explorer to the next shell. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Sets the explorer to the next shell. ") NextShell; void NextShell(); - /****************** OtherSegment ******************/ - /**** md5 signature: 8a68c80fe5592baef8f2dc32aae030e8 ****/ + /****** BRepClass3d_SolidExplorer::OtherSegment ******/ + /****** md5 signature: 8a68c80fe5592baef8f2dc32aae030e8 ******/ %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. - + %feature("autodoc", " Parameters ---------- P: gp_Pnt L: gp_Lin -Returns +Return ------- Par: float + +Description +----------- +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. ") OtherSegment; Standard_Integer OtherSegment(const gp_Pnt & P, gp_Lin & L, Standard_Real &OutValue); - /****************** PointInTheFace ******************/ - /**** md5 signature: 02e05914677a68ed8d75572f3a199575 ****/ + /****** BRepClass3d_SolidExplorer::PointInTheFace ******/ + /****** md5 signature: 02e05914677a68ed8d75572f3a199575 ******/ %feature("compactdefaultargs") PointInTheFace; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face P: gp_Pnt -Returns +Return ------- u: float v: float Param: float Index: int + +Description +----------- +No available documentation. ") PointInTheFace; Standard_Boolean PointInTheFace(const TopoDS_Face & F, gp_Pnt & P, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Integer &OutValue); - /****************** PointInTheFace ******************/ - /**** md5 signature: 2409cfffa35ee7af69816ed64caca69e ****/ + /****** BRepClass3d_SolidExplorer::PointInTheFace ******/ + /****** md5 signature: 986766809c3fdf601631ad22531992f8 ******/ %feature("compactdefaultargs") PointInTheFace; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face P: gp_Pnt -surf: BRepAdaptor_HSurface +surf: BRepAdaptor_Surface u1: float v1: float u2: float v2: float -Returns +Return ------- u: float v: float Param: float Index: int + +Description +----------- +No available documentation. ") PointInTheFace; - Standard_Boolean PointInTheFace(const TopoDS_Face & F, gp_Pnt & P, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Integer &OutValue, const opencascade::handle & surf, const Standard_Real u1, const Standard_Real v1, const Standard_Real u2, const Standard_Real v2); + Standard_Boolean PointInTheFace(const TopoDS_Face & F, gp_Pnt & P, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Integer &OutValue, const opencascade::handle & surf, const Standard_Real u1, const Standard_Real v1, const Standard_Real u2, const Standard_Real v2); - /****************** PointInTheFace ******************/ - /**** md5 signature: ab70975c9887205d9944a58eab4d39a9 ****/ + /****** BRepClass3d_SolidExplorer::PointInTheFace ******/ + /****** md5 signature: 69801e47f45d76167828452cfb2f933a ******/ %feature("compactdefaultargs") PointInTheFace; - %feature("autodoc", " gives point index to search from and returns point index of succeseful search. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face P: gp_Pnt -surf: BRepAdaptor_HSurface +surf: BRepAdaptor_Surface u1: float v1: float u2: float @@ -805,73 +921,89 @@ v2: float theVecD1U: gp_Vec theVecD1V: gp_Vec -Returns +Return ------- u: float v: float Param: float Index: int + +Description +----------- + gives point index to search from and returns point index of succeseful search. ") PointInTheFace; - Standard_Boolean PointInTheFace(const TopoDS_Face & F, gp_Pnt & P, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Integer &OutValue, const opencascade::handle & surf, const Standard_Real u1, const Standard_Real v1, const Standard_Real u2, const Standard_Real v2, gp_Vec & theVecD1U, gp_Vec & theVecD1V); + Standard_Boolean PointInTheFace(const TopoDS_Face & F, gp_Pnt & P, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Integer &OutValue, const opencascade::handle & surf, const Standard_Real u1, const Standard_Real v1, const Standard_Real u2, const Standard_Real v2, gp_Vec & theVecD1U, gp_Vec & theVecD1V); - /****************** Reject ******************/ - /**** md5 signature: 51de68ac10b383926f08d5ff11ad46ef ****/ + /****** BRepClass3d_SolidExplorer::Reject ******/ + /****** md5 signature: 51de68ac10b383926f08d5ff11ad46ef ******/ %feature("compactdefaultargs") Reject; - %feature("autodoc", "Should return true if p outside of bounding vol. of the shape. - + %feature("autodoc", " Parameters ---------- P: gp_Pnt -Returns +Return ------- bool + +Description +----------- +Should return True if P outside of bounding vol. of the shape. ") Reject; virtual Standard_Boolean Reject(const gp_Pnt & P); - /****************** RejectFace ******************/ - /**** md5 signature: ac0d5a52c1e8c11624a4126529ce95a1 ****/ + /****** BRepClass3d_SolidExplorer::RejectFace ******/ + /****** md5 signature: ac0d5a52c1e8c11624a4126529ce95a1 ******/ %feature("compactdefaultargs") RejectFace; - %feature("autodoc", "Returns true if the face is rejected. - + %feature("autodoc", " Parameters ---------- L: gp_Lin -Returns +Return ------- bool + +Description +----------- +returns True if the face is rejected. ") RejectFace; virtual Standard_Boolean RejectFace(const gp_Lin & L); - /****************** RejectShell ******************/ - /**** md5 signature: 2e32cb4f65a91d1adc50db91830d6b88 ****/ + /****** BRepClass3d_SolidExplorer::RejectShell ******/ + /****** md5 signature: 2e32cb4f65a91d1adc50db91830d6b88 ******/ %feature("compactdefaultargs") RejectShell; - %feature("autodoc", "Returns true if the shell is rejected. - + %feature("autodoc", " Parameters ---------- L: gp_Lin -Returns +Return ------- bool + +Description +----------- +Returns True if the Shell is rejected. ") RejectShell; virtual Standard_Boolean RejectShell(const gp_Lin & L); - /****************** Segment ******************/ - /**** md5 signature: 65c1df49fa25b2d5c8218cf933983a20 ****/ + /****** BRepClass3d_SolidExplorer::Segment ******/ + /****** md5 signature: 65c1df49fa25b2d5c8218cf933983a20 ******/ %feature("compactdefaultargs") Segment; - %feature("autodoc", "Returns in , a segment having at least one intersection with the shape boundary to compute intersections. - + %feature("autodoc", " Parameters ---------- P: gp_Pnt L: gp_Lin -Returns +Return ------- Par: float + +Description +----------- +Returns in , a segment having at least one intersection with the shape boundary to compute intersections. ") Segment; Standard_Integer Segment(const gp_Pnt & P, gp_Lin & L, Standard_Real &OutValue); @@ -889,91 +1021,107 @@ Par: float *******************************************/ class BRepClass3d_SolidPassiveClassifier { public: - /****************** BRepClass3d_SolidPassiveClassifier ******************/ - /**** md5 signature: 753c34115a953d0d1d184f6dbce546d6 ****/ + /****** BRepClass3d_SolidPassiveClassifier::BRepClass3d_SolidPassiveClassifier ******/ + /****** md5 signature: 753c34115a953d0d1d184f6dbce546d6 ******/ %feature("compactdefaultargs") BRepClass3d_SolidPassiveClassifier; - %feature("autodoc", "Creates an undefined classifier. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Creates an undefined classifier. ") BRepClass3d_SolidPassiveClassifier; BRepClass3d_SolidPassiveClassifier(); - /****************** Compare ******************/ - /**** md5 signature: b56f046d5b1a7e24fd1a5f6c7f16401a ****/ + /****** BRepClass3d_SolidPassiveClassifier::Compare ******/ + /****** md5 signature: b56f046d5b1a7e24fd1a5f6c7f16401a ******/ %feature("compactdefaultargs") Compare; - %feature("autodoc", "Updates the classification process with the face from the boundary. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face Or: TopAbs_Orientation -Returns +Return ------- None + +Description +----------- +Updates the classification process with the face from the boundary. ") Compare; void Compare(const TopoDS_Face & F, const TopAbs_Orientation Or); - /****************** HasIntersection ******************/ - /**** md5 signature: 94c3b976d93201cedbd7868f3cc308ec ****/ + /****** BRepClass3d_SolidPassiveClassifier::HasIntersection ******/ + /****** md5 signature: 55f070fe51c559b5db20d742c7f46730 ******/ %feature("compactdefaultargs") HasIntersection; - %feature("autodoc", "Returns true if an intersection is computed. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns True if an intersection is computed. ") HasIntersection; Standard_Boolean HasIntersection(); - /****************** Intersector ******************/ - /**** md5 signature: 89ae7485d04a83ad1143250d9364ad9b ****/ + /****** BRepClass3d_SolidPassiveClassifier::Intersector ******/ + /****** md5 signature: b339e86a1f3b2bdef697aa467bca345d ******/ %feature("compactdefaultargs") Intersector; - %feature("autodoc", "Returns the intersecting algorithm. - -Returns + %feature("autodoc", "Return ------- BRepClass3d_Intersector3d + +Description +----------- +Returns the intersecting algorithm. ") Intersector; BRepClass3d_Intersector3d & Intersector(); - /****************** Parameter ******************/ - /**** md5 signature: ecccdeaeaa0deed24f47e61ad75d24f1 ****/ + /****** BRepClass3d_SolidPassiveClassifier::Parameter ******/ + /****** md5 signature: a1c30d1196ee452cd8e422f1e25a0fbc ******/ %feature("compactdefaultargs") Parameter; - %feature("autodoc", "Returns the current value of the parameter. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the current value of the parameter. ") Parameter; Standard_Real Parameter(); - /****************** Reset ******************/ - /**** md5 signature: e6b050ae118cd9e842409d971e4257e9 ****/ + /****** BRepClass3d_SolidPassiveClassifier::Reset ******/ + /****** md5 signature: e6b050ae118cd9e842409d971e4257e9 ******/ %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. - + %feature("autodoc", " Parameters ---------- L: gp_Lin P: float Tol: float -Returns +Return ------- None + +Description +----------- +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. ") Reset; void Reset(const gp_Lin & L, const Standard_Real P, const Standard_Real Tol); - /****************** State ******************/ - /**** md5 signature: 927c83b1efdec797adb47eb058eddaa0 ****/ + /****** BRepClass3d_SolidPassiveClassifier::State ******/ + /****** md5 signature: f060e49862ba79cdeda588bb3f787fae ******/ %feature("compactdefaultargs") State; - %feature("autodoc", "Returns the current state of the point. - -Returns + %feature("autodoc", "Return ------- TopAbs_State + +Description +----------- +Returns the current state of the point. ") State; TopAbs_State State(); @@ -997,103 +1145,122 @@ TopAbs_State ************************************/ class BRepClass3d_SolidClassifier : public BRepClass3d_SClassifier { public: - /****************** BRepClass3d_SolidClassifier ******************/ - /**** md5 signature: 8dbf40d196a6056c1a2b07197983a030 ****/ + /****** BRepClass3d_SolidClassifier::BRepClass3d_SolidClassifier ******/ + /****** md5 signature: 8dbf40d196a6056c1a2b07197983a030 ******/ %feature("compactdefaultargs") BRepClass3d_SolidClassifier; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +empty constructor. ") BRepClass3d_SolidClassifier; BRepClass3d_SolidClassifier(); - /****************** BRepClass3d_SolidClassifier ******************/ - /**** md5 signature: af852678708e27ec7563b8a0e065a3cf ****/ + /****** BRepClass3d_SolidClassifier::BRepClass3d_SolidClassifier ******/ + /****** md5 signature: af852678708e27ec7563b8a0e065a3cf ******/ %feature("compactdefaultargs") BRepClass3d_SolidClassifier; - %feature("autodoc", "Constructor from a shape. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Constructor from a Shape. ") BRepClass3d_SolidClassifier; BRepClass3d_SolidClassifier(const TopoDS_Shape & S); - /****************** BRepClass3d_SolidClassifier ******************/ - /**** md5 signature: 1931c86413bceb6f0e5cc65c93485f4e ****/ + /****** BRepClass3d_SolidClassifier::BRepClass3d_SolidClassifier ******/ + /****** md5 signature: 1931c86413bceb6f0e5cc65c93485f4e ******/ %feature("compactdefaultargs") BRepClass3d_SolidClassifier; - %feature("autodoc", "Constructor to classify the point p with the tolerance tol on the solid s. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape P: gp_Pnt Tol: float -Returns +Return ------- None + +Description +----------- +Constructor to classify the point P with the tolerance Tol on the solid S. ") BRepClass3d_SolidClassifier; BRepClass3d_SolidClassifier(const TopoDS_Shape & S, const gp_Pnt & P, const Standard_Real Tol); - /****************** Destroy ******************/ - /**** md5 signature: 73111f72f4ab0474eb2cfbd7e4af4e1a ****/ + /****** BRepClass3d_SolidClassifier::Destroy ******/ + /****** md5 signature: 73111f72f4ab0474eb2cfbd7e4af4e1a ******/ %feature("compactdefaultargs") Destroy; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") Destroy; void Destroy(); - /****************** Load ******************/ - /**** md5 signature: e8cac8ea20706569fcef43af3e2c23ea ****/ + /****** BRepClass3d_SolidClassifier::Load ******/ + /****** md5 signature: e8cac8ea20706569fcef43af3e2c23ea ******/ %feature("compactdefaultargs") Load; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +No available documentation. ") Load; void Load(const TopoDS_Shape & S); - /****************** Perform ******************/ - /**** md5 signature: 8c78cd2f3c59b3c38b2c86a830e5298b ****/ + /****** BRepClass3d_SolidClassifier::Perform ******/ + /****** md5 signature: 8c78cd2f3c59b3c38b2c86a830e5298b ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Classify the point p with the tolerance tol on the solid s. - + %feature("autodoc", " Parameters ---------- P: gp_Pnt Tol: float -Returns +Return ------- None + +Description +----------- +Classify the point P with the tolerance Tol on the solid S. ") Perform; void Perform(const gp_Pnt & P, const Standard_Real Tol); - /****************** PerformInfinitePoint ******************/ - /**** md5 signature: 8af7800b756e0bb955df7574967e9884 ****/ + /****** BRepClass3d_SolidClassifier::PerformInfinitePoint ******/ + /****** md5 signature: 8af7800b756e0bb955df7574967e9884 ******/ %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. - + %feature("autodoc", " Parameters ---------- Tol: float -Returns +Return ------- None + +Description +----------- +Classify an infinite point with the tolerance Tol on the solid S. Useful for compute the orientation of a solid. ") PerformInfinitePoint; void PerformInfinitePoint(const Standard_Real Tol); @@ -1124,3 +1291,34 @@ class BRepClass3d_BndBoxTreeSelectorPoint: /* class aliases */ %pythoncode { } +/* deprecated methods */ +%pythoncode { +@deprecated +def brepclass3d_OuterShell(*args): + return brepclass3d.OuterShell(*args) + +@deprecated +def BRepClass3d_SolidExplorer_FindAPointInTheFace(*args): + return BRepClass3d_SolidExplorer.FindAPointInTheFace(*args) + +@deprecated +def BRepClass3d_SolidExplorer_FindAPointInTheFace(*args): + return BRepClass3d_SolidExplorer.FindAPointInTheFace(*args) + +@deprecated +def BRepClass3d_SolidExplorer_FindAPointInTheFace(*args): + return BRepClass3d_SolidExplorer.FindAPointInTheFace(*args) + +@deprecated +def BRepClass3d_SolidExplorer_FindAPointInTheFace(*args): + return BRepClass3d_SolidExplorer.FindAPointInTheFace(*args) + +@deprecated +def BRepClass3d_SolidExplorer_FindAPointInTheFace(*args): + return BRepClass3d_SolidExplorer.FindAPointInTheFace(*args) + +@deprecated +def BRepClass3d_SolidExplorer_FindAPointInTheFace(*args): + return BRepClass3d_SolidExplorer.FindAPointInTheFace(*args) + +} diff --git a/src/SWIG_files/wrapper/BRepClass3d.pyi b/src/SWIG_files/wrapper/BRepClass3d.pyi index 864fab7db..088da2c90 100644 --- a/src/SWIG_files/wrapper/BRepClass3d.pyi +++ b/src/SWIG_files/wrapper/BRepClass3d.pyi @@ -12,125 +12,147 @@ from OCC.Core.TopTools import * from OCC.Core.IntCurvesFace import * from OCC.Core.BRepAdaptor import * -#the following typedef cannot be wrapped as is -BRepClass3d_BndBoxTree = NewType('BRepClass3d_BndBoxTree', Any) +# the following typedef cannot be wrapped as is +BRepClass3d_BndBoxTree = NewType("BRepClass3d_BndBoxTree", Any) class brepclass3d: - @staticmethod - def OuterShell(S: TopoDS_Solid) -> TopoDS_Shell: ... + @staticmethod + def OuterShell(S: TopoDS_Solid) -> TopoDS_Shell: ... class BRepClass3d_Intersector3d: - def __init__(self) -> None: ... - def Face(self) -> TopoDS_Face: ... - def HasAPoint(self) -> bool: ... - def IsDone(self) -> bool: ... - def Perform(self, L: gp_Lin, Prm: float, Tol: float, F: TopoDS_Face) -> None: ... - def Pnt(self) -> gp_Pnt: ... - def State(self) -> TopAbs_State: ... - def Transition(self) -> IntCurveSurface_TransitionOnCurve: ... - def UParameter(self) -> float: ... - def VParameter(self) -> float: ... - def WParameter(self) -> float: ... + def __init__(self) -> None: ... + def Face(self) -> TopoDS_Face: ... + def HasAPoint(self) -> bool: ... + def IsDone(self) -> bool: ... + def Perform(self, L: gp_Lin, Prm: float, Tol: float, F: TopoDS_Face) -> None: ... + def Pnt(self) -> gp_Pnt: ... + def State(self) -> TopAbs_State: ... + def Transition(self) -> IntCurveSurface_TransitionOnCurve: ... + def UParameter(self) -> float: ... + def VParameter(self) -> float: ... + def WParameter(self) -> float: ... class BRepClass3d_SClassifier: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, S: BRepClass3d_SolidExplorer, P: gp_Pnt, Tol: float) -> None: ... - def Face(self) -> TopoDS_Face: ... - def IsOnAFace(self) -> bool: ... - def Perform(self, S: BRepClass3d_SolidExplorer, P: gp_Pnt, Tol: float) -> None: ... - def PerformInfinitePoint(self, S: BRepClass3d_SolidExplorer, Tol: float) -> None: ... - def Rejected(self) -> bool: ... - def State(self) -> TopAbs_State: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, S: BRepClass3d_SolidExplorer, P: gp_Pnt, Tol: float) -> None: ... + def Face(self) -> TopoDS_Face: ... + def IsOnAFace(self) -> bool: ... + def Perform(self, S: BRepClass3d_SolidExplorer, P: gp_Pnt, Tol: float) -> None: ... + def PerformInfinitePoint( + self, S: BRepClass3d_SolidExplorer, Tol: float + ) -> None: ... + def Rejected(self) -> bool: ... + def State(self) -> TopAbs_State: ... class BRepClass3d_SolidExplorer: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, S: TopoDS_Shape) -> None: ... - def Box(self) -> Bnd_Box: ... - def CurrentFace(self) -> TopoDS_Face: ... - def CurrentShell(self) -> TopoDS_Shell: ... - def Destroy(self) -> None: ... - def DumpSegment(self, P: gp_Pnt, L: gp_Lin, Par: float, S: TopAbs_State) -> None: ... - @overload - @staticmethod - def FindAPointInTheFace(F: TopoDS_Face, P: gp_Pnt) -> Tuple[bool, float]: ... - @overload - @staticmethod - def FindAPointInTheFace(F: TopoDS_Face, P: gp_Pnt) -> Tuple[bool, float, float, float]: ... - @overload - @staticmethod - def FindAPointInTheFace(F: TopoDS_Face, P: gp_Pnt, theVecD1U: gp_Vec, theVecD1V: gp_Vec) -> Tuple[bool, float, float, float]: ... - @overload - @staticmethod - def FindAPointInTheFace(F: TopoDS_Face, P: gp_Pnt) -> Tuple[bool, float, float]: ... - @overload - @staticmethod - def FindAPointInTheFace(F: TopoDS_Face, P: gp_Pnt) -> bool: ... - @overload - @staticmethod - def FindAPointInTheFace(F: TopoDS_Face) -> Tuple[bool, float, float]: ... - def GetFaceSegmentIndex(self) -> int: ... - def GetMapEV(self) -> TopTools_IndexedMapOfShape: ... - def GetShape(self) -> TopoDS_Shape: ... - def GetTree(self) -> BRepClass3d_BndBoxTree: ... - def InitFace(self) -> None: ... - def InitShape(self, S: TopoDS_Shape) -> None: ... - def InitShell(self) -> None: ... - def Intersector(self, F: TopoDS_Face) -> IntCurvesFace_Intersector: ... - def MoreFace(self) -> bool: ... - def MoreShell(self) -> bool: ... - def NextFace(self) -> None: ... - def NextShell(self) -> None: ... - def OtherSegment(self, P: gp_Pnt, L: gp_Lin) -> Tuple[int, float]: ... - @overload - def PointInTheFace(self, F: TopoDS_Face, P: gp_Pnt) -> Tuple[bool, float, float, float, int]: ... - @overload - def PointInTheFace(self, F: TopoDS_Face, P: gp_Pnt, surf: BRepAdaptor_HSurface, u1: float, v1: float, u2: float, v2: float) -> Tuple[bool, float, float, float, int]: ... - @overload - def PointInTheFace(self, F: TopoDS_Face, P: gp_Pnt, surf: BRepAdaptor_HSurface, u1: float, v1: float, u2: float, v2: float, theVecD1U: gp_Vec, theVecD1V: gp_Vec) -> Tuple[bool, float, float, float, int]: ... - def Reject(self, P: gp_Pnt) -> bool: ... - def RejectFace(self, L: gp_Lin) -> bool: ... - def RejectShell(self, L: gp_Lin) -> bool: ... - def Segment(self, P: gp_Pnt, L: gp_Lin) -> Tuple[int, float]: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, S: TopoDS_Shape) -> None: ... + def Box(self) -> Bnd_Box: ... + def CurrentFace(self) -> TopoDS_Face: ... + def CurrentShell(self) -> TopoDS_Shell: ... + def Destroy(self) -> None: ... + def DumpSegment( + self, P: gp_Pnt, L: gp_Lin, Par: float, S: TopAbs_State + ) -> None: ... + @overload + @staticmethod + def FindAPointInTheFace(F: TopoDS_Face, P: gp_Pnt) -> Tuple[bool, float]: ... + @overload + @staticmethod + def FindAPointInTheFace( + F: TopoDS_Face, P: gp_Pnt + ) -> Tuple[bool, float, float, float]: ... + @overload + @staticmethod + def FindAPointInTheFace( + F: TopoDS_Face, P: gp_Pnt, theVecD1U: gp_Vec, theVecD1V: gp_Vec + ) -> Tuple[bool, float, float, float]: ... + @overload + @staticmethod + def FindAPointInTheFace(F: TopoDS_Face, P: gp_Pnt) -> Tuple[bool, float, float]: ... + @overload + @staticmethod + def FindAPointInTheFace(F: TopoDS_Face, P: gp_Pnt) -> bool: ... + @overload + @staticmethod + def FindAPointInTheFace(F: TopoDS_Face) -> Tuple[bool, float, float]: ... + def GetFaceSegmentIndex(self) -> int: ... + def GetMapEV(self) -> TopTools_IndexedMapOfShape: ... + def GetShape(self) -> TopoDS_Shape: ... + def GetTree(self) -> BRepClass3d_BndBoxTree: ... + def InitFace(self) -> None: ... + def InitShape(self, S: TopoDS_Shape) -> None: ... + def InitShell(self) -> None: ... + def Intersector(self, F: TopoDS_Face) -> IntCurvesFace_Intersector: ... + def MoreFace(self) -> bool: ... + def MoreShell(self) -> bool: ... + def NextFace(self) -> None: ... + def NextShell(self) -> None: ... + def OtherSegment(self, P: gp_Pnt, L: gp_Lin) -> Tuple[int, float]: ... + @overload + def PointInTheFace( + self, F: TopoDS_Face, P: gp_Pnt + ) -> Tuple[bool, float, float, float, int]: ... + @overload + def PointInTheFace( + self, + F: TopoDS_Face, + P: gp_Pnt, + surf: BRepAdaptor_Surface, + u1: float, + v1: float, + u2: float, + v2: float, + ) -> Tuple[bool, float, float, float, int]: ... + @overload + def PointInTheFace( + self, + F: TopoDS_Face, + P: gp_Pnt, + surf: BRepAdaptor_Surface, + u1: float, + v1: float, + u2: float, + v2: float, + theVecD1U: gp_Vec, + theVecD1V: gp_Vec, + ) -> Tuple[bool, float, float, float, int]: ... + def Reject(self, P: gp_Pnt) -> bool: ... + def RejectFace(self, L: gp_Lin) -> bool: ... + def RejectShell(self, L: gp_Lin) -> bool: ... + def Segment(self, P: gp_Pnt, L: gp_Lin) -> Tuple[int, float]: ... class BRepClass3d_SolidPassiveClassifier: - def __init__(self) -> None: ... - def Compare(self, F: TopoDS_Face, Or: TopAbs_Orientation) -> None: ... - def HasIntersection(self) -> bool: ... - def Intersector(self) -> BRepClass3d_Intersector3d: ... - def Parameter(self) -> float: ... - def Reset(self, L: gp_Lin, P: float, Tol: float) -> None: ... - def State(self) -> TopAbs_State: ... + def __init__(self) -> None: ... + def Compare(self, F: TopoDS_Face, Or: TopAbs_Orientation) -> None: ... + def HasIntersection(self) -> bool: ... + def Intersector(self) -> BRepClass3d_Intersector3d: ... + def Parameter(self) -> float: ... + def Reset(self, L: gp_Lin, P: float, Tol: float) -> None: ... + def State(self) -> TopAbs_State: ... class BRepClass3d_SolidClassifier(BRepClass3d_SClassifier): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, S: TopoDS_Shape) -> None: ... - @overload - def __init__(self, S: TopoDS_Shape, P: gp_Pnt, Tol: float) -> None: ... - def Destroy(self) -> None: ... - def Load(self, S: TopoDS_Shape) -> None: ... - def Perform(self, P: gp_Pnt, Tol: float) -> None: ... - def PerformInfinitePoint(self, Tol: float) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, S: TopoDS_Shape) -> None: ... + @overload + def __init__(self, S: TopoDS_Shape, P: gp_Pnt, Tol: float) -> None: ... + def Destroy(self) -> None: ... + def Load(self, S: TopoDS_Shape) -> None: ... + def Perform(self, P: gp_Pnt, Tol: float) -> None: ... + def PerformInfinitePoint(self, Tol: float) -> None: ... -#classnotwrapped +# classnotwrapped class BRepClass3d_BndBoxTreeSelectorLine: ... -#classnotwrapped +# classnotwrapped class BRepClass3d_BndBoxTreeSelectorPoint: ... # harray1 classes # harray2 classes # hsequence classes - -brepclass3d_OuterShell = brepclass3d.OuterShell -BRepClass3d_SolidExplorer_FindAPointInTheFace = BRepClass3d_SolidExplorer.FindAPointInTheFace -BRepClass3d_SolidExplorer_FindAPointInTheFace = BRepClass3d_SolidExplorer.FindAPointInTheFace -BRepClass3d_SolidExplorer_FindAPointInTheFace = BRepClass3d_SolidExplorer.FindAPointInTheFace -BRepClass3d_SolidExplorer_FindAPointInTheFace = BRepClass3d_SolidExplorer.FindAPointInTheFace -BRepClass3d_SolidExplorer_FindAPointInTheFace = BRepClass3d_SolidExplorer.FindAPointInTheFace -BRepClass3d_SolidExplorer_FindAPointInTheFace = BRepClass3d_SolidExplorer.FindAPointInTheFace diff --git a/src/SWIG_files/wrapper/BRepExtrema.i b/src/SWIG_files/wrapper/BRepExtrema.i index e1205506c..27e3711f8 100644 --- a/src/SWIG_files/wrapper/BRepExtrema.i +++ b/src/SWIG_files/wrapper/BRepExtrema.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPEXTREMADOCSTRING "BRepExtrema module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepextrema.html" +https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_brepextrema.html" %enddef %module (package="OCC.Core", docstring=BREPEXTREMADOCSTRING) BRepExtrema @@ -31,8 +31,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepextrema.html" %include ../common/CommonIncludes.i %include ../common/ExceptionCatcher.i %include ../common/FunctionTransformers.i +%include ../common/EnumTemplates.i %include ../common/Operators.i %include ../common/OccHandle.i +%include ../common/IOStream.i +%include ../common/ArrayMacros.i %{ @@ -43,9 +46,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepextrema.html" #include #include #include +#include #include #include #include +#include #include #include #include @@ -53,6 +58,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepextrema.html" #include #include #include +#include #include #include #include @@ -62,9 +68,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepextrema.html" %import NCollection.i %import TopoDS.i %import Extrema.i +%import Message.i %import gp.i %import Bnd.i %import BVH.i +%import Poly.i %pythoncode { from enum import IntEnum @@ -80,7 +88,7 @@ enum BRepExtrema_SupportType { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class BRepExtrema_SupportType(IntEnum): @@ -119,13 +127,13 @@ BRepExtrema_IsInFace = BRepExtrema_SupportType.BRepExtrema_IsInFace return self.Size() } }; -%template(BRepExtrema_ShapeList) NCollection_Vector; +%template(BRepExtrema_ShapeList) NCollection_Vector; /* end templates declaration */ /* typedefs */ typedef NCollection_DataMap BRepExtrema_MapOfIntegerPackedMapOfInteger; typedef NCollection_Sequence BRepExtrema_SeqOfSolution; -typedef NCollection_Vector BRepExtrema_ShapeList; +typedef NCollection_Vector BRepExtrema_ShapeList; /* end typedefs declaration */ /*********************************** @@ -133,345 +141,462 @@ typedef NCollection_Vector BRepExtrema_ShapeList; ***********************************/ class BRepExtrema_DistShapeShape { public: - /****************** BRepExtrema_DistShapeShape ******************/ - /**** md5 signature: 7db35b07b02f16eafa8b496ba9a55793 ****/ + /****** BRepExtrema_DistShapeShape::BRepExtrema_DistShapeShape ******/ + /****** md5 signature: 7db35b07b02f16eafa8b496ba9a55793 ******/ %feature("compactdefaultargs") BRepExtrema_DistShapeShape; - %feature("autodoc", "Create empty tool . - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +create empty tool. ") BRepExtrema_DistShapeShape; BRepExtrema_DistShapeShape(); - /****************** BRepExtrema_DistShapeShape ******************/ - /**** md5 signature: 077a447023b0bc9e038ed147df6b3dd8 ****/ + /****** BRepExtrema_DistShapeShape::BRepExtrema_DistShapeShape ******/ + /****** md5 signature: fb63ccf57bfd5b8006463aca52b50b43 ******/ %feature("compactdefaultargs") BRepExtrema_DistShapeShape; - %feature("autodoc", "Computation of the minimum distance (value and pair of points) using default deflection default value is precision::confusion(). . - + %feature("autodoc", " Parameters ---------- Shape1: TopoDS_Shape Shape2: TopoDS_Shape -F: Extrema_ExtFlag,optional - default value is Extrema_ExtFlag_MINMAX -A: Extrema_ExtAlgo,optional - default value is Extrema_ExtAlgo_Grad +F: Extrema_ExtFlag (optional, default to Extrema_ExtFlag_MINMAX) +A: Extrema_ExtAlgo (optional, default to Extrema_ExtAlgo_Grad) +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- None + +Description +----------- +create tool and computation of the minimum distance (value and pair of points) using default deflection in single thread mode. Default deflection value is Precision::Confusion(). +Parameter Shape1 - the first shape for distance computation +Parameter Shape2 - the second shape for distance computation +Parameter F and +Parameter A are not used in computation and are obsolete. +Parameter theRange - the progress indicator of algorithm. ") BRepExtrema_DistShapeShape; - BRepExtrema_DistShapeShape(const TopoDS_Shape & Shape1, const TopoDS_Shape & Shape2, const Extrema_ExtFlag F = Extrema_ExtFlag_MINMAX, const Extrema_ExtAlgo A = Extrema_ExtAlgo_Grad); + BRepExtrema_DistShapeShape(const TopoDS_Shape & Shape1, const TopoDS_Shape & Shape2, const Extrema_ExtFlag F = Extrema_ExtFlag_MINMAX, const Extrema_ExtAlgo A = Extrema_ExtAlgo_Grad, const Message_ProgressRange & theRange = Message_ProgressRange()); - /****************** BRepExtrema_DistShapeShape ******************/ - /**** md5 signature: 4e55c9dd50c0ab7ef0e4ed04d008da6a ****/ + /****** BRepExtrema_DistShapeShape::BRepExtrema_DistShapeShape ******/ + /****** md5 signature: 23775d8af1aa9dd27bd9eeda417a5eb6 ******/ %feature("compactdefaultargs") BRepExtrema_DistShapeShape; - %feature("autodoc", "Create tool and load both shapes into it . - + %feature("autodoc", " Parameters ---------- Shape1: TopoDS_Shape Shape2: TopoDS_Shape theDeflection: float -F: Extrema_ExtFlag,optional - default value is Extrema_ExtFlag_MINMAX -A: Extrema_ExtAlgo,optional - default value is Extrema_ExtAlgo_Grad +F: Extrema_ExtFlag (optional, default to Extrema_ExtFlag_MINMAX) +A: Extrema_ExtAlgo (optional, default to Extrema_ExtAlgo_Grad) +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- None + +Description +----------- +create tool and computation of the minimum distance (value and pair of points) in single thread mode. Default deflection value is Precision::Confusion(). +Parameter Shape1 - the first shape for distance computation +Parameter Shape2 - the second shape for distance computation +Parameter theDeflection - the presition of distance computation +Parameter F and +Parameter A are not used in computation and are obsolete. +Parameter theRange - the progress indicator of algorithm. ") 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("autodoc", "1"); - %extend{ - std::string DumpToString() { - std::stringstream s; - self->Dump(s); - return s.str();} - }; - /****************** InnerSolution ******************/ - /**** md5 signature: c2076c783e4f1c4305057f88c3c68086 ****/ - %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. . + BRepExtrema_DistShapeShape(const TopoDS_Shape & Shape1, const TopoDS_Shape & Shape2, const Standard_Real theDeflection, const Extrema_ExtFlag F = Extrema_ExtFlag_MINMAX, const Extrema_ExtAlgo A = Extrema_ExtAlgo_Grad, const Message_ProgressRange & theRange = Message_ProgressRange()); -Returns + /****** BRepExtrema_DistShapeShape::Dump ******/ + /****** md5 signature: d37b43e0b2386dc096d5d707876db157 ******/ + %feature("compactdefaultargs") Dump; + %feature("autodoc", " +Parameters +---------- + +Return +------- +o: Standard_OStream + +Description +----------- +Prints on the stream o information on the current state of the object. . +") Dump; + void Dump(std::ostream &OutValue); + + /****** BRepExtrema_DistShapeShape::InnerSolution ******/ + /****** md5 signature: c2076c783e4f1c4305057f88c3c68086 ******/ + %feature("compactdefaultargs") InnerSolution; + %feature("autodoc", "Return ------- bool + +Description +----------- +True if one of the shapes is a solid and the other shape is completely or partially inside the solid. . ") InnerSolution; Standard_Boolean InnerSolution(); - /****************** IsDone ******************/ - /**** md5 signature: e385477ab1bec806154173d4a550fd68 ****/ + /****** BRepExtrema_DistShapeShape::IsDone ******/ + /****** md5 signature: e385477ab1bec806154173d4a550fd68 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "True if the minimum distance is found. . - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +True if the minimum distance is found. . ") IsDone; Standard_Boolean IsDone(); - /****************** LoadS1 ******************/ - /**** md5 signature: 7408ca5426be01fa3948ad765f9b1d2b ****/ - %feature("compactdefaultargs") LoadS1; - %feature("autodoc", "Load first shape into extrema . + /****** BRepExtrema_DistShapeShape::IsMultiThread ******/ + /****** md5 signature: 08be58fd82e87eae912617f53af96d42 ******/ + %feature("compactdefaultargs") IsMultiThread; + %feature("autodoc", "Return +------- +bool + +Description +----------- +Returns Standard_True then computation will be performed in parallel Default value is Standard_False. +") IsMultiThread; + Standard_Boolean IsMultiThread(); + /****** BRepExtrema_DistShapeShape::LoadS1 ******/ + /****** md5 signature: 7408ca5426be01fa3948ad765f9b1d2b ******/ + %feature("compactdefaultargs") LoadS1; + %feature("autodoc", " Parameters ---------- Shape1: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +load first shape into extrema . ") LoadS1; void LoadS1(const TopoDS_Shape & Shape1); - /****************** LoadS2 ******************/ - /**** md5 signature: 3b40248cbf67bbe15af62d523554bf15 ****/ + /****** BRepExtrema_DistShapeShape::LoadS2 ******/ + /****** md5 signature: 3b40248cbf67bbe15af62d523554bf15 ******/ %feature("compactdefaultargs") LoadS2; - %feature("autodoc", "Load second shape into extrema . - + %feature("autodoc", " Parameters ---------- Shape1: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +load second shape into extrema . ") LoadS2; void LoadS2(const TopoDS_Shape & Shape1); - /****************** NbSolution ******************/ - /**** md5 signature: 69ebe2fff65cc6ae065919ee69973470 ****/ + /****** BRepExtrema_DistShapeShape::NbSolution ******/ + /****** md5 signature: 69ebe2fff65cc6ae065919ee69973470 ******/ %feature("compactdefaultargs") NbSolution; - %feature("autodoc", "Returns the number of solutions satisfying the minimum distance. . - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns the number of solutions satisfying the minimum distance. . ") NbSolution; Standard_Integer NbSolution(); - /****************** ParOnEdgeS1 ******************/ - /**** md5 signature: afb7f68aca62bff04cd6998990b30f1f ****/ + /****** BRepExtrema_DistShapeShape::ParOnEdgeS1 ******/ + /****** md5 signature: afb7f68aca62bff04cd6998990b30f1f ******/ %feature("compactdefaultargs") ParOnEdgeS1; - %feature("autodoc", "Gives the corresponding parameter t if the nth solution is situated on an egde of the first shape . - + %feature("autodoc", " Parameters ---------- N: int -Returns +Return ------- t: float + +Description +----------- +gives the corresponding parameter t if the Nth solution is situated on an Edge of the first shape . ") ParOnEdgeS1; void ParOnEdgeS1(const Standard_Integer N, Standard_Real &OutValue); - /****************** ParOnEdgeS2 ******************/ - /**** md5 signature: 4d4566624bf7e1ee75387e3cf5ccea3f ****/ + /****** BRepExtrema_DistShapeShape::ParOnEdgeS2 ******/ + /****** md5 signature: 4d4566624bf7e1ee75387e3cf5ccea3f ******/ %feature("compactdefaultargs") ParOnEdgeS2; - %feature("autodoc", "Gives the corresponding parameter t if the nth solution is situated on an egde of the first shape . - + %feature("autodoc", " Parameters ---------- N: int -Returns +Return ------- t: float + +Description +----------- +gives the corresponding parameter t if the Nth solution is situated on an Edge of the first shape . ") ParOnEdgeS2; void ParOnEdgeS2(const Standard_Integer N, Standard_Real &OutValue); - /****************** ParOnFaceS1 ******************/ - /**** md5 signature: e9a4cf66ddad2a301281fbccd9d64530 ****/ + /****** BRepExtrema_DistShapeShape::ParOnFaceS1 ******/ + /****** md5 signature: e9a4cf66ddad2a301281fbccd9d64530 ******/ %feature("compactdefaultargs") ParOnFaceS1; - %feature("autodoc", "Gives the corresponding parameters (u,v) if the nth solution is situated on an face of the first shape . - + %feature("autodoc", " Parameters ---------- N: int -Returns +Return ------- u: float v: float + +Description +----------- +gives the corresponding parameters (U,V) if the Nth solution is situated on an face of the first shape . ") ParOnFaceS1; void ParOnFaceS1(const Standard_Integer N, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** ParOnFaceS2 ******************/ - /**** md5 signature: 9d0355118b8cc8a3c8b3a22b0070eeef ****/ + /****** BRepExtrema_DistShapeShape::ParOnFaceS2 ******/ + /****** md5 signature: 9d0355118b8cc8a3c8b3a22b0070eeef ******/ %feature("compactdefaultargs") ParOnFaceS2; - %feature("autodoc", "Gives the corresponding parameters (u,v) if the nth solution is situated on an face of the second shape . - + %feature("autodoc", " Parameters ---------- N: int -Returns +Return ------- u: float v: float + +Description +----------- +gives the corresponding parameters (U,V) if the Nth solution is situated on an Face of the second shape . ") ParOnFaceS2; void ParOnFaceS2(const Standard_Integer N, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** Perform ******************/ - /**** md5 signature: dc83e5133003c9f9c7b166df8b5a4192 ****/ + /****** BRepExtrema_DistShapeShape::Perform ******/ + /****** md5 signature: 5319bf8ef7123f90bd8ce53457a93026 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Computation of the minimum distance (value and couple of points). parameter thedeflection is used to specify a maximum deviation of extreme distances from the minimum one. returns isdone status. . + %feature("autodoc", " +Parameters +---------- +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- bool + +Description +----------- +computation of the minimum distance (value and couple of points). Parameter theDeflection is used to specify a maximum deviation of extreme distances from the minimum one. Returns IsDone status. theRange - the progress indicator of algorithm. ") Perform; - Standard_Boolean Perform(); + Standard_Boolean Perform(const Message_ProgressRange & theRange = Message_ProgressRange()); - /****************** PointOnShape1 ******************/ - /**** md5 signature: aa31e70d94110b0eb2d311dc4396c549 ****/ + /****** BRepExtrema_DistShapeShape::PointOnShape1 ******/ + /****** md5 signature: aa31e70d94110b0eb2d311dc4396c549 ******/ %feature("compactdefaultargs") PointOnShape1; - %feature("autodoc", "Returns the point corresponding to the th solution on the first shape . - + %feature("autodoc", " Parameters ---------- N: int -Returns +Return ------- gp_Pnt + +Description +----------- +Returns the Point corresponding to the th solution on the first Shape . ") PointOnShape1; const gp_Pnt PointOnShape1(const Standard_Integer N); - /****************** PointOnShape2 ******************/ - /**** md5 signature: 0f8ff2bc21fd8c668ed617d92a32b6a6 ****/ + /****** BRepExtrema_DistShapeShape::PointOnShape2 ******/ + /****** md5 signature: 0f8ff2bc21fd8c668ed617d92a32b6a6 ******/ %feature("compactdefaultargs") PointOnShape2; - %feature("autodoc", "Returns the point corresponding to the th solution on the second shape . - + %feature("autodoc", " Parameters ---------- N: int -Returns +Return ------- gp_Pnt + +Description +----------- +Returns the Point corresponding to the th solution on the second Shape . ") PointOnShape2; const gp_Pnt PointOnShape2(const Standard_Integer N); - /****************** SetAlgo ******************/ - /**** md5 signature: cad6f54c64a4b69da22bb042d2e4fe8a ****/ + /****** BRepExtrema_DistShapeShape::SetAlgo ******/ + /****** md5 signature: cad6f54c64a4b69da22bb042d2e4fe8a ******/ %feature("compactdefaultargs") SetAlgo; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- A: Extrema_ExtAlgo -Returns +Return ------- None + +Description +----------- +Sets unused parameter Obsolete. ") SetAlgo; void SetAlgo(const Extrema_ExtAlgo A); - /****************** SetDeflection ******************/ - /**** md5 signature: ef17e8202a75f8963ebbbf02897eb710 ****/ + /****** BRepExtrema_DistShapeShape::SetDeflection ******/ + /****** md5 signature: ef17e8202a75f8963ebbbf02897eb710 ******/ %feature("compactdefaultargs") SetDeflection; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theDeflection: float -Returns +Return ------- None + +Description +----------- +Sets deflection to computation of the minimum distance . ") SetDeflection; void SetDeflection(const Standard_Real theDeflection); - /****************** SetFlag ******************/ - /**** md5 signature: 7ce767aa4373b85a8cea83f409a2ebfb ****/ + /****** BRepExtrema_DistShapeShape::SetFlag ******/ + /****** md5 signature: 7ce767aa4373b85a8cea83f409a2ebfb ******/ %feature("compactdefaultargs") SetFlag; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- F: Extrema_ExtFlag -Returns +Return ------- None + +Description +----------- +Sets unused parameter Obsolete. ") SetFlag; void SetFlag(const Extrema_ExtFlag F); - /****************** SupportOnShape1 ******************/ - /**** md5 signature: ec03df7c72ee60180aae731839ed29e5 ****/ - %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. . + /****** BRepExtrema_DistShapeShape::SetMultiThread ******/ + /****** md5 signature: 3237c51f1bfac929cf9e320d71541b3b ******/ + %feature("compactdefaultargs") SetMultiThread; + %feature("autodoc", " +Parameters +---------- +theIsMultiThread: bool + +Return +------- +None + +Description +----------- +If isMultiThread == Standard_True then computation will be performed in parallel. +") SetMultiThread; + void SetMultiThread(Standard_Boolean theIsMultiThread); + /****** BRepExtrema_DistShapeShape::SupportOnShape1 ******/ + /****** md5 signature: ec03df7c72ee60180aae731839ed29e5 ******/ + %feature("compactdefaultargs") SupportOnShape1; + %feature("autodoc", " Parameters ---------- N: int -Returns +Return ------- TopoDS_Shape + +Description +----------- +gives the support where the Nth solution on the first shape is situated. This support can be a Vertex, an Edge or a Face. . ") SupportOnShape1; TopoDS_Shape SupportOnShape1(const Standard_Integer N); - /****************** SupportOnShape2 ******************/ - /**** md5 signature: 5ae538fab82518e2a60395aa1afe995a ****/ + /****** BRepExtrema_DistShapeShape::SupportOnShape2 ******/ + /****** md5 signature: 5ae538fab82518e2a60395aa1afe995a ******/ %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. . - + %feature("autodoc", " Parameters ---------- N: int -Returns +Return ------- TopoDS_Shape + +Description +----------- +gives the support where the Nth solution on the second shape is situated. This support can be a Vertex, an Edge or a Face. . ") SupportOnShape2; TopoDS_Shape SupportOnShape2(const Standard_Integer N); - /****************** SupportTypeShape1 ******************/ - /**** md5 signature: 0b4baacce2f902c0aa135d1e7af4ab5e ****/ + /****** BRepExtrema_DistShapeShape::SupportTypeShape1 ******/ + /****** md5 signature: 0b4baacce2f902c0aa135d1e7af4ab5e ******/ %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 . - + %feature("autodoc", " Parameters ---------- N: int -Returns +Return ------- BRepExtrema_SupportType + +Description +----------- +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 . ") SupportTypeShape1; BRepExtrema_SupportType SupportTypeShape1(const Standard_Integer N); - /****************** SupportTypeShape2 ******************/ - /**** md5 signature: 038fff84390f528e52f9203e7f8d1ef4 ****/ + /****** BRepExtrema_DistShapeShape::SupportTypeShape2 ******/ + /****** md5 signature: 038fff84390f528e52f9203e7f8d1ef4 ******/ %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 . - + %feature("autodoc", " Parameters ---------- N: int -Returns +Return ------- BRepExtrema_SupportType + +Description +----------- +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 . ") SupportTypeShape2; BRepExtrema_SupportType SupportTypeShape2(const Standard_Integer N); - /****************** Value ******************/ - /**** md5 signature: 52655a2fb6642856b2c68a9331826787 ****/ + /****** BRepExtrema_DistShapeShape::Value ******/ + /****** md5 signature: 52655a2fb6642856b2c68a9331826787 ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns the value of the minimum distance. . - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the value of the minimum distance. . ") Value; Standard_Real Value(); @@ -489,127 +614,91 @@ float *******************************/ class BRepExtrema_DistanceSS { public: - /****************** BRepExtrema_DistanceSS ******************/ - /**** md5 signature: d3e5d2687b5071891936b70d17b69e76 ****/ + /****** BRepExtrema_DistanceSS::BRepExtrema_DistanceSS ******/ + /****** md5 signature: 990d62108850fe2e8efc715b0327cf72 ******/ %feature("compactdefaultargs") BRepExtrema_DistanceSS; - %feature("autodoc", "Computes the distance between two shapes ( face edge vertex). . - + %feature("autodoc", " Parameters ---------- -S1: TopoDS_Shape -S2: TopoDS_Shape -B1: Bnd_Box -B2: Bnd_Box -DstRef: float -F: Extrema_ExtFlag,optional - default value is Extrema_ExtFlag_MINMAX -A: Extrema_ExtAlgo,optional - default value is Extrema_ExtAlgo_Grad +theS1: TopoDS_Shape +theS2: TopoDS_Shape +theBox1: Bnd_Box +theBox2: Bnd_Box +theDstRef: float +theDeflection: float (optional, default to Precision::Confusion()) +theExtFlag: Extrema_ExtFlag (optional, default to Extrema_ExtFlag_MINMAX) +theExtAlgo: Extrema_ExtAlgo (optional, default to Extrema_ExtAlgo_Grad) -Returns +Return ------- 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); - - /****************** BRepExtrema_DistanceSS ******************/ - /**** md5 signature: 212b79b65f1836f024c8a0b7d41d886f ****/ - %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(). . - -Parameters ----------- -S1: TopoDS_Shape -S2: TopoDS_Shape -B1: Bnd_Box -B2: Bnd_Box -DstRef: float -aDeflection: float -F: Extrema_ExtFlag,optional - default value is Extrema_ExtFlag_MINMAX -A: Extrema_ExtAlgo,optional - default value is Extrema_ExtAlgo_Grad -Returns -------- -None +Description +----------- +Computes the distance between two Shapes (face edge vertex). +Parameter theS1 - First shape +Parameter theS2 - Second shape +Parameter theBox1 - Bounding box of first shape +Parameter theBox2 - Bounding box of second shape +Parameter theDstRef - Initial distance between the shapes to start with +Parameter theDeflection - Maximum deviation of extreme distances from the minimum one (default is Precision::Confusion()). +Parameter theExtFlag - Specifies which extrema solutions to look for (default is MINMAX, applied only to point-face extrema) +Parameter theExtAlgo - Specifies which extrema algorithm is to be used (default is Grad algo, applied only to point-face extrema). ") 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); + BRepExtrema_DistanceSS(const TopoDS_Shape & theS1, const TopoDS_Shape & theS2, const Bnd_Box & theBox1, const Bnd_Box & theBox2, const Standard_Real theDstRef, const Standard_Real theDeflection = Precision::Confusion(), const Extrema_ExtFlag theExtFlag = Extrema_ExtFlag_MINMAX, const Extrema_ExtAlgo theExtAlgo = Extrema_ExtAlgo_Grad); - /****************** DistValue ******************/ - /**** md5 signature: 67516fa96bcaeb61c2a5da2a5ca3b852 ****/ + /****** BRepExtrema_DistanceSS::DistValue ******/ + /****** md5 signature: 67516fa96bcaeb61c2a5da2a5ca3b852 ******/ %feature("compactdefaultargs") DistValue; - %feature("autodoc", "Returns the distance value . - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the distance value. ") DistValue; Standard_Real DistValue(); - /****************** IsDone ******************/ - /**** md5 signature: e385477ab1bec806154173d4a550fd68 ****/ + /****** BRepExtrema_DistanceSS::IsDone ******/ + /****** md5 signature: e385477ab1bec806154173d4a550fd68 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "True if the distance has been computed . - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns true if the distance has been computed, false otherwise. ") IsDone; Standard_Boolean IsDone(); - /****************** Seq1Value ******************/ - /**** md5 signature: ce2418343fae9ea2a5448ab18333e3bf ****/ + /****** BRepExtrema_DistanceSS::Seq1Value ******/ + /****** md5 signature: ce2418343fae9ea2a5448ab18333e3bf ******/ %feature("compactdefaultargs") Seq1Value; - %feature("autodoc", "Returns the list of solutions on the first shape . - -Returns + %feature("autodoc", "Return ------- BRepExtrema_SeqOfSolution + +Description +----------- +Returns the list of solutions on the first shape. ") Seq1Value; const BRepExtrema_SeqOfSolution & Seq1Value(); - /****************** Seq2Value ******************/ - /**** md5 signature: 9e0d543064a1ba8b316c893c878533f4 ****/ + /****** BRepExtrema_DistanceSS::Seq2Value ******/ + /****** md5 signature: 9e0d543064a1ba8b316c893c878533f4 ******/ %feature("compactdefaultargs") Seq2Value; - %feature("autodoc", "Returns the list of solutions on the second shape . - -Returns + %feature("autodoc", "Return ------- BRepExtrema_SeqOfSolution + +Description +----------- +Returns the list of solutions on the second shape. ") Seq2Value; const BRepExtrema_SeqOfSolution & Seq2Value(); - /****************** SetAlgo ******************/ - /**** md5 signature: cad6f54c64a4b69da22bb042d2e4fe8a ****/ - %feature("compactdefaultargs") SetAlgo; - %feature("autodoc", "Sets the flag controlling ... - -Parameters ----------- -A: Extrema_ExtAlgo - -Returns -------- -None -") SetAlgo; - void SetAlgo(const Extrema_ExtAlgo A); - - /****************** SetFlag ******************/ - /**** md5 signature: 7ce767aa4373b85a8cea83f409a2ebfb ****/ - %feature("compactdefaultargs") SetFlag; - %feature("autodoc", "Sets the flag controlling minimum and maximum search. - -Parameters ----------- -F: Extrema_ExtFlag - -Returns -------- -None -") SetFlag; - void SetFlag(const Extrema_ExtFlag F); - }; @@ -633,7 +722,7 @@ enum FilterResult { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class FilterResult(IntEnum): @@ -646,19 +735,22 @@ DoCheck = FilterResult.DoCheck }; /* end python proxy for enums */ - /****************** PreCheckElements ******************/ - /**** md5 signature: 1c8fc782390654d40badc34a2b0b8ab0 ****/ + /****** BRepExtrema_ElementFilter::PreCheckElements ******/ + /****** md5 signature: 1c8fc782390654d40badc34a2b0b8ab0 ******/ %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", " Parameters ---------- Standard_Integer: Standard_Integer: -Returns +Return ------- BRepExtrema_ElementFilter::FilterResult + +Description +----------- +Checks if two mesh elements should be tested for overlapping/intersection (used for detection correct/incorrect cases of shared edges and vertices). ") PreCheckElements; virtual BRepExtrema_ElementFilter::FilterResult PreCheckElements(const Standard_Integer, const Standard_Integer); @@ -676,176 +768,207 @@ BRepExtrema_ElementFilter::FilterResult **************************/ class BRepExtrema_ExtCC { public: - /****************** BRepExtrema_ExtCC ******************/ - /**** md5 signature: 7e35ce50b3a79f26d0e456e259852e75 ****/ + /****** BRepExtrema_ExtCC::BRepExtrema_ExtCC ******/ + /****** md5 signature: 7e35ce50b3a79f26d0e456e259852e75 ******/ %feature("compactdefaultargs") BRepExtrema_ExtCC; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepExtrema_ExtCC; BRepExtrema_ExtCC(); - /****************** BRepExtrema_ExtCC ******************/ - /**** md5 signature: 21fcfba4a98ca2696fdd04abc944df8d ****/ + /****** BRepExtrema_ExtCC::BRepExtrema_ExtCC ******/ + /****** md5 signature: 21fcfba4a98ca2696fdd04abc944df8d ******/ %feature("compactdefaultargs") BRepExtrema_ExtCC; - %feature("autodoc", "It calculates all the distances. . - + %feature("autodoc", " Parameters ---------- E1: TopoDS_Edge E2: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +It calculates all the distances. . ") BRepExtrema_ExtCC; BRepExtrema_ExtCC(const TopoDS_Edge & E1, const TopoDS_Edge & E2); - /****************** Initialize ******************/ - /**** md5 signature: c89b77664746a64b0d7d6a1d193b3d58 ****/ + /****** BRepExtrema_ExtCC::Initialize ******/ + /****** md5 signature: c89b77664746a64b0d7d6a1d193b3d58 ******/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- E2: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +No available documentation. ") Initialize; void Initialize(const TopoDS_Edge & E2); - /****************** IsDone ******************/ - /**** md5 signature: e385477ab1bec806154173d4a550fd68 ****/ + /****** BRepExtrema_ExtCC::IsDone ******/ + /****** md5 signature: e385477ab1bec806154173d4a550fd68 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "True if the distances are found. . - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +True if the distances are found. . ") IsDone; Standard_Boolean IsDone(); - /****************** IsParallel ******************/ - /**** md5 signature: 1a61f067818333b9699057e51665b906 ****/ + /****** BRepExtrema_ExtCC::IsParallel ******/ + /****** md5 signature: 1a61f067818333b9699057e51665b906 ******/ %feature("compactdefaultargs") IsParallel; - %feature("autodoc", "Returns true if e1 and e2 are parallel. . - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns True if E1 and E2 are parallel. . ") IsParallel; Standard_Boolean IsParallel(); - /****************** NbExt ******************/ - /**** md5 signature: 5a5d42851c4a5f73b150985c361524ae ****/ + /****** BRepExtrema_ExtCC::NbExt ******/ + /****** md5 signature: 5a5d42851c4a5f73b150985c361524ae ******/ %feature("compactdefaultargs") NbExt; - %feature("autodoc", "Returns the number of extremum distances. . - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns the number of extremum distances. . ") NbExt; Standard_Integer NbExt(); - /****************** ParameterOnE1 ******************/ - /**** md5 signature: 7cd5e9a46a0df5cc207b6b3fab147d6f ****/ + /****** BRepExtrema_ExtCC::ParameterOnE1 ******/ + /****** md5 signature: 7cd5e9a46a0df5cc207b6b3fab147d6f ******/ %feature("compactdefaultargs") ParameterOnE1; - %feature("autodoc", "Returns the parameter on the first edge of the th extremum distance. . - + %feature("autodoc", " Parameters ---------- N: int -Returns +Return ------- float + +Description +----------- +Returns the parameter on the first edge of the th extremum distance. . ") ParameterOnE1; Standard_Real ParameterOnE1(const Standard_Integer N); - /****************** ParameterOnE2 ******************/ - /**** md5 signature: 6e63de9677713c8464fd20b1eedca902 ****/ + /****** BRepExtrema_ExtCC::ParameterOnE2 ******/ + /****** md5 signature: 6e63de9677713c8464fd20b1eedca902 ******/ %feature("compactdefaultargs") ParameterOnE2; - %feature("autodoc", "Returns the parameter on the second edge of the th extremum distance. . - + %feature("autodoc", " Parameters ---------- N: int -Returns +Return ------- float + +Description +----------- +Returns the parameter on the second edge of the th extremum distance. . ") ParameterOnE2; Standard_Real ParameterOnE2(const Standard_Integer N); - /****************** Perform ******************/ - /**** md5 signature: f7179778f701b048ae69059d84e58974 ****/ + /****** BRepExtrema_ExtCC::Perform ******/ + /****** md5 signature: f7179778f701b048ae69059d84e58974 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "An exception is raised if the fields have not been initialized. . - + %feature("autodoc", " Parameters ---------- E1: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +An exception is raised if the fields have not been initialized. . ") Perform; void Perform(const TopoDS_Edge & E1); - /****************** PointOnE1 ******************/ - /**** md5 signature: 466ab7ad202dd5c3aa0008d57c2de183 ****/ + /****** BRepExtrema_ExtCC::PointOnE1 ******/ + /****** md5 signature: 466ab7ad202dd5c3aa0008d57c2de183 ******/ %feature("compactdefaultargs") PointOnE1; - %feature("autodoc", "Returns the point of the th extremum distance on the edge e1. . - + %feature("autodoc", " Parameters ---------- N: int -Returns +Return ------- gp_Pnt + +Description +----------- +Returns the Point of the th extremum distance on the edge E1. . ") PointOnE1; gp_Pnt PointOnE1(const Standard_Integer N); - /****************** PointOnE2 ******************/ - /**** md5 signature: fcf209840f22ac0e18c183b2e534bb8b ****/ + /****** BRepExtrema_ExtCC::PointOnE2 ******/ + /****** md5 signature: fcf209840f22ac0e18c183b2e534bb8b ******/ %feature("compactdefaultargs") PointOnE2; - %feature("autodoc", "Returns the point of the th extremum distance on the edge e2. . - + %feature("autodoc", " Parameters ---------- N: int -Returns +Return ------- gp_Pnt + +Description +----------- +Returns the Point of the th extremum distance on the edge E2. . ") PointOnE2; gp_Pnt PointOnE2(const Standard_Integer N); - /****************** SquareDistance ******************/ - /**** md5 signature: 84f99c4c6de2197ef464c1aadcb7580e ****/ + /****** BRepExtrema_ExtCC::SquareDistance ******/ + /****** md5 signature: 84f99c4c6de2197ef464c1aadcb7580e ******/ %feature("compactdefaultargs") SquareDistance; - %feature("autodoc", "Returns the value of the th extremum square distance. . - + %feature("autodoc", " Parameters ---------- N: int -Returns +Return ------- float + +Description +----------- +Returns the value of the th extremum square distance. . ") SquareDistance; Standard_Real SquareDistance(const Standard_Integer N); - /****************** TrimmedSquareDistances ******************/ - /**** md5 signature: 4e321915bc6b3619a20bb8a4fec39fce ****/ + /****** BRepExtrema_ExtCC::TrimmedSquareDistances ******/ + /****** md5 signature: 4e321915bc6b3619a20bb8a4fec39fce ******/ %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. . - + %feature("autodoc", " Parameters ---------- P11: gp_Pnt @@ -853,12 +976,16 @@ P12: gp_Pnt P21: gp_Pnt P22: gp_Pnt -Returns +Return ------- dist11: float distP12: float distP21: float distP22: float + +Description +----------- +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. . ") 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); @@ -876,171 +1003,203 @@ distP22: float **************************/ class BRepExtrema_ExtCF { public: - /****************** BRepExtrema_ExtCF ******************/ - /**** md5 signature: 9c886b088d845caa22a1107cfe5a0ff6 ****/ + /****** BRepExtrema_ExtCF::BRepExtrema_ExtCF ******/ + /****** md5 signature: 9c886b088d845caa22a1107cfe5a0ff6 ******/ %feature("compactdefaultargs") BRepExtrema_ExtCF; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepExtrema_ExtCF; BRepExtrema_ExtCF(); - /****************** BRepExtrema_ExtCF ******************/ - /**** md5 signature: 16020da834cdf79577c7d512faaaae03 ****/ + /****** BRepExtrema_ExtCF::BRepExtrema_ExtCF ******/ + /****** md5 signature: 16020da834cdf79577c7d512faaaae03 ******/ %feature("compactdefaultargs") BRepExtrema_ExtCF; - %feature("autodoc", "It calculates all the distances. . - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge F: TopoDS_Face -Returns +Return ------- None + +Description +----------- +It calculates all the distances. . ") BRepExtrema_ExtCF; BRepExtrema_ExtCF(const TopoDS_Edge & E, const TopoDS_Face & F); - /****************** Initialize ******************/ - /**** md5 signature: cf258179577adbc75b4efbc5847934f6 ****/ + /****** BRepExtrema_ExtCF::Initialize ******/ + /****** md5 signature: cf258179577adbc75b4efbc5847934f6 ******/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge F: TopoDS_Face -Returns +Return ------- None + +Description +----------- +No available documentation. ") Initialize; void Initialize(const TopoDS_Edge & E, const TopoDS_Face & F); - /****************** IsDone ******************/ - /**** md5 signature: e385477ab1bec806154173d4a550fd68 ****/ + /****** BRepExtrema_ExtCF::IsDone ******/ + /****** md5 signature: e385477ab1bec806154173d4a550fd68 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "True if the distances are found. . - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +True if the distances are found. . ") IsDone; Standard_Boolean IsDone(); - /****************** IsParallel ******************/ - /**** md5 signature: 1a61f067818333b9699057e51665b906 ****/ + /****** BRepExtrema_ExtCF::IsParallel ******/ + /****** md5 signature: 1a61f067818333b9699057e51665b906 ******/ %feature("compactdefaultargs") IsParallel; - %feature("autodoc", "Returns true if the curve is on a parallel surface. . - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns True if the curve is on a parallel surface. . ") IsParallel; Standard_Boolean IsParallel(); - /****************** NbExt ******************/ - /**** md5 signature: 5a5d42851c4a5f73b150985c361524ae ****/ + /****** BRepExtrema_ExtCF::NbExt ******/ + /****** md5 signature: 5a5d42851c4a5f73b150985c361524ae ******/ %feature("compactdefaultargs") NbExt; - %feature("autodoc", "Returns the number of extremum distances. . - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns the number of extremum distances. . ") NbExt; Standard_Integer NbExt(); - /****************** ParameterOnEdge ******************/ - /**** md5 signature: 76a0a1f9b7fb5ec2017023399a9da861 ****/ + /****** BRepExtrema_ExtCF::ParameterOnEdge ******/ + /****** md5 signature: 76a0a1f9b7fb5ec2017023399a9da861 ******/ %feature("compactdefaultargs") ParameterOnEdge; - %feature("autodoc", "Returns the parameters on the edge of the th extremum distance. . - + %feature("autodoc", " Parameters ---------- N: int -Returns +Return ------- float + +Description +----------- +Returns the parameters on the Edge of the th extremum distance. . ") ParameterOnEdge; Standard_Real ParameterOnEdge(const Standard_Integer N); - /****************** ParameterOnFace ******************/ - /**** md5 signature: 791ddf842d14bc9cd39246b45e9b766e ****/ + /****** BRepExtrema_ExtCF::ParameterOnFace ******/ + /****** md5 signature: 791ddf842d14bc9cd39246b45e9b766e ******/ %feature("compactdefaultargs") ParameterOnFace; - %feature("autodoc", "Returns the parameters on the face of the th extremum distance. . - + %feature("autodoc", " Parameters ---------- N: int -Returns +Return ------- U: float V: float + +Description +----------- +Returns the parameters on the Face of the th extremum distance. . ") ParameterOnFace; void ParameterOnFace(const Standard_Integer N, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** Perform ******************/ - /**** md5 signature: e2ae2dd62a61e8e392541e0c53f605ce ****/ + /****** BRepExtrema_ExtCF::Perform ******/ + /****** md5 signature: e2ae2dd62a61e8e392541e0c53f605ce ******/ %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. . - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge F: TopoDS_Face -Returns +Return ------- None + +Description +----------- +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. . ") Perform; void Perform(const TopoDS_Edge & E, const TopoDS_Face & F); - /****************** PointOnEdge ******************/ - /**** md5 signature: 6d64189e4537e032129d9312b9eb6263 ****/ + /****** BRepExtrema_ExtCF::PointOnEdge ******/ + /****** md5 signature: 6d64189e4537e032129d9312b9eb6263 ******/ %feature("compactdefaultargs") PointOnEdge; - %feature("autodoc", "Returns the point of the th extremum distance. . - + %feature("autodoc", " Parameters ---------- N: int -Returns +Return ------- gp_Pnt + +Description +----------- +Returns the Point of the th extremum distance. . ") PointOnEdge; gp_Pnt PointOnEdge(const Standard_Integer N); - /****************** PointOnFace ******************/ - /**** md5 signature: 921e10384fe2543ffe77c7f9bda2de77 ****/ + /****** BRepExtrema_ExtCF::PointOnFace ******/ + /****** md5 signature: 921e10384fe2543ffe77c7f9bda2de77 ******/ %feature("compactdefaultargs") PointOnFace; - %feature("autodoc", "Returns the point of the th extremum distance. . - + %feature("autodoc", " Parameters ---------- N: int -Returns +Return ------- gp_Pnt + +Description +----------- +Returns the Point of the th extremum distance. . ") PointOnFace; gp_Pnt PointOnFace(const Standard_Integer N); - /****************** SquareDistance ******************/ - /**** md5 signature: 84f99c4c6de2197ef464c1aadcb7580e ****/ + /****** BRepExtrema_ExtCF::SquareDistance ******/ + /****** md5 signature: 84f99c4c6de2197ef464c1aadcb7580e ******/ %feature("compactdefaultargs") SquareDistance; - %feature("autodoc", "Returns the value of the th extremum square distance. . - + %feature("autodoc", " Parameters ---------- N: int -Returns +Return ------- float + +Description +----------- +Returns the value of the th extremum square distance. . ") SquareDistance; Standard_Real SquareDistance(const Standard_Integer N); @@ -1058,171 +1217,203 @@ float **************************/ class BRepExtrema_ExtFF { public: - /****************** BRepExtrema_ExtFF ******************/ - /**** md5 signature: b136a0fce002315d921532e24a9581b2 ****/ + /****** BRepExtrema_ExtFF::BRepExtrema_ExtFF ******/ + /****** md5 signature: b136a0fce002315d921532e24a9581b2 ******/ %feature("compactdefaultargs") BRepExtrema_ExtFF; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepExtrema_ExtFF; BRepExtrema_ExtFF(); - /****************** BRepExtrema_ExtFF ******************/ - /**** md5 signature: 70b7a7554f1d0147af0991d67e7e29d2 ****/ + /****** BRepExtrema_ExtFF::BRepExtrema_ExtFF ******/ + /****** md5 signature: 70b7a7554f1d0147af0991d67e7e29d2 ******/ %feature("compactdefaultargs") BRepExtrema_ExtFF; - %feature("autodoc", "It calculates all the distances. . - + %feature("autodoc", " Parameters ---------- F1: TopoDS_Face F2: TopoDS_Face -Returns +Return ------- None + +Description +----------- +It calculates all the distances. . ") BRepExtrema_ExtFF; BRepExtrema_ExtFF(const TopoDS_Face & F1, const TopoDS_Face & F2); - /****************** Initialize ******************/ - /**** md5 signature: 9cbae6cf246b55baed45100dd3ac1d25 ****/ + /****** BRepExtrema_ExtFF::Initialize ******/ + /****** md5 signature: 9cbae6cf246b55baed45100dd3ac1d25 ******/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- F2: TopoDS_Face -Returns +Return ------- None + +Description +----------- +No available documentation. ") Initialize; void Initialize(const TopoDS_Face & F2); - /****************** IsDone ******************/ - /**** md5 signature: e385477ab1bec806154173d4a550fd68 ****/ + /****** BRepExtrema_ExtFF::IsDone ******/ + /****** md5 signature: e385477ab1bec806154173d4a550fd68 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "True if the distances are found. . - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +True if the distances are found. . ") IsDone; Standard_Boolean IsDone(); - /****************** IsParallel ******************/ - /**** md5 signature: 1a61f067818333b9699057e51665b906 ****/ + /****** BRepExtrema_ExtFF::IsParallel ******/ + /****** md5 signature: 1a61f067818333b9699057e51665b906 ******/ %feature("compactdefaultargs") IsParallel; - %feature("autodoc", "Returns true if the surfaces are parallel. . - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns True if the surfaces are parallel. . ") IsParallel; Standard_Boolean IsParallel(); - /****************** NbExt ******************/ - /**** md5 signature: 5a5d42851c4a5f73b150985c361524ae ****/ + /****** BRepExtrema_ExtFF::NbExt ******/ + /****** md5 signature: 5a5d42851c4a5f73b150985c361524ae ******/ %feature("compactdefaultargs") NbExt; - %feature("autodoc", "Returns the number of extremum distances. . - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns the number of extremum distances. . ") NbExt; Standard_Integer NbExt(); - /****************** ParameterOnFace1 ******************/ - /**** md5 signature: d7c60f4fb2661a9fdc0ee70663af522b ****/ + /****** BRepExtrema_ExtFF::ParameterOnFace1 ******/ + /****** md5 signature: d7c60f4fb2661a9fdc0ee70663af522b ******/ %feature("compactdefaultargs") ParameterOnFace1; - %feature("autodoc", "Returns the parameters on the face f1 of the th extremum distance. . - + %feature("autodoc", " Parameters ---------- N: int -Returns +Return ------- U: float V: float + +Description +----------- +Returns the parameters on the Face F1 of the th extremum distance. . ") ParameterOnFace1; void ParameterOnFace1(const Standard_Integer N, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** ParameterOnFace2 ******************/ - /**** md5 signature: f042c9bcc857cbeda7df4acc0988844e ****/ + /****** BRepExtrema_ExtFF::ParameterOnFace2 ******/ + /****** md5 signature: f042c9bcc857cbeda7df4acc0988844e ******/ %feature("compactdefaultargs") ParameterOnFace2; - %feature("autodoc", "Returns the parameters on the face f2 of the th extremum distance. . - + %feature("autodoc", " Parameters ---------- N: int -Returns +Return ------- U: float V: float + +Description +----------- +Returns the parameters on the Face F2 of the th extremum distance. . ") ParameterOnFace2; void ParameterOnFace2(const Standard_Integer N, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** Perform ******************/ - /**** md5 signature: 20b101b6609f56b4df981165ffc5760a ****/ + /****** BRepExtrema_ExtFF::Perform ******/ + /****** md5 signature: 20b101b6609f56b4df981165ffc5760a ******/ %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. . - + %feature("autodoc", " Parameters ---------- F1: TopoDS_Face F2: TopoDS_Face -Returns +Return ------- None + +Description +----------- +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. . ") Perform; void Perform(const TopoDS_Face & F1, const TopoDS_Face & F2); - /****************** PointOnFace1 ******************/ - /**** md5 signature: 71044a562d7c935beafd57e5845e6288 ****/ + /****** BRepExtrema_ExtFF::PointOnFace1 ******/ + /****** md5 signature: 71044a562d7c935beafd57e5845e6288 ******/ %feature("compactdefaultargs") PointOnFace1; - %feature("autodoc", "Returns the point of the th extremum distance. . - + %feature("autodoc", " Parameters ---------- N: int -Returns +Return ------- gp_Pnt + +Description +----------- +Returns the Point of the th extremum distance. . ") PointOnFace1; gp_Pnt PointOnFace1(const Standard_Integer N); - /****************** PointOnFace2 ******************/ - /**** md5 signature: 10275aa7fa44a810eda6023c45c85baa ****/ + /****** BRepExtrema_ExtFF::PointOnFace2 ******/ + /****** md5 signature: 10275aa7fa44a810eda6023c45c85baa ******/ %feature("compactdefaultargs") PointOnFace2; - %feature("autodoc", "Returns the point of the th extremum distance. . - + %feature("autodoc", " Parameters ---------- N: int -Returns +Return ------- gp_Pnt + +Description +----------- +Returns the Point of the th extremum distance. . ") PointOnFace2; gp_Pnt PointOnFace2(const Standard_Integer N); - /****************** SquareDistance ******************/ - /**** md5 signature: 84f99c4c6de2197ef464c1aadcb7580e ****/ + /****** BRepExtrema_ExtFF::SquareDistance ******/ + /****** md5 signature: 84f99c4c6de2197ef464c1aadcb7580e ******/ %feature("compactdefaultargs") SquareDistance; - %feature("autodoc", "Returns the value of the th extremum square distance. . - + %feature("autodoc", " Parameters ---------- N: int -Returns +Return ------- float + +Description +----------- +Returns the value of the th extremum square distance. . ") SquareDistance; Standard_Real SquareDistance(const Standard_Integer N); @@ -1240,159 +1431,189 @@ float **************************/ class BRepExtrema_ExtPC { public: - /****************** BRepExtrema_ExtPC ******************/ - /**** md5 signature: 7363107ba31731bcfd5377ab6afd269f ****/ + /****** BRepExtrema_ExtPC::BRepExtrema_ExtPC ******/ + /****** md5 signature: 7363107ba31731bcfd5377ab6afd269f ******/ %feature("compactdefaultargs") BRepExtrema_ExtPC; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepExtrema_ExtPC; BRepExtrema_ExtPC(); - /****************** BRepExtrema_ExtPC ******************/ - /**** md5 signature: 77947b9170dd4391d353244f4f6218cc ****/ + /****** BRepExtrema_ExtPC::BRepExtrema_ExtPC ******/ + /****** md5 signature: 77947b9170dd4391d353244f4f6218cc ******/ %feature("compactdefaultargs") BRepExtrema_ExtPC; - %feature("autodoc", "It calculates all the distances. . - + %feature("autodoc", " Parameters ---------- V: TopoDS_Vertex E: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +It calculates all the distances. . ") BRepExtrema_ExtPC; BRepExtrema_ExtPC(const TopoDS_Vertex & V, const TopoDS_Edge & E); - /****************** Initialize ******************/ - /**** md5 signature: b0b8cb0790e5e63c5a8b3b133b757731 ****/ + /****** BRepExtrema_ExtPC::Initialize ******/ + /****** md5 signature: b0b8cb0790e5e63c5a8b3b133b757731 ******/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +No available documentation. ") Initialize; void Initialize(const TopoDS_Edge & E); - /****************** IsDone ******************/ - /**** md5 signature: e385477ab1bec806154173d4a550fd68 ****/ + /****** BRepExtrema_ExtPC::IsDone ******/ + /****** md5 signature: e385477ab1bec806154173d4a550fd68 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "True if the distances are found. . - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +True if the distances are found. . ") IsDone; Standard_Boolean IsDone(); - /****************** IsMin ******************/ - /**** md5 signature: f1999d585543ddaf57e9197353e4f49c ****/ + /****** BRepExtrema_ExtPC::IsMin ******/ + /****** md5 signature: f1999d585543ddaf57e9197353e4f49c ******/ %feature("compactdefaultargs") IsMin; - %feature("autodoc", "Returns true if the th extremum distance is a minimum. . - + %feature("autodoc", " Parameters ---------- N: int -Returns +Return ------- bool + +Description +----------- +Returns True if the th extremum distance is a minimum. . ") IsMin; Standard_Boolean IsMin(const Standard_Integer N); - /****************** NbExt ******************/ - /**** md5 signature: 5a5d42851c4a5f73b150985c361524ae ****/ + /****** BRepExtrema_ExtPC::NbExt ******/ + /****** md5 signature: 5a5d42851c4a5f73b150985c361524ae ******/ %feature("compactdefaultargs") NbExt; - %feature("autodoc", "Returns the number of extremum distances. . - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns the number of extremum distances. . ") NbExt; Standard_Integer NbExt(); - /****************** Parameter ******************/ - /**** md5 signature: 1b2ac4d8f834bb1c7b0d2ed42b0a050c ****/ + /****** BRepExtrema_ExtPC::Parameter ******/ + /****** md5 signature: 1b2ac4d8f834bb1c7b0d2ed42b0a050c ******/ %feature("compactdefaultargs") Parameter; - %feature("autodoc", "Returns the parameter on the edge of the th extremum distance. . - + %feature("autodoc", " Parameters ---------- N: int -Returns +Return ------- float + +Description +----------- +Returns the parameter on the edge of the th extremum distance. . ") Parameter; Standard_Real Parameter(const Standard_Integer N); - /****************** Perform ******************/ - /**** md5 signature: f794a3745eea09bbd96f5aefe65dee12 ****/ + /****** BRepExtrema_ExtPC::Perform ******/ + /****** md5 signature: f794a3745eea09bbd96f5aefe65dee12 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "An exception is raised if the fields have not been initialized. . - + %feature("autodoc", " Parameters ---------- V: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +An exception is raised if the fields have not been initialized. . ") Perform; void Perform(const TopoDS_Vertex & V); - /****************** Point ******************/ - /**** md5 signature: d05a4ad43ced02adf85358c081d42318 ****/ + /****** BRepExtrema_ExtPC::Point ******/ + /****** md5 signature: d05a4ad43ced02adf85358c081d42318 ******/ %feature("compactdefaultargs") Point; - %feature("autodoc", "Returns the point of the th extremum distance. . - + %feature("autodoc", " Parameters ---------- N: int -Returns +Return ------- gp_Pnt + +Description +----------- +Returns the Point of the th extremum distance. . ") Point; gp_Pnt Point(const Standard_Integer N); - /****************** SquareDistance ******************/ - /**** md5 signature: 84f99c4c6de2197ef464c1aadcb7580e ****/ + /****** BRepExtrema_ExtPC::SquareDistance ******/ + /****** md5 signature: 84f99c4c6de2197ef464c1aadcb7580e ******/ %feature("compactdefaultargs") SquareDistance; - %feature("autodoc", "Returns the value of the th extremum square distance. . - + %feature("autodoc", " Parameters ---------- N: int -Returns +Return ------- float + +Description +----------- +Returns the value of the th extremum square distance. . ") SquareDistance; Standard_Real SquareDistance(const Standard_Integer N); - /****************** TrimmedSquareDistances ******************/ - /**** md5 signature: 739eb38534e2c59aa37a147e06ae1d68 ****/ + /****** BRepExtrema_ExtPC::TrimmedSquareDistances ******/ + /****** md5 signature: 739eb38534e2c59aa37a147e06ae1d68 ******/ %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 . . - + %feature("autodoc", " Parameters ---------- pnt1: gp_Pnt pnt2: gp_Pnt -Returns +Return ------- dist1: float dist2: float + +Description +----------- +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 . . ") TrimmedSquareDistances; void TrimmedSquareDistances(Standard_Real &OutValue, Standard_Real &OutValue, gp_Pnt & pnt1, gp_Pnt & pnt2); @@ -1410,167 +1631,193 @@ dist2: float **************************/ class BRepExtrema_ExtPF { public: - /****************** BRepExtrema_ExtPF ******************/ - /**** md5 signature: 59679f7b84a26ede08f2011ca81a3d9a ****/ + /****** BRepExtrema_ExtPF::BRepExtrema_ExtPF ******/ + /****** md5 signature: 59679f7b84a26ede08f2011ca81a3d9a ******/ %feature("compactdefaultargs") BRepExtrema_ExtPF; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepExtrema_ExtPF; BRepExtrema_ExtPF(); - /****************** BRepExtrema_ExtPF ******************/ - /**** md5 signature: 9f029172528aafcb8c173bb3e47a6d64 ****/ + /****** BRepExtrema_ExtPF::BRepExtrema_ExtPF ******/ + /****** md5 signature: 9f029172528aafcb8c173bb3e47a6d64 ******/ %feature("compactdefaultargs") BRepExtrema_ExtPF; - %feature("autodoc", "It calculates all the distances. . - + %feature("autodoc", " Parameters ---------- TheVertex: TopoDS_Vertex TheFace: TopoDS_Face -TheFlag: Extrema_ExtFlag,optional - default value is Extrema_ExtFlag_MINMAX -TheAlgo: Extrema_ExtAlgo,optional - default value is Extrema_ExtAlgo_Grad +TheFlag: Extrema_ExtFlag (optional, default to Extrema_ExtFlag_MINMAX) +TheAlgo: Extrema_ExtAlgo (optional, default to Extrema_ExtAlgo_Grad) -Returns +Return ------- None + +Description +----------- +It calculates all the distances. . ") 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 ******************/ - /**** md5 signature: b186eacda6514ba3cf68a60d6462c860 ****/ + /****** BRepExtrema_ExtPF::Initialize ******/ + /****** md5 signature: b186eacda6514ba3cf68a60d6462c860 ******/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- TheFace: TopoDS_Face -TheFlag: Extrema_ExtFlag,optional - default value is Extrema_ExtFlag_MINMAX -TheAlgo: Extrema_ExtAlgo,optional - default value is Extrema_ExtAlgo_Grad +TheFlag: Extrema_ExtFlag (optional, default to Extrema_ExtFlag_MINMAX) +TheAlgo: Extrema_ExtAlgo (optional, default to Extrema_ExtAlgo_Grad) -Returns +Return ------- None + +Description +----------- +No available documentation. ") Initialize; void Initialize(const TopoDS_Face & TheFace, const Extrema_ExtFlag TheFlag = Extrema_ExtFlag_MINMAX, const Extrema_ExtAlgo TheAlgo = Extrema_ExtAlgo_Grad); - /****************** IsDone ******************/ - /**** md5 signature: e385477ab1bec806154173d4a550fd68 ****/ + /****** BRepExtrema_ExtPF::IsDone ******/ + /****** md5 signature: e385477ab1bec806154173d4a550fd68 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "True if the distances are found. . - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +True if the distances are found. . ") IsDone; Standard_Boolean IsDone(); - /****************** NbExt ******************/ - /**** md5 signature: 5a5d42851c4a5f73b150985c361524ae ****/ + /****** BRepExtrema_ExtPF::NbExt ******/ + /****** md5 signature: 5a5d42851c4a5f73b150985c361524ae ******/ %feature("compactdefaultargs") NbExt; - %feature("autodoc", "Returns the number of extremum distances. . - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns the number of extremum distances. . ") NbExt; Standard_Integer NbExt(); - /****************** Parameter ******************/ - /**** md5 signature: ac3a14addcd496ddf44c121b63d7a1b0 ****/ + /****** BRepExtrema_ExtPF::Parameter ******/ + /****** md5 signature: ac3a14addcd496ddf44c121b63d7a1b0 ******/ %feature("compactdefaultargs") Parameter; - %feature("autodoc", "Returns the parameters on the face of the th extremum distance. . - + %feature("autodoc", " Parameters ---------- N: int -Returns +Return ------- U: float V: float + +Description +----------- +Returns the parameters on the Face of the th extremum distance. . ") Parameter; void Parameter(const Standard_Integer N, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** Perform ******************/ - /**** md5 signature: 8abaa691a7bf98cb37f090b7a876264b ****/ + /****** BRepExtrema_ExtPF::Perform ******/ + /****** md5 signature: 8abaa691a7bf98cb37f090b7a876264b ******/ %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. . - + %feature("autodoc", " Parameters ---------- TheVertex: TopoDS_Vertex TheFace: TopoDS_Face -Returns +Return ------- None + +Description +----------- +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. . ") Perform; void Perform(const TopoDS_Vertex & TheVertex, const TopoDS_Face & TheFace); - /****************** Point ******************/ - /**** md5 signature: d05a4ad43ced02adf85358c081d42318 ****/ + /****** BRepExtrema_ExtPF::Point ******/ + /****** md5 signature: d05a4ad43ced02adf85358c081d42318 ******/ %feature("compactdefaultargs") Point; - %feature("autodoc", "Returns the point of the th extremum distance. . - + %feature("autodoc", " Parameters ---------- N: int -Returns +Return ------- gp_Pnt + +Description +----------- +Returns the Point of the th extremum distance. . ") Point; gp_Pnt Point(const Standard_Integer N); - /****************** SetAlgo ******************/ - /**** md5 signature: cad6f54c64a4b69da22bb042d2e4fe8a ****/ + /****** BRepExtrema_ExtPF::SetAlgo ******/ + /****** md5 signature: cad6f54c64a4b69da22bb042d2e4fe8a ******/ %feature("compactdefaultargs") SetAlgo; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- A: Extrema_ExtAlgo -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetAlgo; void SetAlgo(const Extrema_ExtAlgo A); - /****************** SetFlag ******************/ - /**** md5 signature: 7ce767aa4373b85a8cea83f409a2ebfb ****/ + /****** BRepExtrema_ExtPF::SetFlag ******/ + /****** md5 signature: 7ce767aa4373b85a8cea83f409a2ebfb ******/ %feature("compactdefaultargs") SetFlag; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- F: Extrema_ExtFlag -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetFlag; void SetFlag(const Extrema_ExtFlag F); - /****************** SquareDistance ******************/ - /**** md5 signature: 84f99c4c6de2197ef464c1aadcb7580e ****/ + /****** BRepExtrema_ExtPF::SquareDistance ******/ + /****** md5 signature: 84f99c4c6de2197ef464c1aadcb7580e ******/ %feature("compactdefaultargs") SquareDistance; - %feature("autodoc", "Returns the value of the th extremum square distance. . - + %feature("autodoc", " Parameters ---------- N: int -Returns +Return ------- float + +Description +----------- +Returns the value of the th extremum square distance. . ") SquareDistance; Standard_Real SquareDistance(const Standard_Integer N); @@ -1591,11 +1838,10 @@ float *************************/ class BRepExtrema_Poly { public: - /****************** Distance ******************/ - /**** md5 signature: 3cdcfe9983fe73f7dd6f4609cda88011 ****/ + /****** BRepExtrema_Poly::Distance ******/ + /****** md5 signature: 3cdcfe9983fe73f7dd6f4609cda88011 ******/ %feature("compactdefaultargs") Distance; - %feature("autodoc", "Returns standard_true if ok. - + %feature("autodoc", " Parameters ---------- S1: TopoDS_Shape @@ -1603,9 +1849,13 @@ S2: TopoDS_Shape P1: gp_Pnt P2: gp_Pnt -Returns +Return ------- dist: float + +Description +----------- +returns Standard_True if OK. ") Distance; static Standard_Boolean Distance(const TopoDS_Shape & S1, const TopoDS_Shape & S2, gp_Pnt & P1, gp_Pnt & P2, Standard_Real &OutValue); @@ -1618,194 +1868,587 @@ dist: float } }; +/************************************** +* class BRepExtrema_ProximityDistTool * +**************************************/ +class BRepExtrema_ProximityDistTool : public BVH_Distance { + public: +typedef typename BVH_Tools::BVH_PrjStateInTriangle BVH_PrjState; + class PrjState {}; +/* public enums */ +enum ProxPnt_Status { + ProxPnt_Status_BORDER = 0, + ProxPnt_Status_MIDDLE = 1, + ProxPnt_Status_UNKNOWN = 2, +}; + +/* end public enums declaration */ + +/* python proxy classes for enums */ +%pythoncode { + +class ProxPnt_Status(IntEnum): + ProxPnt_Status_BORDER = 0 + ProxPnt_Status_MIDDLE = 1 + ProxPnt_Status_UNKNOWN = 2 +ProxPnt_Status_BORDER = ProxPnt_Status.ProxPnt_Status_BORDER +ProxPnt_Status_MIDDLE = ProxPnt_Status.ProxPnt_Status_MIDDLE +ProxPnt_Status_UNKNOWN = ProxPnt_Status.ProxPnt_Status_UNKNOWN +}; +/* end python proxy for enums */ + + /****** BRepExtrema_ProximityDistTool::BRepExtrema_ProximityDistTool ******/ + /****** md5 signature: 2988f1cc0151ca5566402211c63fd7de ******/ + %feature("compactdefaultargs") BRepExtrema_ProximityDistTool; + %feature("autodoc", "Return +------- +None + +Description +----------- +Creates new uninitialized tool. +") BRepExtrema_ProximityDistTool; + BRepExtrema_ProximityDistTool(); + + /****** BRepExtrema_ProximityDistTool::BRepExtrema_ProximityDistTool ******/ + /****** md5 signature: b080844c8fa666dae8c0e8db8d27e87e ******/ + %feature("compactdefaultargs") BRepExtrema_ProximityDistTool; + %feature("autodoc", " +Parameters +---------- +theSet1: BRepExtrema_TriangleSet +theNbSamples1: int +theAddVertices1: BVH_Array3d +theAddStatus1: NCollection_Vector +theSet2: BRepExtrema_TriangleSet +theShapeList1: BRepExtrema_ShapeList +theShapeList2: BRepExtrema_ShapeList + +Return +------- +None + +Description +----------- +Creates new tool for the given element sets. +") BRepExtrema_ProximityDistTool; + BRepExtrema_ProximityDistTool(const opencascade::handle & theSet1, const Standard_Integer theNbSamples1, const BVH_Array3d & theAddVertices1, const NCollection_Vector & theAddStatus1, const opencascade::handle & theSet2, const BRepExtrema_ShapeList & theShapeList1, const BRepExtrema_ShapeList & theShapeList2); + + /****** BRepExtrema_ProximityDistTool::Accept ******/ + /****** md5 signature: 47868288da8d60ae3574004f3eef6f3b ******/ + %feature("compactdefaultargs") Accept; + %feature("autodoc", " +Parameters +---------- +theSgmIdx: int +&: float + +Return +------- +bool + +Description +----------- +Defines the rules for leaf acceptance. +") Accept; + virtual Standard_Boolean Accept(const Standard_Integer theSgmIdx, const Standard_Real &); + + /****** BRepExtrema_ProximityDistTool::IsEdgeOnBorder ******/ + /****** md5 signature: 038d26a81843ebeec880a6eff6bf6ec2 ******/ + %feature("compactdefaultargs") IsEdgeOnBorder; + %feature("autodoc", " +Parameters +---------- +theTrgIdx: int +theFirstEdgeNodeIdx: int +theSecondEdgeNodeIdx: int +theTr: Poly_Triangulation + +Return +------- +bool + +Description +----------- +Returns true if the edge is on the boarder. +") IsEdgeOnBorder; + static Standard_Boolean IsEdgeOnBorder(const Standard_Integer theTrgIdx, const Standard_Integer theFirstEdgeNodeIdx, const Standard_Integer theSecondEdgeNodeIdx, const opencascade::handle & theTr); + + /****** BRepExtrema_ProximityDistTool::IsNodeOnBorder ******/ + /****** md5 signature: c8ae4ebe0ba9871a300b8cb277c90189 ******/ + %feature("compactdefaultargs") IsNodeOnBorder; + %feature("autodoc", " +Parameters +---------- +theNodeIdx: int +theTr: Poly_Triangulation + +Return +------- +bool + +Description +----------- +Returns true if the node is on the boarder. +") IsNodeOnBorder; + static Standard_Boolean IsNodeOnBorder(const Standard_Integer theNodeIdx, const opencascade::handle & theTr); + + /****** BRepExtrema_ProximityDistTool::LoadShapeLists ******/ + /****** md5 signature: 2ec9bfacd5c06102fdebe80e35402ca0 ******/ + %feature("compactdefaultargs") LoadShapeLists; + %feature("autodoc", " +Parameters +---------- +theShapeList1: BRepExtrema_ShapeList +theShapeList2: BRepExtrema_ShapeList + +Return +------- +None + +Description +----------- +Loads the given list of subshapes into the tool. +") LoadShapeLists; + void LoadShapeLists(const BRepExtrema_ShapeList & theShapeList1, const BRepExtrema_ShapeList & theShapeList2); + + /****** BRepExtrema_ProximityDistTool::LoadTriangleSets ******/ + /****** md5 signature: dfd78a7a416eff23ee78d969d7e3cf4f ******/ + %feature("compactdefaultargs") LoadTriangleSets; + %feature("autodoc", " +Parameters +---------- +theSet1: BRepExtrema_TriangleSet +theSet2: BRepExtrema_TriangleSet + +Return +------- +None + +Description +----------- +Loads the given element sets into the tool. +") LoadTriangleSets; + void LoadTriangleSets(const opencascade::handle & theSet1, const opencascade::handle & theSet2); + + /****** BRepExtrema_ProximityDistTool::Perform ******/ + /****** md5 signature: c04b01412cba7220c024b5eb4532697f ******/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "Return +------- +None + +Description +----------- +Performs searching of the proximity distance. +") Perform; + void Perform(); + + /****** BRepExtrema_ProximityDistTool::ProximityDistance ******/ + /****** md5 signature: 1c229c100cac62e1d3970eed3dcb9856 ******/ + %feature("compactdefaultargs") ProximityDistance; + %feature("autodoc", "Return +------- +float + +Description +----------- +Returns the computed distance. +") ProximityDistance; + Standard_Real ProximityDistance(); + + /****** BRepExtrema_ProximityDistTool::ProximityPoints ******/ + /****** md5 signature: 54701e724238367b6b602dfb87695880 ******/ + %feature("compactdefaultargs") ProximityPoints; + %feature("autodoc", " +Parameters +---------- +thePoint1: BVH_Vec3d +thePoint2: BVH_Vec3d + +Return +------- +None + +Description +----------- +Returns points on triangles sets, which provide the proximity distance. +") ProximityPoints; + void ProximityPoints(BVH_Vec3d & thePoint1, BVH_Vec3d & thePoint2); + + /****** BRepExtrema_ProximityDistTool::ProximityPointsStatus ******/ + /****** md5 signature: cbb67aeda5a68bd79cbb58089638d3f8 ******/ + %feature("compactdefaultargs") ProximityPointsStatus; + %feature("autodoc", " +Parameters +---------- +thePointStatus1: ProxPnt_Status +thePointStatus2: ProxPnt_Status + +Return +------- +None + +Description +----------- +Returns status of points on triangles sets, which provide the proximity distance. +") ProximityPointsStatus; + void ProximityPointsStatus(ProxPnt_Status thePointStatus1, ProxPnt_Status thePointStatus2); + + /****** BRepExtrema_ProximityDistTool::RejectNode ******/ + /****** md5 signature: 62cfd38e542b7e9753f6f91b3eb7777b ******/ + %feature("compactdefaultargs") RejectNode; + %feature("autodoc", " +Parameters +---------- +theCornerMin: BVH_Vec3d +theCornerMax: BVH_Vec3d + +Return +------- +theMetric: float + +Description +----------- +Defines the rules for node rejection by bounding box. +") RejectNode; + virtual Standard_Boolean RejectNode(const BVH_Vec3d & theCornerMin, const BVH_Vec3d & theCornerMax, Standard_Real &OutValue); + +}; + + +%extend BRepExtrema_ProximityDistTool { + %pythoncode { + __repr__ = _dumps_object + + @methodnotwrapped + def LoadAdditionalPointsFirstSet(self): + pass + } +}; + /*********************************** * class BRepExtrema_ShapeProximity * ***********************************/ class BRepExtrema_ShapeProximity { public: - /****************** BRepExtrema_ShapeProximity ******************/ - /**** md5 signature: d5e4520e332fd1ca29b2aa5faa01a742 ****/ + /****** BRepExtrema_ShapeProximity::BRepExtrema_ShapeProximity ******/ + /****** md5 signature: 73b29b290349b3955b499c712de97888 ******/ %feature("compactdefaultargs") BRepExtrema_ShapeProximity; - %feature("autodoc", "Creates empty proximity tool. - + %feature("autodoc", " Parameters ---------- -theTolerance: float,optional - default value is 0.0 +theTolerance: float (optional, default to Precision::Infinite()) -Returns +Return ------- None + +Description +----------- +Creates empty proximity tool. ") BRepExtrema_ShapeProximity; - BRepExtrema_ShapeProximity(const Standard_Real theTolerance = 0.0); + BRepExtrema_ShapeProximity(const Standard_Real theTolerance = Precision::Infinite()); - /****************** BRepExtrema_ShapeProximity ******************/ - /**** md5 signature: 5ccb942611c6f542d06eaa2361fcb03f ****/ + /****** BRepExtrema_ShapeProximity::BRepExtrema_ShapeProximity ******/ + /****** md5 signature: 531da26b6a3f5440b741fe549c9ade34 ******/ %feature("compactdefaultargs") BRepExtrema_ShapeProximity; - %feature("autodoc", "Creates proximity tool for the given two shapes. - + %feature("autodoc", " Parameters ---------- theShape1: TopoDS_Shape theShape2: TopoDS_Shape -theTolerance: float,optional - default value is 0.0 +theTolerance: float (optional, default to Precision::Infinite()) -Returns +Return ------- None + +Description +----------- +Creates proximity tool for the given two shapes. ") BRepExtrema_ShapeProximity; - BRepExtrema_ShapeProximity(const TopoDS_Shape & theShape1, const TopoDS_Shape & theShape2, const Standard_Real theTolerance = 0.0); + BRepExtrema_ShapeProximity(const TopoDS_Shape & theShape1, const TopoDS_Shape & theShape2, const Standard_Real theTolerance = Precision::Infinite()); - /****************** ElementSet1 ******************/ - /**** md5 signature: f5328b7099eceb0eda7e749d56fd8afa ****/ + /****** BRepExtrema_ShapeProximity::ElementSet1 ******/ + /****** md5 signature: f5328b7099eceb0eda7e749d56fd8afa ******/ %feature("compactdefaultargs") ElementSet1; - %feature("autodoc", "Returns set of all the face triangles of the 1st shape. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns set of all the face triangles of the 1st shape. ") ElementSet1; const opencascade::handle & ElementSet1(); - /****************** ElementSet2 ******************/ - /**** md5 signature: e2ee7df49652a0d3ac07499a44f9b24b ****/ + /****** BRepExtrema_ShapeProximity::ElementSet2 ******/ + /****** md5 signature: e2ee7df49652a0d3ac07499a44f9b24b ******/ %feature("compactdefaultargs") ElementSet2; - %feature("autodoc", "Returns set of all the face triangles of the 2nd shape. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns set of all the face triangles of the 2nd shape. ") ElementSet2; const opencascade::handle & ElementSet2(); - /****************** GetSubShape1 ******************/ - /**** md5 signature: 87f159a97514b76326c740f1454acbd1 ****/ + /****** BRepExtrema_ShapeProximity::GetSubShape1 ******/ + /****** md5 signature: 9d27a6a3fa6ff016ce6fb25c224de40d ******/ %feature("compactdefaultargs") GetSubShape1; - %feature("autodoc", "Returns sub-shape from 1st shape with the given index (started from 0). - + %feature("autodoc", " Parameters ---------- theID: int -Returns +Return ------- -TopoDS_Face +TopoDS_Shape + +Description +----------- +Returns sub-shape from 1st shape with the given index (started from 0). ") GetSubShape1; - const TopoDS_Face GetSubShape1(const Standard_Integer theID); + const TopoDS_Shape GetSubShape1(const Standard_Integer theID); - /****************** GetSubShape2 ******************/ - /**** md5 signature: 0a3fb2d88d8d3af2d88e2c958354e505 ****/ + /****** BRepExtrema_ShapeProximity::GetSubShape2 ******/ + /****** md5 signature: 25abd1b9ef769c834795d782c0a14dbc ******/ %feature("compactdefaultargs") GetSubShape2; - %feature("autodoc", "Returns sub-shape from 1st shape with the given index (started from 0). - + %feature("autodoc", " Parameters ---------- theID: int -Returns +Return ------- -TopoDS_Face +TopoDS_Shape + +Description +----------- +Returns sub-shape from 1st shape with the given index (started from 0). ") GetSubShape2; - const TopoDS_Face GetSubShape2(const Standard_Integer theID); + const TopoDS_Shape GetSubShape2(const Standard_Integer theID); - /****************** IsDone ******************/ - /**** md5 signature: e385477ab1bec806154173d4a550fd68 ****/ + /****** BRepExtrema_ShapeProximity::IsDone ******/ + /****** md5 signature: e385477ab1bec806154173d4a550fd68 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "True if the search is completed. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +True if the search is completed. ") IsDone; Standard_Boolean IsDone(); - /****************** LoadShape1 ******************/ - /**** md5 signature: ed5dc6256ef0f54993af8d5f42643204 ****/ + /****** BRepExtrema_ShapeProximity::LoadShape1 ******/ + /****** md5 signature: ed5dc6256ef0f54993af8d5f42643204 ******/ %feature("compactdefaultargs") LoadShape1; - %feature("autodoc", "Loads 1st shape into proximity tool. - + %feature("autodoc", " Parameters ---------- theShape1: TopoDS_Shape -Returns +Return ------- bool + +Description +----------- +Loads 1st shape into proximity tool. ") LoadShape1; Standard_Boolean LoadShape1(const TopoDS_Shape & theShape1); - /****************** LoadShape2 ******************/ - /**** md5 signature: 24b356a69585081561c46ecbe63fdbeb ****/ + /****** BRepExtrema_ShapeProximity::LoadShape2 ******/ + /****** md5 signature: 24b356a69585081561c46ecbe63fdbeb ******/ %feature("compactdefaultargs") LoadShape2; - %feature("autodoc", "Loads 2nd shape into proximity tool. - + %feature("autodoc", " Parameters ---------- theShape2: TopoDS_Shape -Returns +Return ------- bool + +Description +----------- +Loads 2nd shape into proximity tool. ") LoadShape2; Standard_Boolean LoadShape2(const TopoDS_Shape & theShape2); - /****************** OverlapSubShapes1 ******************/ - /**** md5 signature: 9710dae176016573e5f78f6d7f31bfa4 ****/ + /****** BRepExtrema_ShapeProximity::OverlapSubShapes1 ******/ + /****** md5 signature: 9710dae176016573e5f78f6d7f31bfa4 ******/ %feature("compactdefaultargs") OverlapSubShapes1; - %feature("autodoc", "Returns set of ids of overlapped faces of 1st shape (started from 0). - -Returns + %feature("autodoc", "Return ------- BRepExtrema_MapOfIntegerPackedMapOfInteger + +Description +----------- +Returns set of IDs of overlapped faces of 1st shape (started from 0). ") OverlapSubShapes1; const BRepExtrema_MapOfIntegerPackedMapOfInteger & OverlapSubShapes1(); - /****************** OverlapSubShapes2 ******************/ - /**** md5 signature: fc9b72c448de7230c8960bcd7b47e9f5 ****/ + /****** BRepExtrema_ShapeProximity::OverlapSubShapes2 ******/ + /****** md5 signature: fc9b72c448de7230c8960bcd7b47e9f5 ******/ %feature("compactdefaultargs") OverlapSubShapes2; - %feature("autodoc", "Returns set of ids of overlapped faces of 2nd shape (started from 0). - -Returns + %feature("autodoc", "Return ------- BRepExtrema_MapOfIntegerPackedMapOfInteger + +Description +----------- +Returns set of IDs of overlapped faces of 2nd shape (started from 0). ") OverlapSubShapes2; const BRepExtrema_MapOfIntegerPackedMapOfInteger & OverlapSubShapes2(); - /****************** Perform ******************/ - /**** md5 signature: c04b01412cba7220c024b5eb4532697f ****/ + /****** BRepExtrema_ShapeProximity::Perform ******/ + /****** md5 signature: c04b01412cba7220c024b5eb4532697f ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Performs search of overlapped faces. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Performs search of overlapped faces. ") Perform; void Perform(); - /****************** SetTolerance ******************/ - /**** md5 signature: 2df6ca87a12fc10518568e45d2ce38db ****/ - %feature("compactdefaultargs") SetTolerance; - %feature("autodoc", "Sets tolerance value for overlap test (distance between shapes). + /****** BRepExtrema_ShapeProximity::ProxPntStatus1 ******/ + /****** md5 signature: 5b5a621c79fd72dfa7174da351c8990f ******/ + %feature("compactdefaultargs") ProxPntStatus1; + %feature("autodoc", "Return +------- +ProxPnt_Status + +Description +----------- +Returns the status of point on the 1st shape, which could be used as a reference point for the value of the proximity. +") ProxPntStatus1; + const ProxPnt_Status ProxPntStatus1(); + + /****** BRepExtrema_ShapeProximity::ProxPntStatus2 ******/ + /****** md5 signature: 5f8c6ad089fa3dc1014ee2eaced6a8ee ******/ + %feature("compactdefaultargs") ProxPntStatus2; + %feature("autodoc", "Return +------- +ProxPnt_Status + +Description +----------- +Returns the status of point on the 2nd shape, which could be used as a reference point for the value of the proximity. +") ProxPntStatus2; + const ProxPnt_Status ProxPntStatus2(); + + /****** BRepExtrema_ShapeProximity::Proximity ******/ + /****** md5 signature: b971efcb1300162fab46e37d2a70dacd ******/ + %feature("compactdefaultargs") Proximity; + %feature("autodoc", "Return +------- +float + +Description +----------- +Returns proximity value calculated for the whole input shapes. +") Proximity; + Standard_Real Proximity(); + + /****** BRepExtrema_ShapeProximity::ProximityPoint1 ******/ + /****** md5 signature: 7b89ebcbe2c3263efa38d81948de688a ******/ + %feature("compactdefaultargs") ProximityPoint1; + %feature("autodoc", "Return +------- +gp_Pnt + +Description +----------- +Returns the point on the 1st shape, which could be used as a reference point for the value of the proximity. +") ProximityPoint1; + const gp_Pnt ProximityPoint1(); + + /****** BRepExtrema_ShapeProximity::ProximityPoint2 ******/ + /****** md5 signature: 694a8c2b488abd3573c6ab1ad209c1ff ******/ + %feature("compactdefaultargs") ProximityPoint2; + %feature("autodoc", "Return +------- +gp_Pnt +Description +----------- +Returns the point on the 2nd shape, which could be used as a reference point for the value of the proximity. +") ProximityPoint2; + const gp_Pnt ProximityPoint2(); + + /****** BRepExtrema_ShapeProximity::SetNbSamples1 ******/ + /****** md5 signature: 7c440e0080448ca35e32063181dbc6db ******/ + %feature("compactdefaultargs") SetNbSamples1; + %feature("autodoc", " +Parameters +---------- +theNbSamples: int + +Return +------- +None + +Description +----------- +Set number of sample points on the 1st shape used to compute the proximity value. In case of 0, all triangulation nodes will be used. +") SetNbSamples1; + void SetNbSamples1(const Standard_Integer theNbSamples); + + /****** BRepExtrema_ShapeProximity::SetNbSamples2 ******/ + /****** md5 signature: 1328b53fc399af111069fbfe7e25a24f ******/ + %feature("compactdefaultargs") SetNbSamples2; + %feature("autodoc", " +Parameters +---------- +theNbSamples: int + +Return +------- +None + +Description +----------- +Set number of sample points on the 2nd shape used to compute the proximity value. In case of 0, all triangulation nodes will be used. +") SetNbSamples2; + void SetNbSamples2(const Standard_Integer theNbSamples); + + /****** BRepExtrema_ShapeProximity::SetTolerance ******/ + /****** md5 signature: 2df6ca87a12fc10518568e45d2ce38db ******/ + %feature("compactdefaultargs") SetTolerance; + %feature("autodoc", " Parameters ---------- theTolerance: float -Returns +Return ------- None + +Description +----------- +Sets tolerance value for overlap test (distance between shapes). ") SetTolerance; void SetTolerance(const Standard_Real theTolerance); - /****************** Tolerance ******************/ - /**** md5 signature: 327dcbe220ae5ba3e0203f32c61c38db ****/ + /****** BRepExtrema_ShapeProximity::Tolerance ******/ + /****** md5 signature: 327dcbe220ae5ba3e0203f32c61c38db ******/ %feature("compactdefaultargs") Tolerance; - %feature("autodoc", "Returns tolerance value for overlap test (distance between shapes). - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns tolerance value for overlap test (distance between shapes). ") Tolerance; Standard_Real Tolerance(); @@ -1823,22 +2466,23 @@ float *********************************/ class BRepExtrema_SolutionElem { public: - /****************** BRepExtrema_SolutionElem ******************/ - /**** md5 signature: b1847c030d573d5fa6dbdfd7597b2246 ****/ + /****** BRepExtrema_SolutionElem::BRepExtrema_SolutionElem ******/ + /****** md5 signature: b1847c030d573d5fa6dbdfd7597b2246 ******/ %feature("compactdefaultargs") BRepExtrema_SolutionElem; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BRepExtrema_SolutionElem; BRepExtrema_SolutionElem(); - /****************** BRepExtrema_SolutionElem ******************/ - /**** md5 signature: d15292718a8e41bab3cfe61e1983013d ****/ + /****** BRepExtrema_SolutionElem::BRepExtrema_SolutionElem ******/ + /****** md5 signature: d15292718a8e41bab3cfe61e1983013d ******/ %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. - + %feature("autodoc", " Parameters ---------- theDist: float @@ -1846,17 +2490,24 @@ thePoint: gp_Pnt theSolType: BRepExtrema_SupportType theVertex: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +This constructor is used when the solution of a distance is a Vertex. The different initialized fields are: +Parameter theDist the distance +Parameter thePoint the solution point +Parameter theSolType the type of solution +Parameter theVertex and the Vertex. ") BRepExtrema_SolutionElem; BRepExtrema_SolutionElem(const Standard_Real theDist, const gp_Pnt & thePoint, const BRepExtrema_SupportType theSolType, const TopoDS_Vertex & theVertex); - /****************** BRepExtrema_SolutionElem ******************/ - /**** md5 signature: c44286d6515ce27f7cdab988b0bd4b89 ****/ + /****** BRepExtrema_SolutionElem::BRepExtrema_SolutionElem ******/ + /****** md5 signature: c44286d6515ce27f7cdab988b0bd4b89 ******/ %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. - + %feature("autodoc", " Parameters ---------- theDist: float @@ -1865,17 +2516,25 @@ theSolType: BRepExtrema_SupportType theEdge: TopoDS_Edge theParam: float -Returns +Return ------- None + +Description +----------- +This constructor is used when the solution of distance is on an Edge. The different initialized fields are: +Parameter theDist the distance +Parameter thePoint the solution point +Parameter theSolType the type of solution +Parameter theEdge the Edge +Parameter theParam the parameter to locate the solution. ") BRepExtrema_SolutionElem; BRepExtrema_SolutionElem(const Standard_Real theDist, const gp_Pnt & thePoint, const BRepExtrema_SupportType theSolType, const TopoDS_Edge & theEdge, const Standard_Real theParam); - /****************** BRepExtrema_SolutionElem ******************/ - /**** md5 signature: 95f0e109da6e223843501141c53cfc0f ****/ + /****** BRepExtrema_SolutionElem::BRepExtrema_SolutionElem ******/ + /****** md5 signature: 95f0e109da6e223843501141c53cfc0f ******/ %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. - + %feature("autodoc", " Parameters ---------- theDist: float @@ -1885,104 +2544,132 @@ theFace: TopoDS_Face theU: float theV: float -Returns +Return ------- None + +Description +----------- +This constructor is used when the solution of distance is in a Face. The different initialized fields are: +Parameter theDist the distance +Parameter thePoint the solution point +Parameter theSolType the type of solution +Parameter theFace the Face +Parameter theU U parameter to locate the solution +Parameter theV V parameter to locate the solution. ") 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); - /****************** Dist ******************/ - /**** md5 signature: f5307862a51cb97e3c26c8ff9fd2151c ****/ + /****** BRepExtrema_SolutionElem::Dist ******/ + /****** md5 signature: f5307862a51cb97e3c26c8ff9fd2151c ******/ %feature("compactdefaultargs") Dist; - %feature("autodoc", "Returns the value of the minimum distance. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the value of the minimum distance. ") Dist; Standard_Real Dist(); - /****************** Edge ******************/ - /**** md5 signature: 657c12d9769667081fd960b688690cc0 ****/ + /****** BRepExtrema_SolutionElem::Edge ******/ + /****** md5 signature: 657c12d9769667081fd960b688690cc0 ******/ %feature("compactdefaultargs") Edge; - %feature("autodoc", "Returns the vertex if the solution is an edge. - -Returns + %feature("autodoc", "Return ------- TopoDS_Edge + +Description +----------- +Returns the vertex if the solution is an Edge. ") Edge; const TopoDS_Edge Edge(); - /****************** EdgeParameter ******************/ - /**** md5 signature: e1e03ab8d7f734e6c45a0e3ecbfe3c1f ****/ + /****** BRepExtrema_SolutionElem::EdgeParameter ******/ + /****** md5 signature: e1e03ab8d7f734e6c45a0e3ecbfe3c1f ******/ %feature("compactdefaultargs") EdgeParameter; - %feature("autodoc", "Returns the parameter value if the solution is on edge. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- theParam: float + +Description +----------- +Returns the parameter value if the solution is on Edge. ") EdgeParameter; void EdgeParameter(Standard_Real &OutValue); - /****************** Face ******************/ - /**** md5 signature: 95406b8d0d556c0537e0768c48713f21 ****/ + /****** BRepExtrema_SolutionElem::Face ******/ + /****** md5 signature: 95406b8d0d556c0537e0768c48713f21 ******/ %feature("compactdefaultargs") Face; - %feature("autodoc", "Returns the vertex if the solution is an face. - -Returns + %feature("autodoc", "Return ------- TopoDS_Face + +Description +----------- +Returns the vertex if the solution is an Face. ") Face; const TopoDS_Face Face(); - /****************** FaceParameter ******************/ - /**** md5 signature: 79577ec832d73e33d7d345390f41289a ****/ + /****** BRepExtrema_SolutionElem::FaceParameter ******/ + /****** md5 signature: 79577ec832d73e33d7d345390f41289a ******/ %feature("compactdefaultargs") FaceParameter; - %feature("autodoc", "Returns the parameters u and v if the solution is in a face. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- theU: float theV: float + +Description +----------- +Returns the parameters U and V if the solution is in a Face. ") FaceParameter; void FaceParameter(Standard_Real &OutValue, Standard_Real &OutValue); - /****************** Point ******************/ - /**** md5 signature: 4e742d9ca138939180edee86d3b37a8f ****/ + /****** BRepExtrema_SolutionElem::Point ******/ + /****** md5 signature: 4e742d9ca138939180edee86d3b37a8f ******/ %feature("compactdefaultargs") Point; - %feature("autodoc", "Returns the solution point. - -Returns + %feature("autodoc", "Return ------- gp_Pnt + +Description +----------- +Returns the solution point. ") Point; const gp_Pnt Point(); - /****************** SupportKind ******************/ - /**** md5 signature: 078ef3765b64d7d1760ca2fcb79509bc ****/ + /****** BRepExtrema_SolutionElem::SupportKind ******/ + /****** md5 signature: 078ef3765b64d7d1760ca2fcb79509bc ******/ %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. - -Returns + %feature("autodoc", "Return ------- BRepExtrema_SupportType + +Description +----------- +Returns the Support type: IsVertex => The solution is a vertex. IsOnEdge => The solution belongs to an Edge. IsInFace => The solution is inside a Face. ") SupportKind; BRepExtrema_SupportType SupportKind(); - /****************** Vertex ******************/ - /**** md5 signature: f6b9d30df043abdbae2c9dffcc672395 ****/ + /****** BRepExtrema_SolutionElem::Vertex ******/ + /****** md5 signature: f6b9d30df043abdbae2c9dffcc672395 ******/ %feature("compactdefaultargs") Vertex; - %feature("autodoc", "Returns the vertex if the solution is a vertex. - -Returns + %feature("autodoc", "Return ------- TopoDS_Vertex + +Description +----------- +Returns the vertex if the solution is a Vertex. ") Vertex; const TopoDS_Vertex Vertex(); @@ -2000,94 +2687,158 @@ TopoDS_Vertex ********************************/ class BRepExtrema_TriangleSet : public BVH_PrimitiveSet3d { public: - /****************** BRepExtrema_TriangleSet ******************/ - /**** md5 signature: c837909c9b9498946edb006a58e7df80 ****/ + /****** BRepExtrema_TriangleSet::BRepExtrema_TriangleSet ******/ + /****** md5 signature: c837909c9b9498946edb006a58e7df80 ******/ %feature("compactdefaultargs") BRepExtrema_TriangleSet; - %feature("autodoc", "Creates empty triangle set. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Creates empty triangle set. ") BRepExtrema_TriangleSet; BRepExtrema_TriangleSet(); - /****************** BRepExtrema_TriangleSet ******************/ - /**** md5 signature: 0d12ee30e72748f6fc3d4890d0d61603 ****/ + /****** BRepExtrema_TriangleSet::BRepExtrema_TriangleSet ******/ + /****** md5 signature: 0d12ee30e72748f6fc3d4890d0d61603 ******/ %feature("compactdefaultargs") BRepExtrema_TriangleSet; - %feature("autodoc", "Creates triangle set from the given face. - + %feature("autodoc", " Parameters ---------- theFaces: BRepExtrema_ShapeList -Returns +Return ------- None + +Description +----------- +Creates triangle set from the given face. ") BRepExtrema_TriangleSet; BRepExtrema_TriangleSet(const BRepExtrema_ShapeList & theFaces); - /****************** Box ******************/ - /**** md5 signature: 01168dd0900939e91f004003e5b0a1da ****/ + /****** BRepExtrema_TriangleSet::Box ******/ + /****** md5 signature: 01168dd0900939e91f004003e5b0a1da ******/ %feature("compactdefaultargs") Box; - %feature("autodoc", "Returns aabb of the given triangle. - + %feature("autodoc", " Parameters ---------- theIndex: int -Returns +Return ------- BVH_Box + +Description +----------- +Returns AABB of the given triangle. ") Box; BVH_Box Box(const Standard_Integer theIndex); - /****************** Center ******************/ - /**** md5 signature: 1fbde3997a3e0d75df8f855e85efeedc ****/ + /****** BRepExtrema_TriangleSet::Center ******/ + /****** md5 signature: 1fbde3997a3e0d75df8f855e85efeedc ******/ %feature("compactdefaultargs") Center; - %feature("autodoc", "Returns centroid position along specified axis. - + %feature("autodoc", " Parameters ---------- theIndex: int theAxis: int -Returns +Return ------- float + +Description +----------- +Returns centroid position along specified axis. ") Center; Standard_Real Center(const Standard_Integer theIndex, const Standard_Integer theAxis); - /****************** Clear ******************/ - /**** md5 signature: ae54be580b423a6eadbe062e0bdb44c2 ****/ + /****** BRepExtrema_TriangleSet::Clear ******/ + /****** md5 signature: ae54be580b423a6eadbe062e0bdb44c2 ******/ %feature("compactdefaultargs") Clear; - %feature("autodoc", "Clears triangle set data. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Clears triangle set data. ") Clear; void Clear(); - /****************** GetFaceID ******************/ - /**** md5 signature: 636c69728e1d37778f46c7e7689817a2 ****/ + /****** BRepExtrema_TriangleSet::GetFaceID ******/ + /****** md5 signature: 636c69728e1d37778f46c7e7689817a2 ******/ %feature("compactdefaultargs") GetFaceID; - %feature("autodoc", "Returns face id of the given triangle. - + %feature("autodoc", " Parameters ---------- theIndex: int -Returns +Return ------- int + +Description +----------- +Returns face ID of the given triangle. ") GetFaceID; Standard_Integer GetFaceID(const Standard_Integer theIndex); - /****************** GetVertices ******************/ - /**** md5 signature: 8f9f04b5f9949be6710853ac95fdc36d ****/ + /****** BRepExtrema_TriangleSet::GetShapeIDOfVtx ******/ + /****** md5 signature: 94f7f027601fc3d870fcd3c7c286a3d2 ******/ + %feature("compactdefaultargs") GetShapeIDOfVtx; + %feature("autodoc", " +Parameters +---------- +theIndex: int + +Return +------- +int + +Description +----------- +Returns shape ID of the given vertex index. +") GetShapeIDOfVtx; + Standard_Integer GetShapeIDOfVtx(const Standard_Integer theIndex); + + /****** BRepExtrema_TriangleSet::GetTrgIdxInShape ******/ + /****** md5 signature: 76f60b043a2db13c82e06a83b90203aa ******/ + %feature("compactdefaultargs") GetTrgIdxInShape; + %feature("autodoc", " +Parameters +---------- +theIndex: int + +Return +------- +int + +Description +----------- +Returns triangle index (before swapping) in tringulation of the shape, which triangle belongs, with the given trg ID in whole set (after swapping). +") GetTrgIdxInShape; + Standard_Integer GetTrgIdxInShape(const Standard_Integer theIndex); + + /****** BRepExtrema_TriangleSet::GetVertices ******/ + /****** md5 signature: 6895166cb2c145e3ff7ace9664551209 ******/ %feature("compactdefaultargs") GetVertices; - %feature("autodoc", "Returns vertices of the given triangle. + %feature("autodoc", "Return +------- +BVH_Array3d + +Description +----------- +Returns all vertices. +") GetVertices; + const BVH_Array3d & GetVertices(); + /****** BRepExtrema_TriangleSet::GetVertices ******/ + /****** md5 signature: 8f9f04b5f9949be6710853ac95fdc36d ******/ + %feature("compactdefaultargs") GetVertices; + %feature("autodoc", " Parameters ---------- theIndex: int @@ -2095,51 +2846,100 @@ theVertex1: BVH_Vec3d theVertex2: BVH_Vec3d theVertex3: BVH_Vec3d -Returns +Return ------- None + +Description +----------- +Returns vertices of the given triangle. ") GetVertices; void GetVertices(const Standard_Integer theIndex, BVH_Vec3d & theVertex1, BVH_Vec3d & theVertex2, BVH_Vec3d & theVertex3); - /****************** Init ******************/ - /**** md5 signature: 1a69b588a726877c7ffe576fe0f505d5 ****/ - %feature("compactdefaultargs") Init; - %feature("autodoc", "Initializes triangle set. + /****** BRepExtrema_TriangleSet::GetVtxIdxInShape ******/ + /****** md5 signature: 638e97ebafbd36318e5edb25c78cf4af ******/ + %feature("compactdefaultargs") GetVtxIdxInShape; + %feature("autodoc", " +Parameters +---------- +theIndex: int + +Return +------- +int + +Description +----------- +Returns vertex index in tringulation of the shape, which vertex belongs, with the given vtx ID in whole set. +") GetVtxIdxInShape; + Standard_Integer GetVtxIdxInShape(const Standard_Integer theIndex); + /****** BRepExtrema_TriangleSet::GetVtxIndices ******/ + /****** md5 signature: fb0daffb3cedb2be1930b6e0eebab39e ******/ + %feature("compactdefaultargs") GetVtxIndices; + %feature("autodoc", " Parameters ---------- -theFaces: BRepExtrema_ShapeList +theIndex: int +theVtxIndices: NCollection_Array1 + +Return +------- +None + +Description +----------- +Returns vertex indices of the given triangle. +") GetVtxIndices; + void GetVtxIndices(const Standard_Integer theIndex, NCollection_Array1 & theVtxIndices); + + /****** BRepExtrema_TriangleSet::Init ******/ + /****** md5 signature: e68262ad9df79c968a16107c49147612 ******/ + %feature("compactdefaultargs") Init; + %feature("autodoc", " +Parameters +---------- +theShapes: BRepExtrema_ShapeList -Returns +Return ------- bool + +Description +----------- +Initializes triangle set. ") Init; - Standard_Boolean Init(const BRepExtrema_ShapeList & theFaces); + Standard_Boolean Init(const BRepExtrema_ShapeList & theShapes); - /****************** Size ******************/ - /**** md5 signature: 35f6071839104c52ab17204b65e7eae6 ****/ + /****** BRepExtrema_TriangleSet::Size ******/ + /****** md5 signature: 35f6071839104c52ab17204b65e7eae6 ******/ %feature("compactdefaultargs") Size; - %feature("autodoc", "Returns total number of triangles. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns total number of triangles. ") Size; Standard_Integer Size(); - /****************** Swap ******************/ - /**** md5 signature: 36f2c771aee4a57de3f442eef1aadf04 ****/ + /****** BRepExtrema_TriangleSet::Swap ******/ + /****** md5 signature: 36f2c771aee4a57de3f442eef1aadf04 ******/ %feature("compactdefaultargs") Swap; - %feature("autodoc", "Swaps indices of two specified triangles. - + %feature("autodoc", " Parameters ---------- theIndex1: int theIndex2: int -Returns +Return ------- None + +Description +----------- +Swaps indices of two specified triangles. ") Swap; void Swap(const Standard_Integer theIndex1, const Standard_Integer theIndex2); @@ -2159,136 +2959,159 @@ None *************************************/ class BRepExtrema_SelfIntersection : public BRepExtrema_ElementFilter { public: - /****************** BRepExtrema_SelfIntersection ******************/ - /**** md5 signature: 784f69b5e04a39d4d2d873ee9d2c141b ****/ + /****** BRepExtrema_SelfIntersection::BRepExtrema_SelfIntersection ******/ + /****** md5 signature: 784f69b5e04a39d4d2d873ee9d2c141b ******/ %feature("compactdefaultargs") BRepExtrema_SelfIntersection; - %feature("autodoc", "Creates unitialized self-intersection tool. - + %feature("autodoc", " Parameters ---------- -theTolerance: float,optional - default value is 0.0 +theTolerance: float (optional, default to 0.0) -Returns +Return ------- None + +Description +----------- +Creates uninitialized self-intersection tool. ") BRepExtrema_SelfIntersection; BRepExtrema_SelfIntersection(const Standard_Real theTolerance = 0.0); - /****************** BRepExtrema_SelfIntersection ******************/ - /**** md5 signature: f3bc92ec46be4be78a76c38666f37a6a ****/ + /****** BRepExtrema_SelfIntersection::BRepExtrema_SelfIntersection ******/ + /****** md5 signature: f3bc92ec46be4be78a76c38666f37a6a ******/ %feature("compactdefaultargs") BRepExtrema_SelfIntersection; - %feature("autodoc", "Creates self-intersection tool for the given shape. - + %feature("autodoc", " Parameters ---------- theShape: TopoDS_Shape -theTolerance: float,optional - default value is 0.0 +theTolerance: float (optional, default to 0.0) -Returns +Return ------- None + +Description +----------- +Creates self-intersection tool for the given shape. ") BRepExtrema_SelfIntersection; BRepExtrema_SelfIntersection(const TopoDS_Shape & theShape, const Standard_Real theTolerance = 0.0); - /****************** ElementSet ******************/ - /**** md5 signature: 7eda4cbdd51c64f2d775e378bb0a6592 ****/ + /****** BRepExtrema_SelfIntersection::ElementSet ******/ + /****** md5 signature: 7eda4cbdd51c64f2d775e378bb0a6592 ******/ %feature("compactdefaultargs") ElementSet; - %feature("autodoc", "Returns set of all the face triangles of the shape. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns set of all the face triangles of the shape. ") ElementSet; const opencascade::handle & ElementSet(); - /****************** GetSubShape ******************/ - /**** md5 signature: b2411a4e8fd4710be5089ebd533dcd9a ****/ + /****** BRepExtrema_SelfIntersection::GetSubShape ******/ + /****** md5 signature: b2411a4e8fd4710be5089ebd533dcd9a ******/ %feature("compactdefaultargs") GetSubShape; - %feature("autodoc", "Returns sub-shape from the shape for the given index (started from 0). - + %feature("autodoc", " Parameters ---------- theID: int -Returns +Return ------- TopoDS_Face + +Description +----------- +Returns sub-shape from the shape for the given index (started from 0). ") GetSubShape; const TopoDS_Face GetSubShape(const Standard_Integer theID); - /****************** IsDone ******************/ - /**** md5 signature: e385477ab1bec806154173d4a550fd68 ****/ + /****** BRepExtrema_SelfIntersection::IsDone ******/ + /****** md5 signature: e385477ab1bec806154173d4a550fd68 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "True if the detection is completed. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +True if the detection is completed. ") IsDone; Standard_Boolean IsDone(); - /****************** LoadShape ******************/ - /**** md5 signature: fd6ee24742b56495b9bca6600e71814f ****/ + /****** BRepExtrema_SelfIntersection::LoadShape ******/ + /****** md5 signature: fd6ee24742b56495b9bca6600e71814f ******/ %feature("compactdefaultargs") LoadShape; - %feature("autodoc", "Loads shape for detection of self-intersections. - + %feature("autodoc", " Parameters ---------- theShape: TopoDS_Shape -Returns +Return ------- bool + +Description +----------- +Loads shape for detection of self-intersections. ") LoadShape; Standard_Boolean LoadShape(const TopoDS_Shape & theShape); - /****************** OverlapElements ******************/ - /**** md5 signature: f356c9dc69a122d5e32fcee210f9c533 ****/ + /****** BRepExtrema_SelfIntersection::OverlapElements ******/ + /****** md5 signature: f356c9dc69a122d5e32fcee210f9c533 ******/ %feature("compactdefaultargs") OverlapElements; - %feature("autodoc", "Returns set of ids of overlapped sub-shapes (started from 0). - -Returns + %feature("autodoc", "Return ------- BRepExtrema_MapOfIntegerPackedMapOfInteger + +Description +----------- +Returns set of IDs of overlapped sub-shapes (started from 0). ") OverlapElements; const BRepExtrema_MapOfIntegerPackedMapOfInteger & OverlapElements(); - /****************** Perform ******************/ - /**** md5 signature: c04b01412cba7220c024b5eb4532697f ****/ + /****** BRepExtrema_SelfIntersection::Perform ******/ + /****** md5 signature: c04b01412cba7220c024b5eb4532697f ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Performs detection of self-intersections. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Performs detection of self-intersections. ") Perform; void Perform(); - /****************** SetTolerance ******************/ - /**** md5 signature: 2df6ca87a12fc10518568e45d2ce38db ****/ + /****** BRepExtrema_SelfIntersection::SetTolerance ******/ + /****** md5 signature: 2df6ca87a12fc10518568e45d2ce38db ******/ %feature("compactdefaultargs") SetTolerance; - %feature("autodoc", "Sets tolerance value used for self-intersection test. - + %feature("autodoc", " Parameters ---------- theTolerance: float -Returns +Return ------- None + +Description +----------- +Sets tolerance value used for self-intersection test. ") SetTolerance; void SetTolerance(const Standard_Real theTolerance); - /****************** Tolerance ******************/ - /**** md5 signature: 327dcbe220ae5ba3e0203f32c61c38db ****/ + /****** BRepExtrema_SelfIntersection::Tolerance ******/ + /****** md5 signature: 327dcbe220ae5ba3e0203f32c61c38db ******/ %feature("compactdefaultargs") Tolerance; - %feature("autodoc", "Returns tolerance value used for self-intersection test. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns tolerance value used for self-intersection test. ") Tolerance; Standard_Real Tolerance(); @@ -2319,3 +3142,18 @@ class BRepExtrema_OverlapTool: /* class aliases */ %pythoncode { } +/* deprecated methods */ +%pythoncode { +@deprecated +def BRepExtrema_Poly_Distance(*args): + return BRepExtrema_Poly.Distance(*args) + +@deprecated +def BRepExtrema_ProximityDistTool_IsEdgeOnBorder(*args): + return BRepExtrema_ProximityDistTool.IsEdgeOnBorder(*args) + +@deprecated +def BRepExtrema_ProximityDistTool_IsNodeOnBorder(*args): + return BRepExtrema_ProximityDistTool.IsNodeOnBorder(*args) + +} diff --git a/src/SWIG_files/wrapper/BRepExtrema.pyi b/src/SWIG_files/wrapper/BRepExtrema.pyi index ddbbe7cdf..91e07e4c5 100644 --- a/src/SWIG_files/wrapper/BRepExtrema.pyi +++ b/src/SWIG_files/wrapper/BRepExtrema.pyi @@ -5,231 +5,356 @@ from OCC.Core.Standard import * from OCC.Core.NCollection import * from OCC.Core.TopoDS import * from OCC.Core.Extrema import * +from OCC.Core.Message import * from OCC.Core.gp import * from OCC.Core.Bnd import * from OCC.Core.BVH import * +from OCC.Core.Poly import * -#the following typedef cannot be wrapped as is -BRepExtrema_ShapeList = NewType('BRepExtrema_ShapeList', Any) +# the following typedef cannot be wrapped as is +BRepExtrema_ShapeList = NewType("BRepExtrema_ShapeList", Any) class BRepExtrema_SeqOfSolution: - def __init__(self) -> None: ... - def __len__(self) -> int: ... - def Size(self) -> int: ... + def Assign(self, theItem: BRepExtrema_SolutionElem) -> BRepExtrema_SolutionElem: ... def Clear(self) -> None: ... def First(self) -> BRepExtrema_SolutionElem: ... + def IsDeletables(self) -> bool: ... + def IsEmpty(self) -> bool: ... def Last(self) -> BRepExtrema_SolutionElem: ... def Length(self) -> int: ... - def Append(self, theItem: BRepExtrema_SolutionElem) -> BRepExtrema_SolutionElem: ... - def Prepend(self, theItem: BRepExtrema_SolutionElem) -> BRepExtrema_SolutionElem: ... + def Lower(self) -> int: ... + def Prepend( + self, theItem: BRepExtrema_SolutionElem + ) -> BRepExtrema_SolutionElem: ... def RemoveFirst(self) -> None: ... def Reverse(self) -> None: ... - def Value(self, theIndex: int) -> BRepExtrema_SolutionElem: ... def SetValue(self, theIndex: int, theValue: BRepExtrema_SolutionElem) -> None: ... + def Size(self) -> int: ... + def UpdateUpperBound(self, int) -> None: ... + def UpdateLowerBound(self, int) -> None: ... + def Upper(self) -> int: ... + def Value(self, theIndex: int) -> BRepExtrema_SolutionElem: ... + def __init__(self) -> None: ... + def __len__(self) -> int: ... class BRepExtrema_SupportType(IntEnum): - BRepExtrema_IsVertex: int = ... - BRepExtrema_IsOnEdge: int = ... - BRepExtrema_IsInFace: int = ... + BRepExtrema_IsVertex: int = ... + BRepExtrema_IsOnEdge: int = ... + BRepExtrema_IsInFace: int = ... + BRepExtrema_IsVertex = BRepExtrema_SupportType.BRepExtrema_IsVertex BRepExtrema_IsOnEdge = BRepExtrema_SupportType.BRepExtrema_IsOnEdge BRepExtrema_IsInFace = BRepExtrema_SupportType.BRepExtrema_IsInFace class BRepExtrema_DistShapeShape: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, Shape1: TopoDS_Shape, Shape2: TopoDS_Shape, F: Optional[Extrema_ExtFlag] = Extrema_ExtFlag_MINMAX, A: Optional[Extrema_ExtAlgo] = Extrema_ExtAlgo_Grad) -> None: ... - @overload - def __init__(self, Shape1: TopoDS_Shape, Shape2: TopoDS_Shape, theDeflection: float, F: Optional[Extrema_ExtFlag] = Extrema_ExtFlag_MINMAX, A: Optional[Extrema_ExtAlgo] = Extrema_ExtAlgo_Grad) -> None: ... - def InnerSolution(self) -> bool: ... - def IsDone(self) -> bool: ... - def LoadS1(self, Shape1: TopoDS_Shape) -> None: ... - def LoadS2(self, Shape1: TopoDS_Shape) -> None: ... - def NbSolution(self) -> int: ... - def ParOnEdgeS1(self, N: int) -> float: ... - def ParOnEdgeS2(self, N: int) -> float: ... - def ParOnFaceS1(self, N: int) -> Tuple[float, float]: ... - def ParOnFaceS2(self, N: int) -> Tuple[float, float]: ... - def Perform(self) -> bool: ... - def PointOnShape1(self, N: int) -> gp_Pnt: ... - def PointOnShape2(self, N: int) -> gp_Pnt: ... - def SetAlgo(self, A: Extrema_ExtAlgo) -> None: ... - def SetDeflection(self, theDeflection: float) -> None: ... - def SetFlag(self, F: Extrema_ExtFlag) -> None: ... - def SupportOnShape1(self, N: int) -> TopoDS_Shape: ... - def SupportOnShape2(self, N: int) -> TopoDS_Shape: ... - def SupportTypeShape1(self, N: int) -> BRepExtrema_SupportType: ... - def SupportTypeShape2(self, N: int) -> BRepExtrema_SupportType: ... - def Value(self) -> float: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__( + self, + Shape1: TopoDS_Shape, + Shape2: TopoDS_Shape, + F: Optional[Extrema_ExtFlag] = Extrema_ExtFlag_MINMAX, + A: Optional[Extrema_ExtAlgo] = Extrema_ExtAlgo_Grad, + theRange: Optional[Message_ProgressRange] = Message_ProgressRange(), + ) -> None: ... + @overload + def __init__( + self, + Shape1: TopoDS_Shape, + Shape2: TopoDS_Shape, + theDeflection: float, + F: Optional[Extrema_ExtFlag] = Extrema_ExtFlag_MINMAX, + A: Optional[Extrema_ExtAlgo] = Extrema_ExtAlgo_Grad, + theRange: Optional[Message_ProgressRange] = Message_ProgressRange(), + ) -> None: ... + def Dump(self) -> str: ... + def InnerSolution(self) -> bool: ... + def IsDone(self) -> bool: ... + def IsMultiThread(self) -> bool: ... + def LoadS1(self, Shape1: TopoDS_Shape) -> None: ... + def LoadS2(self, Shape1: TopoDS_Shape) -> None: ... + def NbSolution(self) -> int: ... + def ParOnEdgeS1(self, N: int) -> float: ... + def ParOnEdgeS2(self, N: int) -> float: ... + def ParOnFaceS1(self, N: int) -> Tuple[float, float]: ... + def ParOnFaceS2(self, N: int) -> Tuple[float, float]: ... + def Perform( + self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange() + ) -> bool: ... + def PointOnShape1(self, N: int) -> gp_Pnt: ... + def PointOnShape2(self, N: int) -> gp_Pnt: ... + def SetAlgo(self, A: Extrema_ExtAlgo) -> None: ... + def SetDeflection(self, theDeflection: float) -> None: ... + def SetFlag(self, F: Extrema_ExtFlag) -> None: ... + def SetMultiThread(self, theIsMultiThread: bool) -> None: ... + def SupportOnShape1(self, N: int) -> TopoDS_Shape: ... + def SupportOnShape2(self, N: int) -> TopoDS_Shape: ... + def SupportTypeShape1(self, N: int) -> BRepExtrema_SupportType: ... + def SupportTypeShape2(self, N: int) -> BRepExtrema_SupportType: ... + def Value(self) -> float: ... class BRepExtrema_DistanceSS: - @overload - def __init__(self, S1: TopoDS_Shape, S2: TopoDS_Shape, B1: Bnd_Box, B2: Bnd_Box, DstRef: float, F: Optional[Extrema_ExtFlag] = Extrema_ExtFlag_MINMAX, A: Optional[Extrema_ExtAlgo] = Extrema_ExtAlgo_Grad) -> None: ... - @overload - def __init__(self, S1: TopoDS_Shape, S2: TopoDS_Shape, B1: Bnd_Box, B2: Bnd_Box, DstRef: float, aDeflection: float, F: Optional[Extrema_ExtFlag] = Extrema_ExtFlag_MINMAX, A: Optional[Extrema_ExtAlgo] = Extrema_ExtAlgo_Grad) -> None: ... - def DistValue(self) -> float: ... - def IsDone(self) -> bool: ... - def Seq1Value(self) -> BRepExtrema_SeqOfSolution: ... - def Seq2Value(self) -> BRepExtrema_SeqOfSolution: ... - def SetAlgo(self, A: Extrema_ExtAlgo) -> None: ... - def SetFlag(self, F: Extrema_ExtFlag) -> None: ... + def __init__( + self, + theS1: TopoDS_Shape, + theS2: TopoDS_Shape, + theBox1: Bnd_Box, + theBox2: Bnd_Box, + theDstRef: float, + theDeflection: Optional[float] = Precision.Confusion(), + theExtFlag: Optional[Extrema_ExtFlag] = Extrema_ExtFlag_MINMAX, + theExtAlgo: Optional[Extrema_ExtAlgo] = Extrema_ExtAlgo_Grad, + ) -> None: ... + def DistValue(self) -> float: ... + def IsDone(self) -> bool: ... + def Seq1Value(self) -> BRepExtrema_SeqOfSolution: ... + def Seq2Value(self) -> BRepExtrema_SeqOfSolution: ... class BRepExtrema_ElementFilter: - pass + pass class BRepExtrema_ExtCC: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, E1: TopoDS_Edge, E2: TopoDS_Edge) -> None: ... - def Initialize(self, E2: TopoDS_Edge) -> None: ... - def IsDone(self) -> bool: ... - def IsParallel(self) -> bool: ... - def NbExt(self) -> int: ... - def ParameterOnE1(self, N: int) -> float: ... - def ParameterOnE2(self, N: int) -> float: ... - def Perform(self, E1: TopoDS_Edge) -> None: ... - def PointOnE1(self, N: int) -> gp_Pnt: ... - def PointOnE2(self, N: int) -> gp_Pnt: ... - def SquareDistance(self, N: int) -> float: ... - def TrimmedSquareDistances(self, P11: gp_Pnt, P12: gp_Pnt, P21: gp_Pnt, P22: gp_Pnt) -> Tuple[float, float, float, float]: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, E1: TopoDS_Edge, E2: TopoDS_Edge) -> None: ... + def Initialize(self, E2: TopoDS_Edge) -> None: ... + def IsDone(self) -> bool: ... + def IsParallel(self) -> bool: ... + def NbExt(self) -> int: ... + def ParameterOnE1(self, N: int) -> float: ... + def ParameterOnE2(self, N: int) -> float: ... + def Perform(self, E1: TopoDS_Edge) -> None: ... + def PointOnE1(self, N: int) -> gp_Pnt: ... + def PointOnE2(self, N: int) -> gp_Pnt: ... + def SquareDistance(self, N: int) -> float: ... + def TrimmedSquareDistances( + self, P11: gp_Pnt, P12: gp_Pnt, P21: gp_Pnt, P22: gp_Pnt + ) -> Tuple[float, float, float, float]: ... class BRepExtrema_ExtCF: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, E: TopoDS_Edge, F: TopoDS_Face) -> None: ... - def Initialize(self, E: TopoDS_Edge, F: TopoDS_Face) -> None: ... - def IsDone(self) -> bool: ... - def IsParallel(self) -> bool: ... - def NbExt(self) -> int: ... - def ParameterOnEdge(self, N: int) -> float: ... - def ParameterOnFace(self, N: int) -> Tuple[float, float]: ... - def Perform(self, E: TopoDS_Edge, F: TopoDS_Face) -> None: ... - def PointOnEdge(self, N: int) -> gp_Pnt: ... - def PointOnFace(self, N: int) -> gp_Pnt: ... - def SquareDistance(self, N: int) -> float: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, E: TopoDS_Edge, F: TopoDS_Face) -> None: ... + def Initialize(self, E: TopoDS_Edge, F: TopoDS_Face) -> None: ... + def IsDone(self) -> bool: ... + def IsParallel(self) -> bool: ... + def NbExt(self) -> int: ... + def ParameterOnEdge(self, N: int) -> float: ... + def ParameterOnFace(self, N: int) -> Tuple[float, float]: ... + def Perform(self, E: TopoDS_Edge, F: TopoDS_Face) -> None: ... + def PointOnEdge(self, N: int) -> gp_Pnt: ... + def PointOnFace(self, N: int) -> gp_Pnt: ... + def SquareDistance(self, N: int) -> float: ... class BRepExtrema_ExtFF: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, F1: TopoDS_Face, F2: TopoDS_Face) -> None: ... - def Initialize(self, F2: TopoDS_Face) -> None: ... - def IsDone(self) -> bool: ... - def IsParallel(self) -> bool: ... - def NbExt(self) -> int: ... - def ParameterOnFace1(self, N: int) -> Tuple[float, float]: ... - def ParameterOnFace2(self, N: int) -> Tuple[float, float]: ... - def Perform(self, F1: TopoDS_Face, F2: TopoDS_Face) -> None: ... - def PointOnFace1(self, N: int) -> gp_Pnt: ... - def PointOnFace2(self, N: int) -> gp_Pnt: ... - def SquareDistance(self, N: int) -> float: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, F1: TopoDS_Face, F2: TopoDS_Face) -> None: ... + def Initialize(self, F2: TopoDS_Face) -> None: ... + def IsDone(self) -> bool: ... + def IsParallel(self) -> bool: ... + def NbExt(self) -> int: ... + def ParameterOnFace1(self, N: int) -> Tuple[float, float]: ... + def ParameterOnFace2(self, N: int) -> Tuple[float, float]: ... + def Perform(self, F1: TopoDS_Face, F2: TopoDS_Face) -> None: ... + def PointOnFace1(self, N: int) -> gp_Pnt: ... + def PointOnFace2(self, N: int) -> gp_Pnt: ... + def SquareDistance(self, N: int) -> float: ... class BRepExtrema_ExtPC: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, V: TopoDS_Vertex, E: TopoDS_Edge) -> None: ... - def Initialize(self, E: TopoDS_Edge) -> None: ... - def IsDone(self) -> bool: ... - def IsMin(self, N: int) -> bool: ... - def NbExt(self) -> int: ... - def Parameter(self, N: int) -> float: ... - def Perform(self, V: TopoDS_Vertex) -> None: ... - def Point(self, N: int) -> gp_Pnt: ... - def SquareDistance(self, N: int) -> float: ... - def TrimmedSquareDistances(self, pnt1: gp_Pnt, pnt2: gp_Pnt) -> Tuple[float, float]: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, V: TopoDS_Vertex, E: TopoDS_Edge) -> None: ... + def Initialize(self, E: TopoDS_Edge) -> None: ... + def IsDone(self) -> bool: ... + def IsMin(self, N: int) -> bool: ... + def NbExt(self) -> int: ... + def Parameter(self, N: int) -> float: ... + def Perform(self, V: TopoDS_Vertex) -> None: ... + def Point(self, N: int) -> gp_Pnt: ... + def SquareDistance(self, N: int) -> float: ... + def TrimmedSquareDistances( + self, pnt1: gp_Pnt, pnt2: gp_Pnt + ) -> Tuple[float, float]: ... class BRepExtrema_ExtPF: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, TheVertex: TopoDS_Vertex, TheFace: TopoDS_Face, TheFlag: Optional[Extrema_ExtFlag] = Extrema_ExtFlag_MINMAX, TheAlgo: Optional[Extrema_ExtAlgo] = Extrema_ExtAlgo_Grad) -> None: ... - def Initialize(self, TheFace: TopoDS_Face, TheFlag: Optional[Extrema_ExtFlag] = Extrema_ExtFlag_MINMAX, TheAlgo: Optional[Extrema_ExtAlgo] = Extrema_ExtAlgo_Grad) -> None: ... - def IsDone(self) -> bool: ... - def NbExt(self) -> int: ... - def Parameter(self, N: int) -> Tuple[float, float]: ... - def Perform(self, TheVertex: TopoDS_Vertex, TheFace: TopoDS_Face) -> None: ... - def Point(self, N: int) -> gp_Pnt: ... - def SetAlgo(self, A: Extrema_ExtAlgo) -> None: ... - def SetFlag(self, F: Extrema_ExtFlag) -> None: ... - def SquareDistance(self, N: int) -> float: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__( + self, + TheVertex: TopoDS_Vertex, + TheFace: TopoDS_Face, + TheFlag: Optional[Extrema_ExtFlag] = Extrema_ExtFlag_MINMAX, + TheAlgo: Optional[Extrema_ExtAlgo] = Extrema_ExtAlgo_Grad, + ) -> None: ... + def Initialize( + self, + TheFace: TopoDS_Face, + TheFlag: Optional[Extrema_ExtFlag] = Extrema_ExtFlag_MINMAX, + TheAlgo: Optional[Extrema_ExtAlgo] = Extrema_ExtAlgo_Grad, + ) -> None: ... + def IsDone(self) -> bool: ... + def NbExt(self) -> int: ... + def Parameter(self, N: int) -> Tuple[float, float]: ... + def Perform(self, TheVertex: TopoDS_Vertex, TheFace: TopoDS_Face) -> None: ... + def Point(self, N: int) -> gp_Pnt: ... + def SetAlgo(self, A: Extrema_ExtAlgo) -> None: ... + def SetFlag(self, F: Extrema_ExtFlag) -> None: ... + def SquareDistance(self, N: int) -> float: ... class BRepExtrema_Poly: - @staticmethod - def Distance(S1: TopoDS_Shape, S2: TopoDS_Shape, P1: gp_Pnt, P2: gp_Pnt) -> Tuple[bool, float]: ... + @staticmethod + def Distance( + S1: TopoDS_Shape, S2: TopoDS_Shape, P1: gp_Pnt, P2: gp_Pnt + ) -> Tuple[bool, float]: ... + +class BRepExtrema_ProximityDistTool: + @overload + def __init__(self) -> None: ... + @staticmethod + def IsEdgeOnBorder( + theTrgIdx: int, + theFirstEdgeNodeIdx: int, + theSecondEdgeNodeIdx: int, + theTr: Poly_Triangulation, + ) -> bool: ... + @staticmethod + def IsNodeOnBorder(theNodeIdx: int, theTr: Poly_Triangulation) -> bool: ... + def LoadShapeLists( + self, theShapeList1: BRepExtrema_ShapeList, theShapeList2: BRepExtrema_ShapeList + ) -> None: ... + def LoadTriangleSets( + self, theSet1: BRepExtrema_TriangleSet, theSet2: BRepExtrema_TriangleSet + ) -> None: ... + def Perform(self) -> None: ... + def ProximityDistance(self) -> float: ... + def ProximityPoints(self, thePoint1: BVH_Vec3d, thePoint2: BVH_Vec3d) -> None: ... + def RejectNode( + self, theCornerMin: BVH_Vec3d, theCornerMax: BVH_Vec3d + ) -> Tuple[bool, float]: ... class BRepExtrema_ShapeProximity: - @overload - def __init__(self, theTolerance: Optional[float] = 0.0) -> None: ... - @overload - def __init__(self, theShape1: TopoDS_Shape, theShape2: TopoDS_Shape, theTolerance: Optional[float] = 0.0) -> None: ... - def ElementSet1(self) -> BRepExtrema_TriangleSet: ... - def ElementSet2(self) -> BRepExtrema_TriangleSet: ... - def GetSubShape1(self, theID: int) -> TopoDS_Face: ... - def GetSubShape2(self, theID: int) -> TopoDS_Face: ... - def IsDone(self) -> bool: ... - def LoadShape1(self, theShape1: TopoDS_Shape) -> bool: ... - def LoadShape2(self, theShape2: TopoDS_Shape) -> bool: ... - def OverlapSubShapes1(self) -> BRepExtrema_MapOfIntegerPackedMapOfInteger: ... - def OverlapSubShapes2(self) -> BRepExtrema_MapOfIntegerPackedMapOfInteger: ... - def Perform(self) -> None: ... - def SetTolerance(self, theTolerance: float) -> None: ... - def Tolerance(self) -> float: ... + @overload + def __init__( + self, theTolerance: Optional[float] = Precision.Infinite() + ) -> None: ... + @overload + def __init__( + self, + theShape1: TopoDS_Shape, + theShape2: TopoDS_Shape, + theTolerance: Optional[float] = Precision.Infinite(), + ) -> None: ... + def ElementSet1(self) -> BRepExtrema_TriangleSet: ... + def ElementSet2(self) -> BRepExtrema_TriangleSet: ... + def GetSubShape1(self, theID: int) -> TopoDS_Shape: ... + def GetSubShape2(self, theID: int) -> TopoDS_Shape: ... + def IsDone(self) -> bool: ... + def LoadShape1(self, theShape1: TopoDS_Shape) -> bool: ... + def LoadShape2(self, theShape2: TopoDS_Shape) -> bool: ... + def OverlapSubShapes1(self) -> BRepExtrema_MapOfIntegerPackedMapOfInteger: ... + def OverlapSubShapes2(self) -> BRepExtrema_MapOfIntegerPackedMapOfInteger: ... + def Perform(self) -> None: ... + def ProxPntStatus1(self) -> False: ... + def ProxPntStatus2(self) -> False: ... + def Proximity(self) -> float: ... + def ProximityPoint1(self) -> gp_Pnt: ... + def ProximityPoint2(self) -> gp_Pnt: ... + def SetNbSamples1(self, theNbSamples: int) -> None: ... + def SetNbSamples2(self, theNbSamples: int) -> None: ... + def SetTolerance(self, theTolerance: float) -> None: ... + def Tolerance(self) -> float: ... class BRepExtrema_SolutionElem: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theDist: float, thePoint: gp_Pnt, theSolType: BRepExtrema_SupportType, theVertex: TopoDS_Vertex) -> None: ... - @overload - def __init__(self, theDist: float, thePoint: gp_Pnt, theSolType: BRepExtrema_SupportType, theEdge: TopoDS_Edge, theParam: float) -> None: ... - @overload - def __init__(self, theDist: float, thePoint: gp_Pnt, theSolType: BRepExtrema_SupportType, theFace: TopoDS_Face, theU: float, theV: float) -> None: ... - def Dist(self) -> float: ... - def Edge(self) -> TopoDS_Edge: ... - def EdgeParameter(self) -> float: ... - def Face(self) -> TopoDS_Face: ... - def FaceParameter(self) -> Tuple[float, float]: ... - def Point(self) -> gp_Pnt: ... - def SupportKind(self) -> BRepExtrema_SupportType: ... - def Vertex(self) -> TopoDS_Vertex: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__( + self, + theDist: float, + thePoint: gp_Pnt, + theSolType: BRepExtrema_SupportType, + theVertex: TopoDS_Vertex, + ) -> None: ... + @overload + def __init__( + self, + theDist: float, + thePoint: gp_Pnt, + theSolType: BRepExtrema_SupportType, + theEdge: TopoDS_Edge, + theParam: float, + ) -> None: ... + @overload + def __init__( + self, + theDist: float, + thePoint: gp_Pnt, + theSolType: BRepExtrema_SupportType, + theFace: TopoDS_Face, + theU: float, + theV: float, + ) -> None: ... + def Dist(self) -> float: ... + def Edge(self) -> TopoDS_Edge: ... + def EdgeParameter(self) -> float: ... + def Face(self) -> TopoDS_Face: ... + def FaceParameter(self) -> Tuple[float, float]: ... + def Point(self) -> gp_Pnt: ... + def SupportKind(self) -> BRepExtrema_SupportType: ... + def Vertex(self) -> TopoDS_Vertex: ... class BRepExtrema_TriangleSet(BVH_PrimitiveSet3d): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theFaces: BRepExtrema_ShapeList) -> None: ... - def Box(self, theIndex: int) -> False: ... - def Center(self, theIndex: int, theAxis: int) -> float: ... - def Clear(self) -> None: ... - def GetFaceID(self, theIndex: int) -> int: ... - def GetVertices(self, theIndex: int, theVertex1: BVH_Vec3d, theVertex2: BVH_Vec3d, theVertex3: BVH_Vec3d) -> None: ... - def Init(self, theFaces: BRepExtrema_ShapeList) -> bool: ... - def Size(self) -> int: ... - def Swap(self, theIndex1: int, theIndex2: int) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theFaces: BRepExtrema_ShapeList) -> None: ... + def Box(self, theIndex: int) -> False: ... + def Center(self, theIndex: int, theAxis: int) -> float: ... + def Clear(self) -> None: ... + def GetFaceID(self, theIndex: int) -> int: ... + def GetShapeIDOfVtx(self, theIndex: int) -> int: ... + def GetTrgIdxInShape(self, theIndex: int) -> int: ... + @overload + def GetVertices(self) -> BVH_Array3d: ... + @overload + def GetVertices( + self, + theIndex: int, + theVertex1: BVH_Vec3d, + theVertex2: BVH_Vec3d, + theVertex3: BVH_Vec3d, + ) -> None: ... + def GetVtxIdxInShape(self, theIndex: int) -> int: ... + def Init(self, theShapes: BRepExtrema_ShapeList) -> bool: ... + def Size(self) -> int: ... + def Swap(self, theIndex1: int, theIndex2: int) -> None: ... class BRepExtrema_SelfIntersection(BRepExtrema_ElementFilter): - @overload - def __init__(self, theTolerance: Optional[float] = 0.0) -> None: ... - @overload - def __init__(self, theShape: TopoDS_Shape, theTolerance: Optional[float] = 0.0) -> None: ... - def ElementSet(self) -> BRepExtrema_TriangleSet: ... - def GetSubShape(self, theID: int) -> TopoDS_Face: ... - def IsDone(self) -> bool: ... - def LoadShape(self, theShape: TopoDS_Shape) -> bool: ... - def OverlapElements(self) -> BRepExtrema_MapOfIntegerPackedMapOfInteger: ... - def Perform(self) -> None: ... - def SetTolerance(self, theTolerance: float) -> None: ... - def Tolerance(self) -> float: ... - -#classnotwrapped + @overload + def __init__(self, theTolerance: Optional[float] = 0.0) -> None: ... + @overload + def __init__( + self, theShape: TopoDS_Shape, theTolerance: Optional[float] = 0.0 + ) -> None: ... + def ElementSet(self) -> BRepExtrema_TriangleSet: ... + def GetSubShape(self, theID: int) -> TopoDS_Face: ... + def IsDone(self) -> bool: ... + def LoadShape(self, theShape: TopoDS_Shape) -> bool: ... + def OverlapElements(self) -> BRepExtrema_MapOfIntegerPackedMapOfInteger: ... + def Perform(self) -> None: ... + def SetTolerance(self, theTolerance: float) -> None: ... + def Tolerance(self) -> float: ... + +# classnotwrapped class BRepExtrema_OverlapTool: ... # harray1 classes # harray2 classes # hsequence classes - -BRepExtrema_Poly_Distance = BRepExtrema_Poly.Distance diff --git a/src/SWIG_files/wrapper/BRepFeat.i b/src/SWIG_files/wrapper/BRepFeat.i index 0381c01da..25e4efd06 100644 --- a/src/SWIG_files/wrapper/BRepFeat.i +++ b/src/SWIG_files/wrapper/BRepFeat.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPFEATDOCSTRING "BRepFeat module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepfeat.html" +https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_brepfeat.html" %enddef %module (package="OCC.Core", docstring=BREPFEATDOCSTRING) BRepFeat @@ -31,8 +31,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepfeat.html" %include ../common/CommonIncludes.i %include ../common/ExceptionCatcher.i %include ../common/FunctionTransformers.i +%include ../common/EnumTemplates.i %include ../common/Operators.i %include ../common/OccHandle.i +%include ../common/IOStream.i +%include ../common/ArrayMacros.i %{ @@ -48,6 +51,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepfeat.html" #include #include #include +#include #include #include #include @@ -71,6 +75,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepfeat.html" #include #include #include +#include #include #include #include @@ -85,6 +90,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepfeat.html" %import TopAbs.i %import BOPAlgo.i %import TopTools.i +%import Message.i %import BRepBuilderAPI.i %import TColGeom.i %import LocOpe.i @@ -95,6 +101,14 @@ from OCC.Core.Exception import * }; /* public enums */ +enum BRepFeat_PerfSelection { + BRepFeat_NoSelection = 0, + BRepFeat_SelectionFU = 1, + BRepFeat_SelectionU = 2, + BRepFeat_SelectionSh = 3, + BRepFeat_SelectionShU = 4, +}; + enum BRepFeat_Status { BRepFeat_NoError = 0, BRepFeat_InvalidPlacement = 1, @@ -132,19 +146,23 @@ enum BRepFeat_StatusError { BRepFeat_NullToolU = 27, }; -enum BRepFeat_PerfSelection { - BRepFeat_NoSelection = 0, - BRepFeat_SelectionFU = 1, - BRepFeat_SelectionU = 2, - BRepFeat_SelectionSh = 3, - BRepFeat_SelectionShU = 4, -}; - /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { +class BRepFeat_PerfSelection(IntEnum): + BRepFeat_NoSelection = 0 + BRepFeat_SelectionFU = 1 + BRepFeat_SelectionU = 2 + BRepFeat_SelectionSh = 3 + BRepFeat_SelectionShU = 4 +BRepFeat_NoSelection = BRepFeat_PerfSelection.BRepFeat_NoSelection +BRepFeat_SelectionFU = BRepFeat_PerfSelection.BRepFeat_SelectionFU +BRepFeat_SelectionU = BRepFeat_PerfSelection.BRepFeat_SelectionU +BRepFeat_SelectionSh = BRepFeat_PerfSelection.BRepFeat_SelectionSh +BRepFeat_SelectionShU = BRepFeat_PerfSelection.BRepFeat_SelectionShU + class BRepFeat_Status(IntEnum): BRepFeat_NoError = 0 BRepFeat_InvalidPlacement = 1 @@ -210,18 +228,6 @@ BRepFeat_NotYetImplemented = BRepFeat_StatusError.BRepFeat_NotYetImplemented BRepFeat_NullRealTool = BRepFeat_StatusError.BRepFeat_NullRealTool BRepFeat_NullToolF = BRepFeat_StatusError.BRepFeat_NullToolF BRepFeat_NullToolU = BRepFeat_StatusError.BRepFeat_NullToolU - -class BRepFeat_PerfSelection(IntEnum): - BRepFeat_NoSelection = 0 - BRepFeat_SelectionFU = 1 - BRepFeat_SelectionU = 2 - BRepFeat_SelectionSh = 3 - BRepFeat_SelectionShU = 4 -BRepFeat_NoSelection = BRepFeat_PerfSelection.BRepFeat_NoSelection -BRepFeat_SelectionFU = BRepFeat_PerfSelection.BRepFeat_SelectionFU -BRepFeat_SelectionU = BRepFeat_PerfSelection.BRepFeat_SelectionU -BRepFeat_SelectionSh = BRepFeat_PerfSelection.BRepFeat_SelectionSh -BRepFeat_SelectionShU = BRepFeat_PerfSelection.BRepFeat_SelectionShU }; /* end python proxy for enums */ @@ -240,122 +246,160 @@ BRepFeat_SelectionShU = BRepFeat_PerfSelection.BRepFeat_SelectionShU %rename(brepfeat) BRepFeat; class BRepFeat { public: - /****************** Barycenter ******************/ - /**** md5 signature: 95775d579f12e55fb164530ec70906cd ****/ + /****** BRepFeat::Barycenter ******/ + /****** md5 signature: 95775d579f12e55fb164530ec70906cd ******/ %feature("compactdefaultargs") Barycenter; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape Pt: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") Barycenter; static void Barycenter(const TopoDS_Shape & S, gp_Pnt & Pt); - /****************** FaceUntil ******************/ - /**** md5 signature: 309ff593b2beab1849c6368b9ce43f4d ****/ + /****** BRepFeat::FaceUntil ******/ + /****** md5 signature: 309ff593b2beab1849c6368b9ce43f4d ******/ %feature("compactdefaultargs") FaceUntil; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape F: TopoDS_Face -Returns +Return ------- None + +Description +----------- +No available documentation. ") FaceUntil; static void FaceUntil(const TopoDS_Shape & S, TopoDS_Face & F); - /****************** IsInside ******************/ - /**** md5 signature: 63eaa8339348f969538073e9ce46d5b2 ****/ + /****** BRepFeat::IsInside ******/ + /****** md5 signature: 63eaa8339348f969538073e9ce46d5b2 ******/ %feature("compactdefaultargs") IsInside; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- F1: TopoDS_Face F2: TopoDS_Face -Returns +Return ------- bool + +Description +----------- +No available documentation. ") IsInside; static Standard_Boolean IsInside(const TopoDS_Face & F1, const TopoDS_Face & F2); - /****************** ParametricBarycenter ******************/ - /**** md5 signature: cdd91b88ac72b66970d2700500d4e3cf ****/ + /****** BRepFeat::ParametricBarycenter ******/ + /****** md5 signature: cdd91b88ac72b66970d2700500d4e3cf ******/ %feature("compactdefaultargs") ParametricBarycenter; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape C: Geom_Curve -Returns +Return ------- float + +Description +----------- +No available documentation. ") ParametricBarycenter; static Standard_Real ParametricBarycenter(const TopoDS_Shape & S, const opencascade::handle & C); - /****************** ParametricMinMax ******************/ - /**** md5 signature: 56d330cb4df86fc5c903ada4a5743fa7 ****/ + /****** BRepFeat::ParametricMinMax ******/ + /****** md5 signature: 56d330cb4df86fc5c903ada4a5743fa7 ******/ %feature("compactdefaultargs") ParametricMinMax; - %feature("autodoc", "Ori = true taking account the orientation. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape C: Geom_Curve -Ori: bool,optional - default value is Standard_False +Ori: bool (optional, default to Standard_False) -Returns +Return ------- prmin: float prmax: float prbmin: float prbmax: float flag: bool + +Description +----------- +Ori = True taking account the orientation. ") 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); - /****************** SampleEdges ******************/ - /**** md5 signature: f1154ae22c369e9497c31a5a83612489 ****/ - %feature("compactdefaultargs") SampleEdges; - %feature("autodoc", "No available documentation. + /****** BRepFeat::Print ******/ + /****** md5 signature: a6852c8c0afb9e1a2f070d2ece4eddfa ******/ + %feature("compactdefaultargs") Print; + %feature("autodoc", " +Parameters +---------- +SE: BRepFeat_StatusError + +Return +------- +S: Standard_OStream + +Description +----------- +Prints the Error description of the State as a String on the Stream and returns . +") Print; + static Standard_OStream & Print(const BRepFeat_StatusError SE, std::ostream &OutValue); + /****** BRepFeat::SampleEdges ******/ + /****** md5 signature: f1154ae22c369e9497c31a5a83612489 ******/ + %feature("compactdefaultargs") SampleEdges; + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape Pt: TColgp_SequenceOfPnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") SampleEdges; static void SampleEdges(const TopoDS_Shape & S, TColgp_SequenceOfPnt & Pt); - /****************** Tool ******************/ - /**** md5 signature: e034f31a8da64d381b1bc24eb325043a ****/ + /****** BRepFeat::Tool ******/ + /****** md5 signature: e034f31a8da64d381b1bc24eb325043a ******/ %feature("compactdefaultargs") Tool; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- SRef: TopoDS_Shape Fac: TopoDS_Face Orf: TopAbs_Orientation -Returns +Return ------- TopoDS_Solid + +Description +----------- +No available documentation. ") Tool; static TopoDS_Solid Tool(const TopoDS_Shape & SRef, const TopoDS_Face & Fac, const TopAbs_Orientation Orf); @@ -377,158 +421,190 @@ TopoDS_Solid *************************/ class BRepFeat_Builder : public BOPAlgo_BOP { public: - /****************** BRepFeat_Builder ******************/ - /**** md5 signature: fd1a198e0751532f2ed9562148204d5d ****/ + /****** BRepFeat_Builder::BRepFeat_Builder ******/ + /****** md5 signature: fd1a198e0751532f2ed9562148204d5d ******/ %feature("compactdefaultargs") BRepFeat_Builder; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepFeat_Builder; BRepFeat_Builder(); - /****************** CheckSolidImages ******************/ - /**** md5 signature: 24eff084f084a5e8c3f207b7efcb0954 ****/ + /****** BRepFeat_Builder::CheckSolidImages ******/ + /****** md5 signature: 24eff084f084a5e8c3f207b7efcb0954 ******/ %feature("compactdefaultargs") CheckSolidImages; - %feature("autodoc", "Collects the images of the object, that contains in the images of the tool. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Collects the images of the object, that contains in the images of the tool. ") CheckSolidImages; void CheckSolidImages(); - /****************** Clear ******************/ - /**** md5 signature: f671931d03948860d0ead34afbe920aa ****/ + /****** BRepFeat_Builder::Clear ******/ + /****** md5 signature: f671931d03948860d0ead34afbe920aa ******/ %feature("compactdefaultargs") Clear; - %feature("autodoc", "Clears internal fields and arguments. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Clears internal fields and arguments. ") Clear; virtual void Clear(); - /****************** FillRemoved ******************/ - /**** md5 signature: 1be497a0c9953c13eff3543c81a2ff52 ****/ + /****** BRepFeat_Builder::FillRemoved ******/ + /****** md5 signature: 1be497a0c9953c13eff3543c81a2ff52 ******/ %feature("compactdefaultargs") FillRemoved; - %feature("autodoc", "Collects the removed parts of the tool into myremoved map. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Collects the removed parts of the tool into myRemoved map. ") FillRemoved; void FillRemoved(); - /****************** FillRemoved ******************/ - /**** md5 signature: c816ecc7c07dc50e02f8c73fac35badb ****/ + /****** BRepFeat_Builder::FillRemoved ******/ + /****** md5 signature: c816ecc7c07dc50e02f8c73fac35badb ******/ %feature("compactdefaultargs") FillRemoved; - %feature("autodoc", "Adds the shape s and its sub-shapes into myremoved map. - + %feature("autodoc", " Parameters ---------- theS: TopoDS_Shape theM: TopTools_MapOfShape -Returns +Return ------- None + +Description +----------- +Adds the shape S and its sub-shapes into myRemoved map. ") FillRemoved; void FillRemoved(const TopoDS_Shape & theS, TopTools_MapOfShape & theM); - /****************** Init ******************/ - /**** md5 signature: e8c5d8680206212eeeecebd0f84dc5c5 ****/ + /****** BRepFeat_Builder::Init ******/ + /****** md5 signature: e8c5d8680206212eeeecebd0f84dc5c5 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "Initialyzes the object of local boolean operation. - + %feature("autodoc", " Parameters ---------- theShape: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Initializes the object of local boolean operation. ") Init; void Init(const TopoDS_Shape & theShape); - /****************** Init ******************/ - /**** md5 signature: 740bc54164d5b82a500c1564e244a758 ****/ + /****** BRepFeat_Builder::Init ******/ + /****** md5 signature: 740bc54164d5b82a500c1564e244a758 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "Initialyzes the arguments of local boolean operation. - + %feature("autodoc", " Parameters ---------- theShape: TopoDS_Shape theTool: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Initializes the arguments of local boolean operation. ") Init; void Init(const TopoDS_Shape & theShape, const TopoDS_Shape & theTool); - /****************** KeepPart ******************/ - /**** md5 signature: dce8aa3a6ec2e00d552d5e6f6662cecf ****/ + /****** BRepFeat_Builder::KeepPart ******/ + /****** md5 signature: dce8aa3a6ec2e00d552d5e6f6662cecf ******/ %feature("compactdefaultargs") KeepPart; - %feature("autodoc", "Adds shape thes and all its sub-shapes into myshapes map. - + %feature("autodoc", " Parameters ---------- theS: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Adds shape theS and all its sub-shapes into myShapes map. ") KeepPart; void KeepPart(const TopoDS_Shape & theS); - /****************** KeepParts ******************/ - /**** md5 signature: 87c4cd5b43d1f9a01b576ee02f68e27d ****/ + /****** BRepFeat_Builder::KeepParts ******/ + /****** md5 signature: 87c4cd5b43d1f9a01b576ee02f68e27d ******/ %feature("compactdefaultargs") KeepParts; - %feature("autodoc", "Initialyzes parts of the tool for second step of algorithm. collects shapes and all sub-shapes into myshapes map. - + %feature("autodoc", " Parameters ---------- theIm: TopTools_ListOfShape -Returns +Return ------- None + +Description +----------- +Initializes parts of the tool for second step of algorithm. Collects shapes and all sub-shapes into myShapes map. ") KeepParts; void KeepParts(const TopTools_ListOfShape & theIm); - /****************** PartsOfTool ******************/ - /**** md5 signature: 9044d67ce0e79270261d1a8e7d2ef480 ****/ + /****** BRepFeat_Builder::PartsOfTool ******/ + /****** md5 signature: 9044d67ce0e79270261d1a8e7d2ef480 ******/ %feature("compactdefaultargs") PartsOfTool; - %feature("autodoc", "Collects parts of the tool. - + %feature("autodoc", " Parameters ---------- theLT: TopTools_ListOfShape -Returns +Return ------- None + +Description +----------- +Collects parts of the tool. ") PartsOfTool; void PartsOfTool(TopTools_ListOfShape & theLT); - /****************** PerformResult ******************/ - /**** md5 signature: 3e3cbe6224ffbb0eb5a7338673569f7a ****/ + /****** BRepFeat_Builder::PerformResult ******/ + /****** md5 signature: ad968597e719efbcf84e11e3ce8b1439 ******/ %feature("compactdefaultargs") PerformResult; - %feature("autodoc", "Main function to build the result of the local operation required. + %feature("autodoc", " +Parameters +---------- +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- None + +Description +----------- +Main function to build the result of the local operation required. ") PerformResult; - void PerformResult(); + void PerformResult(const Message_ProgressRange & theRange = Message_ProgressRange()); - /****************** RebuildEdge ******************/ - /**** md5 signature: d7d24342c4440d5e9583f009a4320033 ****/ + /****** BRepFeat_Builder::RebuildEdge ******/ + /****** md5 signature: d7d24342c4440d5e9583f009a4320033 ******/ %feature("compactdefaultargs") RebuildEdge; - %feature("autodoc", "Rebuilds edges in accordance with the kept parts of the tool. - + %feature("autodoc", " Parameters ---------- theE: TopoDS_Shape @@ -536,51 +612,63 @@ theF: TopoDS_Face theME: TopTools_MapOfShape aLEIm: TopTools_ListOfShape -Returns +Return ------- None + +Description +----------- +Rebuilds edges in accordance with the kept parts of the tool. ") RebuildEdge; void RebuildEdge(const TopoDS_Shape & theE, const TopoDS_Face & theF, const TopTools_MapOfShape & theME, TopTools_ListOfShape & aLEIm); - /****************** RebuildFaces ******************/ - /**** md5 signature: a13f1f83a7ee0e9f7f7f1dfc7462f976 ****/ + /****** BRepFeat_Builder::RebuildFaces ******/ + /****** md5 signature: a13f1f83a7ee0e9f7f7f1dfc7462f976 ******/ %feature("compactdefaultargs") RebuildFaces; - %feature("autodoc", "Rebuilds faces in accordance with the kept parts of the tool. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Rebuilds faces in accordance with the kept parts of the tool. ") RebuildFaces; void RebuildFaces(); - /****************** SetOperation ******************/ - /**** md5 signature: 89876d5f4747477c7452d0cea9eed11b ****/ + /****** BRepFeat_Builder::SetOperation ******/ + /****** md5 signature: 89876d5f4747477c7452d0cea9eed11b ******/ %feature("compactdefaultargs") SetOperation; - %feature("autodoc", "Sets the operation of local boolean operation. if thefuse = 0 than the operation is cut, otherwise fuse. - + %feature("autodoc", " Parameters ---------- theFuse: int -Returns +Return ------- None + +Description +----------- +Sets the operation of local boolean operation. If theFuse = 0 than the operation is CUT, otherwise FUSE. ") SetOperation; void SetOperation(const Standard_Integer theFuse); - /****************** SetOperation ******************/ - /**** md5 signature: 8f486220b30ab20b482b117459ad7941 ****/ + /****** BRepFeat_Builder::SetOperation ******/ + /****** md5 signature: 8f486220b30ab20b482b117459ad7941 ******/ %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. - + %feature("autodoc", " Parameters ---------- theFuse: int theFlag: bool -Returns +Return ------- None + +Description +----------- +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. ") SetOperation; void SetOperation(const Standard_Integer theFuse, const Standard_Boolean theFlag); @@ -599,206 +687,244 @@ None %nodefaultctor BRepFeat_Form; class BRepFeat_Form : public BRepBuilderAPI_MakeShape { public: - /****************** BarycCurve ******************/ - /**** md5 signature: d1ddc085cbe99b4dc40aa66869015d0d ****/ + /****** BRepFeat_Form::BarycCurve ******/ + /****** md5 signature: d1ddc085cbe99b4dc40aa66869015d0d ******/ %feature("compactdefaultargs") BarycCurve; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") BarycCurve; virtual opencascade::handle BarycCurve(); - /****************** BasisShapeValid ******************/ - /**** md5 signature: ae52416b47a8fa29be6f02618978790f ****/ + /****** BRepFeat_Form::BasisShapeValid ******/ + /****** md5 signature: ae52416b47a8fa29be6f02618978790f ******/ %feature("compactdefaultargs") BasisShapeValid; - %feature("autodoc", "Initializes the topological construction if the basis shape is present. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Initializes the topological construction if the basis shape is present. ") BasisShapeValid; void BasisShapeValid(); - /****************** CurrentStatusError ******************/ - /**** md5 signature: 5c642a7308522a33086b9a7dc347c71b ****/ + /****** BRepFeat_Form::CurrentStatusError ******/ + /****** md5 signature: 5c642a7308522a33086b9a7dc347c71b ******/ %feature("compactdefaultargs") CurrentStatusError; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- BRepFeat_StatusError + +Description +----------- +No available documentation. ") CurrentStatusError; BRepFeat_StatusError CurrentStatusError(); - /****************** Curves ******************/ - /**** md5 signature: c90fd281c4f780878cf7fa2221d3f3a0 ****/ + /****** BRepFeat_Form::Curves ******/ + /****** md5 signature: c90fd281c4f780878cf7fa2221d3f3a0 ******/ %feature("compactdefaultargs") Curves; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: TColGeom_SequenceOfCurve -Returns +Return ------- None + +Description +----------- +No available documentation. ") Curves; virtual void Curves(TColGeom_SequenceOfCurve & S); - /****************** FirstShape ******************/ - /**** md5 signature: 3308814aad8b5a3d6b7d0ad13d83c3f8 ****/ + /****** BRepFeat_Form::FirstShape ******/ + /****** md5 signature: 3308814aad8b5a3d6b7d0ad13d83c3f8 ******/ %feature("compactdefaultargs") FirstShape; - %feature("autodoc", "Returns the list of shapes created at the bottom of the created form. it may be an empty list. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +Returns the list of shapes created at the bottom of the created form. It may be an empty list. ") FirstShape; const TopTools_ListOfShape & FirstShape(); - /****************** Generated ******************/ - /**** md5 signature: 12bed2c8d73d25dddf738c72a9352693 ****/ + /****** BRepFeat_Form::Generated ******/ + /****** md5 signature: 12bed2c8d73d25dddf738c72a9352693 ******/ %feature("compactdefaultargs") Generated; - %feature("autodoc", "Returns a list of the created faces from the shape . - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +returns a list of the created faces from the shape . ") Generated; virtual const TopTools_ListOfShape & Generated(const TopoDS_Shape & S); - /****************** GeneratedShapeValid ******************/ - /**** md5 signature: 63a556c0a5250c6b6acde4db96ea4c68 ****/ + /****** BRepFeat_Form::GeneratedShapeValid ******/ + /****** md5 signature: 63a556c0a5250c6b6acde4db96ea4c68 ******/ %feature("compactdefaultargs") GeneratedShapeValid; - %feature("autodoc", "Initializes the topological construction if the generated shape s is present. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Initializes the topological construction if the generated shape S is present. ") GeneratedShapeValid; void GeneratedShapeValid(); - /****************** GluedFacesValid ******************/ - /**** md5 signature: 53476bb17c896d3f0d36b3fefa4028ab ****/ + /****** BRepFeat_Form::GluedFacesValid ******/ + /****** md5 signature: 53476bb17c896d3f0d36b3fefa4028ab ******/ %feature("compactdefaultargs") GluedFacesValid; - %feature("autodoc", "Initializes the topological construction if the glued face is present. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Initializes the topological construction if the glued face is present. ") GluedFacesValid; void GluedFacesValid(); - /****************** IsDeleted ******************/ - /**** md5 signature: 28be7c17a3b2776f59567554f488bbf5 ****/ + /****** BRepFeat_Form::IsDeleted ******/ + /****** md5 signature: 28be7c17a3b2776f59567554f488bbf5 ******/ %feature("compactdefaultargs") IsDeleted; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- bool + +Description +----------- +No available documentation. ") IsDeleted; virtual Standard_Boolean IsDeleted(const TopoDS_Shape & S); - /****************** LastShape ******************/ - /**** md5 signature: 420855638ec0220b6ca81d51c3a55b78 ****/ + /****** BRepFeat_Form::LastShape ******/ + /****** md5 signature: 420855638ec0220b6ca81d51c3a55b78 ******/ %feature("compactdefaultargs") LastShape; - %feature("autodoc", "Returns the list of shapes created at the top of the created form. it may be an empty list. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +Returns the list of shapes created at the top of the created form. It may be an empty list. ") LastShape; const TopTools_ListOfShape & LastShape(); - /****************** Modified ******************/ - /**** md5 signature: d47f6d180f47cfcfacc0413e7ca407b6 ****/ + /****** BRepFeat_Form::Modified ******/ + /****** md5 signature: d47f6d180f47cfcfacc0413e7ca407b6 ******/ %feature("compactdefaultargs") Modified; - %feature("autodoc", "Returns the list of generated faces. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Shape -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +returns the list of generated Faces. ") Modified; virtual const TopTools_ListOfShape & Modified(const TopoDS_Shape & F); - /****************** NewEdges ******************/ - /**** md5 signature: cdc7ef234fb9eb0a739ace74b44cca14 ****/ + /****** BRepFeat_Form::NewEdges ******/ + /****** md5 signature: cdc7ef234fb9eb0a739ace74b44cca14 ******/ %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. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +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. ") NewEdges; const TopTools_ListOfShape & NewEdges(); - /****************** PerfSelectionValid ******************/ - /**** md5 signature: e860c269c453c4afb0c3c359332fcefc ****/ + /****** BRepFeat_Form::PerfSelectionValid ******/ + /****** md5 signature: e860c269c453c4afb0c3c359332fcefc ******/ %feature("compactdefaultargs") PerfSelectionValid; - %feature("autodoc", "Initializes the topological construction if the selected face is present. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Initializes the topological construction if the selected face is present. ") PerfSelectionValid; void PerfSelectionValid(); - /****************** ShapeFromValid ******************/ - /**** md5 signature: 3b61d70ac0d5d844804a95a8528936e3 ****/ + /****** BRepFeat_Form::ShapeFromValid ******/ + /****** md5 signature: 3b61d70ac0d5d844804a95a8528936e3 ******/ %feature("compactdefaultargs") ShapeFromValid; - %feature("autodoc", "Initializes the topological construction if the shape is present from the specified integer on. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Initializes the topological construction if the shape is present from the specified integer on. ") ShapeFromValid; void ShapeFromValid(); - /****************** ShapeUntilValid ******************/ - /**** md5 signature: 4830a2b19464d95992c8450ba3d8a286 ****/ + /****** BRepFeat_Form::ShapeUntilValid ******/ + /****** md5 signature: 4830a2b19464d95992c8450ba3d8a286 ******/ %feature("compactdefaultargs") ShapeUntilValid; - %feature("autodoc", "Initializes the topological construction if the shape is present until the specified integer. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Initializes the topological construction if the shape is present until the specified integer. ") ShapeUntilValid; void ShapeUntilValid(); - /****************** SketchFaceValid ******************/ - /**** md5 signature: 748870012fe1dda56261fb89ad219013 ****/ + /****** BRepFeat_Form::SketchFaceValid ******/ + /****** md5 signature: 748870012fe1dda56261fb89ad219013 ******/ %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. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +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. ") SketchFaceValid; void SketchFaceValid(); - /****************** TgtEdges ******************/ - /**** md5 signature: 2c3d33bfb9d502b29d86c6dafd2350e0 ****/ + /****** BRepFeat_Form::TgtEdges ******/ + /****** md5 signature: 2c3d33bfb9d502b29d86c6dafd2350e0 ******/ %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. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +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. ") TgtEdges; const TopTools_ListOfShape & TgtEdges(); @@ -816,152 +942,185 @@ TopTools_ListOfShape ***********************/ class BRepFeat_Gluer : public BRepBuilderAPI_MakeShape { public: - /****************** BRepFeat_Gluer ******************/ - /**** md5 signature: 7f789f0b255d65d726f02c3a29cff722 ****/ + /****** BRepFeat_Gluer::BRepFeat_Gluer ******/ + /****** md5 signature: 7f789f0b255d65d726f02c3a29cff722 ******/ %feature("compactdefaultargs") BRepFeat_Gluer; - %feature("autodoc", "Initializes an empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Initializes an empty constructor. ") BRepFeat_Gluer; BRepFeat_Gluer(); - /****************** BRepFeat_Gluer ******************/ - /**** md5 signature: f4486bf2a24695e641a27f281d81a2f1 ****/ + /****** BRepFeat_Gluer::BRepFeat_Gluer ******/ + /****** md5 signature: f4486bf2a24695e641a27f281d81a2f1 ******/ %feature("compactdefaultargs") BRepFeat_Gluer; - %feature("autodoc", "Initializes the shapes to be glued, the new shape snew and the basis shape sbase. - + %feature("autodoc", " Parameters ---------- Snew: TopoDS_Shape Sbase: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Initializes the shapes to be glued, the new shape Snew and the basis shape Sbase. ") BRepFeat_Gluer; BRepFeat_Gluer(const TopoDS_Shape & Snew, const TopoDS_Shape & Sbase); - /****************** BasisShape ******************/ - /**** md5 signature: 21cd65d6b80cb61a9e13e787117a65b0 ****/ + /****** BRepFeat_Gluer::BasisShape ******/ + /****** md5 signature: 21cd65d6b80cb61a9e13e787117a65b0 ******/ %feature("compactdefaultargs") BasisShape; - %feature("autodoc", "Returns the basis shape of the compound shape. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +Returns the basis shape of the compound shape. ") BasisShape; const TopoDS_Shape BasisShape(); - /****************** Bind ******************/ - /**** md5 signature: 00651bec56a12d0418e54d774f302230 ****/ + /****** BRepFeat_Gluer::Bind ******/ + /****** md5 signature: 00651bec56a12d0418e54d774f302230 ******/ %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. - + %feature("autodoc", " Parameters ---------- Fnew: TopoDS_Face Fbase: TopoDS_Face -Returns +Return ------- None + +Description +----------- +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. ") Bind; void Bind(const TopoDS_Face & Fnew, const TopoDS_Face & Fbase); - /****************** Bind ******************/ - /**** md5 signature: 3016e09a55c1e17b8452fe31e36138db ****/ + /****** BRepFeat_Gluer::Bind ******/ + /****** md5 signature: 3016e09a55c1e17b8452fe31e36138db ******/ %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. - + %feature("autodoc", " Parameters ---------- Enew: TopoDS_Edge Ebase: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +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; void Bind(const TopoDS_Edge & Enew, const TopoDS_Edge & Ebase); - /****************** Build ******************/ - /**** md5 signature: 5ad4569f96377eec0c61c7f10d7c7aa9 ****/ + /****** BRepFeat_Gluer::Build ******/ + /****** md5 signature: 58900897d55d51e349b2e40a091ec26f ******/ %feature("compactdefaultargs") Build; - %feature("autodoc", "This is called by shape(). it does nothing but may be redefined. + %feature("autodoc", " +Parameters +---------- +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- None + +Description +----------- +This is called by Shape(). It does nothing but may be redefined. ") Build; - virtual void Build(); + virtual void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); - /****************** GluedShape ******************/ - /**** md5 signature: cc05062c19ffec36edea50e2f74757fb ****/ + /****** BRepFeat_Gluer::GluedShape ******/ + /****** md5 signature: cc05062c19ffec36edea50e2f74757fb ******/ %feature("compactdefaultargs") GluedShape; - %feature("autodoc", "Returns the resulting compound shape. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +Returns the resulting compound shape. ") GluedShape; const TopoDS_Shape GluedShape(); - /****************** Init ******************/ - /**** md5 signature: 115f57cbd7c4f9c5a742b814b00a0ef6 ****/ + /****** BRepFeat_Gluer::Init ******/ + /****** md5 signature: 115f57cbd7c4f9c5a742b814b00a0ef6 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "Initializes the new shape snew and the basis shape sbase for the local glueing operation. - + %feature("autodoc", " Parameters ---------- Snew: TopoDS_Shape Sbase: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Initializes the new shape Snew and the basis shape Sbase for the local glueing operation. ") Init; void Init(const TopoDS_Shape & Snew, const TopoDS_Shape & Sbase); - /****************** IsDeleted ******************/ - /**** md5 signature: 1a016772dc188bec4b890b93a447dc5d ****/ + /****** BRepFeat_Gluer::IsDeleted ******/ + /****** md5 signature: 1a016772dc188bec4b890b93a447dc5d ******/ %feature("compactdefaultargs") IsDeleted; - %feature("autodoc", "Returns the status of the face after the shape creation. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Shape -Returns +Return ------- bool + +Description +----------- +returns the status of the Face after the shape creation. ") IsDeleted; virtual Standard_Boolean IsDeleted(const TopoDS_Shape & F); - /****************** Modified ******************/ - /**** md5 signature: d47f6d180f47cfcfacc0413e7ca407b6 ****/ + /****** BRepFeat_Gluer::Modified ******/ + /****** md5 signature: d47f6d180f47cfcfacc0413e7ca407b6 ******/ %feature("compactdefaultargs") Modified; - %feature("autodoc", "Returns the list of generated faces. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Shape -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +returns the list of generated Faces. ") Modified; virtual const TopTools_ListOfShape & Modified(const TopoDS_Shape & F); - /****************** OpeType ******************/ - /**** md5 signature: 6301740c99fde6f602c33a48a205b637 ****/ + /****** BRepFeat_Gluer::OpeType ******/ + /****** md5 signature: 6301740c99fde6f602c33a48a205b637 ******/ %feature("compactdefaultargs") OpeType; - %feature("autodoc", "Determine which operation type to use glueing or sliding. - -Returns + %feature("autodoc", "Return ------- LocOpe_Operation + +Description +----------- +Determine which operation type to use glueing or sliding. ") OpeType; LocOpe_Operation OpeType(); @@ -980,11 +1139,10 @@ LocOpe_Operation %nodefaultctor BRepFeat_RibSlot; class BRepFeat_RibSlot : public BRepBuilderAPI_MakeShape { public: - /****************** ChoiceOfFaces ******************/ - /**** md5 signature: 3d2f5131b0512cb094ab2a0a28933417 ****/ + /****** BRepFeat_RibSlot::ChoiceOfFaces ******/ + /****** md5 signature: 3d2f5131b0512cb094ab2a0a28933417 ******/ %feature("compactdefaultargs") ChoiceOfFaces; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- faces: TopTools_ListOfShape @@ -993,136 +1151,164 @@ par: float bnd: float Pln: Geom_Plane -Returns +Return ------- TopoDS_Face + +Description +----------- +No available documentation. ") ChoiceOfFaces; static TopoDS_Face ChoiceOfFaces(TopTools_ListOfShape & faces, const opencascade::handle & cc, const Standard_Real par, const Standard_Real bnd, const opencascade::handle & Pln); - /****************** CurrentStatusError ******************/ - /**** md5 signature: 5c642a7308522a33086b9a7dc347c71b ****/ + /****** BRepFeat_RibSlot::CurrentStatusError ******/ + /****** md5 signature: 5c642a7308522a33086b9a7dc347c71b ******/ %feature("compactdefaultargs") CurrentStatusError; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- BRepFeat_StatusError + +Description +----------- +No available documentation. ") CurrentStatusError; BRepFeat_StatusError CurrentStatusError(); - /****************** FacesForDraft ******************/ - /**** md5 signature: bb294b3d28b2baf096a3677dfbc96070 ****/ + /****** BRepFeat_RibSlot::FacesForDraft ******/ + /****** md5 signature: bb294b3d28b2baf096a3677dfbc96070 ******/ %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. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +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. ") FacesForDraft; const TopTools_ListOfShape & FacesForDraft(); - /****************** FirstShape ******************/ - /**** md5 signature: 3308814aad8b5a3d6b7d0ad13d83c3f8 ****/ + /****** BRepFeat_RibSlot::FirstShape ******/ + /****** md5 signature: 3308814aad8b5a3d6b7d0ad13d83c3f8 ******/ %feature("compactdefaultargs") FirstShape; - %feature("autodoc", "Returns the list of shapes created at the bottom of the created form. it may be an empty list. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +Returns the list of shapes created at the bottom of the created form. It may be an empty list. ") FirstShape; const TopTools_ListOfShape & FirstShape(); - /****************** Generated ******************/ - /**** md5 signature: 12bed2c8d73d25dddf738c72a9352693 ****/ + /****** BRepFeat_RibSlot::Generated ******/ + /****** md5 signature: 12bed2c8d73d25dddf738c72a9352693 ******/ %feature("compactdefaultargs") Generated; - %feature("autodoc", "Returns a list toptools_listofshape of the faces s created in the shape. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Returns a list TopTools_ListOfShape of the faces S created in the shape. ") Generated; virtual const TopTools_ListOfShape & Generated(const TopoDS_Shape & S); - /****************** IntPar ******************/ - /**** md5 signature: 0532efa1b66eddb1b75d8854720d015d ****/ + /****** BRepFeat_RibSlot::IntPar ******/ + /****** md5 signature: 0532efa1b66eddb1b75d8854720d015d ******/ %feature("compactdefaultargs") IntPar; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom_Curve P: gp_Pnt -Returns +Return ------- float + +Description +----------- +No available documentation. ") IntPar; static Standard_Real IntPar(const opencascade::handle & C, const gp_Pnt & P); - /****************** IsDeleted ******************/ - /**** md5 signature: 1a016772dc188bec4b890b93a447dc5d ****/ + /****** BRepFeat_RibSlot::IsDeleted ******/ + /****** md5 signature: 1a016772dc188bec4b890b93a447dc5d ******/ %feature("compactdefaultargs") IsDeleted; - %feature("autodoc", "Returns true if f a topods_shape of type edge or face has been deleted. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Shape -Returns +Return ------- bool + +Description +----------- +Returns true if F a TopoDS_Shape of type edge or face has been deleted. ") IsDeleted; virtual Standard_Boolean IsDeleted(const TopoDS_Shape & F); - /****************** LastShape ******************/ - /**** md5 signature: 420855638ec0220b6ca81d51c3a55b78 ****/ + /****** BRepFeat_RibSlot::LastShape ******/ + /****** md5 signature: 420855638ec0220b6ca81d51c3a55b78 ******/ %feature("compactdefaultargs") LastShape; - %feature("autodoc", "Returns the list of shapes created at the top of the created form. it may be an empty list. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +Returns the list of shapes created at the top of the created form. It may be an empty list. ") LastShape; const TopTools_ListOfShape & LastShape(); - /****************** Modified ******************/ - /**** md5 signature: d47f6d180f47cfcfacc0413e7ca407b6 ****/ + /****** BRepFeat_RibSlot::Modified ******/ + /****** md5 signature: d47f6d180f47cfcfacc0413e7ca407b6 ******/ %feature("compactdefaultargs") Modified; - %feature("autodoc", "Returns the list of generated faces f. this list may be empty. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Shape -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Returns the list of generated Faces F. This list may be empty. ") Modified; virtual const TopTools_ListOfShape & Modified(const TopoDS_Shape & F); - /****************** NewEdges ******************/ - /**** md5 signature: cdc7ef234fb9eb0a739ace74b44cca14 ****/ + /****** BRepFeat_RibSlot::NewEdges ******/ + /****** md5 signature: cdc7ef234fb9eb0a739ace74b44cca14 ******/ %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. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +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. ") NewEdges; const TopTools_ListOfShape & NewEdges(); - /****************** TgtEdges ******************/ - /**** md5 signature: 2c3d33bfb9d502b29d86c6dafd2350e0 ****/ + /****** BRepFeat_RibSlot::TgtEdges ******/ + /****** md5 signature: 2c3d33bfb9d502b29d86c6dafd2350e0 ******/ %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. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +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. ") TgtEdges; const TopTools_ListOfShape & TgtEdges(); @@ -1140,212 +1326,257 @@ TopTools_ListOfShape ****************************/ class BRepFeat_SplitShape : public BRepBuilderAPI_MakeShape { public: - /****************** BRepFeat_SplitShape ******************/ - /**** md5 signature: 7fb4c09fb205f747a7f5b474bb0bb2c7 ****/ + /****** BRepFeat_SplitShape::BRepFeat_SplitShape ******/ + /****** md5 signature: 7fb4c09fb205f747a7f5b474bb0bb2c7 ******/ %feature("compactdefaultargs") BRepFeat_SplitShape; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BRepFeat_SplitShape; BRepFeat_SplitShape(); - /****************** BRepFeat_SplitShape ******************/ - /**** md5 signature: d86eca78d22979b8ff6e67ac09b56988 ****/ + /****** BRepFeat_SplitShape::BRepFeat_SplitShape ******/ + /****** md5 signature: d86eca78d22979b8ff6e67ac09b56988 ******/ %feature("compactdefaultargs") BRepFeat_SplitShape; - %feature("autodoc", "Creates the process with the shape . - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Creates the process with the shape . ") BRepFeat_SplitShape; BRepFeat_SplitShape(const TopoDS_Shape & S); - /****************** Add ******************/ - /**** md5 signature: a2f8855eb9d20716f921d30ba939fd6a ****/ + /****** BRepFeat_SplitShape::Add ******/ + /****** md5 signature: a2f8855eb9d20716f921d30ba939fd6a ******/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Add splitting edges or wires for whole initial shape withot additional specification edge->face, edge->edge this method puts edge on the corresponding faces from initial shape. - + %feature("autodoc", " Parameters ---------- theEdges: TopTools_SequenceOfShape -Returns +Return ------- bool + +Description +----------- +Add splitting edges or wires for whole initial shape without additional specification edge->face, edge->edge This method puts edge on the corresponding faces from initial shape. ") Add; Standard_Boolean Add(const TopTools_SequenceOfShape & theEdges); - /****************** Add ******************/ - /**** md5 signature: 73487f98ab9ba9984904e685f5fae091 ****/ + /****** BRepFeat_SplitShape::Add ******/ + /****** md5 signature: 73487f98ab9ba9984904e685f5fae091 ******/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Adds the wire on the face . raises nosuchobject if does not belong to the original shape. - + %feature("autodoc", " Parameters ---------- W: TopoDS_Wire F: TopoDS_Face -Returns +Return ------- None + +Description +----------- +Adds the wire on the face . Raises NoSuchObject if does not belong to the original shape. ") Add; void Add(const TopoDS_Wire & W, const TopoDS_Face & F); - /****************** Add ******************/ - /**** md5 signature: d621d461f76c392b22927a1a44cfbc16 ****/ + /****** BRepFeat_SplitShape::Add ******/ + /****** md5 signature: d621d461f76c392b22927a1a44cfbc16 ******/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Adds the edge on the face . - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge F: TopoDS_Face -Returns +Return ------- None + +Description +----------- +Adds the edge on the face . ") Add; void Add(const TopoDS_Edge & E, const TopoDS_Face & F); - /****************** Add ******************/ - /**** md5 signature: b6f3642f26ba028306325db45aed0ed7 ****/ + /****** BRepFeat_SplitShape::Add ******/ + /****** md5 signature: b6f3642f26ba028306325db45aed0ed7 ******/ %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. - + %feature("autodoc", " Parameters ---------- Comp: TopoDS_Compound F: TopoDS_Face -Returns +Return ------- None + +Description +----------- +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; void Add(const TopoDS_Compound & Comp, const TopoDS_Face & F); - /****************** Add ******************/ - /**** md5 signature: 058eae25f3940954a03a0173df9bce9b ****/ + /****** BRepFeat_SplitShape::Add ******/ + /****** md5 signature: 058eae25f3940954a03a0173df9bce9b ******/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Adds the edge on the existing edge . - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge EOn: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +Adds the edge on the existing edge . ") Add; void Add(const TopoDS_Edge & E, const TopoDS_Edge & EOn); - /****************** Build ******************/ - /**** md5 signature: fbc5fbed76b24de64a843e82da1c1005 ****/ + /****** BRepFeat_SplitShape::Build ******/ + /****** md5 signature: 6845a51502d14bd916482d98b6487bc6 ******/ %feature("compactdefaultargs") Build; - %feature("autodoc", "Builds the cut and the resulting faces and edges as well. + %feature("autodoc", " +Parameters +---------- +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- None + +Description +----------- +Builds the cut and the resulting faces and edges as well. ") Build; - void Build(); + void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); - /****************** DirectLeft ******************/ - /**** md5 signature: 3439933aeda7f1a1ec21dfaafbe0ab1a ****/ + /****** BRepFeat_SplitShape::DirectLeft ******/ + /****** md5 signature: 3439933aeda7f1a1ec21dfaafbe0ab1a ******/ %feature("compactdefaultargs") DirectLeft; - %feature("autodoc", "Returns the faces which are the left of the projected wires. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +Returns the faces which are the left of the projected wires. ") DirectLeft; const TopTools_ListOfShape & DirectLeft(); - /****************** Init ******************/ - /**** md5 signature: 5b69b32485b3d9f82ae4abb9c853c3c7 ****/ + /****** BRepFeat_SplitShape::Init ******/ + /****** md5 signature: 5b69b32485b3d9f82ae4abb9c853c3c7 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "Initializes the process on the shape . - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Initializes the process on the shape . ") Init; void Init(const TopoDS_Shape & S); - /****************** IsDeleted ******************/ - /**** md5 signature: 28be7c17a3b2776f59567554f488bbf5 ****/ + /****** BRepFeat_SplitShape::IsDeleted ******/ + /****** md5 signature: 28be7c17a3b2776f59567554f488bbf5 ******/ %feature("compactdefaultargs") IsDeleted; - %feature("autodoc", "Returns true if the shape has been deleted. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- bool + +Description +----------- +Returns true if the shape has been deleted. ") IsDeleted; virtual Standard_Boolean IsDeleted(const TopoDS_Shape & S); - /****************** Left ******************/ - /**** md5 signature: 70ee7865256185190dd6eecfb1fc40f8 ****/ + /****** BRepFeat_SplitShape::Left ******/ + /****** md5 signature: 70ee7865256185190dd6eecfb1fc40f8 ******/ %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 . - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +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 . ") Left; const TopTools_ListOfShape & Left(); - /****************** Modified ******************/ - /**** md5 signature: d6a88f48819eaeb375ffa39db07ab939 ****/ + /****** BRepFeat_SplitShape::Modified ******/ + /****** md5 signature: d6a88f48819eaeb375ffa39db07ab939 ******/ %feature("compactdefaultargs") Modified; - %feature("autodoc", "Returns the list of generated faces. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Shape -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Returns the list of generated Faces. ") Modified; const TopTools_ListOfShape & Modified(const TopoDS_Shape & F); - /****************** Right ******************/ - /**** md5 signature: 2734ad1e91a0abfa780551bd587a1449 ****/ + /****** BRepFeat_SplitShape::Right ******/ + /****** md5 signature: 2734ad1e91a0abfa780551bd587a1449 ******/ %feature("compactdefaultargs") Right; - %feature("autodoc", "Returns the faces of the 'right' part on the shape. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +Returns the faces of the 'right' part on the shape. ") Right; const TopTools_ListOfShape & Right(); - /****************** SetCheckInterior ******************/ - /**** md5 signature: 2d00b58c59d6af210c84a7fdd261d94b ****/ + /****** BRepFeat_SplitShape::SetCheckInterior ******/ + /****** md5 signature: 2d00b58c59d6af210c84a7fdd261d94b ******/ %feature("compactdefaultargs") SetCheckInterior; - %feature("autodoc", "Set the flag of check internal intersections default value is true (to check). - + %feature("autodoc", " Parameters ---------- ToCheckInterior: bool -Returns +Return ------- None + +Description +----------- +Set the flag of check internal intersections default value is True (to check). ") SetCheckInterior; void SetCheckInterior(const Standard_Boolean ToCheckInterior); @@ -1363,153 +1594,176 @@ None *************************************/ class BRepFeat_MakeCylindricalHole : public BRepFeat_Builder { public: - /****************** BRepFeat_MakeCylindricalHole ******************/ - /**** md5 signature: 58c4d86e740884755488b274c73f95f1 ****/ + /****** BRepFeat_MakeCylindricalHole::BRepFeat_MakeCylindricalHole ******/ + /****** md5 signature: 58c4d86e740884755488b274c73f95f1 ******/ %feature("compactdefaultargs") BRepFeat_MakeCylindricalHole; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BRepFeat_MakeCylindricalHole; BRepFeat_MakeCylindricalHole(); - /****************** Build ******************/ - /**** md5 signature: 634d88e5c99c5ce236c07b337243d591 ****/ + /****** BRepFeat_MakeCylindricalHole::Build ******/ + /****** md5 signature: 634d88e5c99c5ce236c07b337243d591 ******/ %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. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Builds the resulting shape (redefined from MakeShape). Invalidates the given parts of tools if any, and performs the result of the local operation. ") Build; void Build(); - /****************** Init ******************/ - /**** md5 signature: dfebb8f53795a8547d999d68d22be1d7 ****/ + /****** BRepFeat_MakeCylindricalHole::Init ******/ + /****** md5 signature: dfebb8f53795a8547d999d68d22be1d7 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "Sets the axis of the hole(s). - + %feature("autodoc", " Parameters ---------- Axis: gp_Ax1 -Returns +Return ------- None + +Description +----------- +Sets the axis of the hole(s). ") Init; void Init(const gp_Ax1 & Axis); - /****************** Init ******************/ - /**** md5 signature: 341b409eb6e8df45d9a033137c13c001 ****/ + /****** BRepFeat_MakeCylindricalHole::Init ******/ + /****** md5 signature: 341b409eb6e8df45d9a033137c13c001 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "Sets the shape and axis on which hole(s) will be performed. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape Axis: gp_Ax1 -Returns +Return ------- None + +Description +----------- +Sets the shape and axis on which hole(s) will be performed. ") Init; void Init(const TopoDS_Shape & S, const gp_Ax1 & Axis); - /****************** Perform ******************/ - /**** md5 signature: d29e853e573ef7e11a66ef3857a2c5cd ****/ + /****** BRepFeat_MakeCylindricalHole::Perform ******/ + /****** md5 signature: d29e853e573ef7e11a66ef3857a2c5cd ******/ %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 . - + %feature("autodoc", " Parameters ---------- Radius: float -Returns +Return ------- None + +Description +----------- +Performs every hole of radius . This command has the same effect as a cut operation with an infinite cylinder defined by the given axis and . ") Perform; void Perform(const Standard_Real Radius); - /****************** Perform ******************/ - /**** md5 signature: 692010be9cefee836dc51667b7cdc333 ****/ + /****** BRepFeat_MakeCylindricalHole::Perform ******/ + /****** md5 signature: 692010be9cefee836dc51667b7cdc333 ******/ %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. - + %feature("autodoc", " Parameters ---------- Radius: float PFrom: float PTo: float -WithControl: bool,optional - default value is Standard_True +WithControl: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +Performs every 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; void Perform(const Standard_Real Radius, const Standard_Real PFrom, const Standard_Real PTo, const Standard_Boolean WithControl = Standard_True); - /****************** PerformBlind ******************/ - /**** md5 signature: d6ad4465337920a7bace20f06cddf9a4 ****/ + /****** BRepFeat_MakeCylindricalHole::PerformBlind ******/ + /****** md5 signature: d6ad4465337920a7bace20f06cddf9a4 ******/ %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. - + %feature("autodoc", " Parameters ---------- Radius: float Length: float -WithControl: bool,optional - default value is Standard_True +WithControl: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +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. ") PerformBlind; void PerformBlind(const Standard_Real Radius, const Standard_Real Length, const Standard_Boolean WithControl = Standard_True); - /****************** PerformThruNext ******************/ - /**** md5 signature: 3c97de21db8ff53771e449f91c5b073b ****/ + /****** BRepFeat_MakeCylindricalHole::PerformThruNext ******/ + /****** md5 signature: 3c97de21db8ff53771e449f91c5b073b ******/ %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. - + %feature("autodoc", " Parameters ---------- Radius: float -WithControl: bool,optional - default value is Standard_True +WithControl: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +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. ") PerformThruNext; void PerformThruNext(const Standard_Real Radius, const Standard_Boolean WithControl = Standard_True); - /****************** PerformUntilEnd ******************/ - /**** md5 signature: 66cdda3afb2a9ca35971dfed1fd5ab7d ****/ + /****** BRepFeat_MakeCylindricalHole::PerformUntilEnd ******/ + /****** md5 signature: 66cdda3afb2a9ca35971dfed1fd5ab7d ******/ %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. - + %feature("autodoc", " Parameters ---------- Radius: float -WithControl: bool,optional - default value is Standard_True +WithControl: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +Performs every hole 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. ") PerformUntilEnd; void PerformUntilEnd(const Standard_Real Radius, const Standard_Boolean WithControl = Standard_True); - /****************** Status ******************/ - /**** md5 signature: 6857f3614226fbbdaae5e244ae4256ba ****/ + /****** BRepFeat_MakeCylindricalHole::Status ******/ + /****** md5 signature: 6857f3614226fbbdaae5e244ae4256ba ******/ %feature("compactdefaultargs") Status; - %feature("autodoc", "Returns the status after a hole is performed. - -Returns + %feature("autodoc", "Return ------- BRepFeat_Status + +Description +----------- +Returns the status after a hole is performed. ") Status; BRepFeat_Status Status(); @@ -1527,11 +1781,10 @@ BRepFeat_Status ****************************/ class BRepFeat_MakeDPrism : public BRepFeat_Form { public: - /****************** BRepFeat_MakeDPrism ******************/ - /**** md5 signature: ab28b5dd2f9cd5ff4235412c13babcfb ****/ + /****** BRepFeat_MakeDPrism::BRepFeat_MakeDPrism ******/ + /****** md5 signature: ab28b5dd2f9cd5ff4235412c13babcfb ******/ %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. - + %feature("autodoc", " Parameters ---------- Sbase: TopoDS_Shape @@ -1541,85 +1794,101 @@ Angle: float Fuse: int Modify: bool -Returns +Return ------- None + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 72552317c20790f89347229a5f21c621 ****/ + /****** BRepFeat_MakeDPrism::BRepFeat_MakeDPrism ******/ + /****** md5 signature: 72552317c20790f89347229a5f21c621 ******/ %feature("compactdefaultargs") BRepFeat_MakeDPrism; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepFeat_MakeDPrism; BRepFeat_MakeDPrism(); - /****************** Add ******************/ - /**** md5 signature: 1958ed6feaed653cc58352476d181b28 ****/ + /****** BRepFeat_MakeDPrism::Add ******/ + /****** md5 signature: 1958ed6feaed653cc58352476d181b28 ******/ %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. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge OnFace: TopoDS_Face -Returns +Return ------- None + +Description +----------- +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. ") Add; void Add(const TopoDS_Edge & E, const TopoDS_Face & OnFace); - /****************** BarycCurve ******************/ - /**** md5 signature: 66d2a457dbd580b676149c11f86ad8b1 ****/ + /****** BRepFeat_MakeDPrism::BarycCurve ******/ + /****** md5 signature: 66d2a457dbd580b676149c11f86ad8b1 ******/ %feature("compactdefaultargs") BarycCurve; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") BarycCurve; opencascade::handle BarycCurve(); - /****************** BossEdges ******************/ - /**** md5 signature: b65728171e50e3a538f10d4a296bea46 ****/ + /****** BRepFeat_MakeDPrism::BossEdges ******/ + /****** md5 signature: b65728171e50e3a538f10d4a296bea46 ******/ %feature("compactdefaultargs") BossEdges; - %feature("autodoc", "Determination of topedges and latedges. sig = 1 -> topedges = firstshape of the dprism sig = 2 -> topedges = lastshape of the dprism. - + %feature("autodoc", " Parameters ---------- sig: int -Returns +Return ------- None + +Description +----------- +Determination of TopEdges and LatEdges. sig = 1 -> TopEdges = FirstShape of the DPrism sig = 2 -> TOpEdges = LastShape of the DPrism. ") BossEdges; void BossEdges(const Standard_Integer sig); - /****************** Curves ******************/ - /**** md5 signature: 07f751f9dfafc7503dd439055f5b554f ****/ + /****** BRepFeat_MakeDPrism::Curves ******/ + /****** md5 signature: 07f751f9dfafc7503dd439055f5b554f ******/ %feature("compactdefaultargs") Curves; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: TColGeom_SequenceOfCurve -Returns +Return ------- None + +Description +----------- +No available documentation. ") Curves; void Curves(TColGeom_SequenceOfCurve & S); - /****************** Init ******************/ - /**** md5 signature: 1c308bd80cbfde6bd9a04d2c26e4b328 ****/ + /****** BRepFeat_MakeDPrism::Init ******/ + /****** md5 signature: 1c308bd80cbfde6bd9a04d2c26e4b328 ******/ %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. - + %feature("autodoc", " Parameters ---------- Sbase: TopoDS_Shape @@ -1629,130 +1898,157 @@ Angle: float Fuse: int Modify: bool -Returns +Return ------- None + +Description +----------- +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. ") 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); - /****************** LatEdges ******************/ - /**** md5 signature: 8a9db9ef1cd1c382e2f11897bd51d3ed ****/ + /****** BRepFeat_MakeDPrism::LatEdges ******/ + /****** md5 signature: 8a9db9ef1cd1c382e2f11897bd51d3ed ******/ %feature("compactdefaultargs") LatEdges; - %feature("autodoc", "Returns the list of topods edges of the bottom of the boss. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +Returns the list of TopoDS Edges of the bottom of the boss. ") LatEdges; const TopTools_ListOfShape & LatEdges(); - /****************** Perform ******************/ - /**** md5 signature: 9d97b158b743926dc89782af13894b65 ****/ + /****** BRepFeat_MakeDPrism::Perform ******/ + /****** md5 signature: 9d97b158b743926dc89782af13894b65 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Height: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") Perform; void Perform(const Standard_Real Height); - /****************** Perform ******************/ - /**** md5 signature: 10b8c982858685e75beee187b373027e ****/ + /****** BRepFeat_MakeDPrism::Perform ******/ + /****** md5 signature: 10b8c982858685e75beee187b373027e ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Until: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +No available documentation. ") Perform; void Perform(const TopoDS_Shape & Until); - /****************** Perform ******************/ - /**** md5 signature: f1fa94f1bd31c2b819e36b79c175c9c3 ****/ + /****** BRepFeat_MakeDPrism::Perform ******/ + /****** md5 signature: f1fa94f1bd31c2b819e36b79c175c9c3 ******/ %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. - + %feature("autodoc", " Parameters ---------- From: TopoDS_Shape Until: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +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; void Perform(const TopoDS_Shape & From, const TopoDS_Shape & Until); - /****************** PerformFromEnd ******************/ - /**** md5 signature: 2ae4aebaae52040c3272099e5b6fc393 ****/ + /****** BRepFeat_MakeDPrism::PerformFromEnd ******/ + /****** md5 signature: 2ae4aebaae52040c3272099e5b6fc393 ******/ %feature("compactdefaultargs") PerformFromEnd; - %feature("autodoc", "Realizes a semi-infinite prism, limited by the face funtil. - + %feature("autodoc", " Parameters ---------- FUntil: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Realizes a semi-infinite prism, limited by the face Funtil. ") PerformFromEnd; void PerformFromEnd(const TopoDS_Shape & FUntil); - /****************** PerformThruAll ******************/ - /**** md5 signature: 92616bf7c450284136e687eb7af8bafd ****/ + /****** BRepFeat_MakeDPrism::PerformThruAll ******/ + /****** md5 signature: 92616bf7c450284136e687eb7af8bafd ******/ %feature("compactdefaultargs") PerformThruAll; - %feature("autodoc", "Builds an infinite prism. the infinite descendants will not be kept in the result. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Builds an infinite prism. The infinite descendants will not be kept in the result. ") PerformThruAll; void PerformThruAll(); - /****************** PerformUntilEnd ******************/ - /**** md5 signature: 6feb6fa4d6c705b4d577d6e26f2f6b24 ****/ + /****** BRepFeat_MakeDPrism::PerformUntilEnd ******/ + /****** md5 signature: 6feb6fa4d6c705b4d577d6e26f2f6b24 ******/ %feature("compactdefaultargs") PerformUntilEnd; - %feature("autodoc", "Realizes a semi-infinite prism, limited by the position of the prism base. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Realizes a semi-infinite prism, limited by the position of the prism base. ") PerformUntilEnd; void PerformUntilEnd(); - /****************** PerformUntilHeight ******************/ - /**** md5 signature: eb1cd9128736557f1abf6daa81bfbff4 ****/ + /****** BRepFeat_MakeDPrism::PerformUntilHeight ******/ + /****** md5 signature: eb1cd9128736557f1abf6daa81bfbff4 ******/ %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. - + %feature("autodoc", " Parameters ---------- Until: TopoDS_Shape Height: float -Returns +Return ------- None + +Description +----------- +Assigns both a limiting shape, Until from TopoDS_Shape, and a height, Height at which to stop generation of the prism feature. ") PerformUntilHeight; void PerformUntilHeight(const TopoDS_Shape & Until, const Standard_Real Height); - /****************** TopEdges ******************/ - /**** md5 signature: 2517b76b176957c99a729b7a6eb5838c ****/ + /****** BRepFeat_MakeDPrism::TopEdges ******/ + /****** md5 signature: 2517b76b176957c99a729b7a6eb5838c ******/ %feature("compactdefaultargs") TopEdges; - %feature("autodoc", "Returns the list of topods edges of the top of the boss. - -Returns + %feature("autodoc", "Return ------- TopTools_ListOfShape + +Description +----------- +Returns the list of TopoDS Edges of the top of the boss. ") TopEdges; const TopTools_ListOfShape & TopEdges(); @@ -1770,22 +2066,23 @@ TopTools_ListOfShape ********************************/ class BRepFeat_MakeLinearForm : public BRepFeat_RibSlot { public: - /****************** BRepFeat_MakeLinearForm ******************/ - /**** md5 signature: b3a472883e7a5f479ca0056e13391243 ****/ + /****** BRepFeat_MakeLinearForm::BRepFeat_MakeLinearForm ******/ + /****** md5 signature: b3a472883e7a5f479ca0056e13391243 ******/ %feature("compactdefaultargs") BRepFeat_MakeLinearForm; - %feature("autodoc", "Initializes the linear form class. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +initializes the linear form class. ") BRepFeat_MakeLinearForm; BRepFeat_MakeLinearForm(); - /****************** BRepFeat_MakeLinearForm ******************/ - /**** md5 signature: c0ab9d4da64ce70e63532385bc1370ef ****/ + /****** BRepFeat_MakeLinearForm::BRepFeat_MakeLinearForm ******/ + /****** md5 signature: c0ab9d4da64ce70e63532385bc1370ef ******/ %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", " Parameters ---------- Sbase: TopoDS_Shape @@ -1796,33 +2093,39 @@ Direction1: gp_Vec Fuse: int Modify: bool -Returns +Return ------- None + +Description +----------- +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. ") 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); - /****************** Add ******************/ - /**** md5 signature: 1958ed6feaed653cc58352476d181b28 ****/ + /****** BRepFeat_MakeLinearForm::Add ******/ + /****** md5 signature: 1958ed6feaed653cc58352476d181b28 ******/ %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. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge OnFace: TopoDS_Face -Returns +Return ------- None + +Description +----------- +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. ") Add; void Add(const TopoDS_Edge & E, const TopoDS_Face & OnFace); - /****************** Init ******************/ - /**** md5 signature: c57fb37411988458f322160e1faeec9c ****/ + /****** BRepFeat_MakeLinearForm::Init ******/ + /****** md5 signature: c57fb37411988458f322160e1faeec9c ******/ %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. - + %feature("autodoc", " Parameters ---------- Sbase: TopoDS_Shape @@ -1833,28 +2136,33 @@ Direction1: gp_Vec Fuse: int Modify: bool -Returns +Return ------- None + +Description +----------- +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. ") 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); - /****************** Perform ******************/ - /**** md5 signature: c04b01412cba7220c024b5eb4532697f ****/ + /****** BRepFeat_MakeLinearForm::Perform ******/ + /****** md5 signature: c04b01412cba7220c024b5eb4532697f ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Performs a prism from the wire to the plane along the basis shape sbase. reconstructs the feature topologically. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Performs a prism from the wire to the plane along the basis shape Sbase. Reconstructs the feature topologically. ") Perform; void Perform(); - /****************** Propagate ******************/ - /**** md5 signature: adcdddff34ee701126f7caab0efa651f ****/ + /****** BRepFeat_MakeLinearForm::Propagate ******/ + /****** md5 signature: adcdddff34ee701126f7caab0efa651f ******/ %feature("compactdefaultargs") Propagate; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: TopTools_ListOfShape @@ -1862,9 +2170,13 @@ F: TopoDS_Face FPoint: gp_Pnt LPoint: gp_Pnt -Returns +Return ------- falseside: bool + +Description +----------- +No available documentation. ") Propagate; Standard_Boolean Propagate(TopTools_ListOfShape & L, const TopoDS_Face & F, const gp_Pnt & FPoint, const gp_Pnt & LPoint, Standard_Boolean &OutValue); @@ -1886,22 +2198,23 @@ falseside: bool **************************/ class BRepFeat_MakePipe : public BRepFeat_Form { public: - /****************** BRepFeat_MakePipe ******************/ - /**** md5 signature: b6ec45d33d268911619eb6518659a655 ****/ + /****** BRepFeat_MakePipe::BRepFeat_MakePipe ******/ + /****** md5 signature: b6ec45d33d268911619eb6518659a655 ******/ %feature("compactdefaultargs") BRepFeat_MakePipe; - %feature("autodoc", "Initializes the pipe class. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +initializes the pipe class. ") BRepFeat_MakePipe; BRepFeat_MakePipe(); - /****************** BRepFeat_MakePipe ******************/ - /**** md5 signature: 9a729843666efd38155cd635e17174fc ****/ + /****** BRepFeat_MakePipe::BRepFeat_MakePipe ******/ + /****** md5 signature: 9a729843666efd38155cd635e17174fc ******/ %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", " Parameters ---------- Sbase: TopoDS_Shape @@ -1911,59 +2224,70 @@ Spine: TopoDS_Wire Fuse: int Modify: bool -Returns +Return ------- None + +Description +----------- +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. ") 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); - /****************** Add ******************/ - /**** md5 signature: 1958ed6feaed653cc58352476d181b28 ****/ + /****** BRepFeat_MakePipe::Add ******/ + /****** md5 signature: 1958ed6feaed653cc58352476d181b28 ******/ %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. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge OnFace: TopoDS_Face -Returns +Return ------- None + +Description +----------- +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. ") Add; void Add(const TopoDS_Edge & E, const TopoDS_Face & OnFace); - /****************** BarycCurve ******************/ - /**** md5 signature: 66d2a457dbd580b676149c11f86ad8b1 ****/ + /****** BRepFeat_MakePipe::BarycCurve ******/ + /****** md5 signature: 66d2a457dbd580b676149c11f86ad8b1 ******/ %feature("compactdefaultargs") BarycCurve; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") BarycCurve; opencascade::handle BarycCurve(); - /****************** Curves ******************/ - /**** md5 signature: 07f751f9dfafc7503dd439055f5b554f ****/ + /****** BRepFeat_MakePipe::Curves ******/ + /****** md5 signature: 07f751f9dfafc7503dd439055f5b554f ******/ %feature("compactdefaultargs") Curves; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: TColGeom_SequenceOfCurve -Returns +Return ------- None + +Description +----------- +No available documentation. ") Curves; void Curves(TColGeom_SequenceOfCurve & S); - /****************** Init ******************/ - /**** md5 signature: 13c3f77362b6067f1fbdd2ba1e92d958 ****/ + /****** BRepFeat_MakePipe::Init ******/ + /****** md5 signature: 13c3f77362b6067f1fbdd2ba1e92d958 ******/ %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. - + %feature("autodoc", " Parameters ---------- Sbase: TopoDS_Shape @@ -1973,51 +2297,63 @@ Spine: TopoDS_Wire Fuse: int Modify: bool -Returns +Return ------- None + +Description +----------- +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. ") 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); - /****************** Perform ******************/ - /**** md5 signature: c04b01412cba7220c024b5eb4532697f ****/ + /****** BRepFeat_MakePipe::Perform ******/ + /****** md5 signature: c04b01412cba7220c024b5eb4532697f ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") Perform; void Perform(); - /****************** Perform ******************/ - /**** md5 signature: 10b8c982858685e75beee187b373027e ****/ + /****** BRepFeat_MakePipe::Perform ******/ + /****** md5 signature: 10b8c982858685e75beee187b373027e ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Until: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +No available documentation. ") Perform; void Perform(const TopoDS_Shape & Until); - /****************** Perform ******************/ - /**** md5 signature: f1fa94f1bd31c2b819e36b79c175c9c3 ****/ + /****** BRepFeat_MakePipe::Perform ******/ + /****** md5 signature: f1fa94f1bd31c2b819e36b79c175c9c3 ******/ %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. - + %feature("autodoc", " Parameters ---------- From: TopoDS_Shape Until: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +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; void Perform(const TopoDS_Shape & From, const TopoDS_Shape & Until); @@ -2035,22 +2371,23 @@ None ***************************/ class BRepFeat_MakePrism : public BRepFeat_Form { public: - /****************** BRepFeat_MakePrism ******************/ - /**** md5 signature: 29088ef3d93f66c4fac678a6bdb1fc3f ****/ + /****** BRepFeat_MakePrism::BRepFeat_MakePrism ******/ + /****** md5 signature: 29088ef3d93f66c4fac678a6bdb1fc3f ******/ %feature("compactdefaultargs") BRepFeat_MakePrism; - %feature("autodoc", "Builds a prism by projecting a wire along the face of a shape. initializes the prism class. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Builds a prism by projecting a wire along the face of a shape. Initializes the prism class. ") BRepFeat_MakePrism; BRepFeat_MakePrism(); - /****************** BRepFeat_MakePrism ******************/ - /**** md5 signature: 7db5164394edfcc899ebbd3bb688c3fc ****/ + /****** BRepFeat_MakePrism::BRepFeat_MakePrism ******/ + /****** md5 signature: 7db5164394edfcc899ebbd3bb688c3fc ******/ %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", " Parameters ---------- Sbase: TopoDS_Shape @@ -2060,59 +2397,70 @@ Direction: gp_Dir Fuse: int Modify: bool -Returns +Return ------- None + +Description +----------- +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. ") 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); - /****************** Add ******************/ - /**** md5 signature: 1958ed6feaed653cc58352476d181b28 ****/ + /****** BRepFeat_MakePrism::Add ******/ + /****** md5 signature: 1958ed6feaed653cc58352476d181b28 ******/ %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. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge OnFace: TopoDS_Face -Returns +Return ------- None + +Description +----------- +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. ") Add; void Add(const TopoDS_Edge & E, const TopoDS_Face & OnFace); - /****************** BarycCurve ******************/ - /**** md5 signature: 66d2a457dbd580b676149c11f86ad8b1 ****/ + /****** BRepFeat_MakePrism::BarycCurve ******/ + /****** md5 signature: 66d2a457dbd580b676149c11f86ad8b1 ******/ %feature("compactdefaultargs") BarycCurve; - %feature("autodoc", "Generates a curve along the center of mass of the primitive. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Generates a curve along the center of mass of the primitive. ") BarycCurve; opencascade::handle BarycCurve(); - /****************** Curves ******************/ - /**** md5 signature: 07f751f9dfafc7503dd439055f5b554f ****/ + /****** BRepFeat_MakePrism::Curves ******/ + /****** md5 signature: 07f751f9dfafc7503dd439055f5b554f ******/ %feature("compactdefaultargs") Curves; - %feature("autodoc", "Returns the list of curves s parallel to the axis of the prism. - + %feature("autodoc", " Parameters ---------- S: TColGeom_SequenceOfCurve -Returns +Return ------- None + +Description +----------- +Returns the list of curves S parallel to the axis of the prism. ") Curves; void Curves(TColGeom_SequenceOfCurve & S); - /****************** Init ******************/ - /**** md5 signature: 27921e8866c46fd571e4916d337b0ff4 ****/ + /****** BRepFeat_MakePrism::Init ******/ + /****** md5 signature: 27921e8866c46fd571e4916d337b0ff4 ******/ %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. - + %feature("autodoc", " Parameters ---------- Sbase: TopoDS_Shape @@ -2122,108 +2470,131 @@ Direction: gp_Dir Fuse: int Modify: bool -Returns +Return ------- None + +Description +----------- +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. ") 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); - /****************** Perform ******************/ - /**** md5 signature: 921dd6f91281e2488215eafa36261fe3 ****/ + /****** BRepFeat_MakePrism::Perform ******/ + /****** md5 signature: 921dd6f91281e2488215eafa36261fe3 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Length: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") Perform; void Perform(const Standard_Real Length); - /****************** Perform ******************/ - /**** md5 signature: 10b8c982858685e75beee187b373027e ****/ + /****** BRepFeat_MakePrism::Perform ******/ + /****** md5 signature: 10b8c982858685e75beee187b373027e ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Until: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +No available documentation. ") Perform; void Perform(const TopoDS_Shape & Until); - /****************** Perform ******************/ - /**** md5 signature: f1fa94f1bd31c2b819e36b79c175c9c3 ****/ + /****** BRepFeat_MakePrism::Perform ******/ + /****** md5 signature: f1fa94f1bd31c2b819e36b79c175c9c3 ******/ %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. - + %feature("autodoc", " Parameters ---------- From: TopoDS_Shape Until: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +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; void Perform(const TopoDS_Shape & From, const TopoDS_Shape & Until); - /****************** PerformFromEnd ******************/ - /**** md5 signature: 2ae4aebaae52040c3272099e5b6fc393 ****/ + /****** BRepFeat_MakePrism::PerformFromEnd ******/ + /****** md5 signature: 2ae4aebaae52040c3272099e5b6fc393 ******/ %feature("compactdefaultargs") PerformFromEnd; - %feature("autodoc", "Realizes a semi-infinite prism, limited by the face funtil. - + %feature("autodoc", " Parameters ---------- FUntil: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Realizes a semi-infinite prism, limited by the face Funtil. ") PerformFromEnd; void PerformFromEnd(const TopoDS_Shape & FUntil); - /****************** PerformThruAll ******************/ - /**** md5 signature: 92616bf7c450284136e687eb7af8bafd ****/ + /****** BRepFeat_MakePrism::PerformThruAll ******/ + /****** md5 signature: 92616bf7c450284136e687eb7af8bafd ******/ %feature("compactdefaultargs") PerformThruAll; - %feature("autodoc", "Builds an infinite prism. the infinite descendants will not be kept in the result. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Builds an infinite prism. The infinite descendants will not be kept in the result. ") PerformThruAll; void PerformThruAll(); - /****************** PerformUntilEnd ******************/ - /**** md5 signature: 6feb6fa4d6c705b4d577d6e26f2f6b24 ****/ + /****** BRepFeat_MakePrism::PerformUntilEnd ******/ + /****** md5 signature: 6feb6fa4d6c705b4d577d6e26f2f6b24 ******/ %feature("compactdefaultargs") PerformUntilEnd; - %feature("autodoc", "Realizes a semi-infinite prism, limited by the position of the prism base. all other faces extend infinitely. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Realizes a semi-infinite prism, limited by the position of the prism base. All other faces extend infinitely. ") PerformUntilEnd; void PerformUntilEnd(); - /****************** PerformUntilHeight ******************/ - /**** md5 signature: a7c4efe8d2b443f212d0783579b1403a ****/ + /****** BRepFeat_MakePrism::PerformUntilHeight ******/ + /****** md5 signature: a7c4efe8d2b443f212d0783579b1403a ******/ %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. - + %feature("autodoc", " Parameters ---------- Until: TopoDS_Shape Length: float -Returns +Return ------- None + +Description +----------- +Assigns both a limiting shape, Until from TopoDS_Shape, and a height, Length at which to stop generation of the prism feature. ") PerformUntilHeight; void PerformUntilHeight(const TopoDS_Shape & Until, const Standard_Real Length); @@ -2241,22 +2612,23 @@ None ***************************/ class BRepFeat_MakeRevol : public BRepFeat_Form { public: - /****************** BRepFeat_MakeRevol ******************/ - /**** md5 signature: 609fe8b8590e4a7f4ae6631dc2857a92 ****/ + /****** BRepFeat_MakeRevol::BRepFeat_MakeRevol ******/ + /****** md5 signature: 609fe8b8590e4a7f4ae6631dc2857a92 ******/ %feature("compactdefaultargs") BRepFeat_MakeRevol; - %feature("autodoc", "Initializes the revolved shell class. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +initializes the revolved shell class. ") BRepFeat_MakeRevol; BRepFeat_MakeRevol(); - /****************** BRepFeat_MakeRevol ******************/ - /**** md5 signature: 2b9607178edc298f7a78ff1d5cf30402 ****/ + /****** BRepFeat_MakeRevol::BRepFeat_MakeRevol ******/ + /****** md5 signature: 2b9607178edc298f7a78ff1d5cf30402 ******/ %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", " Parameters ---------- Sbase: TopoDS_Shape @@ -2266,59 +2638,70 @@ Axis: gp_Ax1 Fuse: int Modify: bool -Returns +Return ------- None + +Description +----------- +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. ") 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); - /****************** Add ******************/ - /**** md5 signature: 1958ed6feaed653cc58352476d181b28 ****/ + /****** BRepFeat_MakeRevol::Add ******/ + /****** md5 signature: 1958ed6feaed653cc58352476d181b28 ******/ %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. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge OnFace: TopoDS_Face -Returns +Return ------- None + +Description +----------- +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. ") Add; void Add(const TopoDS_Edge & E, const TopoDS_Face & OnFace); - /****************** BarycCurve ******************/ - /**** md5 signature: 66d2a457dbd580b676149c11f86ad8b1 ****/ + /****** BRepFeat_MakeRevol::BarycCurve ******/ + /****** md5 signature: 66d2a457dbd580b676149c11f86ad8b1 ******/ %feature("compactdefaultargs") BarycCurve; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") BarycCurve; opencascade::handle BarycCurve(); - /****************** Curves ******************/ - /**** md5 signature: 07f751f9dfafc7503dd439055f5b554f ****/ + /****** BRepFeat_MakeRevol::Curves ******/ + /****** md5 signature: 07f751f9dfafc7503dd439055f5b554f ******/ %feature("compactdefaultargs") Curves; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: TColGeom_SequenceOfCurve -Returns +Return ------- None + +Description +----------- +No available documentation. ") Curves; void Curves(TColGeom_SequenceOfCurve & S); - /****************** Init ******************/ - /**** md5 signature: 204ce292f4f566e4506694c7e7314a55 ****/ + /****** BRepFeat_MakeRevol::Init ******/ + /****** md5 signature: 204ce292f4f566e4506694c7e7314a55 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Sbase: TopoDS_Shape @@ -2328,82 +2711,100 @@ Axis: gp_Ax1 Fuse: int Modify: bool -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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); - /****************** Perform ******************/ - /**** md5 signature: 6a7a2ae149125c85eb43bdf43080f3fa ****/ + /****** BRepFeat_MakeRevol::Perform ******/ + /****** md5 signature: 6a7a2ae149125c85eb43bdf43080f3fa ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Angle: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") Perform; void Perform(const Standard_Real Angle); - /****************** Perform ******************/ - /**** md5 signature: 10b8c982858685e75beee187b373027e ****/ + /****** BRepFeat_MakeRevol::Perform ******/ + /****** md5 signature: 10b8c982858685e75beee187b373027e ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Until: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +No available documentation. ") Perform; void Perform(const TopoDS_Shape & Until); - /****************** Perform ******************/ - /**** md5 signature: f1fa94f1bd31c2b819e36b79c175c9c3 ****/ + /****** BRepFeat_MakeRevol::Perform ******/ + /****** md5 signature: f1fa94f1bd31c2b819e36b79c175c9c3 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Reconstructs the feature topologically. - + %feature("autodoc", " Parameters ---------- From: TopoDS_Shape Until: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Reconstructs the feature topologically. ") Perform; void Perform(const TopoDS_Shape & From, const TopoDS_Shape & Until); - /****************** PerformThruAll ******************/ - /**** md5 signature: 92616bf7c450284136e687eb7af8bafd ****/ + /****** BRepFeat_MakeRevol::PerformThruAll ******/ + /****** md5 signature: 92616bf7c450284136e687eb7af8bafd ******/ %feature("compactdefaultargs") PerformThruAll; - %feature("autodoc", "Builds an infinite shell. the infinite descendants will not be kept in the result. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Builds an infinite shell. The infinite descendants will not be kept in the result. ") PerformThruAll; void PerformThruAll(); - /****************** PerformUntilAngle ******************/ - /**** md5 signature: 1f41e4ebc99ac743b4e9d885ea6242a4 ****/ + /****** BRepFeat_MakeRevol::PerformUntilAngle ******/ + /****** md5 signature: 1f41e4ebc99ac743b4e9d885ea6242a4 ******/ %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. - + %feature("autodoc", " Parameters ---------- Until: TopoDS_Shape Angle: float -Returns +Return ------- None + +Description +----------- +Assigns both a limiting shape, Until from TopoDS_Shape, and an angle, Angle at which to stop generation of the revolved shell feature. ") PerformUntilAngle; void PerformUntilAngle(const TopoDS_Shape & Until, const Standard_Real Angle); @@ -2421,22 +2822,23 @@ None ************************************/ class BRepFeat_MakeRevolutionForm : public BRepFeat_RibSlot { public: - /****************** BRepFeat_MakeRevolutionForm ******************/ - /**** md5 signature: 302eb4f703035b0ebb1f2db4645e0923 ****/ + /****** BRepFeat_MakeRevolutionForm::BRepFeat_MakeRevolutionForm ******/ + /****** md5 signature: 302eb4f703035b0ebb1f2db4645e0923 ******/ %feature("compactdefaultargs") BRepFeat_MakeRevolutionForm; - %feature("autodoc", "Initializes the linear form class. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +initializes the linear form class. ") BRepFeat_MakeRevolutionForm; BRepFeat_MakeRevolutionForm(); - /****************** BRepFeat_MakeRevolutionForm ******************/ - /**** md5 signature: ff82b0fdd2670104a2362ed0daefc10d ****/ + /****** BRepFeat_MakeRevolutionForm::BRepFeat_MakeRevolutionForm ******/ + /****** md5 signature: ff82b0fdd2670104a2362ed0daefc10d ******/ %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", " Parameters ---------- Sbase: TopoDS_Shape @@ -2447,33 +2849,39 @@ Height1: float Height2: float Fuse: int -Returns +Return ------- Sliding: bool + +Description +----------- +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. ") 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); - /****************** Add ******************/ - /**** md5 signature: 1958ed6feaed653cc58352476d181b28 ****/ + /****** BRepFeat_MakeRevolutionForm::Add ******/ + /****** md5 signature: 1958ed6feaed653cc58352476d181b28 ******/ %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. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge OnFace: TopoDS_Face -Returns +Return ------- None + +Description +----------- +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. ") Add; void Add(const TopoDS_Edge & E, const TopoDS_Face & OnFace); - /****************** Init ******************/ - /**** md5 signature: 9ca78664b7e171890eaab6bc207dce08 ****/ + /****** BRepFeat_MakeRevolutionForm::Init ******/ + /****** md5 signature: 9ca78664b7e171890eaab6bc207dce08 ******/ %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. - + %feature("autodoc", " Parameters ---------- Sbase: TopoDS_Shape @@ -2484,28 +2892,33 @@ Height1: float Height2: float Fuse: int -Returns +Return ------- Sliding: bool + +Description +----------- +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. ") 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); - /****************** Perform ******************/ - /**** md5 signature: c04b01412cba7220c024b5eb4532697f ****/ + /****** BRepFeat_MakeRevolutionForm::Perform ******/ + /****** md5 signature: c04b01412cba7220c024b5eb4532697f ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Performs a prism from the wire to the plane along the basis shape s. reconstructs the feature topologically. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Performs a prism from the wire to the plane along the basis shape S. Reconstructs the feature topologically. ") Perform; void Perform(); - /****************** Propagate ******************/ - /**** md5 signature: adcdddff34ee701126f7caab0efa651f ****/ + /****** BRepFeat_MakeRevolutionForm::Propagate ******/ + /****** md5 signature: adcdddff34ee701126f7caab0efa651f ******/ %feature("compactdefaultargs") Propagate; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: TopTools_ListOfShape @@ -2513,9 +2926,13 @@ F: TopoDS_Face FPoint: gp_Pnt LPoint: gp_Pnt -Returns +Return ------- falseside: bool + +Description +----------- +No available documentation. ") Propagate; Standard_Boolean Propagate(TopTools_ListOfShape & L, const TopoDS_Face & F, const gp_Pnt & FPoint, const gp_Pnt & LPoint, Standard_Boolean &OutValue); @@ -2534,3 +2951,46 @@ falseside: bool /* class aliases */ %pythoncode { } +/* deprecated methods */ +%pythoncode { +@deprecated +def brepfeat_Barycenter(*args): + return brepfeat.Barycenter(*args) + +@deprecated +def brepfeat_FaceUntil(*args): + return brepfeat.FaceUntil(*args) + +@deprecated +def brepfeat_IsInside(*args): + return brepfeat.IsInside(*args) + +@deprecated +def brepfeat_ParametricBarycenter(*args): + return brepfeat.ParametricBarycenter(*args) + +@deprecated +def brepfeat_ParametricMinMax(*args): + return brepfeat.ParametricMinMax(*args) + +@deprecated +def brepfeat_Print(*args): + return brepfeat.Print(*args) + +@deprecated +def brepfeat_SampleEdges(*args): + return brepfeat.SampleEdges(*args) + +@deprecated +def brepfeat_Tool(*args): + return brepfeat.Tool(*args) + +@deprecated +def BRepFeat_RibSlot_ChoiceOfFaces(*args): + return BRepFeat_RibSlot.ChoiceOfFaces(*args) + +@deprecated +def BRepFeat_RibSlot_IntPar(*args): + return BRepFeat_RibSlot.IntPar(*args) + +} diff --git a/src/SWIG_files/wrapper/BRepFeat.pyi b/src/SWIG_files/wrapper/BRepFeat.pyi index bd5d6ea90..b41152787 100644 --- a/src/SWIG_files/wrapper/BRepFeat.pyi +++ b/src/SWIG_files/wrapper/BRepFeat.pyi @@ -10,48 +10,63 @@ from OCC.Core.TColgp import * from OCC.Core.TopAbs import * from OCC.Core.BOPAlgo import * from OCC.Core.TopTools import * +from OCC.Core.Message import * from OCC.Core.BRepBuilderAPI import * from OCC.Core.TColGeom import * from OCC.Core.LocOpe import * +class BRepFeat_PerfSelection(IntEnum): + BRepFeat_NoSelection: int = ... + BRepFeat_SelectionFU: int = ... + BRepFeat_SelectionU: int = ... + BRepFeat_SelectionSh: int = ... + BRepFeat_SelectionShU: int = ... + +BRepFeat_NoSelection = BRepFeat_PerfSelection.BRepFeat_NoSelection +BRepFeat_SelectionFU = BRepFeat_PerfSelection.BRepFeat_SelectionFU +BRepFeat_SelectionU = BRepFeat_PerfSelection.BRepFeat_SelectionU +BRepFeat_SelectionSh = BRepFeat_PerfSelection.BRepFeat_SelectionSh +BRepFeat_SelectionShU = BRepFeat_PerfSelection.BRepFeat_SelectionShU class BRepFeat_Status(IntEnum): - BRepFeat_NoError: int = ... - BRepFeat_InvalidPlacement: int = ... - BRepFeat_HoleTooLong: int = ... + BRepFeat_NoError: int = ... + BRepFeat_InvalidPlacement: int = ... + BRepFeat_HoleTooLong: int = ... + BRepFeat_NoError = BRepFeat_Status.BRepFeat_NoError BRepFeat_InvalidPlacement = BRepFeat_Status.BRepFeat_InvalidPlacement BRepFeat_HoleTooLong = BRepFeat_Status.BRepFeat_HoleTooLong class BRepFeat_StatusError(IntEnum): - BRepFeat_OK: int = ... - BRepFeat_BadDirect: int = ... - BRepFeat_BadIntersect: int = ... - BRepFeat_EmptyBaryCurve: int = ... - BRepFeat_EmptyCutResult: int = ... - BRepFeat_FalseSide: int = ... - BRepFeat_IncDirection: int = ... - BRepFeat_IncSlidFace: int = ... - BRepFeat_IncParameter: int = ... - BRepFeat_IncTypes: int = ... - BRepFeat_IntervalOverlap: int = ... - BRepFeat_InvFirstShape: int = ... - BRepFeat_InvOption: int = ... - BRepFeat_InvShape: int = ... - BRepFeat_LocOpeNotDone: int = ... - BRepFeat_LocOpeInvNotDone: int = ... - BRepFeat_NoExtFace: int = ... - BRepFeat_NoFaceProf: int = ... - BRepFeat_NoGluer: int = ... - BRepFeat_NoIntersectF: int = ... - BRepFeat_NoIntersectU: int = ... - BRepFeat_NoParts: int = ... - BRepFeat_NoProjPt: int = ... - BRepFeat_NotInitialized: int = ... - BRepFeat_NotYetImplemented: int = ... - BRepFeat_NullRealTool: int = ... - BRepFeat_NullToolF: int = ... - BRepFeat_NullToolU: int = ... + BRepFeat_OK: int = ... + BRepFeat_BadDirect: int = ... + BRepFeat_BadIntersect: int = ... + BRepFeat_EmptyBaryCurve: int = ... + BRepFeat_EmptyCutResult: int = ... + BRepFeat_FalseSide: int = ... + BRepFeat_IncDirection: int = ... + BRepFeat_IncSlidFace: int = ... + BRepFeat_IncParameter: int = ... + BRepFeat_IncTypes: int = ... + BRepFeat_IntervalOverlap: int = ... + BRepFeat_InvFirstShape: int = ... + BRepFeat_InvOption: int = ... + BRepFeat_InvShape: int = ... + BRepFeat_LocOpeNotDone: int = ... + BRepFeat_LocOpeInvNotDone: int = ... + BRepFeat_NoExtFace: int = ... + BRepFeat_NoFaceProf: int = ... + BRepFeat_NoGluer: int = ... + BRepFeat_NoIntersectF: int = ... + BRepFeat_NoIntersectU: int = ... + BRepFeat_NoParts: int = ... + BRepFeat_NoProjPt: int = ... + BRepFeat_NotInitialized: int = ... + BRepFeat_NotYetImplemented: int = ... + BRepFeat_NullRealTool: int = ... + BRepFeat_NullToolF: int = ... + BRepFeat_NullToolU: int = ... + BRepFeat_OK = BRepFeat_StatusError.BRepFeat_OK BRepFeat_BadDirect = BRepFeat_StatusError.BRepFeat_BadDirect BRepFeat_BadIntersect = BRepFeat_StatusError.BRepFeat_BadIntersect @@ -81,256 +96,373 @@ BRepFeat_NullRealTool = BRepFeat_StatusError.BRepFeat_NullRealTool BRepFeat_NullToolF = BRepFeat_StatusError.BRepFeat_NullToolF BRepFeat_NullToolU = BRepFeat_StatusError.BRepFeat_NullToolU -class BRepFeat_PerfSelection(IntEnum): - BRepFeat_NoSelection: int = ... - BRepFeat_SelectionFU: int = ... - BRepFeat_SelectionU: int = ... - BRepFeat_SelectionSh: int = ... - BRepFeat_SelectionShU: int = ... -BRepFeat_NoSelection = BRepFeat_PerfSelection.BRepFeat_NoSelection -BRepFeat_SelectionFU = BRepFeat_PerfSelection.BRepFeat_SelectionFU -BRepFeat_SelectionU = BRepFeat_PerfSelection.BRepFeat_SelectionU -BRepFeat_SelectionSh = BRepFeat_PerfSelection.BRepFeat_SelectionSh -BRepFeat_SelectionShU = BRepFeat_PerfSelection.BRepFeat_SelectionShU - class brepfeat: - @staticmethod - def Barycenter(S: TopoDS_Shape, Pt: gp_Pnt) -> None: ... - @staticmethod - def FaceUntil(S: TopoDS_Shape, F: TopoDS_Face) -> None: ... - @staticmethod - def IsInside(F1: TopoDS_Face, F2: TopoDS_Face) -> bool: ... - @staticmethod - def ParametricBarycenter(S: TopoDS_Shape, C: Geom_Curve) -> float: ... - @staticmethod - def ParametricMinMax(S: TopoDS_Shape, C: Geom_Curve, Ori: Optional[bool] = False) -> Tuple[float, float, float, float, bool]: ... - @staticmethod - def SampleEdges(S: TopoDS_Shape, Pt: TColgp_SequenceOfPnt) -> None: ... - @staticmethod - def Tool(SRef: TopoDS_Shape, Fac: TopoDS_Face, Orf: TopAbs_Orientation) -> TopoDS_Solid: ... + @staticmethod + def Barycenter(S: TopoDS_Shape, Pt: gp_Pnt) -> None: ... + @staticmethod + def FaceUntil(S: TopoDS_Shape, F: TopoDS_Face) -> None: ... + @staticmethod + def IsInside(F1: TopoDS_Face, F2: TopoDS_Face) -> bool: ... + @staticmethod + def ParametricBarycenter(S: TopoDS_Shape, C: Geom_Curve) -> float: ... + @staticmethod + def ParametricMinMax( + S: TopoDS_Shape, C: Geom_Curve, Ori: Optional[bool] = False + ) -> Tuple[float, float, float, float, bool]: ... + @staticmethod + def Print(SE: BRepFeat_StatusError) -> Tuple[Standard_OStream, str]: ... + @staticmethod + def SampleEdges(S: TopoDS_Shape, Pt: TColgp_SequenceOfPnt) -> None: ... + @staticmethod + def Tool( + SRef: TopoDS_Shape, Fac: TopoDS_Face, Orf: TopAbs_Orientation + ) -> TopoDS_Solid: ... class BRepFeat_Builder(BOPAlgo_BOP): - def __init__(self) -> None: ... - def CheckSolidImages(self) -> None: ... - def Clear(self) -> None: ... - @overload - def FillRemoved(self) -> None: ... - @overload - def FillRemoved(self, theS: TopoDS_Shape, theM: TopTools_MapOfShape) -> None: ... - @overload - def Init(self, theShape: TopoDS_Shape) -> None: ... - @overload - def Init(self, theShape: TopoDS_Shape, theTool: TopoDS_Shape) -> None: ... - def KeepPart(self, theS: TopoDS_Shape) -> None: ... - def KeepParts(self, theIm: TopTools_ListOfShape) -> None: ... - def PartsOfTool(self, theLT: TopTools_ListOfShape) -> None: ... - def PerformResult(self) -> None: ... - def RebuildEdge(self, theE: TopoDS_Shape, theF: TopoDS_Face, theME: TopTools_MapOfShape, aLEIm: TopTools_ListOfShape) -> None: ... - def RebuildFaces(self) -> None: ... - @overload - def SetOperation(self, theFuse: int) -> None: ... - @overload - def SetOperation(self, theFuse: int, theFlag: bool) -> None: ... + def __init__(self) -> None: ... + def CheckSolidImages(self) -> None: ... + def Clear(self) -> None: ... + @overload + def FillRemoved(self) -> None: ... + @overload + def FillRemoved(self, theS: TopoDS_Shape, theM: TopTools_MapOfShape) -> None: ... + @overload + def Init(self, theShape: TopoDS_Shape) -> None: ... + @overload + def Init(self, theShape: TopoDS_Shape, theTool: TopoDS_Shape) -> None: ... + def KeepPart(self, theS: TopoDS_Shape) -> None: ... + def KeepParts(self, theIm: TopTools_ListOfShape) -> None: ... + def PartsOfTool(self, theLT: TopTools_ListOfShape) -> None: ... + def PerformResult( + self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange() + ) -> None: ... + def RebuildEdge( + self, + theE: TopoDS_Shape, + theF: TopoDS_Face, + theME: TopTools_MapOfShape, + aLEIm: TopTools_ListOfShape, + ) -> None: ... + def RebuildFaces(self) -> None: ... + @overload + def SetOperation(self, theFuse: int) -> None: ... + @overload + def SetOperation(self, theFuse: int, theFlag: bool) -> None: ... class BRepFeat_Form(BRepBuilderAPI_MakeShape): - def BarycCurve(self) -> Geom_Curve: ... - def BasisShapeValid(self) -> None: ... - def CurrentStatusError(self) -> BRepFeat_StatusError: ... - def Curves(self, S: TColGeom_SequenceOfCurve) -> None: ... - def FirstShape(self) -> TopTools_ListOfShape: ... - def Generated(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... - def GeneratedShapeValid(self) -> None: ... - def GluedFacesValid(self) -> None: ... - def IsDeleted(self, S: TopoDS_Shape) -> bool: ... - def LastShape(self) -> TopTools_ListOfShape: ... - def Modified(self, F: TopoDS_Shape) -> TopTools_ListOfShape: ... - def NewEdges(self) -> TopTools_ListOfShape: ... - def PerfSelectionValid(self) -> None: ... - def ShapeFromValid(self) -> None: ... - def ShapeUntilValid(self) -> None: ... - def SketchFaceValid(self) -> None: ... - def TgtEdges(self) -> TopTools_ListOfShape: ... + def BarycCurve(self) -> Geom_Curve: ... + def BasisShapeValid(self) -> None: ... + def CurrentStatusError(self) -> BRepFeat_StatusError: ... + def Curves(self, S: TColGeom_SequenceOfCurve) -> None: ... + def FirstShape(self) -> TopTools_ListOfShape: ... + def Generated(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... + def GeneratedShapeValid(self) -> None: ... + def GluedFacesValid(self) -> None: ... + def IsDeleted(self, S: TopoDS_Shape) -> bool: ... + def LastShape(self) -> TopTools_ListOfShape: ... + def Modified(self, F: TopoDS_Shape) -> TopTools_ListOfShape: ... + def NewEdges(self) -> TopTools_ListOfShape: ... + def PerfSelectionValid(self) -> None: ... + def ShapeFromValid(self) -> None: ... + def ShapeUntilValid(self) -> None: ... + def SketchFaceValid(self) -> None: ... + def TgtEdges(self) -> TopTools_ListOfShape: ... class BRepFeat_Gluer(BRepBuilderAPI_MakeShape): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, Snew: TopoDS_Shape, Sbase: TopoDS_Shape) -> None: ... - def BasisShape(self) -> TopoDS_Shape: ... - @overload - def Bind(self, Fnew: TopoDS_Face, Fbase: TopoDS_Face) -> None: ... - @overload - def Bind(self, Enew: TopoDS_Edge, Ebase: TopoDS_Edge) -> None: ... - def Build(self) -> None: ... - def GluedShape(self) -> TopoDS_Shape: ... - def Init(self, Snew: TopoDS_Shape, Sbase: TopoDS_Shape) -> None: ... - def IsDeleted(self, F: TopoDS_Shape) -> bool: ... - def Modified(self, F: TopoDS_Shape) -> TopTools_ListOfShape: ... - def OpeType(self) -> LocOpe_Operation: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, Snew: TopoDS_Shape, Sbase: TopoDS_Shape) -> None: ... + def BasisShape(self) -> TopoDS_Shape: ... + @overload + def Bind(self, Fnew: TopoDS_Face, Fbase: TopoDS_Face) -> None: ... + @overload + def Bind(self, Enew: TopoDS_Edge, Ebase: TopoDS_Edge) -> None: ... + def Build( + self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange() + ) -> None: ... + def GluedShape(self) -> TopoDS_Shape: ... + def Init(self, Snew: TopoDS_Shape, Sbase: TopoDS_Shape) -> None: ... + def IsDeleted(self, F: TopoDS_Shape) -> bool: ... + def Modified(self, F: TopoDS_Shape) -> TopTools_ListOfShape: ... + def OpeType(self) -> LocOpe_Operation: ... class BRepFeat_RibSlot(BRepBuilderAPI_MakeShape): - @staticmethod - def ChoiceOfFaces(faces: TopTools_ListOfShape, cc: Geom_Curve, par: float, bnd: float, Pln: Geom_Plane) -> TopoDS_Face: ... - def CurrentStatusError(self) -> BRepFeat_StatusError: ... - def FacesForDraft(self) -> TopTools_ListOfShape: ... - def FirstShape(self) -> TopTools_ListOfShape: ... - def Generated(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... - @staticmethod - def IntPar(C: Geom_Curve, P: gp_Pnt) -> float: ... - def IsDeleted(self, F: TopoDS_Shape) -> bool: ... - def LastShape(self) -> TopTools_ListOfShape: ... - def Modified(self, F: TopoDS_Shape) -> TopTools_ListOfShape: ... - def NewEdges(self) -> TopTools_ListOfShape: ... - def TgtEdges(self) -> TopTools_ListOfShape: ... + @staticmethod + def ChoiceOfFaces( + faces: TopTools_ListOfShape, + cc: Geom_Curve, + par: float, + bnd: float, + Pln: Geom_Plane, + ) -> TopoDS_Face: ... + def CurrentStatusError(self) -> BRepFeat_StatusError: ... + def FacesForDraft(self) -> TopTools_ListOfShape: ... + def FirstShape(self) -> TopTools_ListOfShape: ... + def Generated(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... + @staticmethod + def IntPar(C: Geom_Curve, P: gp_Pnt) -> float: ... + def IsDeleted(self, F: TopoDS_Shape) -> bool: ... + def LastShape(self) -> TopTools_ListOfShape: ... + def Modified(self, F: TopoDS_Shape) -> TopTools_ListOfShape: ... + def NewEdges(self) -> TopTools_ListOfShape: ... + def TgtEdges(self) -> TopTools_ListOfShape: ... class BRepFeat_SplitShape(BRepBuilderAPI_MakeShape): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, S: TopoDS_Shape) -> None: ... - @overload - def Add(self, theEdges: TopTools_SequenceOfShape) -> bool: ... - @overload - def Add(self, W: TopoDS_Wire, F: TopoDS_Face) -> None: ... - @overload - def Add(self, E: TopoDS_Edge, F: TopoDS_Face) -> None: ... - @overload - def Add(self, Comp: TopoDS_Compound, F: TopoDS_Face) -> None: ... - @overload - def Add(self, E: TopoDS_Edge, EOn: TopoDS_Edge) -> None: ... - def Build(self) -> None: ... - def DirectLeft(self) -> TopTools_ListOfShape: ... - def Init(self, S: TopoDS_Shape) -> None: ... - def IsDeleted(self, S: TopoDS_Shape) -> bool: ... - def Left(self) -> TopTools_ListOfShape: ... - def Modified(self, F: TopoDS_Shape) -> TopTools_ListOfShape: ... - def Right(self) -> TopTools_ListOfShape: ... - def SetCheckInterior(self, ToCheckInterior: bool) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, S: TopoDS_Shape) -> None: ... + @overload + def Add(self, theEdges: TopTools_SequenceOfShape) -> bool: ... + @overload + def Add(self, W: TopoDS_Wire, F: TopoDS_Face) -> None: ... + @overload + def Add(self, E: TopoDS_Edge, F: TopoDS_Face) -> None: ... + @overload + def Add(self, Comp: TopoDS_Compound, F: TopoDS_Face) -> None: ... + @overload + def Add(self, E: TopoDS_Edge, EOn: TopoDS_Edge) -> None: ... + def Build( + self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange() + ) -> None: ... + def DirectLeft(self) -> TopTools_ListOfShape: ... + def Init(self, S: TopoDS_Shape) -> None: ... + def IsDeleted(self, S: TopoDS_Shape) -> bool: ... + def Left(self) -> TopTools_ListOfShape: ... + def Modified(self, F: TopoDS_Shape) -> TopTools_ListOfShape: ... + def Right(self) -> TopTools_ListOfShape: ... + def SetCheckInterior(self, ToCheckInterior: bool) -> None: ... class BRepFeat_MakeCylindricalHole(BRepFeat_Builder): - def __init__(self) -> None: ... - def Build(self) -> None: ... - @overload - def Init(self, Axis: gp_Ax1) -> None: ... - @overload - def Init(self, S: TopoDS_Shape, Axis: gp_Ax1) -> None: ... - @overload - def Perform(self, Radius: float) -> None: ... - @overload - def Perform(self, Radius: float, PFrom: float, PTo: float, WithControl: Optional[bool] = True) -> None: ... - def PerformBlind(self, Radius: float, Length: float, WithControl: Optional[bool] = True) -> None: ... - def PerformThruNext(self, Radius: float, WithControl: Optional[bool] = True) -> None: ... - def PerformUntilEnd(self, Radius: float, WithControl: Optional[bool] = True) -> None: ... - def Status(self) -> BRepFeat_Status: ... + def __init__(self) -> None: ... + def Build(self) -> None: ... + @overload + def Init(self, Axis: gp_Ax1) -> None: ... + @overload + def Init(self, S: TopoDS_Shape, Axis: gp_Ax1) -> None: ... + @overload + def Perform(self, Radius: float) -> None: ... + @overload + def Perform( + self, + Radius: float, + PFrom: float, + PTo: float, + WithControl: Optional[bool] = True, + ) -> None: ... + def PerformBlind( + self, Radius: float, Length: float, WithControl: Optional[bool] = True + ) -> None: ... + def PerformThruNext( + self, Radius: float, WithControl: Optional[bool] = True + ) -> None: ... + def PerformUntilEnd( + self, Radius: float, WithControl: Optional[bool] = True + ) -> None: ... + def Status(self) -> BRepFeat_Status: ... class BRepFeat_MakeDPrism(BRepFeat_Form): - @overload - def __init__(self, Sbase: TopoDS_Shape, Pbase: TopoDS_Face, Skface: TopoDS_Face, Angle: float, Fuse: int, Modify: bool) -> None: ... - @overload - def __init__(self) -> None: ... - def Add(self, E: TopoDS_Edge, OnFace: TopoDS_Face) -> None: ... - def BarycCurve(self) -> Geom_Curve: ... - def BossEdges(self, sig: int) -> None: ... - def Curves(self, S: TColGeom_SequenceOfCurve) -> None: ... - def Init(self, Sbase: TopoDS_Shape, Pbase: TopoDS_Face, Skface: TopoDS_Face, Angle: float, Fuse: int, Modify: bool) -> None: ... - def LatEdges(self) -> TopTools_ListOfShape: ... - @overload - def Perform(self, Height: float) -> None: ... - @overload - def Perform(self, Until: TopoDS_Shape) -> None: ... - @overload - def Perform(self, From: TopoDS_Shape, Until: TopoDS_Shape) -> None: ... - def PerformFromEnd(self, FUntil: TopoDS_Shape) -> None: ... - def PerformThruAll(self) -> None: ... - def PerformUntilEnd(self) -> None: ... - def PerformUntilHeight(self, Until: TopoDS_Shape, Height: float) -> None: ... - def TopEdges(self) -> TopTools_ListOfShape: ... + @overload + def __init__( + self, + Sbase: TopoDS_Shape, + Pbase: TopoDS_Face, + Skface: TopoDS_Face, + Angle: float, + Fuse: int, + Modify: bool, + ) -> None: ... + @overload + def __init__(self) -> None: ... + def Add(self, E: TopoDS_Edge, OnFace: TopoDS_Face) -> None: ... + def BarycCurve(self) -> Geom_Curve: ... + def BossEdges(self, sig: int) -> None: ... + def Curves(self, S: TColGeom_SequenceOfCurve) -> None: ... + def Init( + self, + Sbase: TopoDS_Shape, + Pbase: TopoDS_Face, + Skface: TopoDS_Face, + Angle: float, + Fuse: int, + Modify: bool, + ) -> None: ... + def LatEdges(self) -> TopTools_ListOfShape: ... + @overload + def Perform(self, Height: float) -> None: ... + @overload + def Perform(self, Until: TopoDS_Shape) -> None: ... + @overload + def Perform(self, From: TopoDS_Shape, Until: TopoDS_Shape) -> None: ... + def PerformFromEnd(self, FUntil: TopoDS_Shape) -> None: ... + def PerformThruAll(self) -> None: ... + def PerformUntilEnd(self) -> None: ... + def PerformUntilHeight(self, Until: TopoDS_Shape, Height: float) -> None: ... + def TopEdges(self) -> TopTools_ListOfShape: ... class BRepFeat_MakeLinearForm(BRepFeat_RibSlot): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, Sbase: TopoDS_Shape, W: TopoDS_Wire, P: Geom_Plane, Direction: gp_Vec, Direction1: gp_Vec, Fuse: int, Modify: bool) -> None: ... - def Add(self, E: TopoDS_Edge, OnFace: TopoDS_Face) -> None: ... - def Init(self, Sbase: TopoDS_Shape, W: TopoDS_Wire, P: Geom_Plane, Direction: gp_Vec, Direction1: gp_Vec, Fuse: int, Modify: bool) -> None: ... - def Perform(self) -> None: ... - def Propagate(self, L: TopTools_ListOfShape, F: TopoDS_Face, FPoint: gp_Pnt, LPoint: gp_Pnt) -> Tuple[bool, bool]: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__( + self, + Sbase: TopoDS_Shape, + W: TopoDS_Wire, + P: Geom_Plane, + Direction: gp_Vec, + Direction1: gp_Vec, + Fuse: int, + Modify: bool, + ) -> None: ... + def Add(self, E: TopoDS_Edge, OnFace: TopoDS_Face) -> None: ... + def Init( + self, + Sbase: TopoDS_Shape, + W: TopoDS_Wire, + P: Geom_Plane, + Direction: gp_Vec, + Direction1: gp_Vec, + Fuse: int, + Modify: bool, + ) -> None: ... + def Perform(self) -> None: ... + def Propagate( + self, L: TopTools_ListOfShape, F: TopoDS_Face, FPoint: gp_Pnt, LPoint: gp_Pnt + ) -> Tuple[bool, bool]: ... class BRepFeat_MakePipe(BRepFeat_Form): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, Sbase: TopoDS_Shape, Pbase: TopoDS_Shape, Skface: TopoDS_Face, Spine: TopoDS_Wire, Fuse: int, Modify: bool) -> None: ... - def Add(self, E: TopoDS_Edge, OnFace: TopoDS_Face) -> None: ... - def BarycCurve(self) -> Geom_Curve: ... - def Curves(self, S: TColGeom_SequenceOfCurve) -> None: ... - def Init(self, Sbase: TopoDS_Shape, Pbase: TopoDS_Shape, Skface: TopoDS_Face, Spine: TopoDS_Wire, Fuse: int, Modify: bool) -> None: ... - @overload - def Perform(self) -> None: ... - @overload - def Perform(self, Until: TopoDS_Shape) -> None: ... - @overload - def Perform(self, From: TopoDS_Shape, Until: TopoDS_Shape) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__( + self, + Sbase: TopoDS_Shape, + Pbase: TopoDS_Shape, + Skface: TopoDS_Face, + Spine: TopoDS_Wire, + Fuse: int, + Modify: bool, + ) -> None: ... + def Add(self, E: TopoDS_Edge, OnFace: TopoDS_Face) -> None: ... + def BarycCurve(self) -> Geom_Curve: ... + def Curves(self, S: TColGeom_SequenceOfCurve) -> None: ... + def Init( + self, + Sbase: TopoDS_Shape, + Pbase: TopoDS_Shape, + Skface: TopoDS_Face, + Spine: TopoDS_Wire, + Fuse: int, + Modify: bool, + ) -> None: ... + @overload + def Perform(self) -> None: ... + @overload + def Perform(self, Until: TopoDS_Shape) -> None: ... + @overload + def Perform(self, From: TopoDS_Shape, Until: TopoDS_Shape) -> None: ... class BRepFeat_MakePrism(BRepFeat_Form): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, Sbase: TopoDS_Shape, Pbase: TopoDS_Shape, Skface: TopoDS_Face, Direction: gp_Dir, Fuse: int, Modify: bool) -> None: ... - def Add(self, E: TopoDS_Edge, OnFace: TopoDS_Face) -> None: ... - def BarycCurve(self) -> Geom_Curve: ... - def Curves(self, S: TColGeom_SequenceOfCurve) -> None: ... - def Init(self, Sbase: TopoDS_Shape, Pbase: TopoDS_Shape, Skface: TopoDS_Face, Direction: gp_Dir, Fuse: int, Modify: bool) -> None: ... - @overload - def Perform(self, Length: float) -> None: ... - @overload - def Perform(self, Until: TopoDS_Shape) -> None: ... - @overload - def Perform(self, From: TopoDS_Shape, Until: TopoDS_Shape) -> None: ... - def PerformFromEnd(self, FUntil: TopoDS_Shape) -> None: ... - def PerformThruAll(self) -> None: ... - def PerformUntilEnd(self) -> None: ... - def PerformUntilHeight(self, Until: TopoDS_Shape, Length: float) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__( + self, + Sbase: TopoDS_Shape, + Pbase: TopoDS_Shape, + Skface: TopoDS_Face, + Direction: gp_Dir, + Fuse: int, + Modify: bool, + ) -> None: ... + def Add(self, E: TopoDS_Edge, OnFace: TopoDS_Face) -> None: ... + def BarycCurve(self) -> Geom_Curve: ... + def Curves(self, S: TColGeom_SequenceOfCurve) -> None: ... + def Init( + self, + Sbase: TopoDS_Shape, + Pbase: TopoDS_Shape, + Skface: TopoDS_Face, + Direction: gp_Dir, + Fuse: int, + Modify: bool, + ) -> None: ... + @overload + def Perform(self, Length: float) -> None: ... + @overload + def Perform(self, Until: TopoDS_Shape) -> None: ... + @overload + def Perform(self, From: TopoDS_Shape, Until: TopoDS_Shape) -> None: ... + def PerformFromEnd(self, FUntil: TopoDS_Shape) -> None: ... + def PerformThruAll(self) -> None: ... + def PerformUntilEnd(self) -> None: ... + def PerformUntilHeight(self, Until: TopoDS_Shape, Length: float) -> None: ... class BRepFeat_MakeRevol(BRepFeat_Form): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, Sbase: TopoDS_Shape, Pbase: TopoDS_Shape, Skface: TopoDS_Face, Axis: gp_Ax1, Fuse: int, Modify: bool) -> None: ... - def Add(self, E: TopoDS_Edge, OnFace: TopoDS_Face) -> None: ... - def BarycCurve(self) -> Geom_Curve: ... - def Curves(self, S: TColGeom_SequenceOfCurve) -> None: ... - def Init(self, Sbase: TopoDS_Shape, Pbase: TopoDS_Shape, Skface: TopoDS_Face, Axis: gp_Ax1, Fuse: int, Modify: bool) -> None: ... - @overload - def Perform(self, Angle: float) -> None: ... - @overload - def Perform(self, Until: TopoDS_Shape) -> None: ... - @overload - def Perform(self, From: TopoDS_Shape, Until: TopoDS_Shape) -> None: ... - def PerformThruAll(self) -> None: ... - def PerformUntilAngle(self, Until: TopoDS_Shape, Angle: float) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__( + self, + Sbase: TopoDS_Shape, + Pbase: TopoDS_Shape, + Skface: TopoDS_Face, + Axis: gp_Ax1, + Fuse: int, + Modify: bool, + ) -> None: ... + def Add(self, E: TopoDS_Edge, OnFace: TopoDS_Face) -> None: ... + def BarycCurve(self) -> Geom_Curve: ... + def Curves(self, S: TColGeom_SequenceOfCurve) -> None: ... + def Init( + self, + Sbase: TopoDS_Shape, + Pbase: TopoDS_Shape, + Skface: TopoDS_Face, + Axis: gp_Ax1, + Fuse: int, + Modify: bool, + ) -> None: ... + @overload + def Perform(self, Angle: float) -> None: ... + @overload + def Perform(self, Until: TopoDS_Shape) -> None: ... + @overload + def Perform(self, From: TopoDS_Shape, Until: TopoDS_Shape) -> None: ... + def PerformThruAll(self) -> None: ... + def PerformUntilAngle(self, Until: TopoDS_Shape, Angle: float) -> None: ... class BRepFeat_MakeRevolutionForm(BRepFeat_RibSlot): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, Sbase: TopoDS_Shape, W: TopoDS_Wire, Plane: Geom_Plane, Axis: gp_Ax1, Height1: float, Height2: float, Fuse: int) -> bool: ... - def Add(self, E: TopoDS_Edge, OnFace: TopoDS_Face) -> None: ... - def Init(self, Sbase: TopoDS_Shape, W: TopoDS_Wire, Plane: Geom_Plane, Axis: gp_Ax1, Height1: float, Height2: float, Fuse: int) -> bool: ... - def Perform(self) -> None: ... - def Propagate(self, L: TopTools_ListOfShape, F: TopoDS_Face, FPoint: gp_Pnt, LPoint: gp_Pnt) -> Tuple[bool, bool]: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__( + self, + Sbase: TopoDS_Shape, + W: TopoDS_Wire, + Plane: Geom_Plane, + Axis: gp_Ax1, + Height1: float, + Height2: float, + Fuse: int, + ) -> bool: ... + def Add(self, E: TopoDS_Edge, OnFace: TopoDS_Face) -> None: ... + def Init( + self, + Sbase: TopoDS_Shape, + W: TopoDS_Wire, + Plane: Geom_Plane, + Axis: gp_Ax1, + Height1: float, + Height2: float, + Fuse: int, + ) -> bool: ... + def Perform(self) -> None: ... + def Propagate( + self, L: TopTools_ListOfShape, F: TopoDS_Face, FPoint: gp_Pnt, LPoint: gp_Pnt + ) -> Tuple[bool, bool]: ... # harray1 classes # harray2 classes # hsequence classes - -brepfeat_Barycenter = brepfeat.Barycenter -brepfeat_FaceUntil = brepfeat.FaceUntil -brepfeat_IsInside = brepfeat.IsInside -brepfeat_ParametricBarycenter = brepfeat.ParametricBarycenter -brepfeat_ParametricMinMax = brepfeat.ParametricMinMax -brepfeat_Print = brepfeat.Print -brepfeat_SampleEdges = brepfeat.SampleEdges -brepfeat_Tool = brepfeat.Tool -BRepFeat_RibSlot_ChoiceOfFaces = BRepFeat_RibSlot.ChoiceOfFaces -BRepFeat_RibSlot_IntPar = BRepFeat_RibSlot.IntPar diff --git a/src/SWIG_files/wrapper/BRepFill.i b/src/SWIG_files/wrapper/BRepFill.i index 21dae4615..14f6015ca 100644 --- a/src/SWIG_files/wrapper/BRepFill.i +++ b/src/SWIG_files/wrapper/BRepFill.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPFILLDOCSTRING "BRepFill module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepfill.html" +https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_brepfill.html" %enddef %module (package="OCC.Core", docstring=BREPFILLDOCSTRING) BRepFill @@ -31,8 +31,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepfill.html" %include ../common/CommonIncludes.i %include ../common/ExceptionCatcher.i %include ../common/FunctionTransformers.i +%include ../common/EnumTemplates.i %include ../common/Operators.i %include ../common/OccHandle.i +%include ../common/IOStream.i +%include ../common/ArrayMacros.i %{ @@ -41,8 +44,8 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepfill.html" //Dependencies #include #include -#include #include +#include #include #include #include @@ -80,8 +83,8 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepfill.html" %}; %import Standard.i %import NCollection.i -%import TopTools.i %import MAT.i +%import TopTools.i %import TopoDS.i %import gp.i %import TColStd.i @@ -104,10 +107,14 @@ from OCC.Core.Exception import * }; /* public enums */ -enum BRepFill_TypeOfContact { - BRepFill_NoContact = 0, - BRepFill_Contact = 1, - BRepFill_ContactOnBorder = 2, +enum BRepFill_ThruSectionErrorStatus { + BRepFill_ThruSectionErrorStatus_Done = 0, + BRepFill_ThruSectionErrorStatus_NotDone = 1, + BRepFill_ThruSectionErrorStatus_NotSameTopology = 2, + BRepFill_ThruSectionErrorStatus_ProfilesInconsistent = 3, + BRepFill_ThruSectionErrorStatus_WrongUsage = 4, + BRepFill_ThruSectionErrorStatus_Null3DCurve = 5, + BRepFill_ThruSectionErrorStatus_Failed = 6, }; enum BRepFill_TransitionStyle { @@ -116,18 +123,32 @@ enum BRepFill_TransitionStyle { BRepFill_Round = 2, }; +enum BRepFill_TypeOfContact { + BRepFill_NoContact = 0, + BRepFill_Contact = 1, + BRepFill_ContactOnBorder = 2, +}; + /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { -class BRepFill_TypeOfContact(IntEnum): - BRepFill_NoContact = 0 - BRepFill_Contact = 1 - BRepFill_ContactOnBorder = 2 -BRepFill_NoContact = BRepFill_TypeOfContact.BRepFill_NoContact -BRepFill_Contact = BRepFill_TypeOfContact.BRepFill_Contact -BRepFill_ContactOnBorder = BRepFill_TypeOfContact.BRepFill_ContactOnBorder +class BRepFill_ThruSectionErrorStatus(IntEnum): + BRepFill_ThruSectionErrorStatus_Done = 0 + BRepFill_ThruSectionErrorStatus_NotDone = 1 + BRepFill_ThruSectionErrorStatus_NotSameTopology = 2 + BRepFill_ThruSectionErrorStatus_ProfilesInconsistent = 3 + BRepFill_ThruSectionErrorStatus_WrongUsage = 4 + BRepFill_ThruSectionErrorStatus_Null3DCurve = 5 + BRepFill_ThruSectionErrorStatus_Failed = 6 +BRepFill_ThruSectionErrorStatus_Done = BRepFill_ThruSectionErrorStatus.BRepFill_ThruSectionErrorStatus_Done +BRepFill_ThruSectionErrorStatus_NotDone = BRepFill_ThruSectionErrorStatus.BRepFill_ThruSectionErrorStatus_NotDone +BRepFill_ThruSectionErrorStatus_NotSameTopology = BRepFill_ThruSectionErrorStatus.BRepFill_ThruSectionErrorStatus_NotSameTopology +BRepFill_ThruSectionErrorStatus_ProfilesInconsistent = BRepFill_ThruSectionErrorStatus.BRepFill_ThruSectionErrorStatus_ProfilesInconsistent +BRepFill_ThruSectionErrorStatus_WrongUsage = BRepFill_ThruSectionErrorStatus.BRepFill_ThruSectionErrorStatus_WrongUsage +BRepFill_ThruSectionErrorStatus_Null3DCurve = BRepFill_ThruSectionErrorStatus.BRepFill_ThruSectionErrorStatus_Null3DCurve +BRepFill_ThruSectionErrorStatus_Failed = BRepFill_ThruSectionErrorStatus.BRepFill_ThruSectionErrorStatus_Failed class BRepFill_TransitionStyle(IntEnum): BRepFill_Modified = 0 @@ -136,6 +157,14 @@ class BRepFill_TransitionStyle(IntEnum): BRepFill_Modified = BRepFill_TransitionStyle.BRepFill_Modified BRepFill_Right = BRepFill_TransitionStyle.BRepFill_Right BRepFill_Round = BRepFill_TransitionStyle.BRepFill_Round + +class BRepFill_TypeOfContact(IntEnum): + BRepFill_NoContact = 0 + BRepFill_Contact = 1 + BRepFill_ContactOnBorder = 2 +BRepFill_NoContact = BRepFill_TypeOfContact.BRepFill_NoContact +BRepFill_Contact = BRepFill_TypeOfContact.BRepFill_Contact +BRepFill_ContactOnBorder = BRepFill_TypeOfContact.BRepFill_ContactOnBorder }; /* end python proxy for enums */ @@ -153,14 +182,14 @@ BRepFill_Round = BRepFill_TransitionStyle.BRepFill_Round /* end handles declaration */ /* templates */ -%template(BRepFill_DataMapOfNodeDataMapOfShapeShape) NCollection_DataMap,TopTools_DataMapOfShapeShape,TColStd_MapTransientHasher>; -%template(BRepFill_DataMapOfNodeShape) NCollection_DataMap,TopoDS_Shape,TColStd_MapTransientHasher>; -%template(BRepFill_DataMapOfOrientedShapeListOfShape) NCollection_DataMap; +%template(BRepFill_DataMapOfNodeDataMapOfShapeShape) NCollection_DataMap,TopTools_DataMapOfShapeShape>; +%template(BRepFill_DataMapOfNodeShape) NCollection_DataMap,TopoDS_Shape>; +%template(BRepFill_DataMapOfOrientedShapeListOfShape) NCollection_DataMap; %template(BRepFill_DataMapOfShapeDataMapOfShapeListOfShape) NCollection_DataMap; %template(BRepFill_DataMapOfShapeHArray2OfShape) NCollection_DataMap,TopTools_ShapeMapHasher>; %template(BRepFill_DataMapOfShapeSequenceOfPnt) NCollection_DataMap; %template(BRepFill_DataMapOfShapeSequenceOfReal) NCollection_DataMap; -%template(BRepFill_IndexedDataMapOfOrientedShapeListOfShape) NCollection_IndexedDataMap; +%template(BRepFill_IndexedDataMapOfOrientedShapeListOfShape) NCollection_IndexedDataMap; %template(BRepFill_ListIteratorOfListOfOffsetWire) NCollection_TListIterator; %template(BRepFill_ListOfOffsetWire) NCollection_List; @@ -168,6 +197,12 @@ BRepFill_Round = BRepFill_TransitionStyle.BRepFill_Round %pythoncode { def __len__(self): return self.Size() + + def __iter__(self): + it = BRepFill_ListIteratorOfListOfOffsetWire(self.this) + while it.More(): + yield it.Value() + it.Next() } }; %template(BRepFill_SequenceOfEdgeFaceAndOrder) NCollection_Sequence; @@ -197,21 +232,21 @@ BRepFill_Round = BRepFill_TransitionStyle.BRepFill_Round /* end templates declaration */ /* typedefs */ -typedef NCollection_DataMap, TopTools_DataMapOfShapeShape, TColStd_MapTransientHasher>::Iterator BRepFill_DataMapIteratorOfDataMapOfNodeDataMapOfShapeShape; -typedef NCollection_DataMap, TopoDS_Shape, TColStd_MapTransientHasher>::Iterator BRepFill_DataMapIteratorOfDataMapOfNodeShape; -typedef NCollection_DataMap::Iterator BRepFill_DataMapIteratorOfDataMapOfOrientedShapeListOfShape; +typedef NCollection_DataMap, TopTools_DataMapOfShapeShape>::Iterator BRepFill_DataMapIteratorOfDataMapOfNodeDataMapOfShapeShape; +typedef NCollection_DataMap, TopoDS_Shape>::Iterator BRepFill_DataMapIteratorOfDataMapOfNodeShape; +typedef NCollection_DataMap::Iterator BRepFill_DataMapIteratorOfDataMapOfOrientedShapeListOfShape; typedef NCollection_DataMap::Iterator BRepFill_DataMapIteratorOfDataMapOfShapeDataMapOfShapeListOfShape; typedef NCollection_DataMap, TopTools_ShapeMapHasher>::Iterator BRepFill_DataMapIteratorOfDataMapOfShapeHArray2OfShape; typedef NCollection_DataMap::Iterator BRepFill_DataMapIteratorOfDataMapOfShapeSequenceOfPnt; typedef NCollection_DataMap::Iterator BRepFill_DataMapIteratorOfDataMapOfShapeSequenceOfReal; -typedef NCollection_DataMap, TopTools_DataMapOfShapeShape, TColStd_MapTransientHasher> BRepFill_DataMapOfNodeDataMapOfShapeShape; -typedef NCollection_DataMap, TopoDS_Shape, TColStd_MapTransientHasher> BRepFill_DataMapOfNodeShape; -typedef NCollection_DataMap BRepFill_DataMapOfOrientedShapeListOfShape; +typedef NCollection_DataMap, TopTools_DataMapOfShapeShape> BRepFill_DataMapOfNodeDataMapOfShapeShape; +typedef NCollection_DataMap, TopoDS_Shape> BRepFill_DataMapOfNodeShape; +typedef NCollection_DataMap BRepFill_DataMapOfOrientedShapeListOfShape; typedef NCollection_DataMap BRepFill_DataMapOfShapeDataMapOfShapeListOfShape; typedef NCollection_DataMap, TopTools_ShapeMapHasher> BRepFill_DataMapOfShapeHArray2OfShape; typedef NCollection_DataMap BRepFill_DataMapOfShapeSequenceOfPnt; typedef NCollection_DataMap BRepFill_DataMapOfShapeSequenceOfReal; -typedef NCollection_IndexedDataMap BRepFill_IndexedDataMapOfOrientedShapeListOfShape; +typedef NCollection_IndexedDataMap BRepFill_IndexedDataMapOfOrientedShapeListOfShape; typedef NCollection_List::Iterator BRepFill_ListIteratorOfListOfOffsetWire; typedef NCollection_List BRepFill_ListOfOffsetWire; typedef NCollection_Sequence BRepFill_SequenceOfEdgeFaceAndOrder; @@ -225,11 +260,10 @@ typedef NCollection_Sequence BRepFill_SequenceOfSection; %rename(brepfill) BRepFill; class BRepFill { public: - /****************** Axe ******************/ - /**** md5 signature: 5066bf0a1bf31230a49bcd8154518ee5 ****/ + /****** BRepFill::Axe ******/ + /****** md5 signature: 5066bf0a1bf31230a49bcd8154518ee5 ******/ %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", " Parameters ---------- Spine: TopoDS_Shape @@ -237,74 +271,90 @@ Profile: TopoDS_Wire AxeProf: gp_Ax3 Tol: float -Returns +Return ------- ProfOnSpine: bool + +Description +----------- +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. ") Axe; static void Axe(const TopoDS_Shape & Spine, const TopoDS_Wire & Profile, gp_Ax3 & AxeProf, Standard_Boolean &OutValue, const Standard_Real Tol); - /****************** ComputeACR ******************/ - /**** md5 signature: 4db89150ae3d82fd512df64018024851 ****/ + /****** BRepFill::ComputeACR ******/ + /****** md5 signature: 4db89150ae3d82fd512df64018024851 ******/ %feature("compactdefaultargs") ComputeACR; - %feature("autodoc", "Compute acr on a wire. - + %feature("autodoc", " Parameters ---------- wire: TopoDS_Wire ACR: TColStd_Array1OfReal -Returns +Return ------- None + +Description +----------- +Compute ACR on a wire. ") ComputeACR; static void ComputeACR(const TopoDS_Wire & wire, TColStd_Array1OfReal & ACR); - /****************** Face ******************/ - /**** md5 signature: d63ae9062edc6e9968525d33571f93de ****/ + /****** BRepFill::Face ******/ + /****** md5 signature: d63ae9062edc6e9968525d33571f93de ******/ %feature("compactdefaultargs") Face; - %feature("autodoc", "Computes a ruled surface between two edges. - + %feature("autodoc", " Parameters ---------- Edge1: TopoDS_Edge Edge2: TopoDS_Edge -Returns +Return ------- TopoDS_Face + +Description +----------- +Computes a ruled surface between two edges. ") Face; static TopoDS_Face Face(const TopoDS_Edge & Edge1, const TopoDS_Edge & Edge2); - /****************** InsertACR ******************/ - /**** md5 signature: 0819589e0db11915fe8ccc0f2db00289 ****/ + /****** BRepFill::InsertACR ******/ + /****** md5 signature: 0819589e0db11915fe8ccc0f2db00289 ******/ %feature("compactdefaultargs") InsertACR; - %feature("autodoc", "Insert acr on a wire. - + %feature("autodoc", " Parameters ---------- wire: TopoDS_Wire ACRcuts: TColStd_Array1OfReal prec: float -Returns +Return ------- TopoDS_Wire + +Description +----------- +Insert ACR on a wire. ") InsertACR; static TopoDS_Wire InsertACR(const TopoDS_Wire & wire, const TColStd_Array1OfReal & ACRcuts, const Standard_Real prec); - /****************** Shell ******************/ - /**** md5 signature: 88d6b874e94f58733b1bc7baa4c7ea78 ****/ + /****** BRepFill::Shell ******/ + /****** md5 signature: 88d6b874e94f58733b1bc7baa4c7ea78 ******/ %feature("compactdefaultargs") Shell; - %feature("autodoc", "Computes a ruled surface between two wires. the wires must have the same number of edges. - + %feature("autodoc", " Parameters ---------- Wire1: TopoDS_Wire Wire2: TopoDS_Wire -Returns +Return ------- TopoDS_Shell + +Description +----------- +Computes a ruled surface between two wires. The wires must have the same number of edges. ") Shell; static TopoDS_Shell Shell(const TopoDS_Wire & Wire1, const TopoDS_Wire & Wire2); @@ -322,90 +372,104 @@ TopoDS_Shell *********************************/ class BRepFill_AdvancedEvolved { public: - /****************** BRepFill_AdvancedEvolved ******************/ - /**** md5 signature: de66ae3cdf69d9d623f47984cdb95d29 ****/ + /****** BRepFill_AdvancedEvolved::BRepFill_AdvancedEvolved ******/ + /****** md5 signature: de66ae3cdf69d9d623f47984cdb95d29 ******/ %feature("compactdefaultargs") BRepFill_AdvancedEvolved; - %feature("autodoc", "Constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Constructor. ") BRepFill_AdvancedEvolved; BRepFill_AdvancedEvolved(); - /****************** IsDone ******************/ - /**** md5 signature: 04d3ce368655bc93ea2a356898208e17 ****/ + /****** BRepFill_AdvancedEvolved::IsDone ******/ + /****** md5 signature: 04d3ce368655bc93ea2a356898208e17 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -theErrorCode: unsigned int *,optional - default value is 0 +theErrorCode: unsigned int * (optional, default to 0) -Returns +Return ------- bool + +Description +----------- +No available documentation. ") IsDone; Standard_Boolean IsDone(unsigned int * theErrorCode = 0); - /****************** Perform ******************/ - /**** md5 signature: 88613f19a0986c9af1e44552cf871df2 ****/ + /****** BRepFill_AdvancedEvolved::Perform ******/ + /****** md5 signature: 88613f19a0986c9af1e44552cf871df2 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theSpine: TopoDS_Wire theProfile: TopoDS_Wire theTolerance: float -theSolidReq: bool,optional - default value is Standard_True +theSolidReq: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +No available documentation. ") Perform; void Perform(const TopoDS_Wire & theSpine, const TopoDS_Wire & theProfile, const Standard_Real theTolerance, const Standard_Boolean theSolidReq = Standard_True); - /****************** SetParallelMode ******************/ - /**** md5 signature: a48577b543b1abcd5b5b83650e3dcd40 ****/ + /****** BRepFill_AdvancedEvolved::SetParallelMode ******/ + /****** md5 signature: a48577b543b1abcd5b5b83650e3dcd40 ******/ %feature("compactdefaultargs") SetParallelMode; - %feature("autodoc", "Sets/unsets computation in parallel mode. - + %feature("autodoc", " Parameters ---------- theVal: bool -Returns +Return ------- None + +Description +----------- +Sets/Unsets computation in parallel mode. ") SetParallelMode; void SetParallelMode(const Standard_Boolean theVal); - /****************** SetTemporaryDirectory ******************/ - /**** md5 signature: 21483a70923e54cef6dc15c9ef320f8d ****/ + /****** BRepFill_AdvancedEvolved::SetTemporaryDirectory ******/ + /****** md5 signature: 21483a70923e54cef6dc15c9ef320f8d ******/ %feature("compactdefaultargs") SetTemporaryDirectory; - %feature("autodoc", "Sets directory where the debug shapes will be saved. - + %feature("autodoc", " Parameters ---------- -thePath: char * +thePath: str -Returns +Return ------- None + +Description +----------- +Sets directory where the debug shapes will be saved. ") SetTemporaryDirectory; - void SetTemporaryDirectory(const char * & thePath); + void SetTemporaryDirectory(Standard_CString thePath); - /****************** Shape ******************/ - /**** md5 signature: 1058569f5d639354fedf11e73741b7df ****/ + /****** BRepFill_AdvancedEvolved::Shape ******/ + /****** md5 signature: 1058569f5d639354fedf11e73741b7df ******/ %feature("compactdefaultargs") Shape; - %feature("autodoc", "Returns the resulting shape. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +returns the resulting shape. ") Shape; const TopoDS_Shape Shape(); @@ -423,88 +487,104 @@ TopoDS_Shape *******************************/ class BRepFill_ApproxSeewing { public: - /****************** BRepFill_ApproxSeewing ******************/ - /**** md5 signature: b6c908b616aa82002854711d3e47ceff ****/ + /****** BRepFill_ApproxSeewing::BRepFill_ApproxSeewing ******/ + /****** md5 signature: b6c908b616aa82002854711d3e47ceff ******/ %feature("compactdefaultargs") BRepFill_ApproxSeewing; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepFill_ApproxSeewing; BRepFill_ApproxSeewing(); - /****************** BRepFill_ApproxSeewing ******************/ - /**** md5 signature: 4a2e8c7becb8b1caa500e572e0160bf9 ****/ + /****** BRepFill_ApproxSeewing::BRepFill_ApproxSeewing ******/ + /****** md5 signature: 4a2e8c7becb8b1caa500e572e0160bf9 ******/ %feature("compactdefaultargs") BRepFill_ApproxSeewing; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- ML: BRepFill_MultiLine -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepFill_ApproxSeewing; BRepFill_ApproxSeewing(const BRepFill_MultiLine & ML); - /****************** Curve ******************/ - /**** md5 signature: 976a03829ec92d091e0b58dd7f58e869 ****/ + /****** BRepFill_ApproxSeewing::Curve ******/ + /****** md5 signature: 976a03829ec92d091e0b58dd7f58e869 ******/ %feature("compactdefaultargs") Curve; - %feature("autodoc", "Returns the approximation of the 3d curve. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +returns the approximation of the 3d Curve. ") Curve; const opencascade::handle & Curve(); - /****************** CurveOnF1 ******************/ - /**** md5 signature: 3369c82f423ee0cfc8f0ec4f137a55f4 ****/ + /****** BRepFill_ApproxSeewing::CurveOnF1 ******/ + /****** md5 signature: 3369c82f423ee0cfc8f0ec4f137a55f4 ******/ %feature("compactdefaultargs") CurveOnF1; - %feature("autodoc", "Returns the approximation of the pcurve on the first face of the multiline. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +returns the approximation of the PCurve on the first face of the MultiLine. ") CurveOnF1; const opencascade::handle & CurveOnF1(); - /****************** CurveOnF2 ******************/ - /**** md5 signature: 45c6de84c8d94f080f62b4c4f2add37e ****/ + /****** BRepFill_ApproxSeewing::CurveOnF2 ******/ + /****** md5 signature: 45c6de84c8d94f080f62b4c4f2add37e ******/ %feature("compactdefaultargs") CurveOnF2; - %feature("autodoc", "Returns the approximation of the pcurve on the first face of the multiline. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +returns the approximation of the PCurve on the first face of the MultiLine. ") CurveOnF2; const opencascade::handle & CurveOnF2(); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** BRepFill_ApproxSeewing::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsDone; Standard_Boolean IsDone(); - /****************** Perform ******************/ - /**** md5 signature: 7dae4f24d8e972b63f7656fd42784a35 ****/ + /****** BRepFill_ApproxSeewing::Perform ******/ + /****** md5 signature: 7dae4f24d8e972b63f7656fd42784a35 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- ML: BRepFill_MultiLine -Returns +Return ------- None + +Description +----------- +No available documentation. ") Perform; void Perform(const BRepFill_MultiLine & ML); @@ -522,146 +602,184 @@ None *********************************/ class BRepFill_CompatibleWires { public: - /****************** BRepFill_CompatibleWires ******************/ - /**** md5 signature: 55c08213e487fac27bfa21c6cd7ea46e ****/ + /****** BRepFill_CompatibleWires::BRepFill_CompatibleWires ******/ + /****** md5 signature: 55c08213e487fac27bfa21c6cd7ea46e ******/ %feature("compactdefaultargs") BRepFill_CompatibleWires; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepFill_CompatibleWires; BRepFill_CompatibleWires(); - /****************** BRepFill_CompatibleWires ******************/ - /**** md5 signature: 4cd5f0fde1f6cd47ff46ea0a75d3d42e ****/ + /****** BRepFill_CompatibleWires::BRepFill_CompatibleWires ******/ + /****** md5 signature: 4cd5f0fde1f6cd47ff46ea0a75d3d42e ******/ %feature("compactdefaultargs") BRepFill_CompatibleWires; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Sections: TopTools_SequenceOfShape -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepFill_CompatibleWires; BRepFill_CompatibleWires(const TopTools_SequenceOfShape & Sections); - /****************** Generated ******************/ - /**** md5 signature: 176507b5ffd0100ab7a88bdc3ba1ff71 ****/ + /****** BRepFill_CompatibleWires::Generated ******/ + /****** md5 signature: 176507b5ffd0100ab7a88bdc3ba1ff71 ******/ %feature("compactdefaultargs") Generated; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopTools_DataMapOfShapeListOfShape + +Description +----------- +No available documentation. ") Generated; const TopTools_DataMapOfShapeListOfShape & Generated(); - /****************** GeneratedShapes ******************/ - /**** md5 signature: 5dcd274faa3f647473f032e7defdf0c3 ****/ + /****** BRepFill_CompatibleWires::GeneratedShapes ******/ + /****** md5 signature: 5dcd274faa3f647473f032e7defdf0c3 ******/ %feature("compactdefaultargs") GeneratedShapes; - %feature("autodoc", "Returns the shapes created from a subshape of a section. - + %feature("autodoc", " Parameters ---------- SubSection: TopoDS_Edge -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Returns the shapes created from a subshape of a section. ") GeneratedShapes; const TopTools_ListOfShape & GeneratedShapes(const TopoDS_Edge & SubSection); - /****************** Init ******************/ - /**** md5 signature: 217046dd3125fb37abc6e15803e209f1 ****/ - %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. + /****** BRepFill_CompatibleWires::GetStatus ******/ + /****** md5 signature: d01d66bd030c1232d59d2b7253fc3b10 ******/ + %feature("compactdefaultargs") GetStatus; + %feature("autodoc", "Return +------- +BRepFill_ThruSectionErrorStatus + +Description +----------- +No available documentation. +") GetStatus; + BRepFill_ThruSectionErrorStatus GetStatus(); + /****** BRepFill_CompatibleWires::Init ******/ + /****** md5 signature: 217046dd3125fb37abc6e15803e209f1 ******/ + %feature("compactdefaultargs") Init; + %feature("autodoc", " Parameters ---------- Sections: TopTools_SequenceOfShape -Returns +Return ------- None + +Description +----------- +No available documentation. ") Init; void Init(const TopTools_SequenceOfShape & Sections); - /****************** IsDegeneratedFirstSection ******************/ - /**** md5 signature: 3a477c0ee0e113cb31ef37b01884007c ****/ + /****** BRepFill_CompatibleWires::IsDegeneratedFirstSection ******/ + /****** md5 signature: 3a477c0ee0e113cb31ef37b01884007c ******/ %feature("compactdefaultargs") IsDegeneratedFirstSection; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsDegeneratedFirstSection; Standard_Boolean IsDegeneratedFirstSection(); - /****************** IsDegeneratedLastSection ******************/ - /**** md5 signature: 3efc39e10dd4ffdc769475ccbdfc0853 ****/ + /****** BRepFill_CompatibleWires::IsDegeneratedLastSection ******/ + /****** md5 signature: 3efc39e10dd4ffdc769475ccbdfc0853 ******/ %feature("compactdefaultargs") IsDegeneratedLastSection; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsDegeneratedLastSection; Standard_Boolean IsDegeneratedLastSection(); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** BRepFill_CompatibleWires::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsDone; Standard_Boolean IsDone(); - /****************** Perform ******************/ - /**** md5 signature: f94f3c6634f53a2788ea3841219abc1e ****/ + /****** BRepFill_CompatibleWires::Perform ******/ + /****** md5 signature: f94f3c6634f53a2788ea3841219abc1e ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Performs compatiblewires according to the orientation and the origin of each other. - + %feature("autodoc", " Parameters ---------- -WithRotation: bool,optional - default value is Standard_True +WithRotation: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +Performs CompatibleWires According to the orientation and the origin of each other. ") Perform; void Perform(const Standard_Boolean WithRotation = Standard_True); - /****************** SetPercent ******************/ - /**** md5 signature: d05be61ce868366e26cb62736833d711 ****/ + /****** BRepFill_CompatibleWires::SetPercent ******/ + /****** md5 signature: d05be61ce868366e26cb62736833d711 ******/ %feature("compactdefaultargs") SetPercent; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -percent: float,optional - default value is 0.01 +percent: float (optional, default to 0.01) -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetPercent; void SetPercent(const Standard_Real percent = 0.01); - /****************** Shape ******************/ - /**** md5 signature: ca3dbe5cb613e6a993649b413b6e3cda ****/ + /****** BRepFill_CompatibleWires::Shape ******/ + /****** md5 signature: ca3dbe5cb613e6a993649b413b6e3cda ******/ %feature("compactdefaultargs") Shape; - %feature("autodoc", "Returns the generated sequence. - -Returns + %feature("autodoc", "Return ------- TopTools_SequenceOfShape + +Description +----------- +returns the generated sequence. ") Shape; const TopTools_SequenceOfShape & Shape(); @@ -679,249 +797,276 @@ TopTools_SequenceOfShape ******************************/ class BRepFill_ComputeCLine { public: - /****************** BRepFill_ComputeCLine ******************/ - /**** md5 signature: b39b808be258e6d42211fb37c89d3426 ****/ + /****** BRepFill_ComputeCLine::BRepFill_ComputeCLine ******/ + /****** md5 signature: b39b808be258e6d42211fb37c89d3426 ******/ %feature("compactdefaultargs") BRepFill_ComputeCLine; - %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. - + %feature("autodoc", " Parameters ---------- Line: BRepFill_MultiLine -degreemin: int,optional - default value is 3 -degreemax: int,optional - default value is 8 -Tolerance3d: float,optional - default value is 1.0e-5 -Tolerance2d: float,optional - default value is 1.0e-5 -cutting: bool,optional - default value is Standard_False -FirstC: AppParCurves_Constraint,optional - default value is AppParCurves_TangencyPoint -LastC: AppParCurves_Constraint,optional - default value is AppParCurves_TangencyPoint - -Returns +degreemin: int (optional, default to 3) +degreemax: int (optional, default to 8) +Tolerance3d: float (optional, default to 1.0e-5) +Tolerance2d: float (optional, default to 1.0e-5) +cutting: bool (optional, default to Standard_False) +FirstC: AppParCurves_Constraint (optional, default to AppParCurves_TangencyPoint) +LastC: AppParCurves_Constraint (optional, default to AppParCurves_TangencyPoint) + +Return ------- None + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 522061d3b3840a1c3fe490daa3023387 ****/ + /****** BRepFill_ComputeCLine::BRepFill_ComputeCLine ******/ + /****** md5 signature: 522061d3b3840a1c3fe490daa3023387 ******/ %feature("compactdefaultargs") BRepFill_ComputeCLine; - %feature("autodoc", "Initializes the fields of the algorithm. - + %feature("autodoc", " Parameters ---------- -degreemin: int,optional - default value is 3 -degreemax: int,optional - default value is 8 -Tolerance3d: float,optional - default value is 1.0e-05 -Tolerance2d: float,optional - default value is 1.0e-05 -cutting: bool,optional - default value is Standard_False -FirstC: AppParCurves_Constraint,optional - default value is AppParCurves_TangencyPoint -LastC: AppParCurves_Constraint,optional - default value is AppParCurves_TangencyPoint +degreemin: int (optional, default to 3) +degreemax: int (optional, default to 8) +Tolerance3d: float (optional, default to 1.0e-05) +Tolerance2d: float (optional, default to 1.0e-05) +cutting: bool (optional, default to Standard_False) +FirstC: AppParCurves_Constraint (optional, default to AppParCurves_TangencyPoint) +LastC: AppParCurves_Constraint (optional, default to AppParCurves_TangencyPoint) -Returns +Return ------- None + +Description +----------- +Initializes the fields of the algorithm. ") 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); - /****************** Error ******************/ - /**** md5 signature: 6a8061230005ba951097d8b73e7dbec6 ****/ + /****** BRepFill_ComputeCLine::Error ******/ + /****** md5 signature: 6a8061230005ba951097d8b73e7dbec6 ******/ %feature("compactdefaultargs") Error; - %feature("autodoc", "Returns the tolerances 2d and 3d of the multicurve. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- tol3d: float tol2d: float + +Description +----------- +returns the tolerances 2d and 3d of the MultiCurve. ") Error; void Error(const Standard_Integer Index, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** IsAllApproximated ******************/ - /**** md5 signature: bf42a9f9ee3a867655d96a0c1fdcd853 ****/ + /****** BRepFill_ComputeCLine::IsAllApproximated ******/ + /****** md5 signature: bf42a9f9ee3a867655d96a0c1fdcd853 ******/ %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. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns False if at a moment of the approximation, the status NoApproximation has been sent by the user when more points were needed. ") IsAllApproximated; Standard_Boolean IsAllApproximated(); - /****************** IsToleranceReached ******************/ - /**** md5 signature: cbd7380250e74c96655b10c8025eb873 ****/ + /****** BRepFill_ComputeCLine::IsToleranceReached ******/ + /****** md5 signature: cbd7380250e74c96655b10c8025eb873 ******/ %feature("compactdefaultargs") IsToleranceReached; - %feature("autodoc", "Returns false if the status nopointsadded has been sent. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns False if the status NoPointsAdded has been sent. ") IsToleranceReached; Standard_Boolean IsToleranceReached(); - /****************** NbMultiCurves ******************/ - /**** md5 signature: 944d4af40d93d46a8a3a888df2d8b388 ****/ + /****** BRepFill_ComputeCLine::NbMultiCurves ******/ + /****** md5 signature: 944d4af40d93d46a8a3a888df2d8b388 ******/ %feature("compactdefaultargs") NbMultiCurves; - %feature("autodoc", "Returns the number of multicurve doing the approximation of the multiline. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns the number of MultiCurve doing the approximation of the MultiLine. ") NbMultiCurves; Standard_Integer NbMultiCurves(); - /****************** Parameters ******************/ - /**** md5 signature: da3dbf6a597566992bf85427f2de867b ****/ + /****** BRepFill_ComputeCLine::Parameters ******/ + /****** md5 signature: da3dbf6a597566992bf85427f2de867b ******/ %feature("compactdefaultargs") Parameters; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- firstp: float lastp: float + +Description +----------- +No available documentation. ") Parameters; void Parameters(const Standard_Integer Index, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** Perform ******************/ - /**** md5 signature: 433c11a1cebf588552fe8d01e07bfc91 ****/ + /****** BRepFill_ComputeCLine::Perform ******/ + /****** md5 signature: 433c11a1cebf588552fe8d01e07bfc91 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Runs the algorithm after having initialized the fields. - + %feature("autodoc", " Parameters ---------- Line: BRepFill_MultiLine -Returns +Return ------- None + +Description +----------- +runs the algorithm after having initialized the fields. ") Perform; void Perform(const BRepFill_MultiLine & Line); - /****************** SetConstraints ******************/ - /**** md5 signature: 99b92dc193142adf44568f800cd394dc ****/ + /****** BRepFill_ComputeCLine::SetConstraints ******/ + /****** md5 signature: 99b92dc193142adf44568f800cd394dc ******/ %feature("compactdefaultargs") SetConstraints; - %feature("autodoc", "Changes the constraints of the approximation. - + %feature("autodoc", " Parameters ---------- FirstC: AppParCurves_Constraint LastC: AppParCurves_Constraint -Returns +Return ------- None + +Description +----------- +Changes the constraints of the approximation. ") SetConstraints; void SetConstraints(const AppParCurves_Constraint FirstC, const AppParCurves_Constraint LastC); - /****************** SetDegrees ******************/ - /**** md5 signature: 545fdd7d739fa58cc970e73d0413f8ef ****/ + /****** BRepFill_ComputeCLine::SetDegrees ******/ + /****** md5 signature: 545fdd7d739fa58cc970e73d0413f8ef ******/ %feature("compactdefaultargs") SetDegrees; - %feature("autodoc", "Changes the degrees of the approximation. - + %feature("autodoc", " Parameters ---------- degreemin: int degreemax: int -Returns +Return ------- None + +Description +----------- +changes the degrees of the approximation. ") SetDegrees; void SetDegrees(const Standard_Integer degreemin, const Standard_Integer degreemax); - /****************** SetHangChecking ******************/ - /**** md5 signature: 082382da7c6c3da9061b500893941826 ****/ + /****** BRepFill_ComputeCLine::SetHangChecking ******/ + /****** md5 signature: 082382da7c6c3da9061b500893941826 ******/ %feature("compactdefaultargs") SetHangChecking; - %feature("autodoc", "Set value of hang checking flag if this flag = true, possible hang of algorithm is checked and algorithm is forced to stop. by default hang checking is used. - + %feature("autodoc", " Parameters ---------- theHangChecking: bool -Returns +Return ------- None + +Description +----------- +Set value of hang checking flag if this flag = true, possible hang of algorithm is checked and algorithm is forced to stop. By default hang checking is used. ") SetHangChecking; void SetHangChecking(const Standard_Boolean theHangChecking); - /****************** SetInvOrder ******************/ - /**** md5 signature: 50bac5968816111fd573c6f1be407215 ****/ + /****** BRepFill_ComputeCLine::SetInvOrder ******/ + /****** md5 signature: 50bac5968816111fd573c6f1be407215 ******/ %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. - + %feature("autodoc", " Parameters ---------- theInvOrder: bool -Returns +Return ------- None + +Description +----------- +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. ") SetInvOrder; void SetInvOrder(const Standard_Boolean theInvOrder); - /****************** SetMaxSegments ******************/ - /**** md5 signature: 649dded305ab339e1c7f2a819b32eedd ****/ + /****** BRepFill_ComputeCLine::SetMaxSegments ******/ + /****** md5 signature: 649dded305ab339e1c7f2a819b32eedd ******/ %feature("compactdefaultargs") SetMaxSegments; - %feature("autodoc", "Changes the max number of segments, which is allowed for cutting. - + %feature("autodoc", " Parameters ---------- theMaxSegments: int -Returns +Return ------- None + +Description +----------- +Changes the max number of segments, which is allowed for cutting. ") SetMaxSegments; void SetMaxSegments(const Standard_Integer theMaxSegments); - /****************** SetTolerances ******************/ - /**** md5 signature: ce7879738ace848f7a3a27c56467be10 ****/ + /****** BRepFill_ComputeCLine::SetTolerances ******/ + /****** md5 signature: ce7879738ace848f7a3a27c56467be10 ******/ %feature("compactdefaultargs") SetTolerances; - %feature("autodoc", "Changes the tolerances of the approximation. - + %feature("autodoc", " Parameters ---------- Tolerance3d: float Tolerance2d: float -Returns +Return ------- None + +Description +----------- +Changes the tolerances of the approximation. ") SetTolerances; void SetTolerances(const Standard_Real Tolerance3d, const Standard_Real Tolerance2d); - /****************** Value ******************/ - /**** md5 signature: 89790f3ff3d6d18a45f409a34e79bd67 ****/ + /****** BRepFill_ComputeCLine::Value ******/ + /****** md5 signature: 89790f3ff3d6d18a45f409a34e79bd67 ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns the approximation multicurve of range . - + %feature("autodoc", " Parameters ---------- -Index: int,optional - default value is 1 +Index: int (optional, default to 1) -Returns +Return ------- AppParCurves_MultiCurve + +Description +----------- +returns the approximation MultiCurve of range . ") Value; AppParCurves_MultiCurve Value(const Standard_Integer Index = 1); @@ -939,49 +1084,49 @@ AppParCurves_MultiCurve *********************************/ class BRepFill_CurveConstraint : public GeomPlate_CurveConstraint { public: - /****************** BRepFill_CurveConstraint ******************/ - /**** md5 signature: 41b1e4fc4bc3dc66765ae224c896d95e ****/ + /****** BRepFill_CurveConstraint::BRepFill_CurveConstraint ******/ + /****** md5 signature: a983adec650994ee74e57f6aa9893167 ******/ %feature("compactdefaultargs") BRepFill_CurveConstraint; - %feature("autodoc", "Create a constraint order is the order of the constraint. the possible values for order are -1,0,1,2. order i means constraints gi npt is the number of points associated with the constraint. toldist is the maximum error to satisfy for g0 constraints tolang is the maximum error to satisfy for g1 constraints tolcurv is the maximum error to satisfy for g2 constraints these errors can be replaced by laws of criterion. - + %feature("autodoc", " Parameters ---------- -Boundary: Adaptor3d_HCurveOnSurface +Boundary: Adaptor3d_CurveOnSurface Order: int -NPt: int,optional - default value is 10 -TolDist: float,optional - default value is 0.0001 -TolAng: float,optional - default value is 0.01 -TolCurv: float,optional - default value is 0.1 +NPt: int (optional, default to 10) +TolDist: float (optional, default to 0.0001) +TolAng: float (optional, default to 0.01) +TolCurv: float (optional, default to 0.1) -Returns +Return ------- None + +Description +----------- +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. ") BRepFill_CurveConstraint; - BRepFill_CurveConstraint(const opencascade::handle & Boundary, const Standard_Integer Order, const Standard_Integer NPt = 10, const Standard_Real TolDist = 0.0001, const Standard_Real TolAng = 0.01, const Standard_Real TolCurv = 0.1); + BRepFill_CurveConstraint(const opencascade::handle & Boundary, const Standard_Integer Order, const Standard_Integer NPt = 10, const Standard_Real TolDist = 0.0001, const Standard_Real TolAng = 0.01, const Standard_Real TolCurv = 0.1); - /****************** BRepFill_CurveConstraint ******************/ - /**** md5 signature: f26a009e0334615d92ee293a276af65f ****/ + /****** BRepFill_CurveConstraint::BRepFill_CurveConstraint ******/ + /****** md5 signature: ccfa90de10a25cb726928f2c424e790e ******/ %feature("compactdefaultargs") BRepFill_CurveConstraint; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Boundary: Adaptor3d_HCurve +Boundary: Adaptor3d_Curve Tang: int -NPt: int,optional - default value is 10 -TolDist: float,optional - default value is 0.0001 +NPt: int (optional, default to 10) +TolDist: float (optional, default to 0.0001) -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepFill_CurveConstraint; - BRepFill_CurveConstraint(const opencascade::handle & Boundary, const Standard_Integer Tang, const Standard_Integer NPt = 10, const Standard_Real TolDist = 0.0001); + BRepFill_CurveConstraint(const opencascade::handle & Boundary, const Standard_Integer Tang, const Standard_Integer NPt = 10, const Standard_Real TolDist = 0.0001); }; @@ -999,153 +1144,174 @@ None ***********************/ class BRepFill_Draft { public: - /****************** BRepFill_Draft ******************/ - /**** md5 signature: 1dff2e6160b5e1259db446ee33a99fad ****/ + /****** BRepFill_Draft::BRepFill_Draft ******/ + /****** md5 signature: 1dff2e6160b5e1259db446ee33a99fad ******/ %feature("compactdefaultargs") BRepFill_Draft; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Shape: TopoDS_Shape Dir: gp_Dir Angle: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepFill_Draft; BRepFill_Draft(const TopoDS_Shape & Shape, const gp_Dir & Dir, const Standard_Real Angle); - /****************** Generated ******************/ - /**** md5 signature: 20432e4d7ffc2a154be36ff0a467a19b ****/ + /****** BRepFill_Draft::Generated ******/ + /****** md5 signature: 20432e4d7ffc2a154be36ff0a467a19b ******/ %feature("compactdefaultargs") Generated; - %feature("autodoc", "Returns the list of shapes generated from the shape . - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Returns the list of shapes generated from the shape . ") Generated; const TopTools_ListOfShape & Generated(const TopoDS_Shape & S); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** BRepFill_Draft::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsDone; Standard_Boolean IsDone(); - /****************** Perform ******************/ - /**** md5 signature: b03f32ebc120d00e3e8e32d44b202b9d ****/ + /****** BRepFill_Draft::Perform ******/ + /****** md5 signature: b03f32ebc120d00e3e8e32d44b202b9d ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- LengthMax: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") Perform; void Perform(const Standard_Real LengthMax); - /****************** Perform ******************/ - /**** md5 signature: 3a80e47101026da2c90ae735de0ac1b9 ****/ + /****** BRepFill_Draft::Perform ******/ + /****** md5 signature: 3a80e47101026da2c90ae735de0ac1b9 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Surface: Geom_Surface -KeepInsideSurface: bool,optional - default value is Standard_True +KeepInsideSurface: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +No available documentation. ") Perform; void Perform(const opencascade::handle & Surface, const Standard_Boolean KeepInsideSurface = Standard_True); - /****************** Perform ******************/ - /**** md5 signature: c18fafced10e4c987e315cfc1b3d96ad ****/ + /****** BRepFill_Draft::Perform ******/ + /****** md5 signature: c18fafced10e4c987e315cfc1b3d96ad ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- StopShape: TopoDS_Shape -KeepOutSide: bool,optional - default value is Standard_True +KeepOutSide: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +No available documentation. ") Perform; void Perform(const TopoDS_Shape & StopShape, const Standard_Boolean KeepOutSide = Standard_True); - /****************** SetDraft ******************/ - /**** md5 signature: 6a0b2e71733b262480aa38daaecff626 ****/ + /****** BRepFill_Draft::SetDraft ******/ + /****** md5 signature: 6a0b2e71733b262480aa38daaecff626 ******/ %feature("compactdefaultargs") SetDraft; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -IsInternal: bool,optional - default value is Standard_False +IsInternal: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetDraft; void SetDraft(const Standard_Boolean IsInternal = Standard_False); - /****************** SetOptions ******************/ - /**** md5 signature: b9e013957f2b0d7c10b9daa53473ce0e ****/ + /****** BRepFill_Draft::SetOptions ******/ + /****** md5 signature: b9e013957f2b0d7c10b9daa53473ce0e ******/ %feature("compactdefaultargs") SetOptions; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Style: BRepFill_TransitionStyle,optional - default value is BRepFill_Right -AngleMin: float,optional - default value is 0.01 -AngleMax: float,optional - default value is 3.0 +Style: BRepFill_TransitionStyle (optional, default to BRepFill_Right) +AngleMin: float (optional, default to 0.01) +AngleMax: float (optional, default to 3.0) -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetOptions; void SetOptions(const BRepFill_TransitionStyle Style = BRepFill_Right, const Standard_Real AngleMin = 0.01, const Standard_Real AngleMax = 3.0); - /****************** Shape ******************/ - /**** md5 signature: 3aece276415d56b8bd9afa5bf371db57 ****/ + /****** BRepFill_Draft::Shape ******/ + /****** md5 signature: 3aece276415d56b8bd9afa5bf371db57 ******/ %feature("compactdefaultargs") Shape; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +No available documentation. ") Shape; TopoDS_Shape Shape(); - /****************** Shell ******************/ - /**** md5 signature: 3ea4686086a18491532865f1cfbce9ad ****/ + /****** BRepFill_Draft::Shell ******/ + /****** md5 signature: 3ea4686086a18491532865f1cfbce9ad ******/ %feature("compactdefaultargs") Shell; - %feature("autodoc", "Returns the draft surface to have the complete shape you have to use the shape() methode. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shell + +Description +----------- +Returns the draft surface To have the complete shape you have to use the Shape() methode. ") Shell; TopoDS_Shell Shell(); @@ -1163,31 +1329,36 @@ TopoDS_Shell **********************************/ class BRepFill_EdgeFaceAndOrder { public: - /****************** BRepFill_EdgeFaceAndOrder ******************/ - /**** md5 signature: 4801ef1e3c96c769b7cb65e3b4086a41 ****/ + /****** BRepFill_EdgeFaceAndOrder::BRepFill_EdgeFaceAndOrder ******/ + /****** md5 signature: 4801ef1e3c96c769b7cb65e3b4086a41 ******/ %feature("compactdefaultargs") BRepFill_EdgeFaceAndOrder; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepFill_EdgeFaceAndOrder; BRepFill_EdgeFaceAndOrder(); - /****************** BRepFill_EdgeFaceAndOrder ******************/ - /**** md5 signature: b398464044b418659cdb92b47eda209d ****/ + /****** BRepFill_EdgeFaceAndOrder::BRepFill_EdgeFaceAndOrder ******/ + /****** md5 signature: b398464044b418659cdb92b47eda209d ******/ %feature("compactdefaultargs") BRepFill_EdgeFaceAndOrder; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- anEdge: TopoDS_Edge aFace: TopoDS_Face anOrder: GeomAbs_Shape -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepFill_EdgeFaceAndOrder; BRepFill_EdgeFaceAndOrder(const TopoDS_Edge & anEdge, const TopoDS_Face & aFace, const GeomAbs_Shape anOrder); @@ -1205,169 +1376,188 @@ None *************************/ class BRepFill_Evolved { public: - /****************** BRepFill_Evolved ******************/ - /**** md5 signature: d55c0989fa279c86b92f8b57ff833c4f ****/ + /****** BRepFill_Evolved::BRepFill_Evolved ******/ + /****** md5 signature: d55c0989fa279c86b92f8b57ff833c4f ******/ %feature("compactdefaultargs") BRepFill_Evolved; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepFill_Evolved; BRepFill_Evolved(); - /****************** BRepFill_Evolved ******************/ - /**** md5 signature: 3423c2bb910fe32370733bab3d7e6f67 ****/ + /****** BRepFill_Evolved::BRepFill_Evolved ******/ + /****** md5 signature: 3423c2bb910fe32370733bab3d7e6f67 ******/ %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 . - + %feature("autodoc", " Parameters ---------- Spine: TopoDS_Wire Profile: TopoDS_Wire AxeProf: gp_Ax3 -Join: GeomAbs_JoinType,optional - default value is GeomAbs_Arc -Solid: bool,optional - default value is Standard_False +Join: GeomAbs_JoinType (optional, default to GeomAbs_Arc) +Solid: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +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; 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); - /****************** BRepFill_Evolved ******************/ - /**** md5 signature: 4ff0b71c6cc1f4f1017df44971096b6c ****/ + /****** BRepFill_Evolved::BRepFill_Evolved ******/ + /****** md5 signature: 4ff0b71c6cc1f4f1017df44971096b6c ******/ %feature("compactdefaultargs") BRepFill_Evolved; - %feature("autodoc", "Creates an evolved shape by sweeping the along the . - + %feature("autodoc", " Parameters ---------- Spine: TopoDS_Face Profile: TopoDS_Wire AxeProf: gp_Ax3 -Join: GeomAbs_JoinType,optional - default value is GeomAbs_Arc -Solid: bool,optional - default value is Standard_False +Join: GeomAbs_JoinType (optional, default to GeomAbs_Arc) +Solid: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +Creates an evolved shape by sweeping the along the . ") 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); - /****************** Bottom ******************/ - /**** md5 signature: 25476ceb1dec30bd7775d9279e3f641c ****/ + /****** BRepFill_Evolved::Bottom ******/ + /****** md5 signature: 25476ceb1dec30bd7775d9279e3f641c ******/ %feature("compactdefaultargs") Bottom; - %feature("autodoc", "Return the face bottom if is true in the constructor. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +Return the face Bottom if is True in the constructor. ") Bottom; const TopoDS_Shape Bottom(); - /****************** GeneratedShapes ******************/ - /**** md5 signature: d6b410f91bd0b638e68b4f66ed161f82 ****/ + /****** BRepFill_Evolved::GeneratedShapes ******/ + /****** md5 signature: d6b410f91bd0b638e68b4f66ed161f82 ******/ %feature("compactdefaultargs") GeneratedShapes; - %feature("autodoc", "Returns the shapes created from a subshape of the spine and a subshape on the profile. - + %feature("autodoc", " Parameters ---------- SpineShape: TopoDS_Shape ProfShape: TopoDS_Shape -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Returns the shapes created from a subshape of the spine and a subshape on the profile. ") GeneratedShapes; const TopTools_ListOfShape & GeneratedShapes(const TopoDS_Shape & SpineShape, const TopoDS_Shape & ProfShape); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** BRepFill_Evolved::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsDone; Standard_Boolean IsDone(); - /****************** JoinType ******************/ - /**** md5 signature: 1a18175bc2a418f62c345ce7a665ff81 ****/ + /****** BRepFill_Evolved::JoinType ******/ + /****** md5 signature: 1a18175bc2a418f62c345ce7a665ff81 ******/ %feature("compactdefaultargs") JoinType; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- GeomAbs_JoinType + +Description +----------- +No available documentation. ") JoinType; GeomAbs_JoinType JoinType(); - /****************** Perform ******************/ - /**** md5 signature: 9498522e18f2ee8ea44a5bacbb465d61 ****/ + /****** BRepFill_Evolved::Perform ******/ + /****** md5 signature: 9498522e18f2ee8ea44a5bacbb465d61 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Performs an evolved shape by sweeping the along the . - + %feature("autodoc", " Parameters ---------- Spine: TopoDS_Wire Profile: TopoDS_Wire AxeProf: gp_Ax3 -Join: GeomAbs_JoinType,optional - default value is GeomAbs_Arc -Solid: bool,optional - default value is Standard_False +Join: GeomAbs_JoinType (optional, default to GeomAbs_Arc) +Solid: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +Performs an evolved shape by sweeping the along the . ") 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); - /****************** Perform ******************/ - /**** md5 signature: a60cbc089260fa0f56118a4e524358ca ****/ + /****** BRepFill_Evolved::Perform ******/ + /****** md5 signature: a60cbc089260fa0f56118a4e524358ca ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Performs an evolved shape by sweeping the along the . - + %feature("autodoc", " Parameters ---------- Spine: TopoDS_Face Profile: TopoDS_Wire AxeProf: gp_Ax3 -Join: GeomAbs_JoinType,optional - default value is GeomAbs_Arc -Solid: bool,optional - default value is Standard_False +Join: GeomAbs_JoinType (optional, default to GeomAbs_Arc) +Solid: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +Performs an evolved shape by sweeping the along the . ") 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); - /****************** Shape ******************/ - /**** md5 signature: e2e979bbf0e2f5cedfc0e482bf183e08 ****/ + /****** BRepFill_Evolved::Shape ******/ + /****** md5 signature: e2e979bbf0e2f5cedfc0e482bf183e08 ******/ %feature("compactdefaultargs") Shape; - %feature("autodoc", "Returns the generated shape. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +returns the generated shape. ") Shape; const TopoDS_Shape Shape(); - /****************** Top ******************/ - /**** md5 signature: c5b73d85ae980e083fd62982344b1f23 ****/ + /****** BRepFill_Evolved::Top ******/ + /****** md5 signature: c5b73d85ae980e083fd62982344b1f23 ******/ %feature("compactdefaultargs") Top; - %feature("autodoc", "Return the face top if is true in the constructor. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +Return the face Top if is True in the constructor. ") Top; const TopoDS_Shape Top(); @@ -1385,30 +1575,35 @@ TopoDS_Shape ******************************/ class BRepFill_FaceAndOrder { public: - /****************** BRepFill_FaceAndOrder ******************/ - /**** md5 signature: 09a53beaf7e2b88f8d947af49991e84a ****/ + /****** BRepFill_FaceAndOrder::BRepFill_FaceAndOrder ******/ + /****** md5 signature: 09a53beaf7e2b88f8d947af49991e84a ******/ %feature("compactdefaultargs") BRepFill_FaceAndOrder; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepFill_FaceAndOrder; BRepFill_FaceAndOrder(); - /****************** BRepFill_FaceAndOrder ******************/ - /**** md5 signature: 7b2e42a21051c0758c9fa3f433a3df99 ****/ + /****** BRepFill_FaceAndOrder::BRepFill_FaceAndOrder ******/ + /****** md5 signature: 7b2e42a21051c0758c9fa3f433a3df99 ******/ %feature("compactdefaultargs") BRepFill_FaceAndOrder; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- aFace: TopoDS_Face anOrder: GeomAbs_Shape -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepFill_FaceAndOrder; BRepFill_FaceAndOrder(const TopoDS_Face & aFace, const GeomAbs_Shape anOrder); @@ -1426,113 +1621,115 @@ None *************************/ class BRepFill_Filling { public: - /****************** BRepFill_Filling ******************/ - /**** md5 signature: b04c4da5ebf0b864f8a0d57205167633 ****/ + /****** BRepFill_Filling::BRepFill_Filling ******/ + /****** md5 signature: b04c4da5ebf0b864f8a0d57205167633 ******/ %feature("compactdefaultargs") BRepFill_Filling; - %feature("autodoc", "Constructor. - -Parameters ----------- -Degree: int,optional - default value is 3 -NbPtsOnCur: int,optional - default value is 15 -NbIter: int,optional - default value is 2 -Anisotropie: bool,optional - default value is Standard_False -Tol2d: float,optional - default value is 0.00001 -Tol3d: float,optional - default value is 0.0001 -TolAng: float,optional - default value is 0.01 -TolCurv: float,optional - default value is 0.1 -MaxDeg: int,optional - default value is 8 -MaxSegments: int,optional - default value is 9 - -Returns + %feature("autodoc", " +Parameters +---------- +Degree: int (optional, default to 3) +NbPtsOnCur: int (optional, default to 15) +NbIter: int (optional, default to 2) +Anisotropie: bool (optional, default to Standard_False) +Tol2d: float (optional, default to 0.00001) +Tol3d: float (optional, default to 0.0001) +TolAng: float (optional, default to 0.01) +TolCurv: float (optional, default to 0.1) +MaxDeg: int (optional, default to 8) +MaxSegments: int (optional, default to 9) + +Return ------- None + +Description +----------- +Constructor. ") 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); - /****************** Add ******************/ - /**** md5 signature: 274b86a603c7b5783321bcabeea10c24 ****/ + /****** BRepFill_Filling::Add ******/ + /****** md5 signature: 274b86a603c7b5783321bcabeea10c24 ******/ %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", " Parameters ---------- anEdge: TopoDS_Edge Order: GeomAbs_Shape -IsBound: bool,optional - default value is Standard_True +IsBound: bool (optional, default to Standard_True) -Returns +Return ------- int + +Description +----------- +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. ") Add; Standard_Integer Add(const TopoDS_Edge & anEdge, const GeomAbs_Shape Order, const Standard_Boolean IsBound = Standard_True); - /****************** Add ******************/ - /**** md5 signature: d07ded4a872eca32995c157ab48cd16d ****/ + /****** BRepFill_Filling::Add ******/ + /****** md5 signature: d07ded4a872eca32995c157ab48cd16d ******/ %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. - + %feature("autodoc", " Parameters ---------- anEdge: TopoDS_Edge Support: TopoDS_Face Order: GeomAbs_Shape -IsBound: bool,optional - default value is Standard_True +IsBound: bool (optional, default to Standard_True) -Returns +Return ------- int + +Description +----------- +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; Standard_Integer Add(const TopoDS_Edge & anEdge, const TopoDS_Face & Support, const GeomAbs_Shape Order, const Standard_Boolean IsBound = Standard_True); - /****************** Add ******************/ - /**** md5 signature: c110c3c507d8423f3ffde002d65004bf ****/ + /****** BRepFill_Filling::Add ******/ + /****** md5 signature: c110c3c507d8423f3ffde002d65004bf ******/ %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. - + %feature("autodoc", " Parameters ---------- Support: TopoDS_Face Order: GeomAbs_Shape -Returns +Return ------- int + +Description +----------- +Adds a free constraint on a face. The corresponding edge has to be automatically recomputed. It is always a bound. ") Add; Standard_Integer Add(const TopoDS_Face & Support, const GeomAbs_Shape Order); - /****************** Add ******************/ - /**** md5 signature: 1323f2a6b2ca8774ee472101d9518362 ****/ + /****** BRepFill_Filling::Add ******/ + /****** md5 signature: 1323f2a6b2ca8774ee472101d9518362 ******/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Adds a punctual constraint. - + %feature("autodoc", " Parameters ---------- Point: gp_Pnt -Returns +Return ------- int + +Description +----------- +Adds a punctual constraint. ") Add; Standard_Integer Add(const gp_Pnt & Point); - /****************** Add ******************/ - /**** md5 signature: 66afaf29b06657fd99d38717aeeeb9f6 ****/ + /****** BRepFill_Filling::Add ******/ + /****** md5 signature: 66afaf29b06657fd99d38717aeeeb9f6 ******/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Adds a punctual constraint. - + %feature("autodoc", " Parameters ---------- U: float @@ -1540,212 +1737,242 @@ V: float Support: TopoDS_Face Order: GeomAbs_Shape -Returns +Return ------- int + +Description +----------- +Adds a punctual constraint. ") Add; Standard_Integer Add(const Standard_Real U, const Standard_Real V, const TopoDS_Face & Support, const GeomAbs_Shape Order); - /****************** Build ******************/ - /**** md5 signature: 634d88e5c99c5ce236c07b337243d591 ****/ + /****** BRepFill_Filling::Build ******/ + /****** md5 signature: 634d88e5c99c5ce236c07b337243d591 ******/ %feature("compactdefaultargs") Build; - %feature("autodoc", "Builds the resulting faces. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Builds the resulting faces. ") Build; void Build(); - /****************** Face ******************/ - /**** md5 signature: 64c75db1e9c1285068e9dd474618f74f ****/ + /****** BRepFill_Filling::Face ******/ + /****** md5 signature: 64c75db1e9c1285068e9dd474618f74f ******/ %feature("compactdefaultargs") Face; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopoDS_Face + +Description +----------- +No available documentation. ") Face; TopoDS_Face Face(); - /****************** G0Error ******************/ - /**** md5 signature: ba177a9a7bac2d394577a179fd8040ef ****/ + /****** BRepFill_Filling::G0Error ******/ + /****** md5 signature: ba177a9a7bac2d394577a179fd8040ef ******/ %feature("compactdefaultargs") G0Error; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") G0Error; Standard_Real G0Error(); - /****************** G0Error ******************/ - /**** md5 signature: f99dce5527bffb3ecaa2d1093b4a3635 ****/ + /****** BRepFill_Filling::G0Error ******/ + /****** md5 signature: f99dce5527bffb3ecaa2d1093b4a3635 ******/ %feature("compactdefaultargs") G0Error; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- float + +Description +----------- +No available documentation. ") G0Error; Standard_Real G0Error(const Standard_Integer Index); - /****************** G1Error ******************/ - /**** md5 signature: 0a0e55267bc5572a38177b75a97dfedc ****/ + /****** BRepFill_Filling::G1Error ******/ + /****** md5 signature: 0a0e55267bc5572a38177b75a97dfedc ******/ %feature("compactdefaultargs") G1Error; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") G1Error; Standard_Real G1Error(); - /****************** G1Error ******************/ - /**** md5 signature: 0d786918d533628c34e845fd87da5a9b ****/ + /****** BRepFill_Filling::G1Error ******/ + /****** md5 signature: 0d786918d533628c34e845fd87da5a9b ******/ %feature("compactdefaultargs") G1Error; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- float + +Description +----------- +No available documentation. ") G1Error; Standard_Real G1Error(const Standard_Integer Index); - /****************** G2Error ******************/ - /**** md5 signature: 0eac129a84e8ae945532a18ff833414e ****/ + /****** BRepFill_Filling::G2Error ******/ + /****** md5 signature: 0eac129a84e8ae945532a18ff833414e ******/ %feature("compactdefaultargs") G2Error; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") G2Error; Standard_Real G2Error(); - /****************** G2Error ******************/ - /**** md5 signature: 02032765271044476a9ce38570208342 ****/ + /****** BRepFill_Filling::G2Error ******/ + /****** md5 signature: 02032765271044476a9ce38570208342 ******/ %feature("compactdefaultargs") G2Error; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- float + +Description +----------- +No available documentation. ") G2Error; Standard_Real G2Error(const Standard_Integer Index); - /****************** Generated ******************/ - /**** md5 signature: 20432e4d7ffc2a154be36ff0a467a19b ****/ + /****** BRepFill_Filling::Generated ******/ + /****** md5 signature: 20432e4d7ffc2a154be36ff0a467a19b ******/ %feature("compactdefaultargs") Generated; - %feature("autodoc", "Returns the list of shapes generated from the shape . - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Returns the list of shapes generated from the shape . ") Generated; const TopTools_ListOfShape & Generated(const TopoDS_Shape & S); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** BRepFill_Filling::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsDone; Standard_Boolean IsDone(); - /****************** LoadInitSurface ******************/ - /**** md5 signature: 221c3bb0e79c1359b8a80544c093b5bd ****/ + /****** BRepFill_Filling::LoadInitSurface ******/ + /****** md5 signature: 221c3bb0e79c1359b8a80544c093b5bd ******/ %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. - + %feature("autodoc", " Parameters ---------- aFace: TopoDS_Face -Returns +Return ------- None + +Description +----------- +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. ") LoadInitSurface; void LoadInitSurface(const TopoDS_Face & aFace); - /****************** SetApproxParam ******************/ - /**** md5 signature: 24678d9cf0187a1e2d5fe74dfef72b0d ****/ + /****** BRepFill_Filling::SetApproxParam ******/ + /****** md5 signature: 24678d9cf0187a1e2d5fe74dfef72b0d ******/ %feature("compactdefaultargs") SetApproxParam; - %feature("autodoc", "Sets the parameters used for approximation of the surface. - + %feature("autodoc", " Parameters ---------- -MaxDeg: int,optional - default value is 8 -MaxSegments: int,optional - default value is 9 +MaxDeg: int (optional, default to 8) +MaxSegments: int (optional, default to 9) -Returns +Return ------- None + +Description +----------- +Sets the parameters used for approximation of the surface. ") SetApproxParam; void SetApproxParam(const Standard_Integer MaxDeg = 8, const Standard_Integer MaxSegments = 9); - /****************** SetConstrParam ******************/ - /**** md5 signature: 2d967f76f30735b0413b7afac7004fa6 ****/ + /****** BRepFill_Filling::SetConstrParam ******/ + /****** md5 signature: 2d967f76f30735b0413b7afac7004fa6 ******/ %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. - + %feature("autodoc", " Parameters ---------- -Tol2d: float,optional - default value is 0.00001 -Tol3d: float,optional - default value is 0.0001 -TolAng: float,optional - default value is 0.01 -TolCurv: float,optional - default value is 0.1 +Tol2d: float (optional, default to 0.00001) +Tol3d: float (optional, default to 0.0001) +TolAng: float (optional, default to 0.01) +TolCurv: float (optional, default to 0.1) -Returns +Return ------- None + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 96cad4665171fb74735ecc8d46155136 ****/ + /****** BRepFill_Filling::SetResolParam ******/ + /****** md5 signature: 96cad4665171fb74735ecc8d46155136 ******/ %feature("compactdefaultargs") SetResolParam; - %feature("autodoc", "Sets the parameters used for resolution. the default values of these parameters have been chosen for a good ratio quality/performance. degree: it is the order of energy criterion to minimize for computing the deformation of the surface. the default value is 3 the recommanded value is i+2 where i is the maximum order of the constraints. nbptsoncur: it is the average number of points for discretisation of the edges. nbiter: it is the maximum number of iterations of the process. for each iteration the number of discretisation points is increased. anisotropie:. - + %feature("autodoc", " Parameters ---------- -Degree: int,optional - default value is 3 -NbPtsOnCur: int,optional - default value is 15 -NbIter: int,optional - default value is 2 -Anisotropie: bool,optional - default value is Standard_False +Degree: int (optional, default to 3) +NbPtsOnCur: int (optional, default to 15) +NbIter: int (optional, default to 2) +Anisotropie: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +Sets the parameters used for resolution. The default values of these parameters have been chosen for a good ratio quality/performance. Degree: it is the order of energy criterion to minimize for computing the deformation of the surface. The default value is 3 The recommended value is i+2 where i is the maximum order of the constraints. NbPtsOnCur: it is the average number of points for discretisation of the edges. NbIter: it is the maximum number of iterations of the process. For each iteration the number of discretisation points is increased. Anisotropie:. ") SetResolParam; void SetResolParam(const Standard_Integer Degree = 3, const Standard_Integer NbPtsOnCur = 15, const Standard_Integer NbIter = 2, const Standard_Boolean Anisotropie = Standard_False); @@ -1763,77 +1990,153 @@ None ***************************/ class BRepFill_Generator { public: - /****************** BRepFill_Generator ******************/ - /**** md5 signature: 333126d142103b8ff5f800463f2efb21 ****/ + /****** BRepFill_Generator::BRepFill_Generator ******/ + /****** md5 signature: 333126d142103b8ff5f800463f2efb21 ******/ %feature("compactdefaultargs") BRepFill_Generator; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepFill_Generator; BRepFill_Generator(); - /****************** AddWire ******************/ - /**** md5 signature: 91c116931995adc0c5abeaf5746c9601 ****/ + /****** BRepFill_Generator::AddWire ******/ + /****** md5 signature: 91c116931995adc0c5abeaf5746c9601 ******/ %feature("compactdefaultargs") AddWire; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Wire: TopoDS_Wire -Returns +Return ------- None + +Description +----------- +No available documentation. ") AddWire; void AddWire(const TopoDS_Wire & Wire); - /****************** Generated ******************/ - /**** md5 signature: 176507b5ffd0100ab7a88bdc3ba1ff71 ****/ + /****** BRepFill_Generator::Generated ******/ + /****** md5 signature: 176507b5ffd0100ab7a88bdc3ba1ff71 ******/ %feature("compactdefaultargs") Generated; - %feature("autodoc", "Returns all the shapes created. - -Returns + %feature("autodoc", "Return ------- TopTools_DataMapOfShapeListOfShape + +Description +----------- +Returns all the shapes created. ") Generated; const TopTools_DataMapOfShapeListOfShape & Generated(); - /****************** GeneratedShapes ******************/ - /**** md5 signature: a02662a3450a824732d8c073e350d988 ****/ + /****** BRepFill_Generator::GeneratedShapes ******/ + /****** md5 signature: a02662a3450a824732d8c073e350d988 ******/ %feature("compactdefaultargs") GeneratedShapes; - %feature("autodoc", "Returns the shapes created from a subshape of a section. - + %feature("autodoc", " Parameters ---------- SSection: TopoDS_Shape -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Returns the shapes created from a subshape of a section. ") GeneratedShapes; const TopTools_ListOfShape & GeneratedShapes(const TopoDS_Shape & SSection); - /****************** Perform ******************/ - /**** md5 signature: c04b01412cba7220c024b5eb4532697f ****/ - %feature("compactdefaultargs") Perform; - %feature("autodoc", "Compute the shell. + /****** BRepFill_Generator::GetStatus ******/ + /****** md5 signature: d01d66bd030c1232d59d2b7253fc3b10 ******/ + %feature("compactdefaultargs") GetStatus; + %feature("autodoc", "Return +------- +BRepFill_ThruSectionErrorStatus + +Description +----------- +Returns status of the operation. +") GetStatus; + BRepFill_ThruSectionErrorStatus GetStatus(); + + /****** BRepFill_Generator::IsMutableInput ******/ + /****** md5 signature: 2df16e5a957577cfce65832aa2d90512 ******/ + %feature("compactdefaultargs") IsMutableInput; + %feature("autodoc", "Return +------- +bool + +Description +----------- +Returns the current mutable input state. +") IsMutableInput; + Standard_Boolean IsMutableInput(); -Returns + /****** BRepFill_Generator::Perform ******/ + /****** md5 signature: c04b01412cba7220c024b5eb4532697f ******/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "Return ------- None + +Description +----------- +Compute the shell. ") Perform; void Perform(); - /****************** Shell ******************/ - /**** md5 signature: c581862d26a0a34b15cf9dd6d442e65d ****/ - %feature("compactdefaultargs") Shell; - %feature("autodoc", "No available documentation. + /****** BRepFill_Generator::ResultShape ******/ + /****** md5 signature: 01e3ecee0f6c4e9a7725c78d5680438b ******/ + %feature("compactdefaultargs") ResultShape; + %feature("autodoc", " +Parameters +---------- +theShape: TopoDS_Shape -Returns +Return +------- +TopoDS_Shape + +Description +----------- +Returns a modified shape in the constructed shell, If shape is not changed (replaced) during operation => returns the same shape. +") ResultShape; + TopoDS_Shape ResultShape(const TopoDS_Shape & theShape); + + /****** BRepFill_Generator::SetMutableInput ******/ + /****** md5 signature: a0db619cccd4a2c2b443a5ab39c10ef8 ******/ + %feature("compactdefaultargs") SetMutableInput; + %feature("autodoc", " +Parameters +---------- +theIsMutableInput: bool + +Return +------- +None + +Description +----------- +Sets the mutable input state If true then the input profile can be modified inside the operation. Default value is true. +") SetMutableInput; + void SetMutableInput(const Standard_Boolean theIsMutableInput); + + /****** BRepFill_Generator::Shell ******/ + /****** md5 signature: c581862d26a0a34b15cf9dd6d442e65d ******/ + %feature("compactdefaultargs") Shell; + %feature("autodoc", "Return ------- TopoDS_Shell + +Description +----------- +No available documentation. ") Shell; const TopoDS_Shell Shell(); @@ -1851,263 +2154,307 @@ TopoDS_Shell *****************************/ class BRepFill_LocationLaw : public Standard_Transient { public: - /****************** Abscissa ******************/ - /**** md5 signature: 4b4fb4867c503aba18d7bb9cbbce08f5 ****/ + /****** BRepFill_LocationLaw::Abscissa ******/ + /****** md5 signature: 4b4fb4867c503aba18d7bb9cbbce08f5 ******/ %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. - + %feature("autodoc", " Parameters ---------- Index: int Param: float -Returns +Return ------- float + +Description +----------- +Return the curvilinear abscissa corresponding to a point of the path, defined by of Edge and a parameter on the edge. ") Abscissa; Standard_Real Abscissa(const Standard_Integer Index, const Standard_Real Param); - /****************** CurvilinearBounds ******************/ - /**** md5 signature: 1faa1030205d7a994159546f7df86e7b ****/ + /****** BRepFill_LocationLaw::CurvilinearBounds ******/ + /****** md5 signature: 1faa1030205d7a994159546f7df86e7b ******/ %feature("compactdefaultargs") CurvilinearBounds; - %feature("autodoc", "Return the curvilinear bounds of the law. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- First: float Last: float + +Description +----------- +Return the Curvilinear Bounds of the Law. ") CurvilinearBounds; void CurvilinearBounds(const Standard_Integer Index, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** D0 ******************/ - /**** md5 signature: 52c2d023fe81655193d586ee297b1241 ****/ + /****** BRepFill_LocationLaw::D0 ******/ + /****** md5 signature: 52c2d023fe81655193d586ee297b1241 ******/ %feature("compactdefaultargs") D0; - %feature("autodoc", "Apply the law to a shape, for a given curnilinear abscissa. - + %feature("autodoc", " Parameters ---------- Abscissa: float Section: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Apply the Law to a shape, for a given Curvilinear abscissa. ") D0; void D0(const Standard_Real Abscissa, TopoDS_Shape & Section); - /****************** DeleteTransform ******************/ - /**** md5 signature: ade97ef75466e592c0f10b061f700538 ****/ + /****** BRepFill_LocationLaw::DeleteTransform ******/ + /****** md5 signature: ade97ef75466e592c0f10b061f700538 ******/ %feature("compactdefaultargs") DeleteTransform; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") DeleteTransform; void DeleteTransform(); - /****************** Edge ******************/ - /**** md5 signature: 8a7ac08a45b8dcdac4d9e0339f1c1d47 ****/ + /****** BRepFill_LocationLaw::Edge ******/ + /****** md5 signature: 8a7ac08a45b8dcdac4d9e0339f1c1d47 ******/ %feature("compactdefaultargs") Edge; - %feature("autodoc", "Return the edge of rank in the path have to be in [1, nblaw()]. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- TopoDS_Edge + +Description +----------- +Return the Edge of rank in the path have to be in [1, NbLaw()]. ") Edge; const TopoDS_Edge Edge(const Standard_Integer Index); - /****************** GetStatus ******************/ - /**** md5 signature: ee71a82e4f5af8e3c4016af8fa6d8de6 ****/ + /****** BRepFill_LocationLaw::GetStatus ******/ + /****** md5 signature: ee71a82e4f5af8e3c4016af8fa6d8de6 ******/ %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. - -Returns + %feature("autodoc", "Return ------- GeomFill_PipeError + +Description +----------- +Return a error status, if the status is not PipeOk then it exist a parameter tlike the law is not valuable for t. ") GetStatus; GeomFill_PipeError GetStatus(); - /****************** Holes ******************/ - /**** md5 signature: f3c74f7ef5d3c6aac517333d1f033de9 ****/ + /****** BRepFill_LocationLaw::Holes ******/ + /****** md5 signature: f3c74f7ef5d3c6aac517333d1f033de9 ******/ %feature("compactdefaultargs") Holes; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Interval: TColStd_Array1OfInteger -Returns +Return ------- None + +Description +----------- +No available documentation. ") Holes; void Holes(TColStd_Array1OfInteger & Interval); - /****************** IsClosed ******************/ - /**** md5 signature: 29709d02fadc9fcb79a766bc9679271b ****/ + /****** BRepFill_LocationLaw::IsClosed ******/ + /****** md5 signature: 29709d02fadc9fcb79a766bc9679271b ******/ %feature("compactdefaultargs") IsClosed; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsClosed; Standard_Boolean IsClosed(); - /****************** IsG1 ******************/ - /**** md5 signature: 9963a7e0ee81d49de56ba09e373c171d ****/ + /****** BRepFill_LocationLaw::IsG1 ******/ + /****** md5 signature: 9963a7e0ee81d49de56ba09e373c171d ******/ %feature("compactdefaultargs") IsG1; - %feature("autodoc", "Compute the law's continuity beetween 2 edges of the path the result can be : -1 : case not connex 0 : it is connex (g0) 1 : it is tangent (g1). - + %feature("autodoc", " Parameters ---------- Index: int -SpatialTolerance: float,optional - default value is 1.0e-7 -AngularTolerance: float,optional - default value is 1.0e-4 +SpatialTolerance: float (optional, default to 1.0e-7) +AngularTolerance: float (optional, default to 1.0e-4) -Returns +Return ------- int + +Description +----------- +Compute the Law's continuity between 2 edges of the path The result can be: -1: Case Not connex 0: It is connex (G0) 1: It is tangent (G1). ") IsG1; Standard_Integer IsG1(const Standard_Integer Index, const Standard_Real SpatialTolerance = 1.0e-7, const Standard_Real AngularTolerance = 1.0e-4); - /****************** Law ******************/ - /**** md5 signature: 7442ea1d3577272be34ddbfb4ba782c8 ****/ + /****** BRepFill_LocationLaw::Law ******/ + /****** md5 signature: 7442ea1d3577272be34ddbfb4ba782c8 ******/ %feature("compactdefaultargs") Law; - %feature("autodoc", "Return the elementary law of rank have to be in [1, nblaw()]. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- opencascade::handle + +Description +----------- +Return the elementary Law of rank have to be in [1, NbLaw()]. ") Law; const opencascade::handle & Law(const Standard_Integer Index); - /****************** NbHoles ******************/ - /**** md5 signature: c25781684f83efc292c167e0cf2d2147 ****/ + /****** BRepFill_LocationLaw::NbHoles ******/ + /****** md5 signature: c25781684f83efc292c167e0cf2d2147 ******/ %feature("compactdefaultargs") NbHoles; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Tol: float,optional - default value is 1.0e-7 +Tol: float (optional, default to 1.0e-7) -Returns +Return ------- int + +Description +----------- +No available documentation. ") NbHoles; Standard_Integer NbHoles(const Standard_Real Tol = 1.0e-7); - /****************** NbLaw ******************/ - /**** md5 signature: 37098ff16cd9e076b3a2132752025ea0 ****/ + /****** BRepFill_LocationLaw::NbLaw ******/ + /****** md5 signature: 37098ff16cd9e076b3a2132752025ea0 ******/ %feature("compactdefaultargs") NbLaw; - %feature("autodoc", "Return the number of elementary law. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Return the number of elementary Law. ") NbLaw; Standard_Integer NbLaw(); - /****************** Parameter ******************/ - /**** md5 signature: fd5a6bab737a1d219166f125eb34b581 ****/ + /****** BRepFill_LocationLaw::Parameter ******/ + /****** md5 signature: fd5a6bab737a1d219166f125eb34b581 ******/ %feature("compactdefaultargs") Parameter; - %feature("autodoc", "Find the index law and the parmaeter, for a given curnilinear abscissa. - + %feature("autodoc", " Parameters ---------- Abscissa: float -Returns +Return ------- Index: int Param: float + +Description +----------- +Find the index Law and the parameter, for a given Curvilinear abscissa. ") Parameter; void Parameter(const Standard_Real Abscissa, Standard_Integer &OutValue, Standard_Real &OutValue); - /****************** PerformVertex ******************/ - /**** md5 signature: d38d6af521b96eeaf83da9ed396db4e5 ****/ + /****** BRepFill_LocationLaw::PerformVertex ******/ + /****** md5 signature: d38d6af521b96eeaf83da9ed396db4e5 ******/ %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. - + %feature("autodoc", " Parameters ---------- Index: int InputVertex: TopoDS_Vertex TolMin: float OutputVertex: TopoDS_Vertex -Location: int,optional - default value is 0 +Location: int (optional, default to 0) -Returns +Return ------- None + +Description +----------- +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. ") PerformVertex; void PerformVertex(const Standard_Integer Index, const TopoDS_Vertex & InputVertex, const Standard_Real TolMin, TopoDS_Vertex & OutputVertex, const Standard_Integer Location = 0); - /****************** TransformInCompatibleLaw ******************/ - /**** md5 signature: bedbf82281f40dd30d010eaee98401d4 ****/ + /****** BRepFill_LocationLaw::TransformInCompatibleLaw ******/ + /****** md5 signature: bedbf82281f40dd30d010eaee98401d4 ******/ %feature("compactdefaultargs") TransformInCompatibleLaw; - %feature("autodoc", "Apply a linear transformation on each law, to reduce the dicontinuities of law at one rotation. - + %feature("autodoc", " Parameters ---------- AngularTolerance: float -Returns +Return ------- None + +Description +----------- +Apply a linear transformation on each law, to reduce the dicontinuities of law at one rotation. ") TransformInCompatibleLaw; virtual void TransformInCompatibleLaw(const Standard_Real AngularTolerance); - /****************** TransformInG0Law ******************/ - /**** md5 signature: 5f05797761b737e39ec06f0e5f8a1a0d ****/ + /****** BRepFill_LocationLaw::TransformInG0Law ******/ + /****** md5 signature: 5f05797761b737e39ec06f0e5f8a1a0d ******/ %feature("compactdefaultargs") TransformInG0Law; - %feature("autodoc", "Apply a linear transformation on each law, to have continuity of the global law beetween the edges. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Apply a linear transformation on each law, to have continuity of the global law between the edges. ") TransformInG0Law; virtual void TransformInG0Law(); - /****************** Vertex ******************/ - /**** md5 signature: 20f24a7fa6e81f1f7fda1d9570c8d322 ****/ + /****** BRepFill_LocationLaw::Vertex ******/ + /****** md5 signature: 20f24a7fa6e81f1f7fda1d9570c8d322 ******/ %feature("compactdefaultargs") Vertex; - %feature("autodoc", "Return the vertex of rank in the path have to be in [0, nblaw()]. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- TopoDS_Vertex + +Description +----------- +Return the vertex of rank in the path have to be in [0, NbLaw()]. ") Vertex; TopoDS_Vertex Vertex(const Standard_Integer Index); - /****************** Wire ******************/ - /**** md5 signature: 066765b94f5225dad05ab95ae3f8b503 ****/ + /****** BRepFill_LocationLaw::Wire ******/ + /****** md5 signature: 066765b94f5225dad05ab95ae3f8b503 ******/ %feature("compactdefaultargs") Wire; - %feature("autodoc", "Return the path. - -Returns + %feature("autodoc", "Return ------- TopoDS_Wire + +Description +----------- +return the path. ") Wire; const TopoDS_Wire Wire(); @@ -2127,22 +2474,23 @@ TopoDS_Wire ***************************/ class BRepFill_MultiLine : public AppCont_Function { public: - /****************** BRepFill_MultiLine ******************/ - /**** md5 signature: 25bf6bcb7c15a3e8d5c3a8cc26761d67 ****/ + /****** BRepFill_MultiLine::BRepFill_MultiLine ******/ + /****** md5 signature: 25bf6bcb7c15a3e8d5c3a8cc26761d67 ******/ %feature("compactdefaultargs") BRepFill_MultiLine; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepFill_MultiLine; BRepFill_MultiLine(); - /****************** BRepFill_MultiLine ******************/ - /**** md5 signature: 843a5cba5c9ac5751e20a22ad435342c ****/ + /****** BRepFill_MultiLine::BRepFill_MultiLine ******/ + /****** md5 signature: 843a5cba5c9ac5751e20a22ad435342c ******/ %feature("compactdefaultargs") BRepFill_MultiLine; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Face1: TopoDS_Face @@ -2153,127 +2501,150 @@ Inv1: bool Inv2: bool Bissec: Geom2d_Curve -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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); - /****************** Continuity ******************/ - /**** md5 signature: 4cc571878c66d538aeaf8b0affec3574 ****/ + /****** BRepFill_MultiLine::Continuity ******/ + /****** md5 signature: 4cc571878c66d538aeaf8b0affec3574 ******/ %feature("compactdefaultargs") Continuity; - %feature("autodoc", "Returns the continuity betwwen the two faces seshape from geomabsparated by mybis. - -Returns + %feature("autodoc", "Return ------- GeomAbs_Shape + +Description +----------- +Returns the continuity between the two faces seShape from GeomAbsparated by myBis. ") Continuity; GeomAbs_Shape Continuity(); - /****************** Curves ******************/ - /**** md5 signature: e4017f1b73a93eef0b7382da99e2ab6b ****/ + /****** BRepFill_MultiLine::Curves ******/ + /****** md5 signature: e4017f1b73a93eef0b7382da99e2ab6b ******/ %feature("compactdefaultargs") Curves; - %feature("autodoc", "Raises if isparticularcase is . - + %feature("autodoc", " Parameters ---------- Curve: Geom_Curve PCurve1: Geom2d_Curve PCurve2: Geom2d_Curve -Returns +Return ------- None + +Description +----------- +raises if IsParticularCase is . ") Curves; void Curves(opencascade::handle & Curve, opencascade::handle & PCurve1, opencascade::handle & PCurve2); - /****************** D1 ******************/ - /**** md5 signature: 7da7dab2c94bda12158221a2fefd05b7 ****/ + /****** BRepFill_MultiLine::D1 ******/ + /****** md5 signature: 7da7dab2c94bda12158221a2fefd05b7 ******/ %feature("compactdefaultargs") D1; - %feature("autodoc", "Returns the derivative at parameter . - + %feature("autodoc", " Parameters ---------- theU: float theVec2d: NCollection_Array1 theVec: NCollection_Array1 -Returns +Return ------- bool + +Description +----------- +Returns the derivative at parameter . ") D1; virtual Standard_Boolean D1(const Standard_Real theU, NCollection_Array1 & theVec2d, NCollection_Array1 & theVec); - /****************** FirstParameter ******************/ - /**** md5 signature: adaac52a0f2d3263c19caadcbea394a2 ****/ + /****** BRepFill_MultiLine::FirstParameter ******/ + /****** md5 signature: adaac52a0f2d3263c19caadcbea394a2 ******/ %feature("compactdefaultargs") FirstParameter; - %feature("autodoc", "Returns the first parameter of the bissectrice. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the first parameter of the Bissectrice. ") FirstParameter; virtual Standard_Real FirstParameter(); - /****************** IsParticularCase ******************/ - /**** md5 signature: f043f128572074fde7a8be916fda3a7e ****/ + /****** BRepFill_MultiLine::IsParticularCase ******/ + /****** md5 signature: f043f128572074fde7a8be916fda3a7e ******/ %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. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Search if the Projection of the Bissectrice on the faces needs an approximation or not. Returns true if the approximation is not needed. ") IsParticularCase; Standard_Boolean IsParticularCase(); - /****************** LastParameter ******************/ - /**** md5 signature: 38a37eecbdff8d3a1b5ffdd6b12bf4d9 ****/ + /****** BRepFill_MultiLine::LastParameter ******/ + /****** md5 signature: 38a37eecbdff8d3a1b5ffdd6b12bf4d9 ******/ %feature("compactdefaultargs") LastParameter; - %feature("autodoc", "Returns the last parameter of the bissectrice. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the last parameter of the Bissectrice. ") LastParameter; virtual Standard_Real LastParameter(); - /****************** Value ******************/ - /**** md5 signature: 183286476627e1c9a629476db3ac9809 ****/ + /****** BRepFill_MultiLine::Value ******/ + /****** md5 signature: 183286476627e1c9a629476db3ac9809 ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns the current point on the 3d curve. - + %feature("autodoc", " Parameters ---------- U: float -Returns +Return ------- gp_Pnt + +Description +----------- +Returns the current point on the 3d curve. ") Value; gp_Pnt Value(const Standard_Real U); - /****************** Value ******************/ - /**** md5 signature: 3ddc35b87661681f1ab1debe5928718b ****/ + /****** BRepFill_MultiLine::Value ******/ + /****** md5 signature: 3ddc35b87661681f1ab1debe5928718b ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns the point at parameter . - + %feature("autodoc", " Parameters ---------- theU: float thePnt2d: NCollection_Array1 thePnt: NCollection_Array1 -Returns +Return ------- bool + +Description +----------- +Returns the point at parameter . ") Value; virtual Standard_Boolean Value(const Standard_Real theU, NCollection_Array1 & thePnt2d, NCollection_Array1 & thePnt); - /****************** Value3dOnF1OnF2 ******************/ - /**** md5 signature: 6b10dab8f99aeffab9dfaa452a3cc12d ****/ + /****** BRepFill_MultiLine::Value3dOnF1OnF2 ******/ + /****** md5 signature: 6b10dab8f99aeffab9dfaa452a3cc12d ******/ %feature("compactdefaultargs") Value3dOnF1OnF2; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- U: float @@ -2281,39 +2652,49 @@ P3d: gp_Pnt PF1: gp_Pnt2d PF2: gp_Pnt2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") Value3dOnF1OnF2; void Value3dOnF1OnF2(const Standard_Real U, gp_Pnt & P3d, gp_Pnt2d & PF1, gp_Pnt2d & PF2); - /****************** ValueOnF1 ******************/ - /**** md5 signature: 94e8f2cf111e1bc1504f69d1acd17218 ****/ + /****** BRepFill_MultiLine::ValueOnF1 ******/ + /****** md5 signature: 94e8f2cf111e1bc1504f69d1acd17218 ******/ %feature("compactdefaultargs") ValueOnF1; - %feature("autodoc", "Returns the current point on the pcurve of the first face. - + %feature("autodoc", " Parameters ---------- U: float -Returns +Return ------- gp_Pnt2d + +Description +----------- +returns the current point on the PCurve of the first face. ") ValueOnF1; gp_Pnt2d ValueOnF1(const Standard_Real U); - /****************** ValueOnF2 ******************/ - /**** md5 signature: abfe30c9890723c8b8d211aa7edad92f ****/ + /****** BRepFill_MultiLine::ValueOnF2 ******/ + /****** md5 signature: abfe30c9890723c8b8d211aa7edad92f ******/ %feature("compactdefaultargs") ValueOnF2; - %feature("autodoc", "Returns the current point on the pcurve of the first face. - + %feature("autodoc", " Parameters ---------- U: float -Returns +Return ------- gp_Pnt2d + +Description +----------- +returns the current point on the PCurve of the first face. ") ValueOnF2; gp_Pnt2d ValueOnF2(const Standard_Real U); @@ -2331,85 +2712,101 @@ gp_Pnt2d *********************************/ class BRepFill_OffsetAncestors { public: - /****************** BRepFill_OffsetAncestors ******************/ - /**** md5 signature: dd74fe61982bbb189811677c8772e318 ****/ + /****** BRepFill_OffsetAncestors::BRepFill_OffsetAncestors ******/ + /****** md5 signature: dd74fe61982bbb189811677c8772e318 ******/ %feature("compactdefaultargs") BRepFill_OffsetAncestors; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepFill_OffsetAncestors; BRepFill_OffsetAncestors(); - /****************** BRepFill_OffsetAncestors ******************/ - /**** md5 signature: 8e55cb04d940faef2828c07f9b38bf7c ****/ + /****** BRepFill_OffsetAncestors::BRepFill_OffsetAncestors ******/ + /****** md5 signature: 8e55cb04d940faef2828c07f9b38bf7c ******/ %feature("compactdefaultargs") BRepFill_OffsetAncestors; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Paral: BRepFill_OffsetWire -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepFill_OffsetAncestors; BRepFill_OffsetAncestors(BRepFill_OffsetWire & Paral); - /****************** Ancestor ******************/ - /**** md5 signature: e1d080ff68475d2673d3e6a73f9780af ****/ + /****** BRepFill_OffsetAncestors::Ancestor ******/ + /****** md5 signature: e1d080ff68475d2673d3e6a73f9780af ******/ %feature("compactdefaultargs") Ancestor; - %feature("autodoc", "May return a null shape if s1 is not a subshape of ; if perform is not done. - + %feature("autodoc", " Parameters ---------- S1: TopoDS_Edge -Returns +Return ------- TopoDS_Shape + +Description +----------- +may return a Null Shape if S1 is not a subShape of ; if Perform is not done. ") Ancestor; const TopoDS_Shape Ancestor(const TopoDS_Edge & S1); - /****************** HasAncestor ******************/ - /**** md5 signature: 0feb5b98ca7c43b931dfb0b8e785d3af ****/ + /****** BRepFill_OffsetAncestors::HasAncestor ******/ + /****** md5 signature: 0feb5b98ca7c43b931dfb0b8e785d3af ******/ %feature("compactdefaultargs") HasAncestor; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S1: TopoDS_Edge -Returns +Return ------- bool + +Description +----------- +No available documentation. ") HasAncestor; Standard_Boolean HasAncestor(const TopoDS_Edge & S1); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** BRepFill_OffsetAncestors::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsDone; Standard_Boolean IsDone(); - /****************** Perform ******************/ - /**** md5 signature: 4cce247d083b33caabb23034a8b43a3f ****/ + /****** BRepFill_OffsetAncestors::Perform ******/ + /****** md5 signature: 4cce247d083b33caabb23034a8b43a3f ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Paral: BRepFill_OffsetWire -Returns +Return ------- None + +Description +----------- +No available documentation. ") Perform; void Perform(BRepFill_OffsetWire & Paral); @@ -2427,150 +2824,168 @@ None ****************************/ class BRepFill_OffsetWire { public: - /****************** BRepFill_OffsetWire ******************/ - /**** md5 signature: b32d6f7af2cab2a9e7e1abf97815f03e ****/ + /****** BRepFill_OffsetWire::BRepFill_OffsetWire ******/ + /****** md5 signature: b32d6f7af2cab2a9e7e1abf97815f03e ******/ %feature("compactdefaultargs") BRepFill_OffsetWire; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepFill_OffsetWire; BRepFill_OffsetWire(); - /****************** BRepFill_OffsetWire ******************/ - /**** md5 signature: 609e791215220f5c55699eced8efc843 ****/ + /****** BRepFill_OffsetWire::BRepFill_OffsetWire ******/ + /****** md5 signature: 609e791215220f5c55699eced8efc843 ******/ %feature("compactdefaultargs") BRepFill_OffsetWire; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Spine: TopoDS_Face -Join: GeomAbs_JoinType,optional - default value is GeomAbs_Arc -IsOpenResult: bool,optional - default value is Standard_False +Join: GeomAbs_JoinType (optional, default to GeomAbs_Arc) +IsOpenResult: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepFill_OffsetWire; BRepFill_OffsetWire(const TopoDS_Face & Spine, const GeomAbs_JoinType Join = GeomAbs_Arc, const Standard_Boolean IsOpenResult = Standard_False); - /****************** GeneratedShapes ******************/ - /**** md5 signature: 896d6eaf9318d01625ba0402363806d1 ****/ + /****** BRepFill_OffsetWire::GeneratedShapes ******/ + /****** md5 signature: 896d6eaf9318d01625ba0402363806d1 ******/ %feature("compactdefaultargs") GeneratedShapes; - %feature("autodoc", "Returns the shapes created from a subshape of the spine. returns the last computed offset. - + %feature("autodoc", " Parameters ---------- SpineShape: TopoDS_Shape -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Returns the shapes created from a subshape of the spine. Returns the last computed Offset. ") GeneratedShapes; const TopTools_ListOfShape & GeneratedShapes(const TopoDS_Shape & SpineShape); - /****************** Init ******************/ - /**** md5 signature: 04028fd0677eb2fad3b6134f24c0b959 ****/ + /****** BRepFill_OffsetWire::Init ******/ + /****** md5 signature: 04028fd0677eb2fad3b6134f24c0b959 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "Initialize the evaluation of offseting. - + %feature("autodoc", " Parameters ---------- Spine: TopoDS_Face -Join: GeomAbs_JoinType,optional - default value is GeomAbs_Arc -IsOpenResult: bool,optional - default value is Standard_False +Join: GeomAbs_JoinType (optional, default to GeomAbs_Arc) +IsOpenResult: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +Initialize the evaluation of Offsetting. ") Init; void Init(const TopoDS_Face & Spine, const GeomAbs_JoinType Join = GeomAbs_Arc, const Standard_Boolean IsOpenResult = Standard_False); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** BRepFill_OffsetWire::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsDone; Standard_Boolean IsDone(); - /****************** JoinType ******************/ - /**** md5 signature: 1a18175bc2a418f62c345ce7a665ff81 ****/ + /****** BRepFill_OffsetWire::JoinType ******/ + /****** md5 signature: 1a18175bc2a418f62c345ce7a665ff81 ******/ %feature("compactdefaultargs") JoinType; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- GeomAbs_JoinType + +Description +----------- +No available documentation. ") JoinType; GeomAbs_JoinType JoinType(); - /****************** Perform ******************/ - /**** md5 signature: 50205eaf73b49f4d2b44f0537bf87989 ****/ + /****** BRepFill_OffsetWire::Perform ******/ + /****** md5 signature: 50205eaf73b49f4d2b44f0537bf87989 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Performs an offsetwire at an altitude from the face ( according to the orientation of the face). - + %feature("autodoc", " Parameters ---------- Offset: float -Alt: float,optional - default value is 0.0 +Alt: float (optional, default to 0.0) -Returns +Return ------- None + +Description +----------- +Performs an OffsetWire at an altitude from the face ( According to the orientation of the face). ") Perform; void Perform(const Standard_Real Offset, const Standard_Real Alt = 0.0); - /****************** PerformWithBiLo ******************/ - /**** md5 signature: f64d08fade6abb7b2f5c414cd33010f3 ****/ + /****** BRepFill_OffsetWire::PerformWithBiLo ******/ + /****** md5 signature: f64d08fade6abb7b2f5c414cd33010f3 ******/ %feature("compactdefaultargs") PerformWithBiLo; - %feature("autodoc", "Performs an offsetwire. - + %feature("autodoc", " Parameters ---------- WSP: TopoDS_Face Offset: float Locus: BRepMAT2d_BisectingLocus Link: BRepMAT2d_LinkTopoBilo -Join: GeomAbs_JoinType,optional - default value is GeomAbs_Arc -Alt: float,optional - default value is 0.0 +Join: GeomAbs_JoinType (optional, default to GeomAbs_Arc) +Alt: float (optional, default to 0.0) -Returns +Return ------- None + +Description +----------- +Performs an OffsetWire. ") 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); - /****************** Shape ******************/ - /**** md5 signature: e2e979bbf0e2f5cedfc0e482bf183e08 ****/ + /****** BRepFill_OffsetWire::Shape ******/ + /****** md5 signature: e2e979bbf0e2f5cedfc0e482bf183e08 ******/ %feature("compactdefaultargs") Shape; - %feature("autodoc", "Returns the generated shape. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +returns the generated shape. ") Shape; const TopoDS_Shape Shape(); - /****************** Spine ******************/ - /**** md5 signature: 6b2533d80a8cd359deec995337b4fd80 ****/ + /****** BRepFill_OffsetWire::Spine ******/ + /****** md5 signature: 6b2533d80a8cd359deec995337b4fd80 ******/ %feature("compactdefaultargs") Spine; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopoDS_Face + +Description +----------- +No available documentation. ") Spine; const TopoDS_Face Spine(); @@ -2588,198 +3003,229 @@ TopoDS_Face **********************/ class BRepFill_Pipe { public: - /****************** BRepFill_Pipe ******************/ - /**** md5 signature: d4df9a3a9985ba8285655a16cb12baf4 ****/ + /****** BRepFill_Pipe::BRepFill_Pipe ******/ + /****** md5 signature: d4df9a3a9985ba8285655a16cb12baf4 ******/ %feature("compactdefaultargs") BRepFill_Pipe; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepFill_Pipe; BRepFill_Pipe(); - /****************** BRepFill_Pipe ******************/ - /**** md5 signature: cdec67dc11c949e0a43c5aa06c2c6e8d ****/ + /****** BRepFill_Pipe::BRepFill_Pipe ******/ + /****** md5 signature: cdec67dc11c949e0a43c5aa06c2c6e8d ******/ %feature("compactdefaultargs") BRepFill_Pipe; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Spine: TopoDS_Wire Profile: TopoDS_Shape -aMode: GeomFill_Trihedron,optional - default value is GeomFill_IsCorrectedFrenet -ForceApproxC1: bool,optional - default value is Standard_False -GeneratePartCase: bool,optional - default value is Standard_False +aMode: GeomFill_Trihedron (optional, default to GeomFill_IsCorrectedFrenet) +ForceApproxC1: bool (optional, default to Standard_False) +GeneratePartCase: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: 9e0365124d39be3310792b9b1e3ba65b ****/ + /****** BRepFill_Pipe::Edge ******/ + /****** md5 signature: 9e0365124d39be3310792b9b1e3ba65b ******/ %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. - + %feature("autodoc", " Parameters ---------- ESpine: TopoDS_Edge VProfile: TopoDS_Vertex -Returns +Return ------- TopoDS_Edge + +Description +----------- +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. ") Edge; TopoDS_Edge Edge(const TopoDS_Edge & ESpine, const TopoDS_Vertex & VProfile); - /****************** ErrorOnSurface ******************/ - /**** md5 signature: b6b87ca0efc7814953c22829fefc7f65 ****/ + /****** BRepFill_Pipe::ErrorOnSurface ******/ + /****** md5 signature: b6b87ca0efc7814953c22829fefc7f65 ******/ %feature("compactdefaultargs") ErrorOnSurface; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") ErrorOnSurface; Standard_Real ErrorOnSurface(); - /****************** Face ******************/ - /**** md5 signature: 0964bb8f678cdc86b67b3897964c1af0 ****/ + /****** BRepFill_Pipe::Face ******/ + /****** md5 signature: 0964bb8f678cdc86b67b3897964c1af0 ******/ %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. - + %feature("autodoc", " Parameters ---------- ESpine: TopoDS_Edge EProfile: TopoDS_Edge -Returns +Return ------- TopoDS_Face + +Description +----------- +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. ") Face; TopoDS_Face Face(const TopoDS_Edge & ESpine, const TopoDS_Edge & EProfile); - /****************** FirstShape ******************/ - /**** md5 signature: 7feb91b88f8f76be63dd0e52049cfbe6 ****/ + /****** BRepFill_Pipe::FirstShape ******/ + /****** md5 signature: 7feb91b88f8f76be63dd0e52049cfbe6 ******/ %feature("compactdefaultargs") FirstShape; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +No available documentation. ") FirstShape; const TopoDS_Shape FirstShape(); - /****************** Generated ******************/ - /**** md5 signature: 768067f46b5a2be6984659c6467cd78f ****/ + /****** BRepFill_Pipe::Generated ******/ + /****** md5 signature: 768067f46b5a2be6984659c6467cd78f ******/ %feature("compactdefaultargs") Generated; - %feature("autodoc", "Returns the list of shapes generated from the shape . - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape L: TopTools_ListOfShape -Returns +Return ------- None + +Description +----------- +Returns the list of shapes generated from the shape . ") Generated; void Generated(const TopoDS_Shape & S, TopTools_ListOfShape & L); - /****************** LastShape ******************/ - /**** md5 signature: e1c69c3678b816cb0e3d73096b528c5f ****/ + /****** BRepFill_Pipe::LastShape ******/ + /****** md5 signature: e1c69c3678b816cb0e3d73096b528c5f ******/ %feature("compactdefaultargs") LastShape; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +No available documentation. ") LastShape; const TopoDS_Shape LastShape(); - /****************** Perform ******************/ - /**** md5 signature: e7b638b85235be08cf45ea179e29ec5e ****/ + /****** BRepFill_Pipe::Perform ******/ + /****** md5 signature: e7b638b85235be08cf45ea179e29ec5e ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Spine: TopoDS_Wire Profile: TopoDS_Shape -GeneratePartCase: bool,optional - default value is Standard_False +GeneratePartCase: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +No available documentation. ") Perform; void Perform(const TopoDS_Wire & Spine, const TopoDS_Shape & Profile, const Standard_Boolean GeneratePartCase = Standard_False); - /****************** PipeLine ******************/ - /**** md5 signature: 55f8b2c61022d6779b48bfc461e428ec ****/ + /****** BRepFill_Pipe::PipeLine ******/ + /****** md5 signature: 55f8b2c61022d6779b48bfc461e428ec ******/ %feature("compactdefaultargs") PipeLine; - %feature("autodoc", "Create a wire by sweeping the point along the if the is undefined. - + %feature("autodoc", " Parameters ---------- Point: gp_Pnt -Returns +Return ------- TopoDS_Wire + +Description +----------- +Create a Wire by sweeping the Point along the if the is undefined. ") PipeLine; TopoDS_Wire PipeLine(const gp_Pnt & Point); - /****************** Profile ******************/ - /**** md5 signature: 79a7d86b74870c796d2c753c300c851a ****/ + /****** BRepFill_Pipe::Profile ******/ + /****** md5 signature: 79a7d86b74870c796d2c753c300c851a ******/ %feature("compactdefaultargs") Profile; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +No available documentation. ") Profile; const TopoDS_Shape Profile(); - /****************** Section ******************/ - /**** md5 signature: 21dfb1d466136117d36878bbae686eaa ****/ + /****** BRepFill_Pipe::Section ******/ + /****** md5 signature: 21dfb1d466136117d36878bbae686eaa ******/ %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", " Parameters ---------- VSpine: TopoDS_Vertex -Returns +Return ------- TopoDS_Shape + +Description +----------- +Returns the shape created from the profile at the position of the vertex VSpine. if the vertex is not in the Spine. ") Section; TopoDS_Shape Section(const TopoDS_Vertex & VSpine); - /****************** Shape ******************/ - /**** md5 signature: e2e979bbf0e2f5cedfc0e482bf183e08 ****/ + /****** BRepFill_Pipe::Shape ******/ + /****** md5 signature: e2e979bbf0e2f5cedfc0e482bf183e08 ******/ %feature("compactdefaultargs") Shape; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +No available documentation. ") Shape; const TopoDS_Shape Shape(); - /****************** Spine ******************/ - /**** md5 signature: f6ea6e7c5910a000caa86ed2eb47e3d7 ****/ + /****** BRepFill_Pipe::Spine ******/ + /****** md5 signature: f6ea6e7c5910a000caa86ed2eb47e3d7 ******/ %feature("compactdefaultargs") Spine; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +No available documentation. ") Spine; const TopoDS_Shape Spine(); @@ -2797,435 +3243,495 @@ TopoDS_Shape ***************************/ class BRepFill_PipeShell : public Standard_Transient { public: - /****************** BRepFill_PipeShell ******************/ - /**** md5 signature: f13911b618ee59949258d0ea58994931 ****/ + /****** BRepFill_PipeShell::BRepFill_PipeShell ******/ + /****** md5 signature: f13911b618ee59949258d0ea58994931 ******/ %feature("compactdefaultargs") BRepFill_PipeShell; - %feature("autodoc", "Set an sweep's mode if no mode are setted, the mode use in makepipe is used. - + %feature("autodoc", " Parameters ---------- Spine: TopoDS_Wire -Returns +Return ------- None + +Description +----------- +Set an sweep's mode If no mode are set, the mode used in MakePipe is used. ") BRepFill_PipeShell; BRepFill_PipeShell(const TopoDS_Wire & Spine); - /****************** Add ******************/ - /**** md5 signature: 4646415ed2583fb1eb7c020fef17efa7 ****/ + /****** BRepFill_PipeShell::Add ******/ + /****** md5 signature: 4646415ed2583fb1eb7c020fef17efa7 ******/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Set an section. the corespondance with the spine, will be automaticaly performed. - + %feature("autodoc", " Parameters ---------- Profile: TopoDS_Shape -WithContact: bool,optional - default value is Standard_False -WithCorrection: bool,optional - default value is Standard_False +WithContact: bool (optional, default to Standard_False) +WithCorrection: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +Set an section. The correspondence with the spine, will be automatically performed. ") Add; void Add(const TopoDS_Shape & Profile, const Standard_Boolean WithContact = Standard_False, const Standard_Boolean WithCorrection = Standard_False); - /****************** Add ******************/ - /**** md5 signature: ea9d6839d1fe733dcb8684defcce8b79 ****/ + /****** BRepFill_PipeShell::Add ******/ + /****** md5 signature: ea9d6839d1fe733dcb8684defcce8b79 ******/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Set an section. the corespondance with the spine, is given by . - + %feature("autodoc", " Parameters ---------- Profile: TopoDS_Shape Location: TopoDS_Vertex -WithContact: bool,optional - default value is Standard_False -WithCorrection: bool,optional - default value is Standard_False +WithContact: bool (optional, default to Standard_False) +WithCorrection: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +Set an section. The correspondence with the spine, is given by Location. ") Add; void Add(const TopoDS_Shape & Profile, const TopoDS_Vertex & Location, const Standard_Boolean WithContact = Standard_False, const Standard_Boolean WithCorrection = Standard_False); - /****************** Build ******************/ - /**** md5 signature: fb4f2d7aa4d9a33eacf2c039bec37b85 ****/ + /****** BRepFill_PipeShell::Build ******/ + /****** md5 signature: fb4f2d7aa4d9a33eacf2c039bec37b85 ******/ %feature("compactdefaultargs") Build; - %feature("autodoc", "Builds the resulting shape (redefined from makeshape). - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Builds the resulting shape (redefined from MakeShape). ") Build; Standard_Boolean Build(); - /****************** DeleteProfile ******************/ - /**** md5 signature: 7299322f6ee9ec68b7478e344329d88d ****/ + /****** BRepFill_PipeShell::DeleteProfile ******/ + /****** md5 signature: 7299322f6ee9ec68b7478e344329d88d ******/ %feature("compactdefaultargs") DeleteProfile; - %feature("autodoc", "Delete an section. - + %feature("autodoc", " Parameters ---------- Profile: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Delete an section. ") DeleteProfile; void DeleteProfile(const TopoDS_Shape & Profile); - /****************** ErrorOnSurface ******************/ - /**** md5 signature: b6b87ca0efc7814953c22829fefc7f65 ****/ + /****** BRepFill_PipeShell::ErrorOnSurface ******/ + /****** md5 signature: b6b87ca0efc7814953c22829fefc7f65 ******/ %feature("compactdefaultargs") ErrorOnSurface; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") ErrorOnSurface; Standard_Real ErrorOnSurface(); - /****************** FirstShape ******************/ - /**** md5 signature: 7feb91b88f8f76be63dd0e52049cfbe6 ****/ + /****** BRepFill_PipeShell::FirstShape ******/ + /****** md5 signature: 7feb91b88f8f76be63dd0e52049cfbe6 ******/ %feature("compactdefaultargs") FirstShape; - %feature("autodoc", "Returns the topods shape of the bottom of the sweep. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +Returns the TopoDS Shape of the bottom of the sweep. ") FirstShape; const TopoDS_Shape FirstShape(); - /****************** Generated ******************/ - /**** md5 signature: 768067f46b5a2be6984659c6467cd78f ****/ + /****** BRepFill_PipeShell::Generated ******/ + /****** md5 signature: 768067f46b5a2be6984659c6467cd78f ******/ %feature("compactdefaultargs") Generated; - %feature("autodoc", "Returns the list of shapes generated from the shape . - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape L: TopTools_ListOfShape -Returns +Return ------- None + +Description +----------- +Returns the list of shapes generated from the shape . ") Generated; void Generated(const TopoDS_Shape & S, TopTools_ListOfShape & L); - /****************** GetStatus ******************/ - /**** md5 signature: ee71a82e4f5af8e3c4016af8fa6d8de6 ****/ + /****** BRepFill_PipeShell::GetStatus ******/ + /****** md5 signature: ee71a82e4f5af8e3c4016af8fa6d8de6 ******/ %feature("compactdefaultargs") GetStatus; - %feature("autodoc", "Get a status, when simulate or build failed. - -Returns + %feature("autodoc", "Return ------- GeomFill_PipeError + +Description +----------- +Get a status, when Simulate or Build failed. ") GetStatus; GeomFill_PipeError GetStatus(); - /****************** IsReady ******************/ - /**** md5 signature: 68a96b040fc0b59848125a1a3ef33dcb ****/ + /****** BRepFill_PipeShell::IsReady ******/ + /****** md5 signature: 68a96b040fc0b59848125a1a3ef33dcb ******/ %feature("compactdefaultargs") IsReady; - %feature("autodoc", "Say if is ready to build the shape return false if do not have section definition. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Say if is ready to build the shape return False if do not have section definition. ") IsReady; Standard_Boolean IsReady(); - /****************** LastShape ******************/ - /**** md5 signature: e1c69c3678b816cb0e3d73096b528c5f ****/ + /****** BRepFill_PipeShell::LastShape ******/ + /****** md5 signature: e1c69c3678b816cb0e3d73096b528c5f ******/ %feature("compactdefaultargs") LastShape; - %feature("autodoc", "Returns the topods shape of the top of the sweep. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +Returns the TopoDS Shape of the top of the sweep. ") LastShape; const TopoDS_Shape LastShape(); - /****************** MakeSolid ******************/ - /**** md5 signature: cac327adfb21fa10211d68dabc53974b ****/ + /****** BRepFill_PipeShell::MakeSolid ******/ + /****** md5 signature: cac327adfb21fa10211d68dabc53974b ******/ %feature("compactdefaultargs") MakeSolid; - %feature("autodoc", "Transform the sweeping shell in solid. if the section are not closed returns false. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Transform the sweeping Shell in Solid. If the section are not closed returns False. ") MakeSolid; Standard_Boolean MakeSolid(); - /****************** Profiles ******************/ - /**** md5 signature: 1b2b499d210731d9c45ae6c16e16db56 ****/ + /****** BRepFill_PipeShell::Profiles ******/ + /****** md5 signature: 1b2b499d210731d9c45ae6c16e16db56 ******/ %feature("compactdefaultargs") Profiles; - %feature("autodoc", "Returns the list of original profiles. - + %feature("autodoc", " Parameters ---------- theProfiles: TopTools_ListOfShape -Returns +Return ------- None + +Description +----------- +Returns the list of original profiles. ") Profiles; void Profiles(TopTools_ListOfShape & theProfiles); - /****************** Set ******************/ - /**** md5 signature: ad296238ba7b296ddd67e2c77e041854 ****/ + /****** BRepFill_PipeShell::Set ******/ + /****** md5 signature: ad296238ba7b296ddd67e2c77e041854 ******/ %feature("compactdefaultargs") Set; - %feature("autodoc", "Set an frenet or an correctedfrenet trihedron to perform the sweeping. - + %feature("autodoc", " Parameters ---------- -Frenet: bool,optional - default value is Standard_False +Frenet: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +Set an Frenet or an CorrectedFrenet trihedron to perform the sweeping. ") Set; void Set(const Standard_Boolean Frenet = Standard_False); - /****************** Set ******************/ - /**** md5 signature: 90e8940ed907efcf8c6e35257766922f ****/ + /****** BRepFill_PipeShell::Set ******/ + /****** md5 signature: 90e8940ed907efcf8c6e35257766922f ******/ %feature("compactdefaultargs") Set; - %feature("autodoc", "Set an fixed trihedron to perform the sweeping all sections will be parallel. - + %feature("autodoc", " Parameters ---------- Axe: gp_Ax2 -Returns +Return ------- None + +Description +----------- +Set an fixed trihedron to perform the sweeping all sections will be parallel. ") Set; void Set(const gp_Ax2 & Axe); - /****************** Set ******************/ - /**** md5 signature: 4fe5fd878126c7abf66461ac49a9d95d ****/ + /****** BRepFill_PipeShell::Set ******/ + /****** md5 signature: 4fe5fd878126c7abf66461ac49a9d95d ******/ %feature("compactdefaultargs") Set; - %feature("autodoc", "Set an fixed binormal direction to perform the sweeping. - + %feature("autodoc", " Parameters ---------- BiNormal: gp_Dir -Returns +Return ------- None + +Description +----------- +Set an fixed BiNormal direction to perform the sweeping. ") Set; void Set(const gp_Dir & BiNormal); - /****************** Set ******************/ - /**** md5 signature: 3a5512d0c00b3142b199e2c762d5e552 ****/ + /****** BRepFill_PipeShell::Set ******/ + /****** md5 signature: 3a5512d0c00b3142b199e2c762d5e552 ******/ %feature("compactdefaultargs") Set; - %feature("autodoc", "Set support to the spine to define the binormal at the spine, like the normal the surfaces. warning: to be effective, each edge of the must have an representaion on one face of. - + %feature("autodoc", " Parameters ---------- SpineSupport: TopoDS_Shape -Returns +Return ------- bool + +Description +----------- +Set support to the spine to define the BiNormal at the spine, like the normal the surfaces. Warning: To be effective, Each edge of the must have an representation on one face of. ") Set; Standard_Boolean Set(const TopoDS_Shape & SpineSupport); - /****************** Set ******************/ - /**** md5 signature: 66377d62887bf90a45e3b528b4a485aa ****/ + /****** BRepFill_PipeShell::Set ******/ + /****** md5 signature: 66377d62887bf90a45e3b528b4a485aa ******/ %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. - + %feature("autodoc", " Parameters ---------- AuxiliarySpine: TopoDS_Wire -CurvilinearEquivalence: bool,optional - default value is Standard_True -KeepContact: BRepFill_TypeOfContact,optional - default value is BRepFill_NoContact +CurvilinearEquivalence: bool (optional, default to Standard_True) +KeepContact: BRepFill_TypeOfContact (optional, default to BRepFill_NoContact) -Returns +Return ------- None + +Description +----------- +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; void Set(const TopoDS_Wire & AuxiliarySpine, const Standard_Boolean CurvilinearEquivalence = Standard_True, const BRepFill_TypeOfContact KeepContact = BRepFill_NoContact); - /****************** SetDiscrete ******************/ - /**** md5 signature: c354292a3d373003c260a3146997c775 ****/ + /****** BRepFill_PipeShell::SetDiscrete ******/ + /****** md5 signature: c354292a3d373003c260a3146997c775 ******/ %feature("compactdefaultargs") SetDiscrete; - %feature("autodoc", "Set a discrete trihedron to perform the sweeping. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Set a Discrete trihedron to perform the sweeping. ") SetDiscrete; void SetDiscrete(); - /****************** SetForceApproxC1 ******************/ - /**** md5 signature: ef99bf0713e14fbe9531aef549b5c75b ****/ + /****** BRepFill_PipeShell::SetForceApproxC1 ******/ + /****** md5 signature: ef99bf0713e14fbe9531aef549b5c75b ******/ %feature("compactdefaultargs") SetForceApproxC1; - %feature("autodoc", "Set the flag that indicates attempt to approximate a c1-continuous surface if a swept surface proved to be c0. give section to sweep. possibilities are : - give one or sevral profile - give one profile and an homotetic law. - automatic compute of correspondance beetween profile, and section on the sweeped shape - correspondance beetween profile, and section on the sweeped shape defined by a vertex of the spine. - + %feature("autodoc", " Parameters ---------- ForceApproxC1: bool -Returns +Return ------- None + +Description +----------- +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 several profile - Give one profile and an homotetic law. - Automatic compute of correspondence between profile, and section on the sweeped shape - correspondence between profile, and section on the sweeped shape defined by a vertex of the spine. ") SetForceApproxC1; void SetForceApproxC1(const Standard_Boolean ForceApproxC1); - /****************** SetLaw ******************/ - /**** md5 signature: af186f09c05a666850d65baf0970c9c2 ****/ + /****** BRepFill_PipeShell::SetLaw ******/ + /****** md5 signature: af186f09c05a666850d65baf0970c9c2 ******/ %feature("compactdefaultargs") SetLaw; - %feature("autodoc", "Set an section and an homotetic law. the homotetie's centers is given by point on the . - + %feature("autodoc", " Parameters ---------- Profile: TopoDS_Shape L: Law_Function -WithContact: bool,optional - default value is Standard_False -WithCorrection: bool,optional - default value is Standard_False +WithContact: bool (optional, default to Standard_False) +WithCorrection: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +Set an section and an homotetic law. The homotetie's centers is given by point on the . ") SetLaw; void SetLaw(const TopoDS_Shape & Profile, const opencascade::handle & L, const Standard_Boolean WithContact = Standard_False, const Standard_Boolean WithCorrection = Standard_False); - /****************** SetLaw ******************/ - /**** md5 signature: d67cbe53520bea57d641b9a7a96a4fae ****/ + /****** BRepFill_PipeShell::SetLaw ******/ + /****** md5 signature: d67cbe53520bea57d641b9a7a96a4fae ******/ %feature("compactdefaultargs") SetLaw; - %feature("autodoc", "Set an section and an homotetic law. the homotetie center is given by point on the . - + %feature("autodoc", " Parameters ---------- Profile: TopoDS_Shape L: Law_Function Location: TopoDS_Vertex -WithContact: bool,optional - default value is Standard_False -WithCorrection: bool,optional - default value is Standard_False +WithContact: bool (optional, default to Standard_False) +WithCorrection: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +Set an section and an homotetic law. The homotetie center is given by point on the . ") 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); - /****************** SetMaxDegree ******************/ - /**** md5 signature: 2a3ad6060a0d872631abe8d437d6229f ****/ + /****** BRepFill_PipeShell::SetMaxDegree ******/ + /****** md5 signature: 2a3ad6060a0d872631abe8d437d6229f ******/ %feature("compactdefaultargs") SetMaxDegree; - %feature("autodoc", "Define the maximum v degree of resulting surface. - + %feature("autodoc", " Parameters ---------- NewMaxDegree: int -Returns +Return ------- None + +Description +----------- +Define the maximum V degree of resulting surface. ") SetMaxDegree; void SetMaxDegree(const Standard_Integer NewMaxDegree); - /****************** SetMaxSegments ******************/ - /**** md5 signature: 7215f32d76e44b535e90a1a1c2957613 ****/ + /****** BRepFill_PipeShell::SetMaxSegments ******/ + /****** md5 signature: 7215f32d76e44b535e90a1a1c2957613 ******/ %feature("compactdefaultargs") SetMaxSegments; - %feature("autodoc", "Define the maximum number of spans in v-direction on resulting surface. - + %feature("autodoc", " Parameters ---------- NewMaxSegments: int -Returns +Return ------- None + +Description +----------- +Define the maximum number of spans in V-direction on resulting surface. ") SetMaxSegments; void SetMaxSegments(const Standard_Integer NewMaxSegments); - /****************** SetTolerance ******************/ - /**** md5 signature: 7a6605305c5a1448579b26f09880877f ****/ + /****** BRepFill_PipeShell::SetTolerance ******/ + /****** md5 signature: 7a6605305c5a1448579b26f09880877f ******/ %feature("compactdefaultargs") SetTolerance; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- -Tol3d: float,optional - default value is 1.0e-4 -BoundTol: float,optional - default value is 1.0e-4 -TolAngular: float,optional - default value is 1.0e-2 +Tol3d: float (optional, default to 1.0e-4) +BoundTol: float (optional, default to 1.0e-4) +TolAngular: float (optional, default to 1.0e-2) -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetTolerance; void SetTolerance(const Standard_Real Tol3d = 1.0e-4, const Standard_Real BoundTol = 1.0e-4, const Standard_Real TolAngular = 1.0e-2); - /****************** SetTransition ******************/ - /**** md5 signature: e4bfbc283a87ba6421fedfbb4b43700d ****/ + /****** BRepFill_PipeShell::SetTransition ******/ + /****** md5 signature: e4bfbc283a87ba6421fedfbb4b43700d ******/ %feature("compactdefaultargs") SetTransition; - %feature("autodoc", "Set the transition mode to manage discontinuities on the sweep. - + %feature("autodoc", " Parameters ---------- -Mode: BRepFill_TransitionStyle,optional - default value is BRepFill_Modified -Angmin: float,optional - default value is 1.0e-2 -Angmax: float,optional - default value is 6.0 +Mode: BRepFill_TransitionStyle (optional, default to BRepFill_Modified) +Angmin: float (optional, default to 1.0e-2) +Angmax: float (optional, default to 6.0) -Returns +Return ------- None + +Description +----------- +Set the Transition Mode to manage discontinuities on the sweep. ") SetTransition; void SetTransition(const BRepFill_TransitionStyle Mode = BRepFill_Modified, const Standard_Real Angmin = 1.0e-2, const Standard_Real Angmax = 6.0); - /****************** Shape ******************/ - /**** md5 signature: e2e979bbf0e2f5cedfc0e482bf183e08 ****/ + /****** BRepFill_PipeShell::Shape ******/ + /****** md5 signature: e2e979bbf0e2f5cedfc0e482bf183e08 ******/ %feature("compactdefaultargs") Shape; - %feature("autodoc", "Returns the result shape. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +Returns the result Shape. ") Shape; const TopoDS_Shape Shape(); - /****************** Simulate ******************/ - /**** md5 signature: 78b0624fde27ce53b740001cf13ef69f ****/ + /****** BRepFill_PipeShell::Simulate ******/ + /****** md5 signature: 78b0624fde27ce53b740001cf13ef69f ******/ %feature("compactdefaultargs") Simulate; - %feature("autodoc", "Perform simulation of the sweep : somes section are returned. - + %feature("autodoc", " Parameters ---------- NumberOfSection: int Sections: TopTools_ListOfShape -Returns +Return ------- None + +Description +----------- +Perform simulation of the sweep: Some Section are returned. ") Simulate; void Simulate(const Standard_Integer NumberOfSection, TopTools_ListOfShape & Sections); - /****************** Spine ******************/ - /**** md5 signature: 6331688635fc3e41ab0cf89de46bd269 ****/ + /****** BRepFill_PipeShell::Spine ******/ + /****** md5 signature: 6331688635fc3e41ab0cf89de46bd269 ******/ %feature("compactdefaultargs") Spine; - %feature("autodoc", "Returns the spine. - -Returns + %feature("autodoc", "Return ------- TopoDS_Wire + +Description +----------- +Returns the spine. ") Spine; const TopoDS_Wire Spine(); @@ -3245,22 +3751,23 @@ TopoDS_Wire *************************/ class BRepFill_Section { public: - /****************** BRepFill_Section ******************/ - /**** md5 signature: e61ac8f8fadf0c18f22e16153b6f3080 ****/ + /****** BRepFill_Section::BRepFill_Section ******/ + /****** md5 signature: e61ac8f8fadf0c18f22e16153b6f3080 ******/ %feature("compactdefaultargs") BRepFill_Section; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepFill_Section; BRepFill_Section(); - /****************** BRepFill_Section ******************/ - /**** md5 signature: c0d5bd713dddab12913a129679ad38d3 ****/ + /****** BRepFill_Section::BRepFill_Section ******/ + /****** md5 signature: c0d5bd713dddab12913a129679ad38d3 ******/ %feature("compactdefaultargs") BRepFill_Section; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Profile: TopoDS_Shape @@ -3268,116 +3775,140 @@ V: TopoDS_Vertex WithContact: bool WithCorrection: bool -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepFill_Section; BRepFill_Section(const TopoDS_Shape & Profile, const TopoDS_Vertex & V, const Standard_Boolean WithContact, const Standard_Boolean WithCorrection); - /****************** IsLaw ******************/ - /**** md5 signature: 627cfa98ccbc7b8171e188b44fb3fb68 ****/ + /****** BRepFill_Section::IsLaw ******/ + /****** md5 signature: 627cfa98ccbc7b8171e188b44fb3fb68 ******/ %feature("compactdefaultargs") IsLaw; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsLaw; Standard_Boolean IsLaw(); - /****************** IsPunctual ******************/ - /**** md5 signature: 34d460c36b2defadbac70729c5fa4e71 ****/ + /****** BRepFill_Section::IsPunctual ******/ + /****** md5 signature: 34d460c36b2defadbac70729c5fa4e71 ******/ %feature("compactdefaultargs") IsPunctual; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsPunctual; Standard_Boolean IsPunctual(); - /****************** ModifiedShape ******************/ - /**** md5 signature: e234547dbb5d90ba2a5ae58c4d9ebd62 ****/ + /****** BRepFill_Section::ModifiedShape ******/ + /****** md5 signature: e234547dbb5d90ba2a5ae58c4d9ebd62 ******/ %feature("compactdefaultargs") ModifiedShape; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theShape: TopoDS_Shape -Returns +Return ------- TopoDS_Shape + +Description +----------- +No available documentation. ") ModifiedShape; TopoDS_Shape ModifiedShape(const TopoDS_Shape & theShape); - /****************** OriginalShape ******************/ - /**** md5 signature: 37aa687b33206d2183ad29c927b910b3 ****/ + /****** BRepFill_Section::OriginalShape ******/ + /****** md5 signature: 37aa687b33206d2183ad29c927b910b3 ******/ %feature("compactdefaultargs") OriginalShape; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +No available documentation. ") OriginalShape; const TopoDS_Shape OriginalShape(); - /****************** Set ******************/ - /**** md5 signature: bf8d56136803d99502545d893d044863 ****/ + /****** BRepFill_Section::Set ******/ + /****** md5 signature: bf8d56136803d99502545d893d044863 ******/ %feature("compactdefaultargs") Set; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- IsLaw: bool -Returns +Return ------- None + +Description +----------- +No available documentation. ") Set; void Set(const Standard_Boolean IsLaw); - /****************** Vertex ******************/ - /**** md5 signature: 84212ff79cd7d64cd0ebfa6f17214e90 ****/ + /****** BRepFill_Section::Vertex ******/ + /****** md5 signature: 84212ff79cd7d64cd0ebfa6f17214e90 ******/ %feature("compactdefaultargs") Vertex; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopoDS_Vertex + +Description +----------- +No available documentation. ") Vertex; const TopoDS_Vertex Vertex(); - /****************** Wire ******************/ - /**** md5 signature: 066765b94f5225dad05ab95ae3f8b503 ****/ + /****** BRepFill_Section::Wire ******/ + /****** md5 signature: 066765b94f5225dad05ab95ae3f8b503 ******/ %feature("compactdefaultargs") Wire; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopoDS_Wire + +Description +----------- +No available documentation. ") Wire; const TopoDS_Wire Wire(); - /****************** WithContact ******************/ - /**** md5 signature: 8c52eb3488d5e864eb4494366981008b ****/ + /****** BRepFill_Section::WithContact ******/ + /****** md5 signature: 8c52eb3488d5e864eb4494366981008b ******/ %feature("compactdefaultargs") WithContact; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") WithContact; Standard_Boolean WithContact(); - /****************** WithCorrection ******************/ - /**** md5 signature: d8c8bc674f5d5b3fb56e5f5b44b37170 ****/ + /****** BRepFill_Section::WithCorrection ******/ + /****** md5 signature: d8c8bc674f5d5b3fb56e5f5b44b37170 ******/ %feature("compactdefaultargs") WithCorrection; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") WithCorrection; Standard_Boolean WithCorrection(); @@ -3396,200 +3927,237 @@ bool %nodefaultctor BRepFill_SectionLaw; class BRepFill_SectionLaw : public Standard_Transient { public: - /****************** ConcatenedLaw ******************/ - /**** md5 signature: a11a20466a33081fa6be7c7d399ac6f0 ****/ + /****** BRepFill_SectionLaw::ConcatenedLaw ******/ + /****** md5 signature: a11a20466a33081fa6be7c7d399ac6f0 ******/ %feature("compactdefaultargs") ConcatenedLaw; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") ConcatenedLaw; virtual opencascade::handle ConcatenedLaw(); - /****************** Continuity ******************/ - /**** md5 signature: d2ca4ce96ca24c38a7e6d5cd32d00816 ****/ + /****** BRepFill_SectionLaw::Continuity ******/ + /****** md5 signature: d2ca4ce96ca24c38a7e6d5cd32d00816 ******/ %feature("compactdefaultargs") Continuity; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Index: int TolAngular: float -Returns +Return ------- GeomAbs_Shape + +Description +----------- +No available documentation. ") Continuity; virtual GeomAbs_Shape Continuity(const Standard_Integer Index, const Standard_Real TolAngular); - /****************** CurrentEdge ******************/ - /**** md5 signature: 2193a21094be95b48640757db8202bfa ****/ + /****** BRepFill_SectionLaw::CurrentEdge ******/ + /****** md5 signature: 2193a21094be95b48640757db8202bfa ******/ %feature("compactdefaultargs") CurrentEdge; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopoDS_Edge + +Description +----------- +No available documentation. ") CurrentEdge; TopoDS_Edge CurrentEdge(); - /****************** D0 ******************/ - /**** md5 signature: 4f469a957aae07c7edf28ee118badab3 ****/ + /****** BRepFill_SectionLaw::D0 ******/ + /****** md5 signature: 4f469a957aae07c7edf28ee118badab3 ******/ %feature("compactdefaultargs") D0; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- U: float S: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +No available documentation. ") D0; virtual void D0(const Standard_Real U, TopoDS_Shape & S); - /****************** IndexOfEdge ******************/ - /**** md5 signature: 907ba1dff8adec2cf8c8b22bf8d3bc50 ****/ + /****** BRepFill_SectionLaw::IndexOfEdge ******/ + /****** md5 signature: 907ba1dff8adec2cf8c8b22bf8d3bc50 ******/ %feature("compactdefaultargs") IndexOfEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- anEdge: TopoDS_Shape -Returns +Return ------- int + +Description +----------- +No available documentation. ") IndexOfEdge; Standard_Integer IndexOfEdge(const TopoDS_Shape & anEdge); - /****************** Init ******************/ - /**** md5 signature: 1b008bb762428c969d10a2c51ed2db58 ****/ + /****** BRepFill_SectionLaw::Init ******/ + /****** md5 signature: 1b008bb762428c969d10a2c51ed2db58 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- W: TopoDS_Wire -Returns +Return ------- None + +Description +----------- +No available documentation. ") Init; void Init(const TopoDS_Wire & W); - /****************** IsConstant ******************/ - /**** md5 signature: 337c4e46b4ff32f057b2cee90a9a9b55 ****/ + /****** BRepFill_SectionLaw::IsConstant ******/ + /****** md5 signature: 337c4e46b4ff32f057b2cee90a9a9b55 ******/ %feature("compactdefaultargs") IsConstant; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsConstant; virtual Standard_Boolean IsConstant(); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** BRepFill_SectionLaw::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsDone; Standard_Boolean IsDone(); - /****************** IsUClosed ******************/ - /**** md5 signature: 17d29145e29e54adf880f81b138cfeb5 ****/ + /****** BRepFill_SectionLaw::IsUClosed ******/ + /****** md5 signature: 17d29145e29e54adf880f81b138cfeb5 ******/ %feature("compactdefaultargs") IsUClosed; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsUClosed; Standard_Boolean IsUClosed(); - /****************** IsVClosed ******************/ - /**** md5 signature: 270ac1341783e48f1a0f14434f1599d3 ****/ + /****** BRepFill_SectionLaw::IsVClosed ******/ + /****** md5 signature: 270ac1341783e48f1a0f14434f1599d3 ******/ %feature("compactdefaultargs") IsVClosed; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsVClosed; Standard_Boolean IsVClosed(); - /****************** IsVertex ******************/ - /**** md5 signature: 302402c7a4a48b3d6f9b09f532742fc8 ****/ + /****** BRepFill_SectionLaw::IsVertex ******/ + /****** md5 signature: 302402c7a4a48b3d6f9b09f532742fc8 ******/ %feature("compactdefaultargs") IsVertex; - %feature("autodoc", "Say if the input shape is a vertex. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Say if the input shape is a vertex. ") IsVertex; virtual Standard_Boolean IsVertex(); - /****************** Law ******************/ - /**** md5 signature: 2f654c531c53f8e84f5761bf7e8bf354 ****/ + /****** BRepFill_SectionLaw::Law ******/ + /****** md5 signature: 2f654c531c53f8e84f5761bf7e8bf354 ******/ %feature("compactdefaultargs") Law; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Law; const opencascade::handle & Law(const Standard_Integer Index); - /****************** NbLaw ******************/ - /**** md5 signature: 37098ff16cd9e076b3a2132752025ea0 ****/ + /****** BRepFill_SectionLaw::NbLaw ******/ + /****** md5 signature: 37098ff16cd9e076b3a2132752025ea0 ******/ %feature("compactdefaultargs") NbLaw; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") NbLaw; Standard_Integer NbLaw(); - /****************** Vertex ******************/ - /**** md5 signature: e585460981726e88b1fbe195471a8be2 ****/ + /****** BRepFill_SectionLaw::Vertex ******/ + /****** md5 signature: e585460981726e88b1fbe195471a8be2 ******/ %feature("compactdefaultargs") Vertex; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Index: int Param: float -Returns +Return ------- TopoDS_Vertex + +Description +----------- +No available documentation. ") Vertex; virtual TopoDS_Vertex Vertex(const Standard_Integer Index, const Standard_Real Param); - /****************** VertexTol ******************/ - /**** md5 signature: 1c0bff8ea482aa3b86222cc8cb5f84f5 ****/ + /****** BRepFill_SectionLaw::VertexTol ******/ + /****** md5 signature: 1c0bff8ea482aa3b86222cc8cb5f84f5 ******/ %feature("compactdefaultargs") VertexTol; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Index: int Param: float -Returns +Return ------- float + +Description +----------- +No available documentation. ") VertexTol; virtual Standard_Real VertexTol(const Standard_Integer Index, const Standard_Real Param); @@ -3609,66 +4177,72 @@ float **********************************/ class BRepFill_SectionPlacement { public: - /****************** BRepFill_SectionPlacement ******************/ - /**** md5 signature: 210cac6a0902d4f5c3388f3f5f93ddf8 ****/ + /****** BRepFill_SectionPlacement::BRepFill_SectionPlacement ******/ + /****** md5 signature: 210cac6a0902d4f5c3388f3f5f93ddf8 ******/ %feature("compactdefaultargs") BRepFill_SectionPlacement; - %feature("autodoc", "Automatic placement. - + %feature("autodoc", " Parameters ---------- Law: BRepFill_LocationLaw Section: TopoDS_Shape -WithContact: bool,optional - default value is Standard_False -WithCorrection: bool,optional - default value is Standard_False +WithContact: bool (optional, default to Standard_False) +WithCorrection: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +Automatic placement. ") 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 ******************/ - /**** md5 signature: 22b469e71ce31627b4ac02814f5e6e35 ****/ + /****** BRepFill_SectionPlacement::BRepFill_SectionPlacement ******/ + /****** md5 signature: 22b469e71ce31627b4ac02814f5e6e35 ******/ %feature("compactdefaultargs") BRepFill_SectionPlacement; - %feature("autodoc", "Placement on vertex. - + %feature("autodoc", " Parameters ---------- Law: BRepFill_LocationLaw Section: TopoDS_Shape Vertex: TopoDS_Shape -WithContact: bool,optional - default value is Standard_False -WithCorrection: bool,optional - default value is Standard_False +WithContact: bool (optional, default to Standard_False) +WithCorrection: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +Placement on vertex. ") 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); - /****************** AbscissaOnPath ******************/ - /**** md5 signature: e1594bccbdf3136bf5cf1f500cf4c013 ****/ + /****** BRepFill_SectionPlacement::AbscissaOnPath ******/ + /****** md5 signature: e1594bccbdf3136bf5cf1f500cf4c013 ******/ %feature("compactdefaultargs") AbscissaOnPath; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +No available documentation. ") AbscissaOnPath; Standard_Real AbscissaOnPath(); - /****************** Transformation ******************/ - /**** md5 signature: 567e6ee373139970f4679dbb49e28e7c ****/ + /****** BRepFill_SectionPlacement::Transformation ******/ + /****** md5 signature: 567e6ee373139970f4679dbb49e28e7c ******/ %feature("compactdefaultargs") Transformation; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- gp_Trsf + +Description +----------- +No available documentation. ") Transformation; const gp_Trsf Transformation(); @@ -3686,198 +4260,221 @@ gp_Trsf ***********************/ class BRepFill_Sweep { public: - /****************** BRepFill_Sweep ******************/ - /**** md5 signature: 4bd773fce0e9972dd0b0e7000d37e1c6 ****/ + /****** BRepFill_Sweep::BRepFill_Sweep ******/ + /****** md5 signature: 4bd773fce0e9972dd0b0e7000d37e1c6 ******/ %feature("compactdefaultargs") BRepFill_Sweep; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Section: BRepFill_SectionLaw Location: BRepFill_LocationLaw WithKPart: bool -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepFill_Sweep; BRepFill_Sweep(const opencascade::handle & Section, const opencascade::handle & Location, const Standard_Boolean WithKPart); - /****************** Build ******************/ - /**** md5 signature: 8948957dd26d744dcb6a952ff83fd290 ****/ + /****** BRepFill_Sweep::Build ******/ + /****** md5 signature: 8948957dd26d744dcb6a952ff83fd290 ******/ %feature("compactdefaultargs") Build; - %feature("autodoc", "Build the sweep surface transition define transition strategy approx define approximation strategy - geomfill_section : the composed function location x section is directly approximed. - geomfill_location : the location law is approximed, and the sweepsurface is bulid algebric composition of approximed location law and section law this option is ok, if section.surface() methode is effective. continuity : the continuity in v waiting on the surface degmax : the maximum degree in v requiered on the surface segmax : the maximum number of span in v requiered on the surface. - + %feature("autodoc", " Parameters ---------- ReversedEdges: TopTools_MapOfShape Tapes: BRepFill_DataMapOfShapeHArray2OfShape Rails: BRepFill_DataMapOfShapeHArray2OfShape -Transition: BRepFill_TransitionStyle,optional - default value is BRepFill_Modified -Continuity: GeomAbs_Shape,optional - default value is GeomAbs_C2 -Approx: GeomFill_ApproxStyle,optional - default value is GeomFill_Location -Degmax: int,optional - default value is 11 -Segmax: int,optional - default value is 30 - -Returns +Transition: BRepFill_TransitionStyle (optional, default to BRepFill_Modified) +Continuity: GeomAbs_Shape (optional, default to GeomAbs_C2) +Approx: GeomFill_ApproxStyle (optional, default to GeomFill_Location) +Degmax: int (optional, default to 11) +Segmax: int (optional, default to 30) + +Return ------- None + +Description +----------- +Build the Sweep Surface Transition define Transition strategy Approx define Approximation Strategy - GeomFill_Section: The composed Function Location X Section is directly approximated. - GeomFill_Location: The location law is approximated, and the SweepSurface builds an algebraic composition of approximated location law and section law This option is Ok, if Section.Surface() methode is effective. Continuity: The continuity in v waiting on the surface Degmax: The maximum degree in v required on the surface Segmax: The maximum number of span in v required on the surface. ") 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); - /****************** ErrorOnSurface ******************/ - /**** md5 signature: b6b87ca0efc7814953c22829fefc7f65 ****/ + /****** BRepFill_Sweep::ErrorOnSurface ******/ + /****** md5 signature: b6b87ca0efc7814953c22829fefc7f65 ******/ %feature("compactdefaultargs") ErrorOnSurface; - %feature("autodoc", "Get the approximation error. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Get the Approximation error. ") ErrorOnSurface; Standard_Real ErrorOnSurface(); - /****************** InterFaces ******************/ - /**** md5 signature: 2722003ae5ed02eb76b0dc1ff08ee8a4 ****/ + /****** BRepFill_Sweep::InterFaces ******/ + /****** md5 signature: 2722003ae5ed02eb76b0dc1ff08ee8a4 ******/ %feature("compactdefaultargs") InterFaces; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") InterFaces; opencascade::handle InterFaces(); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** BRepFill_Sweep::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Say if the shape is build. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Say if the Shape is Build. ") IsDone; Standard_Boolean IsDone(); - /****************** Sections ******************/ - /**** md5 signature: 88662b898322dac55a408cb35a139d61 ****/ + /****** BRepFill_Sweep::Sections ******/ + /****** md5 signature: 88662b898322dac55a408cb35a139d61 ******/ %feature("compactdefaultargs") Sections; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Sections; opencascade::handle Sections(); - /****************** SetAngularControl ******************/ - /**** md5 signature: 9a75655ab5588301953b3e117b7b1018 ****/ + /****** BRepFill_Sweep::SetAngularControl ******/ + /****** md5 signature: 9a75655ab5588301953b3e117b7b1018 ******/ %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'. - + %feature("autodoc", " Parameters ---------- -AngleMin: float,optional - default value is 0.01 -AngleMax: float,optional - default value is 6.0 +AngleMin: float (optional, default to 0.01) +AngleMax: float (optional, default to 6.0) -Returns +Return ------- None + +Description +----------- +Tolerance To controle Corner management. //! If the discontinuity is lesser than in radian The Transition Performed will be always 'Modified'. ") SetAngularControl; void SetAngularControl(const Standard_Real AngleMin = 0.01, const Standard_Real AngleMax = 6.0); - /****************** SetBounds ******************/ - /**** md5 signature: bc59efbec6dfc54217c2b23ecafc6827 ****/ + /****** BRepFill_Sweep::SetBounds ******/ + /****** md5 signature: bc59efbec6dfc54217c2b23ecafc6827 ******/ %feature("compactdefaultargs") SetBounds; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- FirstShape: TopoDS_Wire LastShape: TopoDS_Wire -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetBounds; void SetBounds(const TopoDS_Wire & FirstShape, const TopoDS_Wire & LastShape); - /****************** SetForceApproxC1 ******************/ - /**** md5 signature: ef99bf0713e14fbe9531aef549b5c75b ****/ + /****** BRepFill_Sweep::SetForceApproxC1 ******/ + /****** md5 signature: ef99bf0713e14fbe9531aef549b5c75b ******/ %feature("compactdefaultargs") SetForceApproxC1; - %feature("autodoc", "Set the flag that indicates attempt to approximate a c1-continuous surface if a swept surface proved to be c0. - + %feature("autodoc", " Parameters ---------- ForceApproxC1: bool -Returns +Return ------- None + +Description +----------- +Set the flag that indicates attempt to approximate a C1-continuous surface if a swept surface proved to be C0. ") SetForceApproxC1; void SetForceApproxC1(const Standard_Boolean ForceApproxC1); - /****************** SetTolerance ******************/ - /**** md5 signature: 0c0c29e014b1ba349cc5155f8793397a ****/ + /****** BRepFill_Sweep::SetTolerance ******/ + /****** md5 signature: 0c0c29e014b1ba349cc5155f8793397a ******/ %feature("compactdefaultargs") SetTolerance; - %feature("autodoc", "Set approximation tolerance tol3d : tolerance to surface approximation tol2d : tolerance used to perform curve approximation normaly the 2d curve are approximated with a tolerance given by the resolution on support surfaces, but if this tolerance is too large tol2d is used. tolangular : tolerance (in radian) to control the angle beetween tangents on the section law and tangent of iso-v on approximed surface. - + %feature("autodoc", " Parameters ---------- Tol3d: float -BoundTol: float,optional - default value is 1.0 -Tol2d: float,optional - default value is 1.0e-5 -TolAngular: float,optional - default value is 1.0e-2 +BoundTol: float (optional, default to 1.0) +Tol2d: float (optional, default to 1.0e-5) +TolAngular: float (optional, default to 1.0e-2) -Returns +Return ------- None + +Description +----------- +Set Approximation Tolerance Tol3d: Tolerance to surface approximation Tol2d: Tolerance used to perform curve approximation Normally the 2d curve are approximated with a tolerance given by the resolution on support surfaces, but if this tolerance is too large Tol2d is used. TolAngular: Tolerance (in radian) to control the angle between tangents on the section law and tangent of iso-v on approximated surface. ") 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 ******************/ - /**** md5 signature: 3aece276415d56b8bd9afa5bf371db57 ****/ + /****** BRepFill_Sweep::Shape ******/ + /****** md5 signature: 3aece276415d56b8bd9afa5bf371db57 ******/ %feature("compactdefaultargs") Shape; - %feature("autodoc", "Returns the sweeping shape. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +returns the Sweeping Shape. ") Shape; TopoDS_Shape Shape(); - /****************** SubShape ******************/ - /**** md5 signature: e4bb1fadebe41ca5dc04b13c83f173aa ****/ + /****** BRepFill_Sweep::SubShape ******/ + /****** md5 signature: e4bb1fadebe41ca5dc04b13c83f173aa ******/ %feature("compactdefaultargs") SubShape; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +No available documentation. ") SubShape; opencascade::handle SubShape(); - /****************** Tape ******************/ - /**** md5 signature: b18f2a38c1dd8f654316d3591197c164 ****/ + /****** BRepFill_Sweep::Tape ******/ + /****** md5 signature: b18f2a38c1dd8f654316d3591197c164 ******/ %feature("compactdefaultargs") Tape; - %feature("autodoc", "Returns the tape corresponding to index-th edge of section. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- TopoDS_Shape + +Description +----------- +returns the Tape corresponding to Index-th edge of section. ") Tape; TopoDS_Shape Tape(const Standard_Integer Index); @@ -3895,22 +4492,23 @@ TopoDS_Shape ******************************/ class BRepFill_TrimEdgeTool { public: - /****************** BRepFill_TrimEdgeTool ******************/ - /**** md5 signature: df16e3d74c293c3858dcd8b7873d0dc0 ****/ + /****** BRepFill_TrimEdgeTool::BRepFill_TrimEdgeTool ******/ + /****** md5 signature: df16e3d74c293c3858dcd8b7873d0dc0 ******/ %feature("compactdefaultargs") BRepFill_TrimEdgeTool; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepFill_TrimEdgeTool; BRepFill_TrimEdgeTool(); - /****************** BRepFill_TrimEdgeTool ******************/ - /**** md5 signature: be4ef61946c69fac7539e57ce14a0f9d ****/ + /****** BRepFill_TrimEdgeTool::BRepFill_TrimEdgeTool ******/ + /****** md5 signature: be4ef61946c69fac7539e57ce14a0f9d ******/ %feature("compactdefaultargs") BRepFill_TrimEdgeTool; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Bisec: Bisector_Bisec @@ -3918,17 +4516,20 @@ S1: Geom2d_Geometry S2: Geom2d_Geometry Offset: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepFill_TrimEdgeTool; BRepFill_TrimEdgeTool(const Bisector_Bisec & Bisec, const opencascade::handle & S1, const opencascade::handle & S2, const Standard_Real Offset); - /****************** AddOrConfuse ******************/ - /**** md5 signature: 297868f74217946610c526fee579a8ca ****/ + /****** BRepFill_TrimEdgeTool::AddOrConfuse ******/ + /****** md5 signature: 297868f74217946610c526fee579a8ca ******/ %feature("compactdefaultargs") AddOrConfuse; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Start: bool @@ -3936,17 +4537,20 @@ Edge1: TopoDS_Edge Edge2: TopoDS_Edge Params: TColgp_SequenceOfPnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") AddOrConfuse; void AddOrConfuse(const Standard_Boolean Start, const TopoDS_Edge & Edge1, const TopoDS_Edge & Edge2, TColgp_SequenceOfPnt & Params); - /****************** IntersectWith ******************/ - /**** md5 signature: 4185ea6e9b4d8cc6dd841196012f73af ****/ + /****** BRepFill_TrimEdgeTool::IntersectWith ******/ + /****** md5 signature: 4185ea6e9b4d8cc6dd841196012f73af ******/ %feature("compactdefaultargs") IntersectWith; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Edge1: TopoDS_Edge @@ -3959,24 +4563,31 @@ theJoinType: GeomAbs_JoinType IsOpenResult: bool Params: TColgp_SequenceOfPnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: 9be77a568a0605cae4e2b82729d80744 ****/ + /****** BRepFill_TrimEdgeTool::IsInside ******/ + /****** md5 signature: 9be77a568a0605cae4e2b82729d80744 ******/ %feature("compactdefaultargs") IsInside; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P: gp_Pnt2d -Returns +Return ------- bool + +Description +----------- +No available documentation. ") IsInside; Standard_Boolean IsInside(const gp_Pnt2d & P); @@ -3994,115 +4605,137 @@ bool *********************************/ class BRepFill_TrimShellCorner { public: - /****************** BRepFill_TrimShellCorner ******************/ - /**** md5 signature: 3f51ac9ad276e5ea9d71202c20886db0 ****/ + /****** BRepFill_TrimShellCorner::BRepFill_TrimShellCorner ******/ + /****** md5 signature: 2bb20b7a9d4f9625d8bd98b1e30b2acd ******/ %feature("compactdefaultargs") BRepFill_TrimShellCorner; - %feature("autodoc", "Constructor: takes faces to intersect, type of transition (it can be rightcorner or roundcorner) and axis of bisector plane. - + %feature("autodoc", " Parameters ---------- theFaces: TopTools_HArray2OfShape theTransition: BRepFill_TransitionStyle theAxeOfBisPlane: gp_Ax2 +theIntPointCrossDir: gp_Vec -Returns +Return ------- None + +Description +----------- +Constructor: takes faces to intersect, type of transition (it can be RightCorner or RoundCorner) and axis of bisector plane theIntersectPointCrossDirection: prev path direction at the origin point of theAxeOfBisPlane cross next path direction at the origin point of theAxeOfBisPlane. used when EE has more than one vertices. ") BRepFill_TrimShellCorner; - BRepFill_TrimShellCorner(const opencascade::handle & theFaces, const BRepFill_TransitionStyle theTransition, const gp_Ax2 & theAxeOfBisPlane); + BRepFill_TrimShellCorner(const opencascade::handle & theFaces, const BRepFill_TransitionStyle theTransition, const gp_Ax2 & theAxeOfBisPlane, const gp_Vec & theIntPointCrossDir); - /****************** AddBounds ******************/ - /**** md5 signature: 70621cde2e2ea8a90994c6feb97fbd2c ****/ + /****** BRepFill_TrimShellCorner::AddBounds ******/ + /****** md5 signature: 70621cde2e2ea8a90994c6feb97fbd2c ******/ %feature("compactdefaultargs") AddBounds; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Bounds: TopTools_HArray2OfShape -Returns +Return ------- None + +Description +----------- +No available documentation. ") AddBounds; void AddBounds(const opencascade::handle & Bounds); - /****************** AddUEdges ******************/ - /**** md5 signature: 019276b5dde572686ddaf24b92531b81 ****/ + /****** BRepFill_TrimShellCorner::AddUEdges ******/ + /****** md5 signature: 019276b5dde572686ddaf24b92531b81 ******/ %feature("compactdefaultargs") AddUEdges; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theUEdges: TopTools_HArray2OfShape -Returns +Return ------- None + +Description +----------- +No available documentation. ") AddUEdges; void AddUEdges(const opencascade::handle & theUEdges); - /****************** AddVEdges ******************/ - /**** md5 signature: 338ed3b1e2ba98094e3835a4935c4864 ****/ + /****** BRepFill_TrimShellCorner::AddVEdges ******/ + /****** md5 signature: 338ed3b1e2ba98094e3835a4935c4864 ******/ %feature("compactdefaultargs") AddVEdges; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- theVEdges: TopTools_HArray2OfShape theIndex: int -Returns +Return ------- None + +Description +----------- +No available documentation. ") AddVEdges; void AddVEdges(const opencascade::handle & theVEdges, const Standard_Integer theIndex); - /****************** HasSection ******************/ - /**** md5 signature: 98a762424c2b8b56d60a7042e1613224 ****/ + /****** BRepFill_TrimShellCorner::HasSection ******/ + /****** md5 signature: 98a762424c2b8b56d60a7042e1613224 ******/ %feature("compactdefaultargs") HasSection; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") HasSection; Standard_Boolean HasSection(); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** BRepFill_TrimShellCorner::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsDone; Standard_Boolean IsDone(); - /****************** Modified ******************/ - /**** md5 signature: f81cf8201833ba1619b2e9297e442305 ****/ + /****** BRepFill_TrimShellCorner::Modified ******/ + /****** md5 signature: f81cf8201833ba1619b2e9297e442305 ******/ %feature("compactdefaultargs") Modified; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape theModified: TopTools_ListOfShape -Returns +Return ------- None + +Description +----------- +No available documentation. ") Modified; void Modified(const TopoDS_Shape & S, TopTools_ListOfShape & theModified); - /****************** Perform ******************/ - /**** md5 signature: c04b01412cba7220c024b5eb4532697f ****/ + /****** BRepFill_TrimShellCorner::Perform ******/ + /****** md5 signature: c04b01412cba7220c024b5eb4532697f ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") Perform; void Perform(); @@ -4120,11 +4753,10 @@ None *********************************/ class BRepFill_TrimSurfaceTool { public: - /****************** BRepFill_TrimSurfaceTool ******************/ - /**** md5 signature: 687ffb167ac8420b3538447d155a9c2e ****/ + /****** BRepFill_TrimSurfaceTool::BRepFill_TrimSurfaceTool ******/ + /****** md5 signature: 687ffb167ac8420b3538447d155a9c2e ******/ %feature("compactdefaultargs") BRepFill_TrimSurfaceTool; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Bis: Geom2d_Curve @@ -4135,65 +4767,77 @@ Edge2: TopoDS_Edge Inv1: bool Inv2: bool -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: dfce88de574620a98400827e2dbf9c14 ****/ + /****** BRepFill_TrimSurfaceTool::IntersectWith ******/ + /****** md5 signature: dfce88de574620a98400827e2dbf9c14 ******/ %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. - + %feature("autodoc", " Parameters ---------- EdgeOnF1: TopoDS_Edge EdgeOnF2: TopoDS_Edge Points: TColgp_SequenceOfPnt -Returns +Return ------- None + +Description +----------- +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. ") IntersectWith; void IntersectWith(const TopoDS_Edge & EdgeOnF1, const TopoDS_Edge & EdgeOnF2, TColgp_SequenceOfPnt & Points); - /****************** IsOnFace ******************/ - /**** md5 signature: d6a8f88d8d2b38d19fbe3df805bac5b8 ****/ + /****** BRepFill_TrimSurfaceTool::IsOnFace ******/ + /****** md5 signature: d6a8f88d8d2b38d19fbe3df805bac5b8 ******/ %feature("compactdefaultargs") IsOnFace; - %feature("autodoc", "Returns true if the line (p, dz) intersect the faces. - + %feature("autodoc", " Parameters ---------- Point: gp_Pnt2d -Returns +Return ------- bool + +Description +----------- +returns True if the Line (P, DZ) intersect the Faces. ") IsOnFace; Standard_Boolean IsOnFace(const gp_Pnt2d & Point); - /****************** ProjOn ******************/ - /**** md5 signature: ac17addb66304c3bd74131762028e6e1 ****/ + /****** BRepFill_TrimSurfaceTool::ProjOn ******/ + /****** md5 signature: ac17addb66304c3bd74131762028e6e1 ******/ %feature("compactdefaultargs") ProjOn; - %feature("autodoc", "Returns the parameter of the point on the edge , assuming that the point is on the edge. - + %feature("autodoc", " Parameters ---------- Point: gp_Pnt2d Edge: TopoDS_Edge -Returns +Return ------- float + +Description +----------- +returns the parameter of the point on the Edge , assuming that the point is on the edge. ") ProjOn; Standard_Real ProjOn(const gp_Pnt2d & Point, const TopoDS_Edge & Edge); - /****************** Project ******************/ - /**** md5 signature: 729c9c8c03dd73c9392eb2dbe88f9049 ****/ + /****** BRepFill_TrimSurfaceTool::Project ******/ + /****** md5 signature: 729c9c8c03dd73c9392eb2dbe88f9049 ******/ %feature("compactdefaultargs") Project; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- U1: float @@ -4201,13 +4845,16 @@ U2: float Curve: Geom_Curve PCurve1: Geom2d_Curve PCurve2: Geom2d_Curve -myCont: GeomAbs_Shape -Returns +Return ------- -None +myCont: GeomAbs_Shape + +Description +----------- +No available documentation. ") Project; - void Project(const Standard_Real U1, const Standard_Real U2, opencascade::handle & Curve, opencascade::handle & PCurve1, opencascade::handle & PCurve2, GeomAbs_Shape & myCont); + void Project(const Standard_Real U1, const Standard_Real U2, opencascade::handle & Curve, opencascade::handle & PCurve1, opencascade::handle & PCurve2, GeomAbs_Shape &OutValue); }; @@ -4223,19 +4870,22 @@ None ************************/ class BRepFill_ACRLaw : public BRepFill_LocationLaw { public: - /****************** BRepFill_ACRLaw ******************/ - /**** md5 signature: 5bd642d9de88bc8646f8a34711618e0d ****/ + /****** BRepFill_ACRLaw::BRepFill_ACRLaw ******/ + /****** md5 signature: 5bd642d9de88bc8646f8a34711618e0d ******/ %feature("compactdefaultargs") BRepFill_ACRLaw; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Path: TopoDS_Wire Law: GeomFill_LocationGuide -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepFill_ACRLaw; BRepFill_ACRLaw(const TopoDS_Wire & Path, const opencascade::handle & Law); @@ -4255,19 +4905,22 @@ None ***************************/ class BRepFill_Edge3DLaw : public BRepFill_LocationLaw { public: - /****************** BRepFill_Edge3DLaw ******************/ - /**** md5 signature: 089e9516c0b066432399a72644b58029 ****/ + /****** BRepFill_Edge3DLaw::BRepFill_Edge3DLaw ******/ + /****** md5 signature: 089e9516c0b066432399a72644b58029 ******/ %feature("compactdefaultargs") BRepFill_Edge3DLaw; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Path: TopoDS_Wire Law: GeomFill_LocationLaw -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepFill_Edge3DLaw; BRepFill_Edge3DLaw(const TopoDS_Wire & Path, const opencascade::handle & Law); @@ -4287,30 +4940,35 @@ None *******************************/ class BRepFill_EdgeOnSurfLaw : public BRepFill_LocationLaw { public: - /****************** BRepFill_EdgeOnSurfLaw ******************/ - /**** md5 signature: 13919471c170841dd3a9c1a117b35fde ****/ + /****** BRepFill_EdgeOnSurfLaw::BRepFill_EdgeOnSurfLaw ******/ + /****** md5 signature: 13919471c170841dd3a9c1a117b35fde ******/ %feature("compactdefaultargs") BRepFill_EdgeOnSurfLaw; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Path: TopoDS_Wire Surf: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepFill_EdgeOnSurfLaw; BRepFill_EdgeOnSurfLaw(const TopoDS_Wire & Path, const TopoDS_Shape & Surf); - /****************** HasResult ******************/ - /**** md5 signature: 345d4b0f7e88f528928167976d8256d5 ****/ + /****** BRepFill_EdgeOnSurfLaw::HasResult ******/ + /****** md5 signature: 345d4b0f7e88f528928167976d8256d5 ******/ %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. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns if one Edge of do not have representation on . In this case it is impossible to use this object. ") HasResult; Standard_Boolean HasResult(); @@ -4330,28 +4988,29 @@ bool ***************************/ class BRepFill_NSections : public BRepFill_SectionLaw { public: - /****************** BRepFill_NSections ******************/ - /**** md5 signature: 3b127eaf407cfcc5930986d01296f429 ****/ + /****** BRepFill_NSections::BRepFill_NSections ******/ + /****** md5 signature: 3b127eaf407cfcc5930986d01296f429 ******/ %feature("compactdefaultargs") BRepFill_NSections; - %feature("autodoc", "Construct. - + %feature("autodoc", " Parameters ---------- S: TopTools_SequenceOfShape -Build: bool,optional - default value is Standard_True +Build: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +Construct. ") BRepFill_NSections; BRepFill_NSections(const TopTools_SequenceOfShape & S, const Standard_Boolean Build = Standard_True); - /****************** BRepFill_NSections ******************/ - /**** md5 signature: 43eecd6730511becf0529de67a23dc5f ****/ + /****** BRepFill_NSections::BRepFill_NSections ******/ + /****** md5 signature: 43eecd6730511becf0529de67a23dc5f ******/ %feature("compactdefaultargs") BRepFill_NSections; - %feature("autodoc", "Construct. - + %feature("autodoc", " Parameters ---------- S: TopTools_SequenceOfShape @@ -4359,109 +5018,130 @@ Trsfs: GeomFill_SequenceOfTrsf P: TColStd_SequenceOfReal VF: float VL: float -Build: bool,optional - default value is Standard_True +Build: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +Construct. ") 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); - /****************** ConcatenedLaw ******************/ - /**** md5 signature: 4495106cbf0901c13e169216aea3ff82 ****/ + /****** BRepFill_NSections::ConcatenedLaw ******/ + /****** md5 signature: 4495106cbf0901c13e169216aea3ff82 ******/ %feature("compactdefaultargs") ConcatenedLaw; - %feature("autodoc", "Give the law build on a concatened section. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Give the law build on a concatenated section. ") ConcatenedLaw; virtual opencascade::handle ConcatenedLaw(); - /****************** Continuity ******************/ - /**** md5 signature: a0e903623d8c6b4c441db63330dfde38 ****/ + /****** BRepFill_NSections::Continuity ******/ + /****** md5 signature: a0e903623d8c6b4c441db63330dfde38 ******/ %feature("compactdefaultargs") Continuity; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Index: int TolAngular: float -Returns +Return ------- GeomAbs_Shape + +Description +----------- +No available documentation. ") Continuity; virtual GeomAbs_Shape Continuity(const Standard_Integer Index, const Standard_Real TolAngular); - /****************** D0 ******************/ - /**** md5 signature: de496c8c897345c41ec4327b5afb7dea ****/ + /****** BRepFill_NSections::D0 ******/ + /****** md5 signature: de496c8c897345c41ec4327b5afb7dea ******/ %feature("compactdefaultargs") D0; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Param: float S: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +No available documentation. ") D0; virtual void D0(const Standard_Real Param, TopoDS_Shape & S); - /****************** IsConstant ******************/ - /**** md5 signature: 117737bfe11f2fa5e6c2b702110a9201 ****/ + /****** BRepFill_NSections::IsConstant ******/ + /****** md5 signature: 117737bfe11f2fa5e6c2b702110a9201 ******/ %feature("compactdefaultargs") IsConstant; - %feature("autodoc", "Say if the law is constant. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Say if the Law is Constant. ") IsConstant; virtual Standard_Boolean IsConstant(); - /****************** IsVertex ******************/ - /**** md5 signature: 9153c2b3b3fc32dd6aea02d7fc3fe588 ****/ + /****** BRepFill_NSections::IsVertex ******/ + /****** md5 signature: 9153c2b3b3fc32dd6aea02d7fc3fe588 ******/ %feature("compactdefaultargs") IsVertex; - %feature("autodoc", "Say if the input shape is a vertex. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Say if the input shape is a vertex. ") IsVertex; virtual Standard_Boolean IsVertex(); - /****************** Vertex ******************/ - /**** md5 signature: 50d7f598881fad0d7b254edf83197d3e ****/ + /****** BRepFill_NSections::Vertex ******/ + /****** md5 signature: 50d7f598881fad0d7b254edf83197d3e ******/ %feature("compactdefaultargs") Vertex; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Index: int Param: float -Returns +Return ------- TopoDS_Vertex + +Description +----------- +No available documentation. ") Vertex; virtual TopoDS_Vertex Vertex(const Standard_Integer Index, const Standard_Real Param); - /****************** VertexTol ******************/ - /**** md5 signature: b5ecc9a4e833886cbbedfc54fe0fbfe1 ****/ + /****** BRepFill_NSections::VertexTol ******/ + /****** md5 signature: b5ecc9a4e833886cbbedfc54fe0fbfe1 ******/ %feature("compactdefaultargs") VertexTol; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Index: int Param: float -Returns +Return ------- float + +Description +----------- +No available documentation. ") VertexTol; virtual Standard_Real VertexTol(const Standard_Integer Index, const Standard_Real Param); @@ -4481,167 +5161,194 @@ float **************************/ class BRepFill_ShapeLaw : public BRepFill_SectionLaw { public: - /****************** BRepFill_ShapeLaw ******************/ - /**** md5 signature: 804d5b8a2aaf6f667f9324c438ea4a53 ****/ + /****** BRepFill_ShapeLaw::BRepFill_ShapeLaw ******/ + /****** md5 signature: 804d5b8a2aaf6f667f9324c438ea4a53 ******/ %feature("compactdefaultargs") BRepFill_ShapeLaw; - %feature("autodoc", "Construct an constant law. - + %feature("autodoc", " Parameters ---------- V: TopoDS_Vertex -Build: bool,optional - default value is Standard_True +Build: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +Construct an constant Law. ") BRepFill_ShapeLaw; BRepFill_ShapeLaw(const TopoDS_Vertex & V, const Standard_Boolean Build = Standard_True); - /****************** BRepFill_ShapeLaw ******************/ - /**** md5 signature: ee190a317b630a8646b4a6469c6f1c8d ****/ + /****** BRepFill_ShapeLaw::BRepFill_ShapeLaw ******/ + /****** md5 signature: ee190a317b630a8646b4a6469c6f1c8d ******/ %feature("compactdefaultargs") BRepFill_ShapeLaw; - %feature("autodoc", "Construct an constant law. - + %feature("autodoc", " Parameters ---------- W: TopoDS_Wire -Build: bool,optional - default value is Standard_True +Build: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +Construct an constant Law. ") BRepFill_ShapeLaw; BRepFill_ShapeLaw(const TopoDS_Wire & W, const Standard_Boolean Build = Standard_True); - /****************** BRepFill_ShapeLaw ******************/ - /**** md5 signature: fa6043e626b799fda28670fe3f6b4517 ****/ + /****** BRepFill_ShapeLaw::BRepFill_ShapeLaw ******/ + /****** md5 signature: fa6043e626b799fda28670fe3f6b4517 ******/ %feature("compactdefaultargs") BRepFill_ShapeLaw; - %feature("autodoc", "Construct an evolutive law. - + %feature("autodoc", " Parameters ---------- W: TopoDS_Wire L: Law_Function -Build: bool,optional - default value is Standard_True +Build: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +Construct an evolutive Law. ") BRepFill_ShapeLaw; BRepFill_ShapeLaw(const TopoDS_Wire & W, const opencascade::handle & L, const Standard_Boolean Build = Standard_True); - /****************** ConcatenedLaw ******************/ - /**** md5 signature: 4495106cbf0901c13e169216aea3ff82 ****/ + /****** BRepFill_ShapeLaw::ConcatenedLaw ******/ + /****** md5 signature: 4495106cbf0901c13e169216aea3ff82 ******/ %feature("compactdefaultargs") ConcatenedLaw; - %feature("autodoc", "Give the law build on a concaneted section. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Give the law build on a concatenated section. ") ConcatenedLaw; virtual opencascade::handle ConcatenedLaw(); - /****************** Continuity ******************/ - /**** md5 signature: a0e903623d8c6b4c441db63330dfde38 ****/ + /****** BRepFill_ShapeLaw::Continuity ******/ + /****** md5 signature: a0e903623d8c6b4c441db63330dfde38 ******/ %feature("compactdefaultargs") Continuity; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Index: int TolAngular: float -Returns +Return ------- GeomAbs_Shape + +Description +----------- +No available documentation. ") Continuity; virtual GeomAbs_Shape Continuity(const Standard_Integer Index, const Standard_Real TolAngular); - /****************** D0 ******************/ - /**** md5 signature: de496c8c897345c41ec4327b5afb7dea ****/ + /****** BRepFill_ShapeLaw::D0 ******/ + /****** md5 signature: de496c8c897345c41ec4327b5afb7dea ******/ %feature("compactdefaultargs") D0; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Param: float S: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +No available documentation. ") D0; virtual void D0(const Standard_Real Param, TopoDS_Shape & S); - /****************** Edge ******************/ - /**** md5 signature: 8a7ac08a45b8dcdac4d9e0339f1c1d47 ****/ + /****** BRepFill_ShapeLaw::Edge ******/ + /****** md5 signature: 8a7ac08a45b8dcdac4d9e0339f1c1d47 ******/ %feature("compactdefaultargs") Edge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Index: int -Returns +Return ------- TopoDS_Edge + +Description +----------- +No available documentation. ") Edge; const TopoDS_Edge Edge(const Standard_Integer Index); - /****************** IsConstant ******************/ - /**** md5 signature: 117737bfe11f2fa5e6c2b702110a9201 ****/ + /****** BRepFill_ShapeLaw::IsConstant ******/ + /****** md5 signature: 117737bfe11f2fa5e6c2b702110a9201 ******/ %feature("compactdefaultargs") IsConstant; - %feature("autodoc", "Say if the law is constant. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Say if the Law is Constant. ") IsConstant; virtual Standard_Boolean IsConstant(); - /****************** IsVertex ******************/ - /**** md5 signature: 9153c2b3b3fc32dd6aea02d7fc3fe588 ****/ + /****** BRepFill_ShapeLaw::IsVertex ******/ + /****** md5 signature: 9153c2b3b3fc32dd6aea02d7fc3fe588 ******/ %feature("compactdefaultargs") IsVertex; - %feature("autodoc", "Say if the input shape is a vertex. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Say if the input shape is a vertex. ") IsVertex; virtual Standard_Boolean IsVertex(); - /****************** Vertex ******************/ - /**** md5 signature: 50d7f598881fad0d7b254edf83197d3e ****/ + /****** BRepFill_ShapeLaw::Vertex ******/ + /****** md5 signature: 50d7f598881fad0d7b254edf83197d3e ******/ %feature("compactdefaultargs") Vertex; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Index: int Param: float -Returns +Return ------- TopoDS_Vertex + +Description +----------- +No available documentation. ") Vertex; virtual TopoDS_Vertex Vertex(const Standard_Integer Index, const Standard_Real Param); - /****************** VertexTol ******************/ - /**** md5 signature: b5ecc9a4e833886cbbedfc54fe0fbfe1 ****/ + /****** BRepFill_ShapeLaw::VertexTol ******/ + /****** md5 signature: b5ecc9a4e833886cbbedfc54fe0fbfe1 ******/ %feature("compactdefaultargs") VertexTol; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Index: int Param: float -Returns +Return ------- float + +Description +----------- +No available documentation. ") VertexTol; virtual Standard_Real VertexTol(const Standard_Integer Index, const Standard_Real Param); @@ -4661,34 +5368,40 @@ float **************************/ class BRepFill_DraftLaw : public BRepFill_Edge3DLaw { public: - /****************** BRepFill_DraftLaw ******************/ - /**** md5 signature: 336aea22a96a446dbf1fdad6e645325b ****/ + /****** BRepFill_DraftLaw::BRepFill_DraftLaw ******/ + /****** md5 signature: 336aea22a96a446dbf1fdad6e645325b ******/ %feature("compactdefaultargs") BRepFill_DraftLaw; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Path: TopoDS_Wire Law: GeomFill_LocationDraft -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepFill_DraftLaw; BRepFill_DraftLaw(const TopoDS_Wire & Path, const opencascade::handle & Law); - /****************** CleanLaw ******************/ - /**** md5 signature: 2b27d5bd295509401a1b6283d637cfa3 ****/ + /****** BRepFill_DraftLaw::CleanLaw ******/ + /****** md5 signature: 2b27d5bd295509401a1b6283d637cfa3 ******/ %feature("compactdefaultargs") CleanLaw; - %feature("autodoc", "To clean the little discontinuities. - + %feature("autodoc", " Parameters ---------- TolAngular: float -Returns +Return ------- None + +Description +----------- +To clean the little discontinuities. ") CleanLaw; void CleanLaw(const Standard_Real TolAngular); @@ -4709,3 +5422,26 @@ None /* class aliases */ %pythoncode { } +/* deprecated methods */ +%pythoncode { +@deprecated +def brepfill_Axe(*args): + return brepfill.Axe(*args) + +@deprecated +def brepfill_ComputeACR(*args): + return brepfill.ComputeACR(*args) + +@deprecated +def brepfill_Face(*args): + return brepfill.Face(*args) + +@deprecated +def brepfill_InsertACR(*args): + return brepfill.InsertACR(*args) + +@deprecated +def brepfill_Shell(*args): + return brepfill.Shell(*args) + +} diff --git a/src/SWIG_files/wrapper/BRepFill.pyi b/src/SWIG_files/wrapper/BRepFill.pyi index 1c9efac00..071232128 100644 --- a/src/SWIG_files/wrapper/BRepFill.pyi +++ b/src/SWIG_files/wrapper/BRepFill.pyi @@ -3,8 +3,8 @@ from typing import overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * -from OCC.Core.TopTools import * from OCC.Core.MAT import * +from OCC.Core.TopTools import * from OCC.Core.TopoDS import * from OCC.Core.gp import * from OCC.Core.TColStd import * @@ -21,489 +21,866 @@ from OCC.Core.Law import * from OCC.Core.Bisector import * from OCC.Core.TColgp import * -#the following typedef cannot be wrapped as is -BRepFill_IndexedDataMapOfOrientedShapeListOfShape = NewType('BRepFill_IndexedDataMapOfOrientedShapeListOfShape', Any) +# the following typedef cannot be wrapped as is +BRepFill_IndexedDataMapOfOrientedShapeListOfShape = NewType( + "BRepFill_IndexedDataMapOfOrientedShapeListOfShape", Any +) class BRepFill_ListOfOffsetWire: - def __init__(self) -> None: ... - def __len__(self) -> int: ... - def Size(self) -> int: ... + def Append(self, theItem: BRepFill_OffsetWire) -> BRepFill_OffsetWire: ... + def Assign( + self, theItem: BRepFill_ListOfOffsetWire + ) -> BRepFill_ListOfOffsetWire: ... def Clear(self) -> None: ... def First(self) -> BRepFill_OffsetWire: ... def Last(self) -> BRepFill_OffsetWire: ... - def Append(self, theItem: BRepFill_OffsetWire) -> BRepFill_OffsetWire: ... def Prepend(self, theItem: BRepFill_OffsetWire) -> BRepFill_OffsetWire: ... def RemoveFirst(self) -> None: ... def Reverse(self) -> None: ... - def Value(self, theIndex: int) -> BRepFill_OffsetWire: ... - def SetValue(self, theIndex: int, theValue: BRepFill_OffsetWire) -> None: ... - -class BRepFill_SequenceOfEdgeFaceAndOrder: + def Size(self) -> int: ... def __init__(self) -> None: ... def __len__(self) -> int: ... - def Size(self) -> int: ... + def __iter__(self) -> BRepFill_OffsetWire: ... + +class BRepFill_SequenceOfEdgeFaceAndOrder: + def Assign( + self, theItem: BRepFill_EdgeFaceAndOrder + ) -> BRepFill_EdgeFaceAndOrder: ... def Clear(self) -> None: ... def First(self) -> BRepFill_EdgeFaceAndOrder: ... + def IsDeletables(self) -> bool: ... + def IsEmpty(self) -> bool: ... def Last(self) -> BRepFill_EdgeFaceAndOrder: ... def Length(self) -> int: ... - def Append(self, theItem: BRepFill_EdgeFaceAndOrder) -> BRepFill_EdgeFaceAndOrder: ... - def Prepend(self, theItem: BRepFill_EdgeFaceAndOrder) -> BRepFill_EdgeFaceAndOrder: ... + def Lower(self) -> int: ... + def Prepend( + self, theItem: BRepFill_EdgeFaceAndOrder + ) -> BRepFill_EdgeFaceAndOrder: ... def RemoveFirst(self) -> None: ... def Reverse(self) -> None: ... - def Value(self, theIndex: int) -> BRepFill_EdgeFaceAndOrder: ... def SetValue(self, theIndex: int, theValue: BRepFill_EdgeFaceAndOrder) -> None: ... - -class BRepFill_SequenceOfFaceAndOrder: + def Size(self) -> int: ... + def UpdateUpperBound(self, int) -> None: ... + def UpdateLowerBound(self, int) -> None: ... + def Upper(self) -> int: ... + def Value(self, theIndex: int) -> BRepFill_EdgeFaceAndOrder: ... def __init__(self) -> None: ... def __len__(self) -> int: ... - def Size(self) -> int: ... + +class BRepFill_SequenceOfFaceAndOrder: + def Assign(self, theItem: BRepFill_FaceAndOrder) -> BRepFill_FaceAndOrder: ... def Clear(self) -> None: ... def First(self) -> BRepFill_FaceAndOrder: ... + def IsDeletables(self) -> bool: ... + def IsEmpty(self) -> bool: ... def Last(self) -> BRepFill_FaceAndOrder: ... def Length(self) -> int: ... - def Append(self, theItem: BRepFill_FaceAndOrder) -> BRepFill_FaceAndOrder: ... + def Lower(self) -> int: ... def Prepend(self, theItem: BRepFill_FaceAndOrder) -> BRepFill_FaceAndOrder: ... def RemoveFirst(self) -> None: ... def Reverse(self) -> None: ... - def Value(self, theIndex: int) -> BRepFill_FaceAndOrder: ... def SetValue(self, theIndex: int, theValue: BRepFill_FaceAndOrder) -> None: ... - -class BRepFill_SequenceOfSection: + def Size(self) -> int: ... + def UpdateUpperBound(self, int) -> None: ... + def UpdateLowerBound(self, int) -> None: ... + def Upper(self) -> int: ... + def Value(self, theIndex: int) -> BRepFill_FaceAndOrder: ... def __init__(self) -> None: ... def __len__(self) -> int: ... - def Size(self) -> int: ... + +class BRepFill_SequenceOfSection: + def Assign(self, theItem: BRepFill_Section) -> BRepFill_Section: ... def Clear(self) -> None: ... def First(self) -> BRepFill_Section: ... + def IsDeletables(self) -> bool: ... + def IsEmpty(self) -> bool: ... def Last(self) -> BRepFill_Section: ... def Length(self) -> int: ... - def Append(self, theItem: BRepFill_Section) -> BRepFill_Section: ... + def Lower(self) -> int: ... def Prepend(self, theItem: BRepFill_Section) -> BRepFill_Section: ... def RemoveFirst(self) -> None: ... def Reverse(self) -> None: ... - def Value(self, theIndex: int) -> BRepFill_Section: ... def SetValue(self, theIndex: int, theValue: BRepFill_Section) -> None: ... + def Size(self) -> int: ... + def UpdateUpperBound(self, int) -> None: ... + def UpdateLowerBound(self, int) -> None: ... + def Upper(self) -> int: ... + def Value(self, theIndex: int) -> BRepFill_Section: ... + def __init__(self) -> None: ... + def __len__(self) -> int: ... -class BRepFill_TypeOfContact(IntEnum): - BRepFill_NoContact: int = ... - BRepFill_Contact: int = ... - BRepFill_ContactOnBorder: int = ... -BRepFill_NoContact = BRepFill_TypeOfContact.BRepFill_NoContact -BRepFill_Contact = BRepFill_TypeOfContact.BRepFill_Contact -BRepFill_ContactOnBorder = BRepFill_TypeOfContact.BRepFill_ContactOnBorder +class BRepFill_ThruSectionErrorStatus(IntEnum): + BRepFill_ThruSectionErrorStatus_Done: int = ... + BRepFill_ThruSectionErrorStatus_NotDone: int = ... + BRepFill_ThruSectionErrorStatus_NotSameTopology: int = ... + BRepFill_ThruSectionErrorStatus_ProfilesInconsistent: int = ... + BRepFill_ThruSectionErrorStatus_WrongUsage: int = ... + BRepFill_ThruSectionErrorStatus_Null3DCurve: int = ... + BRepFill_ThruSectionErrorStatus_Failed: int = ... + +BRepFill_ThruSectionErrorStatus_Done = ( + BRepFill_ThruSectionErrorStatus.BRepFill_ThruSectionErrorStatus_Done +) +BRepFill_ThruSectionErrorStatus_NotDone = ( + BRepFill_ThruSectionErrorStatus.BRepFill_ThruSectionErrorStatus_NotDone +) +BRepFill_ThruSectionErrorStatus_NotSameTopology = ( + BRepFill_ThruSectionErrorStatus.BRepFill_ThruSectionErrorStatus_NotSameTopology +) +BRepFill_ThruSectionErrorStatus_ProfilesInconsistent = ( + BRepFill_ThruSectionErrorStatus.BRepFill_ThruSectionErrorStatus_ProfilesInconsistent +) +BRepFill_ThruSectionErrorStatus_WrongUsage = ( + BRepFill_ThruSectionErrorStatus.BRepFill_ThruSectionErrorStatus_WrongUsage +) +BRepFill_ThruSectionErrorStatus_Null3DCurve = ( + BRepFill_ThruSectionErrorStatus.BRepFill_ThruSectionErrorStatus_Null3DCurve +) +BRepFill_ThruSectionErrorStatus_Failed = ( + BRepFill_ThruSectionErrorStatus.BRepFill_ThruSectionErrorStatus_Failed +) class BRepFill_TransitionStyle(IntEnum): - BRepFill_Modified: int = ... - BRepFill_Right: int = ... - BRepFill_Round: int = ... + BRepFill_Modified: int = ... + BRepFill_Right: int = ... + BRepFill_Round: int = ... + BRepFill_Modified = BRepFill_TransitionStyle.BRepFill_Modified BRepFill_Right = BRepFill_TransitionStyle.BRepFill_Right BRepFill_Round = BRepFill_TransitionStyle.BRepFill_Round +class BRepFill_TypeOfContact(IntEnum): + BRepFill_NoContact: int = ... + BRepFill_Contact: int = ... + BRepFill_ContactOnBorder: int = ... + +BRepFill_NoContact = BRepFill_TypeOfContact.BRepFill_NoContact +BRepFill_Contact = BRepFill_TypeOfContact.BRepFill_Contact +BRepFill_ContactOnBorder = BRepFill_TypeOfContact.BRepFill_ContactOnBorder + class brepfill: - @staticmethod - def Axe(Spine: TopoDS_Shape, Profile: TopoDS_Wire, AxeProf: gp_Ax3, Tol: float) -> bool: ... - @staticmethod - def ComputeACR(wire: TopoDS_Wire, ACR: TColStd_Array1OfReal) -> None: ... - @staticmethod - def Face(Edge1: TopoDS_Edge, Edge2: TopoDS_Edge) -> TopoDS_Face: ... - @staticmethod - def InsertACR(wire: TopoDS_Wire, ACRcuts: TColStd_Array1OfReal, prec: float) -> TopoDS_Wire: ... - @staticmethod - def Shell(Wire1: TopoDS_Wire, Wire2: TopoDS_Wire) -> TopoDS_Shell: ... + @staticmethod + def Axe( + Spine: TopoDS_Shape, Profile: TopoDS_Wire, AxeProf: gp_Ax3, Tol: float + ) -> bool: ... + @staticmethod + def ComputeACR(wire: TopoDS_Wire, ACR: TColStd_Array1OfReal) -> None: ... + @staticmethod + def Face(Edge1: TopoDS_Edge, Edge2: TopoDS_Edge) -> TopoDS_Face: ... + @staticmethod + def InsertACR( + wire: TopoDS_Wire, ACRcuts: TColStd_Array1OfReal, prec: float + ) -> TopoDS_Wire: ... + @staticmethod + def Shell(Wire1: TopoDS_Wire, Wire2: TopoDS_Wire) -> TopoDS_Shell: ... class BRepFill_AdvancedEvolved: - def __init__(self) -> None: ... - def IsDone(self, theErrorCode: Optional[int] = 0) -> bool: ... - def Perform(self, theSpine: TopoDS_Wire, theProfile: TopoDS_Wire, theTolerance: float, theSolidReq: Optional[bool] = True) -> None: ... - def SetParallelMode(self, theVal: bool) -> None: ... - def SetTemporaryDirectory(self, thePath: str) -> None: ... - def Shape(self) -> TopoDS_Shape: ... + def __init__(self) -> None: ... + def IsDone(self, theErrorCode: Optional[int] = 0) -> bool: ... + def Perform( + self, + theSpine: TopoDS_Wire, + theProfile: TopoDS_Wire, + theTolerance: float, + theSolidReq: Optional[bool] = True, + ) -> None: ... + def SetParallelMode(self, theVal: bool) -> None: ... + def SetTemporaryDirectory(self, thePath: str) -> None: ... + def Shape(self) -> TopoDS_Shape: ... class BRepFill_ApproxSeewing: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, ML: BRepFill_MultiLine) -> None: ... - def Curve(self) -> Geom_Curve: ... - def CurveOnF1(self) -> Geom2d_Curve: ... - def CurveOnF2(self) -> Geom2d_Curve: ... - def IsDone(self) -> bool: ... - def Perform(self, ML: BRepFill_MultiLine) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, ML: BRepFill_MultiLine) -> None: ... + def Curve(self) -> Geom_Curve: ... + def CurveOnF1(self) -> Geom2d_Curve: ... + def CurveOnF2(self) -> Geom2d_Curve: ... + def IsDone(self) -> bool: ... + def Perform(self, ML: BRepFill_MultiLine) -> None: ... class BRepFill_CompatibleWires: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, Sections: TopTools_SequenceOfShape) -> None: ... - def Generated(self) -> TopTools_DataMapOfShapeListOfShape: ... - def GeneratedShapes(self, SubSection: TopoDS_Edge) -> TopTools_ListOfShape: ... - def Init(self, Sections: TopTools_SequenceOfShape) -> None: ... - def IsDegeneratedFirstSection(self) -> bool: ... - def IsDegeneratedLastSection(self) -> bool: ... - def IsDone(self) -> bool: ... - def Perform(self, WithRotation: Optional[bool] = True) -> None: ... - def SetPercent(self, percent: Optional[float] = 0.01) -> None: ... - def Shape(self) -> TopTools_SequenceOfShape: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, Sections: TopTools_SequenceOfShape) -> None: ... + def Generated(self) -> TopTools_DataMapOfShapeListOfShape: ... + def GeneratedShapes(self, SubSection: TopoDS_Edge) -> TopTools_ListOfShape: ... + def GetStatus(self) -> BRepFill_ThruSectionErrorStatus: ... + def Init(self, Sections: TopTools_SequenceOfShape) -> None: ... + def IsDegeneratedFirstSection(self) -> bool: ... + def IsDegeneratedLastSection(self) -> bool: ... + def IsDone(self) -> bool: ... + def Perform(self, WithRotation: Optional[bool] = True) -> None: ... + def SetPercent(self, percent: Optional[float] = 0.01) -> None: ... + def Shape(self) -> TopTools_SequenceOfShape: ... class BRepFill_ComputeCLine: - @overload - def __init__(self, Line: BRepFill_MultiLine, degreemin: Optional[int] = 3, degreemax: Optional[int] = 8, Tolerance3d: Optional[float] = 1.0e-5, Tolerance2d: Optional[float] = 1.0e-5, cutting: Optional[bool] = False, FirstC: Optional[AppParCurves_Constraint] = AppParCurves_TangencyPoint, LastC: Optional[AppParCurves_Constraint] = AppParCurves_TangencyPoint) -> None: ... - @overload - def __init__(self, degreemin: Optional[int] = 3, degreemax: Optional[int] = 8, Tolerance3d: Optional[float] = 1.0e-05, Tolerance2d: Optional[float] = 1.0e-05, cutting: Optional[bool] = False, FirstC: Optional[AppParCurves_Constraint] = AppParCurves_TangencyPoint, LastC: Optional[AppParCurves_Constraint] = AppParCurves_TangencyPoint) -> None: ... - def Error(self, Index: int) -> Tuple[float, float]: ... - def IsAllApproximated(self) -> bool: ... - def IsToleranceReached(self) -> bool: ... - def NbMultiCurves(self) -> int: ... - def Parameters(self, Index: int) -> Tuple[float, float]: ... - def Perform(self, Line: BRepFill_MultiLine) -> None: ... - def SetConstraints(self, FirstC: AppParCurves_Constraint, LastC: AppParCurves_Constraint) -> None: ... - def SetDegrees(self, degreemin: int, degreemax: int) -> None: ... - def SetHangChecking(self, theHangChecking: bool) -> None: ... - def SetInvOrder(self, theInvOrder: bool) -> None: ... - def SetMaxSegments(self, theMaxSegments: int) -> None: ... - def SetTolerances(self, Tolerance3d: float, Tolerance2d: float) -> None: ... - def Value(self, Index: Optional[int] = 1) -> AppParCurves_MultiCurve: ... + @overload + def __init__( + self, + Line: BRepFill_MultiLine, + degreemin: Optional[int] = 3, + degreemax: Optional[int] = 8, + Tolerance3d: Optional[float] = 1.0e-5, + Tolerance2d: Optional[float] = 1.0e-5, + cutting: Optional[bool] = False, + FirstC: Optional[AppParCurves_Constraint] = AppParCurves_TangencyPoint, + LastC: Optional[AppParCurves_Constraint] = AppParCurves_TangencyPoint, + ) -> None: ... + @overload + def __init__( + self, + degreemin: Optional[int] = 3, + degreemax: Optional[int] = 8, + Tolerance3d: Optional[float] = 1.0e-05, + Tolerance2d: Optional[float] = 1.0e-05, + cutting: Optional[bool] = False, + FirstC: Optional[AppParCurves_Constraint] = AppParCurves_TangencyPoint, + LastC: Optional[AppParCurves_Constraint] = AppParCurves_TangencyPoint, + ) -> None: ... + def Error(self, Index: int) -> Tuple[float, float]: ... + def IsAllApproximated(self) -> bool: ... + def IsToleranceReached(self) -> bool: ... + def NbMultiCurves(self) -> int: ... + def Parameters(self, Index: int) -> Tuple[float, float]: ... + def Perform(self, Line: BRepFill_MultiLine) -> None: ... + def SetConstraints( + self, FirstC: AppParCurves_Constraint, LastC: AppParCurves_Constraint + ) -> None: ... + def SetDegrees(self, degreemin: int, degreemax: int) -> None: ... + def SetHangChecking(self, theHangChecking: bool) -> None: ... + def SetInvOrder(self, theInvOrder: bool) -> None: ... + def SetMaxSegments(self, theMaxSegments: int) -> None: ... + def SetTolerances(self, Tolerance3d: float, Tolerance2d: float) -> None: ... + def Value(self, Index: Optional[int] = 1) -> AppParCurves_MultiCurve: ... class BRepFill_CurveConstraint(GeomPlate_CurveConstraint): - @overload - def __init__(self, Boundary: Adaptor3d_HCurveOnSurface, Order: int, NPt: Optional[int] = 10, TolDist: Optional[float] = 0.0001, TolAng: Optional[float] = 0.01, TolCurv: Optional[float] = 0.1) -> None: ... - @overload - def __init__(self, Boundary: Adaptor3d_HCurve, Tang: int, NPt: Optional[int] = 10, TolDist: Optional[float] = 0.0001) -> None: ... + @overload + def __init__( + self, + Boundary: Adaptor3d_CurveOnSurface, + Order: int, + NPt: Optional[int] = 10, + TolDist: Optional[float] = 0.0001, + TolAng: Optional[float] = 0.01, + TolCurv: Optional[float] = 0.1, + ) -> None: ... + @overload + def __init__( + self, + Boundary: Adaptor3d_Curve, + Tang: int, + NPt: Optional[int] = 10, + TolDist: Optional[float] = 0.0001, + ) -> None: ... class BRepFill_Draft: - def __init__(self, Shape: TopoDS_Shape, Dir: gp_Dir, Angle: float) -> None: ... - def Generated(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... - def IsDone(self) -> bool: ... - @overload - def Perform(self, LengthMax: float) -> None: ... - @overload - def Perform(self, Surface: Geom_Surface, KeepInsideSurface: Optional[bool] = True) -> None: ... - @overload - def Perform(self, StopShape: TopoDS_Shape, KeepOutSide: Optional[bool] = True) -> None: ... - def SetDraft(self, IsInternal: Optional[bool] = False) -> None: ... - def SetOptions(self, Style: Optional[BRepFill_TransitionStyle] = BRepFill_Right, AngleMin: Optional[float] = 0.01, AngleMax: Optional[float] = 3.0) -> None: ... - def Shape(self) -> TopoDS_Shape: ... - def Shell(self) -> TopoDS_Shell: ... + def __init__(self, Shape: TopoDS_Shape, Dir: gp_Dir, Angle: float) -> None: ... + def Generated(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... + def IsDone(self) -> bool: ... + @overload + def Perform(self, LengthMax: float) -> None: ... + @overload + def Perform( + self, Surface: Geom_Surface, KeepInsideSurface: Optional[bool] = True + ) -> None: ... + @overload + def Perform( + self, StopShape: TopoDS_Shape, KeepOutSide: Optional[bool] = True + ) -> None: ... + def SetDraft(self, IsInternal: Optional[bool] = False) -> None: ... + def SetOptions( + self, + Style: Optional[BRepFill_TransitionStyle] = BRepFill_Right, + AngleMin: Optional[float] = 0.01, + AngleMax: Optional[float] = 3.0, + ) -> None: ... + def Shape(self) -> TopoDS_Shape: ... + def Shell(self) -> TopoDS_Shell: ... class BRepFill_EdgeFaceAndOrder: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, anEdge: TopoDS_Edge, aFace: TopoDS_Face, anOrder: GeomAbs_Shape) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__( + self, anEdge: TopoDS_Edge, aFace: TopoDS_Face, anOrder: GeomAbs_Shape + ) -> None: ... class BRepFill_Evolved: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, Spine: TopoDS_Wire, Profile: TopoDS_Wire, AxeProf: gp_Ax3, Join: Optional[GeomAbs_JoinType] = GeomAbs_Arc, Solid: Optional[bool] = False) -> None: ... - @overload - def __init__(self, Spine: TopoDS_Face, Profile: TopoDS_Wire, AxeProf: gp_Ax3, Join: Optional[GeomAbs_JoinType] = GeomAbs_Arc, Solid: Optional[bool] = False) -> None: ... - def Bottom(self) -> TopoDS_Shape: ... - def GeneratedShapes(self, SpineShape: TopoDS_Shape, ProfShape: TopoDS_Shape) -> TopTools_ListOfShape: ... - def IsDone(self) -> bool: ... - def JoinType(self) -> GeomAbs_JoinType: ... - @overload - def Perform(self, Spine: TopoDS_Wire, Profile: TopoDS_Wire, AxeProf: gp_Ax3, Join: Optional[GeomAbs_JoinType] = GeomAbs_Arc, Solid: Optional[bool] = False) -> None: ... - @overload - def Perform(self, Spine: TopoDS_Face, Profile: TopoDS_Wire, AxeProf: gp_Ax3, Join: Optional[GeomAbs_JoinType] = GeomAbs_Arc, Solid: Optional[bool] = False) -> None: ... - def Shape(self) -> TopoDS_Shape: ... - def Top(self) -> TopoDS_Shape: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__( + self, + Spine: TopoDS_Wire, + Profile: TopoDS_Wire, + AxeProf: gp_Ax3, + Join: Optional[GeomAbs_JoinType] = GeomAbs_Arc, + Solid: Optional[bool] = False, + ) -> None: ... + @overload + def __init__( + self, + Spine: TopoDS_Face, + Profile: TopoDS_Wire, + AxeProf: gp_Ax3, + Join: Optional[GeomAbs_JoinType] = GeomAbs_Arc, + Solid: Optional[bool] = False, + ) -> None: ... + def Bottom(self) -> TopoDS_Shape: ... + def GeneratedShapes( + self, SpineShape: TopoDS_Shape, ProfShape: TopoDS_Shape + ) -> TopTools_ListOfShape: ... + def IsDone(self) -> bool: ... + def JoinType(self) -> GeomAbs_JoinType: ... + @overload + def Perform( + self, + Spine: TopoDS_Wire, + Profile: TopoDS_Wire, + AxeProf: gp_Ax3, + Join: Optional[GeomAbs_JoinType] = GeomAbs_Arc, + Solid: Optional[bool] = False, + ) -> None: ... + @overload + def Perform( + self, + Spine: TopoDS_Face, + Profile: TopoDS_Wire, + AxeProf: gp_Ax3, + Join: Optional[GeomAbs_JoinType] = GeomAbs_Arc, + Solid: Optional[bool] = False, + ) -> None: ... + def Shape(self) -> TopoDS_Shape: ... + def Top(self) -> TopoDS_Shape: ... class BRepFill_FaceAndOrder: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, aFace: TopoDS_Face, anOrder: GeomAbs_Shape) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, aFace: TopoDS_Face, anOrder: GeomAbs_Shape) -> None: ... class BRepFill_Filling: - def __init__(self, Degree: Optional[int] = 3, NbPtsOnCur: Optional[int] = 15, NbIter: Optional[int] = 2, Anisotropie: Optional[bool] = False, Tol2d: Optional[float] = 0.00001, Tol3d: Optional[float] = 0.0001, TolAng: Optional[float] = 0.01, TolCurv: Optional[float] = 0.1, MaxDeg: Optional[int] = 8, MaxSegments: Optional[int] = 9) -> None: ... - @overload - def Add(self, anEdge: TopoDS_Edge, Order: GeomAbs_Shape, IsBound: Optional[bool] = True) -> int: ... - @overload - def Add(self, anEdge: TopoDS_Edge, Support: TopoDS_Face, Order: GeomAbs_Shape, IsBound: Optional[bool] = True) -> int: ... - @overload - def Add(self, Support: TopoDS_Face, Order: GeomAbs_Shape) -> int: ... - @overload - def Add(self, Point: gp_Pnt) -> int: ... - @overload - def Add(self, U: float, V: float, Support: TopoDS_Face, Order: GeomAbs_Shape) -> int: ... - def Build(self) -> None: ... - def Face(self) -> TopoDS_Face: ... - @overload - def G0Error(self) -> float: ... - @overload - def G0Error(self, Index: int) -> float: ... - @overload - def G1Error(self) -> float: ... - @overload - def G1Error(self, Index: int) -> float: ... - @overload - def G2Error(self) -> float: ... - @overload - def G2Error(self, Index: int) -> float: ... - def Generated(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... - def IsDone(self) -> bool: ... - def LoadInitSurface(self, aFace: TopoDS_Face) -> None: ... - def SetApproxParam(self, MaxDeg: Optional[int] = 8, MaxSegments: Optional[int] = 9) -> None: ... - def SetConstrParam(self, Tol2d: Optional[float] = 0.00001, Tol3d: Optional[float] = 0.0001, TolAng: Optional[float] = 0.01, TolCurv: Optional[float] = 0.1) -> None: ... - def SetResolParam(self, Degree: Optional[int] = 3, NbPtsOnCur: Optional[int] = 15, NbIter: Optional[int] = 2, Anisotropie: Optional[bool] = False) -> None: ... + def __init__( + self, + Degree: Optional[int] = 3, + NbPtsOnCur: Optional[int] = 15, + NbIter: Optional[int] = 2, + Anisotropie: Optional[bool] = False, + Tol2d: Optional[float] = 0.00001, + Tol3d: Optional[float] = 0.0001, + TolAng: Optional[float] = 0.01, + TolCurv: Optional[float] = 0.1, + MaxDeg: Optional[int] = 8, + MaxSegments: Optional[int] = 9, + ) -> None: ... + @overload + def Add( + self, anEdge: TopoDS_Edge, Order: GeomAbs_Shape, IsBound: Optional[bool] = True + ) -> int: ... + @overload + def Add( + self, + anEdge: TopoDS_Edge, + Support: TopoDS_Face, + Order: GeomAbs_Shape, + IsBound: Optional[bool] = True, + ) -> int: ... + @overload + def Add(self, Support: TopoDS_Face, Order: GeomAbs_Shape) -> int: ... + @overload + def Add(self, Point: gp_Pnt) -> int: ... + @overload + def Add( + self, U: float, V: float, Support: TopoDS_Face, Order: GeomAbs_Shape + ) -> int: ... + def Build(self) -> None: ... + def Face(self) -> TopoDS_Face: ... + @overload + def G0Error(self) -> float: ... + @overload + def G0Error(self, Index: int) -> float: ... + @overload + def G1Error(self) -> float: ... + @overload + def G1Error(self, Index: int) -> float: ... + @overload + def G2Error(self) -> float: ... + @overload + def G2Error(self, Index: int) -> float: ... + def Generated(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... + def IsDone(self) -> bool: ... + def LoadInitSurface(self, aFace: TopoDS_Face) -> None: ... + def SetApproxParam( + self, MaxDeg: Optional[int] = 8, MaxSegments: Optional[int] = 9 + ) -> None: ... + def SetConstrParam( + self, + Tol2d: Optional[float] = 0.00001, + Tol3d: Optional[float] = 0.0001, + TolAng: Optional[float] = 0.01, + TolCurv: Optional[float] = 0.1, + ) -> None: ... + def SetResolParam( + self, + Degree: Optional[int] = 3, + NbPtsOnCur: Optional[int] = 15, + NbIter: Optional[int] = 2, + Anisotropie: Optional[bool] = False, + ) -> None: ... class BRepFill_Generator: - def __init__(self) -> None: ... - def AddWire(self, Wire: TopoDS_Wire) -> None: ... - def Generated(self) -> TopTools_DataMapOfShapeListOfShape: ... - def GeneratedShapes(self, SSection: TopoDS_Shape) -> TopTools_ListOfShape: ... - def Perform(self) -> None: ... - def Shell(self) -> TopoDS_Shell: ... + def __init__(self) -> None: ... + def AddWire(self, Wire: TopoDS_Wire) -> None: ... + def Generated(self) -> TopTools_DataMapOfShapeListOfShape: ... + def GeneratedShapes(self, SSection: TopoDS_Shape) -> TopTools_ListOfShape: ... + def GetStatus(self) -> BRepFill_ThruSectionErrorStatus: ... + def IsMutableInput(self) -> bool: ... + def Perform(self) -> None: ... + def ResultShape(self, theShape: TopoDS_Shape) -> TopoDS_Shape: ... + def SetMutableInput(self, theIsMutableInput: bool) -> None: ... + def Shell(self) -> TopoDS_Shell: ... class BRepFill_LocationLaw(Standard_Transient): - def Abscissa(self, Index: int, Param: float) -> float: ... - def CurvilinearBounds(self, Index: int) -> Tuple[float, float]: ... - def D0(self, Abscissa: float, Section: TopoDS_Shape) -> None: ... - def DeleteTransform(self) -> None: ... - def Edge(self, Index: int) -> TopoDS_Edge: ... - def GetStatus(self) -> GeomFill_PipeError: ... - def Holes(self, Interval: TColStd_Array1OfInteger) -> None: ... - def IsClosed(self) -> bool: ... - def IsG1(self, Index: int, SpatialTolerance: Optional[float] = 1.0e-7, AngularTolerance: Optional[float] = 1.0e-4) -> int: ... - def Law(self, Index: int) -> GeomFill_LocationLaw: ... - def NbHoles(self, Tol: Optional[float] = 1.0e-7) -> int: ... - def NbLaw(self) -> int: ... - def Parameter(self, Abscissa: float) -> Tuple[int, float]: ... - def PerformVertex(self, Index: int, InputVertex: TopoDS_Vertex, TolMin: float, OutputVertex: TopoDS_Vertex, Location: Optional[int] = 0) -> None: ... - def TransformInCompatibleLaw(self, AngularTolerance: float) -> None: ... - def TransformInG0Law(self) -> None: ... - def Vertex(self, Index: int) -> TopoDS_Vertex: ... - def Wire(self) -> TopoDS_Wire: ... + def Abscissa(self, Index: int, Param: float) -> float: ... + def CurvilinearBounds(self, Index: int) -> Tuple[float, float]: ... + def D0(self, Abscissa: float, Section: TopoDS_Shape) -> None: ... + def DeleteTransform(self) -> None: ... + def Edge(self, Index: int) -> TopoDS_Edge: ... + def GetStatus(self) -> GeomFill_PipeError: ... + def Holes(self, Interval: TColStd_Array1OfInteger) -> None: ... + def IsClosed(self) -> bool: ... + def IsG1( + self, + Index: int, + SpatialTolerance: Optional[float] = 1.0e-7, + AngularTolerance: Optional[float] = 1.0e-4, + ) -> int: ... + def Law(self, Index: int) -> GeomFill_LocationLaw: ... + def NbHoles(self, Tol: Optional[float] = 1.0e-7) -> int: ... + def NbLaw(self) -> int: ... + def Parameter(self, Abscissa: float) -> Tuple[int, float]: ... + def PerformVertex( + self, + Index: int, + InputVertex: TopoDS_Vertex, + TolMin: float, + OutputVertex: TopoDS_Vertex, + Location: Optional[int] = 0, + ) -> None: ... + def TransformInCompatibleLaw(self, AngularTolerance: float) -> None: ... + def TransformInG0Law(self) -> None: ... + def Vertex(self, Index: int) -> TopoDS_Vertex: ... + def Wire(self) -> TopoDS_Wire: ... class BRepFill_MultiLine(AppCont_Function): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, Face1: TopoDS_Face, Face2: TopoDS_Face, Edge1: TopoDS_Edge, Edge2: TopoDS_Edge, Inv1: bool, Inv2: bool, Bissec: Geom2d_Curve) -> None: ... - def Continuity(self) -> GeomAbs_Shape: ... - def Curves(self, Curve: Geom_Curve, PCurve1: Geom2d_Curve, PCurve2: Geom2d_Curve) -> None: ... - def FirstParameter(self) -> float: ... - def IsParticularCase(self) -> bool: ... - def LastParameter(self) -> float: ... - @overload - def Value(self, U: float) -> gp_Pnt: ... - def Value3dOnF1OnF2(self, U: float, P3d: gp_Pnt, PF1: gp_Pnt2d, PF2: gp_Pnt2d) -> None: ... - def ValueOnF1(self, U: float) -> gp_Pnt2d: ... - def ValueOnF2(self, U: float) -> gp_Pnt2d: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__( + self, + Face1: TopoDS_Face, + Face2: TopoDS_Face, + Edge1: TopoDS_Edge, + Edge2: TopoDS_Edge, + Inv1: bool, + Inv2: bool, + Bissec: Geom2d_Curve, + ) -> None: ... + def Continuity(self) -> GeomAbs_Shape: ... + def Curves( + self, Curve: Geom_Curve, PCurve1: Geom2d_Curve, PCurve2: Geom2d_Curve + ) -> None: ... + def FirstParameter(self) -> float: ... + def IsParticularCase(self) -> bool: ... + def LastParameter(self) -> float: ... + @overload + def Value(self, U: float) -> gp_Pnt: ... + def Value3dOnF1OnF2( + self, U: float, P3d: gp_Pnt, PF1: gp_Pnt2d, PF2: gp_Pnt2d + ) -> None: ... + def ValueOnF1(self, U: float) -> gp_Pnt2d: ... + def ValueOnF2(self, U: float) -> gp_Pnt2d: ... class BRepFill_OffsetAncestors: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, Paral: BRepFill_OffsetWire) -> None: ... - def Ancestor(self, S1: TopoDS_Edge) -> TopoDS_Shape: ... - def HasAncestor(self, S1: TopoDS_Edge) -> bool: ... - def IsDone(self) -> bool: ... - def Perform(self, Paral: BRepFill_OffsetWire) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, Paral: BRepFill_OffsetWire) -> None: ... + def Ancestor(self, S1: TopoDS_Edge) -> TopoDS_Shape: ... + def HasAncestor(self, S1: TopoDS_Edge) -> bool: ... + def IsDone(self) -> bool: ... + def Perform(self, Paral: BRepFill_OffsetWire) -> None: ... class BRepFill_OffsetWire: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, Spine: TopoDS_Face, Join: Optional[GeomAbs_JoinType] = GeomAbs_Arc, IsOpenResult: Optional[bool] = False) -> None: ... - def GeneratedShapes(self, SpineShape: TopoDS_Shape) -> TopTools_ListOfShape: ... - def Init(self, Spine: TopoDS_Face, Join: Optional[GeomAbs_JoinType] = GeomAbs_Arc, IsOpenResult: Optional[bool] = False) -> None: ... - def IsDone(self) -> bool: ... - def JoinType(self) -> GeomAbs_JoinType: ... - def Perform(self, Offset: float, Alt: Optional[float] = 0.0) -> None: ... - def PerformWithBiLo(self, WSP: TopoDS_Face, Offset: float, Locus: BRepMAT2d_BisectingLocus, Link: BRepMAT2d_LinkTopoBilo, Join: Optional[GeomAbs_JoinType] = GeomAbs_Arc, Alt: Optional[float] = 0.0) -> None: ... - def Shape(self) -> TopoDS_Shape: ... - def Spine(self) -> TopoDS_Face: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__( + self, + Spine: TopoDS_Face, + Join: Optional[GeomAbs_JoinType] = GeomAbs_Arc, + IsOpenResult: Optional[bool] = False, + ) -> None: ... + def GeneratedShapes(self, SpineShape: TopoDS_Shape) -> TopTools_ListOfShape: ... + def Init( + self, + Spine: TopoDS_Face, + Join: Optional[GeomAbs_JoinType] = GeomAbs_Arc, + IsOpenResult: Optional[bool] = False, + ) -> None: ... + def IsDone(self) -> bool: ... + def JoinType(self) -> GeomAbs_JoinType: ... + def Perform(self, Offset: float, Alt: Optional[float] = 0.0) -> None: ... + def PerformWithBiLo( + self, + WSP: TopoDS_Face, + Offset: float, + Locus: BRepMAT2d_BisectingLocus, + Link: BRepMAT2d_LinkTopoBilo, + Join: Optional[GeomAbs_JoinType] = GeomAbs_Arc, + Alt: Optional[float] = 0.0, + ) -> None: ... + def Shape(self) -> TopoDS_Shape: ... + def Spine(self) -> TopoDS_Face: ... class BRepFill_Pipe: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, Spine: TopoDS_Wire, Profile: TopoDS_Shape, aMode: Optional[GeomFill_Trihedron] = GeomFill_IsCorrectedFrenet, ForceApproxC1: Optional[bool] = False, GeneratePartCase: Optional[bool] = False) -> None: ... - def Edge(self, ESpine: TopoDS_Edge, VProfile: TopoDS_Vertex) -> TopoDS_Edge: ... - def ErrorOnSurface(self) -> float: ... - def Face(self, ESpine: TopoDS_Edge, EProfile: TopoDS_Edge) -> TopoDS_Face: ... - def FirstShape(self) -> TopoDS_Shape: ... - def Generated(self, S: TopoDS_Shape, L: TopTools_ListOfShape) -> None: ... - def LastShape(self) -> TopoDS_Shape: ... - def Perform(self, Spine: TopoDS_Wire, Profile: TopoDS_Shape, GeneratePartCase: Optional[bool] = False) -> None: ... - def PipeLine(self, Point: gp_Pnt) -> TopoDS_Wire: ... - def Profile(self) -> TopoDS_Shape: ... - def Section(self, VSpine: TopoDS_Vertex) -> TopoDS_Shape: ... - def Shape(self) -> TopoDS_Shape: ... - def Spine(self) -> TopoDS_Shape: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__( + self, + Spine: TopoDS_Wire, + Profile: TopoDS_Shape, + aMode: Optional[GeomFill_Trihedron] = GeomFill_IsCorrectedFrenet, + ForceApproxC1: Optional[bool] = False, + GeneratePartCase: Optional[bool] = False, + ) -> None: ... + def Edge(self, ESpine: TopoDS_Edge, VProfile: TopoDS_Vertex) -> TopoDS_Edge: ... + def ErrorOnSurface(self) -> float: ... + def Face(self, ESpine: TopoDS_Edge, EProfile: TopoDS_Edge) -> TopoDS_Face: ... + def FirstShape(self) -> TopoDS_Shape: ... + def Generated(self, S: TopoDS_Shape, L: TopTools_ListOfShape) -> None: ... + def LastShape(self) -> TopoDS_Shape: ... + def Perform( + self, + Spine: TopoDS_Wire, + Profile: TopoDS_Shape, + GeneratePartCase: Optional[bool] = False, + ) -> None: ... + def PipeLine(self, Point: gp_Pnt) -> TopoDS_Wire: ... + def Profile(self) -> TopoDS_Shape: ... + def Section(self, VSpine: TopoDS_Vertex) -> TopoDS_Shape: ... + def Shape(self) -> TopoDS_Shape: ... + def Spine(self) -> TopoDS_Shape: ... class BRepFill_PipeShell(Standard_Transient): - def __init__(self, Spine: TopoDS_Wire) -> None: ... - @overload - def Add(self, Profile: TopoDS_Shape, WithContact: Optional[bool] = False, WithCorrection: Optional[bool] = False) -> None: ... - @overload - def Add(self, Profile: TopoDS_Shape, Location: TopoDS_Vertex, WithContact: Optional[bool] = False, WithCorrection: Optional[bool] = False) -> None: ... - def Build(self) -> bool: ... - def DeleteProfile(self, Profile: TopoDS_Shape) -> None: ... - def ErrorOnSurface(self) -> float: ... - def FirstShape(self) -> TopoDS_Shape: ... - def Generated(self, S: TopoDS_Shape, L: TopTools_ListOfShape) -> None: ... - def GetStatus(self) -> GeomFill_PipeError: ... - def IsReady(self) -> bool: ... - def LastShape(self) -> TopoDS_Shape: ... - def MakeSolid(self) -> bool: ... - def Profiles(self, theProfiles: TopTools_ListOfShape) -> None: ... - @overload - def Set(self, Frenet: Optional[bool] = False) -> None: ... - @overload - def Set(self, Axe: gp_Ax2) -> None: ... - @overload - def Set(self, BiNormal: gp_Dir) -> None: ... - @overload - def Set(self, SpineSupport: TopoDS_Shape) -> bool: ... - @overload - def Set(self, AuxiliarySpine: TopoDS_Wire, CurvilinearEquivalence: Optional[bool] = True, KeepContact: Optional[BRepFill_TypeOfContact] = BRepFill_NoContact) -> None: ... - def SetDiscrete(self) -> None: ... - def SetForceApproxC1(self, ForceApproxC1: bool) -> None: ... - @overload - def SetLaw(self, Profile: TopoDS_Shape, L: Law_Function, WithContact: Optional[bool] = False, WithCorrection: Optional[bool] = False) -> None: ... - @overload - def SetLaw(self, Profile: TopoDS_Shape, L: Law_Function, Location: TopoDS_Vertex, WithContact: Optional[bool] = False, WithCorrection: Optional[bool] = False) -> None: ... - def SetMaxDegree(self, NewMaxDegree: int) -> None: ... - def SetMaxSegments(self, NewMaxSegments: int) -> None: ... - def SetTolerance(self, Tol3d: Optional[float] = 1.0e-4, BoundTol: Optional[float] = 1.0e-4, TolAngular: Optional[float] = 1.0e-2) -> None: ... - def SetTransition(self, Mode: Optional[BRepFill_TransitionStyle] = BRepFill_Modified, Angmin: Optional[float] = 1.0e-2, Angmax: Optional[float] = 6.0) -> None: ... - def Shape(self) -> TopoDS_Shape: ... - def Simulate(self, NumberOfSection: int, Sections: TopTools_ListOfShape) -> None: ... - def Spine(self) -> TopoDS_Wire: ... + def __init__(self, Spine: TopoDS_Wire) -> None: ... + @overload + def Add( + self, + Profile: TopoDS_Shape, + WithContact: Optional[bool] = False, + WithCorrection: Optional[bool] = False, + ) -> None: ... + @overload + def Add( + self, + Profile: TopoDS_Shape, + Location: TopoDS_Vertex, + WithContact: Optional[bool] = False, + WithCorrection: Optional[bool] = False, + ) -> None: ... + def Build(self) -> bool: ... + def DeleteProfile(self, Profile: TopoDS_Shape) -> None: ... + def ErrorOnSurface(self) -> float: ... + def FirstShape(self) -> TopoDS_Shape: ... + def Generated(self, S: TopoDS_Shape, L: TopTools_ListOfShape) -> None: ... + def GetStatus(self) -> GeomFill_PipeError: ... + def IsReady(self) -> bool: ... + def LastShape(self) -> TopoDS_Shape: ... + def MakeSolid(self) -> bool: ... + def Profiles(self, theProfiles: TopTools_ListOfShape) -> None: ... + @overload + def Set(self, Frenet: Optional[bool] = False) -> None: ... + @overload + def Set(self, Axe: gp_Ax2) -> None: ... + @overload + def Set(self, BiNormal: gp_Dir) -> None: ... + @overload + def Set(self, SpineSupport: TopoDS_Shape) -> bool: ... + @overload + def Set( + self, + AuxiliarySpine: TopoDS_Wire, + CurvilinearEquivalence: Optional[bool] = True, + KeepContact: Optional[BRepFill_TypeOfContact] = BRepFill_NoContact, + ) -> None: ... + def SetDiscrete(self) -> None: ... + def SetForceApproxC1(self, ForceApproxC1: bool) -> None: ... + @overload + def SetLaw( + self, + Profile: TopoDS_Shape, + L: Law_Function, + WithContact: Optional[bool] = False, + WithCorrection: Optional[bool] = False, + ) -> None: ... + @overload + def SetLaw( + self, + Profile: TopoDS_Shape, + L: Law_Function, + Location: TopoDS_Vertex, + WithContact: Optional[bool] = False, + WithCorrection: Optional[bool] = False, + ) -> None: ... + def SetMaxDegree(self, NewMaxDegree: int) -> None: ... + def SetMaxSegments(self, NewMaxSegments: int) -> None: ... + def SetTolerance( + self, + Tol3d: Optional[float] = 1.0e-4, + BoundTol: Optional[float] = 1.0e-4, + TolAngular: Optional[float] = 1.0e-2, + ) -> None: ... + def SetTransition( + self, + Mode: Optional[BRepFill_TransitionStyle] = BRepFill_Modified, + Angmin: Optional[float] = 1.0e-2, + Angmax: Optional[float] = 6.0, + ) -> None: ... + def Shape(self) -> TopoDS_Shape: ... + def Simulate( + self, NumberOfSection: int, Sections: TopTools_ListOfShape + ) -> None: ... + def Spine(self) -> TopoDS_Wire: ... class BRepFill_Section: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, Profile: TopoDS_Shape, V: TopoDS_Vertex, WithContact: bool, WithCorrection: bool) -> None: ... - def IsLaw(self) -> bool: ... - def IsPunctual(self) -> bool: ... - def ModifiedShape(self, theShape: TopoDS_Shape) -> TopoDS_Shape: ... - def OriginalShape(self) -> TopoDS_Shape: ... - def Set(self, IsLaw: bool) -> None: ... - def Vertex(self) -> TopoDS_Vertex: ... - def Wire(self) -> TopoDS_Wire: ... - def WithContact(self) -> bool: ... - def WithCorrection(self) -> bool: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__( + self, + Profile: TopoDS_Shape, + V: TopoDS_Vertex, + WithContact: bool, + WithCorrection: bool, + ) -> None: ... + def IsLaw(self) -> bool: ... + def IsPunctual(self) -> bool: ... + def ModifiedShape(self, theShape: TopoDS_Shape) -> TopoDS_Shape: ... + def OriginalShape(self) -> TopoDS_Shape: ... + def Set(self, IsLaw: bool) -> None: ... + def Vertex(self) -> TopoDS_Vertex: ... + def Wire(self) -> TopoDS_Wire: ... + def WithContact(self) -> bool: ... + def WithCorrection(self) -> bool: ... class BRepFill_SectionLaw(Standard_Transient): - def ConcatenedLaw(self) -> GeomFill_SectionLaw: ... - def Continuity(self, Index: int, TolAngular: float) -> GeomAbs_Shape: ... - def CurrentEdge(self) -> TopoDS_Edge: ... - def D0(self, U: float, S: TopoDS_Shape) -> None: ... - def IndexOfEdge(self, anEdge: TopoDS_Shape) -> int: ... - def Init(self, W: TopoDS_Wire) -> None: ... - def IsConstant(self) -> bool: ... - def IsDone(self) -> bool: ... - def IsUClosed(self) -> bool: ... - def IsVClosed(self) -> bool: ... - def IsVertex(self) -> bool: ... - def Law(self, Index: int) -> GeomFill_SectionLaw: ... - def NbLaw(self) -> int: ... - def Vertex(self, Index: int, Param: float) -> TopoDS_Vertex: ... - def VertexTol(self, Index: int, Param: float) -> float: ... + def ConcatenedLaw(self) -> GeomFill_SectionLaw: ... + def Continuity(self, Index: int, TolAngular: float) -> GeomAbs_Shape: ... + def CurrentEdge(self) -> TopoDS_Edge: ... + def D0(self, U: float, S: TopoDS_Shape) -> None: ... + def IndexOfEdge(self, anEdge: TopoDS_Shape) -> int: ... + def Init(self, W: TopoDS_Wire) -> None: ... + def IsConstant(self) -> bool: ... + def IsDone(self) -> bool: ... + def IsUClosed(self) -> bool: ... + def IsVClosed(self) -> bool: ... + def IsVertex(self) -> bool: ... + def Law(self, Index: int) -> GeomFill_SectionLaw: ... + def NbLaw(self) -> int: ... + def Vertex(self, Index: int, Param: float) -> TopoDS_Vertex: ... + def VertexTol(self, Index: int, Param: float) -> float: ... class BRepFill_SectionPlacement: - @overload - def __init__(self, Law: BRepFill_LocationLaw, Section: TopoDS_Shape, WithContact: Optional[bool] = False, WithCorrection: Optional[bool] = False) -> None: ... - @overload - def __init__(self, Law: BRepFill_LocationLaw, Section: TopoDS_Shape, Vertex: TopoDS_Shape, WithContact: Optional[bool] = False, WithCorrection: Optional[bool] = False) -> None: ... - def AbscissaOnPath(self) -> float: ... - def Transformation(self) -> gp_Trsf: ... + @overload + def __init__( + self, + Law: BRepFill_LocationLaw, + Section: TopoDS_Shape, + WithContact: Optional[bool] = False, + WithCorrection: Optional[bool] = False, + ) -> None: ... + @overload + def __init__( + self, + Law: BRepFill_LocationLaw, + Section: TopoDS_Shape, + Vertex: TopoDS_Shape, + WithContact: Optional[bool] = False, + WithCorrection: Optional[bool] = False, + ) -> None: ... + def AbscissaOnPath(self) -> float: ... + def Transformation(self) -> gp_Trsf: ... class BRepFill_Sweep: - def __init__(self, Section: BRepFill_SectionLaw, Location: BRepFill_LocationLaw, WithKPart: bool) -> None: ... - def Build(self, ReversedEdges: TopTools_MapOfShape, Tapes: BRepFill_DataMapOfShapeHArray2OfShape, Rails: BRepFill_DataMapOfShapeHArray2OfShape, Transition: Optional[BRepFill_TransitionStyle] = BRepFill_Modified, Continuity: Optional[GeomAbs_Shape] = GeomAbs_C2, Approx: Optional[GeomFill_ApproxStyle] = GeomFill_Location, Degmax: Optional[int] = 11, Segmax: Optional[int] = 30) -> None: ... - def ErrorOnSurface(self) -> float: ... - def InterFaces(self) -> TopTools_HArray2OfShape: ... - def IsDone(self) -> bool: ... - def Sections(self) -> TopTools_HArray2OfShape: ... - def SetAngularControl(self, AngleMin: Optional[float] = 0.01, AngleMax: Optional[float] = 6.0) -> None: ... - def SetBounds(self, FirstShape: TopoDS_Wire, LastShape: TopoDS_Wire) -> None: ... - def SetForceApproxC1(self, ForceApproxC1: bool) -> None: ... - def SetTolerance(self, Tol3d: float, BoundTol: Optional[float] = 1.0, Tol2d: Optional[float] = 1.0e-5, TolAngular: Optional[float] = 1.0e-2) -> None: ... - def Shape(self) -> TopoDS_Shape: ... - def SubShape(self) -> TopTools_HArray2OfShape: ... - def Tape(self, Index: int) -> TopoDS_Shape: ... + def __init__( + self, + Section: BRepFill_SectionLaw, + Location: BRepFill_LocationLaw, + WithKPart: bool, + ) -> None: ... + def Build( + self, + ReversedEdges: TopTools_MapOfShape, + Tapes: BRepFill_DataMapOfShapeHArray2OfShape, + Rails: BRepFill_DataMapOfShapeHArray2OfShape, + Transition: Optional[BRepFill_TransitionStyle] = BRepFill_Modified, + Continuity: Optional[GeomAbs_Shape] = GeomAbs_C2, + Approx: Optional[GeomFill_ApproxStyle] = GeomFill_Location, + Degmax: Optional[int] = 11, + Segmax: Optional[int] = 30, + ) -> None: ... + def ErrorOnSurface(self) -> float: ... + def InterFaces(self) -> TopTools_HArray2OfShape: ... + def IsDone(self) -> bool: ... + def Sections(self) -> TopTools_HArray2OfShape: ... + def SetAngularControl( + self, AngleMin: Optional[float] = 0.01, AngleMax: Optional[float] = 6.0 + ) -> None: ... + def SetBounds(self, FirstShape: TopoDS_Wire, LastShape: TopoDS_Wire) -> None: ... + def SetForceApproxC1(self, ForceApproxC1: bool) -> None: ... + def SetTolerance( + self, + Tol3d: float, + BoundTol: Optional[float] = 1.0, + Tol2d: Optional[float] = 1.0e-5, + TolAngular: Optional[float] = 1.0e-2, + ) -> None: ... + def Shape(self) -> TopoDS_Shape: ... + def SubShape(self) -> TopTools_HArray2OfShape: ... + def Tape(self, Index: int) -> TopoDS_Shape: ... class BRepFill_TrimEdgeTool: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, Bisec: Bisector_Bisec, S1: Geom2d_Geometry, S2: Geom2d_Geometry, Offset: float) -> None: ... - def AddOrConfuse(self, Start: bool, Edge1: TopoDS_Edge, Edge2: TopoDS_Edge, Params: TColgp_SequenceOfPnt) -> None: ... - def IntersectWith(self, Edge1: TopoDS_Edge, Edge2: TopoDS_Edge, InitShape1: TopoDS_Shape, InitShape2: TopoDS_Shape, End1: TopoDS_Vertex, End2: TopoDS_Vertex, theJoinType: GeomAbs_JoinType, IsOpenResult: bool, Params: TColgp_SequenceOfPnt) -> None: ... - def IsInside(self, P: gp_Pnt2d) -> bool: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__( + self, + Bisec: Bisector_Bisec, + S1: Geom2d_Geometry, + S2: Geom2d_Geometry, + Offset: float, + ) -> None: ... + def AddOrConfuse( + self, + Start: bool, + Edge1: TopoDS_Edge, + Edge2: TopoDS_Edge, + Params: TColgp_SequenceOfPnt, + ) -> None: ... + def IntersectWith( + self, + Edge1: TopoDS_Edge, + Edge2: TopoDS_Edge, + InitShape1: TopoDS_Shape, + InitShape2: TopoDS_Shape, + End1: TopoDS_Vertex, + End2: TopoDS_Vertex, + theJoinType: GeomAbs_JoinType, + IsOpenResult: bool, + Params: TColgp_SequenceOfPnt, + ) -> None: ... + def IsInside(self, P: gp_Pnt2d) -> bool: ... class BRepFill_TrimShellCorner: - def __init__(self, theFaces: TopTools_HArray2OfShape, theTransition: BRepFill_TransitionStyle, theAxeOfBisPlane: gp_Ax2) -> None: ... - def AddBounds(self, Bounds: TopTools_HArray2OfShape) -> None: ... - def AddUEdges(self, theUEdges: TopTools_HArray2OfShape) -> None: ... - def AddVEdges(self, theVEdges: TopTools_HArray2OfShape, theIndex: int) -> None: ... - def HasSection(self) -> bool: ... - def IsDone(self) -> bool: ... - def Modified(self, S: TopoDS_Shape, theModified: TopTools_ListOfShape) -> None: ... - def Perform(self) -> None: ... + def __init__( + self, + theFaces: TopTools_HArray2OfShape, + theTransition: BRepFill_TransitionStyle, + theAxeOfBisPlane: gp_Ax2, + theIntPointCrossDir: gp_Vec, + ) -> None: ... + def AddBounds(self, Bounds: TopTools_HArray2OfShape) -> None: ... + def AddUEdges(self, theUEdges: TopTools_HArray2OfShape) -> None: ... + def AddVEdges(self, theVEdges: TopTools_HArray2OfShape, theIndex: int) -> None: ... + def HasSection(self) -> bool: ... + def IsDone(self) -> bool: ... + def Modified(self, S: TopoDS_Shape, theModified: TopTools_ListOfShape) -> None: ... + def Perform(self) -> None: ... class BRepFill_TrimSurfaceTool: - def __init__(self, Bis: Geom2d_Curve, Face1: TopoDS_Face, Face2: TopoDS_Face, Edge1: TopoDS_Edge, Edge2: TopoDS_Edge, Inv1: bool, Inv2: bool) -> None: ... - def IntersectWith(self, EdgeOnF1: TopoDS_Edge, EdgeOnF2: TopoDS_Edge, Points: TColgp_SequenceOfPnt) -> None: ... - def IsOnFace(self, Point: gp_Pnt2d) -> bool: ... - def ProjOn(self, Point: gp_Pnt2d, Edge: TopoDS_Edge) -> float: ... - def Project(self, U1: float, U2: float, Curve: Geom_Curve, PCurve1: Geom2d_Curve, PCurve2: Geom2d_Curve, myCont: GeomAbs_Shape) -> None: ... + def __init__( + self, + Bis: Geom2d_Curve, + Face1: TopoDS_Face, + Face2: TopoDS_Face, + Edge1: TopoDS_Edge, + Edge2: TopoDS_Edge, + Inv1: bool, + Inv2: bool, + ) -> None: ... + def IntersectWith( + self, EdgeOnF1: TopoDS_Edge, EdgeOnF2: TopoDS_Edge, Points: TColgp_SequenceOfPnt + ) -> None: ... + def IsOnFace(self, Point: gp_Pnt2d) -> bool: ... + def ProjOn(self, Point: gp_Pnt2d, Edge: TopoDS_Edge) -> float: ... + def Project( + self, + U1: float, + U2: float, + Curve: Geom_Curve, + PCurve1: Geom2d_Curve, + PCurve2: Geom2d_Curve, + ) -> GeomAbs_Shape: ... class BRepFill_ACRLaw(BRepFill_LocationLaw): - def __init__(self, Path: TopoDS_Wire, Law: GeomFill_LocationGuide) -> None: ... + def __init__(self, Path: TopoDS_Wire, Law: GeomFill_LocationGuide) -> None: ... class BRepFill_Edge3DLaw(BRepFill_LocationLaw): - def __init__(self, Path: TopoDS_Wire, Law: GeomFill_LocationLaw) -> None: ... + def __init__(self, Path: TopoDS_Wire, Law: GeomFill_LocationLaw) -> None: ... class BRepFill_EdgeOnSurfLaw(BRepFill_LocationLaw): - def __init__(self, Path: TopoDS_Wire, Surf: TopoDS_Shape) -> None: ... - def HasResult(self) -> bool: ... + def __init__(self, Path: TopoDS_Wire, Surf: TopoDS_Shape) -> None: ... + def HasResult(self) -> bool: ... class BRepFill_NSections(BRepFill_SectionLaw): - @overload - def __init__(self, S: TopTools_SequenceOfShape, Build: Optional[bool] = True) -> None: ... - @overload - def __init__(self, S: TopTools_SequenceOfShape, Trsfs: GeomFill_SequenceOfTrsf, P: TColStd_SequenceOfReal, VF: float, VL: float, Build: Optional[bool] = True) -> None: ... - def ConcatenedLaw(self) -> GeomFill_SectionLaw: ... - def Continuity(self, Index: int, TolAngular: float) -> GeomAbs_Shape: ... - def D0(self, Param: float, S: TopoDS_Shape) -> None: ... - def IsConstant(self) -> bool: ... - def IsVertex(self) -> bool: ... - def Vertex(self, Index: int, Param: float) -> TopoDS_Vertex: ... - def VertexTol(self, Index: int, Param: float) -> float: ... + @overload + def __init__( + self, S: TopTools_SequenceOfShape, Build: Optional[bool] = True + ) -> None: ... + @overload + def __init__( + self, + S: TopTools_SequenceOfShape, + Trsfs: GeomFill_SequenceOfTrsf, + P: TColStd_SequenceOfReal, + VF: float, + VL: float, + Build: Optional[bool] = True, + ) -> None: ... + def ConcatenedLaw(self) -> GeomFill_SectionLaw: ... + def Continuity(self, Index: int, TolAngular: float) -> GeomAbs_Shape: ... + def D0(self, Param: float, S: TopoDS_Shape) -> None: ... + def IsConstant(self) -> bool: ... + def IsVertex(self) -> bool: ... + def Vertex(self, Index: int, Param: float) -> TopoDS_Vertex: ... + def VertexTol(self, Index: int, Param: float) -> float: ... class BRepFill_ShapeLaw(BRepFill_SectionLaw): - @overload - def __init__(self, V: TopoDS_Vertex, Build: Optional[bool] = True) -> None: ... - @overload - def __init__(self, W: TopoDS_Wire, Build: Optional[bool] = True) -> None: ... - @overload - def __init__(self, W: TopoDS_Wire, L: Law_Function, Build: Optional[bool] = True) -> None: ... - def ConcatenedLaw(self) -> GeomFill_SectionLaw: ... - def Continuity(self, Index: int, TolAngular: float) -> GeomAbs_Shape: ... - def D0(self, Param: float, S: TopoDS_Shape) -> None: ... - def Edge(self, Index: int) -> TopoDS_Edge: ... - def IsConstant(self) -> bool: ... - def IsVertex(self) -> bool: ... - def Vertex(self, Index: int, Param: float) -> TopoDS_Vertex: ... - def VertexTol(self, Index: int, Param: float) -> float: ... + @overload + def __init__(self, V: TopoDS_Vertex, Build: Optional[bool] = True) -> None: ... + @overload + def __init__(self, W: TopoDS_Wire, Build: Optional[bool] = True) -> None: ... + @overload + def __init__( + self, W: TopoDS_Wire, L: Law_Function, Build: Optional[bool] = True + ) -> None: ... + def ConcatenedLaw(self) -> GeomFill_SectionLaw: ... + def Continuity(self, Index: int, TolAngular: float) -> GeomAbs_Shape: ... + def D0(self, Param: float, S: TopoDS_Shape) -> None: ... + def Edge(self, Index: int) -> TopoDS_Edge: ... + def IsConstant(self) -> bool: ... + def IsVertex(self) -> bool: ... + def Vertex(self, Index: int, Param: float) -> TopoDS_Vertex: ... + def VertexTol(self, Index: int, Param: float) -> float: ... class BRepFill_DraftLaw(BRepFill_Edge3DLaw): - def __init__(self, Path: TopoDS_Wire, Law: GeomFill_LocationDraft) -> None: ... - def CleanLaw(self, TolAngular: float) -> None: ... + def __init__(self, Path: TopoDS_Wire, Law: GeomFill_LocationDraft) -> None: ... + def CleanLaw(self, TolAngular: float) -> None: ... # harray1 classes # harray2 classes # hsequence classes - -brepfill_Axe = brepfill.Axe -brepfill_ComputeACR = brepfill.ComputeACR -brepfill_Face = brepfill.Face -brepfill_InsertACR = brepfill.InsertACR -brepfill_Shell = brepfill.Shell diff --git a/src/SWIG_files/wrapper/BRepFilletAPI.i b/src/SWIG_files/wrapper/BRepFilletAPI.i index f34e015e2..a389fc795 100644 --- a/src/SWIG_files/wrapper/BRepFilletAPI.i +++ b/src/SWIG_files/wrapper/BRepFilletAPI.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPFILLETAPIDOCSTRING "BRepFilletAPI module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepfilletapi.html" +https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_brepfilletapi.html" %enddef %module (package="OCC.Core", docstring=BREPFILLETAPIDOCSTRING) BRepFilletAPI @@ -31,8 +31,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepfilletapi.htm %include ../common/CommonIncludes.i %include ../common/ExceptionCatcher.i %include ../common/FunctionTransformers.i +%include ../common/EnumTemplates.i %include ../common/Operators.i %include ../common/OccHandle.i +%include ../common/IOStream.i +%include ../common/ArrayMacros.i %{ @@ -44,6 +47,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepfilletapi.htm #include #include #include +#include #include #include #include @@ -76,6 +80,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepfilletapi.htm #include #include #include +#include #include #include #include @@ -86,6 +91,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepfilletapi.htm %import BRepBuilderAPI.i %import TopoDS.i %import ChFiDS.i +%import Message.i %import TopTools.i %import ChFi2d.i %import TopOpeBRepBuild.i @@ -103,7 +109,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -123,269 +129,321 @@ from OCC.Core.Exception import * %nodefaultctor BRepFilletAPI_LocalOperation; class BRepFilletAPI_LocalOperation : public BRepBuilderAPI_MakeShape { public: - /****************** Abscissa ******************/ - /**** md5 signature: 685e083950278023fe2b9d91e626c310 ****/ + /****** BRepFilletAPI_LocalOperation::Abscissa ******/ + /****** md5 signature: 685e083950278023fe2b9d91e626c310 ******/ %feature("compactdefaultargs") Abscissa; - %feature("autodoc", "Returns the abscissa of the vertex v on the contour of index ic. - + %feature("autodoc", " Parameters ---------- IC: int V: TopoDS_Vertex -Returns +Return ------- float + +Description +----------- +returns the abscissa of the vertex V on the contour of index IC. ") Abscissa; virtual Standard_Real Abscissa(const Standard_Integer IC, const TopoDS_Vertex & V); - /****************** Add ******************/ - /**** md5 signature: fa4475fe7d476e3c0ff5b6872b6ef406 ****/ + /****** BRepFilletAPI_LocalOperation::Add ******/ + /****** md5 signature: fa4475fe7d476e3c0ff5b6872b6ef406 ******/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Adds a contour in the builder (builds a contour of tangent edges). - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +Adds a contour in the builder (builds a contour of tangent edges). ") Add; virtual void Add(const TopoDS_Edge & E); - /****************** Closed ******************/ - /**** md5 signature: f2d784ec091d16f009d0d4abc551e18b ****/ + /****** BRepFilletAPI_LocalOperation::Closed ******/ + /****** md5 signature: f2d784ec091d16f009d0d4abc551e18b ******/ %feature("compactdefaultargs") Closed; - %feature("autodoc", "Returns true if the contour of index ic is closed. - + %feature("autodoc", " Parameters ---------- IC: int -Returns +Return ------- bool + +Description +----------- +returns true if the contour of index IC is closed. ") Closed; virtual Standard_Boolean Closed(const Standard_Integer IC); - /****************** ClosedAndTangent ******************/ - /**** md5 signature: 1df34df9ea5699ae9fcdd7a0c6ab3c55 ****/ + /****** BRepFilletAPI_LocalOperation::ClosedAndTangent ******/ + /****** md5 signature: 1df34df9ea5699ae9fcdd7a0c6ab3c55 ******/ %feature("compactdefaultargs") ClosedAndTangent; - %feature("autodoc", "Returns true if the contour of index ic is closed an tangent. - + %feature("autodoc", " Parameters ---------- IC: int -Returns +Return ------- bool + +Description +----------- +returns true if the contour of index IC is closed an tangent. ") ClosedAndTangent; virtual Standard_Boolean ClosedAndTangent(const Standard_Integer IC); - /****************** Contour ******************/ - /**** md5 signature: 1607262cdb3fdc43409df2c8a047c158 ****/ + /****** BRepFilletAPI_LocalOperation::Contour ******/ + /****** md5 signature: 1607262cdb3fdc43409df2c8a047c158 ******/ %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. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge -Returns +Return ------- int + +Description +----------- +Returns the index of the contour containing the edge E, returns 0 if E doesn't belong to any contour. ") Contour; virtual Standard_Integer Contour(const TopoDS_Edge & E); - /****************** Edge ******************/ - /**** md5 signature: 2a378aa85054fbc60ebbc3bdb4291706 ****/ + /****** BRepFilletAPI_LocalOperation::Edge ******/ + /****** md5 signature: 2a378aa85054fbc60ebbc3bdb4291706 ******/ %feature("compactdefaultargs") Edge; - %feature("autodoc", "Returns the edge j in the contour i. - + %feature("autodoc", " Parameters ---------- I: int J: int -Returns +Return ------- TopoDS_Edge + +Description +----------- +Returns the Edge J in the contour I. ") Edge; virtual const TopoDS_Edge Edge(const Standard_Integer I, const Standard_Integer J); - /****************** FirstVertex ******************/ - /**** md5 signature: edb62d0dca7e84966df1dbe4e0db231c ****/ + /****** BRepFilletAPI_LocalOperation::FirstVertex ******/ + /****** md5 signature: edb62d0dca7e84966df1dbe4e0db231c ******/ %feature("compactdefaultargs") FirstVertex; - %feature("autodoc", "Returns the first vertex of the contour of index ic. - + %feature("autodoc", " Parameters ---------- IC: int -Returns +Return ------- TopoDS_Vertex + +Description +----------- +Returns the first Vertex of the contour of index IC. ") FirstVertex; virtual TopoDS_Vertex FirstVertex(const Standard_Integer IC); - /****************** LastVertex ******************/ - /**** md5 signature: 2e51a665fa486cdad69aedcddc5ea895 ****/ + /****** BRepFilletAPI_LocalOperation::LastVertex ******/ + /****** md5 signature: 2e51a665fa486cdad69aedcddc5ea895 ******/ %feature("compactdefaultargs") LastVertex; - %feature("autodoc", "Returns the last vertex of the contour of index ic. - + %feature("autodoc", " Parameters ---------- IC: int -Returns +Return ------- TopoDS_Vertex + +Description +----------- +Returns the last Vertex of the contour of index IC. ") LastVertex; virtual TopoDS_Vertex LastVertex(const Standard_Integer IC); - /****************** Length ******************/ - /**** md5 signature: 0f5990c23bfb7630f4521985cdc20661 ****/ + /****** BRepFilletAPI_LocalOperation::Length ******/ + /****** md5 signature: 0f5990c23bfb7630f4521985cdc20661 ******/ %feature("compactdefaultargs") Length; - %feature("autodoc", "Returns the length the contour of index ic. - + %feature("autodoc", " Parameters ---------- IC: int -Returns +Return ------- float + +Description +----------- +returns the length the contour of index IC. ") Length; virtual Standard_Real Length(const Standard_Integer IC); - /****************** NbContours ******************/ - /**** md5 signature: 216a86c7df03a7204f8e36c8397a6655 ****/ + /****** BRepFilletAPI_LocalOperation::NbContours ******/ + /****** md5 signature: 216a86c7df03a7204f8e36c8397a6655 ******/ %feature("compactdefaultargs") NbContours; - %feature("autodoc", "Number of contours. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Number of contours. ") NbContours; virtual Standard_Integer NbContours(); - /****************** NbEdges ******************/ - /**** md5 signature: ff08d209d81fcffcec0e93a4234fa2ef ****/ + /****** BRepFilletAPI_LocalOperation::NbEdges ******/ + /****** md5 signature: ff08d209d81fcffcec0e93a4234fa2ef ******/ %feature("compactdefaultargs") NbEdges; - %feature("autodoc", "Number of edges in the contour i. - + %feature("autodoc", " Parameters ---------- I: int -Returns +Return ------- int + +Description +----------- +Number of Edges in the contour I. ") NbEdges; virtual Standard_Integer NbEdges(const Standard_Integer I); - /****************** NbSurf ******************/ - /**** md5 signature: 94758173fa1bc551c9a4816d5c798655 ****/ + /****** BRepFilletAPI_LocalOperation::NbSurf ******/ + /****** md5 signature: 94758173fa1bc551c9a4816d5c798655 ******/ %feature("compactdefaultargs") NbSurf; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- IC: int -Returns +Return ------- int + +Description +----------- +No available documentation. ") NbSurf; virtual Standard_Integer NbSurf(const Standard_Integer IC); - /****************** RelativeAbscissa ******************/ - /**** md5 signature: 9ec2ec7fe6fa93a375ae95e6fb6df5c7 ****/ + /****** BRepFilletAPI_LocalOperation::RelativeAbscissa ******/ + /****** md5 signature: 9ec2ec7fe6fa93a375ae95e6fb6df5c7 ******/ %feature("compactdefaultargs") RelativeAbscissa; - %feature("autodoc", "Returns the relative abscissa([0.,1.]) of the vertex v on the contour of index ic. - + %feature("autodoc", " Parameters ---------- IC: int V: TopoDS_Vertex -Returns +Return ------- float + +Description +----------- +returns the relative abscissa([0.,1.]) of the vertex V on the contour of index IC. ") RelativeAbscissa; virtual Standard_Real RelativeAbscissa(const Standard_Integer IC, const TopoDS_Vertex & V); - /****************** Remove ******************/ - /**** md5 signature: 72f5f0c292d497568578946495770c65 ****/ + /****** BRepFilletAPI_LocalOperation::Remove ******/ + /****** md5 signature: 72f5f0c292d497568578946495770c65 ******/ %feature("compactdefaultargs") Remove; - %feature("autodoc", "Remove the contour containing the edge e. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +remove the contour containing the Edge E. ") Remove; virtual void Remove(const TopoDS_Edge & E); - /****************** Reset ******************/ - /**** md5 signature: aae28a27b63a433889d7410d7f53fa36 ****/ + /****** BRepFilletAPI_LocalOperation::Reset ******/ + /****** md5 signature: aae28a27b63a433889d7410d7f53fa36 ******/ %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. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +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. ") Reset; virtual void Reset(); - /****************** ResetContour ******************/ - /**** md5 signature: 3360e863d75166c0b2ec93eb0a91d780 ****/ + /****** BRepFilletAPI_LocalOperation::ResetContour ******/ + /****** md5 signature: 3360e863d75166c0b2ec93eb0a91d780 ******/ %feature("compactdefaultargs") ResetContour; - %feature("autodoc", "Reset the contour of index ic, there is nomore information in the contour. - + %feature("autodoc", " Parameters ---------- IC: int -Returns +Return ------- None + +Description +----------- +Reset the contour of index IC, there is nomore information in the contour. ") ResetContour; virtual void ResetContour(const Standard_Integer IC); - /****************** Sect ******************/ - /**** md5 signature: 588b4bb4aa019a8430a3bad93265ed84 ****/ + /****** BRepFilletAPI_LocalOperation::Sect ******/ + /****** md5 signature: 588b4bb4aa019a8430a3bad93265ed84 ******/ %feature("compactdefaultargs") Sect; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- IC: int IS: int -Returns +Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Sect; virtual opencascade::handle Sect(const Standard_Integer IC, const Standard_Integer IS); - /****************** Simulate ******************/ - /**** md5 signature: b64707fafea4ebf580114b623febba83 ****/ + /****** BRepFilletAPI_LocalOperation::Simulate ******/ + /****** md5 signature: b64707fafea4ebf580114b623febba83 ******/ %feature("compactdefaultargs") Simulate; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- IC: int -Returns +Return ------- None + +Description +----------- +No available documentation. ") Simulate; virtual void Simulate(const Standard_Integer IC); @@ -403,37 +461,41 @@ None ***********************************/ class BRepFilletAPI_MakeFillet2d : public BRepBuilderAPI_MakeShape { public: - /****************** BRepFilletAPI_MakeFillet2d ******************/ - /**** md5 signature: 21c99b8730600fc6f2b7825df55cfd09 ****/ + /****** BRepFilletAPI_MakeFillet2d::BRepFilletAPI_MakeFillet2d ******/ + /****** md5 signature: 21c99b8730600fc6f2b7825df55cfd09 ******/ %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. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +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. ") BRepFilletAPI_MakeFillet2d; BRepFilletAPI_MakeFillet2d(); - /****************** BRepFilletAPI_MakeFillet2d ******************/ - /**** md5 signature: 04e9ad8a32ac3c41b5c80a5c2b17d511 ****/ + /****** BRepFilletAPI_MakeFillet2d::BRepFilletAPI_MakeFillet2d ******/ + /****** md5 signature: 04e9ad8a32ac3c41b5c80a5c2b17d511 ******/ %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. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face -Returns +Return ------- None + +Description +----------- +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. ") BRepFilletAPI_MakeFillet2d; BRepFilletAPI_MakeFillet2d(const TopoDS_Face & F); - /****************** AddChamfer ******************/ - /**** md5 signature: 8ab56100a5f8fd93f4f3849863205ed2 ****/ + /****** BRepFilletAPI_MakeFillet2d::AddChamfer ******/ + /****** md5 signature: 8ab56100a5f8fd93f4f3849863205ed2 ******/ %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", " Parameters ---------- E1: TopoDS_Edge @@ -441,17 +503,20 @@ E2: TopoDS_Edge D1: float D2: float -Returns +Return ------- TopoDS_Edge + +Description +----------- +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. ") AddChamfer; TopoDS_Edge AddChamfer(const TopoDS_Edge & E1, const TopoDS_Edge & E2, const Standard_Real D1, const Standard_Real D2); - /****************** AddChamfer ******************/ - /**** md5 signature: 08ba1f2a5a80f3f12155f274e5ccf476 ****/ + /****** BRepFilletAPI_MakeFillet2d::AddChamfer ******/ + /****** md5 signature: 08ba1f2a5a80f3f12155f274e5ccf476 ******/ %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. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge @@ -459,172 +524,210 @@ V: TopoDS_Vertex D: float Ang: float -Returns +Return ------- TopoDS_Edge + +Description +----------- +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; TopoDS_Edge AddChamfer(const TopoDS_Edge & E, const TopoDS_Vertex & V, const Standard_Real D, const Standard_Real Ang); - /****************** AddFillet ******************/ - /**** md5 signature: 0537608457b4aa5c0d47332a8668ac27 ****/ + /****** BRepFilletAPI_MakeFillet2d::AddFillet ******/ + /****** md5 signature: 0537608457b4aa5c0d47332a8668ac27 ******/ %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. - + %feature("autodoc", " Parameters ---------- V: TopoDS_Vertex Radius: float -Returns +Return ------- TopoDS_Edge + +Description +----------- +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. ") AddFillet; TopoDS_Edge AddFillet(const TopoDS_Vertex & V, const Standard_Real Radius); - /****************** BasisEdge ******************/ - /**** md5 signature: c244b8627d4ba515112f85786021bf15 ****/ + /****** BRepFilletAPI_MakeFillet2d::BasisEdge ******/ + /****** md5 signature: c244b8627d4ba515112f85786021bf15 ******/ %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. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge -Returns +Return ------- TopoDS_Edge + +Description +----------- +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. ") BasisEdge; const TopoDS_Edge BasisEdge(const TopoDS_Edge & E); - /****************** Build ******************/ - /**** md5 signature: 5ad4569f96377eec0c61c7f10d7c7aa9 ****/ + /****** BRepFilletAPI_MakeFillet2d::Build ******/ + /****** md5 signature: 58900897d55d51e349b2e40a091ec26f ******/ %feature("compactdefaultargs") Build; - %feature("autodoc", "Update the result and set the done flag. + %feature("autodoc", " +Parameters +---------- +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- None + +Description +----------- +Update the result and set the Done flag. ") Build; - virtual void Build(); + virtual void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); - /****************** ChamferEdges ******************/ - /**** md5 signature: 66edbe74780ce3ab689192aa27e7b595 ****/ + /****** BRepFilletAPI_MakeFillet2d::ChamferEdges ******/ + /****** md5 signature: 66edbe74780ce3ab689192aa27e7b595 ******/ %feature("compactdefaultargs") ChamferEdges; - %feature("autodoc", "Returns the table of chamfers on the face modified by this algorithm. - -Returns + %feature("autodoc", "Return ------- TopTools_SequenceOfShape + +Description +----------- +Returns the table of chamfers on the face modified by this algorithm. ") ChamferEdges; const TopTools_SequenceOfShape & ChamferEdges(); - /****************** DescendantEdge ******************/ - /**** md5 signature: aeb8944df5eff8bc10450ec6f2cf0e76 ****/ + /****** BRepFilletAPI_MakeFillet2d::DescendantEdge ******/ + /****** md5 signature: aeb8944df5eff8bc10450ec6f2cf0e76 ******/ %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. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge -Returns +Return ------- TopoDS_Edge + +Description +----------- +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. ") DescendantEdge; const TopoDS_Edge DescendantEdge(const TopoDS_Edge & E); - /****************** FilletEdges ******************/ - /**** md5 signature: 937d4c9906e8077f48db789584514415 ****/ + /****** BRepFilletAPI_MakeFillet2d::FilletEdges ******/ + /****** md5 signature: 937d4c9906e8077f48db789584514415 ******/ %feature("compactdefaultargs") FilletEdges; - %feature("autodoc", "Returns the table of fillets on the face modified by this algorithm. - -Returns + %feature("autodoc", "Return ------- TopTools_SequenceOfShape + +Description +----------- +Returns the table of fillets on the face modified by this algorithm. ") FilletEdges; const TopTools_SequenceOfShape & FilletEdges(); - /****************** HasDescendant ******************/ - /**** md5 signature: 0541f95951f0773111d16c04ab78f51f ****/ + /****** BRepFilletAPI_MakeFillet2d::HasDescendant ******/ + /****** md5 signature: 0541f95951f0773111d16c04ab78f51f ******/ %feature("compactdefaultargs") HasDescendant; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge -Returns +Return ------- bool + +Description +----------- +No available documentation. ") HasDescendant; Standard_Boolean HasDescendant(const TopoDS_Edge & E); - /****************** Init ******************/ - /**** md5 signature: a8dfaa68079e743e08190fe58d950a9a ****/ + /****** BRepFilletAPI_MakeFillet2d::Init ******/ + /****** md5 signature: a8dfaa68079e743e08190fe58d950a9a ******/ %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. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face -Returns +Return ------- None + +Description +----------- +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. ") Init; void Init(const TopoDS_Face & F); - /****************** Init ******************/ - /**** md5 signature: 7b460233038b2f415eaddf1e321fc705 ****/ + /****** BRepFilletAPI_MakeFillet2d::Init ******/ + /****** md5 signature: 7b460233038b2f415eaddf1e321fc705 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "This initialize method allow to init the builder from a face and another face which derive from . this is usefull to modify a fillet or a chamfer already created on . - + %feature("autodoc", " Parameters ---------- RefFace: TopoDS_Face ModFace: TopoDS_Face -Returns +Return ------- None + +Description +----------- +This initialize method allow to init the builder from a face RefFace and another face ModFace which derive from RefFace. This is useful to modify a fillet or a chamfer already created on ModFace. ") Init; void Init(const TopoDS_Face & RefFace, const TopoDS_Face & ModFace); - /****************** IsModified ******************/ - /**** md5 signature: 16d68e049352482fa8e513ef481ee475 ****/ + /****** BRepFilletAPI_MakeFillet2d::IsModified ******/ + /****** md5 signature: 16d68e049352482fa8e513ef481ee475 ******/ %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. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge -Returns +Return ------- bool + +Description +----------- +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. ") IsModified; Standard_Boolean IsModified(const TopoDS_Edge & E); - /****************** Modified ******************/ - /**** md5 signature: 73ccfe97b4ed94547a190332224ffe23 ****/ + /****** BRepFilletAPI_MakeFillet2d::Modified ******/ + /****** md5 signature: 73ccfe97b4ed94547a190332224ffe23 ******/ %feature("compactdefaultargs") Modified; - %feature("autodoc", "Returns the list of shapes modified from the shape . - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Returns the list of shapes modified from the shape . ") Modified; virtual const TopTools_ListOfShape & Modified(const TopoDS_Shape & S); - /****************** ModifyChamfer ******************/ - /**** md5 signature: f4b34f1306057c0cc8ca5f84d6421d3a ****/ + /****** BRepFilletAPI_MakeFillet2d::ModifyChamfer ******/ + /****** md5 signature: f4b34f1306057c0cc8ca5f84d6421d3a ******/ %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. - + %feature("autodoc", " Parameters ---------- Chamfer: TopoDS_Edge @@ -633,17 +736,20 @@ E2: TopoDS_Edge D1: float D2: float -Returns +Return ------- TopoDS_Edge + +Description +----------- +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. ") ModifyChamfer; TopoDS_Edge ModifyChamfer(const TopoDS_Edge & Chamfer, const TopoDS_Edge & E1, const TopoDS_Edge & E2, const Standard_Real D1, const Standard_Real D2); - /****************** ModifyChamfer ******************/ - /**** md5 signature: 5dc8140e76c07e7e78ad0bb92d51e1c8 ****/ + /****** BRepFilletAPI_MakeFillet2d::ModifyChamfer ******/ + /****** md5 signature: 5dc8140e76c07e7e78ad0bb92d51e1c8 ******/ %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. - + %feature("autodoc", " Parameters ---------- Chamfer: TopoDS_Edge @@ -651,114 +757,138 @@ E: TopoDS_Edge D: float Ang: float -Returns +Return ------- TopoDS_Edge + +Description +----------- +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; TopoDS_Edge ModifyChamfer(const TopoDS_Edge & Chamfer, const TopoDS_Edge & E, const Standard_Real D, const Standard_Real Ang); - /****************** ModifyFillet ******************/ - /**** md5 signature: 4ba37be14168b13373613def465683a2 ****/ + /****** BRepFilletAPI_MakeFillet2d::ModifyFillet ******/ + /****** md5 signature: 4ba37be14168b13373613def465683a2 ******/ %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. - + %feature("autodoc", " Parameters ---------- Fillet: TopoDS_Edge Radius: float -Returns +Return ------- TopoDS_Edge + +Description +----------- +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. ") ModifyFillet; TopoDS_Edge ModifyFillet(const TopoDS_Edge & Fillet, const Standard_Real Radius); - /****************** NbChamfer ******************/ - /**** md5 signature: 1531286606ef0261ac4850615d79f229 ****/ + /****** BRepFilletAPI_MakeFillet2d::NbChamfer ******/ + /****** md5 signature: 1531286606ef0261ac4850615d79f229 ******/ %feature("compactdefaultargs") NbChamfer; - %feature("autodoc", "Returns the number of chamfers on the face modified by this algorithm. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns the number of chamfers on the face modified by this algorithm. ") NbChamfer; Standard_Integer NbChamfer(); - /****************** NbCurves ******************/ - /**** md5 signature: f7f6dbd981df076443155a5a87b5c223 ****/ + /****** BRepFilletAPI_MakeFillet2d::NbCurves ******/ + /****** md5 signature: f7f6dbd981df076443155a5a87b5c223 ******/ %feature("compactdefaultargs") NbCurves; - %feature("autodoc", "Returns the number of new curves after the shape creation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +returns the number of new curves after the shape creation. ") NbCurves; Standard_Integer NbCurves(); - /****************** NbFillet ******************/ - /**** md5 signature: 213e984e2e53209ba86769e63c780c6f ****/ + /****** BRepFilletAPI_MakeFillet2d::NbFillet ******/ + /****** md5 signature: 213e984e2e53209ba86769e63c780c6f ******/ %feature("compactdefaultargs") NbFillet; - %feature("autodoc", "Returns the number of fillets on the face modified by this algorithm. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns the number of fillets on the face modified by this algorithm. ") NbFillet; Standard_Integer NbFillet(); - /****************** NewEdges ******************/ - /**** md5 signature: f5408bd77e64eab07f4d88d1d6f0f96e ****/ + /****** BRepFilletAPI_MakeFillet2d::NewEdges ******/ + /****** md5 signature: f5408bd77e64eab07f4d88d1d6f0f96e ******/ %feature("compactdefaultargs") NewEdges; - %feature("autodoc", "Return the edges created for curve i. - + %feature("autodoc", " Parameters ---------- I: int -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Return the Edges created for curve I. ") NewEdges; const TopTools_ListOfShape & NewEdges(const Standard_Integer I); - /****************** RemoveChamfer ******************/ - /**** md5 signature: e2fe904642b9955c8a660d5a9fc1f9db ****/ + /****** BRepFilletAPI_MakeFillet2d::RemoveChamfer ******/ + /****** md5 signature: e2fe904642b9955c8a660d5a9fc1f9db ******/ %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. - + %feature("autodoc", " Parameters ---------- Chamfer: TopoDS_Edge -Returns +Return ------- TopoDS_Vertex + +Description +----------- +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. ") RemoveChamfer; TopoDS_Vertex RemoveChamfer(const TopoDS_Edge & Chamfer); - /****************** RemoveFillet ******************/ - /**** md5 signature: c523feaddfccc8fecd7b796c40383670 ****/ + /****** BRepFilletAPI_MakeFillet2d::RemoveFillet ******/ + /****** md5 signature: c523feaddfccc8fecd7b796c40383670 ******/ %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. - + %feature("autodoc", " Parameters ---------- Fillet: TopoDS_Edge -Returns +Return ------- TopoDS_Vertex + +Description +----------- +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. ") RemoveFillet; TopoDS_Vertex RemoveFillet(const TopoDS_Edge & Fillet); - /****************** Status ******************/ - /**** md5 signature: d156d199c4dfd8fe1ae3da07b3861e60 ****/ + /****** BRepFilletAPI_MakeFillet2d::Status ******/ + /****** md5 signature: d156d199c4dfd8fe1ae3da07b3861e60 ******/ %feature("compactdefaultargs") Status; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- ChFi2d_ConstructionError + +Description +----------- +No available documentation. ") Status; ChFi2d_ConstructionError Status(); @@ -776,73 +906,84 @@ ChFi2d_ConstructionError **********************************/ class BRepFilletAPI_MakeChamfer : public BRepFilletAPI_LocalOperation { public: - /****************** BRepFilletAPI_MakeChamfer ******************/ - /**** md5 signature: 71d1fe71808ad8a56af47ed3fabdc3c6 ****/ + /****** BRepFilletAPI_MakeChamfer::BRepFilletAPI_MakeChamfer ******/ + /****** md5 signature: 71d1fe71808ad8a56af47ed3fabdc3c6 ******/ %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. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Initializes an algorithm for computing chamfers on the shape S. The edges on which chamfers are built are defined using the Add function. ") BRepFilletAPI_MakeChamfer; BRepFilletAPI_MakeChamfer(const TopoDS_Shape & S); - /****************** Abscissa ******************/ - /**** md5 signature: c1272cd99453d3fe75c78a84b1ec93d1 ****/ + /****** BRepFilletAPI_MakeChamfer::Abscissa ******/ + /****** md5 signature: c1272cd99453d3fe75c78a84b1ec93d1 ******/ %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. - + %feature("autodoc", " Parameters ---------- IC: int V: TopoDS_Vertex -Returns +Return ------- float + +Description +----------- +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. ") Abscissa; Standard_Real Abscissa(const Standard_Integer IC, const TopoDS_Vertex & V); - /****************** Add ******************/ - /**** md5 signature: 158dbe27a95f019f3e3e393c416defb6 ****/ + /****** BRepFilletAPI_MakeChamfer::Add ******/ + /****** md5 signature: 158dbe27a95f019f3e3e393c416defb6 ******/ %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", " Parameters ---------- E: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +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. ") Add; void Add(const TopoDS_Edge & E); - /****************** Add ******************/ - /**** md5 signature: 5df832e06f6a2a3e7dd74bbc479baf92 ****/ + /****** BRepFilletAPI_MakeChamfer::Add ******/ + /****** md5 signature: 5df832e06f6a2a3e7dd74bbc479baf92 ******/ %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. - + %feature("autodoc", " Parameters ---------- Dis: float E: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +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. ") Add; void Add(const Standard_Real Dis, const TopoDS_Edge & E); - /****************** Add ******************/ - /**** md5 signature: 3d413aacf4fbe519a69cb102312acd8a ****/ + /****** BRepFilletAPI_MakeChamfer::Add ******/ + /****** md5 signature: 3d413aacf4fbe519a69cb102312acd8a ******/ %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. - + %feature("autodoc", " Parameters ---------- Dis1: float @@ -850,17 +991,20 @@ Dis2: float E: TopoDS_Edge F: TopoDS_Face -Returns +Return ------- None + +Description +----------- +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; void Add(const Standard_Real Dis1, const Standard_Real Dis2, const TopoDS_Edge & E, const TopoDS_Face & F); - /****************** AddDA ******************/ - /**** md5 signature: b13fc907617fc4fffa48eb6ecc1c875f ****/ + /****** BRepFilletAPI_MakeChamfer::AddDA ******/ + /****** md5 signature: b13fc907617fc4fffa48eb6ecc1c875f ******/ %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 ) ). - + %feature("autodoc", " Parameters ---------- Dis: float @@ -868,413 +1012,498 @@ Angle: float E: TopoDS_Edge F: TopoDS_Face -Returns +Return ------- None + +Description +----------- +Adds a fillet contour in the builder (builds a contour of tangent edges to and sets the distance and angle ( parameters of the chamfer ) ). ") AddDA; void AddDA(const Standard_Real Dis, const Standard_Real Angle, const TopoDS_Edge & E, const TopoDS_Face & F); - /****************** Build ******************/ - /**** md5 signature: 5ad4569f96377eec0c61c7f10d7c7aa9 ****/ + /****** BRepFilletAPI_MakeChamfer::Build ******/ + /****** md5 signature: 58900897d55d51e349b2e40a091ec26f ******/ %feature("compactdefaultargs") Build; - %feature("autodoc", "Builds the chamfers on all the contours in the internal data structure of this algorithm and constructs the resulting shape. use the function isdone to verify that the chamfered shape is built. use the function shape to retrieve the chamfered shape. warning the construction of chamfers implements highly complex construction algorithms. consequently, there may be instances where the algorithm fails, for example if the data defining the parameters of the chamfer is not compatible with the geometry of the initial shape. there is no initial analysis of errors and these only become evident at the construction stage. additionally, in the current software release, the following cases are not handled: - the end point of the contour is the point of intersection of 4 or more edges of the shape, or - the intersection of the chamfer with a face which limits the contour is not fully contained in this face. + %feature("autodoc", " +Parameters +---------- +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- None + +Description +----------- +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. ") Build; - virtual void Build(); + virtual void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); - /****************** Builder ******************/ - /**** md5 signature: c97c63149316e999abd03e780cc959bf ****/ + /****** BRepFilletAPI_MakeChamfer::Builder ******/ + /****** md5 signature: c97c63149316e999abd03e780cc959bf ******/ %feature("compactdefaultargs") Builder; - %feature("autodoc", "Returns the internal filleting algorithm. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns the internal filleting algorithm. ") Builder; opencascade::handle Builder(); - /****************** Closed ******************/ - /**** md5 signature: 02e6c60b8d9f01dfb5d5e38943449890 ****/ + /****** BRepFilletAPI_MakeChamfer::Closed ******/ + /****** md5 signature: 02e6c60b8d9f01dfb5d5e38943449890 ******/ %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. - + %feature("autodoc", " Parameters ---------- IC: int -Returns +Return ------- bool + +Description +----------- +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. ") Closed; Standard_Boolean Closed(const Standard_Integer IC); - /****************** ClosedAndTangent ******************/ - /**** md5 signature: 6a080251cdf7f6c13ec7fa541b691f34 ****/ + /****** BRepFilletAPI_MakeChamfer::ClosedAndTangent ******/ + /****** md5 signature: 6a080251cdf7f6c13ec7fa541b691f34 ******/ %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. - + %feature("autodoc", " Parameters ---------- IC: int -Returns +Return ------- bool + +Description +----------- +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. ") ClosedAndTangent; Standard_Boolean ClosedAndTangent(const Standard_Integer IC); - /****************** Contour ******************/ - /**** md5 signature: 0012e08d6c558bf532f57f5b5c94b6f4 ****/ + /****** BRepFilletAPI_MakeChamfer::Contour ******/ + /****** md5 signature: 0012e08d6c558bf532f57f5b5c94b6f4 ******/ %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. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge -Returns +Return ------- int + +Description +----------- +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. ") Contour; Standard_Integer Contour(const TopoDS_Edge & E); - /****************** Dists ******************/ - /**** md5 signature: 25b55d4bd35e93f2afa86c7ba6682d7e ****/ + /****** BRepFilletAPI_MakeChamfer::Dists ******/ + /****** md5 signature: 25b55d4bd35e93f2afa86c7ba6682d7e ******/ %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. - + %feature("autodoc", " Parameters ---------- IC: int -Returns +Return ------- Dis1: float Dis2: float + +Description +----------- +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. ") Dists; void Dists(const Standard_Integer IC, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** Edge ******************/ - /**** md5 signature: ab0618f3051f6e1cc81d0a14c9610b1a ****/ + /****** BRepFilletAPI_MakeChamfer::Edge ******/ + /****** md5 signature: ab0618f3051f6e1cc81d0a14c9610b1a ******/ %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. - + %feature("autodoc", " Parameters ---------- I: int J: int -Returns +Return ------- TopoDS_Edge + +Description +----------- +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. ") Edge; const TopoDS_Edge Edge(const Standard_Integer I, const Standard_Integer J); - /****************** FirstVertex ******************/ - /**** md5 signature: a262ebc40fb5085f0b2791b9b6e04cb4 ****/ + /****** BRepFilletAPI_MakeChamfer::FirstVertex ******/ + /****** md5 signature: a262ebc40fb5085f0b2791b9b6e04cb4 ******/ %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. - + %feature("autodoc", " Parameters ---------- IC: int -Returns +Return ------- TopoDS_Vertex + +Description +----------- +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. ") FirstVertex; TopoDS_Vertex FirstVertex(const Standard_Integer IC); - /****************** Generated ******************/ - /**** md5 signature: 13e8506b1710abf403653a8e5186dd7b ****/ + /****** BRepFilletAPI_MakeChamfer::Generated ******/ + /****** md5 signature: 13e8506b1710abf403653a8e5186dd7b ******/ %feature("compactdefaultargs") Generated; - %feature("autodoc", "Returns the list of shapes generated from the shape . - + %feature("autodoc", " Parameters ---------- EorV: TopoDS_Shape -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Returns the list of shapes generated from the shape . ") Generated; virtual const TopTools_ListOfShape & Generated(const TopoDS_Shape & EorV); - /****************** GetDist ******************/ - /**** md5 signature: 84c7d3c61b94e48d768b0bb3c4924f47 ****/ + /****** BRepFilletAPI_MakeChamfer::GetDist ******/ + /****** md5 signature: 84c7d3c61b94e48d768b0bb3c4924f47 ******/ %feature("compactdefaultargs") GetDist; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- IC: int -Returns +Return ------- Dis: float + +Description +----------- +No available documentation. ") GetDist; void GetDist(const Standard_Integer IC, Standard_Real &OutValue); - /****************** GetDistAngle ******************/ - /**** md5 signature: ccc047433212c6a4b18b05da6f614d32 ****/ + /****** BRepFilletAPI_MakeChamfer::GetDistAngle ******/ + /****** md5 signature: ccc047433212c6a4b18b05da6f614d32 ******/ %feature("compactdefaultargs") GetDistAngle; - %feature("autodoc", "Gives the distances and of the fillet contour of index in the ds. - + %feature("autodoc", " Parameters ---------- IC: int -Returns +Return ------- Dis: float Angle: float + +Description +----------- +gives the distances and of the fillet contour of index in the DS. ") GetDistAngle; void GetDistAngle(const Standard_Integer IC, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** IsDeleted ******************/ - /**** md5 signature: 1a016772dc188bec4b890b93a447dc5d ****/ + /****** BRepFilletAPI_MakeChamfer::IsDeleted ******/ + /****** md5 signature: 1a016772dc188bec4b890b93a447dc5d ******/ %feature("compactdefaultargs") IsDeleted; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Shape -Returns +Return ------- bool + +Description +----------- +No available documentation. ") IsDeleted; virtual Standard_Boolean IsDeleted(const TopoDS_Shape & F); - /****************** IsDistanceAngle ******************/ - /**** md5 signature: d91abadc207eb1a15585586c73ec6c95 ****/ + /****** BRepFilletAPI_MakeChamfer::IsDistanceAngle ******/ + /****** md5 signature: d91abadc207eb1a15585586c73ec6c95 ******/ %feature("compactdefaultargs") IsDistanceAngle; - %feature("autodoc", "Return true if chamfer is made with distance and angle false else. - + %feature("autodoc", " Parameters ---------- IC: int -Returns +Return ------- bool + +Description +----------- +return True if chamfer is made with distance and angle false else. ") IsDistanceAngle; Standard_Boolean IsDistanceAngle(const Standard_Integer IC); - /****************** IsSymetric ******************/ - /**** md5 signature: e834faba1d738c1f857cbe69bcf685bd ****/ + /****** BRepFilletAPI_MakeChamfer::IsSymetric ******/ + /****** md5 signature: e834faba1d738c1f857cbe69bcf685bd ******/ %feature("compactdefaultargs") IsSymetric; - %feature("autodoc", "Return true if chamfer symetric false else. - + %feature("autodoc", " Parameters ---------- IC: int -Returns +Return ------- bool + +Description +----------- +return True if chamfer symmetric false else. ") IsSymetric; Standard_Boolean IsSymetric(const Standard_Integer IC); - /****************** IsTwoDistances ******************/ - /**** md5 signature: 1fcaf0cb56b0e2d373cb7ba4451660a9 ****/ + /****** BRepFilletAPI_MakeChamfer::IsTwoDistances ******/ + /****** md5 signature: 1fcaf0cb56b0e2d373cb7ba4451660a9 ******/ %feature("compactdefaultargs") IsTwoDistances; - %feature("autodoc", "Return true if chamfer is made with two distances false else. - + %feature("autodoc", " Parameters ---------- IC: int -Returns +Return ------- bool + +Description +----------- +return True if chamfer is made with two distances false else. ") IsTwoDistances; Standard_Boolean IsTwoDistances(const Standard_Integer IC); - /****************** LastVertex ******************/ - /**** md5 signature: b468acdc6948a696cfe4165f7db11707 ****/ + /****** BRepFilletAPI_MakeChamfer::LastVertex ******/ + /****** md5 signature: b468acdc6948a696cfe4165f7db11707 ******/ %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. - + %feature("autodoc", " Parameters ---------- IC: int -Returns +Return ------- TopoDS_Vertex + +Description +----------- +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. ") LastVertex; TopoDS_Vertex LastVertex(const Standard_Integer IC); - /****************** Length ******************/ - /**** md5 signature: 45912d0a5b273ecda386becc07851efe ****/ + /****** BRepFilletAPI_MakeChamfer::Length ******/ + /****** md5 signature: 45912d0a5b273ecda386becc07851efe ******/ %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. - + %feature("autodoc", " Parameters ---------- IC: int -Returns +Return ------- float + +Description +----------- +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. ") Length; Standard_Real Length(const Standard_Integer IC); - /****************** Modified ******************/ - /**** md5 signature: d47f6d180f47cfcfacc0413e7ca407b6 ****/ + /****** BRepFilletAPI_MakeChamfer::Modified ******/ + /****** md5 signature: d47f6d180f47cfcfacc0413e7ca407b6 ******/ %feature("compactdefaultargs") Modified; - %feature("autodoc", "Returns the list of shapes modified from the shape . - + %feature("autodoc", " Parameters ---------- F: TopoDS_Shape -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Returns the list of shapes modified from the shape . ") Modified; virtual const TopTools_ListOfShape & Modified(const TopoDS_Shape & F); - /****************** NbContours ******************/ - /**** md5 signature: 96cfb7456cba5a5f3d9829cc0a5d6cff ****/ + /****** BRepFilletAPI_MakeChamfer::NbContours ******/ + /****** md5 signature: 96cfb7456cba5a5f3d9829cc0a5d6cff ******/ %feature("compactdefaultargs") NbContours; - %feature("autodoc", "Returns the number of contours generated using the add function in the internal data structure of this algorithm. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns the number of contours generated using the Add function in the internal data structure of this algorithm. ") NbContours; Standard_Integer NbContours(); - /****************** NbEdges ******************/ - /**** md5 signature: bcdcd6136c58b5ad06794eab61b25047 ****/ + /****** BRepFilletAPI_MakeChamfer::NbEdges ******/ + /****** md5 signature: bcdcd6136c58b5ad06794eab61b25047 ******/ %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", " Parameters ---------- I: int -Returns +Return ------- int + +Description +----------- +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. ") NbEdges; Standard_Integer NbEdges(const Standard_Integer I); - /****************** NbSurf ******************/ - /**** md5 signature: 19ca6ce4b38bdddfb7a66dc59f24630c ****/ + /****** BRepFilletAPI_MakeChamfer::NbSurf ******/ + /****** md5 signature: 19ca6ce4b38bdddfb7a66dc59f24630c ******/ %feature("compactdefaultargs") NbSurf; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- IC: int -Returns +Return ------- int + +Description +----------- +No available documentation. ") NbSurf; Standard_Integer NbSurf(const Standard_Integer IC); - /****************** RelativeAbscissa ******************/ - /**** md5 signature: 026d361ab8f3164945f4338c5f2d9fa0 ****/ + /****** BRepFilletAPI_MakeChamfer::RelativeAbscissa ******/ + /****** md5 signature: 026d361ab8f3164945f4338c5f2d9fa0 ******/ %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. - + %feature("autodoc", " Parameters ---------- IC: int V: TopoDS_Vertex -Returns +Return ------- float + +Description +----------- +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. ") RelativeAbscissa; Standard_Real RelativeAbscissa(const Standard_Integer IC, const TopoDS_Vertex & V); - /****************** Remove ******************/ - /**** md5 signature: babf336eaca6f4d92baa94dc54d40636 ****/ + /****** BRepFilletAPI_MakeChamfer::Remove ******/ + /****** md5 signature: babf336eaca6f4d92baa94dc54d40636 ******/ %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. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +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. ") Remove; void Remove(const TopoDS_Edge & E); - /****************** Reset ******************/ - /**** md5 signature: cb8313136e29e24d2daa65a71dcb185d ****/ + /****** BRepFilletAPI_MakeChamfer::Reset ******/ + /****** md5 signature: cb8313136e29e24d2daa65a71dcb185d ******/ %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. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +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. ") Reset; void Reset(); - /****************** ResetContour ******************/ - /**** md5 signature: d313242387b63d0161ab68e3714287cc ****/ + /****** BRepFilletAPI_MakeChamfer::ResetContour ******/ + /****** md5 signature: d313242387b63d0161ab68e3714287cc ******/ %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. - + %feature("autodoc", " Parameters ---------- IC: int -Returns +Return ------- None + +Description +----------- +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. ") ResetContour; void ResetContour(const Standard_Integer IC); - /****************** Sect ******************/ - /**** md5 signature: 4858fd2ad3b58a420ddec56998ee716c ****/ + /****** BRepFilletAPI_MakeChamfer::Sect ******/ + /****** md5 signature: 4858fd2ad3b58a420ddec56998ee716c ******/ %feature("compactdefaultargs") Sect; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- IC: int IS: int -Returns +Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Sect; opencascade::handle Sect(const Standard_Integer IC, const Standard_Integer IS); - /****************** SetDist ******************/ - /**** md5 signature: 789e30011f188a91019292809e2bc8e3 ****/ + /****** BRepFilletAPI_MakeChamfer::SetDist ******/ + /****** md5 signature: 789e30011f188a91019292809e2bc8e3 ******/ %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. - + %feature("autodoc", " Parameters ---------- Dis: float IC: int F: TopoDS_Face -Returns +Return ------- None + +Description +----------- +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. ") SetDist; void SetDist(const Standard_Real Dis, const Standard_Integer IC, const TopoDS_Face & F); - /****************** SetDistAngle ******************/ - /**** md5 signature: 9a08ff085bc7ed451624212f4387c5cd ****/ + /****** BRepFilletAPI_MakeChamfer::SetDistAngle ******/ + /****** md5 signature: 9a08ff085bc7ed451624212f4387c5cd ******/ %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 . - + %feature("autodoc", " Parameters ---------- Dis: float @@ -1282,17 +1511,20 @@ Angle: float IC: int F: TopoDS_Face -Returns +Return ------- None + +Description +----------- +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 . ") SetDistAngle; void SetDistAngle(const Standard_Real Dis, const Standard_Real Angle, const Standard_Integer IC, const TopoDS_Face & F); - /****************** SetDists ******************/ - /**** md5 signature: 74f8c6096ad0cd9495a44c102ab48955 ****/ + /****** BRepFilletAPI_MakeChamfer::SetDists ******/ + /****** md5 signature: 74f8c6096ad0cd9495a44c102ab48955 ******/ %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. - + %feature("autodoc", " Parameters ---------- Dis1: float @@ -1300,39 +1532,49 @@ Dis2: float IC: int F: TopoDS_Face -Returns +Return ------- None + +Description +----------- +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. ") SetDists; void SetDists(const Standard_Real Dis1, const Standard_Real Dis2, const Standard_Integer IC, const TopoDS_Face & F); - /****************** SetMode ******************/ - /**** md5 signature: 85103d8a8712f2721bdad80918d54319 ****/ + /****** BRepFilletAPI_MakeChamfer::SetMode ******/ + /****** md5 signature: 85103d8a8712f2721bdad80918d54319 ******/ %feature("compactdefaultargs") SetMode; - %feature("autodoc", "Sets the mode of chamfer. - + %feature("autodoc", " Parameters ---------- theMode: ChFiDS_ChamfMode -Returns +Return ------- None + +Description +----------- +Sets the mode of chamfer. ") SetMode; void SetMode(const ChFiDS_ChamfMode theMode); - /****************** Simulate ******************/ - /**** md5 signature: 1ea1b1b8e2a939c9afdcc43cb9cc1b70 ****/ + /****** BRepFilletAPI_MakeChamfer::Simulate ******/ + /****** md5 signature: 1ea1b1b8e2a939c9afdcc43cb9cc1b70 ******/ %feature("compactdefaultargs") Simulate; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- IC: int -Returns +Return ------- None + +Description +----------- +No available documentation. ") Simulate; void Simulate(const Standard_Integer IC); @@ -1350,696 +1592,830 @@ None *********************************/ class BRepFilletAPI_MakeFillet : public BRepFilletAPI_LocalOperation { public: - /****************** BRepFilletAPI_MakeFillet ******************/ - /**** md5 signature: 10078f81c5a13ef2eb4ab7d106d6b8da ****/ + /****** BRepFilletAPI_MakeFillet::BRepFilletAPI_MakeFillet ******/ + /****** md5 signature: 10078f81c5a13ef2eb4ab7d106d6b8da ******/ %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. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -FShape: ChFi3d_FilletShape,optional - default value is ChFi3d_Rational +FShape: ChFi3d_FilletShape (optional, default to ChFi3d_Rational) -Returns +Return ------- None + +Description +----------- +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. ") BRepFilletAPI_MakeFillet; BRepFilletAPI_MakeFillet(const TopoDS_Shape & S, const ChFi3d_FilletShape FShape = ChFi3d_Rational); - /****************** Abscissa ******************/ - /**** md5 signature: c1272cd99453d3fe75c78a84b1ec93d1 ****/ + /****** BRepFilletAPI_MakeFillet::Abscissa ******/ + /****** md5 signature: c1272cd99453d3fe75c78a84b1ec93d1 ******/ %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. - + %feature("autodoc", " Parameters ---------- IC: int V: TopoDS_Vertex -Returns +Return ------- float + +Description +----------- +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. ") Abscissa; Standard_Real Abscissa(const Standard_Integer IC, const TopoDS_Vertex & V); - /****************** Add ******************/ - /**** md5 signature: 158dbe27a95f019f3e3e393c416defb6 ****/ + /****** BRepFilletAPI_MakeFillet::Add ******/ + /****** md5 signature: 158dbe27a95f019f3e3e393c416defb6 ******/ %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", " Parameters ---------- E: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +Adds a fillet contour in the builder (builds a contour of tangent edges). The Radius must be set after. ") Add; void Add(const TopoDS_Edge & E); - /****************** Add ******************/ - /**** md5 signature: 76561d24a6bc7a4c8b9703f8ada723d1 ****/ + /****** BRepFilletAPI_MakeFillet::Add ******/ + /****** md5 signature: 76561d24a6bc7a4c8b9703f8ada723d1 ******/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Adds a fillet description in the builder - builds a contour of tangent edges, - sets the radius. - + %feature("autodoc", " Parameters ---------- Radius: float E: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +Adds a fillet description in the builder - builds a contour of tangent edges, - sets the radius. ") Add; void Add(const Standard_Real Radius, const TopoDS_Edge & E); - /****************** Add ******************/ - /**** md5 signature: 12a5f893581949820526de05e3822fe9 ****/ + /****** BRepFilletAPI_MakeFillet::Add ******/ + /****** md5 signature: 12a5f893581949820526de05e3822fe9 ******/ %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. - + %feature("autodoc", " Parameters ---------- R1: float R2: float E: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +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; void Add(const Standard_Real R1, const Standard_Real R2, const TopoDS_Edge & E); - /****************** Add ******************/ - /**** md5 signature: 323e3737fe1d3ccf8c86d064e231c839 ****/ + /****** BRepFilletAPI_MakeFillet::Add ******/ + /****** md5 signature: 323e3737fe1d3ccf8c86d064e231c839 ******/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Adds a fillet description in the builder - builds a contour of tangent edges, - sest the radius evolution law. - + %feature("autodoc", " Parameters ---------- L: Law_Function E: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +Adds a fillet description in the builder - builds a contour of tangent edges, - sest the radius evolution law. ") Add; void Add(const opencascade::handle & L, const TopoDS_Edge & E); - /****************** Add ******************/ - /**** md5 signature: f2b501b589860daa800328e43cf6d72c ****/ + /****** BRepFilletAPI_MakeFillet::Add ******/ + /****** md5 signature: f2b501b589860daa800328e43cf6d72c ******/ %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. - + %feature("autodoc", " Parameters ---------- UandR: TColgp_Array1OfPnt2d E: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +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. ") Add; void Add(const TColgp_Array1OfPnt2d & UandR, const TopoDS_Edge & E); - /****************** BadShape ******************/ - /**** md5 signature: bc4bc683dd2daee18cd73177f824f6ce ****/ + /****** BRepFilletAPI_MakeFillet::BadShape ******/ + /****** md5 signature: bc4bc683dd2daee18cd73177f824f6ce ******/ %feature("compactdefaultargs") BadShape; - %feature("autodoc", "If (hasresult()) returns the partial result. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +if (HasResult()) returns the partial result. ") BadShape; TopoDS_Shape BadShape(); - /****************** Build ******************/ - /**** md5 signature: 5ad4569f96377eec0c61c7f10d7c7aa9 ****/ + /****** BRepFilletAPI_MakeFillet::Build ******/ + /****** md5 signature: 58900897d55d51e349b2e40a091ec26f ******/ %feature("compactdefaultargs") Build; - %feature("autodoc", "Builds the fillets on all the contours in the internal data structure of this algorithm and constructs the resulting shape. use the function isdone to verify that the filleted shape is built. use the function shape to retrieve the filleted shape. warning the construction of fillets implements highly complex construction algorithms. consequently, there may be instances where the algorithm fails, for example if the data defining the radius of the fillet is not compatible with the geometry of the initial shape. there is no initial analysis of errors and they only become evident at the construction stage. additionally, in the current software release, the following cases are not handled: - the end point of the contour is the point of intersection of 4 or more edges of the shape, or - the intersection of the fillet with a face which limits the contour is not fully contained in this face. + %feature("autodoc", " +Parameters +---------- +theRange: Message_ProgressRange (optional, default to Message_ProgressRange()) -Returns +Return ------- None + +Description +----------- +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. ") Build; - virtual void Build(); + virtual void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); - /****************** Builder ******************/ - /**** md5 signature: c97c63149316e999abd03e780cc959bf ****/ + /****** BRepFilletAPI_MakeFillet::Builder ******/ + /****** md5 signature: c97c63149316e999abd03e780cc959bf ******/ %feature("compactdefaultargs") Builder; - %feature("autodoc", "Returns the internal topology building algorithm. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns the internal topology building algorithm. ") Builder; opencascade::handle Builder(); - /****************** Closed ******************/ - /**** md5 signature: 02e6c60b8d9f01dfb5d5e38943449890 ****/ + /****** BRepFilletAPI_MakeFillet::Closed ******/ + /****** md5 signature: 02e6c60b8d9f01dfb5d5e38943449890 ******/ %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. - + %feature("autodoc", " Parameters ---------- IC: int -Returns +Return ------- bool + +Description +----------- +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. ") Closed; Standard_Boolean Closed(const Standard_Integer IC); - /****************** ClosedAndTangent ******************/ - /**** md5 signature: 6a080251cdf7f6c13ec7fa541b691f34 ****/ + /****** BRepFilletAPI_MakeFillet::ClosedAndTangent ******/ + /****** md5 signature: 6a080251cdf7f6c13ec7fa541b691f34 ******/ %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. - + %feature("autodoc", " Parameters ---------- IC: int -Returns +Return ------- bool + +Description +----------- +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. ") ClosedAndTangent; Standard_Boolean ClosedAndTangent(const Standard_Integer IC); - /****************** ComputedSurface ******************/ - /**** md5 signature: 96c489b28233f30f53d28540eaf6a6c2 ****/ + /****** BRepFilletAPI_MakeFillet::ComputedSurface ******/ + /****** md5 signature: 96c489b28233f30f53d28540eaf6a6c2 ******/ %feature("compactdefaultargs") ComputedSurface; - %feature("autodoc", "Returns the surface number is concerning the contour ic. - + %feature("autodoc", " Parameters ---------- IC: int IS: int -Returns +Return ------- opencascade::handle + +Description +----------- +returns the surface number IS concerning the contour IC. ") ComputedSurface; opencascade::handle ComputedSurface(const Standard_Integer IC, const Standard_Integer IS); - /****************** Contour ******************/ - /**** md5 signature: 0012e08d6c558bf532f57f5b5c94b6f4 ****/ + /****** BRepFilletAPI_MakeFillet::Contour ******/ + /****** md5 signature: 0012e08d6c558bf532f57f5b5c94b6f4 ******/ %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. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge -Returns +Return ------- int + +Description +----------- +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. ") Contour; Standard_Integer Contour(const TopoDS_Edge & E); - /****************** Edge ******************/ - /**** md5 signature: ab0618f3051f6e1cc81d0a14c9610b1a ****/ + /****** BRepFilletAPI_MakeFillet::Edge ******/ + /****** md5 signature: ab0618f3051f6e1cc81d0a14c9610b1a ******/ %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. - + %feature("autodoc", " Parameters ---------- I: int J: int -Returns +Return ------- TopoDS_Edge + +Description +----------- +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. ") Edge; const TopoDS_Edge Edge(const Standard_Integer I, const Standard_Integer J); - /****************** FaultyContour ******************/ - /**** md5 signature: 21156686a769d644f96890ea34047e80 ****/ + /****** BRepFilletAPI_MakeFillet::FaultyContour ******/ + /****** md5 signature: 21156686a769d644f96890ea34047e80 ******/ %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. - + %feature("autodoc", " Parameters ---------- I: int -Returns +Return ------- int + +Description +----------- +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. ") FaultyContour; Standard_Integer FaultyContour(const Standard_Integer I); - /****************** FaultyVertex ******************/ - /**** md5 signature: a045d17950f9e0d223a11a5a00a22d52 ****/ + /****** BRepFilletAPI_MakeFillet::FaultyVertex ******/ + /****** md5 signature: a045d17950f9e0d223a11a5a00a22d52 ******/ %feature("compactdefaultargs") FaultyVertex; - %feature("autodoc", "Returns the vertex where the computation failed. - + %feature("autodoc", " Parameters ---------- IV: int -Returns +Return ------- TopoDS_Vertex + +Description +----------- +returns the vertex where the computation failed. ") FaultyVertex; TopoDS_Vertex FaultyVertex(const Standard_Integer IV); - /****************** FirstVertex ******************/ - /**** md5 signature: a262ebc40fb5085f0b2791b9b6e04cb4 ****/ + /****** BRepFilletAPI_MakeFillet::FirstVertex ******/ + /****** md5 signature: a262ebc40fb5085f0b2791b9b6e04cb4 ******/ %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. - + %feature("autodoc", " Parameters ---------- IC: int -Returns +Return ------- TopoDS_Vertex + +Description +----------- +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. ") FirstVertex; TopoDS_Vertex FirstVertex(const Standard_Integer IC); - /****************** Generated ******************/ - /**** md5 signature: 13e8506b1710abf403653a8e5186dd7b ****/ + /****** BRepFilletAPI_MakeFillet::Generated ******/ + /****** md5 signature: 13e8506b1710abf403653a8e5186dd7b ******/ %feature("compactdefaultargs") Generated; - %feature("autodoc", "Returns the list of shapes generated from the shape . - + %feature("autodoc", " Parameters ---------- EorV: TopoDS_Shape -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Returns the list of shapes generated from the shape . ") Generated; virtual const TopTools_ListOfShape & Generated(const TopoDS_Shape & EorV); - /****************** GetBounds ******************/ - /**** md5 signature: a514948d9789a32d7fd6a1f1678a9740 ****/ + /****** BRepFilletAPI_MakeFillet::GetBounds ******/ + /****** md5 signature: a514948d9789a32d7fd6a1f1678a9740 ******/ %feature("compactdefaultargs") GetBounds; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- IC: int E: TopoDS_Edge -Returns +Return ------- F: float L: float + +Description +----------- +No available documentation. ") GetBounds; Standard_Boolean GetBounds(const Standard_Integer IC, const TopoDS_Edge & E, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** GetFilletShape ******************/ - /**** md5 signature: 20984b7354615dd8cd27c08187d0e0c2 ****/ + /****** BRepFilletAPI_MakeFillet::GetFilletShape ******/ + /****** md5 signature: 20984b7354615dd8cd27c08187d0e0c2 ******/ %feature("compactdefaultargs") GetFilletShape; - %feature("autodoc", "Returns the type of fillet shape built by this algorithm. - -Returns + %feature("autodoc", "Return ------- ChFi3d_FilletShape + +Description +----------- +Returns the type of fillet shape built by this algorithm. ") GetFilletShape; ChFi3d_FilletShape GetFilletShape(); - /****************** GetLaw ******************/ - /**** md5 signature: ddf4e7699933a83df3959c22378f680c ****/ + /****** BRepFilletAPI_MakeFillet::GetLaw ******/ + /****** md5 signature: ddf4e7699933a83df3959c22378f680c ******/ %feature("compactdefaultargs") GetLaw; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- IC: int E: TopoDS_Edge -Returns +Return ------- opencascade::handle + +Description +----------- +No available documentation. ") GetLaw; opencascade::handle GetLaw(const Standard_Integer IC, const TopoDS_Edge & E); - /****************** HasResult ******************/ - /**** md5 signature: 345d4b0f7e88f528928167976d8256d5 ****/ + /****** BRepFilletAPI_MakeFillet::HasResult ******/ + /****** md5 signature: 345d4b0f7e88f528928167976d8256d5 ******/ %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. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +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. ") HasResult; Standard_Boolean HasResult(); - /****************** IsConstant ******************/ - /**** md5 signature: 524ff18247c3bd6dd3b77ea2fbe631ab ****/ + /****** BRepFilletAPI_MakeFillet::IsConstant ******/ + /****** md5 signature: 524ff18247c3bd6dd3b77ea2fbe631ab ******/ %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. - + %feature("autodoc", " Parameters ---------- IC: int -Returns +Return ------- bool + +Description +----------- +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. ") IsConstant; Standard_Boolean IsConstant(const Standard_Integer IC); - /****************** IsConstant ******************/ - /**** md5 signature: 257d5c150f15059bb7c72ce611d410fc ****/ + /****** BRepFilletAPI_MakeFillet::IsConstant ******/ + /****** md5 signature: 257d5c150f15059bb7c72ce611d410fc ******/ %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. - + %feature("autodoc", " Parameters ---------- IC: int E: TopoDS_Edge -Returns +Return ------- bool + +Description +----------- +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. ") IsConstant; Standard_Boolean IsConstant(const Standard_Integer IC, const TopoDS_Edge & E); - /****************** IsDeleted ******************/ - /**** md5 signature: 1a016772dc188bec4b890b93a447dc5d ****/ + /****** BRepFilletAPI_MakeFillet::IsDeleted ******/ + /****** md5 signature: 1a016772dc188bec4b890b93a447dc5d ******/ %feature("compactdefaultargs") IsDeleted; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Shape -Returns +Return ------- bool + +Description +----------- +No available documentation. ") IsDeleted; virtual Standard_Boolean IsDeleted(const TopoDS_Shape & F); - /****************** LastVertex ******************/ - /**** md5 signature: b468acdc6948a696cfe4165f7db11707 ****/ + /****** BRepFilletAPI_MakeFillet::LastVertex ******/ + /****** md5 signature: b468acdc6948a696cfe4165f7db11707 ******/ %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. - + %feature("autodoc", " Parameters ---------- IC: int -Returns +Return ------- TopoDS_Vertex + +Description +----------- +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. ") LastVertex; TopoDS_Vertex LastVertex(const Standard_Integer IC); - /****************** Length ******************/ - /**** md5 signature: 45912d0a5b273ecda386becc07851efe ****/ + /****** BRepFilletAPI_MakeFillet::Length ******/ + /****** md5 signature: 45912d0a5b273ecda386becc07851efe ******/ %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. - + %feature("autodoc", " Parameters ---------- IC: int -Returns +Return ------- float + +Description +----------- +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. ") Length; Standard_Real Length(const Standard_Integer IC); - /****************** Modified ******************/ - /**** md5 signature: d47f6d180f47cfcfacc0413e7ca407b6 ****/ + /****** BRepFilletAPI_MakeFillet::Modified ******/ + /****** md5 signature: d47f6d180f47cfcfacc0413e7ca407b6 ******/ %feature("compactdefaultargs") Modified; - %feature("autodoc", "Returns the list of shapes modified from the shape . - + %feature("autodoc", " Parameters ---------- F: TopoDS_Shape -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Returns the list of shapes modified from the shape . ") Modified; virtual const TopTools_ListOfShape & Modified(const TopoDS_Shape & F); - /****************** NbComputedSurfaces ******************/ - /**** md5 signature: 164cfd056526b3a43cae9bf77f5c8661 ****/ + /****** BRepFilletAPI_MakeFillet::NbComputedSurfaces ******/ + /****** md5 signature: 164cfd056526b3a43cae9bf77f5c8661 ******/ %feature("compactdefaultargs") NbComputedSurfaces; - %feature("autodoc", "Returns the number of surfaces which have been computed on the contour ic. - + %feature("autodoc", " Parameters ---------- IC: int -Returns +Return ------- int + +Description +----------- +returns the number of surfaces which have been computed on the contour IC. ") NbComputedSurfaces; Standard_Integer NbComputedSurfaces(const Standard_Integer IC); - /****************** NbContours ******************/ - /**** md5 signature: 96cfb7456cba5a5f3d9829cc0a5d6cff ****/ + /****** BRepFilletAPI_MakeFillet::NbContours ******/ + /****** md5 signature: 96cfb7456cba5a5f3d9829cc0a5d6cff ******/ %feature("compactdefaultargs") NbContours; - %feature("autodoc", "Returns the number of contours generated using the add function in the internal data structure of this algorithm. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns the number of contours generated using the Add function in the internal data structure of this algorithm. ") NbContours; Standard_Integer NbContours(); - /****************** NbEdges ******************/ - /**** md5 signature: bcdcd6136c58b5ad06794eab61b25047 ****/ + /****** BRepFilletAPI_MakeFillet::NbEdges ******/ + /****** md5 signature: bcdcd6136c58b5ad06794eab61b25047 ******/ %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", " Parameters ---------- I: int -Returns +Return ------- int + +Description +----------- +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. ") NbEdges; Standard_Integer NbEdges(const Standard_Integer I); - /****************** NbFaultyContours ******************/ - /**** md5 signature: f1fb95ba8b7e9b0d24a588c92bfcc422 ****/ + /****** BRepFilletAPI_MakeFillet::NbFaultyContours ******/ + /****** md5 signature: f1fb95ba8b7e9b0d24a588c92bfcc422 ******/ %feature("compactdefaultargs") NbFaultyContours; - %feature("autodoc", "Returns the number of contours where the computation of the fillet failed. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns the number of contours where the computation of the fillet failed. ") NbFaultyContours; Standard_Integer NbFaultyContours(); - /****************** NbFaultyVertices ******************/ - /**** md5 signature: e14cf31fcf2094c6ecb0e40d167aeb3c ****/ + /****** BRepFilletAPI_MakeFillet::NbFaultyVertices ******/ + /****** md5 signature: e14cf31fcf2094c6ecb0e40d167aeb3c ******/ %feature("compactdefaultargs") NbFaultyVertices; - %feature("autodoc", "Returns the number of vertices where the computation failed. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +returns the number of vertices where the computation failed. ") NbFaultyVertices; Standard_Integer NbFaultyVertices(); - /****************** NbSurf ******************/ - /**** md5 signature: 19ca6ce4b38bdddfb7a66dc59f24630c ****/ + /****** BRepFilletAPI_MakeFillet::NbSurf ******/ + /****** md5 signature: 19ca6ce4b38bdddfb7a66dc59f24630c ******/ %feature("compactdefaultargs") NbSurf; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- IC: int -Returns +Return ------- int + +Description +----------- +No available documentation. ") NbSurf; Standard_Integer NbSurf(const Standard_Integer IC); - /****************** NbSurfaces ******************/ - /**** md5 signature: fbc438e1ec12b28d849e6d0aeb23caaa ****/ + /****** BRepFilletAPI_MakeFillet::NbSurfaces ******/ + /****** md5 signature: fbc438e1ec12b28d849e6d0aeb23caaa ******/ %feature("compactdefaultargs") NbSurfaces; - %feature("autodoc", "Returns the number of surfaces after the shape creation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +returns the number of surfaces after the shape creation. ") NbSurfaces; Standard_Integer NbSurfaces(); - /****************** NewFaces ******************/ - /**** md5 signature: 1dc1740674b05cd6d91d56cc7e21ab50 ****/ + /****** BRepFilletAPI_MakeFillet::NewFaces ******/ + /****** md5 signature: 1dc1740674b05cd6d91d56cc7e21ab50 ******/ %feature("compactdefaultargs") NewFaces; - %feature("autodoc", "Return the faces created for surface . - + %feature("autodoc", " Parameters ---------- I: int -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Return the faces created for surface . ") NewFaces; const TopTools_ListOfShape & NewFaces(const Standard_Integer I); - /****************** Radius ******************/ - /**** md5 signature: fa1b61b1f5b63be2bd1c45ff84f2e774 ****/ + /****** BRepFilletAPI_MakeFillet::Radius ******/ + /****** md5 signature: fa1b61b1f5b63be2bd1c45ff84f2e774 ******/ %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. - + %feature("autodoc", " Parameters ---------- IC: int -Returns +Return ------- float + +Description +----------- +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. ") Radius; Standard_Real Radius(const Standard_Integer IC); - /****************** Radius ******************/ - /**** md5 signature: f7159c67e3b0c71e38b6204368bc2c9e ****/ + /****** BRepFilletAPI_MakeFillet::Radius ******/ + /****** md5 signature: f7159c67e3b0c71e38b6204368bc2c9e ******/ %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. - + %feature("autodoc", " Parameters ---------- IC: int E: TopoDS_Edge -Returns +Return ------- float + +Description +----------- +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. ") Radius; Standard_Real Radius(const Standard_Integer IC, const TopoDS_Edge & E); - /****************** RelativeAbscissa ******************/ - /**** md5 signature: 026d361ab8f3164945f4338c5f2d9fa0 ****/ + /****** BRepFilletAPI_MakeFillet::RelativeAbscissa ******/ + /****** md5 signature: 026d361ab8f3164945f4338c5f2d9fa0 ******/ %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. - + %feature("autodoc", " Parameters ---------- IC: int V: TopoDS_Vertex -Returns +Return ------- float + +Description +----------- +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. ") RelativeAbscissa; Standard_Real RelativeAbscissa(const Standard_Integer IC, const TopoDS_Vertex & V); - /****************** Remove ******************/ - /**** md5 signature: babf336eaca6f4d92baa94dc54d40636 ****/ + /****** BRepFilletAPI_MakeFillet::Remove ******/ + /****** md5 signature: babf336eaca6f4d92baa94dc54d40636 ******/ %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. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +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. ") Remove; void Remove(const TopoDS_Edge & E); - /****************** Reset ******************/ - /**** md5 signature: cb8313136e29e24d2daa65a71dcb185d ****/ + /****** BRepFilletAPI_MakeFillet::Reset ******/ + /****** md5 signature: cb8313136e29e24d2daa65a71dcb185d ******/ %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. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +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. ") Reset; void Reset(); - /****************** ResetContour ******************/ - /**** md5 signature: d313242387b63d0161ab68e3714287cc ****/ + /****** BRepFilletAPI_MakeFillet::ResetContour ******/ + /****** md5 signature: d313242387b63d0161ab68e3714287cc ******/ %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. - + %feature("autodoc", " Parameters ---------- IC: int -Returns +Return ------- None + +Description +----------- +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. ") ResetContour; void ResetContour(const Standard_Integer IC); - /****************** Sect ******************/ - /**** md5 signature: 4858fd2ad3b58a420ddec56998ee716c ****/ + /****** BRepFilletAPI_MakeFillet::Sect ******/ + /****** md5 signature: 4858fd2ad3b58a420ddec56998ee716c ******/ %feature("compactdefaultargs") Sect; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- IC: int IS: int -Returns +Return ------- opencascade::handle + +Description +----------- +No available documentation. ") Sect; opencascade::handle Sect(const Standard_Integer IC, const Standard_Integer IS); - /****************** SetContinuity ******************/ - /**** md5 signature: c492356a15562b146506665d8c5d1b77 ****/ + /****** BRepFilletAPI_MakeFillet::SetContinuity ******/ + /****** md5 signature: c492356a15562b146506665d8c5d1b77 ******/ %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. - + %feature("autodoc", " Parameters ---------- InternalContinuity: GeomAbs_Shape AngularTolerance: float -Returns +Return ------- None + +Description +----------- +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. ") SetContinuity; void SetContinuity(const GeomAbs_Shape InternalContinuity, const Standard_Real AngularTolerance); - /****************** SetFilletShape ******************/ - /**** md5 signature: e06a9b29defc75fed749ac6b4289246e ****/ + /****** BRepFilletAPI_MakeFillet::SetFilletShape ******/ + /****** md5 signature: e06a9b29defc75fed749ac6b4289246e ******/ %feature("compactdefaultargs") SetFilletShape; - %feature("autodoc", "Assigns fshape as the type of fillet shape built by this algorithm. - + %feature("autodoc", " Parameters ---------- FShape: ChFi3d_FilletShape -Returns +Return ------- None + +Description +----------- +Assigns FShape as the type of fillet shape built by this algorithm. ") SetFilletShape; void SetFilletShape(const ChFi3d_FilletShape FShape); - /****************** SetLaw ******************/ - /**** md5 signature: 6b759d0a0e31e3dac6b56c3c9951b79f ****/ + /****** BRepFilletAPI_MakeFillet::SetLaw ******/ + /****** md5 signature: 6b759d0a0e31e3dac6b56c3c9951b79f ******/ %feature("compactdefaultargs") SetLaw; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- IC: int E: TopoDS_Edge L: Law_Function -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetLaw; void SetLaw(const Standard_Integer IC, const TopoDS_Edge & E, const opencascade::handle & L); - /****************** SetParams ******************/ - /**** md5 signature: dd3731c1527f95a9443df47a6b3a54d4 ****/ + /****** BRepFilletAPI_MakeFillet::SetParams ******/ + /****** md5 signature: dd3731c1527f95a9443df47a6b3a54d4 ******/ %feature("compactdefaultargs") SetParams; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Tang: float @@ -2049,34 +2425,40 @@ TApp3d: float TolApp2d: float Fleche: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: bfcf0db73a6fdec8f7b106f7dde09942 ****/ + /****** BRepFilletAPI_MakeFillet::SetRadius ******/ + /****** md5 signature: bfcf0db73a6fdec8f7b106f7dde09942 ******/ %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. - + %feature("autodoc", " Parameters ---------- Radius: float IC: int IinC: int -Returns +Return ------- None + +Description +----------- +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. ") SetRadius; void SetRadius(const Standard_Real Radius, const Standard_Integer IC, const Standard_Integer IinC); - /****************** SetRadius ******************/ - /**** md5 signature: 17b808e15085a3493392830537619fa3 ****/ + /****** BRepFilletAPI_MakeFillet::SetRadius ******/ + /****** md5 signature: 17b808e15085a3493392830537619fa3 ******/ %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. - + %feature("autodoc", " Parameters ---------- R1: float @@ -2084,107 +2466,129 @@ R2: float IC: int IinC: int -Returns +Return ------- None + +Description +----------- +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. ") SetRadius; void SetRadius(const Standard_Real R1, const Standard_Real R2, const Standard_Integer IC, const Standard_Integer IinC); - /****************** SetRadius ******************/ - /**** md5 signature: 9b4b438ad3c91063001d4fb5371a7255 ****/ + /****** BRepFilletAPI_MakeFillet::SetRadius ******/ + /****** md5 signature: 9b4b438ad3c91063001d4fb5371a7255 ******/ %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. - + %feature("autodoc", " Parameters ---------- L: Law_Function IC: int IinC: int -Returns +Return ------- None + +Description +----------- +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. ") SetRadius; void SetRadius(const opencascade::handle & L, const Standard_Integer IC, const Standard_Integer IinC); - /****************** SetRadius ******************/ - /**** md5 signature: 88fec8db529c6c83ce4223c86a27e33c ****/ + /****** BRepFilletAPI_MakeFillet::SetRadius ******/ + /****** md5 signature: 88fec8db529c6c83ce4223c86a27e33c ******/ %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. - + %feature("autodoc", " Parameters ---------- UandR: TColgp_Array1OfPnt2d IC: int IinC: int -Returns +Return ------- None + +Description +----------- +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. ") SetRadius; void SetRadius(const TColgp_Array1OfPnt2d & UandR, const Standard_Integer IC, const Standard_Integer IinC); - /****************** SetRadius ******************/ - /**** md5 signature: 56cd0b711b7c7a0a5ac3f46e84fd6fe3 ****/ + /****** BRepFilletAPI_MakeFillet::SetRadius ******/ + /****** md5 signature: 56cd0b711b7c7a0a5ac3f46e84fd6fe3 ******/ %feature("compactdefaultargs") SetRadius; - %feature("autodoc", "Assigns radius as the radius of the fillet on the edge e. - + %feature("autodoc", " Parameters ---------- Radius: float IC: int E: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +Assigns Radius as the radius of the fillet on the edge E. ") SetRadius; void SetRadius(const Standard_Real Radius, const Standard_Integer IC, const TopoDS_Edge & E); - /****************** SetRadius ******************/ - /**** md5 signature: 8c455c2795828e4085759369fbb8b830 ****/ + /****** BRepFilletAPI_MakeFillet::SetRadius ******/ + /****** md5 signature: 8c455c2795828e4085759369fbb8b830 ******/ %feature("compactdefaultargs") SetRadius; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Radius: float IC: int V: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetRadius; void SetRadius(const Standard_Real Radius, const Standard_Integer IC, const TopoDS_Vertex & V); - /****************** Simulate ******************/ - /**** md5 signature: 1ea1b1b8e2a939c9afdcc43cb9cc1b70 ****/ + /****** BRepFilletAPI_MakeFillet::Simulate ******/ + /****** md5 signature: 1ea1b1b8e2a939c9afdcc43cb9cc1b70 ******/ %feature("compactdefaultargs") Simulate; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- IC: int -Returns +Return ------- None + +Description +----------- +No available documentation. ") Simulate; void Simulate(const Standard_Integer IC); - /****************** StripeStatus ******************/ - /**** md5 signature: 7b8afd101ec5ebd9cd37e2bc2cfd73ff ****/ + /****** BRepFilletAPI_MakeFillet::StripeStatus ******/ + /****** md5 signature: 7b8afd101ec5ebd9cd37e2bc2cfd73ff ******/ %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. - + %feature("autodoc", " Parameters ---------- IC: int -Returns +Return ------- ChFiDS_ErrorStatus + +Description +----------- +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. ") StripeStatus; ChFiDS_ErrorStatus StripeStatus(const Standard_Integer IC); diff --git a/src/SWIG_files/wrapper/BRepFilletAPI.pyi b/src/SWIG_files/wrapper/BRepFilletAPI.pyi index 08da79fd3..d408d396a 100644 --- a/src/SWIG_files/wrapper/BRepFilletAPI.pyi +++ b/src/SWIG_files/wrapper/BRepFilletAPI.pyi @@ -6,6 +6,7 @@ from OCC.Core.NCollection import * from OCC.Core.BRepBuilderAPI import * from OCC.Core.TopoDS import * from OCC.Core.ChFiDS import * +from OCC.Core.Message import * from OCC.Core.TopTools import * from OCC.Core.ChFi2d import * from OCC.Core.TopOpeBRepBuild import * @@ -15,178 +16,211 @@ from OCC.Core.TColgp import * from OCC.Core.Geom import * from OCC.Core.GeomAbs import * - class BRepFilletAPI_LocalOperation(BRepBuilderAPI_MakeShape): - def Abscissa(self, IC: int, V: TopoDS_Vertex) -> float: ... - def Add(self, E: TopoDS_Edge) -> None: ... - def Closed(self, IC: int) -> bool: ... - def ClosedAndTangent(self, IC: int) -> bool: ... - def Contour(self, E: TopoDS_Edge) -> int: ... - def Edge(self, I: int, J: int) -> TopoDS_Edge: ... - def FirstVertex(self, IC: int) -> TopoDS_Vertex: ... - def LastVertex(self, IC: int) -> TopoDS_Vertex: ... - def Length(self, IC: int) -> float: ... - def NbContours(self) -> int: ... - def NbEdges(self, I: int) -> int: ... - def NbSurf(self, IC: int) -> int: ... - def RelativeAbscissa(self, IC: int, V: TopoDS_Vertex) -> float: ... - def Remove(self, E: TopoDS_Edge) -> None: ... - def Reset(self) -> None: ... - def ResetContour(self, IC: int) -> None: ... - def Sect(self, IC: int, IS: int) -> ChFiDS_SecHArray1: ... - def Simulate(self, IC: int) -> None: ... + def Abscissa(self, IC: int, V: TopoDS_Vertex) -> float: ... + def Add(self, E: TopoDS_Edge) -> None: ... + def Closed(self, IC: int) -> bool: ... + def ClosedAndTangent(self, IC: int) -> bool: ... + def Contour(self, E: TopoDS_Edge) -> int: ... + def Edge(self, I: int, J: int) -> TopoDS_Edge: ... + def FirstVertex(self, IC: int) -> TopoDS_Vertex: ... + def LastVertex(self, IC: int) -> TopoDS_Vertex: ... + def Length(self, IC: int) -> float: ... + def NbContours(self) -> int: ... + def NbEdges(self, I: int) -> int: ... + def NbSurf(self, IC: int) -> int: ... + def RelativeAbscissa(self, IC: int, V: TopoDS_Vertex) -> float: ... + def Remove(self, E: TopoDS_Edge) -> None: ... + def Reset(self) -> None: ... + def ResetContour(self, IC: int) -> None: ... + def Sect(self, IC: int, IS: int) -> ChFiDS_SecHArray1: ... + def Simulate(self, IC: int) -> None: ... class BRepFilletAPI_MakeFillet2d(BRepBuilderAPI_MakeShape): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, F: TopoDS_Face) -> None: ... - @overload - def AddChamfer(self, E1: TopoDS_Edge, E2: TopoDS_Edge, D1: float, D2: float) -> TopoDS_Edge: ... - @overload - def AddChamfer(self, E: TopoDS_Edge, V: TopoDS_Vertex, D: float, Ang: float) -> TopoDS_Edge: ... - def AddFillet(self, V: TopoDS_Vertex, Radius: float) -> TopoDS_Edge: ... - def BasisEdge(self, E: TopoDS_Edge) -> TopoDS_Edge: ... - def Build(self) -> None: ... - def ChamferEdges(self) -> TopTools_SequenceOfShape: ... - def DescendantEdge(self, E: TopoDS_Edge) -> TopoDS_Edge: ... - def FilletEdges(self) -> TopTools_SequenceOfShape: ... - def HasDescendant(self, E: TopoDS_Edge) -> bool: ... - @overload - def Init(self, F: TopoDS_Face) -> None: ... - @overload - def Init(self, RefFace: TopoDS_Face, ModFace: TopoDS_Face) -> None: ... - def IsModified(self, E: TopoDS_Edge) -> bool: ... - def Modified(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... - @overload - def ModifyChamfer(self, Chamfer: TopoDS_Edge, E1: TopoDS_Edge, E2: TopoDS_Edge, D1: float, D2: float) -> TopoDS_Edge: ... - @overload - def ModifyChamfer(self, Chamfer: TopoDS_Edge, E: TopoDS_Edge, D: float, Ang: float) -> TopoDS_Edge: ... - def ModifyFillet(self, Fillet: TopoDS_Edge, Radius: float) -> TopoDS_Edge: ... - def NbChamfer(self) -> int: ... - def NbCurves(self) -> int: ... - def NbFillet(self) -> int: ... - def NewEdges(self, I: int) -> TopTools_ListOfShape: ... - def RemoveChamfer(self, Chamfer: TopoDS_Edge) -> TopoDS_Vertex: ... - def RemoveFillet(self, Fillet: TopoDS_Edge) -> TopoDS_Vertex: ... - def Status(self) -> ChFi2d_ConstructionError: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, F: TopoDS_Face) -> None: ... + @overload + def AddChamfer( + self, E1: TopoDS_Edge, E2: TopoDS_Edge, D1: float, D2: float + ) -> TopoDS_Edge: ... + @overload + def AddChamfer( + self, E: TopoDS_Edge, V: TopoDS_Vertex, D: float, Ang: float + ) -> TopoDS_Edge: ... + def AddFillet(self, V: TopoDS_Vertex, Radius: float) -> TopoDS_Edge: ... + def BasisEdge(self, E: TopoDS_Edge) -> TopoDS_Edge: ... + def Build( + self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange() + ) -> None: ... + def ChamferEdges(self) -> TopTools_SequenceOfShape: ... + def DescendantEdge(self, E: TopoDS_Edge) -> TopoDS_Edge: ... + def FilletEdges(self) -> TopTools_SequenceOfShape: ... + def HasDescendant(self, E: TopoDS_Edge) -> bool: ... + @overload + def Init(self, F: TopoDS_Face) -> None: ... + @overload + def Init(self, RefFace: TopoDS_Face, ModFace: TopoDS_Face) -> None: ... + def IsModified(self, E: TopoDS_Edge) -> bool: ... + def Modified(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... + @overload + def ModifyChamfer( + self, + Chamfer: TopoDS_Edge, + E1: TopoDS_Edge, + E2: TopoDS_Edge, + D1: float, + D2: float, + ) -> TopoDS_Edge: ... + @overload + def ModifyChamfer( + self, Chamfer: TopoDS_Edge, E: TopoDS_Edge, D: float, Ang: float + ) -> TopoDS_Edge: ... + def ModifyFillet(self, Fillet: TopoDS_Edge, Radius: float) -> TopoDS_Edge: ... + def NbChamfer(self) -> int: ... + def NbCurves(self) -> int: ... + def NbFillet(self) -> int: ... + def NewEdges(self, I: int) -> TopTools_ListOfShape: ... + def RemoveChamfer(self, Chamfer: TopoDS_Edge) -> TopoDS_Vertex: ... + def RemoveFillet(self, Fillet: TopoDS_Edge) -> TopoDS_Vertex: ... + def Status(self) -> ChFi2d_ConstructionError: ... class BRepFilletAPI_MakeChamfer(BRepFilletAPI_LocalOperation): - def __init__(self, S: TopoDS_Shape) -> None: ... - def Abscissa(self, IC: int, V: TopoDS_Vertex) -> float: ... - @overload - def Add(self, E: TopoDS_Edge) -> None: ... - @overload - def Add(self, Dis: float, E: TopoDS_Edge) -> None: ... - @overload - def Add(self, Dis1: float, Dis2: float, E: TopoDS_Edge, F: TopoDS_Face) -> None: ... - def AddDA(self, Dis: float, Angle: float, E: TopoDS_Edge, F: TopoDS_Face) -> None: ... - def Build(self) -> None: ... - def Builder(self) -> TopOpeBRepBuild_HBuilder: ... - def Closed(self, IC: int) -> bool: ... - def ClosedAndTangent(self, IC: int) -> bool: ... - def Contour(self, E: TopoDS_Edge) -> int: ... - def Dists(self, IC: int) -> Tuple[float, float]: ... - def Edge(self, I: int, J: int) -> TopoDS_Edge: ... - def FirstVertex(self, IC: int) -> TopoDS_Vertex: ... - def Generated(self, EorV: TopoDS_Shape) -> TopTools_ListOfShape: ... - def GetDist(self, IC: int) -> float: ... - def GetDistAngle(self, IC: int) -> Tuple[float, float]: ... - def IsDeleted(self, F: TopoDS_Shape) -> bool: ... - def IsDistanceAngle(self, IC: int) -> bool: ... - def IsSymetric(self, IC: int) -> bool: ... - def IsTwoDistances(self, IC: int) -> bool: ... - def LastVertex(self, IC: int) -> TopoDS_Vertex: ... - def Length(self, IC: int) -> float: ... - def Modified(self, F: TopoDS_Shape) -> TopTools_ListOfShape: ... - def NbContours(self) -> int: ... - def NbEdges(self, I: int) -> int: ... - def NbSurf(self, IC: int) -> int: ... - def RelativeAbscissa(self, IC: int, V: TopoDS_Vertex) -> float: ... - def Remove(self, E: TopoDS_Edge) -> None: ... - def Reset(self) -> None: ... - def ResetContour(self, IC: int) -> None: ... - def Sect(self, IC: int, IS: int) -> ChFiDS_SecHArray1: ... - def SetDist(self, Dis: float, IC: int, F: TopoDS_Face) -> None: ... - def SetDistAngle(self, Dis: float, Angle: float, IC: int, F: TopoDS_Face) -> None: ... - def SetDists(self, Dis1: float, Dis2: float, IC: int, F: TopoDS_Face) -> None: ... - def SetMode(self, theMode: ChFiDS_ChamfMode) -> None: ... - def Simulate(self, IC: int) -> None: ... + def __init__(self, S: TopoDS_Shape) -> None: ... + def Abscissa(self, IC: int, V: TopoDS_Vertex) -> float: ... + @overload + def Add(self, E: TopoDS_Edge) -> None: ... + @overload + def Add(self, Dis: float, E: TopoDS_Edge) -> None: ... + @overload + def Add(self, Dis1: float, Dis2: float, E: TopoDS_Edge, F: TopoDS_Face) -> None: ... + def AddDA( + self, Dis: float, Angle: float, E: TopoDS_Edge, F: TopoDS_Face + ) -> None: ... + def Build( + self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange() + ) -> None: ... + def Builder(self) -> TopOpeBRepBuild_HBuilder: ... + def Closed(self, IC: int) -> bool: ... + def ClosedAndTangent(self, IC: int) -> bool: ... + def Contour(self, E: TopoDS_Edge) -> int: ... + def Dists(self, IC: int) -> Tuple[float, float]: ... + def Edge(self, I: int, J: int) -> TopoDS_Edge: ... + def FirstVertex(self, IC: int) -> TopoDS_Vertex: ... + def Generated(self, EorV: TopoDS_Shape) -> TopTools_ListOfShape: ... + def GetDist(self, IC: int) -> float: ... + def GetDistAngle(self, IC: int) -> Tuple[float, float]: ... + def IsDeleted(self, F: TopoDS_Shape) -> bool: ... + def IsDistanceAngle(self, IC: int) -> bool: ... + def IsSymetric(self, IC: int) -> bool: ... + def IsTwoDistances(self, IC: int) -> bool: ... + def LastVertex(self, IC: int) -> TopoDS_Vertex: ... + def Length(self, IC: int) -> float: ... + def Modified(self, F: TopoDS_Shape) -> TopTools_ListOfShape: ... + def NbContours(self) -> int: ... + def NbEdges(self, I: int) -> int: ... + def NbSurf(self, IC: int) -> int: ... + def RelativeAbscissa(self, IC: int, V: TopoDS_Vertex) -> float: ... + def Remove(self, E: TopoDS_Edge) -> None: ... + def Reset(self) -> None: ... + def ResetContour(self, IC: int) -> None: ... + def Sect(self, IC: int, IS: int) -> ChFiDS_SecHArray1: ... + def SetDist(self, Dis: float, IC: int, F: TopoDS_Face) -> None: ... + def SetDistAngle( + self, Dis: float, Angle: float, IC: int, F: TopoDS_Face + ) -> None: ... + def SetDists(self, Dis1: float, Dis2: float, IC: int, F: TopoDS_Face) -> None: ... + def SetMode(self, theMode: ChFiDS_ChamfMode) -> None: ... + def Simulate(self, IC: int) -> None: ... class BRepFilletAPI_MakeFillet(BRepFilletAPI_LocalOperation): - def __init__(self, S: TopoDS_Shape, FShape: Optional[ChFi3d_FilletShape] = ChFi3d_Rational) -> None: ... - def Abscissa(self, IC: int, V: TopoDS_Vertex) -> float: ... - @overload - def Add(self, E: TopoDS_Edge) -> None: ... - @overload - def Add(self, Radius: float, E: TopoDS_Edge) -> None: ... - @overload - def Add(self, R1: float, R2: float, E: TopoDS_Edge) -> None: ... - @overload - def Add(self, L: Law_Function, E: TopoDS_Edge) -> None: ... - @overload - def Add(self, UandR: TColgp_Array1OfPnt2d, E: TopoDS_Edge) -> None: ... - def BadShape(self) -> TopoDS_Shape: ... - def Build(self) -> None: ... - def Builder(self) -> TopOpeBRepBuild_HBuilder: ... - def Closed(self, IC: int) -> bool: ... - def ClosedAndTangent(self, IC: int) -> bool: ... - def ComputedSurface(self, IC: int, IS: int) -> Geom_Surface: ... - def Contour(self, E: TopoDS_Edge) -> int: ... - def Edge(self, I: int, J: int) -> TopoDS_Edge: ... - def FaultyContour(self, I: int) -> int: ... - def FaultyVertex(self, IV: int) -> TopoDS_Vertex: ... - def FirstVertex(self, IC: int) -> TopoDS_Vertex: ... - def Generated(self, EorV: TopoDS_Shape) -> TopTools_ListOfShape: ... - def GetBounds(self, IC: int, E: TopoDS_Edge) -> Tuple[bool, float, float]: ... - def GetFilletShape(self) -> ChFi3d_FilletShape: ... - def GetLaw(self, IC: int, E: TopoDS_Edge) -> Law_Function: ... - def HasResult(self) -> bool: ... - @overload - def IsConstant(self, IC: int) -> bool: ... - @overload - def IsConstant(self, IC: int, E: TopoDS_Edge) -> bool: ... - def IsDeleted(self, F: TopoDS_Shape) -> bool: ... - def LastVertex(self, IC: int) -> TopoDS_Vertex: ... - def Length(self, IC: int) -> float: ... - def Modified(self, F: TopoDS_Shape) -> TopTools_ListOfShape: ... - def NbComputedSurfaces(self, IC: int) -> int: ... - def NbContours(self) -> int: ... - def NbEdges(self, I: int) -> int: ... - def NbFaultyContours(self) -> int: ... - def NbFaultyVertices(self) -> int: ... - def NbSurf(self, IC: int) -> int: ... - def NbSurfaces(self) -> int: ... - def NewFaces(self, I: int) -> TopTools_ListOfShape: ... - @overload - def Radius(self, IC: int) -> float: ... - @overload - def Radius(self, IC: int, E: TopoDS_Edge) -> float: ... - def RelativeAbscissa(self, IC: int, V: TopoDS_Vertex) -> float: ... - def Remove(self, E: TopoDS_Edge) -> None: ... - def Reset(self) -> None: ... - def ResetContour(self, IC: int) -> None: ... - def Sect(self, IC: int, IS: int) -> ChFiDS_SecHArray1: ... - def SetContinuity(self, InternalContinuity: GeomAbs_Shape, AngularTolerance: float) -> None: ... - def SetFilletShape(self, FShape: ChFi3d_FilletShape) -> None: ... - def SetLaw(self, IC: int, E: TopoDS_Edge, L: Law_Function) -> None: ... - def SetParams(self, Tang: float, Tesp: float, T2d: float, TApp3d: float, TolApp2d: float, Fleche: float) -> None: ... - @overload - def SetRadius(self, Radius: float, IC: int, IinC: int) -> None: ... - @overload - def SetRadius(self, R1: float, R2: float, IC: int, IinC: int) -> None: ... - @overload - def SetRadius(self, L: Law_Function, IC: int, IinC: int) -> None: ... - @overload - def SetRadius(self, UandR: TColgp_Array1OfPnt2d, IC: int, IinC: int) -> None: ... - @overload - def SetRadius(self, Radius: float, IC: int, E: TopoDS_Edge) -> None: ... - @overload - def SetRadius(self, Radius: float, IC: int, V: TopoDS_Vertex) -> None: ... - def Simulate(self, IC: int) -> None: ... - def StripeStatus(self, IC: int) -> ChFiDS_ErrorStatus: ... + def __init__( + self, S: TopoDS_Shape, FShape: Optional[ChFi3d_FilletShape] = ChFi3d_Rational + ) -> None: ... + def Abscissa(self, IC: int, V: TopoDS_Vertex) -> float: ... + @overload + def Add(self, E: TopoDS_Edge) -> None: ... + @overload + def Add(self, Radius: float, E: TopoDS_Edge) -> None: ... + @overload + def Add(self, R1: float, R2: float, E: TopoDS_Edge) -> None: ... + @overload + def Add(self, L: Law_Function, E: TopoDS_Edge) -> None: ... + @overload + def Add(self, UandR: TColgp_Array1OfPnt2d, E: TopoDS_Edge) -> None: ... + def BadShape(self) -> TopoDS_Shape: ... + def Build( + self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange() + ) -> None: ... + def Builder(self) -> TopOpeBRepBuild_HBuilder: ... + def Closed(self, IC: int) -> bool: ... + def ClosedAndTangent(self, IC: int) -> bool: ... + def ComputedSurface(self, IC: int, IS: int) -> Geom_Surface: ... + def Contour(self, E: TopoDS_Edge) -> int: ... + def Edge(self, I: int, J: int) -> TopoDS_Edge: ... + def FaultyContour(self, I: int) -> int: ... + def FaultyVertex(self, IV: int) -> TopoDS_Vertex: ... + def FirstVertex(self, IC: int) -> TopoDS_Vertex: ... + def Generated(self, EorV: TopoDS_Shape) -> TopTools_ListOfShape: ... + def GetBounds(self, IC: int, E: TopoDS_Edge) -> Tuple[bool, float, float]: ... + def GetFilletShape(self) -> ChFi3d_FilletShape: ... + def GetLaw(self, IC: int, E: TopoDS_Edge) -> Law_Function: ... + def HasResult(self) -> bool: ... + @overload + def IsConstant(self, IC: int) -> bool: ... + @overload + def IsConstant(self, IC: int, E: TopoDS_Edge) -> bool: ... + def IsDeleted(self, F: TopoDS_Shape) -> bool: ... + def LastVertex(self, IC: int) -> TopoDS_Vertex: ... + def Length(self, IC: int) -> float: ... + def Modified(self, F: TopoDS_Shape) -> TopTools_ListOfShape: ... + def NbComputedSurfaces(self, IC: int) -> int: ... + def NbContours(self) -> int: ... + def NbEdges(self, I: int) -> int: ... + def NbFaultyContours(self) -> int: ... + def NbFaultyVertices(self) -> int: ... + def NbSurf(self, IC: int) -> int: ... + def NbSurfaces(self) -> int: ... + def NewFaces(self, I: int) -> TopTools_ListOfShape: ... + @overload + def Radius(self, IC: int) -> float: ... + @overload + def Radius(self, IC: int, E: TopoDS_Edge) -> float: ... + def RelativeAbscissa(self, IC: int, V: TopoDS_Vertex) -> float: ... + def Remove(self, E: TopoDS_Edge) -> None: ... + def Reset(self) -> None: ... + def ResetContour(self, IC: int) -> None: ... + def Sect(self, IC: int, IS: int) -> ChFiDS_SecHArray1: ... + def SetContinuity( + self, InternalContinuity: GeomAbs_Shape, AngularTolerance: float + ) -> None: ... + def SetFilletShape(self, FShape: ChFi3d_FilletShape) -> None: ... + def SetLaw(self, IC: int, E: TopoDS_Edge, L: Law_Function) -> None: ... + def SetParams( + self, + Tang: float, + Tesp: float, + T2d: float, + TApp3d: float, + TolApp2d: float, + Fleche: float, + ) -> None: ... + @overload + def SetRadius(self, Radius: float, IC: int, IinC: int) -> None: ... + @overload + def SetRadius(self, R1: float, R2: float, IC: int, IinC: int) -> None: ... + @overload + def SetRadius(self, L: Law_Function, IC: int, IinC: int) -> None: ... + @overload + def SetRadius(self, UandR: TColgp_Array1OfPnt2d, IC: int, IinC: int) -> None: ... + @overload + def SetRadius(self, Radius: float, IC: int, E: TopoDS_Edge) -> None: ... + @overload + def SetRadius(self, Radius: float, IC: int, V: TopoDS_Vertex) -> None: ... + def Simulate(self, IC: int) -> None: ... + def StripeStatus(self, IC: int) -> ChFiDS_ErrorStatus: ... # harray1 classes # harray2 classes # hsequence classes - diff --git a/src/SWIG_files/wrapper/BRepGProp.i b/src/SWIG_files/wrapper/BRepGProp.i index 12344423f..b29cbc9ac 100644 --- a/src/SWIG_files/wrapper/BRepGProp.i +++ b/src/SWIG_files/wrapper/BRepGProp.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPGPROPDOCSTRING "BRepGProp module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepgprop.html" +https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_brepgprop.html" %enddef %module (package="OCC.Core", docstring=BREPGPROPDOCSTRING) BRepGProp @@ -31,8 +31,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepgprop.html" %include ../common/CommonIncludes.i %include ../common/ExceptionCatcher.i %include ../common/FunctionTransformers.i +%include ../common/EnumTemplates.i %include ../common/Operators.i %include ../common/OccHandle.i +%include ../common/IOStream.i +%include ../common/ArrayMacros.i %{ @@ -83,7 +86,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -103,162 +106,161 @@ from OCC.Core.Exception import * %rename(brepgprop) BRepGProp; class BRepGProp { public: - /****************** LinearProperties ******************/ - /**** md5 signature: a063d5e771c7cceda8fc1f79fdc01d30 ****/ + /****** BRepGProp::LinearProperties ******/ + /****** md5 signature: a063d5e771c7cceda8fc1f79fdc01d30 ******/ %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. 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. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape LProps: GProp_GProps -SkipShared: bool,optional - default value is Standard_False -UseTriangulation: bool,optional - default value is Standard_False +SkipShared: bool (optional, default to Standard_False) +UseTriangulation: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +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. ") LinearProperties; static void LinearProperties(const TopoDS_Shape & S, GProp_GProps & LProps, const Standard_Boolean SkipShared = Standard_False, const Standard_Boolean UseTriangulation = Standard_False); - /****************** SurfaceProperties ******************/ - /**** md5 signature: de09a2b35153022287aa2a8431deaef5 ****/ + /****** BRepGProp::SurfaceProperties ******/ + /****** md5 signature: de09a2b35153022287aa2a8431deaef5 ******/ %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. 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. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape SProps: GProp_GProps -SkipShared: bool,optional - default value is Standard_False -UseTriangulation: bool,optional - default value is Standard_False +SkipShared: bool (optional, default to Standard_False) +UseTriangulation: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +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. ") SurfaceProperties; static void SurfaceProperties(const TopoDS_Shape & S, GProp_GProps & SProps, const Standard_Boolean SkipShared = Standard_False, const Standard_Boolean UseTriangulation = Standard_False); - /****************** SurfaceProperties ******************/ - /**** md5 signature: 98c472661263186b1d30e4379dd9db78 ****/ + /****** BRepGProp::SurfaceProperties ******/ + /****** md5 signature: 98c472661263186b1d30e4379dd9db78 ******/ %feature("compactdefaultargs") SurfaceProperties; - %feature("autodoc", "Updates with the shape , that contains its pricipal properties. the surface properties of all the faces in are computed. adaptive 2d gauss integration is used. parameter eps sets maximal relative error of computed mass (area) for each face. error is calculated as abs((m(i+1)-m(i))/m(i+1)), m(i+1) and m(i) are values for two successive steps of adaptive integration. method returns estimation of relative error reached for whole shape. warning: if eps > 0.001 algorithm performs non-adaptive integration. skipshared is a special flag, which allows taking in calculation shared topological entities or not for ex., if skipshared = true, faces, shared by two or more shells, are taken into calculation only once. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape SProps: GProp_GProps Eps: float -SkipShared: bool,optional - default value is Standard_False +SkipShared: bool (optional, default to Standard_False) -Returns +Return ------- float + +Description +----------- +Updates with the shape , that contains its principal properties. The surface properties of all the faces in are computed. Adaptive 2D Gauss integration is used. Parameter Eps sets maximal relative error of computed mass (area) for each face. Error is calculated as Abs((M(i+1)-M(i))/M(i+1)), M(i+1) and M(i) are values for two successive steps of adaptive integration. Method returns estimation of relative error reached for whole shape. WARNING: if Eps > 0.001 algorithm performs non-adaptive integration. SkipShared is a special flag, which allows taking in calculation shared topological entities or not For ex., if SkipShared = True, faces, shared by two or more shells, are taken into calculation only once. ") SurfaceProperties; static Standard_Real SurfaceProperties(const TopoDS_Shape & S, GProp_GProps & SProps, const Standard_Real Eps, const Standard_Boolean SkipShared = Standard_False); - /****************** VolumeProperties ******************/ - /**** md5 signature: 33909e093cf59347d7db0b4d010a93f5 ****/ + /****** BRepGProp::VolumeProperties ******/ + /****** md5 signature: 33909e093cf59347d7db0b4d010a93f5 ******/ %feature("compactdefaultargs") VolumeProperties; - %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. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape VProps: GProp_GProps -OnlyClosed: bool,optional - default value is Standard_False -SkipShared: bool,optional - default value is Standard_False -UseTriangulation: bool,optional - default value is Standard_False +OnlyClosed: bool (optional, default to Standard_False) +SkipShared: bool (optional, default to Standard_False) +UseTriangulation: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +//! 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. ") 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 ******************/ - /**** md5 signature: 04af0768aae13f233016a52d30fcfdbb ****/ + /****** BRepGProp::VolumeProperties ******/ + /****** md5 signature: 04af0768aae13f233016a52d30fcfdbb ******/ %feature("compactdefaultargs") VolumeProperties; - %feature("autodoc", "Updates with the shape , that contains its pricipal properties. the volume properties of all the forward and reversed faces in are computed. if onlyclosed is true then computed faces must belong to closed shells. adaptive 2d gauss integration is used. parameter eps sets maximal relative error of computed mass (volume) for each face. error is calculated as abs((m(i+1)-m(i))/m(i+1)), m(i+1) and m(i) are values for two successive steps of adaptive integration. method returns estimation of relative error reached for whole shape. warning: if eps > 0.001 algorithm performs non-adaptive integration. skipshared is a special flag, which allows taking in calculation shared topological entities or not. for ex., if skipshared = true, the volumes formed by the equal (the same tshape, location and orientation) faces are taken into calculation only once. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape VProps: GProp_GProps Eps: float -OnlyClosed: bool,optional - default value is Standard_False -SkipShared: bool,optional - default value is Standard_False +OnlyClosed: bool (optional, default to Standard_False) +SkipShared: bool (optional, default to Standard_False) -Returns +Return ------- float + +Description +----------- +Updates with the shape , that contains its principal properties. The volume properties of all the FORWARD and REVERSED faces in are computed. If OnlyClosed is True then computed faces must belong to closed Shells. Adaptive 2D Gauss integration is used. Parameter Eps sets maximal relative error of computed mass (volume) for each face. Error is calculated as Abs((M(i+1)-M(i))/M(i+1)), M(i+1) and M(i) are values for two successive steps of adaptive integration. Method returns estimation of relative error reached for whole shape. WARNING: if Eps > 0.001 algorithm performs non-adaptive integration. SkipShared is a special flag, which allows taking in calculation shared topological entities or not. For ex., if SkipShared = True, the volumes formed by the equal (the same TShape, location and orientation) faces are taken into calculation only once. ") 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 ******************/ - /**** md5 signature: 350eb5f7ad614101e55a9b0c0afcdb22 ****/ + /****** BRepGProp::VolumePropertiesGK ******/ + /****** md5 signature: 350eb5f7ad614101e55a9b0c0afcdb22 ******/ %feature("compactdefaultargs") VolumePropertiesGK; - %feature("autodoc", "Updates with the shape , that contains its pricipal properties. the volume properties of all the forward and reversed faces in are computed. if onlyclosed is true then computed faces must belong to closed shells. adaptive 2d gauss integration is used. parameter isusespan says if it is necessary to define spans on a face. this option has an effect only for bspline faces. parameter eps sets maximal relative error of computed property for each face. error is delivered by the adaptive gauss-kronrod method of integral computation that is used for properties computation. method returns estimation of relative error reached for whole shape. returns negative value if the computation is failed. skipshared is a special flag, which allows taking in calculation shared topological entities or not. for ex., if skipshared = true, the volumes formed by the equal (the same tshape, location and orientation) faces are taken into calculation only once. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape VProps: GProp_GProps -Eps: float,optional - default value is 0.001 -OnlyClosed: bool,optional - default value is Standard_False -IsUseSpan: bool,optional - default value is Standard_False -CGFlag: bool,optional - default value is Standard_False -IFlag: bool,optional - default value is Standard_False -SkipShared: bool,optional - default value is Standard_False - -Returns +Eps: float (optional, default to 0.001) +OnlyClosed: bool (optional, default to Standard_False) +IsUseSpan: bool (optional, default to Standard_False) +CGFlag: bool (optional, default to Standard_False) +IFlag: bool (optional, default to Standard_False) +SkipShared: bool (optional, default to Standard_False) + +Return ------- float + +Description +----------- +Updates with the shape , that contains its principal properties. The volume properties of all the FORWARD and REVERSED faces in are computed. If OnlyClosed is True then computed faces must belong to closed Shells. Adaptive 2D Gauss integration is used. Parameter IsUseSpan says if it is necessary to define spans on a face. This option has an effect only for BSpline faces. Parameter Eps sets maximal relative error of computed property for each face. Error is delivered by the adaptive Gauss-Kronrod method of integral computation that is used for properties computation. Method returns estimation of relative error reached for whole shape. Returns negative value if the computation is failed. SkipShared is a special flag, which allows taking in calculation shared topological entities or not. For ex., if SkipShared = True, the volumes formed by the equal (the same TShape, location and orientation) faces are taken into calculation only once. ") 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 ******************/ - /**** md5 signature: 79b57301830c4c31a5b43904d7943185 ****/ + /****** BRepGProp::VolumePropertiesGK ******/ + /****** md5 signature: 79b57301830c4c31a5b43904d7943185 ******/ %feature("compactdefaultargs") VolumePropertiesGK; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape VProps: GProp_GProps thePln: gp_Pln -Eps: float,optional - default value is 0.001 -OnlyClosed: bool,optional - default value is Standard_False -IsUseSpan: bool,optional - default value is Standard_False -CGFlag: bool,optional - default value is Standard_False -IFlag: bool,optional - default value is Standard_False -SkipShared: bool,optional - default value is Standard_False - -Returns +Eps: float (optional, default to 0.001) +OnlyClosed: bool (optional, default to Standard_False) +IsUseSpan: bool (optional, default to Standard_False) +CGFlag: bool (optional, default to Standard_False) +IFlag: bool (optional, default to Standard_False) +SkipShared: bool (optional, default to Standard_False) + +Return ------- float + +Description +----------- +No available documentation. ") 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); @@ -276,60 +278,71 @@ float *************************/ class BRepGProp_Cinert : public GProp_GProps { public: - /****************** BRepGProp_Cinert ******************/ - /**** md5 signature: ad62a1230096650569eb6d35241343b0 ****/ + /****** BRepGProp_Cinert::BRepGProp_Cinert ******/ + /****** md5 signature: ad62a1230096650569eb6d35241343b0 ******/ %feature("compactdefaultargs") BRepGProp_Cinert; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepGProp_Cinert; BRepGProp_Cinert(); - /****************** BRepGProp_Cinert ******************/ - /**** md5 signature: 40e8a04c04175d96e9078dec540e1699 ****/ + /****** BRepGProp_Cinert::BRepGProp_Cinert ******/ + /****** md5 signature: 40e8a04c04175d96e9078dec540e1699 ******/ %feature("compactdefaultargs") BRepGProp_Cinert; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: BRepAdaptor_Curve CLocation: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepGProp_Cinert; BRepGProp_Cinert(const BRepAdaptor_Curve & C, const gp_Pnt & CLocation); - /****************** Perform ******************/ - /**** md5 signature: b1a2ad101c61982e2656809aff72ca36 ****/ + /****** BRepGProp_Cinert::Perform ******/ + /****** md5 signature: b1a2ad101c61982e2656809aff72ca36 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: BRepAdaptor_Curve -Returns +Return ------- None + +Description +----------- +No available documentation. ") Perform; void Perform(const BRepAdaptor_Curve & C); - /****************** SetLocation ******************/ - /**** md5 signature: 5ed92b27e15802cdea187cf4e43b346a ****/ + /****** BRepGProp_Cinert::SetLocation ******/ + /****** md5 signature: 5ed92b27e15802cdea187cf4e43b346a ******/ %feature("compactdefaultargs") SetLocation; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- CLocation: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetLocation; void SetLocation(const gp_Pnt & CLocation); @@ -347,88 +360,104 @@ None *************************/ class BRepGProp_Domain { public: - /****************** BRepGProp_Domain ******************/ - /**** md5 signature: 7986cd2cf79fcfafe2e1c074b6ca854d ****/ + /****** BRepGProp_Domain::BRepGProp_Domain ******/ + /****** md5 signature: 7986cd2cf79fcfafe2e1c074b6ca854d ******/ %feature("compactdefaultargs") BRepGProp_Domain; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BRepGProp_Domain; BRepGProp_Domain(); - /****************** BRepGProp_Domain ******************/ - /**** md5 signature: 3c6bdfefe3d3a9f2a2d3d47449b74a3b ****/ + /****** BRepGProp_Domain::BRepGProp_Domain ******/ + /****** md5 signature: 3c6bdfefe3d3a9f2a2d3d47449b74a3b ******/ %feature("compactdefaultargs") BRepGProp_Domain; - %feature("autodoc", "Constructor. initializes the domain with the face. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face -Returns +Return ------- None + +Description +----------- +Constructor. Initializes the domain with the face. ") BRepGProp_Domain; BRepGProp_Domain(const TopoDS_Face & F); - /****************** Init ******************/ - /**** md5 signature: a8dfaa68079e743e08190fe58d950a9a ****/ + /****** BRepGProp_Domain::Init ******/ + /****** md5 signature: a8dfaa68079e743e08190fe58d950a9a ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "Initializes the domain with the face. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face -Returns +Return ------- None + +Description +----------- +Initializes the domain with the face. ") Init; void Init(const TopoDS_Face & F); - /****************** Init ******************/ - /**** md5 signature: 0de93ef32c53d091768788dca0e281fd ****/ + /****** BRepGProp_Domain::Init ******/ + /****** md5 signature: 0de93ef32c53d091768788dca0e281fd ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "Initializes the exploration with the face already set. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Initializes the exploration with the face already set. ") Init; void Init(); - /****************** More ******************/ - /**** md5 signature: f2144011648ae849666b28430a27a0ea ****/ + /****** BRepGProp_Domain::More ******/ + /****** md5 signature: f2144011648ae849666b28430a27a0ea ******/ %feature("compactdefaultargs") More; - %feature("autodoc", "Returns true if there is another arc of curve in the list. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns True if there is another arc of curve in the list. ") More; Standard_Boolean More(); - /****************** Next ******************/ - /**** md5 signature: f35c0df5f1d7c877986db18081404532 ****/ + /****** BRepGProp_Domain::Next ******/ + /****** md5 signature: f35c0df5f1d7c877986db18081404532 ******/ %feature("compactdefaultargs") Next; - %feature("autodoc", "Sets the index of the arc iterator to the next arc of curve. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Sets the index of the arc iterator to the next arc of curve. ") Next; void Next(); - /****************** Value ******************/ - /**** md5 signature: 908df29e834e8aebb610870c9cea1651 ****/ + /****** BRepGProp_Domain::Value ******/ + /****** md5 signature: 908df29e834e8aebb610870c9cea1651 ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns the current edge. - -Returns + %feature("autodoc", "Return ------- TopoDS_Edge + +Description +----------- +Returns the current edge. ") Value; const TopoDS_Edge Value(); @@ -446,11 +475,10 @@ TopoDS_Edge ***************************/ class BRepGProp_EdgeTool { public: - /****************** D1 ******************/ - /**** md5 signature: 5556be7cd9882922dfddd95e3b9c9ecf ****/ + /****** BRepGProp_EdgeTool::D1 ******/ + /****** md5 signature: 5556be7cd9882922dfddd95e3b9c9ecf ******/ %feature("compactdefaultargs") D1; - %feature("autodoc", "Returns the point of parameter u and the first derivative at this point. - + %feature("autodoc", " Parameters ---------- C: BRepAdaptor_Curve @@ -458,103 +486,125 @@ U: float P: gp_Pnt V1: gp_Vec -Returns +Return ------- None + +Description +----------- +Returns the point of parameter U and the first derivative at this point. ") D1; static void D1(const BRepAdaptor_Curve & C, const Standard_Real U, gp_Pnt & P, gp_Vec & V1); - /****************** FirstParameter ******************/ - /**** md5 signature: 1757779ac38cb6ed7a7fc48dc2248f69 ****/ + /****** BRepGProp_EdgeTool::FirstParameter ******/ + /****** md5 signature: 1757779ac38cb6ed7a7fc48dc2248f69 ******/ %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. - + %feature("autodoc", " Parameters ---------- C: BRepAdaptor_Curve -Returns +Return ------- float + +Description +----------- +Returns the parametric value of the start point of the curve. The curve is oriented from the start point to the end point. ") FirstParameter; static Standard_Real FirstParameter(const BRepAdaptor_Curve & C); - /****************** IntegrationOrder ******************/ - /**** md5 signature: 7daceb790afa0c813f14f4153aca3dd9 ****/ + /****** BRepGProp_EdgeTool::IntegrationOrder ******/ + /****** md5 signature: 7daceb790afa0c813f14f4153aca3dd9 ******/ %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. - + %feature("autodoc", " Parameters ---------- C: BRepAdaptor_Curve -Returns +Return ------- int + +Description +----------- +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. ") IntegrationOrder; static Standard_Integer IntegrationOrder(const BRepAdaptor_Curve & C); - /****************** Intervals ******************/ - /**** md5 signature: f429463d75cd548af36c429f480bc438 ****/ + /****** BRepGProp_EdgeTool::Intervals ******/ + /****** md5 signature: f429463d75cd548af36c429f480bc438 ******/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). - + %feature("autodoc", " Parameters ---------- C: BRepAdaptor_Curve T: TColStd_Array1OfReal S: GeomAbs_Shape -Returns +Return ------- None + +Description +----------- +Stores in the parameters bounding the intervals of continuity . //! The array must provide enough room to accommodate for the parameters. i.e. T.Length() > NbIntervals(). ") Intervals; static void Intervals(const BRepAdaptor_Curve & C, TColStd_Array1OfReal & T, const GeomAbs_Shape S); - /****************** LastParameter ******************/ - /**** md5 signature: e697bafb03d659fa87fd20dbec7f562b ****/ + /****** BRepGProp_EdgeTool::LastParameter ******/ + /****** md5 signature: e697bafb03d659fa87fd20dbec7f562b ******/ %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. - + %feature("autodoc", " Parameters ---------- C: BRepAdaptor_Curve -Returns +Return ------- float + +Description +----------- +Returns the parametric value of the end point of the curve. The curve is oriented from the start point to the end point. ") LastParameter; static Standard_Real LastParameter(const BRepAdaptor_Curve & C); - /****************** NbIntervals ******************/ - /**** md5 signature: c4391d4034556532fdf723807037192a ****/ + /****** BRepGProp_EdgeTool::NbIntervals ******/ + /****** md5 signature: c4391d4034556532fdf723807037192a ******/ %feature("compactdefaultargs") NbIntervals; - %feature("autodoc", "Returns the number of intervals for continuity . may be one if continuity(me) >= . - + %feature("autodoc", " Parameters ---------- C: BRepAdaptor_Curve S: GeomAbs_Shape -Returns +Return ------- int + +Description +----------- +Returns the number of intervals for continuity . May be one if Continuity(me) >= . ") NbIntervals; static Standard_Integer NbIntervals(const BRepAdaptor_Curve & C, const GeomAbs_Shape S); - /****************** Value ******************/ - /**** md5 signature: 23b56266cc1e7b195b61ae726893d32f ****/ + /****** BRepGProp_EdgeTool::Value ******/ + /****** md5 signature: 23b56266cc1e7b195b61ae726893d32f ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns the point of parameter u on the loaded curve. - + %feature("autodoc", " Parameters ---------- C: BRepAdaptor_Curve U: float -Returns +Return ------- gp_Pnt + +Description +----------- +Returns the point of parameter U on the loaded curve. ") Value; static gp_Pnt Value(const BRepAdaptor_Curve & C, const Standard_Real U); @@ -572,254 +622,296 @@ gp_Pnt ***********************/ class BRepGProp_Face { public: - /****************** BRepGProp_Face ******************/ - /**** md5 signature: bc73a426a381f81aa03dcc1823778dd2 ****/ + /****** BRepGProp_Face::BRepGProp_Face ******/ + /****** md5 signature: bc73a426a381f81aa03dcc1823778dd2 ******/ %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", " Parameters ---------- -IsUseSpan: bool,optional - default value is Standard_False +IsUseSpan: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +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. ") BRepGProp_Face; BRepGProp_Face(const Standard_Boolean IsUseSpan = Standard_False); - /****************** BRepGProp_Face ******************/ - /**** md5 signature: 85e85a5b8783b4d37ef3421a4493b8bf ****/ + /****** BRepGProp_Face::BRepGProp_Face ******/ + /****** md5 signature: 85e85a5b8783b4d37ef3421a4493b8bf ******/ %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. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face -IsUseSpan: bool,optional - default value is Standard_False +IsUseSpan: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +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; BRepGProp_Face(const TopoDS_Face & F, const Standard_Boolean IsUseSpan = Standard_False); - /****************** Bounds ******************/ - /**** md5 signature: f30c35e741e636532fbff37cccb741f7 ****/ + /****** BRepGProp_Face::Bounds ******/ + /****** md5 signature: f30c35e741e636532fbff37cccb741f7 ******/ %feature("compactdefaultargs") Bounds; - %feature("autodoc", "Returns the parametric bounds of the face. - + %feature("autodoc", " Parameters ---------- -Returns +Return ------- U1: float U2: float V1: float V2: float + +Description +----------- +Returns the parametric bounds of the Face. ") Bounds; void Bounds(Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** D12d ******************/ - /**** md5 signature: 93778e4127f5c48e81f47d36c5a6f892 ****/ + /****** BRepGProp_Face::D12d ******/ + /****** md5 signature: 93778e4127f5c48e81f47d36c5a6f892 ******/ %feature("compactdefaultargs") D12d; - %feature("autodoc", "Returns the point of parameter u and the first derivative at this point of a boundary curve. - + %feature("autodoc", " Parameters ---------- U: float P: gp_Pnt2d V1: gp_Vec2d -Returns +Return ------- None + +Description +----------- +Returns the point of parameter U and the first derivative at this point of a boundary curve. ") D12d; void D12d(const Standard_Real U, gp_Pnt2d & P, gp_Vec2d & V1); - /****************** FirstParameter ******************/ - /**** md5 signature: 4ccedbaad83be904f510b4760c75f69c ****/ + /****** BRepGProp_Face::FirstParameter ******/ + /****** md5 signature: 4ccedbaad83be904f510b4760c75f69c ******/ %feature("compactdefaultargs") FirstParameter; - %feature("autodoc", "Returns the parametric value of the start point of the current arc of curve. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the parametric value of the start point of the current arc of curve. ") FirstParameter; Standard_Real FirstParameter(); - /****************** GetFace ******************/ - /**** md5 signature: 24f8605987955c9a8fdd14219215e9a9 ****/ + /****** BRepGProp_Face::GetFace ******/ + /****** md5 signature: 24f8605987955c9a8fdd14219215e9a9 ******/ %feature("compactdefaultargs") GetFace; - %feature("autodoc", "Returns the topods face. - -Returns + %feature("autodoc", "Return ------- TopoDS_Face + +Description +----------- +Returns the TopoDS face. ") GetFace; const TopoDS_Face GetFace(); - /****************** GetTKnots ******************/ - /**** md5 signature: 4b2a2cee8551d61043503150f4f516ad ****/ + /****** BRepGProp_Face::GetTKnots ******/ + /****** md5 signature: 4b2a2cee8551d61043503150f4f516ad ******/ %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. - + %feature("autodoc", " Parameters ---------- theTMin: float theTMax: float theTKnots: TColStd_HArray1OfReal -Returns +Return ------- None + +Description +----------- +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. ") GetTKnots; void GetTKnots(const Standard_Real theTMin, const Standard_Real theTMax, opencascade::handle & theTKnots); - /****************** GetUKnots ******************/ - /**** md5 signature: 2b537a9010295a9da0b784859dd3d427 ****/ + /****** BRepGProp_Face::GetUKnots ******/ + /****** md5 signature: 2b537a9010295a9da0b784859dd3d427 ******/ %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. - + %feature("autodoc", " Parameters ---------- theUMin: float theUMax: float theUKnots: TColStd_HArray1OfReal -Returns +Return ------- None + +Description +----------- +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. ") GetUKnots; void GetUKnots(const Standard_Real theUMin, const Standard_Real theUMax, opencascade::handle & theUKnots); - /****************** IntegrationOrder ******************/ - /**** md5 signature: 9d941348f9e90be3833675d84fa7e21c ****/ + /****** BRepGProp_Face::IntegrationOrder ******/ + /****** md5 signature: 9d941348f9e90be3833675d84fa7e21c ******/ %feature("compactdefaultargs") IntegrationOrder; - %feature("autodoc", "Returns the number of points required to do the integration along the parameter of curve. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns the number of points required to do the integration along the parameter of curve. ") IntegrationOrder; Standard_Integer IntegrationOrder(); - /****************** LIntOrder ******************/ - /**** md5 signature: 582e14b0c3c2657678510ec5664dbbb0 ****/ + /****** BRepGProp_Face::LIntOrder ******/ + /****** md5 signature: 582e14b0c3c2657678510ec5664dbbb0 ******/ %feature("compactdefaultargs") LIntOrder; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Eps: float -Returns +Return ------- int + +Description +----------- +No available documentation. ") LIntOrder; Standard_Integer LIntOrder(const Standard_Real Eps); - /****************** LIntSubs ******************/ - /**** md5 signature: 16c426ad00e717ef57398a45ebfc358f ****/ + /****** BRepGProp_Face::LIntSubs ******/ + /****** md5 signature: 16c426ad00e717ef57398a45ebfc358f ******/ %feature("compactdefaultargs") LIntSubs; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") LIntSubs; Standard_Integer LIntSubs(); - /****************** LKnots ******************/ - /**** md5 signature: 07b04b3724b0b2fbe94f59381afd67f8 ****/ + /****** BRepGProp_Face::LKnots ******/ + /****** md5 signature: 07b04b3724b0b2fbe94f59381afd67f8 ******/ %feature("compactdefaultargs") LKnots; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Knots: TColStd_Array1OfReal -Returns +Return ------- None + +Description +----------- +No available documentation. ") LKnots; void LKnots(TColStd_Array1OfReal & Knots); - /****************** LastParameter ******************/ - /**** md5 signature: 7cdf630921ee47ad365a5a6bafd4b46e ****/ + /****** BRepGProp_Face::LastParameter ******/ + /****** md5 signature: 7cdf630921ee47ad365a5a6bafd4b46e ******/ %feature("compactdefaultargs") LastParameter; - %feature("autodoc", "Returns the parametric value of the end point of the current arc of curve. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the parametric value of the end point of the current arc of curve. ") LastParameter; Standard_Real LastParameter(); - /****************** Load ******************/ - /**** md5 signature: 1d17d2edcb9829efe827b1a9573fcbcc ****/ + /****** BRepGProp_Face::Load ******/ + /****** md5 signature: 1d17d2edcb9829efe827b1a9573fcbcc ******/ %feature("compactdefaultargs") Load; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face -Returns +Return ------- None + +Description +----------- +No available documentation. ") Load; void Load(const TopoDS_Face & F); - /****************** Load ******************/ - /**** md5 signature: a134b46b97307c985b809bb67244f2bb ****/ + /****** BRepGProp_Face::Load ******/ + /****** md5 signature: a134b46b97307c985b809bb67244f2bb ******/ %feature("compactdefaultargs") Load; - %feature("autodoc", "Loading the boundary arc. returns false if edge has no p-curve. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge -Returns +Return ------- bool + +Description +----------- +Loading the boundary arc. Returns False if edge has no P-Curve. ") Load; bool Load(const TopoDS_Edge & E); - /****************** Load ******************/ - /**** md5 signature: ffd6e58ac396ac9b7d7e4df3c0deaa4f ****/ + /****** BRepGProp_Face::Load ******/ + /****** md5 signature: ffd6e58ac396ac9b7d7e4df3c0deaa4f ******/ %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. - + %feature("autodoc", " Parameters ---------- IsFirstParam: bool theIsoType: GeomAbs_IsoType -Returns +Return ------- None + +Description +----------- +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. ") Load; void Load(const Standard_Boolean IsFirstParam, const GeomAbs_IsoType theIsoType); - /****************** NaturalRestriction ******************/ - /**** md5 signature: 6d92e56f229bd8624f08e276baf74517 ****/ + /****** BRepGProp_Face::NaturalRestriction ******/ + /****** md5 signature: 6d92e56f229bd8624f08e276baf74517 ******/ %feature("compactdefaultargs") NaturalRestriction; - %feature("autodoc", "Returns standard_true if the face is not trimmed. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns Standard_True if the face is not trimmed. ") NaturalRestriction; Standard_Boolean NaturalRestriction(); - /****************** Normal ******************/ - /**** md5 signature: 9745e642c531c846aa947dd9b97ad423 ****/ + /****** BRepGProp_Face::Normal ******/ + /****** md5 signature: 9745e642c531c846aa947dd9b97ad423 ******/ %feature("compactdefaultargs") Normal; - %feature("autodoc", "Computes the point of parameter u, v on the face and the normal to the face at this point. - + %feature("autodoc", " Parameters ---------- U: float @@ -827,113 +919,137 @@ V: float P: gp_Pnt VNor: gp_Vec -Returns +Return ------- None + +Description +----------- +Computes the point of parameter U, V on the Face and the normal to the face at this point. ") Normal; void Normal(const Standard_Real U, const Standard_Real V, gp_Pnt & P, gp_Vec & VNor); - /****************** SIntOrder ******************/ - /**** md5 signature: 36292a47be4c367eb9dd3ca5f7273d94 ****/ + /****** BRepGProp_Face::SIntOrder ******/ + /****** md5 signature: 36292a47be4c367eb9dd3ca5f7273d94 ******/ %feature("compactdefaultargs") SIntOrder; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Eps: float -Returns +Return ------- int + +Description +----------- +No available documentation. ") SIntOrder; Standard_Integer SIntOrder(const Standard_Real Eps); - /****************** SUIntSubs ******************/ - /**** md5 signature: bc04bb78232627d9fab2105fd2ec9a4e ****/ + /****** BRepGProp_Face::SUIntSubs ******/ + /****** md5 signature: bc04bb78232627d9fab2105fd2ec9a4e ******/ %feature("compactdefaultargs") SUIntSubs; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") SUIntSubs; Standard_Integer SUIntSubs(); - /****************** SVIntSubs ******************/ - /**** md5 signature: f41bbeaf2802182d7d4f7ed8d1b07918 ****/ + /****** BRepGProp_Face::SVIntSubs ******/ + /****** md5 signature: f41bbeaf2802182d7d4f7ed8d1b07918 ******/ %feature("compactdefaultargs") SVIntSubs; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") SVIntSubs; Standard_Integer SVIntSubs(); - /****************** UIntegrationOrder ******************/ - /**** md5 signature: 4cad12b0505b12eb0d45277d3a20b18a ****/ + /****** BRepGProp_Face::UIntegrationOrder ******/ + /****** md5 signature: 4cad12b0505b12eb0d45277d3a20b18a ******/ %feature("compactdefaultargs") UIntegrationOrder; - %feature("autodoc", "Returns the number of points required to do the integration in the u parametric direction with a good accuracy. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +Returns the number of points required to do the integration in the U parametric direction with a good accuracy. ") UIntegrationOrder; Standard_Integer UIntegrationOrder(); - /****************** UKnots ******************/ - /**** md5 signature: 7bdd1f4e1d034b241c5401d5734966da ****/ + /****** BRepGProp_Face::UKnots ******/ + /****** md5 signature: 7bdd1f4e1d034b241c5401d5734966da ******/ %feature("compactdefaultargs") UKnots; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Knots: TColStd_Array1OfReal -Returns +Return ------- None + +Description +----------- +No available documentation. ") UKnots; void UKnots(TColStd_Array1OfReal & Knots); - /****************** VIntegrationOrder ******************/ - /**** md5 signature: 66cfa3ec86dcabc0824b4974d0d2ad4b ****/ + /****** BRepGProp_Face::VIntegrationOrder ******/ + /****** md5 signature: 66cfa3ec86dcabc0824b4974d0d2ad4b ******/ %feature("compactdefaultargs") VIntegrationOrder; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +No available documentation. ") VIntegrationOrder; Standard_Integer VIntegrationOrder(); - /****************** VKnots ******************/ - /**** md5 signature: 10545876365ec66fe3480d5137c1d815 ****/ + /****** BRepGProp_Face::VKnots ******/ + /****** md5 signature: 10545876365ec66fe3480d5137c1d815 ******/ %feature("compactdefaultargs") VKnots; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- Knots: TColStd_Array1OfReal -Returns +Return ------- None + +Description +----------- +No available documentation. ") VKnots; void VKnots(TColStd_Array1OfReal & Knots); - /****************** Value2d ******************/ - /**** md5 signature: 1a87b688d0ec3774db81418d79b79935 ****/ + /****** BRepGProp_Face::Value2d ******/ + /****** md5 signature: 1a87b688d0ec3774db81418d79b79935 ******/ %feature("compactdefaultargs") Value2d; - %feature("autodoc", "Returns the value of the boundary curve of the face. - + %feature("autodoc", " Parameters ---------- U: float -Returns +Return ------- gp_Pnt2d + +Description +----------- +Returns the value of the boundary curve of the face. ") Value2d; gp_Pnt2d Value2d(const Standard_Real U); @@ -960,7 +1076,7 @@ enum BRepGProp_GaussType { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class BRepGProp_GaussType(IntEnum): @@ -971,18 +1087,21 @@ Sinert = BRepGProp_GaussType.Sinert }; /* end python proxy for enums */ - /****************** BRepGProp_Gauss ******************/ - /**** md5 signature: 4283597bc19e7ea4dfb5f08dc8fe2240 ****/ + /****** BRepGProp_Gauss::BRepGProp_Gauss ******/ + /****** md5 signature: 4283597bc19e7ea4dfb5f08dc8fe2240 ******/ %feature("compactdefaultargs") BRepGProp_Gauss; - %feature("autodoc", "Constructor. - + %feature("autodoc", " Parameters ---------- theType: BRepGProp_GaussType -Returns +Return ------- None + +Description +----------- +Constructor. ") BRepGProp_Gauss; BRepGProp_Gauss(BRepGProp_GaussType theType); @@ -1004,60 +1123,71 @@ None *****************************/ class BRepGProp_MeshCinert : public GProp_GProps { public: - /****************** BRepGProp_MeshCinert ******************/ - /**** md5 signature: 4168f86123ec390b74beda6034b261f9 ****/ + /****** BRepGProp_MeshCinert::BRepGProp_MeshCinert ******/ + /****** md5 signature: 4168f86123ec390b74beda6034b261f9 ******/ %feature("compactdefaultargs") BRepGProp_MeshCinert; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepGProp_MeshCinert; BRepGProp_MeshCinert(); - /****************** Perform ******************/ - /**** md5 signature: 46c6f3603ea512468eace177c45e5d6b ****/ + /****** BRepGProp_MeshCinert::Perform ******/ + /****** md5 signature: 46c6f3603ea512468eace177c45e5d6b ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Computes the global properties of of polylines represented by set of points. - + %feature("autodoc", " Parameters ---------- theNodes: TColgp_Array1OfPnt -Returns +Return ------- None + +Description +----------- +Computes the global properties of of polylines represented by set of points. ") Perform; void Perform(const TColgp_Array1OfPnt & theNodes); - /****************** PreparePolygon ******************/ - /**** md5 signature: 192567ee3ab19fdaa0db914f60c7fde9 ****/ + /****** BRepGProp_MeshCinert::PreparePolygon ******/ + /****** md5 signature: 192567ee3ab19fdaa0db914f60c7fde9 ******/ %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. - + %feature("autodoc", " Parameters ---------- theE: TopoDS_Edge thePolyg: TColgp_HArray1OfPnt -Returns +Return ------- None + +Description +----------- +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. ") PreparePolygon; static void PreparePolygon(const TopoDS_Edge & theE, opencascade::handle & thePolyg); - /****************** SetLocation ******************/ - /**** md5 signature: 5ed92b27e15802cdea187cf4e43b346a ****/ + /****** BRepGProp_MeshCinert::SetLocation ******/ + /****** md5 signature: 5ed92b27e15802cdea187cf4e43b346a ******/ %feature("compactdefaultargs") SetLocation; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- CLocation: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetLocation; void SetLocation(const gp_Pnt & CLocation); @@ -1078,72 +1208,82 @@ None *************************/ class BRepGProp_Sinert : public GProp_GProps { public: - /****************** BRepGProp_Sinert ******************/ - /**** md5 signature: 30a453e8dacad302931072d4b523dd24 ****/ + /****** BRepGProp_Sinert::BRepGProp_Sinert ******/ + /****** md5 signature: 30a453e8dacad302931072d4b523dd24 ******/ %feature("compactdefaultargs") BRepGProp_Sinert; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepGProp_Sinert; BRepGProp_Sinert(); - /****************** BRepGProp_Sinert ******************/ - /**** md5 signature: b82fc330e2f8068a37939fb7a1d44b4e ****/ + /****** BRepGProp_Sinert::BRepGProp_Sinert ******/ + /****** md5 signature: b82fc330e2f8068a37939fb7a1d44b4e ******/ %feature("compactdefaultargs") BRepGProp_Sinert; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: BRepGProp_Face SLocation: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepGProp_Sinert; BRepGProp_Sinert(const BRepGProp_Face & S, const gp_Pnt & SLocation); - /****************** BRepGProp_Sinert ******************/ - /**** md5 signature: 10b645adb9e1d14109d3264defc257f1 ****/ + /****** BRepGProp_Sinert::BRepGProp_Sinert ******/ + /****** md5 signature: 10b645adb9e1d14109d3264defc257f1 ******/ %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). - + %feature("autodoc", " Parameters ---------- S: BRepGProp_Face D: BRepGProp_Domain SLocation: gp_Pnt -Returns +Return ------- None + +Description +----------- +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; BRepGProp_Sinert(BRepGProp_Face & S, BRepGProp_Domain & D, const gp_Pnt & SLocation); - /****************** BRepGProp_Sinert ******************/ - /**** md5 signature: 74ce3ffece3e8a1edd918b0dd45da546 ****/ + /****** BRepGProp_Sinert::BRepGProp_Sinert ******/ + /****** md5 signature: 74ce3ffece3e8a1edd918b0dd45da546 ******/ %feature("compactdefaultargs") BRepGProp_Sinert; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: BRepGProp_Face SLocation: gp_Pnt Eps: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepGProp_Sinert; BRepGProp_Sinert(BRepGProp_Face & S, const gp_Pnt & SLocation, const Standard_Real Eps); - /****************** BRepGProp_Sinert ******************/ - /**** md5 signature: a08ec0516fd40a598790191badfd6a24 ****/ + /****** BRepGProp_Sinert::BRepGProp_Sinert ******/ + /****** md5 signature: a08ec0516fd40a598790191badfd6a24 ******/ %feature("compactdefaultargs") BRepGProp_Sinert; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: BRepGProp_Face @@ -1151,99 +1291,120 @@ D: BRepGProp_Domain SLocation: gp_Pnt Eps: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepGProp_Sinert; BRepGProp_Sinert(BRepGProp_Face & S, BRepGProp_Domain & D, const gp_Pnt & SLocation, const Standard_Real Eps); - /****************** GetEpsilon ******************/ - /**** md5 signature: 70053d03d9c27b2171a20b75ca67dc00 ****/ + /****** BRepGProp_Sinert::GetEpsilon ******/ + /****** md5 signature: 70053d03d9c27b2171a20b75ca67dc00 ******/ %feature("compactdefaultargs") GetEpsilon; - %feature("autodoc", "If previously used method contained eps parameter get actual relative error of the computation, else return 1.0. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +If previously used method contained Eps parameter get actual relative error of the computation, else return 1.0. ") GetEpsilon; Standard_Real GetEpsilon(); - /****************** Perform ******************/ - /**** md5 signature: 287766d0387e8a92bd6fd7efea57304a ****/ + /****** BRepGProp_Sinert::Perform ******/ + /****** md5 signature: 287766d0387e8a92bd6fd7efea57304a ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: BRepGProp_Face -Returns +Return ------- None + +Description +----------- +No available documentation. ") Perform; void Perform(const BRepGProp_Face & S); - /****************** Perform ******************/ - /**** md5 signature: 2a40161e06229ca1640ab336b74b37cd ****/ + /****** BRepGProp_Sinert::Perform ******/ + /****** md5 signature: 2a40161e06229ca1640ab336b74b37cd ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: BRepGProp_Face D: BRepGProp_Domain -Returns +Return ------- None + +Description +----------- +No available documentation. ") Perform; void Perform(BRepGProp_Face & S, BRepGProp_Domain & D); - /****************** Perform ******************/ - /**** md5 signature: 9f27bb8deb5f9df42810f2abd51c6026 ****/ + /****** BRepGProp_Sinert::Perform ******/ + /****** md5 signature: 9f27bb8deb5f9df42810f2abd51c6026 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: BRepGProp_Face Eps: float -Returns +Return ------- float + +Description +----------- +No available documentation. ") Perform; Standard_Real Perform(BRepGProp_Face & S, const Standard_Real Eps); - /****************** Perform ******************/ - /**** md5 signature: a7c77e80349f9dd440598643ec9aae4a ****/ + /****** BRepGProp_Sinert::Perform ******/ + /****** md5 signature: a7c77e80349f9dd440598643ec9aae4a ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: BRepGProp_Face D: BRepGProp_Domain Eps: float -Returns +Return ------- float + +Description +----------- +No available documentation. ") Perform; Standard_Real Perform(BRepGProp_Face & S, BRepGProp_Domain & D, const Standard_Real Eps); - /****************** SetLocation ******************/ - /**** md5 signature: 21f84731f7ae4a935b732f676863a0d9 ****/ + /****** BRepGProp_Sinert::SetLocation ******/ + /****** md5 signature: 21f84731f7ae4a935b732f676863a0d9 ******/ %feature("compactdefaultargs") SetLocation; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- SLocation: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetLocation; void SetLocation(const gp_Pnt & SLocation); @@ -1261,127 +1422,150 @@ None ****************************/ class BRepGProp_TFunction : public math_Function { public: - /****************** BRepGProp_TFunction ******************/ - /**** md5 signature: 6fb8eac28a2b05c26eb62cc235a75bda ****/ + /****** BRepGProp_TFunction::BRepGProp_TFunction ******/ + /****** md5 signature: 660069516fa3db7a124db5fda3b09b0e ******/ %feature("compactdefaultargs") BRepGProp_TFunction; - %feature("autodoc", "Constructor. initializes the function with the face, the location point, the flag isbypoint, the coefficients thecoeff that have different meaning depending on the value of isbypoint. the last two parameters are theumin - the lower bound of the inner integral. this value is fixed for any integral. and the value of tolerance of inner integral computation. if isbypoint is equal to standard_true, the number of the coefficients is equal to 3 and they represent x, y and z coordinates (thecoeff[0], thecoeff[1] and thecoeff[2] correspondingly) of the shift if the inertia is computed with respect to the point different then the location. if isbypoint is equal to standard_false, the number of the coefficients is 4 and they represent the compbination of plane parameters and shift values. - + %feature("autodoc", " Parameters ---------- theSurface: BRepGProp_Face theVertex: gp_Pnt IsByPoint: bool -theCoeffs: Standard_Address +theCoeffs: float * theUMin: float theTolerance: float -Returns +Return ------- None + +Description +----------- +Constructor. Initializes the function with the face, the location point, the flag IsByPoint, the coefficients theCoeff that have different meaning depending on the value of IsByPoint. The last two parameters are theUMin - the lower bound of the inner integral. This value is fixed for any integral. And the value of tolerance of inner integral computation. If IsByPoint is equal to Standard_True, the number of the coefficients is equal to 3 and they represent X, Y and Z coordinates (theCoeff[0], theCoeff[1] and theCoeff[2] correspondingly) of the shift if the inertia is computed with respect to the point different then the location. If IsByPoint is equal to Standard_False, the number of the coefficients is 4 and they represent the combination of plane parameters and shift values. ") BRepGProp_TFunction; - BRepGProp_TFunction(const BRepGProp_Face & theSurface, const gp_Pnt & theVertex, const Standard_Boolean IsByPoint, const Standard_Address theCoeffs, const Standard_Real theUMin, const Standard_Real theTolerance); + BRepGProp_TFunction(const BRepGProp_Face & theSurface, const gp_Pnt & theVertex, const Standard_Boolean IsByPoint, const Standard_Real * theCoeffs, const Standard_Real theUMin, const Standard_Real theTolerance); - /****************** AbsolutError ******************/ - /**** md5 signature: 12eadedd827c6f2cfdee466e4014e7d9 ****/ + /****** BRepGProp_TFunction::AbsolutError ******/ + /****** md5 signature: 12eadedd827c6f2cfdee466e4014e7d9 ******/ %feature("compactdefaultargs") AbsolutError; - %feature("autodoc", "Returns the absolut reached error of all values computation since the last call of getstatenumber method. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the absolut reached error of all values computation since the last call of GetStateNumber method. ") AbsolutError; Standard_Real AbsolutError(); - /****************** ErrorReached ******************/ - /**** md5 signature: a07cf8273fa0f4cf4aae707ac80776ec ****/ + /****** BRepGProp_TFunction::ErrorReached ******/ + /****** md5 signature: a07cf8273fa0f4cf4aae707ac80776ec ******/ %feature("compactdefaultargs") ErrorReached; - %feature("autodoc", "Returns the relative reached error of all values computation since the last call of getstatenumber method. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the relative reached error of all values computation since the last call of GetStateNumber method. ") ErrorReached; Standard_Real ErrorReached(); - /****************** GetStateNumber ******************/ - /**** md5 signature: 49c44bd66dd4ec2381671c72ebd88158 ****/ + /****** BRepGProp_TFunction::GetStateNumber ******/ + /****** md5 signature: 49c44bd66dd4ec2381671c72ebd88158 ******/ %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. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +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. ") GetStateNumber; virtual Standard_Integer GetStateNumber(); - /****************** Init ******************/ - /**** md5 signature: 0de93ef32c53d091768788dca0e281fd ****/ + /****** BRepGProp_TFunction::Init ******/ + /****** md5 signature: 0de93ef32c53d091768788dca0e281fd ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") Init; void Init(); - /****************** SetNbKronrodPoints ******************/ - /**** md5 signature: 2388e1a76b29ff88e9dd10198003e6b8 ****/ + /****** BRepGProp_TFunction::SetNbKronrodPoints ******/ + /****** md5 signature: 2388e1a76b29ff88e9dd10198003e6b8 ******/ %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. - + %feature("autodoc", " Parameters ---------- theNbPoints: int -Returns +Return ------- None + +Description +----------- +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; void SetNbKronrodPoints(const Standard_Integer theNbPoints); - /****************** SetTolerance ******************/ - /**** md5 signature: cbe94a7292bcea72785e79a4eafde5ea ****/ + /****** BRepGProp_TFunction::SetTolerance ******/ + /****** md5 signature: cbe94a7292bcea72785e79a4eafde5ea ******/ %feature("compactdefaultargs") SetTolerance; - %feature("autodoc", "Setting the tolerance for inner integration. - + %feature("autodoc", " Parameters ---------- aTol: float -Returns +Return ------- None + +Description +----------- +Setting the tolerance for inner integration. ") SetTolerance; void SetTolerance(const Standard_Real aTol); - /****************** SetValueType ******************/ - /**** md5 signature: e50d5f7e32a617f0c0c33c6617861546 ****/ + /****** BRepGProp_TFunction::SetValueType ******/ + /****** md5 signature: e50d5f7e32a617f0c0c33c6617861546 ******/ %feature("compactdefaultargs") SetValueType; - %feature("autodoc", "Setting the type of the value to be returned. this parameter is directly passed to the ufunction. - + %feature("autodoc", " Parameters ---------- aType: GProp_ValueType -Returns +Return ------- None + +Description +----------- +Setting the type of the value to be returned. This parameter is directly passed to the UFunction. ") SetValueType; void SetValueType(const GProp_ValueType aType); - /****************** Value ******************/ - /**** md5 signature: 15617dca721c4472bfb7ee7933f04bce ****/ + /****** BRepGProp_TFunction::Value ******/ + /****** md5 signature: 15617dca721c4472bfb7ee7933f04bce ******/ %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", " Parameters ---------- X: float -Returns +Return ------- F: float + +Description +----------- +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. ") Value; virtual Standard_Boolean Value(const Standard_Real X, Standard_Real &OutValue); @@ -1399,66 +1583,78 @@ F: float ****************************/ class BRepGProp_UFunction : public math_Function { public: - /****************** BRepGProp_UFunction ******************/ - /**** md5 signature: b338266c4100743d61bda90c43090930 ****/ + /****** BRepGProp_UFunction::BRepGProp_UFunction ******/ + /****** md5 signature: f53c91a3d00c6205c8aeda4203c886d7 ******/ %feature("compactdefaultargs") BRepGProp_UFunction; - %feature("autodoc", "Constructor. initializes the function with the face, the location point, the flag isbypoint and the coefficients thecoeff that have different meaning depending on the value of isbypoint. if isbypoint is equal to standard_true, the number of the coefficients is equal to 3 and they represent x, y and z coordinates (thecoeff[0], thecoeff[1] and thecoeff[2] correspondingly) of the shift, if the inertia is computed with respect to the point different then the location. if isbypoint is equal to standard_false, the number of the coefficients is 4 and they represent the combination of plane parameters and shift values. - + %feature("autodoc", " Parameters ---------- theSurface: BRepGProp_Face theVertex: gp_Pnt IsByPoint: bool -theCoeffs: Standard_Address +theCoeffs: float * -Returns +Return ------- None + +Description +----------- +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. ") BRepGProp_UFunction; - BRepGProp_UFunction(const BRepGProp_Face & theSurface, const gp_Pnt & theVertex, const Standard_Boolean IsByPoint, const Standard_Address theCoeffs); + BRepGProp_UFunction(const BRepGProp_Face & theSurface, const gp_Pnt & theVertex, const Standard_Boolean IsByPoint, const Standard_Real * theCoeffs); - /****************** SetVParam ******************/ - /**** md5 signature: 65557cc70db507c03b9e102c112375ed ****/ + /****** BRepGProp_UFunction::SetVParam ******/ + /****** md5 signature: 65557cc70db507c03b9e102c112375ed ******/ %feature("compactdefaultargs") SetVParam; - %feature("autodoc", "Setting the v parameter that is constant during the integral computation. - + %feature("autodoc", " Parameters ---------- theVParam: float -Returns +Return ------- None + +Description +----------- +Setting the V parameter that is constant during the integral computation. ") SetVParam; void SetVParam(const Standard_Real theVParam); - /****************** SetValueType ******************/ - /**** md5 signature: f560b8c5b982b75a196f946bfdc77fcb ****/ + /****** BRepGProp_UFunction::SetValueType ******/ + /****** md5 signature: f560b8c5b982b75a196f946bfdc77fcb ******/ %feature("compactdefaultargs") SetValueType; - %feature("autodoc", "Setting the type of the value to be returned. - + %feature("autodoc", " Parameters ---------- theType: GProp_ValueType -Returns +Return ------- None + +Description +----------- +Setting the type of the value to be returned. ") SetValueType; void SetValueType(const GProp_ValueType theType); - /****************** Value ******************/ - /**** md5 signature: 15617dca721c4472bfb7ee7933f04bce ****/ + /****** BRepGProp_UFunction::Value ******/ + /****** md5 signature: 15617dca721c4472bfb7ee7933f04bce ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns a value of the function. - + %feature("autodoc", " Parameters ---------- X: float -Returns +Return ------- F: float + +Description +----------- +Returns a value of the function. ") Value; virtual Standard_Boolean Value(const Standard_Real X, Standard_Real &OutValue); @@ -1476,72 +1672,82 @@ F: float *************************/ class BRepGProp_Vinert : public GProp_GProps { public: - /****************** BRepGProp_Vinert ******************/ - /**** md5 signature: 4d03c85dfc1aa38496efd1cd67dfb041 ****/ + /****** BRepGProp_Vinert::BRepGProp_Vinert ******/ + /****** md5 signature: 4d03c85dfc1aa38496efd1cd67dfb041 ******/ %feature("compactdefaultargs") BRepGProp_Vinert; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepGProp_Vinert; BRepGProp_Vinert(); - /****************** BRepGProp_Vinert ******************/ - /**** md5 signature: 1414a74187b929e713ff870c0e037149 ****/ + /****** BRepGProp_Vinert::BRepGProp_Vinert ******/ + /****** md5 signature: 1414a74187b929e713ff870c0e037149 ******/ %feature("compactdefaultargs") BRepGProp_Vinert; - %feature("autodoc", "Computes the global properties of a region of 3d space delimited with the surface and the point vlocation. s can be closed the method is quick and its precision is enough for many cases of analytical surfaces. non-adaptive 2d gauss integration with predefined numbers of gauss points is used. numbers of points depend on types of surfaces and curves. errror of the computation is not calculated. - + %feature("autodoc", " Parameters ---------- S: BRepGProp_Face VLocation: gp_Pnt -Returns +Return ------- None + +Description +----------- +Computes the global properties of a region of 3D space delimited with the surface and the point VLocation. S can be closed The method is quick and its precision is enough for many cases of analytical surfaces. Non-adaptive 2D Gauss integration with predefined numbers of Gauss points is used. Numbers of points depend on types of surfaces and curves. Error of the computation is not calculated. ") BRepGProp_Vinert; BRepGProp_Vinert(const BRepGProp_Face & S, const gp_Pnt & VLocation); - /****************** BRepGProp_Vinert ******************/ - /**** md5 signature: 13a616469cff283670358262ff91dcf9 ****/ + /****** BRepGProp_Vinert::BRepGProp_Vinert ******/ + /****** md5 signature: 13a616469cff283670358262ff91dcf9 ******/ %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. - + %feature("autodoc", " Parameters ---------- S: BRepGProp_Face VLocation: gp_Pnt Eps: float -Returns +Return ------- None + +Description +----------- +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; BRepGProp_Vinert(BRepGProp_Face & S, const gp_Pnt & VLocation, const Standard_Real Eps); - /****************** BRepGProp_Vinert ******************/ - /**** md5 signature: 5c8c9fce1d68c04b255a76edd33c2c5d ****/ + /****** BRepGProp_Vinert::BRepGProp_Vinert ******/ + /****** md5 signature: 5c8c9fce1d68c04b255a76edd33c2c5d ******/ %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. - + %feature("autodoc", " Parameters ---------- S: BRepGProp_Face O: gp_Pnt VLocation: gp_Pnt -Returns +Return ------- None + +Description +----------- +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; BRepGProp_Vinert(const BRepGProp_Face & S, const gp_Pnt & O, const gp_Pnt & VLocation); - /****************** BRepGProp_Vinert ******************/ - /**** md5 signature: df85730af0638f29c218a6be2ab7aecc ****/ + /****** BRepGProp_Vinert::BRepGProp_Vinert ******/ + /****** md5 signature: df85730af0638f29c218a6be2ab7aecc ******/ %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. - + %feature("autodoc", " Parameters ---------- S: BRepGProp_Face @@ -1549,34 +1755,40 @@ O: gp_Pnt VLocation: gp_Pnt Eps: float -Returns +Return ------- None + +Description +----------- +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; BRepGProp_Vinert(BRepGProp_Face & S, const gp_Pnt & O, const gp_Pnt & VLocation, const Standard_Real Eps); - /****************** BRepGProp_Vinert ******************/ - /**** md5 signature: 7f48df0c9e63f4ccad77f35c8ead2e18 ****/ + /****** BRepGProp_Vinert::BRepGProp_Vinert ******/ + /****** md5 signature: 7f48df0c9e63f4ccad77f35c8ead2e18 ******/ %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. - + %feature("autodoc", " Parameters ---------- S: BRepGProp_Face Pl: gp_Pln VLocation: gp_Pnt -Returns +Return ------- None + +Description +----------- +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; BRepGProp_Vinert(const BRepGProp_Face & S, const gp_Pln & Pl, const gp_Pnt & VLocation); - /****************** BRepGProp_Vinert ******************/ - /**** md5 signature: c7ffc413b9031d515f8311697c9bc6b3 ****/ + /****** BRepGProp_Vinert::BRepGProp_Vinert ******/ + /****** md5 signature: c7ffc413b9031d515f8311697c9bc6b3 ******/ %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. - + %feature("autodoc", " Parameters ---------- S: BRepGProp_Face @@ -1584,34 +1796,40 @@ Pl: gp_Pln VLocation: gp_Pnt Eps: float -Returns +Return ------- None + +Description +----------- +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; BRepGProp_Vinert(BRepGProp_Face & S, const gp_Pln & Pl, const gp_Pnt & VLocation, const Standard_Real Eps); - /****************** BRepGProp_Vinert ******************/ - /**** md5 signature: bd59787cdd3504146a2e59074662acc7 ****/ + /****** BRepGProp_Vinert::BRepGProp_Vinert ******/ + /****** md5 signature: bd59787cdd3504146a2e59074662acc7 ******/ %feature("compactdefaultargs") BRepGProp_Vinert; - %feature("autodoc", "Computes the global properties of a region of 3d space delimited with the surface and the point vlocation. s can be closed the method is quick and its precision is enough for many cases of analytical surfaces. non-adaptive 2d gauss integration with predefined numbers of gauss points is used. numbers of points depend on types of surfaces and curves. errror of the computation is not calculated. - + %feature("autodoc", " Parameters ---------- S: BRepGProp_Face D: BRepGProp_Domain VLocation: gp_Pnt -Returns +Return ------- None + +Description +----------- +Computes the global properties of a region of 3D space delimited with the surface and the point VLocation. S can be closed The method is quick and its precision is enough for many cases of analytical surfaces. Non-adaptive 2D Gauss integration with predefined numbers of Gauss points is used. Numbers of points depend on types of surfaces and curves. Error of the computation is not calculated. ") BRepGProp_Vinert; BRepGProp_Vinert(BRepGProp_Face & S, BRepGProp_Domain & D, const gp_Pnt & VLocation); - /****************** BRepGProp_Vinert ******************/ - /**** md5 signature: d280d056ab61286ffa7e329635e8adc4 ****/ + /****** BRepGProp_Vinert::BRepGProp_Vinert ******/ + /****** md5 signature: d280d056ab61286ffa7e329635e8adc4 ******/ %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. - + %feature("autodoc", " Parameters ---------- S: BRepGProp_Face @@ -1619,17 +1837,20 @@ D: BRepGProp_Domain VLocation: gp_Pnt Eps: float -Returns +Return ------- None + +Description +----------- +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; BRepGProp_Vinert(BRepGProp_Face & S, BRepGProp_Domain & D, const gp_Pnt & VLocation, const Standard_Real Eps); - /****************** BRepGProp_Vinert ******************/ - /**** md5 signature: f3a262fb64cb9de88ea729596d32dfa8 ****/ + /****** BRepGProp_Vinert::BRepGProp_Vinert ******/ + /****** md5 signature: f3a262fb64cb9de88ea729596d32dfa8 ******/ %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. - + %feature("autodoc", " Parameters ---------- S: BRepGProp_Face @@ -1637,17 +1858,20 @@ D: BRepGProp_Domain O: gp_Pnt VLocation: gp_Pnt -Returns +Return ------- None + +Description +----------- +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; BRepGProp_Vinert(BRepGProp_Face & S, BRepGProp_Domain & D, const gp_Pnt & O, const gp_Pnt & VLocation); - /****************** BRepGProp_Vinert ******************/ - /**** md5 signature: 0fb97e514eb1305a85cb6f202d0ca710 ****/ + /****** BRepGProp_Vinert::BRepGProp_Vinert ******/ + /****** md5 signature: 0fb97e514eb1305a85cb6f202d0ca710 ******/ %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. - + %feature("autodoc", " Parameters ---------- S: BRepGProp_Face @@ -1656,17 +1880,20 @@ O: gp_Pnt VLocation: gp_Pnt Eps: float -Returns +Return ------- None + +Description +----------- +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; BRepGProp_Vinert(BRepGProp_Face & S, BRepGProp_Domain & D, const gp_Pnt & O, const gp_Pnt & VLocation, const Standard_Real Eps); - /****************** BRepGProp_Vinert ******************/ - /**** md5 signature: 4d4d2889b5f4db0e01ce23afa5532b52 ****/ + /****** BRepGProp_Vinert::BRepGProp_Vinert ******/ + /****** md5 signature: 4d4d2889b5f4db0e01ce23afa5532b52 ******/ %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. - + %feature("autodoc", " Parameters ---------- S: BRepGProp_Face @@ -1674,17 +1901,20 @@ D: BRepGProp_Domain Pl: gp_Pln VLocation: gp_Pnt -Returns +Return ------- None + +Description +----------- +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; BRepGProp_Vinert(BRepGProp_Face & S, BRepGProp_Domain & D, const gp_Pln & Pl, const gp_Pnt & VLocation); - /****************** BRepGProp_Vinert ******************/ - /**** md5 signature: f45f2cd07c17c648e1699a791da66461 ****/ + /****** BRepGProp_Vinert::BRepGProp_Vinert ******/ + /****** md5 signature: f45f2cd07c17c648e1699a791da66461 ******/ %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. - + %feature("autodoc", " Parameters ---------- S: BRepGProp_Face @@ -1693,175 +1923,207 @@ Pl: gp_Pln VLocation: gp_Pnt Eps: float -Returns +Return ------- None + +Description +----------- +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; BRepGProp_Vinert(BRepGProp_Face & S, BRepGProp_Domain & D, const gp_Pln & Pl, const gp_Pnt & VLocation, const Standard_Real Eps); - /****************** GetEpsilon ******************/ - /**** md5 signature: 70053d03d9c27b2171a20b75ca67dc00 ****/ + /****** BRepGProp_Vinert::GetEpsilon ******/ + /****** md5 signature: 70053d03d9c27b2171a20b75ca67dc00 ******/ %feature("compactdefaultargs") GetEpsilon; - %feature("autodoc", "If previously used methods containe eps parameter gets actual relative error of the computation, else returns 1.0. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +If previously used methods containe Eps parameter gets actual relative error of the computation, else returns 1.0. ") GetEpsilon; Standard_Real GetEpsilon(); - /****************** Perform ******************/ - /**** md5 signature: 287766d0387e8a92bd6fd7efea57304a ****/ + /****** BRepGProp_Vinert::Perform ******/ + /****** md5 signature: 287766d0387e8a92bd6fd7efea57304a ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: BRepGProp_Face -Returns +Return ------- None + +Description +----------- +No available documentation. ") Perform; void Perform(const BRepGProp_Face & S); - /****************** Perform ******************/ - /**** md5 signature: 9f27bb8deb5f9df42810f2abd51c6026 ****/ + /****** BRepGProp_Vinert::Perform ******/ + /****** md5 signature: 9f27bb8deb5f9df42810f2abd51c6026 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: BRepGProp_Face Eps: float -Returns +Return ------- float + +Description +----------- +No available documentation. ") Perform; Standard_Real Perform(BRepGProp_Face & S, const Standard_Real Eps); - /****************** Perform ******************/ - /**** md5 signature: e894591640d6f840f3181c73a396ac73 ****/ + /****** BRepGProp_Vinert::Perform ******/ + /****** md5 signature: e894591640d6f840f3181c73a396ac73 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: BRepGProp_Face O: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") Perform; void Perform(const BRepGProp_Face & S, const gp_Pnt & O); - /****************** Perform ******************/ - /**** md5 signature: 3557a52fecea80979634ca485366f4ce ****/ + /****** BRepGProp_Vinert::Perform ******/ + /****** md5 signature: 3557a52fecea80979634ca485366f4ce ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: BRepGProp_Face O: gp_Pnt Eps: float -Returns +Return ------- float + +Description +----------- +No available documentation. ") Perform; Standard_Real Perform(BRepGProp_Face & S, const gp_Pnt & O, const Standard_Real Eps); - /****************** Perform ******************/ - /**** md5 signature: 00372c2d834eb3c1d978ec6bfb1f027f ****/ + /****** BRepGProp_Vinert::Perform ******/ + /****** md5 signature: 00372c2d834eb3c1d978ec6bfb1f027f ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: BRepGProp_Face Pl: gp_Pln -Returns +Return ------- None + +Description +----------- +No available documentation. ") Perform; void Perform(const BRepGProp_Face & S, const gp_Pln & Pl); - /****************** Perform ******************/ - /**** md5 signature: 648e9947f4302031d12bd0a17b5fbe0f ****/ + /****** BRepGProp_Vinert::Perform ******/ + /****** md5 signature: 648e9947f4302031d12bd0a17b5fbe0f ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: BRepGProp_Face Pl: gp_Pln Eps: float -Returns +Return ------- float + +Description +----------- +No available documentation. ") Perform; Standard_Real Perform(BRepGProp_Face & S, const gp_Pln & Pl, const Standard_Real Eps); - /****************** Perform ******************/ - /**** md5 signature: 2a40161e06229ca1640ab336b74b37cd ****/ + /****** BRepGProp_Vinert::Perform ******/ + /****** md5 signature: 2a40161e06229ca1640ab336b74b37cd ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: BRepGProp_Face D: BRepGProp_Domain -Returns +Return ------- None + +Description +----------- +No available documentation. ") Perform; void Perform(BRepGProp_Face & S, BRepGProp_Domain & D); - /****************** Perform ******************/ - /**** md5 signature: a7c77e80349f9dd440598643ec9aae4a ****/ + /****** BRepGProp_Vinert::Perform ******/ + /****** md5 signature: a7c77e80349f9dd440598643ec9aae4a ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: BRepGProp_Face D: BRepGProp_Domain Eps: float -Returns +Return ------- float + +Description +----------- +No available documentation. ") Perform; Standard_Real Perform(BRepGProp_Face & S, BRepGProp_Domain & D, const Standard_Real Eps); - /****************** Perform ******************/ - /**** md5 signature: 51bda88f4b6e7d3e15825d1a104b74c9 ****/ + /****** BRepGProp_Vinert::Perform ******/ + /****** md5 signature: 51bda88f4b6e7d3e15825d1a104b74c9 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: BRepGProp_Face D: BRepGProp_Domain O: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") Perform; void Perform(BRepGProp_Face & S, BRepGProp_Domain & D, const gp_Pnt & O); - /****************** Perform ******************/ - /**** md5 signature: 933e01d497a5ae64a162e32137b481fb ****/ + /****** BRepGProp_Vinert::Perform ******/ + /****** md5 signature: 933e01d497a5ae64a162e32137b481fb ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: BRepGProp_Face @@ -1869,34 +2131,40 @@ D: BRepGProp_Domain O: gp_Pnt Eps: float -Returns +Return ------- float + +Description +----------- +No available documentation. ") Perform; Standard_Real Perform(BRepGProp_Face & S, BRepGProp_Domain & D, const gp_Pnt & O, const Standard_Real Eps); - /****************** Perform ******************/ - /**** md5 signature: 751b530e05960276e54a63742e074cc1 ****/ + /****** BRepGProp_Vinert::Perform ******/ + /****** md5 signature: 751b530e05960276e54a63742e074cc1 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: BRepGProp_Face D: BRepGProp_Domain Pl: gp_Pln -Returns +Return ------- None + +Description +----------- +No available documentation. ") Perform; void Perform(BRepGProp_Face & S, BRepGProp_Domain & D, const gp_Pln & Pl); - /****************** Perform ******************/ - /**** md5 signature: 1acf8519ff5d34431bd836b7af497b0a ****/ + /****** BRepGProp_Vinert::Perform ******/ + /****** md5 signature: 1acf8519ff5d34431bd836b7af497b0a ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: BRepGProp_Face @@ -1904,24 +2172,31 @@ D: BRepGProp_Domain Pl: gp_Pln Eps: float -Returns +Return ------- float + +Description +----------- +No available documentation. ") Perform; Standard_Real Perform(BRepGProp_Face & S, BRepGProp_Domain & D, const gp_Pln & Pl, const Standard_Real Eps); - /****************** SetLocation ******************/ - /**** md5 signature: 13648852ef1c389d29559ab743f5f9e2 ****/ + /****** BRepGProp_Vinert::SetLocation ******/ + /****** md5 signature: 13648852ef1c389d29559ab743f5f9e2 ******/ %feature("compactdefaultargs") SetLocation; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- VLocation: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") SetLocation; void SetLocation(const gp_Pnt & VLocation); @@ -1939,312 +2214,319 @@ None ***************************/ class BRepGProp_VinertGK : public GProp_GProps { public: - /****************** BRepGProp_VinertGK ******************/ - /**** md5 signature: 2b4ec0003b8c134168e48daf41971b72 ****/ + /****** BRepGProp_VinertGK::BRepGProp_VinertGK ******/ + /****** md5 signature: 2b4ec0003b8c134168e48daf41971b72 ******/ %feature("compactdefaultargs") BRepGProp_VinertGK; - %feature("autodoc", "Empty constructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor. ") BRepGProp_VinertGK; BRepGProp_VinertGK(); - /****************** BRepGProp_VinertGK ******************/ - /**** md5 signature: 8c95cbab67ec10c708d18427bfedfaaa ****/ + /****** BRepGProp_VinertGK::BRepGProp_VinertGK ******/ + /****** md5 signature: 8c95cbab67ec10c708d18427bfedfaaa ******/ %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. - + %feature("autodoc", " Parameters ---------- theSurface: BRepGProp_Face theLocation: gp_Pnt -theTolerance: float,optional - default value is 0.001 -theCGFlag: bool,optional - default value is Standard_False -theIFlag: bool,optional - default value is Standard_False +theTolerance: float (optional, default to 0.001) +theCGFlag: bool (optional, default to Standard_False) +theIFlag: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +Constructor. Computes the global properties of a region of 3D space delimited with the naturally restricted surface and the point VLocation. ") 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); - /****************** BRepGProp_VinertGK ******************/ - /**** md5 signature: 8d65b075f239d772811f6e7cd57131e1 ****/ + /****** BRepGProp_VinertGK::BRepGProp_VinertGK ******/ + /****** md5 signature: 8d65b075f239d772811f6e7cd57131e1 ******/ %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. - + %feature("autodoc", " Parameters ---------- theSurface: BRepGProp_Face thePoint: gp_Pnt theLocation: gp_Pnt -theTolerance: float,optional - default value is 0.001 -theCGFlag: bool,optional - default value is Standard_False -theIFlag: bool,optional - default value is Standard_False +theTolerance: float (optional, default to 0.001) +theCGFlag: bool (optional, default to Standard_False) +theIFlag: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +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; 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); - /****************** BRepGProp_VinertGK ******************/ - /**** md5 signature: 92192b1666bb702876fdd35bd985cf10 ****/ + /****** BRepGProp_VinertGK::BRepGProp_VinertGK ******/ + /****** md5 signature: 92192b1666bb702876fdd35bd985cf10 ******/ %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. - + %feature("autodoc", " Parameters ---------- theSurface: BRepGProp_Face theDomain: BRepGProp_Domain theLocation: gp_Pnt -theTolerance: float,optional - default value is 0.001 -theCGFlag: bool,optional - default value is Standard_False -theIFlag: bool,optional - default value is Standard_False +theTolerance: float (optional, default to 0.001) +theCGFlag: bool (optional, default to Standard_False) +theIFlag: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +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; 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); - /****************** BRepGProp_VinertGK ******************/ - /**** md5 signature: e075379e488804335fc45904b5e86b1d ****/ + /****** BRepGProp_VinertGK::BRepGProp_VinertGK ******/ + /****** md5 signature: e075379e488804335fc45904b5e86b1d ******/ %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. - + %feature("autodoc", " Parameters ---------- theSurface: BRepGProp_Face theDomain: BRepGProp_Domain thePoint: gp_Pnt theLocation: gp_Pnt -theTolerance: float,optional - default value is 0.001 -theCGFlag: bool,optional - default value is Standard_False -theIFlag: bool,optional - default value is Standard_False +theTolerance: float (optional, default to 0.001) +theCGFlag: bool (optional, default to Standard_False) +theIFlag: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +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; 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); - /****************** BRepGProp_VinertGK ******************/ - /**** md5 signature: 6867b4fa1afaa445bfbfbaf96b8446eb ****/ + /****** BRepGProp_VinertGK::BRepGProp_VinertGK ******/ + /****** md5 signature: 6867b4fa1afaa445bfbfbaf96b8446eb ******/ %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. - + %feature("autodoc", " Parameters ---------- theSurface: BRepGProp_Face thePlane: gp_Pln theLocation: gp_Pnt -theTolerance: float,optional - default value is 0.001 -theCGFlag: bool,optional - default value is Standard_False -theIFlag: bool,optional - default value is Standard_False +theTolerance: float (optional, default to 0.001) +theCGFlag: bool (optional, default to Standard_False) +theIFlag: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +Constructor. Computes the global properties of a region of 3D space delimited with the naturally restricted surface and the plane. ") 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); - /****************** BRepGProp_VinertGK ******************/ - /**** md5 signature: 648a50ab357462085f5dfb351879b539 ****/ + /****** BRepGProp_VinertGK::BRepGProp_VinertGK ******/ + /****** md5 signature: 648a50ab357462085f5dfb351879b539 ******/ %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. - + %feature("autodoc", " Parameters ---------- theSurface: BRepGProp_Face theDomain: BRepGProp_Domain thePlane: gp_Pln theLocation: gp_Pnt -theTolerance: float,optional - default value is 0.001 -theCGFlag: bool,optional - default value is Standard_False -theIFlag: bool,optional - default value is Standard_False +theTolerance: float (optional, default to 0.001) +theCGFlag: bool (optional, default to Standard_False) +theIFlag: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +Constructor. Computes the global properties of a region of 3D space delimited with the surface bounded by the domain and the plane. ") 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); - /****************** GetErrorReached ******************/ - /**** md5 signature: 41776af72d3d1a9138d3f5f33aa13fdd ****/ + /****** BRepGProp_VinertGK::GetErrorReached ******/ + /****** md5 signature: 41776af72d3d1a9138d3f5f33aa13fdd ******/ %feature("compactdefaultargs") GetErrorReached; - %feature("autodoc", "Returns the relative reached computation error. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the relative reached computation error. ") GetErrorReached; Standard_Real GetErrorReached(); - /****************** Perform ******************/ - /**** md5 signature: d570fe8ddab01258ba30702a3483ec6f ****/ + /****** BRepGProp_VinertGK::Perform ******/ + /****** md5 signature: d570fe8ddab01258ba30702a3483ec6f ******/ %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. - + %feature("autodoc", " Parameters ---------- theSurface: BRepGProp_Face -theTolerance: float,optional - default value is 0.001 -theCGFlag: bool,optional - default value is Standard_False -theIFlag: bool,optional - default value is Standard_False +theTolerance: float (optional, default to 0.001) +theCGFlag: bool (optional, default to Standard_False) +theIFlag: bool (optional, default to Standard_False) -Returns +Return ------- float + +Description +----------- +Computes the global properties of a region of 3D space delimited with the naturally restricted surface and the point VLocation. ") 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); - /****************** Perform ******************/ - /**** md5 signature: b4af8c130cc28d347e5136c66efe2e2b ****/ + /****** BRepGProp_VinertGK::Perform ******/ + /****** md5 signature: b4af8c130cc28d347e5136c66efe2e2b ******/ %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. - + %feature("autodoc", " Parameters ---------- theSurface: BRepGProp_Face thePoint: gp_Pnt -theTolerance: float,optional - default value is 0.001 -theCGFlag: bool,optional - default value is Standard_False -theIFlag: bool,optional - default value is Standard_False +theTolerance: float (optional, default to 0.001) +theCGFlag: bool (optional, default to Standard_False) +theIFlag: bool (optional, default to Standard_False) -Returns +Return ------- float + +Description +----------- +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; 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); - /****************** Perform ******************/ - /**** md5 signature: b40034b46e1dbb701f4a74e5c0f074dc ****/ + /****** BRepGProp_VinertGK::Perform ******/ + /****** md5 signature: b40034b46e1dbb701f4a74e5c0f074dc ******/ %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. - + %feature("autodoc", " Parameters ---------- theSurface: BRepGProp_Face theDomain: BRepGProp_Domain -theTolerance: float,optional - default value is 0.001 -theCGFlag: bool,optional - default value is Standard_False -theIFlag: bool,optional - default value is Standard_False +theTolerance: float (optional, default to 0.001) +theCGFlag: bool (optional, default to Standard_False) +theIFlag: bool (optional, default to Standard_False) -Returns +Return ------- float + +Description +----------- +Computes the global properties of a region of 3D space delimited with the surface bounded by the domain and the point VLocation. ") 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); - /****************** Perform ******************/ - /**** md5 signature: e2709a20d48918e9084b81ceae2afbce ****/ + /****** BRepGProp_VinertGK::Perform ******/ + /****** md5 signature: e2709a20d48918e9084b81ceae2afbce ******/ %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. - + %feature("autodoc", " Parameters ---------- theSurface: BRepGProp_Face theDomain: BRepGProp_Domain thePoint: gp_Pnt -theTolerance: float,optional - default value is 0.001 -theCGFlag: bool,optional - default value is Standard_False -theIFlag: bool,optional - default value is Standard_False +theTolerance: float (optional, default to 0.001) +theCGFlag: bool (optional, default to Standard_False) +theIFlag: bool (optional, default to Standard_False) -Returns +Return ------- float + +Description +----------- +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; 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); - /****************** Perform ******************/ - /**** md5 signature: c7217d0c046ee96a7a7100e2a76bbce3 ****/ + /****** BRepGProp_VinertGK::Perform ******/ + /****** md5 signature: c7217d0c046ee96a7a7100e2a76bbce3 ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Computes the global properties of a region of 3d space delimited with the naturally restricted surface and the plane. - + %feature("autodoc", " Parameters ---------- theSurface: BRepGProp_Face thePlane: gp_Pln -theTolerance: float,optional - default value is 0.001 -theCGFlag: bool,optional - default value is Standard_False -theIFlag: bool,optional - default value is Standard_False +theTolerance: float (optional, default to 0.001) +theCGFlag: bool (optional, default to Standard_False) +theIFlag: bool (optional, default to Standard_False) -Returns +Return ------- float + +Description +----------- +Computes the global properties of a region of 3D space delimited with the naturally restricted surface and the plane. ") 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); - /****************** Perform ******************/ - /**** md5 signature: 59e16d24d1aae57294bc90cb8d6007e5 ****/ + /****** BRepGProp_VinertGK::Perform ******/ + /****** md5 signature: 59e16d24d1aae57294bc90cb8d6007e5 ******/ %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. - + %feature("autodoc", " Parameters ---------- theSurface: BRepGProp_Face theDomain: BRepGProp_Domain thePlane: gp_Pln -theTolerance: float,optional - default value is 0.001 -theCGFlag: bool,optional - default value is Standard_False -theIFlag: bool,optional - default value is Standard_False +theTolerance: float (optional, default to 0.001) +theCGFlag: bool (optional, default to Standard_False) +theIFlag: bool (optional, default to Standard_False) -Returns +Return ------- float + +Description +----------- +Computes the global properties of a region of 3D space delimited with the surface bounded by the domain and the plane. ") 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); - /****************** SetLocation ******************/ - /**** md5 signature: 49b73879adebd078faa244b518af4276 ****/ + /****** BRepGProp_VinertGK::SetLocation ******/ + /****** md5 signature: 49b73879adebd078faa244b518af4276 ******/ %feature("compactdefaultargs") SetLocation; - %feature("autodoc", "Sets the vertex that delimit 3d closed region of space. - + %feature("autodoc", " Parameters ---------- theLocation: gp_Pnt -Returns +Return ------- None + +Description +----------- +Sets the vertex that delimit 3D closed region of space. ") SetLocation; void SetLocation(const gp_Pnt & theLocation); @@ -2275,3 +2557,66 @@ class BRepGProp_MeshProps: /* class aliases */ %pythoncode { } +/* deprecated methods */ +%pythoncode { +@deprecated +def brepgprop_LinearProperties(*args): + return brepgprop.LinearProperties(*args) + +@deprecated +def brepgprop_SurfaceProperties(*args): + return brepgprop.SurfaceProperties(*args) + +@deprecated +def brepgprop_SurfaceProperties(*args): + return brepgprop.SurfaceProperties(*args) + +@deprecated +def brepgprop_VolumeProperties(*args): + return brepgprop.VolumeProperties(*args) + +@deprecated +def brepgprop_VolumeProperties(*args): + return brepgprop.VolumeProperties(*args) + +@deprecated +def brepgprop_VolumePropertiesGK(*args): + return brepgprop.VolumePropertiesGK(*args) + +@deprecated +def brepgprop_VolumePropertiesGK(*args): + return brepgprop.VolumePropertiesGK(*args) + +@deprecated +def BRepGProp_EdgeTool_D1(*args): + return BRepGProp_EdgeTool.D1(*args) + +@deprecated +def BRepGProp_EdgeTool_FirstParameter(*args): + return BRepGProp_EdgeTool.FirstParameter(*args) + +@deprecated +def BRepGProp_EdgeTool_IntegrationOrder(*args): + return BRepGProp_EdgeTool.IntegrationOrder(*args) + +@deprecated +def BRepGProp_EdgeTool_Intervals(*args): + return BRepGProp_EdgeTool.Intervals(*args) + +@deprecated +def BRepGProp_EdgeTool_LastParameter(*args): + return BRepGProp_EdgeTool.LastParameter(*args) + +@deprecated +def BRepGProp_EdgeTool_NbIntervals(*args): + return BRepGProp_EdgeTool.NbIntervals(*args) + +@deprecated +def BRepGProp_EdgeTool_Value(*args): + return BRepGProp_EdgeTool.Value(*args) + +@deprecated +def BRepGProp_MeshCinert_PreparePolygon(*args): + return BRepGProp_MeshCinert.PreparePolygon(*args) + +} diff --git a/src/SWIG_files/wrapper/BRepGProp.pyi b/src/SWIG_files/wrapper/BRepGProp.pyi index c36ac5d03..e00d3f152 100644 --- a/src/SWIG_files/wrapper/BRepGProp.pyi +++ b/src/SWIG_files/wrapper/BRepGProp.pyi @@ -12,251 +12,426 @@ from OCC.Core.GeomAbs import * from OCC.Core.TColgp import * from OCC.Core.math import * - class brepgprop: - @staticmethod - def LinearProperties(S: TopoDS_Shape, LProps: GProp_GProps, SkipShared: Optional[bool] = False, UseTriangulation: Optional[bool] = False) -> None: ... - @overload - @staticmethod - def SurfaceProperties(S: TopoDS_Shape, SProps: GProp_GProps, SkipShared: Optional[bool] = False, UseTriangulation: Optional[bool] = False) -> None: ... - @overload - @staticmethod - def SurfaceProperties(S: TopoDS_Shape, SProps: GProp_GProps, Eps: float, SkipShared: Optional[bool] = False) -> float: ... - @overload - @staticmethod - def VolumeProperties(S: TopoDS_Shape, VProps: GProp_GProps, OnlyClosed: Optional[bool] = False, SkipShared: Optional[bool] = False, UseTriangulation: Optional[bool] = False) -> None: ... - @overload - @staticmethod - def VolumeProperties(S: TopoDS_Shape, VProps: GProp_GProps, Eps: float, OnlyClosed: Optional[bool] = False, SkipShared: Optional[bool] = False) -> float: ... - @overload - @staticmethod - def VolumePropertiesGK(S: TopoDS_Shape, VProps: GProp_GProps, Eps: Optional[float] = 0.001, OnlyClosed: Optional[bool] = False, IsUseSpan: Optional[bool] = False, CGFlag: Optional[bool] = False, IFlag: Optional[bool] = False, SkipShared: Optional[bool] = False) -> float: ... - @overload - @staticmethod - def VolumePropertiesGK(S: TopoDS_Shape, VProps: GProp_GProps, thePln: gp_Pln, Eps: Optional[float] = 0.001, OnlyClosed: Optional[bool] = False, IsUseSpan: Optional[bool] = False, CGFlag: Optional[bool] = False, IFlag: Optional[bool] = False, SkipShared: Optional[bool] = False) -> float: ... + @staticmethod + def LinearProperties( + S: TopoDS_Shape, + LProps: GProp_GProps, + SkipShared: Optional[bool] = False, + UseTriangulation: Optional[bool] = False, + ) -> None: ... + @overload + @staticmethod + def SurfaceProperties( + S: TopoDS_Shape, + SProps: GProp_GProps, + SkipShared: Optional[bool] = False, + UseTriangulation: Optional[bool] = False, + ) -> None: ... + @overload + @staticmethod + def SurfaceProperties( + S: TopoDS_Shape, + SProps: GProp_GProps, + Eps: float, + SkipShared: Optional[bool] = False, + ) -> float: ... + @overload + @staticmethod + def VolumeProperties( + S: TopoDS_Shape, + VProps: GProp_GProps, + OnlyClosed: Optional[bool] = False, + SkipShared: Optional[bool] = False, + UseTriangulation: Optional[bool] = False, + ) -> None: ... + @overload + @staticmethod + def VolumeProperties( + S: TopoDS_Shape, + VProps: GProp_GProps, + Eps: float, + OnlyClosed: Optional[bool] = False, + SkipShared: Optional[bool] = False, + ) -> float: ... + @overload + @staticmethod + def VolumePropertiesGK( + S: TopoDS_Shape, + VProps: GProp_GProps, + Eps: Optional[float] = 0.001, + OnlyClosed: Optional[bool] = False, + IsUseSpan: Optional[bool] = False, + CGFlag: Optional[bool] = False, + IFlag: Optional[bool] = False, + SkipShared: Optional[bool] = False, + ) -> float: ... + @overload + @staticmethod + def VolumePropertiesGK( + S: TopoDS_Shape, + VProps: GProp_GProps, + thePln: gp_Pln, + Eps: Optional[float] = 0.001, + OnlyClosed: Optional[bool] = False, + IsUseSpan: Optional[bool] = False, + CGFlag: Optional[bool] = False, + IFlag: Optional[bool] = False, + SkipShared: Optional[bool] = False, + ) -> float: ... class BRepGProp_Cinert(GProp_GProps): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, C: BRepAdaptor_Curve, CLocation: gp_Pnt) -> None: ... - def Perform(self, C: BRepAdaptor_Curve) -> None: ... - def SetLocation(self, CLocation: gp_Pnt) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, C: BRepAdaptor_Curve, CLocation: gp_Pnt) -> None: ... + def Perform(self, C: BRepAdaptor_Curve) -> None: ... + def SetLocation(self, CLocation: gp_Pnt) -> None: ... class BRepGProp_Domain: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, F: TopoDS_Face) -> None: ... - @overload - def Init(self, F: TopoDS_Face) -> None: ... - @overload - def Init(self) -> None: ... - def More(self) -> bool: ... - def Next(self) -> None: ... - def Value(self) -> TopoDS_Edge: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, F: TopoDS_Face) -> None: ... + @overload + def Init(self, F: TopoDS_Face) -> None: ... + @overload + def Init(self) -> None: ... + def More(self) -> bool: ... + def Next(self) -> None: ... + def Value(self) -> TopoDS_Edge: ... class BRepGProp_EdgeTool: - @staticmethod - def D1(C: BRepAdaptor_Curve, U: float, P: gp_Pnt, V1: gp_Vec) -> None: ... - @staticmethod - def FirstParameter(C: BRepAdaptor_Curve) -> float: ... - @staticmethod - def IntegrationOrder(C: BRepAdaptor_Curve) -> int: ... - @staticmethod - def Intervals(C: BRepAdaptor_Curve, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... - @staticmethod - def LastParameter(C: BRepAdaptor_Curve) -> float: ... - @staticmethod - def NbIntervals(C: BRepAdaptor_Curve, S: GeomAbs_Shape) -> int: ... - @staticmethod - def Value(C: BRepAdaptor_Curve, U: float) -> gp_Pnt: ... + @staticmethod + def D1(C: BRepAdaptor_Curve, U: float, P: gp_Pnt, V1: gp_Vec) -> None: ... + @staticmethod + def FirstParameter(C: BRepAdaptor_Curve) -> float: ... + @staticmethod + def IntegrationOrder(C: BRepAdaptor_Curve) -> int: ... + @staticmethod + def Intervals( + C: BRepAdaptor_Curve, T: TColStd_Array1OfReal, S: GeomAbs_Shape + ) -> None: ... + @staticmethod + def LastParameter(C: BRepAdaptor_Curve) -> float: ... + @staticmethod + def NbIntervals(C: BRepAdaptor_Curve, S: GeomAbs_Shape) -> int: ... + @staticmethod + def Value(C: BRepAdaptor_Curve, U: float) -> gp_Pnt: ... class BRepGProp_Face: - @overload - def __init__(self, IsUseSpan: Optional[bool] = False) -> None: ... - @overload - def __init__(self, F: TopoDS_Face, IsUseSpan: Optional[bool] = False) -> None: ... - def Bounds(self) -> Tuple[float, float, float, float]: ... - def D12d(self, U: float, P: gp_Pnt2d, V1: gp_Vec2d) -> None: ... - def FirstParameter(self) -> float: ... - def GetFace(self) -> TopoDS_Face: ... - def GetTKnots(self, theTMin: float, theTMax: float, theTKnots: TColStd_HArray1OfReal) -> None: ... - def GetUKnots(self, theUMin: float, theUMax: float, theUKnots: TColStd_HArray1OfReal) -> None: ... - def IntegrationOrder(self) -> int: ... - def LIntOrder(self, Eps: float) -> int: ... - def LIntSubs(self) -> int: ... - def LKnots(self, Knots: TColStd_Array1OfReal) -> None: ... - def LastParameter(self) -> float: ... - @overload - def Load(self, F: TopoDS_Face) -> None: ... - @overload - def Load(self, E: TopoDS_Edge) -> False: ... - @overload - def Load(self, IsFirstParam: bool, theIsoType: GeomAbs_IsoType) -> None: ... - def NaturalRestriction(self) -> bool: ... - def Normal(self, U: float, V: float, P: gp_Pnt, VNor: gp_Vec) -> None: ... - def SIntOrder(self, Eps: float) -> int: ... - def SUIntSubs(self) -> int: ... - def SVIntSubs(self) -> int: ... - def UIntegrationOrder(self) -> int: ... - def UKnots(self, Knots: TColStd_Array1OfReal) -> None: ... - def VIntegrationOrder(self) -> int: ... - def VKnots(self, Knots: TColStd_Array1OfReal) -> None: ... - def Value2d(self, U: float) -> gp_Pnt2d: ... + @overload + def __init__(self, IsUseSpan: Optional[bool] = False) -> None: ... + @overload + def __init__(self, F: TopoDS_Face, IsUseSpan: Optional[bool] = False) -> None: ... + def Bounds(self) -> Tuple[float, float, float, float]: ... + def D12d(self, U: float, P: gp_Pnt2d, V1: gp_Vec2d) -> None: ... + def FirstParameter(self) -> float: ... + def GetFace(self) -> TopoDS_Face: ... + def GetTKnots( + self, theTMin: float, theTMax: float, theTKnots: TColStd_HArray1OfReal + ) -> None: ... + def GetUKnots( + self, theUMin: float, theUMax: float, theUKnots: TColStd_HArray1OfReal + ) -> None: ... + def IntegrationOrder(self) -> int: ... + def LIntOrder(self, Eps: float) -> int: ... + def LIntSubs(self) -> int: ... + def LKnots(self, Knots: TColStd_Array1OfReal) -> None: ... + def LastParameter(self) -> float: ... + @overload + def Load(self, F: TopoDS_Face) -> None: ... + @overload + def Load(self, E: TopoDS_Edge) -> bool: ... + @overload + def Load(self, IsFirstParam: bool, theIsoType: GeomAbs_IsoType) -> None: ... + def NaturalRestriction(self) -> bool: ... + def Normal(self, U: float, V: float, P: gp_Pnt, VNor: gp_Vec) -> None: ... + def SIntOrder(self, Eps: float) -> int: ... + def SUIntSubs(self) -> int: ... + def SVIntSubs(self) -> int: ... + def UIntegrationOrder(self) -> int: ... + def UKnots(self, Knots: TColStd_Array1OfReal) -> None: ... + def VIntegrationOrder(self) -> int: ... + def VKnots(self, Knots: TColStd_Array1OfReal) -> None: ... + def Value2d(self, U: float) -> gp_Pnt2d: ... class BRepGProp_Gauss: - def __init__(self, theType: BRepGProp_GaussType) -> None: ... + def __init__(self, theType: BRepGProp_GaussType) -> None: ... class BRepGProp_MeshCinert(GProp_GProps): - def __init__(self) -> None: ... - def Perform(self, theNodes: TColgp_Array1OfPnt) -> None: ... - @staticmethod - def PreparePolygon(theE: TopoDS_Edge, thePolyg: TColgp_HArray1OfPnt) -> None: ... - def SetLocation(self, CLocation: gp_Pnt) -> None: ... + def __init__(self) -> None: ... + def Perform(self, theNodes: TColgp_Array1OfPnt) -> None: ... + @staticmethod + def PreparePolygon(theE: TopoDS_Edge, thePolyg: TColgp_HArray1OfPnt) -> None: ... + def SetLocation(self, CLocation: gp_Pnt) -> None: ... class BRepGProp_Sinert(GProp_GProps): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, S: BRepGProp_Face, SLocation: gp_Pnt) -> None: ... - @overload - def __init__(self, S: BRepGProp_Face, D: BRepGProp_Domain, SLocation: gp_Pnt) -> None: ... - @overload - def __init__(self, S: BRepGProp_Face, SLocation: gp_Pnt, Eps: float) -> None: ... - @overload - def __init__(self, S: BRepGProp_Face, D: BRepGProp_Domain, SLocation: gp_Pnt, Eps: float) -> None: ... - def GetEpsilon(self) -> float: ... - @overload - def Perform(self, S: BRepGProp_Face) -> None: ... - @overload - def Perform(self, S: BRepGProp_Face, D: BRepGProp_Domain) -> None: ... - @overload - def Perform(self, S: BRepGProp_Face, Eps: float) -> float: ... - @overload - def Perform(self, S: BRepGProp_Face, D: BRepGProp_Domain, Eps: float) -> float: ... - def SetLocation(self, SLocation: gp_Pnt) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, S: BRepGProp_Face, SLocation: gp_Pnt) -> None: ... + @overload + def __init__( + self, S: BRepGProp_Face, D: BRepGProp_Domain, SLocation: gp_Pnt + ) -> None: ... + @overload + def __init__(self, S: BRepGProp_Face, SLocation: gp_Pnt, Eps: float) -> None: ... + @overload + def __init__( + self, S: BRepGProp_Face, D: BRepGProp_Domain, SLocation: gp_Pnt, Eps: float + ) -> None: ... + def GetEpsilon(self) -> float: ... + @overload + def Perform(self, S: BRepGProp_Face) -> None: ... + @overload + def Perform(self, S: BRepGProp_Face, D: BRepGProp_Domain) -> None: ... + @overload + def Perform(self, S: BRepGProp_Face, Eps: float) -> float: ... + @overload + def Perform(self, S: BRepGProp_Face, D: BRepGProp_Domain, Eps: float) -> float: ... + def SetLocation(self, SLocation: gp_Pnt) -> None: ... class BRepGProp_TFunction(math_Function): - def __init__(self, theSurface: BRepGProp_Face, theVertex: gp_Pnt, IsByPoint: bool, theCoeffs: None, theUMin: float, theTolerance: float) -> None: ... - def AbsolutError(self) -> float: ... - def ErrorReached(self) -> float: ... - def GetStateNumber(self) -> int: ... - def Init(self) -> None: ... - def SetNbKronrodPoints(self, theNbPoints: int) -> None: ... - def SetTolerance(self, aTol: float) -> None: ... - def SetValueType(self, aType: GProp_ValueType) -> None: ... - def Value(self, X: float) -> Tuple[bool, float]: ... + def __init__( + self, + theSurface: BRepGProp_Face, + theVertex: gp_Pnt, + IsByPoint: bool, + theCoeffs: float, + theUMin: float, + theTolerance: float, + ) -> None: ... + def AbsolutError(self) -> float: ... + def ErrorReached(self) -> float: ... + def GetStateNumber(self) -> int: ... + def Init(self) -> None: ... + def SetNbKronrodPoints(self, theNbPoints: int) -> None: ... + def SetTolerance(self, aTol: float) -> None: ... + def SetValueType(self, aType: GProp_ValueType) -> None: ... + def Value(self, X: float) -> Tuple[bool, float]: ... class BRepGProp_UFunction(math_Function): - def __init__(self, theSurface: BRepGProp_Face, theVertex: gp_Pnt, IsByPoint: bool, theCoeffs: None) -> None: ... - def SetVParam(self, theVParam: float) -> None: ... - def SetValueType(self, theType: GProp_ValueType) -> None: ... - def Value(self, X: float) -> Tuple[bool, float]: ... + def __init__( + self, + theSurface: BRepGProp_Face, + theVertex: gp_Pnt, + IsByPoint: bool, + theCoeffs: float, + ) -> None: ... + def SetVParam(self, theVParam: float) -> None: ... + def SetValueType(self, theType: GProp_ValueType) -> None: ... + def Value(self, X: float) -> Tuple[bool, float]: ... class BRepGProp_Vinert(GProp_GProps): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, S: BRepGProp_Face, VLocation: gp_Pnt) -> None: ... - @overload - def __init__(self, S: BRepGProp_Face, VLocation: gp_Pnt, Eps: float) -> None: ... - @overload - def __init__(self, S: BRepGProp_Face, O: gp_Pnt, VLocation: gp_Pnt) -> None: ... - @overload - def __init__(self, S: BRepGProp_Face, O: gp_Pnt, VLocation: gp_Pnt, Eps: float) -> None: ... - @overload - def __init__(self, S: BRepGProp_Face, Pl: gp_Pln, VLocation: gp_Pnt) -> None: ... - @overload - def __init__(self, S: BRepGProp_Face, Pl: gp_Pln, VLocation: gp_Pnt, Eps: float) -> None: ... - @overload - def __init__(self, S: BRepGProp_Face, D: BRepGProp_Domain, VLocation: gp_Pnt) -> None: ... - @overload - def __init__(self, S: BRepGProp_Face, D: BRepGProp_Domain, VLocation: gp_Pnt, Eps: float) -> None: ... - @overload - def __init__(self, S: BRepGProp_Face, D: BRepGProp_Domain, O: gp_Pnt, VLocation: gp_Pnt) -> None: ... - @overload - def __init__(self, S: BRepGProp_Face, D: BRepGProp_Domain, O: gp_Pnt, VLocation: gp_Pnt, Eps: float) -> None: ... - @overload - def __init__(self, S: BRepGProp_Face, D: BRepGProp_Domain, Pl: gp_Pln, VLocation: gp_Pnt) -> None: ... - @overload - def __init__(self, S: BRepGProp_Face, D: BRepGProp_Domain, Pl: gp_Pln, VLocation: gp_Pnt, Eps: float) -> None: ... - def GetEpsilon(self) -> float: ... - @overload - def Perform(self, S: BRepGProp_Face) -> None: ... - @overload - def Perform(self, S: BRepGProp_Face, Eps: float) -> float: ... - @overload - def Perform(self, S: BRepGProp_Face, O: gp_Pnt) -> None: ... - @overload - def Perform(self, S: BRepGProp_Face, O: gp_Pnt, Eps: float) -> float: ... - @overload - def Perform(self, S: BRepGProp_Face, Pl: gp_Pln) -> None: ... - @overload - def Perform(self, S: BRepGProp_Face, Pl: gp_Pln, Eps: float) -> float: ... - @overload - def Perform(self, S: BRepGProp_Face, D: BRepGProp_Domain) -> None: ... - @overload - def Perform(self, S: BRepGProp_Face, D: BRepGProp_Domain, Eps: float) -> float: ... - @overload - def Perform(self, S: BRepGProp_Face, D: BRepGProp_Domain, O: gp_Pnt) -> None: ... - @overload - def Perform(self, S: BRepGProp_Face, D: BRepGProp_Domain, O: gp_Pnt, Eps: float) -> float: ... - @overload - def Perform(self, S: BRepGProp_Face, D: BRepGProp_Domain, Pl: gp_Pln) -> None: ... - @overload - def Perform(self, S: BRepGProp_Face, D: BRepGProp_Domain, Pl: gp_Pln, Eps: float) -> float: ... - def SetLocation(self, VLocation: gp_Pnt) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, S: BRepGProp_Face, VLocation: gp_Pnt) -> None: ... + @overload + def __init__(self, S: BRepGProp_Face, VLocation: gp_Pnt, Eps: float) -> None: ... + @overload + def __init__(self, S: BRepGProp_Face, O: gp_Pnt, VLocation: gp_Pnt) -> None: ... + @overload + def __init__( + self, S: BRepGProp_Face, O: gp_Pnt, VLocation: gp_Pnt, Eps: float + ) -> None: ... + @overload + def __init__(self, S: BRepGProp_Face, Pl: gp_Pln, VLocation: gp_Pnt) -> None: ... + @overload + def __init__( + self, S: BRepGProp_Face, Pl: gp_Pln, VLocation: gp_Pnt, Eps: float + ) -> None: ... + @overload + def __init__( + self, S: BRepGProp_Face, D: BRepGProp_Domain, VLocation: gp_Pnt + ) -> None: ... + @overload + def __init__( + self, S: BRepGProp_Face, D: BRepGProp_Domain, VLocation: gp_Pnt, Eps: float + ) -> None: ... + @overload + def __init__( + self, S: BRepGProp_Face, D: BRepGProp_Domain, O: gp_Pnt, VLocation: gp_Pnt + ) -> None: ... + @overload + def __init__( + self, + S: BRepGProp_Face, + D: BRepGProp_Domain, + O: gp_Pnt, + VLocation: gp_Pnt, + Eps: float, + ) -> None: ... + @overload + def __init__( + self, S: BRepGProp_Face, D: BRepGProp_Domain, Pl: gp_Pln, VLocation: gp_Pnt + ) -> None: ... + @overload + def __init__( + self, + S: BRepGProp_Face, + D: BRepGProp_Domain, + Pl: gp_Pln, + VLocation: gp_Pnt, + Eps: float, + ) -> None: ... + def GetEpsilon(self) -> float: ... + @overload + def Perform(self, S: BRepGProp_Face) -> None: ... + @overload + def Perform(self, S: BRepGProp_Face, Eps: float) -> float: ... + @overload + def Perform(self, S: BRepGProp_Face, O: gp_Pnt) -> None: ... + @overload + def Perform(self, S: BRepGProp_Face, O: gp_Pnt, Eps: float) -> float: ... + @overload + def Perform(self, S: BRepGProp_Face, Pl: gp_Pln) -> None: ... + @overload + def Perform(self, S: BRepGProp_Face, Pl: gp_Pln, Eps: float) -> float: ... + @overload + def Perform(self, S: BRepGProp_Face, D: BRepGProp_Domain) -> None: ... + @overload + def Perform(self, S: BRepGProp_Face, D: BRepGProp_Domain, Eps: float) -> float: ... + @overload + def Perform(self, S: BRepGProp_Face, D: BRepGProp_Domain, O: gp_Pnt) -> None: ... + @overload + def Perform( + self, S: BRepGProp_Face, D: BRepGProp_Domain, O: gp_Pnt, Eps: float + ) -> float: ... + @overload + def Perform(self, S: BRepGProp_Face, D: BRepGProp_Domain, Pl: gp_Pln) -> None: ... + @overload + def Perform( + self, S: BRepGProp_Face, D: BRepGProp_Domain, Pl: gp_Pln, Eps: float + ) -> float: ... + def SetLocation(self, VLocation: gp_Pnt) -> None: ... class BRepGProp_VinertGK(GProp_GProps): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theSurface: BRepGProp_Face, theLocation: gp_Pnt, theTolerance: Optional[float] = 0.001, theCGFlag: Optional[bool] = False, theIFlag: Optional[bool] = False) -> None: ... - @overload - def __init__(self, theSurface: BRepGProp_Face, thePoint: gp_Pnt, theLocation: gp_Pnt, theTolerance: Optional[float] = 0.001, theCGFlag: Optional[bool] = False, theIFlag: Optional[bool] = False) -> None: ... - @overload - def __init__(self, theSurface: BRepGProp_Face, theDomain: BRepGProp_Domain, theLocation: gp_Pnt, theTolerance: Optional[float] = 0.001, theCGFlag: Optional[bool] = False, theIFlag: Optional[bool] = False) -> None: ... - @overload - def __init__(self, theSurface: BRepGProp_Face, theDomain: BRepGProp_Domain, thePoint: gp_Pnt, theLocation: gp_Pnt, theTolerance: Optional[float] = 0.001, theCGFlag: Optional[bool] = False, theIFlag: Optional[bool] = False) -> None: ... - @overload - def __init__(self, theSurface: BRepGProp_Face, thePlane: gp_Pln, theLocation: gp_Pnt, theTolerance: Optional[float] = 0.001, theCGFlag: Optional[bool] = False, theIFlag: Optional[bool] = False) -> None: ... - @overload - def __init__(self, theSurface: BRepGProp_Face, theDomain: BRepGProp_Domain, thePlane: gp_Pln, theLocation: gp_Pnt, theTolerance: Optional[float] = 0.001, theCGFlag: Optional[bool] = False, theIFlag: Optional[bool] = False) -> None: ... - def GetErrorReached(self) -> float: ... - @overload - def Perform(self, theSurface: BRepGProp_Face, theTolerance: Optional[float] = 0.001, theCGFlag: Optional[bool] = False, theIFlag: Optional[bool] = False) -> float: ... - @overload - def Perform(self, theSurface: BRepGProp_Face, thePoint: gp_Pnt, theTolerance: Optional[float] = 0.001, theCGFlag: Optional[bool] = False, theIFlag: Optional[bool] = False) -> float: ... - @overload - def Perform(self, theSurface: BRepGProp_Face, theDomain: BRepGProp_Domain, theTolerance: Optional[float] = 0.001, theCGFlag: Optional[bool] = False, theIFlag: Optional[bool] = False) -> float: ... - @overload - def Perform(self, theSurface: BRepGProp_Face, theDomain: BRepGProp_Domain, thePoint: gp_Pnt, theTolerance: Optional[float] = 0.001, theCGFlag: Optional[bool] = False, theIFlag: Optional[bool] = False) -> float: ... - @overload - def Perform(self, theSurface: BRepGProp_Face, thePlane: gp_Pln, theTolerance: Optional[float] = 0.001, theCGFlag: Optional[bool] = False, theIFlag: Optional[bool] = False) -> float: ... - @overload - def Perform(self, theSurface: BRepGProp_Face, theDomain: BRepGProp_Domain, thePlane: gp_Pln, theTolerance: Optional[float] = 0.001, theCGFlag: Optional[bool] = False, theIFlag: Optional[bool] = False) -> float: ... - def SetLocation(self, theLocation: gp_Pnt) -> None: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__( + self, + theSurface: BRepGProp_Face, + theLocation: gp_Pnt, + theTolerance: Optional[float] = 0.001, + theCGFlag: Optional[bool] = False, + theIFlag: Optional[bool] = False, + ) -> None: ... + @overload + def __init__( + self, + theSurface: BRepGProp_Face, + thePoint: gp_Pnt, + theLocation: gp_Pnt, + theTolerance: Optional[float] = 0.001, + theCGFlag: Optional[bool] = False, + theIFlag: Optional[bool] = False, + ) -> None: ... + @overload + def __init__( + self, + theSurface: BRepGProp_Face, + theDomain: BRepGProp_Domain, + theLocation: gp_Pnt, + theTolerance: Optional[float] = 0.001, + theCGFlag: Optional[bool] = False, + theIFlag: Optional[bool] = False, + ) -> None: ... + @overload + def __init__( + self, + theSurface: BRepGProp_Face, + theDomain: BRepGProp_Domain, + thePoint: gp_Pnt, + theLocation: gp_Pnt, + theTolerance: Optional[float] = 0.001, + theCGFlag: Optional[bool] = False, + theIFlag: Optional[bool] = False, + ) -> None: ... + @overload + def __init__( + self, + theSurface: BRepGProp_Face, + thePlane: gp_Pln, + theLocation: gp_Pnt, + theTolerance: Optional[float] = 0.001, + theCGFlag: Optional[bool] = False, + theIFlag: Optional[bool] = False, + ) -> None: ... + @overload + def __init__( + self, + theSurface: BRepGProp_Face, + theDomain: BRepGProp_Domain, + thePlane: gp_Pln, + theLocation: gp_Pnt, + theTolerance: Optional[float] = 0.001, + theCGFlag: Optional[bool] = False, + theIFlag: Optional[bool] = False, + ) -> None: ... + def GetErrorReached(self) -> float: ... + @overload + def Perform( + self, + theSurface: BRepGProp_Face, + theTolerance: Optional[float] = 0.001, + theCGFlag: Optional[bool] = False, + theIFlag: Optional[bool] = False, + ) -> float: ... + @overload + def Perform( + self, + theSurface: BRepGProp_Face, + thePoint: gp_Pnt, + theTolerance: Optional[float] = 0.001, + theCGFlag: Optional[bool] = False, + theIFlag: Optional[bool] = False, + ) -> float: ... + @overload + def Perform( + self, + theSurface: BRepGProp_Face, + theDomain: BRepGProp_Domain, + theTolerance: Optional[float] = 0.001, + theCGFlag: Optional[bool] = False, + theIFlag: Optional[bool] = False, + ) -> float: ... + @overload + def Perform( + self, + theSurface: BRepGProp_Face, + theDomain: BRepGProp_Domain, + thePoint: gp_Pnt, + theTolerance: Optional[float] = 0.001, + theCGFlag: Optional[bool] = False, + theIFlag: Optional[bool] = False, + ) -> float: ... + @overload + def Perform( + self, + theSurface: BRepGProp_Face, + thePlane: gp_Pln, + theTolerance: Optional[float] = 0.001, + theCGFlag: Optional[bool] = False, + theIFlag: Optional[bool] = False, + ) -> float: ... + @overload + def Perform( + self, + theSurface: BRepGProp_Face, + theDomain: BRepGProp_Domain, + thePlane: gp_Pln, + theTolerance: Optional[float] = 0.001, + theCGFlag: Optional[bool] = False, + theIFlag: Optional[bool] = False, + ) -> float: ... + def SetLocation(self, theLocation: gp_Pnt) -> None: ... -#classnotwrapped +# classnotwrapped class BRepGProp_MeshProps: ... # harray1 classes # harray2 classes # hsequence classes - -brepgprop_LinearProperties = brepgprop.LinearProperties -brepgprop_SurfaceProperties = brepgprop.SurfaceProperties -brepgprop_SurfaceProperties = brepgprop.SurfaceProperties -brepgprop_VolumeProperties = brepgprop.VolumeProperties -brepgprop_VolumeProperties = brepgprop.VolumeProperties -brepgprop_VolumePropertiesGK = brepgprop.VolumePropertiesGK -brepgprop_VolumePropertiesGK = brepgprop.VolumePropertiesGK -BRepGProp_EdgeTool_D1 = BRepGProp_EdgeTool.D1 -BRepGProp_EdgeTool_FirstParameter = BRepGProp_EdgeTool.FirstParameter -BRepGProp_EdgeTool_IntegrationOrder = BRepGProp_EdgeTool.IntegrationOrder -BRepGProp_EdgeTool_Intervals = BRepGProp_EdgeTool.Intervals -BRepGProp_EdgeTool_LastParameter = BRepGProp_EdgeTool.LastParameter -BRepGProp_EdgeTool_NbIntervals = BRepGProp_EdgeTool.NbIntervals -BRepGProp_EdgeTool_Value = BRepGProp_EdgeTool.Value -BRepGProp_MeshCinert_PreparePolygon = BRepGProp_MeshCinert.PreparePolygon diff --git a/src/SWIG_files/wrapper/BRepIntCurveSurface.i b/src/SWIG_files/wrapper/BRepIntCurveSurface.i index 7ed4f5b21..6819cf43e 100644 --- a/src/SWIG_files/wrapper/BRepIntCurveSurface.i +++ b/src/SWIG_files/wrapper/BRepIntCurveSurface.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPINTCURVESURFACEDOCSTRING "BRepIntCurveSurface module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepintcurvesurface.html" +https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_brepintcurvesurface.html" %enddef %module (package="OCC.Core", docstring=BREPINTCURVESURFACEDOCSTRING) BRepIntCurveSurface @@ -31,8 +31,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepintcurvesurfa %include ../common/CommonIncludes.i %include ../common/ExceptionCatcher.i %include ../common/FunctionTransformers.i +%include ../common/EnumTemplates.i %include ../common/Operators.i %include ../common/OccHandle.i +%include ../common/IOStream.i +%include ../common/ArrayMacros.i %{ @@ -75,7 +78,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -94,189 +97,223 @@ from OCC.Core.Exception import * **********************************/ class BRepIntCurveSurface_Inter { public: - /****************** BRepIntCurveSurface_Inter ******************/ - /**** md5 signature: b746fb1d3b88cfc1c23fbf7d63f720ba ****/ + /****** BRepIntCurveSurface_Inter::BRepIntCurveSurface_Inter ******/ + /****** md5 signature: b746fb1d3b88cfc1c23fbf7d63f720ba ******/ %feature("compactdefaultargs") BRepIntCurveSurface_Inter; - %feature("autodoc", "Empty constructor;. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Empty constructor;. ") BRepIntCurveSurface_Inter; BRepIntCurveSurface_Inter(); - /****************** Face ******************/ - /**** md5 signature: 91e216ebeb76e55c73eb9e179241a6ff ****/ + /****** BRepIntCurveSurface_Inter::Face ******/ + /****** md5 signature: 91e216ebeb76e55c73eb9e179241a6ff ******/ %feature("compactdefaultargs") Face; - %feature("autodoc", "Returns the current face. - -Returns + %feature("autodoc", "Return ------- TopoDS_Face + +Description +----------- +returns the current face. ") Face; const TopoDS_Face Face(); - /****************** Init ******************/ - /**** md5 signature: 07985eba3bf85498690ed01b37f51fca ****/ + /****** BRepIntCurveSurface_Inter::Init ******/ + /****** md5 signature: 07985eba3bf85498690ed01b37f51fca ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "Load the shape, the curve and initialize the tolerance used for the classification. - + %feature("autodoc", " Parameters ---------- theShape: TopoDS_Shape theCurve: GeomAdaptor_Curve theTol: float -Returns +Return ------- None + +Description +----------- +Load the Shape, the curve and initialize the tolerance used for the classification. ") Init; void Init(const TopoDS_Shape & theShape, const GeomAdaptor_Curve & theCurve, const Standard_Real theTol); - /****************** Init ******************/ - /**** md5 signature: 3b1e312f54bb7607e78407ff166c1205 ****/ + /****** BRepIntCurveSurface_Inter::Init ******/ + /****** md5 signature: 3b1e312f54bb7607e78407ff166c1205 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "Load the shape, the curve and initialize the tolerance used for the classification. - + %feature("autodoc", " Parameters ---------- theShape: TopoDS_Shape theLine: gp_Lin theTol: float -Returns +Return ------- None + +Description +----------- +Load the Shape, the curve and initialize the tolerance used for the classification. ") Init; void Init(const TopoDS_Shape & theShape, const gp_Lin & theLine, const Standard_Real theTol); - /****************** Init ******************/ - /**** md5 signature: 520ca4890c4d0b4a44c85c9b44d9905c ****/ + /****** BRepIntCurveSurface_Inter::Init ******/ + /****** md5 signature: 520ca4890c4d0b4a44c85c9b44d9905c ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "Method to find intersections of specified curve with loaded shape. - + %feature("autodoc", " Parameters ---------- theCurve: GeomAdaptor_Curve -Returns +Return ------- None + +Description +----------- +Method to find intersections of specified curve with loaded shape. ") Init; void Init(const GeomAdaptor_Curve & theCurve); - /****************** Load ******************/ - /**** md5 signature: a747fed191518a6d90101ad47bb98e22 ****/ + /****** BRepIntCurveSurface_Inter::Load ******/ + /****** md5 signature: a747fed191518a6d90101ad47bb98e22 ******/ %feature("compactdefaultargs") Load; - %feature("autodoc", "Load the shape, and initialize the tolerance used for the classification. - + %feature("autodoc", " Parameters ---------- theShape: TopoDS_Shape theTol: float -Returns +Return ------- None + +Description +----------- +Load the Shape, and initialize the tolerance used for the classification. ") Load; void Load(const TopoDS_Shape & theShape, const Standard_Real theTol); - /****************** More ******************/ - /**** md5 signature: 6f6e915c9a3dca758c059d9e8af02dff ****/ + /****** BRepIntCurveSurface_Inter::More ******/ + /****** md5 signature: 6f6e915c9a3dca758c059d9e8af02dff ******/ %feature("compactdefaultargs") More; - %feature("autodoc", "Returns true if there is a current face. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns True if there is a current face. ") More; Standard_Boolean More(); - /****************** Next ******************/ - /**** md5 signature: f35c0df5f1d7c877986db18081404532 ****/ + /****** BRepIntCurveSurface_Inter::Next ******/ + /****** md5 signature: f35c0df5f1d7c877986db18081404532 ******/ %feature("compactdefaultargs") Next; - %feature("autodoc", "Sets the next intersection point to check. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Sets the next intersection point to check. ") Next; void Next(); - /****************** Pnt ******************/ - /**** md5 signature: c0bafeed50f4eebb5964e2bf8520bf90 ****/ + /****** BRepIntCurveSurface_Inter::Pnt ******/ + /****** md5 signature: c0bafeed50f4eebb5964e2bf8520bf90 ******/ %feature("compactdefaultargs") Pnt; - %feature("autodoc", "Returns the current geometric point. - -Returns + %feature("autodoc", "Return ------- gp_Pnt + +Description +----------- +returns the current geometric Point. ") Pnt; const gp_Pnt Pnt(); - /****************** Point ******************/ - /**** md5 signature: 39b389cfd53f7848e2a79affac9ccd3b ****/ + /****** BRepIntCurveSurface_Inter::Point ******/ + /****** md5 signature: 39b389cfd53f7848e2a79affac9ccd3b ******/ %feature("compactdefaultargs") Point; - %feature("autodoc", "Returns the current intersection point. - -Returns + %feature("autodoc", "Return ------- IntCurveSurface_IntersectionPoint + +Description +----------- +returns the current Intersection point. ") Point; IntCurveSurface_IntersectionPoint Point(); - /****************** State ******************/ - /**** md5 signature: 927c83b1efdec797adb47eb058eddaa0 ****/ + /****** BRepIntCurveSurface_Inter::State ******/ + /****** md5 signature: 927c83b1efdec797adb47eb058eddaa0 ******/ %feature("compactdefaultargs") State; - %feature("autodoc", "Returns the current state (in or on). - -Returns + %feature("autodoc", "Return ------- TopAbs_State + +Description +----------- +returns the current state (IN or ON). ") State; TopAbs_State State(); - /****************** Transition ******************/ - /**** md5 signature: bd528dc9c78a60a5b26409b8cf4f3afe ****/ + /****** BRepIntCurveSurface_Inter::Transition ******/ + /****** md5 signature: bd528dc9c78a60a5b26409b8cf4f3afe ******/ %feature("compactdefaultargs") Transition; - %feature("autodoc", "Returns the transition of the line on the surface (in or out or unknown). - -Returns + %feature("autodoc", "Return ------- IntCurveSurface_TransitionOnCurve + +Description +----------- +returns the transition of the line on the surface (IN or OUT or UNKNOWN). ") Transition; IntCurveSurface_TransitionOnCurve Transition(); - /****************** U ******************/ - /**** md5 signature: dd41b21b6ce05c48c2d8d002663816e1 ****/ + /****** BRepIntCurveSurface_Inter::U ******/ + /****** md5 signature: dd41b21b6ce05c48c2d8d002663816e1 ******/ %feature("compactdefaultargs") U; - %feature("autodoc", "Returns the u parameter of the current point on the current face. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the U parameter of the current point on the current face. ") U; Standard_Real U(); - /****************** V ******************/ - /**** md5 signature: a561db1f9ebb0e926d3862b2e88ce187 ****/ + /****** BRepIntCurveSurface_Inter::V ******/ + /****** md5 signature: a561db1f9ebb0e926d3862b2e88ce187 ******/ %feature("compactdefaultargs") V; - %feature("autodoc", "Returns the v parameter of the current point on the current face. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the V parameter of the current point on the current face. ") V; Standard_Real V(); - /****************** W ******************/ - /**** md5 signature: dde24677dd63b48ccacea2fe8006eed7 ****/ + /****** BRepIntCurveSurface_Inter::W ******/ + /****** md5 signature: dde24677dd63b48ccacea2fe8006eed7 ******/ %feature("compactdefaultargs") W; - %feature("autodoc", "Returns the parameter of the current point on the curve. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +returns the parameter of the current point on the curve. ") W; Standard_Real W(); diff --git a/src/SWIG_files/wrapper/BRepIntCurveSurface.pyi b/src/SWIG_files/wrapper/BRepIntCurveSurface.pyi index 66140e00c..7a1bb4733 100644 --- a/src/SWIG_files/wrapper/BRepIntCurveSurface.pyi +++ b/src/SWIG_files/wrapper/BRepIntCurveSurface.pyi @@ -9,28 +9,28 @@ from OCC.Core.gp import * from OCC.Core.IntCurveSurface import * from OCC.Core.TopAbs import * - class BRepIntCurveSurface_Inter: - def __init__(self) -> None: ... - def Face(self) -> TopoDS_Face: ... - @overload - def Init(self, theShape: TopoDS_Shape, theCurve: GeomAdaptor_Curve, theTol: float) -> None: ... - @overload - def Init(self, theShape: TopoDS_Shape, theLine: gp_Lin, theTol: float) -> None: ... - @overload - def Init(self, theCurve: GeomAdaptor_Curve) -> None: ... - def Load(self, theShape: TopoDS_Shape, theTol: float) -> None: ... - def More(self) -> bool: ... - def Next(self) -> None: ... - def Pnt(self) -> gp_Pnt: ... - def Point(self) -> IntCurveSurface_IntersectionPoint: ... - def State(self) -> TopAbs_State: ... - def Transition(self) -> IntCurveSurface_TransitionOnCurve: ... - def U(self) -> float: ... - def V(self) -> float: ... - def W(self) -> float: ... + def __init__(self) -> None: ... + def Face(self) -> TopoDS_Face: ... + @overload + def Init( + self, theShape: TopoDS_Shape, theCurve: GeomAdaptor_Curve, theTol: float + ) -> None: ... + @overload + def Init(self, theShape: TopoDS_Shape, theLine: gp_Lin, theTol: float) -> None: ... + @overload + def Init(self, theCurve: GeomAdaptor_Curve) -> None: ... + def Load(self, theShape: TopoDS_Shape, theTol: float) -> None: ... + def More(self) -> bool: ... + def Next(self) -> None: ... + def Pnt(self) -> gp_Pnt: ... + def Point(self) -> IntCurveSurface_IntersectionPoint: ... + def State(self) -> TopAbs_State: ... + def Transition(self) -> IntCurveSurface_TransitionOnCurve: ... + def U(self) -> float: ... + def V(self) -> float: ... + def W(self) -> float: ... # harray1 classes # harray2 classes # hsequence classes - diff --git a/src/SWIG_files/wrapper/BRepLProp.i b/src/SWIG_files/wrapper/BRepLProp.i index 206493a48..24e8e0271 100644 --- a/src/SWIG_files/wrapper/BRepLProp.i +++ b/src/SWIG_files/wrapper/BRepLProp.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPLPROPDOCSTRING "BRepLProp module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_breplprop.html" +https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_breplprop.html" %enddef %module (package="OCC.Core", docstring=BREPLPROPDOCSTRING) BRepLProp @@ -31,8 +31,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_breplprop.html" %include ../common/CommonIncludes.i %include ../common/ExceptionCatcher.i %include ../common/FunctionTransformers.i +%include ../common/EnumTemplates.i %include ../common/Operators.i %include ../common/OccHandle.i +%include ../common/IOStream.i +%include ../common/ArrayMacros.i %{ @@ -72,7 +75,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -92,11 +95,10 @@ from OCC.Core.Exception import * %rename(breplprop) BRepLProp; class BRepLProp { public: - /****************** Continuity ******************/ - /**** md5 signature: baccdbebcd7cbea6bbd8e829a9341d66 ****/ + /****** BRepLProp::Continuity ******/ + /****** md5 signature: baccdbebcd7cbea6bbd8e829a9341d66 ******/ %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", " Parameters ---------- C1: BRepAdaptor_Curve @@ -106,17 +108,20 @@ u2: float tl: float ta: float -Returns +Return ------- GeomAbs_Shape + +Description +----------- +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. ") 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); - /****************** Continuity ******************/ - /**** md5 signature: 6e2749f77e1b8216030c4a38b7461152 ****/ + /****** BRepLProp::Continuity ******/ + /****** md5 signature: 6e2749f77e1b8216030c4a38b7461152 ******/ %feature("compactdefaultargs") Continuity; - %feature("autodoc", "The same as preciding but using the standard tolerances from package precision. - + %feature("autodoc", " Parameters ---------- C1: BRepAdaptor_Curve @@ -124,9 +129,13 @@ C2: BRepAdaptor_Curve u1: float u2: float -Returns +Return ------- GeomAbs_Shape + +Description +----------- +The same as preceding but using the standard tolerances from package Precision. ") Continuity; static GeomAbs_Shape Continuity(const BRepAdaptor_Curve & C1, const BRepAdaptor_Curve & C2, const Standard_Real u1, const Standard_Real u2); @@ -144,28 +153,30 @@ GeomAbs_Shape **************************/ class BRepLProp_CLProps { public: - /****************** BRepLProp_CLProps ******************/ - /**** md5 signature: 1a49643bc4e2821082b45de7b9f24a4a ****/ + /****** BRepLProp_CLProps::BRepLProp_CLProps ******/ + /****** md5 signature: 1a49643bc4e2821082b45de7b9f24a4a ******/ %feature("compactdefaultargs") BRepLProp_CLProps; - %feature("autodoc", "Initializes the local properties of the curve the current point and the derivatives are computed at the same time, which allows an optimization of the computation time. indicates the maximum number of derivations to be done (0, 1, 2 or 3). for example, to compute only the tangent, n should be equal to 1. is the linear tolerance (it is used to test if a vector is null). - + %feature("autodoc", " Parameters ---------- C: BRepAdaptor_Curve N: int Resolution: float -Returns +Return ------- None + +Description +----------- +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). ") BRepLProp_CLProps; BRepLProp_CLProps(const BRepAdaptor_Curve & C, const Standard_Integer N, const Standard_Real Resolution); - /****************** BRepLProp_CLProps ******************/ - /**** md5 signature: f031debf6f0c1f6721a87e44c73e9f4a ****/ + /****** BRepLProp_CLProps::BRepLProp_CLProps ******/ + /****** md5 signature: f031debf6f0c1f6721a87e44c73e9f4a ******/ %feature("compactdefaultargs") BRepLProp_CLProps; - %feature("autodoc", "Same as previous constructor but here the parameter is set to the value . all the computations done will be related to and . - + %feature("autodoc", " Parameters ---------- C: BRepAdaptor_Curve @@ -173,166 +184,200 @@ U: float N: int Resolution: float -Returns +Return ------- None + +Description +----------- +Same as previous constructor but here the parameter is set to the value . All the computations done will be related to and . ") BRepLProp_CLProps; BRepLProp_CLProps(const BRepAdaptor_Curve & C, const Standard_Real U, const Standard_Integer N, const Standard_Real Resolution); - /****************** BRepLProp_CLProps ******************/ - /**** md5 signature: 504921f37298616b340c5e5255b73e44 ****/ + /****** BRepLProp_CLProps::BRepLProp_CLProps ******/ + /****** md5 signature: 504921f37298616b340c5e5255b73e44 ******/ %feature("compactdefaultargs") BRepLProp_CLProps; - %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. - + %feature("autodoc", " Parameters ---------- N: int Resolution: float -Returns +Return ------- None + +Description +----------- +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. ") BRepLProp_CLProps; BRepLProp_CLProps(const Standard_Integer N, const Standard_Real Resolution); - /****************** CentreOfCurvature ******************/ - /**** md5 signature: 62d176ce7c370b0aaf979899c5c8c8ed ****/ + /****** BRepLProp_CLProps::CentreOfCurvature ******/ + /****** md5 signature: 62d176ce7c370b0aaf979899c5c8c8ed ******/ %feature("compactdefaultargs") CentreOfCurvature; - %feature("autodoc", "Returns the centre of curvature

. - + %feature("autodoc", " Parameters ---------- P: gp_Pnt -Returns +Return ------- None + +Description +----------- +Returns the centre of curvature

. ") CentreOfCurvature; void CentreOfCurvature(gp_Pnt & P); - /****************** Curvature ******************/ - /**** md5 signature: 4886f38d109c8344d719e9973cfea7e1 ****/ + /****** BRepLProp_CLProps::Curvature ******/ + /****** md5 signature: 4886f38d109c8344d719e9973cfea7e1 ******/ %feature("compactdefaultargs") Curvature; - %feature("autodoc", "Returns the curvature. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the curvature. ") Curvature; Standard_Real Curvature(); - /****************** D1 ******************/ - /**** md5 signature: 0b334102acda4d3b92a2badfa14b3be9 ****/ + /****** BRepLProp_CLProps::D1 ******/ + /****** md5 signature: 0b334102acda4d3b92a2badfa14b3be9 ******/ %feature("compactdefaultargs") D1; - %feature("autodoc", "Returns the first derivative. the derivative is computed if it has not been yet. - -Returns + %feature("autodoc", "Return ------- gp_Vec + +Description +----------- +Returns the first derivative. The derivative is computed if it has not been yet. ") D1; const gp_Vec D1(); - /****************** D2 ******************/ - /**** md5 signature: 46fd60fbfe8cc806f27ca68c1234907f ****/ + /****** BRepLProp_CLProps::D2 ******/ + /****** md5 signature: 46fd60fbfe8cc806f27ca68c1234907f ******/ %feature("compactdefaultargs") D2; - %feature("autodoc", "Returns the second derivative. the derivative is computed if it has not been yet. - -Returns + %feature("autodoc", "Return ------- gp_Vec + +Description +----------- +Returns the second derivative. The derivative is computed if it has not been yet. ") D2; const gp_Vec D2(); - /****************** D3 ******************/ - /**** md5 signature: 941f449454d8f26edc70e5f1f599e44c ****/ + /****** BRepLProp_CLProps::D3 ******/ + /****** md5 signature: 941f449454d8f26edc70e5f1f599e44c ******/ %feature("compactdefaultargs") D3; - %feature("autodoc", "Returns the third derivative. the derivative is computed if it has not been yet. - -Returns + %feature("autodoc", "Return ------- gp_Vec + +Description +----------- +Returns the third derivative. The derivative is computed if it has not been yet. ") D3; const gp_Vec D3(); - /****************** IsTangentDefined ******************/ - /**** md5 signature: 96b1d1e7ead0e227ec7d76f9ad798ae8 ****/ + /****** BRepLProp_CLProps::IsTangentDefined ******/ + /****** md5 signature: 96b1d1e7ead0e227ec7d76f9ad798ae8 ******/ %feature("compactdefaultargs") 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. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns True if the tangent is defined. For example, the tangent is not defined if the three first derivatives are all null. ") IsTangentDefined; Standard_Boolean IsTangentDefined(); - /****************** Normal ******************/ - /**** md5 signature: 03cb2acf0c09b71a9b7b3d5cbd0efe88 ****/ + /****** BRepLProp_CLProps::Normal ******/ + /****** md5 signature: 03cb2acf0c09b71a9b7b3d5cbd0efe88 ******/ %feature("compactdefaultargs") Normal; - %feature("autodoc", "Returns the normal direction . - + %feature("autodoc", " Parameters ---------- N: gp_Dir -Returns +Return ------- None + +Description +----------- +Returns the normal direction . ") Normal; void Normal(gp_Dir & N); - /****************** SetCurve ******************/ - /**** md5 signature: 16ffbdd576b192e6cef9ed8bb4f0155f ****/ + /****** BRepLProp_CLProps::SetCurve ******/ + /****** md5 signature: 16ffbdd576b192e6cef9ed8bb4f0155f ******/ %feature("compactdefaultargs") SetCurve; - %feature("autodoc", "Initializes the local properties of the curve for the new curve. - + %feature("autodoc", " Parameters ---------- C: BRepAdaptor_Curve -Returns +Return ------- None + +Description +----------- +Initializes the local properties of the curve for the new curve. ") SetCurve; void SetCurve(const BRepAdaptor_Curve & C); - /****************** SetParameter ******************/ - /**** md5 signature: 6d7d0a8f07175b76bb327cfdc33d2266 ****/ + /****** BRepLProp_CLProps::SetParameter ******/ + /****** md5 signature: 6d7d0a8f07175b76bb327cfdc33d2266 ******/ %feature("compactdefaultargs") SetParameter; - %feature("autodoc", "Initializes the local properties of the curve for the parameter value . - + %feature("autodoc", " Parameters ---------- U: float -Returns +Return ------- None + +Description +----------- +Initializes the local properties of the curve for the parameter value . ") SetParameter; void SetParameter(const Standard_Real U); - /****************** Tangent ******************/ - /**** md5 signature: 0e5f1db5e09f49610a019ac45223943c ****/ + /****** BRepLProp_CLProps::Tangent ******/ + /****** md5 signature: 0e5f1db5e09f49610a019ac45223943c ******/ %feature("compactdefaultargs") Tangent; - %feature("autodoc", "Output the tangent direction . - + %feature("autodoc", " Parameters ---------- D: gp_Dir -Returns +Return ------- None + +Description +----------- +output the tangent direction . ") Tangent; void Tangent(gp_Dir & D); - /****************** Value ******************/ - /**** md5 signature: eddd2908948849b73f6d8aacab318652 ****/ + /****** BRepLProp_CLProps::Value ******/ + /****** md5 signature: eddd2908948849b73f6d8aacab318652 ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns the point. - -Returns + %feature("autodoc", "Return ------- gp_Pnt + +Description +----------- +Returns the Point. ") Value; const gp_Pnt Value(); @@ -350,26 +395,28 @@ gp_Pnt ****************************/ class BRepLProp_CurveTool { public: - /****************** Continuity ******************/ - /**** md5 signature: deb6372304bc5f5551cfce8b2afe343b ****/ + /****** BRepLProp_CurveTool::Continuity ******/ + /****** md5 signature: deb6372304bc5f5551cfce8b2afe343b ******/ %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. - + %feature("autodoc", " Parameters ---------- C: BRepAdaptor_Curve -Returns +Return ------- int + +Description +----------- +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. ") Continuity; static Standard_Integer Continuity(const BRepAdaptor_Curve & C); - /****************** D1 ******************/ - /**** md5 signature: 5556be7cd9882922dfddd95e3b9c9ecf ****/ + /****** BRepLProp_CurveTool::D1 ******/ + /****** md5 signature: 5556be7cd9882922dfddd95e3b9c9ecf ******/ %feature("compactdefaultargs") D1; - %feature("autodoc", "Computes the point

and first derivative of parameter on the curve . - + %feature("autodoc", " Parameters ---------- C: BRepAdaptor_Curve @@ -377,17 +424,20 @@ U: float P: gp_Pnt V1: gp_Vec -Returns +Return ------- None + +Description +----------- +Computes the point

and first derivative of parameter on the curve . ") D1; static void D1(const BRepAdaptor_Curve & C, const Standard_Real U, gp_Pnt & P, gp_Vec & V1); - /****************** D2 ******************/ - /**** md5 signature: b2ec4e844fab19ed2485d22a8745268f ****/ + /****** BRepLProp_CurveTool::D2 ******/ + /****** md5 signature: b2ec4e844fab19ed2485d22a8745268f ******/ %feature("compactdefaultargs") D2; - %feature("autodoc", "Computes the point

, the first derivative and second derivative of parameter on the curve . - + %feature("autodoc", " Parameters ---------- C: BRepAdaptor_Curve @@ -396,17 +446,20 @@ P: gp_Pnt V1: gp_Vec V2: gp_Vec -Returns +Return ------- None + +Description +----------- +Computes the point

, the first derivative and second derivative of parameter on the curve . ") D2; static void D2(const BRepAdaptor_Curve & C, const Standard_Real U, gp_Pnt & P, gp_Vec & V1, gp_Vec & V2); - /****************** D3 ******************/ - /**** md5 signature: 77f327d302e5c58bef64f7dabd80585e ****/ + /****** BRepLProp_CurveTool::D3 ******/ + /****** md5 signature: 77f327d302e5c58bef64f7dabd80585e ******/ %feature("compactdefaultargs") D3; - %feature("autodoc", "Computes the point

, the first derivative , the second derivative and third derivative of parameter on the curve . - + %feature("autodoc", " Parameters ---------- C: BRepAdaptor_Curve @@ -416,56 +469,69 @@ V1: gp_Vec V2: gp_Vec V3: gp_Vec -Returns +Return ------- None + +Description +----------- +Computes the point

, the first derivative , the second derivative and third derivative of parameter on the curve . ") D3; static void D3(const BRepAdaptor_Curve & C, const Standard_Real U, gp_Pnt & P, gp_Vec & V1, gp_Vec & V2, gp_Vec & V3); - /****************** FirstParameter ******************/ - /**** md5 signature: 1757779ac38cb6ed7a7fc48dc2248f69 ****/ + /****** BRepLProp_CurveTool::FirstParameter ******/ + /****** md5 signature: 1757779ac38cb6ed7a7fc48dc2248f69 ******/ %feature("compactdefaultargs") FirstParameter; - %feature("autodoc", "Returns the first parameter bound of the curve. - + %feature("autodoc", " Parameters ---------- C: BRepAdaptor_Curve -Returns +Return ------- float + +Description +----------- +returns the first parameter bound of the curve. ") FirstParameter; static Standard_Real FirstParameter(const BRepAdaptor_Curve & C); - /****************** LastParameter ******************/ - /**** md5 signature: e697bafb03d659fa87fd20dbec7f562b ****/ + /****** BRepLProp_CurveTool::LastParameter ******/ + /****** md5 signature: e697bafb03d659fa87fd20dbec7f562b ******/ %feature("compactdefaultargs") LastParameter; - %feature("autodoc", "Returns the last parameter bound of the curve. firstparameter must be less than lastparamenter. - + %feature("autodoc", " Parameters ---------- C: BRepAdaptor_Curve -Returns +Return ------- float + +Description +----------- +returns the last parameter bound of the curve. FirstParameter must be less than LastParamenter. ") LastParameter; static Standard_Real LastParameter(const BRepAdaptor_Curve & C); - /****************** Value ******************/ - /**** md5 signature: 65d38628809f38415a32a1ec24fc6507 ****/ + /****** BRepLProp_CurveTool::Value ******/ + /****** md5 signature: 65d38628809f38415a32a1ec24fc6507 ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Computes the point

of parameter on the curve . - + %feature("autodoc", " Parameters ---------- C: BRepAdaptor_Curve U: float P: gp_Pnt -Returns +Return ------- None + +Description +----------- +Computes the point

of parameter on the curve . ") Value; static void Value(const BRepAdaptor_Curve & C, const Standard_Real U, gp_Pnt & P); @@ -483,11 +549,10 @@ None **************************/ class BRepLProp_SLProps { public: - /****************** BRepLProp_SLProps ******************/ - /**** md5 signature: 0c538cfe6a82c86c790f840f0386d6b1 ****/ + /****** BRepLProp_SLProps::BRepLProp_SLProps ******/ + /****** md5 signature: 0c538cfe6a82c86c790f840f0386d6b1 ******/ %feature("compactdefaultargs") BRepLProp_SLProps; - %feature("autodoc", "Initializes the local properties of the surface for the parameter values (, ). the current point and the derivatives are computed at the same time, which allows an optimization of the computation time. indicates the maximum number of derivations to be done (0, 1, or 2). for example, to compute only the tangent, n should be equal to 1. is the linear tolerance (it is used to test if a vector is null). - + %feature("autodoc", " Parameters ---------- S: BRepAdaptor_Surface @@ -496,295 +561,352 @@ V: float N: int Resolution: float -Returns +Return ------- None + +Description +----------- +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). ") 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 ******************/ - /**** md5 signature: f3d887c52ee6619edb5ff58343950716 ****/ + /****** BRepLProp_SLProps::BRepLProp_SLProps ******/ + /****** md5 signature: f3d887c52ee6619edb5ff58343950716 ******/ %feature("compactdefaultargs") BRepLProp_SLProps; - %feature("autodoc", "Idem as previous constructor but without setting the value of parameters and . - + %feature("autodoc", " Parameters ---------- S: BRepAdaptor_Surface N: int Resolution: float -Returns +Return ------- None + +Description +----------- +idem as previous constructor but without setting the value of parameters and . ") BRepLProp_SLProps; BRepLProp_SLProps(const BRepAdaptor_Surface & S, const Standard_Integer N, const Standard_Real Resolution); - /****************** BRepLProp_SLProps ******************/ - /**** md5 signature: c7ec334fa138f1ff8f4638fc2305ddd2 ****/ + /****** BRepLProp_SLProps::BRepLProp_SLProps ******/ + /****** md5 signature: c7ec334fa138f1ff8f4638fc2305ddd2 ******/ %feature("compactdefaultargs") BRepLProp_SLProps; - %feature("autodoc", "Idem as previous constructor but without setting the value of parameters and and the surface. the surface can have an empty constructor. - + %feature("autodoc", " Parameters ---------- N: int Resolution: float -Returns +Return ------- None + +Description +----------- +idem as previous constructor but without setting the value of parameters and and the surface. the surface can have an empty constructor. ") BRepLProp_SLProps; BRepLProp_SLProps(const Standard_Integer N, const Standard_Real Resolution); - /****************** CurvatureDirections ******************/ - /**** md5 signature: dce4de0944d73f0923cc57f1cae010ce ****/ + /****** BRepLProp_SLProps::CurvatureDirections ******/ + /****** md5 signature: dce4de0944d73f0923cc57f1cae010ce ******/ %feature("compactdefaultargs") CurvatureDirections; - %feature("autodoc", "Returns the direction of the maximum and minimum curvature and . - + %feature("autodoc", " Parameters ---------- MaxD: gp_Dir MinD: gp_Dir -Returns +Return ------- None + +Description +----------- +Returns the direction of the maximum and minimum curvature and . ") CurvatureDirections; void CurvatureDirections(gp_Dir & MaxD, gp_Dir & MinD); - /****************** D1U ******************/ - /**** md5 signature: 7fcd61e774b6033eceefa61e3338377a ****/ + /****** BRepLProp_SLProps::D1U ******/ + /****** md5 signature: 7fcd61e774b6033eceefa61e3338377a ******/ %feature("compactdefaultargs") D1U; - %feature("autodoc", "Returns the first u derivative. the derivative is computed if it has not been yet. - -Returns + %feature("autodoc", "Return ------- gp_Vec + +Description +----------- +Returns the first U derivative. The derivative is computed if it has not been yet. ") D1U; const gp_Vec D1U(); - /****************** D1V ******************/ - /**** md5 signature: ad864d52b93c95482f9a3644c7fe473c ****/ + /****** BRepLProp_SLProps::D1V ******/ + /****** md5 signature: ad864d52b93c95482f9a3644c7fe473c ******/ %feature("compactdefaultargs") D1V; - %feature("autodoc", "Returns the first v derivative. the derivative is computed if it has not been yet. - -Returns + %feature("autodoc", "Return ------- gp_Vec + +Description +----------- +Returns the first V derivative. The derivative is computed if it has not been yet. ") D1V; const gp_Vec D1V(); - /****************** D2U ******************/ - /**** md5 signature: 0472ef4d94574816aeb47829a66bdbae ****/ + /****** BRepLProp_SLProps::D2U ******/ + /****** md5 signature: 0472ef4d94574816aeb47829a66bdbae ******/ %feature("compactdefaultargs") D2U; - %feature("autodoc", "Returns the second u derivatives the derivative is computed if it has not been yet. - -Returns + %feature("autodoc", "Return ------- gp_Vec + +Description +----------- +Returns the second U derivatives The derivative is computed if it has not been yet. ") D2U; const gp_Vec D2U(); - /****************** D2V ******************/ - /**** md5 signature: c70c5cc9b31ef0a3470d3c29498b5305 ****/ + /****** BRepLProp_SLProps::D2V ******/ + /****** md5 signature: c70c5cc9b31ef0a3470d3c29498b5305 ******/ %feature("compactdefaultargs") D2V; - %feature("autodoc", "Returns the second v derivative. the derivative is computed if it has not been yet. - -Returns + %feature("autodoc", "Return ------- gp_Vec + +Description +----------- +Returns the second V derivative. The derivative is computed if it has not been yet. ") D2V; const gp_Vec D2V(); - /****************** DUV ******************/ - /**** md5 signature: 93a293abda31f525f2bff5034aabc11a ****/ + /****** BRepLProp_SLProps::DUV ******/ + /****** md5 signature: 93a293abda31f525f2bff5034aabc11a ******/ %feature("compactdefaultargs") DUV; - %feature("autodoc", "Returns the second uv cross-derivative. the derivative is computed if it has not been yet. - -Returns + %feature("autodoc", "Return ------- gp_Vec + +Description +----------- +Returns the second UV cross-derivative. The derivative is computed if it has not been yet. ") DUV; const gp_Vec DUV(); - /****************** GaussianCurvature ******************/ - /**** md5 signature: 6f1ed6a8aa49074ec45c7600ff9ed9ad ****/ + /****** BRepLProp_SLProps::GaussianCurvature ******/ + /****** md5 signature: 6f1ed6a8aa49074ec45c7600ff9ed9ad ******/ %feature("compactdefaultargs") GaussianCurvature; - %feature("autodoc", "Returns the gaussian curvature. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the Gaussian curvature. ") GaussianCurvature; Standard_Real GaussianCurvature(); - /****************** IsCurvatureDefined ******************/ - /**** md5 signature: 24d1c4dc0bb5e5b3cd3acab3d6b3723c ****/ + /****** BRepLProp_SLProps::IsCurvatureDefined ******/ + /****** md5 signature: 24d1c4dc0bb5e5b3cd3acab3d6b3723c ******/ %feature("compactdefaultargs") IsCurvatureDefined; - %feature("autodoc", "Returns true if the curvature is defined. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns True if the curvature is defined. ") IsCurvatureDefined; Standard_Boolean IsCurvatureDefined(); - /****************** IsNormalDefined ******************/ - /**** md5 signature: b4faa90626237a62ab1311b7cb7ad450 ****/ + /****** BRepLProp_SLProps::IsNormalDefined ******/ + /****** md5 signature: b4faa90626237a62ab1311b7cb7ad450 ******/ %feature("compactdefaultargs") IsNormalDefined; - %feature("autodoc", "Tells if the normal is defined. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Tells if the normal is defined. ") IsNormalDefined; Standard_Boolean IsNormalDefined(); - /****************** IsTangentUDefined ******************/ - /**** md5 signature: 92ed6ca4fade225cd5464af6490033b3 ****/ + /****** BRepLProp_SLProps::IsTangentUDefined ******/ + /****** md5 signature: 92ed6ca4fade225cd5464af6490033b3 ******/ %feature("compactdefaultargs") 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. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns True if the U tangent is defined. For example, the tangent is not defined if the two first U derivatives are null. ") IsTangentUDefined; Standard_Boolean IsTangentUDefined(); - /****************** IsTangentVDefined ******************/ - /**** md5 signature: 53c94c0bb0d39a933984467e0683397e ****/ + /****** BRepLProp_SLProps::IsTangentVDefined ******/ + /****** md5 signature: 53c94c0bb0d39a933984467e0683397e ******/ %feature("compactdefaultargs") 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. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns if the V tangent is defined. For example, the tangent is not defined if the two first V derivatives are null. ") IsTangentVDefined; Standard_Boolean IsTangentVDefined(); - /****************** IsUmbilic ******************/ - /**** md5 signature: a045467d1ec2cad50bd2dfbeab29b8fd ****/ + /****** BRepLProp_SLProps::IsUmbilic ******/ + /****** md5 signature: a045467d1ec2cad50bd2dfbeab29b8fd ******/ %feature("compactdefaultargs") IsUmbilic; - %feature("autodoc", "Returns true if the point is umbilic (i.e. if the curvature is constant). - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +returns True if the point is umbilic (i.e. if the curvature is constant). ") IsUmbilic; Standard_Boolean IsUmbilic(); - /****************** MaxCurvature ******************/ - /**** md5 signature: 42c5b0c05da3040d5856fffc987ed742 ****/ + /****** BRepLProp_SLProps::MaxCurvature ******/ + /****** md5 signature: 42c5b0c05da3040d5856fffc987ed742 ******/ %feature("compactdefaultargs") MaxCurvature; - %feature("autodoc", "Returns the maximum curvature. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the maximum curvature. ") MaxCurvature; Standard_Real MaxCurvature(); - /****************** MeanCurvature ******************/ - /**** md5 signature: 5c7a78b552e4ca890e50b485026f52f3 ****/ + /****** BRepLProp_SLProps::MeanCurvature ******/ + /****** md5 signature: 5c7a78b552e4ca890e50b485026f52f3 ******/ %feature("compactdefaultargs") MeanCurvature; - %feature("autodoc", "Returns the mean curvature. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the mean curvature. ") MeanCurvature; Standard_Real MeanCurvature(); - /****************** MinCurvature ******************/ - /**** md5 signature: 9c5c8915c2ccf5b49a49ab2765ec946f ****/ + /****** BRepLProp_SLProps::MinCurvature ******/ + /****** md5 signature: 9c5c8915c2ccf5b49a49ab2765ec946f ******/ %feature("compactdefaultargs") MinCurvature; - %feature("autodoc", "Returns the minimum curvature. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the minimum curvature. ") MinCurvature; Standard_Real MinCurvature(); - /****************** Normal ******************/ - /**** md5 signature: 24a2507aa20216689971a0ec1fd83f76 ****/ + /****** BRepLProp_SLProps::Normal ******/ + /****** md5 signature: 24a2507aa20216689971a0ec1fd83f76 ******/ %feature("compactdefaultargs") Normal; - %feature("autodoc", "Returns the normal direction. - -Returns + %feature("autodoc", "Return ------- gp_Dir + +Description +----------- +Returns the normal direction. ") Normal; const gp_Dir Normal(); - /****************** SetParameters ******************/ - /**** md5 signature: 766228d61435cf9eaba866b58733ed73 ****/ + /****** BRepLProp_SLProps::SetParameters ******/ + /****** md5 signature: 766228d61435cf9eaba866b58733ed73 ******/ %feature("compactdefaultargs") SetParameters; - %feature("autodoc", "Initializes the local properties of the surface s for the new parameter values (, ). - + %feature("autodoc", " Parameters ---------- U: float V: float -Returns +Return ------- None + +Description +----------- +Initializes the local properties of the surface S for the new parameter values (, ). ") SetParameters; void SetParameters(const Standard_Real U, const Standard_Real V); - /****************** SetSurface ******************/ - /**** md5 signature: 41e768e2032242489b7e47453e532b38 ****/ + /****** BRepLProp_SLProps::SetSurface ******/ + /****** md5 signature: 41e768e2032242489b7e47453e532b38 ******/ %feature("compactdefaultargs") SetSurface; - %feature("autodoc", "Initializes the local properties of the surface s for the new surface. - + %feature("autodoc", " Parameters ---------- S: BRepAdaptor_Surface -Returns +Return ------- None + +Description +----------- +Initializes the local properties of the surface S for the new surface. ") SetSurface; void SetSurface(const BRepAdaptor_Surface & S); - /****************** TangentU ******************/ - /**** md5 signature: ff20f7d1d23e153974b932d55fa30a7f ****/ + /****** BRepLProp_SLProps::TangentU ******/ + /****** md5 signature: ff20f7d1d23e153974b932d55fa30a7f ******/ %feature("compactdefaultargs") TangentU; - %feature("autodoc", "Returns the tangent direction on the iso-v. - + %feature("autodoc", " Parameters ---------- D: gp_Dir -Returns +Return ------- None + +Description +----------- +Returns the tangent direction on the iso-V. ") TangentU; void TangentU(gp_Dir & D); - /****************** TangentV ******************/ - /**** md5 signature: 8241dc858e42533746e4d61351ceccd4 ****/ + /****** BRepLProp_SLProps::TangentV ******/ + /****** md5 signature: 8241dc858e42533746e4d61351ceccd4 ******/ %feature("compactdefaultargs") TangentV; - %feature("autodoc", "Returns the tangent direction on the iso-v. - + %feature("autodoc", " Parameters ---------- D: gp_Dir -Returns +Return ------- None + +Description +----------- +Returns the tangent direction on the iso-V. ") TangentV; void TangentV(gp_Dir & D); - /****************** Value ******************/ - /**** md5 signature: eddd2908948849b73f6d8aacab318652 ****/ + /****** BRepLProp_SLProps::Value ******/ + /****** md5 signature: eddd2908948849b73f6d8aacab318652 ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns the point. - -Returns + %feature("autodoc", "Return ------- gp_Pnt + +Description +----------- +Returns the point. ") Value; const gp_Pnt Value(); @@ -802,44 +924,49 @@ gp_Pnt ******************************/ class BRepLProp_SurfaceTool { public: - /****************** Bounds ******************/ - /**** md5 signature: 9f222222d1abc0624ca035e2237c12e9 ****/ + /****** BRepLProp_SurfaceTool::Bounds ******/ + /****** md5 signature: 9f222222d1abc0624ca035e2237c12e9 ******/ %feature("compactdefaultargs") Bounds; - %feature("autodoc", "Returns the bounds of the surface. - + %feature("autodoc", " Parameters ---------- S: BRepAdaptor_Surface -Returns +Return ------- U1: float V1: float U2: float V2: float + +Description +----------- +returns the bounds of the Surface. ") Bounds; static void Bounds(const BRepAdaptor_Surface & S, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** Continuity ******************/ - /**** md5 signature: 1abb71ed0bc5bcb3851914dafde6a11a ****/ + /****** BRepLProp_SurfaceTool::Continuity ******/ + /****** md5 signature: 1abb71ed0bc5bcb3851914dafde6a11a ******/ %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. - + %feature("autodoc", " Parameters ---------- S: BRepAdaptor_Surface -Returns +Return ------- int + +Description +----------- +returns the order of continuity of the Surface . returns 1: first derivative only is computable returns 2: first and second derivative only are computable. ") Continuity; static Standard_Integer Continuity(const BRepAdaptor_Surface & S); - /****************** D1 ******************/ - /**** md5 signature: 592559bc5aad46ba1e187df1e73ad838 ****/ + /****** BRepLProp_SurfaceTool::D1 ******/ + /****** md5 signature: 592559bc5aad46ba1e187df1e73ad838 ******/ %feature("compactdefaultargs") D1; - %feature("autodoc", "Computes the point

and first derivative of parameter and on the surface . - + %feature("autodoc", " Parameters ---------- S: BRepAdaptor_Surface @@ -849,17 +976,20 @@ P: gp_Pnt D1U: gp_Vec D1V: gp_Vec -Returns +Return ------- None + +Description +----------- +Computes the point

and first derivative of parameter and on the Surface . ") 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); - /****************** D2 ******************/ - /**** md5 signature: de4e2652f2ad0c2c1311b2378022ff48 ****/ + /****** BRepLProp_SurfaceTool::D2 ******/ + /****** md5 signature: de4e2652f2ad0c2c1311b2378022ff48 ******/ %feature("compactdefaultargs") D2; - %feature("autodoc", "Computes the point

, the first derivative and second derivative of parameter and on the surface . - + %feature("autodoc", " Parameters ---------- S: BRepAdaptor_Surface @@ -872,17 +1002,20 @@ D2U: gp_Vec D2V: gp_Vec DUV: gp_Vec -Returns +Return ------- None + +Description +----------- +Computes the point

, the first derivative and second derivative of parameter and on the Surface . ") 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 ******************/ - /**** md5 signature: 1825dd18a8c364e4f7501ee91f1451c8 ****/ + /****** BRepLProp_SurfaceTool::DN ******/ + /****** md5 signature: 1825dd18a8c364e4f7501ee91f1451c8 ******/ %feature("compactdefaultargs") DN; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: BRepAdaptor_Surface @@ -891,17 +1024,20 @@ V: float IU: int IV: int -Returns +Return ------- gp_Vec + +Description +----------- +No available documentation. ") 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); - /****************** Value ******************/ - /**** md5 signature: 9a6a14f79920621cefc6c72b5af26b36 ****/ + /****** BRepLProp_SurfaceTool::Value ******/ + /****** md5 signature: 9a6a14f79920621cefc6c72b5af26b36 ******/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Computes the point

of parameter and on the surface . - + %feature("autodoc", " Parameters ---------- S: BRepAdaptor_Surface @@ -909,9 +1045,13 @@ U: float V: float P: gp_Pnt -Returns +Return ------- None + +Description +----------- +Computes the point

of parameter and on the Surface . ") Value; static void Value(const BRepAdaptor_Surface & S, const Standard_Real U, const Standard_Real V, gp_Pnt & P); @@ -930,3 +1070,66 @@ None /* class aliases */ %pythoncode { } +/* deprecated methods */ +%pythoncode { +@deprecated +def breplprop_Continuity(*args): + return breplprop.Continuity(*args) + +@deprecated +def breplprop_Continuity(*args): + return breplprop.Continuity(*args) + +@deprecated +def BRepLProp_CurveTool_Continuity(*args): + return BRepLProp_CurveTool.Continuity(*args) + +@deprecated +def BRepLProp_CurveTool_D1(*args): + return BRepLProp_CurveTool.D1(*args) + +@deprecated +def BRepLProp_CurveTool_D2(*args): + return BRepLProp_CurveTool.D2(*args) + +@deprecated +def BRepLProp_CurveTool_D3(*args): + return BRepLProp_CurveTool.D3(*args) + +@deprecated +def BRepLProp_CurveTool_FirstParameter(*args): + return BRepLProp_CurveTool.FirstParameter(*args) + +@deprecated +def BRepLProp_CurveTool_LastParameter(*args): + return BRepLProp_CurveTool.LastParameter(*args) + +@deprecated +def BRepLProp_CurveTool_Value(*args): + return BRepLProp_CurveTool.Value(*args) + +@deprecated +def BRepLProp_SurfaceTool_Bounds(*args): + return BRepLProp_SurfaceTool.Bounds(*args) + +@deprecated +def BRepLProp_SurfaceTool_Continuity(*args): + return BRepLProp_SurfaceTool.Continuity(*args) + +@deprecated +def BRepLProp_SurfaceTool_D1(*args): + return BRepLProp_SurfaceTool.D1(*args) + +@deprecated +def BRepLProp_SurfaceTool_D2(*args): + return BRepLProp_SurfaceTool.D2(*args) + +@deprecated +def BRepLProp_SurfaceTool_DN(*args): + return BRepLProp_SurfaceTool.DN(*args) + +@deprecated +def BRepLProp_SurfaceTool_Value(*args): + return BRepLProp_SurfaceTool.Value(*args) + +} diff --git a/src/SWIG_files/wrapper/BRepLProp.pyi b/src/SWIG_files/wrapper/BRepLProp.pyi index 8d799f213..0776eb202 100644 --- a/src/SWIG_files/wrapper/BRepLProp.pyi +++ b/src/SWIG_files/wrapper/BRepLProp.pyi @@ -7,109 +7,121 @@ from OCC.Core.BRepAdaptor import * from OCC.Core.GeomAbs import * from OCC.Core.gp import * - class breplprop: - @overload - @staticmethod - def Continuity(C1: BRepAdaptor_Curve, C2: BRepAdaptor_Curve, u1: float, u2: float, tl: float, ta: float) -> GeomAbs_Shape: ... - @overload - @staticmethod - def Continuity(C1: BRepAdaptor_Curve, C2: BRepAdaptor_Curve, u1: float, u2: float) -> GeomAbs_Shape: ... + @overload + @staticmethod + def Continuity( + C1: BRepAdaptor_Curve, + C2: BRepAdaptor_Curve, + u1: float, + u2: float, + tl: float, + ta: float, + ) -> GeomAbs_Shape: ... + @overload + @staticmethod + def Continuity( + C1: BRepAdaptor_Curve, C2: BRepAdaptor_Curve, u1: float, u2: float + ) -> GeomAbs_Shape: ... class BRepLProp_CLProps: - @overload - def __init__(self, C: BRepAdaptor_Curve, N: int, Resolution: float) -> None: ... - @overload - def __init__(self, C: BRepAdaptor_Curve, U: float, N: int, Resolution: float) -> None: ... - @overload - def __init__(self, N: int, Resolution: float) -> None: ... - def CentreOfCurvature(self, P: gp_Pnt) -> None: ... - def Curvature(self) -> float: ... - def D1(self) -> gp_Vec: ... - def D2(self) -> gp_Vec: ... - def D3(self) -> gp_Vec: ... - def IsTangentDefined(self) -> bool: ... - def Normal(self, N: gp_Dir) -> None: ... - def SetCurve(self, C: BRepAdaptor_Curve) -> None: ... - def SetParameter(self, U: float) -> None: ... - def Tangent(self, D: gp_Dir) -> None: ... - def Value(self) -> gp_Pnt: ... + @overload + def __init__(self, C: BRepAdaptor_Curve, N: int, Resolution: float) -> None: ... + @overload + def __init__( + self, C: BRepAdaptor_Curve, U: float, N: int, Resolution: float + ) -> None: ... + @overload + def __init__(self, N: int, Resolution: float) -> None: ... + def CentreOfCurvature(self, P: gp_Pnt) -> None: ... + def Curvature(self) -> float: ... + def D1(self) -> gp_Vec: ... + def D2(self) -> gp_Vec: ... + def D3(self) -> gp_Vec: ... + def IsTangentDefined(self) -> bool: ... + def Normal(self, N: gp_Dir) -> None: ... + def SetCurve(self, C: BRepAdaptor_Curve) -> None: ... + def SetParameter(self, U: float) -> None: ... + def Tangent(self, D: gp_Dir) -> None: ... + def Value(self) -> gp_Pnt: ... class BRepLProp_CurveTool: - @staticmethod - def Continuity(C: BRepAdaptor_Curve) -> int: ... - @staticmethod - def D1(C: BRepAdaptor_Curve, U: float, P: gp_Pnt, V1: gp_Vec) -> None: ... - @staticmethod - def D2(C: BRepAdaptor_Curve, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec) -> None: ... - @staticmethod - def D3(C: BRepAdaptor_Curve, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec, V3: gp_Vec) -> None: ... - @staticmethod - def FirstParameter(C: BRepAdaptor_Curve) -> float: ... - @staticmethod - def LastParameter(C: BRepAdaptor_Curve) -> float: ... - @staticmethod - def Value(C: BRepAdaptor_Curve, U: float, P: gp_Pnt) -> None: ... + @staticmethod + def Continuity(C: BRepAdaptor_Curve) -> int: ... + @staticmethod + def D1(C: BRepAdaptor_Curve, U: float, P: gp_Pnt, V1: gp_Vec) -> None: ... + @staticmethod + def D2( + C: BRepAdaptor_Curve, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec + ) -> None: ... + @staticmethod + def D3( + C: BRepAdaptor_Curve, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec, V3: gp_Vec + ) -> None: ... + @staticmethod + def FirstParameter(C: BRepAdaptor_Curve) -> float: ... + @staticmethod + def LastParameter(C: BRepAdaptor_Curve) -> float: ... + @staticmethod + def Value(C: BRepAdaptor_Curve, U: float, P: gp_Pnt) -> None: ... class BRepLProp_SLProps: - @overload - def __init__(self, S: BRepAdaptor_Surface, U: float, V: float, N: int, Resolution: float) -> None: ... - @overload - def __init__(self, S: BRepAdaptor_Surface, N: int, Resolution: float) -> None: ... - @overload - def __init__(self, N: int, Resolution: float) -> None: ... - def CurvatureDirections(self, MaxD: gp_Dir, MinD: gp_Dir) -> None: ... - def D1U(self) -> gp_Vec: ... - def D1V(self) -> gp_Vec: ... - def D2U(self) -> gp_Vec: ... - def D2V(self) -> gp_Vec: ... - def DUV(self) -> gp_Vec: ... - def GaussianCurvature(self) -> float: ... - def IsCurvatureDefined(self) -> bool: ... - def IsNormalDefined(self) -> bool: ... - def IsTangentUDefined(self) -> bool: ... - def IsTangentVDefined(self) -> bool: ... - def IsUmbilic(self) -> bool: ... - def MaxCurvature(self) -> float: ... - def MeanCurvature(self) -> float: ... - def MinCurvature(self) -> float: ... - def Normal(self) -> gp_Dir: ... - def SetParameters(self, U: float, V: float) -> None: ... - def SetSurface(self, S: BRepAdaptor_Surface) -> None: ... - def TangentU(self, D: gp_Dir) -> None: ... - def TangentV(self, D: gp_Dir) -> None: ... - def Value(self) -> gp_Pnt: ... + @overload + def __init__( + self, S: BRepAdaptor_Surface, U: float, V: float, N: int, Resolution: float + ) -> None: ... + @overload + def __init__(self, S: BRepAdaptor_Surface, N: int, Resolution: float) -> None: ... + @overload + def __init__(self, N: int, Resolution: float) -> None: ... + def CurvatureDirections(self, MaxD: gp_Dir, MinD: gp_Dir) -> None: ... + def D1U(self) -> gp_Vec: ... + def D1V(self) -> gp_Vec: ... + def D2U(self) -> gp_Vec: ... + def D2V(self) -> gp_Vec: ... + def DUV(self) -> gp_Vec: ... + def GaussianCurvature(self) -> float: ... + def IsCurvatureDefined(self) -> bool: ... + def IsNormalDefined(self) -> bool: ... + def IsTangentUDefined(self) -> bool: ... + def IsTangentVDefined(self) -> bool: ... + def IsUmbilic(self) -> bool: ... + def MaxCurvature(self) -> float: ... + def MeanCurvature(self) -> float: ... + def MinCurvature(self) -> float: ... + def Normal(self) -> gp_Dir: ... + def SetParameters(self, U: float, V: float) -> None: ... + def SetSurface(self, S: BRepAdaptor_Surface) -> None: ... + def TangentU(self, D: gp_Dir) -> None: ... + def TangentV(self, D: gp_Dir) -> None: ... + def Value(self) -> gp_Pnt: ... class BRepLProp_SurfaceTool: - @staticmethod - def Bounds(S: BRepAdaptor_Surface) -> Tuple[float, float, float, float]: ... - @staticmethod - def Continuity(S: BRepAdaptor_Surface) -> int: ... - @staticmethod - def D1(S: BRepAdaptor_Surface, U: float, V: float, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec) -> None: ... - @staticmethod - def D2(S: BRepAdaptor_Surface, U: float, V: float, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec, D2U: gp_Vec, D2V: gp_Vec, DUV: gp_Vec) -> None: ... - @staticmethod - def DN(S: BRepAdaptor_Surface, U: float, V: float, IU: int, IV: int) -> gp_Vec: ... - @staticmethod - def Value(S: BRepAdaptor_Surface, U: float, V: float, P: gp_Pnt) -> None: ... + @staticmethod + def Bounds(S: BRepAdaptor_Surface) -> Tuple[float, float, float, float]: ... + @staticmethod + def Continuity(S: BRepAdaptor_Surface) -> int: ... + @staticmethod + def D1( + S: BRepAdaptor_Surface, U: float, V: float, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec + ) -> None: ... + @staticmethod + def D2( + S: BRepAdaptor_Surface, + U: float, + V: float, + P: gp_Pnt, + D1U: gp_Vec, + D1V: gp_Vec, + D2U: gp_Vec, + D2V: gp_Vec, + DUV: gp_Vec, + ) -> None: ... + @staticmethod + def DN(S: BRepAdaptor_Surface, U: float, V: float, IU: int, IV: int) -> gp_Vec: ... + @staticmethod + def Value(S: BRepAdaptor_Surface, U: float, V: float, P: gp_Pnt) -> None: ... # harray1 classes # harray2 classes # hsequence classes - -breplprop_Continuity = breplprop.Continuity -breplprop_Continuity = breplprop.Continuity -BRepLProp_CurveTool_Continuity = BRepLProp_CurveTool.Continuity -BRepLProp_CurveTool_D1 = BRepLProp_CurveTool.D1 -BRepLProp_CurveTool_D2 = BRepLProp_CurveTool.D2 -BRepLProp_CurveTool_D3 = BRepLProp_CurveTool.D3 -BRepLProp_CurveTool_FirstParameter = BRepLProp_CurveTool.FirstParameter -BRepLProp_CurveTool_LastParameter = BRepLProp_CurveTool.LastParameter -BRepLProp_CurveTool_Value = BRepLProp_CurveTool.Value -BRepLProp_SurfaceTool_Bounds = BRepLProp_SurfaceTool.Bounds -BRepLProp_SurfaceTool_Continuity = BRepLProp_SurfaceTool.Continuity -BRepLProp_SurfaceTool_D1 = BRepLProp_SurfaceTool.D1 -BRepLProp_SurfaceTool_D2 = BRepLProp_SurfaceTool.D2 -BRepLProp_SurfaceTool_DN = BRepLProp_SurfaceTool.DN -BRepLProp_SurfaceTool_Value = BRepLProp_SurfaceTool.Value diff --git a/src/SWIG_files/wrapper/BRepLib.i b/src/SWIG_files/wrapper/BRepLib.i index 8e60f4ee4..cd819583e 100644 --- a/src/SWIG_files/wrapper/BRepLib.i +++ b/src/SWIG_files/wrapper/BRepLib.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPLIBDOCSTRING "BRepLib module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_breplib.html" +https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_breplib.html" %enddef %module (package="OCC.Core", docstring=BREPLIBDOCSTRING) BRepLib @@ -31,8 +31,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_breplib.html" %include ../common/CommonIncludes.i %include ../common/ExceptionCatcher.i %include ../common/FunctionTransformers.i +%include ../common/EnumTemplates.i %include ../common/Operators.i %include ../common/OccHandle.i +%include ../common/IOStream.i +%include ../common/ArrayMacros.i %{ @@ -50,6 +53,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_breplib.html" #include #include #include +#include #include #include #include @@ -73,6 +77,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_breplib.html" %import Geom.i %import BRepTools.i %import TopLoc.i +%import Poly.i %pythoncode { from enum import IntEnum @@ -90,11 +95,12 @@ enum BRepLib_EdgeError { BRepLib_LineThroughIdenticPoints = 6, }; -enum BRepLib_ShellError { - BRepLib_ShellDone = 0, - BRepLib_EmptyShell = 1, - BRepLib_DisconnectedShell = 2, - BRepLib_ShellParametersOutOfRange = 3, +enum BRepLib_FaceError { + BRepLib_FaceDone = 0, + BRepLib_NoFace = 1, + BRepLib_NotPlanar = 2, + BRepLib_CurveProjectionFailed = 3, + BRepLib_ParametersOutOfRange = 4, }; enum BRepLib_ShapeModification { @@ -105,6 +111,13 @@ enum BRepLib_ShapeModification { BRepLib_BoundaryModified = 4, }; +enum BRepLib_ShellError { + BRepLib_ShellDone = 0, + BRepLib_EmptyShell = 1, + BRepLib_DisconnectedShell = 2, + BRepLib_ShellParametersOutOfRange = 3, +}; + enum BRepLib_WireError { BRepLib_WireDone = 0, BRepLib_EmptyWire = 1, @@ -112,17 +125,9 @@ enum BRepLib_WireError { BRepLib_NonManifoldWire = 3, }; -enum BRepLib_FaceError { - BRepLib_FaceDone = 0, - BRepLib_NoFace = 1, - BRepLib_NotPlanar = 2, - BRepLib_CurveProjectionFailed = 3, - BRepLib_ParametersOutOfRange = 4, -}; - /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class BRepLib_EdgeError(IntEnum): @@ -141,15 +146,17 @@ BRepLib_PointWithInfiniteParameter = BRepLib_EdgeError.BRepLib_PointWithInfinite BRepLib_DifferentsPointAndParameter = BRepLib_EdgeError.BRepLib_DifferentsPointAndParameter BRepLib_LineThroughIdenticPoints = BRepLib_EdgeError.BRepLib_LineThroughIdenticPoints -class BRepLib_ShellError(IntEnum): - BRepLib_ShellDone = 0 - BRepLib_EmptyShell = 1 - BRepLib_DisconnectedShell = 2 - BRepLib_ShellParametersOutOfRange = 3 -BRepLib_ShellDone = BRepLib_ShellError.BRepLib_ShellDone -BRepLib_EmptyShell = BRepLib_ShellError.BRepLib_EmptyShell -BRepLib_DisconnectedShell = BRepLib_ShellError.BRepLib_DisconnectedShell -BRepLib_ShellParametersOutOfRange = BRepLib_ShellError.BRepLib_ShellParametersOutOfRange +class BRepLib_FaceError(IntEnum): + BRepLib_FaceDone = 0 + BRepLib_NoFace = 1 + BRepLib_NotPlanar = 2 + BRepLib_CurveProjectionFailed = 3 + BRepLib_ParametersOutOfRange = 4 +BRepLib_FaceDone = BRepLib_FaceError.BRepLib_FaceDone +BRepLib_NoFace = BRepLib_FaceError.BRepLib_NoFace +BRepLib_NotPlanar = BRepLib_FaceError.BRepLib_NotPlanar +BRepLib_CurveProjectionFailed = BRepLib_FaceError.BRepLib_CurveProjectionFailed +BRepLib_ParametersOutOfRange = BRepLib_FaceError.BRepLib_ParametersOutOfRange class BRepLib_ShapeModification(IntEnum): BRepLib_Preserved = 0 @@ -163,6 +170,16 @@ BRepLib_Trimmed = BRepLib_ShapeModification.BRepLib_Trimmed BRepLib_Merged = BRepLib_ShapeModification.BRepLib_Merged BRepLib_BoundaryModified = BRepLib_ShapeModification.BRepLib_BoundaryModified +class BRepLib_ShellError(IntEnum): + BRepLib_ShellDone = 0 + BRepLib_EmptyShell = 1 + BRepLib_DisconnectedShell = 2 + BRepLib_ShellParametersOutOfRange = 3 +BRepLib_ShellDone = BRepLib_ShellError.BRepLib_ShellDone +BRepLib_EmptyShell = BRepLib_ShellError.BRepLib_EmptyShell +BRepLib_DisconnectedShell = BRepLib_ShellError.BRepLib_DisconnectedShell +BRepLib_ShellParametersOutOfRange = BRepLib_ShellError.BRepLib_ShellParametersOutOfRange + class BRepLib_WireError(IntEnum): BRepLib_WireDone = 0 BRepLib_EmptyWire = 1 @@ -172,18 +189,6 @@ BRepLib_WireDone = BRepLib_WireError.BRepLib_WireDone BRepLib_EmptyWire = BRepLib_WireError.BRepLib_EmptyWire BRepLib_DisconnectedWire = BRepLib_WireError.BRepLib_DisconnectedWire BRepLib_NonManifoldWire = BRepLib_WireError.BRepLib_NonManifoldWire - -class BRepLib_FaceError(IntEnum): - BRepLib_FaceDone = 0 - BRepLib_NoFace = 1 - BRepLib_NotPlanar = 2 - BRepLib_CurveProjectionFailed = 3 - BRepLib_ParametersOutOfRange = 4 -BRepLib_FaceDone = BRepLib_FaceError.BRepLib_FaceDone -BRepLib_NoFace = BRepLib_FaceError.BRepLib_NoFace -BRepLib_NotPlanar = BRepLib_FaceError.BRepLib_NotPlanar -BRepLib_CurveProjectionFailed = BRepLib_FaceError.BRepLib_CurveProjectionFailed -BRepLib_ParametersOutOfRange = BRepLib_FaceError.BRepLib_ParametersOutOfRange }; /* end python proxy for enums */ @@ -202,210 +207,250 @@ BRepLib_ParametersOutOfRange = BRepLib_FaceError.BRepLib_ParametersOutOfRange %rename(breplib) BRepLib; class BRepLib { public: - /****************** BoundingVertex ******************/ - /**** md5 signature: 9d6407d339f4bd152392962cf95ced95 ****/ + /****** BRepLib::BoundingVertex ******/ + /****** md5 signature: 9d6407d339f4bd152392962cf95ced95 ******/ %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. - + %feature("autodoc", " Parameters ---------- theLV: NCollection_List theNewCenter: gp_Pnt -Returns +Return ------- theNewTol: float + +Description +----------- +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. ") BoundingVertex; static void BoundingVertex(const NCollection_List & theLV, gp_Pnt & theNewCenter, Standard_Real &OutValue); - /****************** BuildCurve3d ******************/ - /**** md5 signature: d8e9099e9a30a929518b09d1cd9244fb ****/ + /****** BRepLib::BuildCurve3d ******/ + /****** md5 signature: d8e9099e9a30a929518b09d1cd9244fb ******/ %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", " Parameters ---------- E: TopoDS_Edge -Tolerance: float,optional - default value is 1.0e-5 -Continuity: GeomAbs_Shape,optional - default value is GeomAbs_C1 -MaxDegree: int,optional - default value is 14 -MaxSegment: int,optional - default value is 0 +Tolerance: float (optional, default to 1.0e-5) +Continuity: GeomAbs_Shape (optional, default to GeomAbs_C1) +MaxDegree: int (optional, default to 14) +MaxSegment: int (optional, default to 0) -Returns +Return ------- bool + +Description +----------- +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. ") 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); - /****************** BuildCurves3d ******************/ - /**** md5 signature: f2e476cec2d67740b544a128660a06ff ****/ + /****** BRepLib::BuildCurves3d ******/ + /****** md5 signature: f2e476cec2d67740b544a128660a06ff ******/ %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. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape Tolerance: float -Continuity: GeomAbs_Shape,optional - default value is GeomAbs_C1 -MaxDegree: int,optional - default value is 14 -MaxSegment: int,optional - default value is 0 +Continuity: GeomAbs_Shape (optional, default to GeomAbs_C1) +MaxDegree: int (optional, default to 14) +MaxSegment: int (optional, default to 0) -Returns +Return ------- bool + +Description +----------- +Computes the 3d curves for all the edges of return False if one of the computation failed. >= 30 in approximation. ") 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); - /****************** BuildCurves3d ******************/ - /**** md5 signature: 204d092b783dfacd75dfb95b12784384 ****/ + /****** BRepLib::BuildCurves3d ******/ + /****** md5 signature: 204d092b783dfacd75dfb95b12784384 ******/ %feature("compactdefaultargs") BuildCurves3d; - %feature("autodoc", "Computes the 3d curves for all the edges of return false if one of the computation failed. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- bool + +Description +----------- +Computes the 3d curves for all the edges of return False if one of the computation failed. ") BuildCurves3d; static Standard_Boolean BuildCurves3d(const TopoDS_Shape & S); - /****************** BuildPCurveForEdgeOnPlane ******************/ - /**** md5 signature: eb2eaf6bd1e25fb580fd234600800513 ****/ + /****** BRepLib::BuildPCurveForEdgeOnPlane ******/ + /****** md5 signature: eb2eaf6bd1e25fb580fd234600800513 ******/ %feature("compactdefaultargs") BuildPCurveForEdgeOnPlane; - %feature("autodoc", "Builds pcurve of edge on face if the surface is plane, and updates the edge. - + %feature("autodoc", " Parameters ---------- theE: TopoDS_Edge theF: TopoDS_Face -Returns +Return ------- None + +Description +----------- +Builds pcurve of edge on face if the surface is plane, and updates the edge. ") BuildPCurveForEdgeOnPlane; static void BuildPCurveForEdgeOnPlane(const TopoDS_Edge & theE, const TopoDS_Face & theF); - /****************** BuildPCurveForEdgeOnPlane ******************/ - /**** md5 signature: 74f8fb705bcddf6e8ff15664dc8d47b7 ****/ + /****** BRepLib::BuildPCurveForEdgeOnPlane ******/ + /****** md5 signature: 74f8fb705bcddf6e8ff15664dc8d47b7 ******/ %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. - + %feature("autodoc", " Parameters ---------- theE: TopoDS_Edge theF: TopoDS_Face aC2D: Geom2d_Curve -Returns +Return ------- bToUpdate: bool + +Description +----------- +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. ") BuildPCurveForEdgeOnPlane; static void BuildPCurveForEdgeOnPlane(const TopoDS_Edge & theE, const TopoDS_Face & theF, opencascade::handle & aC2D, Standard_Boolean &OutValue); - /****************** CheckSameRange ******************/ - /**** md5 signature: d9ef2cd4ef3374a22ba2fd4a9050572c ****/ + /****** BRepLib::CheckSameRange ******/ + /****** md5 signature: d9ef2cd4ef3374a22ba2fd4a9050572c ******/ %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. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge -Confusion: float,optional - default value is 1.0e-12 +Confusion: float (optional, default to 1.0e-12) -Returns +Return ------- bool + +Description +----------- +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. ") CheckSameRange; static Standard_Boolean CheckSameRange(const TopoDS_Edge & E, const Standard_Real Confusion = 1.0e-12); - /****************** EncodeRegularity ******************/ - /**** md5 signature: 19c910eb7197237b12eb01c92eebe9e5 ****/ - %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. + /****** BRepLib::ContinuityOfFaces ******/ + /****** md5 signature: 2405b9a750027ac7614f072b1358fffc ******/ + %feature("compactdefaultargs") ContinuityOfFaces; + %feature("autodoc", " +Parameters +---------- +theEdge: TopoDS_Edge +theFace1: TopoDS_Face +theFace2: TopoDS_Face +theAngleTol: float + +Return +------- +GeomAbs_Shape +Description +----------- +Returns the order of continuity between two faces connected by an edge. +") ContinuityOfFaces; + static GeomAbs_Shape ContinuityOfFaces(const TopoDS_Edge & theEdge, const TopoDS_Face & theFace1, const TopoDS_Face & theFace2, const Standard_Real theAngleTol); + + /****** BRepLib::EncodeRegularity ******/ + /****** md5 signature: 19c910eb7197237b12eb01c92eebe9e5 ******/ + %feature("compactdefaultargs") EncodeRegularity; + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -TolAng: float,optional - default value is 1.0e-10 +TolAng: float (optional, default to 1.0e-10) -Returns +Return ------- None + +Description +----------- +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. ") EncodeRegularity; static void EncodeRegularity(const TopoDS_Shape & S, const Standard_Real TolAng = 1.0e-10); - /****************** EncodeRegularity ******************/ - /**** md5 signature: 0fb005a839a1ca0e40b83d5aa3066041 ****/ + /****** BRepLib::EncodeRegularity ******/ + /****** md5 signature: 0fb005a839a1ca0e40b83d5aa3066041 ******/ %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. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape LE: TopTools_ListOfShape -TolAng: float,optional - default value is 1.0e-10 +TolAng: float (optional, default to 1.0e-10) -Returns +Return ------- None + +Description +----------- +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. ") EncodeRegularity; static void EncodeRegularity(const TopoDS_Shape & S, const TopTools_ListOfShape & LE, const Standard_Real TolAng = 1.0e-10); - /****************** EncodeRegularity ******************/ - /**** md5 signature: 172eaf1d13de1fe1ad03867f4f67dce0 ****/ + /****** BRepLib::EncodeRegularity ******/ + /****** md5 signature: 172eaf1d13de1fe1ad03867f4f67dce0 ******/ %feature("compactdefaultargs") EncodeRegularity; - %feature("autodoc", "Encodes the regularity beetween and by warning: is an angular tolerance, expressed in rad. warning: if the edge's regularity is coded before, nothing is done. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge F1: TopoDS_Face F2: TopoDS_Face -TolAng: float,optional - default value is 1.0e-10 +TolAng: float (optional, default to 1.0e-10) -Returns +Return ------- None + +Description +----------- +Encodes the Regularity between and by Warning: is an angular tolerance, expressed in Rad. Warning: If the edge's regularity is coded before, nothing is done. ") EncodeRegularity; static void EncodeRegularity(TopoDS_Edge & E, const TopoDS_Face & F1, const TopoDS_Face & F2, const Standard_Real TolAng = 1.0e-10); - /****************** EnsureNormalConsistency ******************/ - /**** md5 signature: 333cd3af6b2fdcd6cde8b593c31284a9 ****/ + /****** BRepLib::EnsureNormalConsistency ******/ + /****** md5 signature: 333cd3af6b2fdcd6cde8b593c31284a9 ******/ %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. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -theAngTol: float,optional - default value is 0.001 -ForceComputeNormals: bool,optional - default value is Standard_False +theAngTol: float (optional, default to 0.001) +ForceComputeNormals: bool (optional, default to Standard_False) -Returns +Return ------- bool + +Description +----------- +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. ") EnsureNormalConsistency; static Standard_Boolean EnsureNormalConsistency(const TopoDS_Shape & S, const Standard_Real theAngTol = 0.001, const Standard_Boolean ForceComputeNormals = Standard_False); - /****************** ExtendFace ******************/ - /**** md5 signature: b2c07a72140e36de05af305bcd484489 ****/ + /****** BRepLib::ExtendFace ******/ + /****** md5 signature: b2c07a72140e36de05af305bcd484489 ******/ %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. - + %feature("autodoc", " Parameters ---------- theF: TopoDS_Face @@ -416,17 +461,27 @@ theExtVMin: bool theExtVMax: bool theFExtended: TopoDS_Face -Returns +Return ------- None + +Description +----------- +Enlarges the face on the given value. +Input parameter: theF The face to extend +Input parameter: theExtVal The extension value +Input parameter: theExtUMin Defines whether to extend the face in UMin direction +Input parameter: theExtUMax Defines whether to extend the face in UMax direction +Input parameter: theExtVMin Defines whether to extend the face in VMin direction +Input parameter: theExtVMax Defines whether to extend the face in VMax direction +Input parameter: theFExtended The extended face. ") 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 ******************/ - /**** md5 signature: 5d83ca03919e4732c16bdd3ceefc7d56 ****/ + /****** BRepLib::FindValidRange ******/ + /****** md5 signature: 5d83ca03919e4732c16bdd3ceefc7d56 ******/ %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. - + %feature("autodoc", " Parameters ---------- theCurve: Adaptor3d_Curve @@ -438,299 +493,365 @@ theParV2: float thePntV2: gp_Pnt theTolV2: float -Returns +Return ------- theFirst: float theLast: float + +Description +----------- +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. ") 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 ******************/ - /**** md5 signature: 16a8dd6346bc70745b1437c644d131d2 ****/ + /****** BRepLib::FindValidRange ******/ + /****** md5 signature: 16a8dd6346bc70745b1437c644d131d2 ******/ %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. - + %feature("autodoc", " Parameters ---------- theEdge: TopoDS_Edge -Returns +Return ------- theFirst: float theLast: float + +Description +----------- +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. ") FindValidRange; static Standard_Boolean FindValidRange(const TopoDS_Edge & theEdge, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** OrientClosedSolid ******************/ - /**** md5 signature: cde24280a2621155ab6f58b7cc92c489 ****/ + /****** BRepLib::OrientClosedSolid ******/ + /****** md5 signature: cde24280a2621155ab6f58b7cc92c489 ******/ %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). - + %feature("autodoc", " Parameters ---------- solid: TopoDS_Solid -Returns +Return ------- bool + +Description +----------- +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). ") OrientClosedSolid; static Standard_Boolean OrientClosedSolid(TopoDS_Solid & solid); - /****************** Plane ******************/ - /**** md5 signature: 215779db6a724a03f9f8ce477370cef4 ****/ + /****** BRepLib::Plane ******/ + /****** md5 signature: 215779db6a724a03f9f8ce477370cef4 ******/ %feature("compactdefaultargs") Plane; - %feature("autodoc", "Sets the current plane to p. - + %feature("autodoc", " Parameters ---------- P: Geom_Plane -Returns +Return ------- None + +Description +----------- +Sets the current plane to P. ") Plane; static void Plane(const opencascade::handle & P); - /****************** Plane ******************/ - /**** md5 signature: 6d27cd1f706ac4d5f7ea5e003d1302b0 ****/ + /****** BRepLib::Plane ******/ + /****** md5 signature: 6d27cd1f706ac4d5f7ea5e003d1302b0 ******/ %feature("compactdefaultargs") Plane; - %feature("autodoc", "Returns the current plane. - -Returns + %feature("autodoc", "Return ------- opencascade::handle + +Description +----------- +Returns the current plane. ") Plane; static const opencascade::handle & Plane(); - /****************** Precision ******************/ - /**** md5 signature: ced9db4ac4e8a407df5972bac5488688 ****/ + /****** BRepLib::Precision ******/ + /****** md5 signature: ced9db4ac4e8a407df5972bac5488688 ******/ %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. - + %feature("autodoc", " Parameters ---------- P: float -Returns +Return ------- None + +Description +----------- +Computes the max distance between edge and its 2d representation on the face. Sets the default precision. The current Precision is returned. ") Precision; static void Precision(const Standard_Real P); - /****************** Precision ******************/ - /**** md5 signature: 5a0c763be80263f1e28f9182713f12dc ****/ + /****** BRepLib::Precision ******/ + /****** md5 signature: 5a0c763be80263f1e28f9182713f12dc ******/ %feature("compactdefaultargs") Precision; - %feature("autodoc", "Returns the default precision. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns the default precision. ") Precision; static Standard_Real Precision(); - /****************** ReverseSortFaces ******************/ - /**** md5 signature: 5c834edf3fced01cd530658b4e20344b ****/ + /****** BRepLib::ReverseSortFaces ******/ + /****** md5 signature: 5c834edf3fced01cd530658b4e20344b ******/ %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). - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape LF: TopTools_ListOfShape -Returns +Return ------- None + +Description +----------- +Sorts in LF the Faces of S on the reverse complexity of their surfaces (other,Torus,Sphere,Cone,Cylinder,Plane). ") ReverseSortFaces; static void ReverseSortFaces(const TopoDS_Shape & S, TopTools_ListOfShape & LF); - /****************** SameParameter ******************/ - /**** md5 signature: 5c5d4240cd8907cefccc80b8b3ea011e ****/ + /****** BRepLib::SameParameter ******/ + /****** md5 signature: 5c5d4240cd8907cefccc80b8b3ea011e ******/ %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. - + %feature("autodoc", " Parameters ---------- theEdge: TopoDS_Edge -Tolerance: float,optional - default value is 1.0e-5 +Tolerance: float (optional, default to 1.0e-5) -Returns +Return ------- None + +Description +----------- +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. ") SameParameter; static void SameParameter(const TopoDS_Edge & theEdge, const Standard_Real Tolerance = 1.0e-5); - /****************** SameParameter ******************/ - /**** md5 signature: b4fbeb89b4594cf9352322c9856b5950 ****/ + /****** BRepLib::SameParameter ******/ + /****** md5 signature: b4fbeb89b4594cf9352322c9856b5950 ******/ %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. - + %feature("autodoc", " Parameters ---------- theEdge: TopoDS_Edge theTolerance: float IsUseOldEdge: bool -Returns +Return ------- theNewTol: float + +Description +----------- +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. ") SameParameter; static TopoDS_Edge SameParameter(const TopoDS_Edge & theEdge, const Standard_Real theTolerance, Standard_Real &OutValue, const Standard_Boolean IsUseOldEdge); - /****************** SameParameter ******************/ - /**** md5 signature: 2b6345dbc9df15880edd16e53a03b47f ****/ + /****** BRepLib::SameParameter ******/ + /****** md5 signature: 2b6345dbc9df15880edd16e53a03b47f ******/ %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. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Tolerance: float,optional - default value is 1.0e-5 -forced: bool,optional - default value is Standard_False +Tolerance: float (optional, default to 1.0e-5) +forced: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +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. ") SameParameter; static void SameParameter(const TopoDS_Shape & S, const Standard_Real Tolerance = 1.0e-5, const Standard_Boolean forced = Standard_False); - /****************** SameParameter ******************/ - /**** md5 signature: cfb21365f9a6e6262e51c4374bfdfcc0 ****/ + /****** BRepLib::SameParameter ******/ + /****** md5 signature: cfb21365f9a6e6262e51c4374bfdfcc0 ******/ %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. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape theReshaper: BRepTools_ReShape -Tolerance: float,optional - default value is 1.0e-5 -forced: bool,optional - default value is Standard_False +Tolerance: float (optional, default to 1.0e-5) +forced: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +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. ") SameParameter; static void SameParameter(const TopoDS_Shape & S, BRepTools_ReShape & theReshaper, const Standard_Real Tolerance = 1.0e-5, const Standard_Boolean forced = Standard_False); - /****************** SameRange ******************/ - /**** md5 signature: e07686d7b9c2e87d078e9cf28f531b62 ****/ + /****** BRepLib::SameRange ******/ + /****** md5 signature: e07686d7b9c2e87d078e9cf28f531b62 ******/ %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. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge -Tolerance: float,optional - default value is 1.0e-5 +Tolerance: float (optional, default to 1.0e-5) -Returns +Return ------- None + +Description +----------- +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. ") SameRange; static void SameRange(const TopoDS_Edge & E, const Standard_Real Tolerance = 1.0e-5); - /****************** SortFaces ******************/ - /**** md5 signature: c670dbe0a47983eb81dd61ba0887f298 ****/ + /****** BRepLib::SortFaces ******/ + /****** md5 signature: c670dbe0a47983eb81dd61ba0887f298 ******/ %feature("compactdefaultargs") SortFaces; - %feature("autodoc", "Sorts in lf the faces of s on the complexity of their surfaces (plane,cylinder,cone,sphere,torus,other). - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape LF: TopTools_ListOfShape -Returns +Return ------- None + +Description +----------- +Sorts in LF the Faces of S on the complexity of their surfaces (Plane,Cylinder,Cone,Sphere,Torus,other). ") SortFaces; static void SortFaces(const TopoDS_Shape & S, TopTools_ListOfShape & LF); - /****************** UpdateEdgeTol ******************/ - /**** md5 signature: 38bb8b704b359479ae8f63fd5e383848 ****/ - %feature("compactdefaultargs") UpdateEdgeTol; - %feature("autodoc", "Checks if the edge has a tolerance smaller than -- -- -- -- maxtolerancetocheck if so it will compute the radius of -- the cylindrical pipe surface that mintolerancerequest is the minimum tolerance before it is usefull to start testing. usually it should be arround 10e-5 contains all -- the curve represenation of the edge returns true if the edge tolerance had to be updated. + /****** BRepLib::UpdateDeflection ******/ + /****** md5 signature: 76d35fdabbd1c46be0db3f1ad51bcdc9 ******/ + %feature("compactdefaultargs") UpdateDeflection; + %feature("autodoc", " +Parameters +---------- +S: TopoDS_Shape + +Return +------- +None +Description +----------- +Updates value of deflection in Poly_Triangulation of faces by the maximum deviation measured on existing triangulation. +") UpdateDeflection; + static void UpdateDeflection(const TopoDS_Shape & S); + + /****** BRepLib::UpdateEdgeTol ******/ + /****** md5 signature: 38bb8b704b359479ae8f63fd5e383848 ******/ + %feature("compactdefaultargs") UpdateEdgeTol; + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge MinToleranceRequest: float MaxToleranceToCheck: float -Returns +Return ------- bool + +Description +----------- +Checks if the edge has a Tolerance smaller than -- -- -- -- MaxToleranceToCheck if so it will compute the radius of -- the cylindrical pipe surface that MinToleranceRequest is the minimum tolerance before it is useful to start testing. Usually it should be around 10e-5 contains all -- the curve representation of the edge returns True if the Edge tolerance had to be updated. ") UpdateEdgeTol; static Standard_Boolean UpdateEdgeTol(const TopoDS_Edge & E, const Standard_Real MinToleranceRequest, const Standard_Real MaxToleranceToCheck); - /****************** UpdateEdgeTolerance ******************/ - /**** md5 signature: a900570e66aa87edd638ebad627eb240 ****/ + /****** BRepLib::UpdateEdgeTolerance ******/ + /****** md5 signature: a900570e66aa87edd638ebad627eb240 ******/ %feature("compactdefaultargs") UpdateEdgeTolerance; - %feature("autodoc", "-- checks all the edges of the shape whose -- -- -- tolerance is smaller than maxtolerancetocheck -- returns true if at least one edge was updated -- mintolerancerequest is the minimum tolerance before -- it -- is usefull to start testing. usually it should be arround -- 10e-5-- //! warning :the method is very slow as it checks all. use only in interfaces or processing assimilate batch. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape MinToleranceRequest: float MaxToleranceToCheck: float -Returns +Return ------- bool + +Description +----------- +-- Checks all the edges of the shape whose -- -- -- Tolerance is smaller than MaxToleranceToCheck -- Returns True if at least one edge was updated -- MinToleranceRequest is the minimum tolerance before -- it -- is useful to start testing. Usually it should be around -- 10e-5-- //! Warning :The method is very slow as it checks all. Use only in interfaces or processing assimilate batch. ") UpdateEdgeTolerance; static Standard_Boolean UpdateEdgeTolerance(const TopoDS_Shape & S, const Standard_Real MinToleranceRequest, const Standard_Real MaxToleranceToCheck); - /****************** UpdateInnerTolerances ******************/ - /**** md5 signature: f8274e750a439791de5f4024a2905387 ****/ + /****** BRepLib::UpdateInnerTolerances ******/ + /****** md5 signature: f8274e750a439791de5f4024a2905387 ******/ %feature("compactdefaultargs") UpdateInnerTolerances; - %feature("autodoc", "Checks tolerances of edges (including inner points) and vertices of a shape and updates them to satisfy 'sameparameter' condition. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -Returns +Return ------- None + +Description +----------- +Checks tolerances of edges (including inner points) and vertices of a shape and updates them to satisfy 'SameParameter' condition. ") UpdateInnerTolerances; static void UpdateInnerTolerances(const TopoDS_Shape & S); - /****************** UpdateTolerances ******************/ - /**** md5 signature: 0198d839071a3de5f272c500a29a7eae ****/ + /****** BRepLib::UpdateTolerances ******/ + /****** md5 signature: 0198d839071a3de5f272c500a29a7eae ******/ %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). - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape -verifyFaceTolerance: bool,optional - default value is Standard_False +verifyFaceTolerance: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +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). ") UpdateTolerances; static void UpdateTolerances(const TopoDS_Shape & S, const Standard_Boolean verifyFaceTolerance = Standard_False); - /****************** UpdateTolerances ******************/ - /**** md5 signature: d1c1288e8bbb918e38ee02d611522fe2 ****/ + /****** BRepLib::UpdateTolerances ******/ + /****** md5 signature: d1c1288e8bbb918e38ee02d611522fe2 ******/ %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. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shape theReshaper: BRepTools_ReShape -verifyFaceTolerance: bool,optional - default value is Standard_False +verifyFaceTolerance: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +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. ") UpdateTolerances; static void UpdateTolerances(const TopoDS_Shape & S, BRepTools_ReShape & theReshaper, const Standard_Boolean verifyFaceTolerance = Standard_False); @@ -752,167 +873,152 @@ None ************************************/ class BRepLib_CheckCurveOnSurface { public: - /****************** BRepLib_CheckCurveOnSurface ******************/ - /**** md5 signature: 588c2b7becc8474a44af769cd1861cc0 ****/ + /****** BRepLib_CheckCurveOnSurface::BRepLib_CheckCurveOnSurface ******/ + /****** md5 signature: ad4740ee3e59e42d75e2ee6144706591 ******/ %feature("compactdefaultargs") BRepLib_CheckCurveOnSurface; - %feature("autodoc", "Default contructor. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Default constructor. ") BRepLib_CheckCurveOnSurface; BRepLib_CheckCurveOnSurface(); - /****************** BRepLib_CheckCurveOnSurface ******************/ - /**** md5 signature: 4463fa8016612b07a0638ab8e597c79a ****/ + /****** BRepLib_CheckCurveOnSurface::BRepLib_CheckCurveOnSurface ******/ + /****** md5 signature: 4463fa8016612b07a0638ab8e597c79a ******/ %feature("compactdefaultargs") BRepLib_CheckCurveOnSurface; - %feature("autodoc", "Contructor. - + %feature("autodoc", " Parameters ---------- theEdge: TopoDS_Edge theFace: TopoDS_Face -Returns +Return ------- None + +Description +----------- +Constructor. ") BRepLib_CheckCurveOnSurface; BRepLib_CheckCurveOnSurface(const TopoDS_Edge & theEdge, const TopoDS_Face & theFace); - /****************** Curve ******************/ - /**** md5 signature: 62a16889fb975efa1b2de012099c169b ****/ - %feature("compactdefaultargs") Curve; - %feature("autodoc", "Returns source 3d-curve. - -Returns -------- -opencascade::handle -") Curve; - const opencascade::handle & Curve(); - - /****************** ErrorStatus ******************/ - /**** md5 signature: 23ccaf4f25108c0b871675cdf964cbf6 ****/ + /****** BRepLib_CheckCurveOnSurface::ErrorStatus ******/ + /****** md5 signature: 23ccaf4f25108c0b871675cdf964cbf6 ******/ %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. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +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. ") ErrorStatus; Standard_Integer ErrorStatus(); - /****************** Init ******************/ - /**** md5 signature: 2a831d636c2c924d38adfdfa075e8336 ****/ + /****** BRepLib_CheckCurveOnSurface::Init ******/ + /****** md5 signature: 2a831d636c2c924d38adfdfa075e8336 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "Sets the data for the algorithm. - + %feature("autodoc", " Parameters ---------- theEdge: TopoDS_Edge theFace: TopoDS_Face -Returns +Return ------- None + +Description +----------- +Sets the data for the algorithm. ") Init; void Init(const TopoDS_Edge & theEdge, const TopoDS_Face & theFace); - /****************** IsDone ******************/ - /**** md5 signature: e385477ab1bec806154173d4a550fd68 ****/ + /****** BRepLib_CheckCurveOnSurface::IsDone ******/ + /****** md5 signature: e385477ab1bec806154173d4a550fd68 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Returns true if the max distance has been found. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns true if the max distance has been found. ") IsDone; Standard_Boolean IsDone(); - /****************** MaxDistance ******************/ - /**** md5 signature: eb56c1d1489e07dddfaf89c1bd00ff56 ****/ - %feature("compactdefaultargs") MaxDistance; - %feature("autodoc", "Returns max distance. + /****** BRepLib_CheckCurveOnSurface::IsParallel ******/ + /****** md5 signature: fc1de18a583c6aa3b3d9897c80aa553e ******/ + %feature("compactdefaultargs") IsParallel; + %feature("autodoc", "Return +------- +bool + +Description +----------- +Returns true if parallel flag is set. +") IsParallel; + Standard_Boolean IsParallel(); -Returns + /****** BRepLib_CheckCurveOnSurface::MaxDistance ******/ + /****** md5 signature: eb56c1d1489e07dddfaf89c1bd00ff56 ******/ + %feature("compactdefaultargs") MaxDistance; + %feature("autodoc", "Return ------- float + +Description +----------- +Returns max distance. ") MaxDistance; Standard_Real MaxDistance(); - /****************** MaxParameter ******************/ - /**** md5 signature: 23a45560d6d0376bf4b799705df1e0c0 ****/ + /****** BRepLib_CheckCurveOnSurface::MaxParameter ******/ + /****** md5 signature: 23a45560d6d0376bf4b799705df1e0c0 ******/ %feature("compactdefaultargs") MaxParameter; - %feature("autodoc", "Returns parameter in which the distance is maximal. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Returns parameter in which the distance is maximal. ") MaxParameter; Standard_Real MaxParameter(); - /****************** PCurve ******************/ - /**** md5 signature: 02216b6aba2c78f7fc310936f46a0781 ****/ - %feature("compactdefaultargs") PCurve; - %feature("autodoc", "Returns mine 2d-curve. - -Returns -------- -opencascade::handle -") PCurve; - const opencascade::handle & PCurve(); - - /****************** PCurve2 ******************/ - /**** md5 signature: 59fdc85af76719d116ff8e4e51299a26 ****/ - %feature("compactdefaultargs") PCurve2; - %feature("autodoc", "Returns 2nd 2d-curve (if it exists, e.g. for seam-edge). - -Returns -------- -opencascade::handle -") PCurve2; - const opencascade::handle & PCurve2(); - - /****************** Perform ******************/ - /**** md5 signature: be005fa96430b01dfd3d5c428d6ad6e3 ****/ + /****** BRepLib_CheckCurveOnSurface::Perform ******/ + /****** md5 signature: c04b01412cba7220c024b5eb4532697f ******/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Performs the calculation if isthemultytheaddisabled == true then computation will be made without any parallelization. - -Parameters ----------- -isTheMultyTheradDisabled: bool,optional - default value is Standard_False - -Returns + %feature("autodoc", "Return ------- None -") Perform; - void Perform(const Standard_Boolean isTheMultyTheradDisabled = Standard_False); - /****************** Range ******************/ - /**** md5 signature: d6d291eeedf26e22d25b030eceff7dfa ****/ - %feature("compactdefaultargs") Range; - %feature("autodoc", "Returns first and last parameter of the curves (2d- and 3d-curves are considered to have same range). +Description +----------- +Performs the calculation If myIsParallel == Standard_True then computation will be performed in parallel. +") Perform; + void Perform(); + /****** BRepLib_CheckCurveOnSurface::SetParallel ******/ + /****** md5 signature: 91c6328a8c6135d4f1f1da7db8aee28f ******/ + %feature("compactdefaultargs") SetParallel; + %feature("autodoc", " Parameters ---------- +theIsParallel: bool -Returns +Return ------- -theFirst: float -theLast: float -") Range; - void Range(Standard_Real &OutValue, Standard_Real &OutValue); - - /****************** Surface ******************/ - /**** md5 signature: 3aa31a6d63da8a25f018cf96599c0928 ****/ - %feature("compactdefaultargs") Surface; - %feature("autodoc", "Returns source surface. +None -Returns -------- -opencascade::handle -") Surface; - const opencascade::handle & Surface(); +Description +----------- +Sets parallel flag. +") SetParallel; + void SetParallel(const Standard_Boolean theIsParallel); }; @@ -929,25 +1035,29 @@ opencascade::handle %nodefaultctor BRepLib_Command; class BRepLib_Command { public: - /****************** Check ******************/ - /**** md5 signature: f34c3545e20ecd4b70f0028e921e213b ****/ + /****** BRepLib_Command::Check ******/ + /****** md5 signature: f34c3545e20ecd4b70f0028e921e213b ******/ %feature("compactdefaultargs") Check; - %feature("autodoc", "Raises notdone if done is false. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Raises NotDone if done is false. ") Check; void Check(); - /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /****** BRepLib_Command::IsDone ******/ + /****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +No available documentation. ") IsDone; Standard_Boolean IsDone(); @@ -965,271 +1075,726 @@ bool ****************************/ class BRepLib_FindSurface { public: - /****************** BRepLib_FindSurface ******************/ - /**** md5 signature: 05d2a378003b1863b90b5e71c7ee98ab ****/ + /****** BRepLib_FindSurface::BRepLib_FindSurface ******/ + /****** md5 signature: 05d2a378003b1863b90b5e71c7ee98ab ******/ %feature("compactdefaultargs") BRepLib_FindSurface; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepLib_FindSurface; BRepLib_FindSurface(); - /****************** BRepLib_FindSurface ******************/ - /**** md5 signature: b8cba8dda11d30fdcb78d4560e9a7962 ****/ + /****** BRepLib_FindSurface::BRepLib_FindSurface ******/ + /****** md5 signature: b8cba8dda11d30fdcb78d4560e9a7962 ******/ %feature("compactdefaultargs") BRepLib_FindSurface; - %feature("autodoc", "Computes the surface from the edges of with the given tolerance. if is true, the computed surface will be a plane. if it is not possible to find a plane, the flag notdone will be set. if is true, then s sould be a wire and the existing surface, on which wire s is not closed in 2d, will be ignored. + %feature("autodoc", " +Parameters +---------- +S: TopoDS_Shape +Tol: float (optional, default to -1) +OnlyPlane: bool (optional, default to Standard_False) +OnlyClosed: bool (optional, default to Standard_False) + +Return +------- +None + +Description +----------- +Computes the Surface from the edges of with the given tolerance. if is true, the computed surface will be a plane. If it is not possible to find a plane, the flag NotDone will be set. If is true, then S should be a wire and the existing surface, on which wire S is not closed in 2D, will be ignored. +") 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); + + /****** BRepLib_FindSurface::Existed ******/ + /****** md5 signature: 3e9d26310a54bcfa26ae446236bcd326 ******/ + %feature("compactdefaultargs") Existed; + %feature("autodoc", "Return +------- +bool + +Description +----------- +No available documentation. +") Existed; + Standard_Boolean Existed(); + + /****** BRepLib_FindSurface::Found ******/ + /****** md5 signature: f98a87b5981b48fa74222eaa5aa8feb6 ******/ + %feature("compactdefaultargs") Found; + %feature("autodoc", "Return +------- +bool + +Description +----------- +No available documentation. +") Found; + Standard_Boolean Found(); + + /****** BRepLib_FindSurface::Init ******/ + /****** md5 signature: ffdff77a564b351561b3277d0ad3c0f6 ******/ + %feature("compactdefaultargs") Init; + %feature("autodoc", " +Parameters +---------- +S: TopoDS_Shape +Tol: float (optional, default to -1) +OnlyPlane: bool (optional, default to Standard_False) +OnlyClosed: bool (optional, default to Standard_False) + +Return +------- +None + +Description +----------- +Computes the Surface from the edges of with the given tolerance. if is true, the computed surface will be a plane. If it is not possible to find a plane, the flag NotDone will be set. If is true, then S should be a wire and the existing surface, on which wire S is not closed in 2D, will be ignored. +") Init; + void Init(const TopoDS_Shape & S, const Standard_Real Tol = -1, const Standard_Boolean OnlyPlane = Standard_False, const Standard_Boolean OnlyClosed = Standard_False); + + /****** BRepLib_FindSurface::Location ******/ + /****** md5 signature: 9aada9ca43432b6e0a1b3215ca813c4b ******/ + %feature("compactdefaultargs") Location; + %feature("autodoc", "Return +------- +TopLoc_Location + +Description +----------- +No available documentation. +") Location; + TopLoc_Location Location(); + + /****** BRepLib_FindSurface::Surface ******/ + /****** md5 signature: 352bd890213763e77e08756c09e1fdcc ******/ + %feature("compactdefaultargs") Surface; + %feature("autodoc", "Return +------- +opencascade::handle + +Description +----------- +No available documentation. +") Surface; + opencascade::handle Surface(); + + /****** BRepLib_FindSurface::Tolerance ******/ + /****** md5 signature: 9e5775014410d884d1a1adc1cd47930b ******/ + %feature("compactdefaultargs") Tolerance; + %feature("autodoc", "Return +------- +float + +Description +----------- +No available documentation. +") Tolerance; + Standard_Real Tolerance(); + + /****** BRepLib_FindSurface::ToleranceReached ******/ + /****** md5 signature: a6314d79889dbea629fdb016144cc500 ******/ + %feature("compactdefaultargs") ToleranceReached; + %feature("autodoc", "Return +------- +float + +Description +----------- +No available documentation. +") ToleranceReached; + Standard_Real ToleranceReached(); + +}; + + +%extend BRepLib_FindSurface { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/************************** +* class BRepLib_FuseEdges * +**************************/ +class BRepLib_FuseEdges { + public: + /****** BRepLib_FuseEdges::BRepLib_FuseEdges ******/ + /****** md5 signature: 3192e647e21f5c4050a8d8df456f8b45 ******/ + %feature("compactdefaultargs") BRepLib_FuseEdges; + %feature("autodoc", " +Parameters +---------- +theShape: TopoDS_Shape +PerformNow: bool (optional, default to Standard_False) + +Return +------- +None + +Description +----------- +Initialise members and build construction of map of ancestors. +") BRepLib_FuseEdges; + BRepLib_FuseEdges(const TopoDS_Shape & theShape, const Standard_Boolean PerformNow = Standard_False); + + /****** BRepLib_FuseEdges::AvoidEdges ******/ + /****** md5 signature: d76ba44d4c0d9554fdf47f67049f8da0 ******/ + %feature("compactdefaultargs") AvoidEdges; + %feature("autodoc", " +Parameters +---------- +theMapEdg: TopTools_IndexedMapOfShape + +Return +------- +None + +Description +----------- +set edges to avoid being fused. +") AvoidEdges; + void AvoidEdges(const TopTools_IndexedMapOfShape & theMapEdg); + + /****** BRepLib_FuseEdges::Edges ******/ + /****** md5 signature: 8084c179e24e67079a00b4a173ee9313 ******/ + %feature("compactdefaultargs") Edges; + %feature("autodoc", " +Parameters +---------- +theMapLstEdg: TopTools_DataMapOfIntegerListOfShape + +Return +------- +None + +Description +----------- +returns all the list of edges to be fused each list of the map represent a set of connex edges that can be fused. +") Edges; + void Edges(TopTools_DataMapOfIntegerListOfShape & theMapLstEdg); + + /****** BRepLib_FuseEdges::Faces ******/ + /****** md5 signature: f5abad97fb8ff03cd2b7955c20acd767 ******/ + %feature("compactdefaultargs") Faces; + %feature("autodoc", " +Parameters +---------- +theMapFac: TopTools_DataMapOfShapeShape + +Return +------- +None + +Description +----------- +returns the map of modified faces. +") Faces; + void Faces(TopTools_DataMapOfShapeShape & theMapFac); + + /****** BRepLib_FuseEdges::NbVertices ******/ + /****** md5 signature: 18584eb261816370021ae75041e9f83a ******/ + %feature("compactdefaultargs") NbVertices; + %feature("autodoc", "Return +------- +int + +Description +----------- +returns the number of vertices candidate to be removed. +") NbVertices; + Standard_Integer NbVertices(); + + /****** BRepLib_FuseEdges::Perform ******/ + /****** md5 signature: c04b01412cba7220c024b5eb4532697f ******/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "Return +------- +None + +Description +----------- +Using map of list of connex edges, fuse each list to one edge and then update myShape. +") Perform; + void Perform(); + + /****** BRepLib_FuseEdges::ResultEdges ******/ + /****** md5 signature: c473d3c90614f31ceb4528d8ba7addb5 ******/ + %feature("compactdefaultargs") ResultEdges; + %feature("autodoc", " +Parameters +---------- +theMapEdg: TopTools_DataMapOfIntegerShape + +Return +------- +None + +Description +----------- +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). +") ResultEdges; + void ResultEdges(TopTools_DataMapOfIntegerShape & theMapEdg); + + /****** BRepLib_FuseEdges::SetConcatBSpl ******/ + /****** md5 signature: 3dafc254ea0616772e4fe7729e2596de ******/ + %feature("compactdefaultargs") SetConcatBSpl; + %feature("autodoc", " +Parameters +---------- +theConcatBSpl: bool (optional, default to Standard_True) + +Return +------- +None + +Description +----------- +set mode to enable concatenation G1 BSpline edges in one End Modified by IFV 19.04.07. +") SetConcatBSpl; + void SetConcatBSpl(const Standard_Boolean theConcatBSpl = Standard_True); + + /****** BRepLib_FuseEdges::Shape ******/ + /****** md5 signature: 4968b0e4669317ad9b7893680ac9a219 ******/ + %feature("compactdefaultargs") Shape; + %feature("autodoc", "Return +------- +TopoDS_Shape + +Description +----------- +returns myShape modified with the list of internal edges removed from it. +") Shape; + TopoDS_Shape Shape(); + +}; + + +%extend BRepLib_FuseEdges { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/******************************** +* class BRepLib_PointCloudShape * +********************************/ +%nodefaultctor BRepLib_PointCloudShape; +class BRepLib_PointCloudShape { + public: + /****** BRepLib_PointCloudShape::GeneratePointsByDensity ******/ + /****** md5 signature: 619270416b95000e397399807042b65a ******/ + %feature("compactdefaultargs") GeneratePointsByDensity; + %feature("autodoc", " +Parameters +---------- +theDensity: float (optional, default to 0.0) + +Return +------- +bool + +Description +----------- +Computes points with specified density for initial shape. If parameter Density is equal to 0 then density will be computed automatically by criterion: - 10 points per minimal unreduced face area. //! Note: this function should not be called from concurrent threads without external lock. +") GeneratePointsByDensity; + Standard_Boolean GeneratePointsByDensity(const Standard_Real theDensity = 0.0); + + /****** BRepLib_PointCloudShape::GeneratePointsByTriangulation ******/ + /****** md5 signature: 912b82f3a10b1a54374d28369fcc6a67 ******/ + %feature("compactdefaultargs") GeneratePointsByTriangulation; + %feature("autodoc", "Return +------- +bool + +Description +----------- +Get points from triangulation existing in the shape. +") GeneratePointsByTriangulation; + Standard_Boolean GeneratePointsByTriangulation(); + + /****** BRepLib_PointCloudShape::GetDistance ******/ + /****** md5 signature: a3cf6093e8abf55853fd25f21f892d82 ******/ + %feature("compactdefaultargs") GetDistance; + %feature("autodoc", "Return +------- +float + +Description +----------- +Returns value of the distance to define deflection of points from shape along normal to shape; 0.0 by default. +") GetDistance; + Standard_Real GetDistance(); + + /****** BRepLib_PointCloudShape::NbPointsByDensity ******/ + /****** md5 signature: 2a3faf3ea9aed5ce1b6e260486ac5094 ******/ + %feature("compactdefaultargs") NbPointsByDensity; + %feature("autodoc", " +Parameters +---------- +theDensity: float (optional, default to 0.0) + +Return +------- +int + +Description +----------- +Returns size of the point cloud for specified density. +") NbPointsByDensity; + Standard_Integer NbPointsByDensity(const Standard_Real theDensity = 0.0); + + /****** BRepLib_PointCloudShape::NbPointsByTriangulation ******/ + /****** md5 signature: c88afd500722f5a19d60b6d00aabd05a ******/ + %feature("compactdefaultargs") NbPointsByTriangulation; + %feature("autodoc", "Return +------- +int + +Description +----------- +Returns size of the point cloud for using triangulation. +") NbPointsByTriangulation; + Standard_Integer NbPointsByTriangulation(); + /****** BRepLib_PointCloudShape::SetDistance ******/ + /****** md5 signature: 9c8aa9fbc03cbbcac598e64ccf79cf2e ******/ + %feature("compactdefaultargs") SetDistance; + %feature("autodoc", " Parameters ---------- -S: TopoDS_Shape -Tol: float,optional - default value is -1 -OnlyPlane: bool,optional - default value is Standard_False -OnlyClosed: bool,optional - default value is Standard_False +theDist: float -Returns +Return ------- 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); - - /****************** Existed ******************/ - /**** md5 signature: 3e9d26310a54bcfa26ae446236bcd326 ****/ - %feature("compactdefaultargs") Existed; - %feature("autodoc", "No available documentation. -Returns -------- -bool -") Existed; - Standard_Boolean Existed(); +Description +----------- +Sets value of the distance to define deflection of points from shape along normal to shape. Negative values of theDist parameter are ignored. +") SetDistance; + void SetDistance(const Standard_Real theDist); - /****************** Found ******************/ - /**** md5 signature: f98a87b5981b48fa74222eaa5aa8feb6 ****/ - %feature("compactdefaultargs") Found; - %feature("autodoc", "No available documentation. + /****** BRepLib_PointCloudShape::SetShape ******/ + /****** md5 signature: 927e2ebe2fb5354dfb3da3c53e512cad ******/ + %feature("compactdefaultargs") SetShape; + %feature("autodoc", " +Parameters +---------- +theShape: TopoDS_Shape -Returns +Return ------- -bool -") Found; - Standard_Boolean Found(); +None - /****************** Init ******************/ - /**** md5 signature: ffdff77a564b351561b3277d0ad3c0f6 ****/ - %feature("compactdefaultargs") Init; - %feature("autodoc", "Computes the surface from the edges of with the given tolerance. if is true, the computed surface will be a plane. if it is not possible to find a plane, the flag notdone will be set. if is true, then s sould be a wire and the existing surface, on which wire s is not closed in 2d, will be ignored. +Description +----------- +Set shape. +") SetShape; + void SetShape(const TopoDS_Shape & theShape); + /****** BRepLib_PointCloudShape::SetTolerance ******/ + /****** md5 signature: 24665c79b6c4a1cf17fbde5e4ed41549 ******/ + %feature("compactdefaultargs") SetTolerance; + %feature("autodoc", " Parameters ---------- -S: TopoDS_Shape -Tol: float,optional - default value is -1 -OnlyPlane: bool,optional - default value is Standard_False -OnlyClosed: bool,optional - default value is Standard_False +theTol: float -Returns +Return ------- 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); - /****************** Location ******************/ - /**** md5 signature: 9aada9ca43432b6e0a1b3215ca813c4b ****/ - %feature("compactdefaultargs") Location; - %feature("autodoc", "No available documentation. +Description +----------- +Set tolerance. +") SetTolerance; + void SetTolerance(Standard_Real theTol); -Returns + /****** BRepLib_PointCloudShape::Shape ******/ + /****** md5 signature: 1058569f5d639354fedf11e73741b7df ******/ + %feature("compactdefaultargs") Shape; + %feature("autodoc", "Return ------- -TopLoc_Location -") Location; - TopLoc_Location Location(); - - /****************** Surface ******************/ - /**** md5 signature: 352bd890213763e77e08756c09e1fdcc ****/ - %feature("compactdefaultargs") Surface; - %feature("autodoc", "No available documentation. +TopoDS_Shape -Returns -------- -opencascade::handle -") Surface; - opencascade::handle Surface(); +Description +----------- +Return loaded shape. +") Shape; + const TopoDS_Shape Shape(); - /****************** Tolerance ******************/ - /**** md5 signature: 9e5775014410d884d1a1adc1cd47930b ****/ + /****** BRepLib_PointCloudShape::Tolerance ******/ + /****** md5 signature: 327dcbe220ae5ba3e0203f32c61c38db ******/ %feature("compactdefaultargs") Tolerance; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- float + +Description +----------- +Return tolerance. ") Tolerance; Standard_Real Tolerance(); - /****************** ToleranceReached ******************/ - /**** md5 signature: a6314d79889dbea629fdb016144cc500 ****/ - %feature("compactdefaultargs") ToleranceReached; - %feature("autodoc", "No available documentation. - -Returns -------- -float -") ToleranceReached; - Standard_Real ToleranceReached(); - }; -%extend BRepLib_FindSurface { +%extend BRepLib_PointCloudShape { %pythoncode { __repr__ = _dumps_object } }; -/************************** -* class BRepLib_FuseEdges * -**************************/ -class BRepLib_FuseEdges { +/************************************** +* class BRepLib_ToolTriangulatedShape * +**************************************/ +class BRepLib_ToolTriangulatedShape { public: - /****************** BRepLib_FuseEdges ******************/ - /**** md5 signature: 3192e647e21f5c4050a8d8df456f8b45 ****/ - %feature("compactdefaultargs") BRepLib_FuseEdges; - %feature("autodoc", "Initialise members and build construction of map of ancestors. - + /****** BRepLib_ToolTriangulatedShape::ComputeNormals ******/ + /****** md5 signature: 2d57466090fe2926dca8ad73827190c2 ******/ + %feature("compactdefaultargs") ComputeNormals; + %feature("autodoc", " Parameters ---------- -theShape: TopoDS_Shape -PerformNow: bool,optional - default value is Standard_False +theFace: TopoDS_Face +theTris: Poly_Triangulation -Returns +Return ------- None -") BRepLib_FuseEdges; - BRepLib_FuseEdges(const TopoDS_Shape & theShape, const Standard_Boolean PerformNow = Standard_False); - /****************** AvoidEdges ******************/ - /**** md5 signature: d76ba44d4c0d9554fdf47f67049f8da0 ****/ - %feature("compactdefaultargs") AvoidEdges; - %feature("autodoc", "Set edges to avoid being fused. +Description +----------- +Computes nodal normals for Poly_Triangulation structure using UV coordinates and surface. Does nothing if triangulation already defines normals. +Input parameter: theFace the face +Input parameter: theTris the definition of a face triangulation. +") ComputeNormals; + static void ComputeNormals(const TopoDS_Face & theFace, const opencascade::handle & theTris); + /****** BRepLib_ToolTriangulatedShape::ComputeNormals ******/ + /****** md5 signature: ff5b08874a5db62c157e96e68689a5a4 ******/ + %feature("compactdefaultargs") ComputeNormals; + %feature("autodoc", " Parameters ---------- -theMapEdg: TopTools_IndexedMapOfShape +theFace: TopoDS_Face +theTris: Poly_Triangulation +thePolyConnect: Poly_Connect -Returns +Return ------- None -") AvoidEdges; - void AvoidEdges(const TopTools_IndexedMapOfShape & theMapEdg); - /****************** Edges ******************/ - /**** md5 signature: 8084c179e24e67079a00b4a173ee9313 ****/ - %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. +Description +----------- +Computes nodal normals for Poly_Triangulation structure using UV coordinates and surface. Does nothing if triangulation already defines normals. +Input parameter: theFace the face +Input parameter: theTris the definition of a face triangulation @param[in,out] thePolyConnect optional, initialized tool for exploring triangulation. +") ComputeNormals; + static void ComputeNormals(const TopoDS_Face & theFace, const opencascade::handle & theTris, Poly_Connect & thePolyConnect); + +}; + +%extend BRepLib_ToolTriangulatedShape { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/***************************** +* class BRepLib_ValidateEdge * +*****************************/ +class BRepLib_ValidateEdge { + public: + /****** BRepLib_ValidateEdge::BRepLib_ValidateEdge ******/ + /****** md5 signature: 743d4b813a0a60f0a8f03719aecc2eb8 ******/ + %feature("compactdefaultargs") BRepLib_ValidateEdge; + %feature("autodoc", " Parameters ---------- -theMapLstEdg: TopTools_DataMapOfIntegerListOfShape +theReferenceCurve: Adaptor3d_Curve +theOtherCurve: Adaptor3d_CurveOnSurface +theSameParameter: bool -Returns +Return ------- None -") Edges; - void Edges(TopTools_DataMapOfIntegerListOfShape & theMapLstEdg); - /****************** Faces ******************/ - /**** md5 signature: f5abad97fb8ff03cd2b7955c20acd767 ****/ - %feature("compactdefaultargs") Faces; - %feature("autodoc", "Returns the map of modified faces. +Description +----------- +Initialization constructor. +") BRepLib_ValidateEdge; + BRepLib_ValidateEdge(const opencascade::handle theReferenceCurve, const opencascade::handle theOtherCurve, Standard_Boolean theSameParameter); + /****** BRepLib_ValidateEdge::CheckTolerance ******/ + /****** md5 signature: 5785e5be76b0b006dcca89fcac000a5f ******/ + %feature("compactdefaultargs") CheckTolerance; + %feature("autodoc", " Parameters ---------- -theMapFac: TopTools_DataMapOfShapeShape +theToleranceToCheck: float -Returns +Return ------- -None -") Faces; - void Faces(TopTools_DataMapOfShapeShape & theMapFac); +bool - /****************** NbVertices ******************/ - /**** md5 signature: 18584eb261816370021ae75041e9f83a ****/ - %feature("compactdefaultargs") NbVertices; - %feature("autodoc", "Returns the number of vertices candidate to be removed. +Description +----------- +Returns true if computed distance is less than . +") CheckTolerance; + Standard_Boolean CheckTolerance(Standard_Real theToleranceToCheck); -Returns + /****** BRepLib_ValidateEdge::GetMaxDistance ******/ + /****** md5 signature: 4732d2c21b2f300e493e252dd95feaf9 ******/ + %feature("compactdefaultargs") GetMaxDistance; + %feature("autodoc", "Return ------- -int -") NbVertices; - Standard_Integer NbVertices(); +float - /****************** Perform ******************/ - /**** md5 signature: c04b01412cba7220c024b5eb4532697f ****/ - %feature("compactdefaultargs") Perform; - %feature("autodoc", "Using map of list of connex edges, fuse each list to one edge and then update myshape. +Description +----------- +Returns max distance. +") GetMaxDistance; + Standard_Real GetMaxDistance(); + + /****** BRepLib_ValidateEdge::IsDone ******/ + /****** md5 signature: e385477ab1bec806154173d4a550fd68 ******/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "Return +------- +bool + +Description +----------- +Returns true if the distance has been found for all points. +") IsDone; + Standard_Boolean IsDone(); + + /****** BRepLib_ValidateEdge::IsExactMethod ******/ + /****** md5 signature: 5e4b019881aa7aa6b5765966d6b467ca ******/ + %feature("compactdefaultargs") IsExactMethod; + %feature("autodoc", "Return +------- +bool + +Description +----------- +Returns true if exact method selected. +") IsExactMethod; + Standard_Boolean IsExactMethod(); -Returns + /****** BRepLib_ValidateEdge::IsParallel ******/ + /****** md5 signature: fc1de18a583c6aa3b3d9897c80aa553e ******/ + %feature("compactdefaultargs") IsParallel; + %feature("autodoc", "Return +------- +bool + +Description +----------- +Returns true if parallel flag is set. +") IsParallel; + Standard_Boolean IsParallel(); + + /****** BRepLib_ValidateEdge::Process ******/ + /****** md5 signature: f69ec5068362d1fb1c1da24f6f943a3d ******/ + %feature("compactdefaultargs") Process; + %feature("autodoc", "Return ------- None -") Perform; - void Perform(); - /****************** ResultEdges ******************/ - /**** md5 signature: c473d3c90614f31ceb4528d8ba7addb5 ****/ - %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). +Description +----------- +Computes the max distance for the 3d curve and curve on surface . If the SetExitIfToleranceExceeded() function was called before contains first greater than SetExitIfToleranceExceeded() parameter value. In case using exact method always computes real max distance. +") Process; + void Process(); + /****** BRepLib_ValidateEdge::SetControlPointsNumber ******/ + /****** md5 signature: 23357e0c62202a31f8a5a8da5865b56d ******/ + %feature("compactdefaultargs") SetControlPointsNumber; + %feature("autodoc", " Parameters ---------- -theMapEdg: TopTools_DataMapOfIntegerShape +theControlPointsNumber: int -Returns +Return ------- None -") ResultEdges; - void ResultEdges(TopTools_DataMapOfIntegerShape & theMapEdg); - /****************** SetConcatBSpl ******************/ - /**** md5 signature: 3dafc254ea0616772e4fe7729e2596de ****/ - %feature("compactdefaultargs") SetConcatBSpl; - %feature("autodoc", "Set mode to enable concatenation g1 bspline edges in one end modified by ifv 19.04.07. +Description +----------- +Set control points number (if you need a value other than 22). +") SetControlPointsNumber; + void SetControlPointsNumber(Standard_Integer theControlPointsNumber); + /****** BRepLib_ValidateEdge::SetExactMethod ******/ + /****** md5 signature: 61e71faebec158e548494f19380d6da6 ******/ + %feature("compactdefaultargs") SetExactMethod; + %feature("autodoc", " Parameters ---------- -theConcatBSpl: bool,optional - default value is Standard_True +theIsExact: bool -Returns +Return ------- None -") SetConcatBSpl; - void SetConcatBSpl(const Standard_Boolean theConcatBSpl = Standard_True); - /****************** Shape ******************/ - /**** md5 signature: 4968b0e4669317ad9b7893680ac9a219 ****/ - %feature("compactdefaultargs") Shape; - %feature("autodoc", "Returns myshape modified with the list of internal edges removed from it. +Description +----------- +Sets method to calculate distance: Calculating in finite number of points (if theIsExact is false, faster, but possible not correct result) or exact calculating by using BRepLib_CheckCurveOnSurface class (if theIsExact is true, slowly, but more correctly). Exact method is used only when edge is SameParameter. Default method is calculating in finite number of points. +") SetExactMethod; + void SetExactMethod(Standard_Boolean theIsExact); + + /****** BRepLib_ValidateEdge::SetParallel ******/ + /****** md5 signature: 6daf50fa108f9f0000233a9dba805cd8 ******/ + %feature("compactdefaultargs") SetParallel; + %feature("autodoc", " +Parameters +---------- +theIsMultiThread: bool -Returns +Return ------- -TopoDS_Shape -") Shape; - TopoDS_Shape Shape(); +None + +Description +----------- +Sets parallel flag. +") SetParallel; + void SetParallel(Standard_Boolean theIsMultiThread); + + /****** BRepLib_ValidateEdge::UpdateTolerance ******/ + /****** md5 signature: 041719f1b7cceef57cb2fd1857736488 ******/ + %feature("compactdefaultargs") UpdateTolerance; + %feature("autodoc", " +Parameters +---------- + +Return +------- +theToleranceToUpdate: float + +Description +----------- +Increase if max distance is greater than . +") UpdateTolerance; + void UpdateTolerance(Standard_Real &OutValue); }; -%extend BRepLib_FuseEdges { +%extend BRepLib_ValidateEdge { %pythoncode { __repr__ = _dumps_object + + @methodnotwrapped + def SetExitIfToleranceExceeded(self): + pass } }; @@ -1239,111 +1804,132 @@ TopoDS_Shape %nodefaultctor BRepLib_MakeShape; class BRepLib_MakeShape : public BRepLib_Command { public: - /****************** Build ******************/ - /**** md5 signature: 634d88e5c99c5ce236c07b337243d591 ****/ + /****** BRepLib_MakeShape::Build ******/ + /****** md5 signature: 634d88e5c99c5ce236c07b337243d591 ******/ %feature("compactdefaultargs") Build; - %feature("autodoc", "This is called by shape(). it does nothing but may be redefined. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +This is called by Shape(). It does nothing but may be redefined. ") Build; void Build(); - /****************** DescendantFaces ******************/ - /**** md5 signature: 8df58efb7992f4d5a7fd3ff07c209ade ****/ + /****** BRepLib_MakeShape::DescendantFaces ******/ + /****** md5 signature: 8df58efb7992f4d5a7fd3ff07c209ade ******/ %feature("compactdefaultargs") DescendantFaces; - %feature("autodoc", "Returns the list of generated faces. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +returns the list of generated Faces. ") DescendantFaces; virtual const TopTools_ListOfShape & DescendantFaces(const TopoDS_Face & F); - /****************** FaceStatus ******************/ - /**** md5 signature: 5ba76a83c885c175dfdc1ccf1a0b227c ****/ + /****** BRepLib_MakeShape::FaceStatus ******/ + /****** md5 signature: 5ba76a83c885c175dfdc1ccf1a0b227c ******/ %feature("compactdefaultargs") FaceStatus; - %feature("autodoc", "Returns the status of the face after the shape creation. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face -Returns +Return ------- BRepLib_ShapeModification + +Description +----------- +returns the status of the Face after the shape creation. ") FaceStatus; virtual BRepLib_ShapeModification FaceStatus(const TopoDS_Face & F); - /****************** FacesFromEdges ******************/ - /**** md5 signature: ede406fa6cad5565fccbde10219d8cdc ****/ + /****** BRepLib_MakeShape::FacesFromEdges ******/ + /****** md5 signature: ede406fa6cad5565fccbde10219d8cdc ******/ %feature("compactdefaultargs") FacesFromEdges; - %feature("autodoc", "Returns a list of the created faces from the edge . - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +returns a list of the created faces from the edge . ") FacesFromEdges; virtual const TopTools_ListOfShape & FacesFromEdges(const TopoDS_Edge & E); - /****************** HasDescendants ******************/ - /**** md5 signature: 5dfd9dee6a174cf40b37fcc3fc769ec8 ****/ + /****** BRepLib_MakeShape::HasDescendants ******/ + /****** md5 signature: 5dfd9dee6a174cf40b37fcc3fc769ec8 ******/ %feature("compactdefaultargs") HasDescendants; - %feature("autodoc", "Returns true if the face generates new topology. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face -Returns +Return ------- bool + +Description +----------- +Returns True if the Face generates new topology. ") HasDescendants; virtual Standard_Boolean HasDescendants(const TopoDS_Face & F); - /****************** NbSurfaces ******************/ - /**** md5 signature: 9fc085a7006ba3837eefd2b047c50505 ****/ + /****** BRepLib_MakeShape::NbSurfaces ******/ + /****** md5 signature: 9fc085a7006ba3837eefd2b047c50505 ******/ %feature("compactdefaultargs") NbSurfaces; - %feature("autodoc", "Returns the number of surfaces after the shape creation. - -Returns + %feature("autodoc", "Return ------- int + +Description +----------- +returns the number of surfaces after the shape creation. ") NbSurfaces; virtual Standard_Integer NbSurfaces(); - /****************** NewFaces ******************/ - /**** md5 signature: e7c3baccbeecb1721ee5663fcedbeab2 ****/ + /****** BRepLib_MakeShape::NewFaces ******/ + /****** md5 signature: e7c3baccbeecb1721ee5663fcedbeab2 ******/ %feature("compactdefaultargs") NewFaces; - %feature("autodoc", "Return the faces created for surface i. - + %feature("autodoc", " Parameters ---------- I: int -Returns +Return ------- TopTools_ListOfShape + +Description +----------- +Return the faces created for surface I. ") NewFaces; virtual const TopTools_ListOfShape & NewFaces(const Standard_Integer I); - /****************** Shape ******************/ - /**** md5 signature: 35cc6b8a92112f8b2067e768b8f01ff2 ****/ + /****** BRepLib_MakeShape::Shape ******/ + /****** md5 signature: 35cc6b8a92112f8b2067e768b8f01ff2 ******/ %feature("compactdefaultargs") Shape; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shape + +Description +----------- +No available documentation. ") Shape; const TopoDS_Shape Shape(); @@ -1361,450 +1947,529 @@ TopoDS_Shape *************************/ class BRepLib_MakeEdge : public BRepLib_MakeShape { public: - /****************** BRepLib_MakeEdge ******************/ - /**** md5 signature: ff5f9d42b34fd8755f3ceed6526aa3da ****/ + /****** BRepLib_MakeEdge::BRepLib_MakeEdge ******/ + /****** md5 signature: ff5f9d42b34fd8755f3ceed6526aa3da ******/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge; BRepLib_MakeEdge(); - /****************** BRepLib_MakeEdge ******************/ - /**** md5 signature: 98a3610d3756d0b0ad66bdcccf794eba ****/ + /****** BRepLib_MakeEdge::BRepLib_MakeEdge ******/ + /****** md5 signature: 98a3610d3756d0b0ad66bdcccf794eba ******/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- V1: TopoDS_Vertex V2: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge; BRepLib_MakeEdge(const TopoDS_Vertex & V1, const TopoDS_Vertex & V2); - /****************** BRepLib_MakeEdge ******************/ - /**** md5 signature: 2830aaf617c2443026ec071f091ca01b ****/ + /****** BRepLib_MakeEdge::BRepLib_MakeEdge ******/ + /****** md5 signature: 2830aaf617c2443026ec071f091ca01b ******/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P1: gp_Pnt P2: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge; BRepLib_MakeEdge(const gp_Pnt & P1, const gp_Pnt & P2); - /****************** BRepLib_MakeEdge ******************/ - /**** md5 signature: 26d9850e091998754b6ecaab1aef1d0e ****/ + /****** BRepLib_MakeEdge::BRepLib_MakeEdge ******/ + /****** md5 signature: 26d9850e091998754b6ecaab1aef1d0e ******/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Lin -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge; BRepLib_MakeEdge(const gp_Lin & L); - /****************** BRepLib_MakeEdge ******************/ - /**** md5 signature: af34800776240963b0b7ad5bf6dced9a ****/ + /****** BRepLib_MakeEdge::BRepLib_MakeEdge ******/ + /****** md5 signature: af34800776240963b0b7ad5bf6dced9a ******/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Lin p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge; BRepLib_MakeEdge(const gp_Lin & L, const Standard_Real p1, const Standard_Real p2); - /****************** BRepLib_MakeEdge ******************/ - /**** md5 signature: 0d4017c8497dcacedd786f3dcdaac683 ****/ + /****** BRepLib_MakeEdge::BRepLib_MakeEdge ******/ + /****** md5 signature: 0d4017c8497dcacedd786f3dcdaac683 ******/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Lin P1: gp_Pnt P2: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge; BRepLib_MakeEdge(const gp_Lin & L, const gp_Pnt & P1, const gp_Pnt & P2); - /****************** BRepLib_MakeEdge ******************/ - /**** md5 signature: e0b62169f2368ccc53618e3a966136f2 ****/ + /****** BRepLib_MakeEdge::BRepLib_MakeEdge ******/ + /****** md5 signature: e0b62169f2368ccc53618e3a966136f2 ******/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Lin V1: TopoDS_Vertex V2: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge; BRepLib_MakeEdge(const gp_Lin & L, const TopoDS_Vertex & V1, const TopoDS_Vertex & V2); - /****************** BRepLib_MakeEdge ******************/ - /**** md5 signature: dd78427649c02f0412acf4081b8db829 ****/ + /****** BRepLib_MakeEdge::BRepLib_MakeEdge ******/ + /****** md5 signature: dd78427649c02f0412acf4081b8db829 ******/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Circ -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge; BRepLib_MakeEdge(const gp_Circ & L); - /****************** BRepLib_MakeEdge ******************/ - /**** md5 signature: 8010b690a9edf1d81b0ba93c583608fe ****/ + /****** BRepLib_MakeEdge::BRepLib_MakeEdge ******/ + /****** md5 signature: 8010b690a9edf1d81b0ba93c583608fe ******/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Circ p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge; BRepLib_MakeEdge(const gp_Circ & L, const Standard_Real p1, const Standard_Real p2); - /****************** BRepLib_MakeEdge ******************/ - /**** md5 signature: c91a90ae7df25d6b8e40b81940ca4b7c ****/ + /****** BRepLib_MakeEdge::BRepLib_MakeEdge ******/ + /****** md5 signature: c91a90ae7df25d6b8e40b81940ca4b7c ******/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Circ P1: gp_Pnt P2: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge; BRepLib_MakeEdge(const gp_Circ & L, const gp_Pnt & P1, const gp_Pnt & P2); - /****************** BRepLib_MakeEdge ******************/ - /**** md5 signature: 14bd0128665af2258ebe47770d8fb6dd ****/ + /****** BRepLib_MakeEdge::BRepLib_MakeEdge ******/ + /****** md5 signature: 14bd0128665af2258ebe47770d8fb6dd ******/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Circ V1: TopoDS_Vertex V2: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge; BRepLib_MakeEdge(const gp_Circ & L, const TopoDS_Vertex & V1, const TopoDS_Vertex & V2); - /****************** BRepLib_MakeEdge ******************/ - /**** md5 signature: cddc795a530ee6036d9962467cd53bf9 ****/ + /****** BRepLib_MakeEdge::BRepLib_MakeEdge ******/ + /****** md5 signature: cddc795a530ee6036d9962467cd53bf9 ******/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Elips -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge; BRepLib_MakeEdge(const gp_Elips & L); - /****************** BRepLib_MakeEdge ******************/ - /**** md5 signature: 108b98c6e7ed81c7015103c1a1a29781 ****/ + /****** BRepLib_MakeEdge::BRepLib_MakeEdge ******/ + /****** md5 signature: 108b98c6e7ed81c7015103c1a1a29781 ******/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Elips p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge; BRepLib_MakeEdge(const gp_Elips & L, const Standard_Real p1, const Standard_Real p2); - /****************** BRepLib_MakeEdge ******************/ - /**** md5 signature: 06d1280d59fc92a193890b79160b0e77 ****/ + /****** BRepLib_MakeEdge::BRepLib_MakeEdge ******/ + /****** md5 signature: 06d1280d59fc92a193890b79160b0e77 ******/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Elips P1: gp_Pnt P2: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge; BRepLib_MakeEdge(const gp_Elips & L, const gp_Pnt & P1, const gp_Pnt & P2); - /****************** BRepLib_MakeEdge ******************/ - /**** md5 signature: 73aac35a868f95812b9563080ce3efe8 ****/ + /****** BRepLib_MakeEdge::BRepLib_MakeEdge ******/ + /****** md5 signature: 73aac35a868f95812b9563080ce3efe8 ******/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Elips V1: TopoDS_Vertex V2: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge; BRepLib_MakeEdge(const gp_Elips & L, const TopoDS_Vertex & V1, const TopoDS_Vertex & V2); - /****************** BRepLib_MakeEdge ******************/ - /**** md5 signature: c95afe3eaf666dd7e15706577fde46d4 ****/ + /****** BRepLib_MakeEdge::BRepLib_MakeEdge ******/ + /****** md5 signature: c95afe3eaf666dd7e15706577fde46d4 ******/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Hypr -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge; BRepLib_MakeEdge(const gp_Hypr & L); - /****************** BRepLib_MakeEdge ******************/ - /**** md5 signature: 0397aae04f47fff57560d095d3e7437b ****/ + /****** BRepLib_MakeEdge::BRepLib_MakeEdge ******/ + /****** md5 signature: 0397aae04f47fff57560d095d3e7437b ******/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Hypr p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge; BRepLib_MakeEdge(const gp_Hypr & L, const Standard_Real p1, const Standard_Real p2); - /****************** BRepLib_MakeEdge ******************/ - /**** md5 signature: 26ce953ab7e802cc208f18f1cfbab2b6 ****/ + /****** BRepLib_MakeEdge::BRepLib_MakeEdge ******/ + /****** md5 signature: 26ce953ab7e802cc208f18f1cfbab2b6 ******/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Hypr P1: gp_Pnt P2: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge; BRepLib_MakeEdge(const gp_Hypr & L, const gp_Pnt & P1, const gp_Pnt & P2); - /****************** BRepLib_MakeEdge ******************/ - /**** md5 signature: 6066a449187d5c176e51a8350853ddeb ****/ + /****** BRepLib_MakeEdge::BRepLib_MakeEdge ******/ + /****** md5 signature: 6066a449187d5c176e51a8350853ddeb ******/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Hypr V1: TopoDS_Vertex V2: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge; BRepLib_MakeEdge(const gp_Hypr & L, const TopoDS_Vertex & V1, const TopoDS_Vertex & V2); - /****************** BRepLib_MakeEdge ******************/ - /**** md5 signature: 41d01e90457d8bf5d5ef4297a021649c ****/ + /****** BRepLib_MakeEdge::BRepLib_MakeEdge ******/ + /****** md5 signature: 41d01e90457d8bf5d5ef4297a021649c ******/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Parab -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge; BRepLib_MakeEdge(const gp_Parab & L); - /****************** BRepLib_MakeEdge ******************/ - /**** md5 signature: c7b5a08fc84bfe38d0a90725df5bbd9c ****/ + /****** BRepLib_MakeEdge::BRepLib_MakeEdge ******/ + /****** md5 signature: c7b5a08fc84bfe38d0a90725df5bbd9c ******/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Parab p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge; BRepLib_MakeEdge(const gp_Parab & L, const Standard_Real p1, const Standard_Real p2); - /****************** BRepLib_MakeEdge ******************/ - /**** md5 signature: f3507502fb730d27f98864f12d561310 ****/ + /****** BRepLib_MakeEdge::BRepLib_MakeEdge ******/ + /****** md5 signature: f3507502fb730d27f98864f12d561310 ******/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Parab P1: gp_Pnt P2: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge; BRepLib_MakeEdge(const gp_Parab & L, const gp_Pnt & P1, const gp_Pnt & P2); - /****************** BRepLib_MakeEdge ******************/ - /**** md5 signature: dac9ce58e588d6dc289841341d82be20 ****/ + /****** BRepLib_MakeEdge::BRepLib_MakeEdge ******/ + /****** md5 signature: dac9ce58e588d6dc289841341d82be20 ******/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Parab V1: TopoDS_Vertex V2: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge; BRepLib_MakeEdge(const gp_Parab & L, const TopoDS_Vertex & V1, const TopoDS_Vertex & V2); - /****************** BRepLib_MakeEdge ******************/ - /**** md5 signature: 19bdf5463e96fedf9b11df992698709e ****/ + /****** BRepLib_MakeEdge::BRepLib_MakeEdge ******/ + /****** md5 signature: 19bdf5463e96fedf9b11df992698709e ******/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: Geom_Curve -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge; BRepLib_MakeEdge(const opencascade::handle & L); - /****************** BRepLib_MakeEdge ******************/ - /**** md5 signature: 106f831047c13089c37f719079f78549 ****/ + /****** BRepLib_MakeEdge::BRepLib_MakeEdge ******/ + /****** md5 signature: 106f831047c13089c37f719079f78549 ******/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: Geom_Curve p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge; BRepLib_MakeEdge(const opencascade::handle & L, const Standard_Real p1, const Standard_Real p2); - /****************** BRepLib_MakeEdge ******************/ - /**** md5 signature: d743b1166a4aa754c0386de9a92c966d ****/ + /****** BRepLib_MakeEdge::BRepLib_MakeEdge ******/ + /****** md5 signature: d743b1166a4aa754c0386de9a92c966d ******/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: Geom_Curve P1: gp_Pnt P2: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge; BRepLib_MakeEdge(const opencascade::handle & L, const gp_Pnt & P1, const gp_Pnt & P2); - /****************** BRepLib_MakeEdge ******************/ - /**** md5 signature: d09e0cf3b86db9f98fb205636abfe802 ****/ + /****** BRepLib_MakeEdge::BRepLib_MakeEdge ******/ + /****** md5 signature: d09e0cf3b86db9f98fb205636abfe802 ******/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: Geom_Curve V1: TopoDS_Vertex V2: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge; BRepLib_MakeEdge(const opencascade::handle & L, const TopoDS_Vertex & V1, const TopoDS_Vertex & V2); - /****************** BRepLib_MakeEdge ******************/ - /**** md5 signature: 89bd22fddf706495b67ddcef6ea6bbfd ****/ + /****** BRepLib_MakeEdge::BRepLib_MakeEdge ******/ + /****** md5 signature: 89bd22fddf706495b67ddcef6ea6bbfd ******/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: Geom_Curve @@ -1813,17 +2478,20 @@ P2: gp_Pnt p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: b89ec974f95c1dfee86f5665308a042d ****/ + /****** BRepLib_MakeEdge::BRepLib_MakeEdge ******/ + /****** md5 signature: b89ec974f95c1dfee86f5665308a042d ******/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: Geom_Curve @@ -1832,33 +2500,39 @@ V2: TopoDS_Vertex p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: 8dee1765d199f2245a83cccdf28b5532 ****/ + /****** BRepLib_MakeEdge::BRepLib_MakeEdge ******/ + /****** md5 signature: 8dee1765d199f2245a83cccdf28b5532 ******/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: Geom2d_Curve S: Geom_Surface -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge; BRepLib_MakeEdge(const opencascade::handle & L, const opencascade::handle & S); - /****************** BRepLib_MakeEdge ******************/ - /**** md5 signature: 0bf5e5b81574251e312a4e57ecadac83 ****/ + /****** BRepLib_MakeEdge::BRepLib_MakeEdge ******/ + /****** md5 signature: 0bf5e5b81574251e312a4e57ecadac83 ******/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: Geom2d_Curve @@ -1866,17 +2540,20 @@ S: Geom_Surface p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge; BRepLib_MakeEdge(const opencascade::handle & L, const opencascade::handle & S, const Standard_Real p1, const Standard_Real p2); - /****************** BRepLib_MakeEdge ******************/ - /**** md5 signature: c6bebde95ae610ff35a5d9ef3622e044 ****/ + /****** BRepLib_MakeEdge::BRepLib_MakeEdge ******/ + /****** md5 signature: c6bebde95ae610ff35a5d9ef3622e044 ******/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: Geom2d_Curve @@ -1884,17 +2561,20 @@ S: Geom_Surface P1: gp_Pnt P2: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge; BRepLib_MakeEdge(const opencascade::handle & L, const opencascade::handle & S, const gp_Pnt & P1, const gp_Pnt & P2); - /****************** BRepLib_MakeEdge ******************/ - /**** md5 signature: a0e02ae1e45cbbea5b7334ee5e607d15 ****/ + /****** BRepLib_MakeEdge::BRepLib_MakeEdge ******/ + /****** md5 signature: a0e02ae1e45cbbea5b7334ee5e607d15 ******/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: Geom2d_Curve @@ -1902,17 +2582,20 @@ S: Geom_Surface V1: TopoDS_Vertex V2: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge; BRepLib_MakeEdge(const opencascade::handle & L, const opencascade::handle & S, const TopoDS_Vertex & V1, const TopoDS_Vertex & V2); - /****************** BRepLib_MakeEdge ******************/ - /**** md5 signature: fa7462603260f1fe2035d75f5e6f4c61 ****/ + /****** BRepLib_MakeEdge::BRepLib_MakeEdge ******/ + /****** md5 signature: fa7462603260f1fe2035d75f5e6f4c61 ******/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: Geom2d_Curve @@ -1922,17 +2605,20 @@ P2: gp_Pnt p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: 1dd23a8eff7c5f01c11450ba4106db9d ****/ + /****** BRepLib_MakeEdge::BRepLib_MakeEdge ******/ + /****** md5 signature: 1dd23a8eff7c5f01c11450ba4106db9d ******/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: Geom2d_Curve @@ -1942,105 +2628,124 @@ V2: TopoDS_Vertex p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: 768a18012e715670ae29301e23e2cf8b ****/ + /****** BRepLib_MakeEdge::Edge ******/ + /****** md5 signature: 768a18012e715670ae29301e23e2cf8b ******/ %feature("compactdefaultargs") Edge; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopoDS_Edge + +Description +----------- +No available documentation. ") Edge; const TopoDS_Edge Edge(); - /****************** Error ******************/ - /**** md5 signature: 20d9748fec77b6c2426dc27ab850ca5c ****/ + /****** BRepLib_MakeEdge::Error ******/ + /****** md5 signature: 20d9748fec77b6c2426dc27ab850ca5c ******/ %feature("compactdefaultargs") Error; - %feature("autodoc", "Returns the error description when notdone. - -Returns + %feature("autodoc", "Return ------- BRepLib_EdgeError + +Description +----------- +Returns the error description when NotDone. ") Error; BRepLib_EdgeError Error(); - /****************** Init ******************/ - /**** md5 signature: 3a7fb0adde1a97c68f435539513bba2c ****/ + /****** BRepLib_MakeEdge::Init ******/ + /****** md5 signature: 3a7fb0adde1a97c68f435539513bba2c ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom_Curve -Returns +Return ------- None + +Description +----------- +No available documentation. ") Init; void Init(const opencascade::handle & C); - /****************** Init ******************/ - /**** md5 signature: 69ab6deacb22a5a946bd084862db1233 ****/ + /****** BRepLib_MakeEdge::Init ******/ + /****** md5 signature: 69ab6deacb22a5a946bd084862db1233 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom_Curve p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") Init; void Init(const opencascade::handle & C, const Standard_Real p1, const Standard_Real p2); - /****************** Init ******************/ - /**** md5 signature: 235ac27b5a022827b7d54091e2111592 ****/ + /****** BRepLib_MakeEdge::Init ******/ + /****** md5 signature: 235ac27b5a022827b7d54091e2111592 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom_Curve P1: gp_Pnt P2: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") Init; void Init(const opencascade::handle & C, const gp_Pnt & P1, const gp_Pnt & P2); - /****************** Init ******************/ - /**** md5 signature: 9b236210e3d8f5b8c0ae08f9ff665d2d ****/ + /****** BRepLib_MakeEdge::Init ******/ + /****** md5 signature: 9b236210e3d8f5b8c0ae08f9ff665d2d ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom_Curve V1: TopoDS_Vertex V2: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") Init; void Init(const opencascade::handle & C, const TopoDS_Vertex & V1, const TopoDS_Vertex & V2); - /****************** Init ******************/ - /**** md5 signature: b7311420b3eb1ee66bd9b3232f6bbf14 ****/ + /****** BRepLib_MakeEdge::Init ******/ + /****** md5 signature: b7311420b3eb1ee66bd9b3232f6bbf14 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom_Curve @@ -2049,17 +2754,20 @@ P2: gp_Pnt p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") Init; void Init(const opencascade::handle & C, const gp_Pnt & P1, const gp_Pnt & P2, const Standard_Real p1, const Standard_Real p2); - /****************** Init ******************/ - /**** md5 signature: f0ddd1dcd6baa38ff9d6ad052ec8cf95 ****/ + /****** BRepLib_MakeEdge::Init ******/ + /****** md5 signature: f0ddd1dcd6baa38ff9d6ad052ec8cf95 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom_Curve @@ -2068,33 +2776,39 @@ V2: TopoDS_Vertex p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") Init; void Init(const opencascade::handle & C, const TopoDS_Vertex & V1, const TopoDS_Vertex & V2, const Standard_Real p1, const Standard_Real p2); - /****************** Init ******************/ - /**** md5 signature: 2207b24682fbbcefc3a70c5dcfc79e41 ****/ + /****** BRepLib_MakeEdge::Init ******/ + /****** md5 signature: 2207b24682fbbcefc3a70c5dcfc79e41 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom2d_Curve S: Geom_Surface -Returns +Return ------- None + +Description +----------- +No available documentation. ") Init; void Init(const opencascade::handle & C, const opencascade::handle & S); - /****************** Init ******************/ - /**** md5 signature: 46ba1cf0906b7383d025da040ff8be26 ****/ + /****** BRepLib_MakeEdge::Init ******/ + /****** md5 signature: 46ba1cf0906b7383d025da040ff8be26 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom2d_Curve @@ -2102,17 +2816,20 @@ S: Geom_Surface p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") Init; void Init(const opencascade::handle & C, const opencascade::handle & S, const Standard_Real p1, const Standard_Real p2); - /****************** Init ******************/ - /**** md5 signature: 0b0c938b079b5bfdc1085e8f8a945803 ****/ + /****** BRepLib_MakeEdge::Init ******/ + /****** md5 signature: 0b0c938b079b5bfdc1085e8f8a945803 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom2d_Curve @@ -2120,17 +2837,20 @@ S: Geom_Surface P1: gp_Pnt P2: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") Init; void Init(const opencascade::handle & C, const opencascade::handle & S, const gp_Pnt & P1, const gp_Pnt & P2); - /****************** Init ******************/ - /**** md5 signature: cc30f692d59f3ba69b1c4b104a9aba38 ****/ + /****** BRepLib_MakeEdge::Init ******/ + /****** md5 signature: cc30f692d59f3ba69b1c4b104a9aba38 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom2d_Curve @@ -2138,17 +2858,20 @@ S: Geom_Surface V1: TopoDS_Vertex V2: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") Init; void Init(const opencascade::handle & C, const opencascade::handle & S, const TopoDS_Vertex & V1, const TopoDS_Vertex & V2); - /****************** Init ******************/ - /**** md5 signature: 13f84c1b43401d2a23e02820d3c88735 ****/ + /****** BRepLib_MakeEdge::Init ******/ + /****** md5 signature: 13f84c1b43401d2a23e02820d3c88735 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom2d_Curve @@ -2158,17 +2881,20 @@ P2: gp_Pnt p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: 59918a63418830ecee317dd35f9016cc ****/ + /****** BRepLib_MakeEdge::Init ******/ + /****** md5 signature: 59918a63418830ecee317dd35f9016cc ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom2d_Curve @@ -2178,31 +2904,39 @@ V2: TopoDS_Vertex p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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); - /****************** Vertex1 ******************/ - /**** md5 signature: 3013872331c1fad0ef9330909eb27447 ****/ + /****** BRepLib_MakeEdge::Vertex1 ******/ + /****** md5 signature: 3013872331c1fad0ef9330909eb27447 ******/ %feature("compactdefaultargs") Vertex1; - %feature("autodoc", "Returns the first vertex of the edge. may be null. - -Returns + %feature("autodoc", "Return ------- TopoDS_Vertex + +Description +----------- +Returns the first vertex of the edge. May be Null. ") Vertex1; const TopoDS_Vertex Vertex1(); - /****************** Vertex2 ******************/ - /**** md5 signature: ce52ea817fb1fca460491831377f3811 ****/ + /****** BRepLib_MakeEdge::Vertex2 ******/ + /****** md5 signature: ce52ea817fb1fca460491831377f3811 ******/ %feature("compactdefaultargs") Vertex2; - %feature("autodoc", "Returns the second vertex of the edge. may be null. - -Returns + %feature("autodoc", "Return ------- TopoDS_Vertex + +Description +----------- +Returns the second vertex of the edge. May be Null. ") Vertex2; const TopoDS_Vertex Vertex2(); @@ -2220,439 +2954,516 @@ TopoDS_Vertex ***************************/ class BRepLib_MakeEdge2d : public BRepLib_MakeShape { public: - /****************** BRepLib_MakeEdge2d ******************/ - /**** md5 signature: de8a8f3e23e69fc9e75ccd84c3760a77 ****/ + /****** BRepLib_MakeEdge2d::BRepLib_MakeEdge2d ******/ + /****** md5 signature: de8a8f3e23e69fc9e75ccd84c3760a77 ******/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- V1: TopoDS_Vertex V2: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d(const TopoDS_Vertex & V1, const TopoDS_Vertex & V2); - /****************** BRepLib_MakeEdge2d ******************/ - /**** md5 signature: da11ac145a027e24369a8c89b7db9475 ****/ + /****** BRepLib_MakeEdge2d::BRepLib_MakeEdge2d ******/ + /****** md5 signature: da11ac145a027e24369a8c89b7db9475 ******/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P1: gp_Pnt2d P2: gp_Pnt2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d(const gp_Pnt2d & P1, const gp_Pnt2d & P2); - /****************** BRepLib_MakeEdge2d ******************/ - /**** md5 signature: 4ebad4dd866258574acdda28b43ab270 ****/ + /****** BRepLib_MakeEdge2d::BRepLib_MakeEdge2d ******/ + /****** md5 signature: 4ebad4dd866258574acdda28b43ab270 ******/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Lin2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d(const gp_Lin2d & L); - /****************** BRepLib_MakeEdge2d ******************/ - /**** md5 signature: a997108b16e661a09a24601c5679b3f0 ****/ + /****** BRepLib_MakeEdge2d::BRepLib_MakeEdge2d ******/ + /****** md5 signature: a997108b16e661a09a24601c5679b3f0 ******/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Lin2d p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d(const gp_Lin2d & L, const Standard_Real p1, const Standard_Real p2); - /****************** BRepLib_MakeEdge2d ******************/ - /**** md5 signature: f329f0e3c21f7ff3e9bc12ff69d8b321 ****/ + /****** BRepLib_MakeEdge2d::BRepLib_MakeEdge2d ******/ + /****** md5 signature: f329f0e3c21f7ff3e9bc12ff69d8b321 ******/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Lin2d P1: gp_Pnt2d P2: gp_Pnt2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d(const gp_Lin2d & L, const gp_Pnt2d & P1, const gp_Pnt2d & P2); - /****************** BRepLib_MakeEdge2d ******************/ - /**** md5 signature: a37e3586c16fd442625f90470567f62d ****/ + /****** BRepLib_MakeEdge2d::BRepLib_MakeEdge2d ******/ + /****** md5 signature: a37e3586c16fd442625f90470567f62d ******/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Lin2d V1: TopoDS_Vertex V2: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d(const gp_Lin2d & L, const TopoDS_Vertex & V1, const TopoDS_Vertex & V2); - /****************** BRepLib_MakeEdge2d ******************/ - /**** md5 signature: 92e4f45eede977ee43643fee90b339d7 ****/ + /****** BRepLib_MakeEdge2d::BRepLib_MakeEdge2d ******/ + /****** md5 signature: 92e4f45eede977ee43643fee90b339d7 ******/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Circ2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d(const gp_Circ2d & L); - /****************** BRepLib_MakeEdge2d ******************/ - /**** md5 signature: 81bf556eb25414c4ddc242abe229d407 ****/ + /****** BRepLib_MakeEdge2d::BRepLib_MakeEdge2d ******/ + /****** md5 signature: 81bf556eb25414c4ddc242abe229d407 ******/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Circ2d p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d(const gp_Circ2d & L, const Standard_Real p1, const Standard_Real p2); - /****************** BRepLib_MakeEdge2d ******************/ - /**** md5 signature: 8c7cc68166b1dd1eeec27938ba6fa2c4 ****/ + /****** BRepLib_MakeEdge2d::BRepLib_MakeEdge2d ******/ + /****** md5 signature: 8c7cc68166b1dd1eeec27938ba6fa2c4 ******/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Circ2d P1: gp_Pnt2d P2: gp_Pnt2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d(const gp_Circ2d & L, const gp_Pnt2d & P1, const gp_Pnt2d & P2); - /****************** BRepLib_MakeEdge2d ******************/ - /**** md5 signature: 34f9657fe0f8805108573ebc9b604dfc ****/ + /****** BRepLib_MakeEdge2d::BRepLib_MakeEdge2d ******/ + /****** md5 signature: 34f9657fe0f8805108573ebc9b604dfc ******/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Circ2d V1: TopoDS_Vertex V2: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d(const gp_Circ2d & L, const TopoDS_Vertex & V1, const TopoDS_Vertex & V2); - /****************** BRepLib_MakeEdge2d ******************/ - /**** md5 signature: 9f3b9a91e9d758b0b96702cdc46d2d86 ****/ + /****** BRepLib_MakeEdge2d::BRepLib_MakeEdge2d ******/ + /****** md5 signature: 9f3b9a91e9d758b0b96702cdc46d2d86 ******/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Elips2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d(const gp_Elips2d & L); - /****************** BRepLib_MakeEdge2d ******************/ - /**** md5 signature: 6cb9ee1cd761cae52b422fd6a23516ec ****/ + /****** BRepLib_MakeEdge2d::BRepLib_MakeEdge2d ******/ + /****** md5 signature: 6cb9ee1cd761cae52b422fd6a23516ec ******/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Elips2d p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d(const gp_Elips2d & L, const Standard_Real p1, const Standard_Real p2); - /****************** BRepLib_MakeEdge2d ******************/ - /**** md5 signature: 028cece37204c3539e721c37f7b9b093 ****/ + /****** BRepLib_MakeEdge2d::BRepLib_MakeEdge2d ******/ + /****** md5 signature: 028cece37204c3539e721c37f7b9b093 ******/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Elips2d P1: gp_Pnt2d P2: gp_Pnt2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d(const gp_Elips2d & L, const gp_Pnt2d & P1, const gp_Pnt2d & P2); - /****************** BRepLib_MakeEdge2d ******************/ - /**** md5 signature: ec539e76684e0af672cbb9828edd9d87 ****/ + /****** BRepLib_MakeEdge2d::BRepLib_MakeEdge2d ******/ + /****** md5 signature: ec539e76684e0af672cbb9828edd9d87 ******/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Elips2d V1: TopoDS_Vertex V2: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d(const gp_Elips2d & L, const TopoDS_Vertex & V1, const TopoDS_Vertex & V2); - /****************** BRepLib_MakeEdge2d ******************/ - /**** md5 signature: 290b789dc756aeed7c876190b3160d65 ****/ + /****** BRepLib_MakeEdge2d::BRepLib_MakeEdge2d ******/ + /****** md5 signature: 290b789dc756aeed7c876190b3160d65 ******/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Hypr2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d(const gp_Hypr2d & L); - /****************** BRepLib_MakeEdge2d ******************/ - /**** md5 signature: a996888dfa7a37ac3d5c3f51d223671c ****/ + /****** BRepLib_MakeEdge2d::BRepLib_MakeEdge2d ******/ + /****** md5 signature: a996888dfa7a37ac3d5c3f51d223671c ******/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Hypr2d p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d(const gp_Hypr2d & L, const Standard_Real p1, const Standard_Real p2); - /****************** BRepLib_MakeEdge2d ******************/ - /**** md5 signature: 70ee7ca5e1e5bfe58065106dbb4dc8e0 ****/ + /****** BRepLib_MakeEdge2d::BRepLib_MakeEdge2d ******/ + /****** md5 signature: 70ee7ca5e1e5bfe58065106dbb4dc8e0 ******/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Hypr2d P1: gp_Pnt2d P2: gp_Pnt2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d(const gp_Hypr2d & L, const gp_Pnt2d & P1, const gp_Pnt2d & P2); - /****************** BRepLib_MakeEdge2d ******************/ - /**** md5 signature: d9f40eb1416118cebc6ac8b81f021c8c ****/ + /****** BRepLib_MakeEdge2d::BRepLib_MakeEdge2d ******/ + /****** md5 signature: d9f40eb1416118cebc6ac8b81f021c8c ******/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Hypr2d V1: TopoDS_Vertex V2: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d(const gp_Hypr2d & L, const TopoDS_Vertex & V1, const TopoDS_Vertex & V2); - /****************** BRepLib_MakeEdge2d ******************/ - /**** md5 signature: efe9dbfb476842f7eab4b04dc0be9f93 ****/ + /****** BRepLib_MakeEdge2d::BRepLib_MakeEdge2d ******/ + /****** md5 signature: efe9dbfb476842f7eab4b04dc0be9f93 ******/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Parab2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d(const gp_Parab2d & L); - /****************** BRepLib_MakeEdge2d ******************/ - /**** md5 signature: 390fd21101740f5959dc03f6e4d3c944 ****/ + /****** BRepLib_MakeEdge2d::BRepLib_MakeEdge2d ******/ + /****** md5 signature: 390fd21101740f5959dc03f6e4d3c944 ******/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Parab2d p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d(const gp_Parab2d & L, const Standard_Real p1, const Standard_Real p2); - /****************** BRepLib_MakeEdge2d ******************/ - /**** md5 signature: 6916a6786470149e1f649e7b30d6b377 ****/ + /****** BRepLib_MakeEdge2d::BRepLib_MakeEdge2d ******/ + /****** md5 signature: 6916a6786470149e1f649e7b30d6b377 ******/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Parab2d P1: gp_Pnt2d P2: gp_Pnt2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d(const gp_Parab2d & L, const gp_Pnt2d & P1, const gp_Pnt2d & P2); - /****************** BRepLib_MakeEdge2d ******************/ - /**** md5 signature: 4e23bad0d2ddaf63837b9103d8c497f7 ****/ + /****** BRepLib_MakeEdge2d::BRepLib_MakeEdge2d ******/ + /****** md5 signature: 4e23bad0d2ddaf63837b9103d8c497f7 ******/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: gp_Parab2d V1: TopoDS_Vertex V2: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d(const gp_Parab2d & L, const TopoDS_Vertex & V1, const TopoDS_Vertex & V2); - /****************** BRepLib_MakeEdge2d ******************/ - /**** md5 signature: 8399ce2ab3d8b76877d03914e74e0197 ****/ + /****** BRepLib_MakeEdge2d::BRepLib_MakeEdge2d ******/ + /****** md5 signature: 8399ce2ab3d8b76877d03914e74e0197 ******/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: Geom2d_Curve -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d(const opencascade::handle & L); - /****************** BRepLib_MakeEdge2d ******************/ - /**** md5 signature: d94e150f6ac8f771336a088e1e0ad54d ****/ + /****** BRepLib_MakeEdge2d::BRepLib_MakeEdge2d ******/ + /****** md5 signature: d94e150f6ac8f771336a088e1e0ad54d ******/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: Geom2d_Curve p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d(const opencascade::handle & L, const Standard_Real p1, const Standard_Real p2); - /****************** BRepLib_MakeEdge2d ******************/ - /**** md5 signature: 01ee21ab26910f427461fb97cb2e22e5 ****/ + /****** BRepLib_MakeEdge2d::BRepLib_MakeEdge2d ******/ + /****** md5 signature: 01ee21ab26910f427461fb97cb2e22e5 ******/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: Geom2d_Curve P1: gp_Pnt2d P2: gp_Pnt2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d(const opencascade::handle & L, const gp_Pnt2d & P1, const gp_Pnt2d & P2); - /****************** BRepLib_MakeEdge2d ******************/ - /**** md5 signature: 83a478b2aa930fd288a84ff4317e1bf0 ****/ + /****** BRepLib_MakeEdge2d::BRepLib_MakeEdge2d ******/ + /****** md5 signature: 83a478b2aa930fd288a84ff4317e1bf0 ******/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: Geom2d_Curve V1: TopoDS_Vertex V2: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d(const opencascade::handle & L, const TopoDS_Vertex & V1, const TopoDS_Vertex & V2); - /****************** BRepLib_MakeEdge2d ******************/ - /**** md5 signature: 300875173ff311f28ba469b85de9fc1e ****/ + /****** BRepLib_MakeEdge2d::BRepLib_MakeEdge2d ******/ + /****** md5 signature: 300875173ff311f28ba469b85de9fc1e ******/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: Geom2d_Curve @@ -2661,17 +3472,20 @@ P2: gp_Pnt2d p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: 20f292df496f48d81091104b3ad42efa ****/ + /****** BRepLib_MakeEdge2d::BRepLib_MakeEdge2d ******/ + /****** md5 signature: 20f292df496f48d81091104b3ad42efa ******/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- L: Geom2d_Curve @@ -2680,105 +3494,124 @@ V2: TopoDS_Vertex p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: 768a18012e715670ae29301e23e2cf8b ****/ + /****** BRepLib_MakeEdge2d::Edge ******/ + /****** md5 signature: 768a18012e715670ae29301e23e2cf8b ******/ %feature("compactdefaultargs") Edge; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopoDS_Edge + +Description +----------- +No available documentation. ") Edge; const TopoDS_Edge Edge(); - /****************** Error ******************/ - /**** md5 signature: 20d9748fec77b6c2426dc27ab850ca5c ****/ + /****** BRepLib_MakeEdge2d::Error ******/ + /****** md5 signature: 20d9748fec77b6c2426dc27ab850ca5c ******/ %feature("compactdefaultargs") Error; - %feature("autodoc", "Returns the error description when notdone. - -Returns + %feature("autodoc", "Return ------- BRepLib_EdgeError + +Description +----------- +Returns the error description when NotDone. ") Error; BRepLib_EdgeError Error(); - /****************** Init ******************/ - /**** md5 signature: 9265e5f0d4ffc1952c67390e1e4fa21c ****/ + /****** BRepLib_MakeEdge2d::Init ******/ + /****** md5 signature: 9265e5f0d4ffc1952c67390e1e4fa21c ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom2d_Curve -Returns +Return ------- None + +Description +----------- +No available documentation. ") Init; void Init(const opencascade::handle & C); - /****************** Init ******************/ - /**** md5 signature: 0961809b47e34c89a735be9bbe4cd201 ****/ + /****** BRepLib_MakeEdge2d::Init ******/ + /****** md5 signature: 0961809b47e34c89a735be9bbe4cd201 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom2d_Curve p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") Init; void Init(const opencascade::handle & C, const Standard_Real p1, const Standard_Real p2); - /****************** Init ******************/ - /**** md5 signature: 3aebe7beccd2278aab8e691a1202290a ****/ + /****** BRepLib_MakeEdge2d::Init ******/ + /****** md5 signature: 3aebe7beccd2278aab8e691a1202290a ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom2d_Curve P1: gp_Pnt2d P2: gp_Pnt2d -Returns +Return ------- None + +Description +----------- +No available documentation. ") Init; void Init(const opencascade::handle & C, const gp_Pnt2d & P1, const gp_Pnt2d & P2); - /****************** Init ******************/ - /**** md5 signature: 9ea2122c0b47e1c54f550895e77a510a ****/ + /****** BRepLib_MakeEdge2d::Init ******/ + /****** md5 signature: 9ea2122c0b47e1c54f550895e77a510a ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom2d_Curve V1: TopoDS_Vertex V2: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") Init; void Init(const opencascade::handle & C, const TopoDS_Vertex & V1, const TopoDS_Vertex & V2); - /****************** Init ******************/ - /**** md5 signature: 909c5b62ad2dddf89a9e7ed6c45abf2e ****/ + /****** BRepLib_MakeEdge2d::Init ******/ + /****** md5 signature: 909c5b62ad2dddf89a9e7ed6c45abf2e ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom2d_Curve @@ -2787,17 +3620,20 @@ P2: gp_Pnt2d p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") Init; void Init(const opencascade::handle & C, const gp_Pnt2d & P1, const gp_Pnt2d & P2, const Standard_Real p1, const Standard_Real p2); - /****************** Init ******************/ - /**** md5 signature: c6a6dc0247fd8deba360e5bd07dc5e73 ****/ + /****** BRepLib_MakeEdge2d::Init ******/ + /****** md5 signature: c6a6dc0247fd8deba360e5bd07dc5e73 ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- C: Geom2d_Curve @@ -2806,31 +3642,39 @@ V2: TopoDS_Vertex p1: float p2: float -Returns +Return ------- None + +Description +----------- +No available documentation. ") Init; void Init(const opencascade::handle & C, const TopoDS_Vertex & V1, const TopoDS_Vertex & V2, const Standard_Real p1, const Standard_Real p2); - /****************** Vertex1 ******************/ - /**** md5 signature: 3013872331c1fad0ef9330909eb27447 ****/ + /****** BRepLib_MakeEdge2d::Vertex1 ******/ + /****** md5 signature: 3013872331c1fad0ef9330909eb27447 ******/ %feature("compactdefaultargs") Vertex1; - %feature("autodoc", "Returns the first vertex of the edge. may be null. - -Returns + %feature("autodoc", "Return ------- TopoDS_Vertex + +Description +----------- +Returns the first vertex of the edge. May be Null. ") Vertex1; const TopoDS_Vertex Vertex1(); - /****************** Vertex2 ******************/ - /**** md5 signature: ce52ea817fb1fca460491831377f3811 ****/ + /****** BRepLib_MakeEdge2d::Vertex2 ******/ + /****** md5 signature: ce52ea817fb1fca460491831377f3811 ******/ %feature("compactdefaultargs") Vertex2; - %feature("autodoc", "Returns the second vertex of the edge. may be null. - -Returns + %feature("autodoc", "Return ------- TopoDS_Vertex + +Description +----------- +Returns the second vertex of the edge. May be Null. ") Vertex2; const TopoDS_Vertex Vertex2(); @@ -2848,128 +3692,150 @@ TopoDS_Vertex *************************/ class BRepLib_MakeFace : public BRepLib_MakeShape { public: - /****************** BRepLib_MakeFace ******************/ - /**** md5 signature: 36f4b8fa3a3e86d49ad8175f15a6a181 ****/ + /****** BRepLib_MakeFace::BRepLib_MakeFace ******/ + /****** md5 signature: 36f4b8fa3a3e86d49ad8175f15a6a181 ******/ %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", "Not done. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Not done. ") BRepLib_MakeFace; BRepLib_MakeFace(); - /****************** BRepLib_MakeFace ******************/ - /**** md5 signature: 5ce188b7df2a0fe70e449d0f77eb834b ****/ + /****** BRepLib_MakeFace::BRepLib_MakeFace ******/ + /****** md5 signature: 5ce188b7df2a0fe70e449d0f77eb834b ******/ %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", "Load a face. usefull to add wires. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face -Returns +Return ------- None + +Description +----------- +Load a face. Useful to add wires. ") BRepLib_MakeFace; BRepLib_MakeFace(const TopoDS_Face & F); - /****************** BRepLib_MakeFace ******************/ - /**** md5 signature: f58385a55702aaf05d7a60a8c4d06779 ****/ + /****** BRepLib_MakeFace::BRepLib_MakeFace ******/ + /****** md5 signature: f58385a55702aaf05d7a60a8c4d06779 ******/ %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", "Make a face from a plane. - + %feature("autodoc", " Parameters ---------- P: gp_Pln -Returns +Return ------- None + +Description +----------- +Make a face from a plane. ") BRepLib_MakeFace; BRepLib_MakeFace(const gp_Pln & P); - /****************** BRepLib_MakeFace ******************/ - /**** md5 signature: 497b8219b83a91681ee6bac6143afbbf ****/ + /****** BRepLib_MakeFace::BRepLib_MakeFace ******/ + /****** md5 signature: 497b8219b83a91681ee6bac6143afbbf ******/ %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", "Make a face from a cylinder. - + %feature("autodoc", " Parameters ---------- C: gp_Cylinder -Returns +Return ------- None + +Description +----------- +Make a face from a cylinder. ") BRepLib_MakeFace; BRepLib_MakeFace(const gp_Cylinder & C); - /****************** BRepLib_MakeFace ******************/ - /**** md5 signature: 7db1068be3142da374a0c117ba857df3 ****/ + /****** BRepLib_MakeFace::BRepLib_MakeFace ******/ + /****** md5 signature: 7db1068be3142da374a0c117ba857df3 ******/ %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", "Make a face from a cone. - + %feature("autodoc", " Parameters ---------- C: gp_Cone -Returns +Return ------- None + +Description +----------- +Make a face from a cone. ") BRepLib_MakeFace; BRepLib_MakeFace(const gp_Cone & C); - /****************** BRepLib_MakeFace ******************/ - /**** md5 signature: d3ddee166dcf5a3d7fa55005e8b00f6c ****/ + /****** BRepLib_MakeFace::BRepLib_MakeFace ******/ + /****** md5 signature: d3ddee166dcf5a3d7fa55005e8b00f6c ******/ %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", "Make a face from a sphere. - + %feature("autodoc", " Parameters ---------- S: gp_Sphere -Returns +Return ------- None + +Description +----------- +Make a face from a sphere. ") BRepLib_MakeFace; BRepLib_MakeFace(const gp_Sphere & S); - /****************** BRepLib_MakeFace ******************/ - /**** md5 signature: 995e7af1530f86cd9ab3a4d3e4ea69ef ****/ + /****** BRepLib_MakeFace::BRepLib_MakeFace ******/ + /****** md5 signature: 995e7af1530f86cd9ab3a4d3e4ea69ef ******/ %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", "Make a face from a torus. - + %feature("autodoc", " Parameters ---------- C: gp_Torus -Returns +Return ------- None + +Description +----------- +Make a face from a torus. ") BRepLib_MakeFace; BRepLib_MakeFace(const gp_Torus & C); - /****************** BRepLib_MakeFace ******************/ - /**** md5 signature: 71fcda54bfeccc386fb75b2aff873cfb ****/ + /****** BRepLib_MakeFace::BRepLib_MakeFace ******/ + /****** md5 signature: 71fcda54bfeccc386fb75b2aff873cfb ******/ %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", "Make a face from a surface. accepts tolerance value (toldegen) for resolution of degenerated edges. - + %feature("autodoc", " Parameters ---------- S: Geom_Surface TolDegen: float -Returns +Return ------- None + +Description +----------- +Make a face from a Surface. Accepts tolerance value (TolDegen) for resolution of degenerated edges. ") BRepLib_MakeFace; BRepLib_MakeFace(const opencascade::handle & S, const Standard_Real TolDegen); - /****************** BRepLib_MakeFace ******************/ - /**** md5 signature: e22b1b0fb58fd884291f1e45462b13b1 ****/ + /****** BRepLib_MakeFace::BRepLib_MakeFace ******/ + /****** md5 signature: e22b1b0fb58fd884291f1e45462b13b1 ******/ %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", "Make a face from a plane. - + %feature("autodoc", " Parameters ---------- P: gp_Pln @@ -2978,17 +3844,20 @@ UMax: float VMin: float VMax: float -Returns +Return ------- None + +Description +----------- +Make a face from a plane. ") BRepLib_MakeFace; BRepLib_MakeFace(const gp_Pln & P, const Standard_Real UMin, const Standard_Real UMax, const Standard_Real VMin, const Standard_Real VMax); - /****************** BRepLib_MakeFace ******************/ - /**** md5 signature: d8da7666ae167d4a95b1316b8cd9e07c ****/ + /****** BRepLib_MakeFace::BRepLib_MakeFace ******/ + /****** md5 signature: d8da7666ae167d4a95b1316b8cd9e07c ******/ %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", "Make a face from a cylinder. - + %feature("autodoc", " Parameters ---------- C: gp_Cylinder @@ -2997,17 +3866,20 @@ UMax: float VMin: float VMax: float -Returns +Return ------- None + +Description +----------- +Make a face from a cylinder. ") BRepLib_MakeFace; BRepLib_MakeFace(const gp_Cylinder & C, const Standard_Real UMin, const Standard_Real UMax, const Standard_Real VMin, const Standard_Real VMax); - /****************** BRepLib_MakeFace ******************/ - /**** md5 signature: ad0c69f42c45c8362f1abab4fbbf43a8 ****/ + /****** BRepLib_MakeFace::BRepLib_MakeFace ******/ + /****** md5 signature: ad0c69f42c45c8362f1abab4fbbf43a8 ******/ %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", "Make a face from a cone. - + %feature("autodoc", " Parameters ---------- C: gp_Cone @@ -3016,17 +3888,20 @@ UMax: float VMin: float VMax: float -Returns +Return ------- None + +Description +----------- +Make a face from a cone. ") BRepLib_MakeFace; BRepLib_MakeFace(const gp_Cone & C, const Standard_Real UMin, const Standard_Real UMax, const Standard_Real VMin, const Standard_Real VMax); - /****************** BRepLib_MakeFace ******************/ - /**** md5 signature: d521384eae57a8868ab132a84828ba6f ****/ + /****** BRepLib_MakeFace::BRepLib_MakeFace ******/ + /****** md5 signature: d521384eae57a8868ab132a84828ba6f ******/ %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", "Make a face from a sphere. - + %feature("autodoc", " Parameters ---------- S: gp_Sphere @@ -3035,17 +3910,20 @@ UMax: float VMin: float VMax: float -Returns +Return ------- None + +Description +----------- +Make a face from a sphere. ") BRepLib_MakeFace; BRepLib_MakeFace(const gp_Sphere & S, const Standard_Real UMin, const Standard_Real UMax, const Standard_Real VMin, const Standard_Real VMax); - /****************** BRepLib_MakeFace ******************/ - /**** md5 signature: f3864ce104fe0b7123172ce1e14051c7 ****/ + /****** BRepLib_MakeFace::BRepLib_MakeFace ******/ + /****** md5 signature: f3864ce104fe0b7123172ce1e14051c7 ******/ %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", "Make a face from a torus. - + %feature("autodoc", " Parameters ---------- C: gp_Torus @@ -3054,17 +3932,20 @@ UMax: float VMin: float VMax: float -Returns +Return ------- None + +Description +----------- +Make a face from a torus. ") BRepLib_MakeFace; BRepLib_MakeFace(const gp_Torus & C, const Standard_Real UMin, const Standard_Real UMax, const Standard_Real VMin, const Standard_Real VMax); - /****************** BRepLib_MakeFace ******************/ - /**** md5 signature: f016cba06f591c9b61ab608145612651 ****/ + /****** BRepLib_MakeFace::BRepLib_MakeFace ******/ + /****** md5 signature: f016cba06f591c9b61ab608145612651 ******/ %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. - + %feature("autodoc", " Parameters ---------- S: Geom_Surface @@ -3074,227 +3955,260 @@ VMin: float VMax: float TolDegen: float -Returns +Return ------- None + +Description +----------- +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; 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 ******************/ - /**** md5 signature: ed28ba4982d2f9b3dddc1392d53f7acd ****/ + /****** BRepLib_MakeFace::BRepLib_MakeFace ******/ + /****** md5 signature: ed28ba4982d2f9b3dddc1392d53f7acd ******/ %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. - + %feature("autodoc", " Parameters ---------- W: TopoDS_Wire -OnlyPlane: bool,optional - default value is Standard_False +OnlyPlane: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +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. ") BRepLib_MakeFace; BRepLib_MakeFace(const TopoDS_Wire & W, const Standard_Boolean OnlyPlane = Standard_False); - /****************** BRepLib_MakeFace ******************/ - /**** md5 signature: 354be0c0ac63645d25f576674820f14a ****/ + /****** BRepLib_MakeFace::BRepLib_MakeFace ******/ + /****** md5 signature: 354be0c0ac63645d25f576674820f14a ******/ %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", "Make a face from a plane and a wire. - + %feature("autodoc", " Parameters ---------- P: gp_Pln W: TopoDS_Wire -Inside: bool,optional - default value is Standard_True +Inside: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +Make a face from a plane and a wire. ") BRepLib_MakeFace; BRepLib_MakeFace(const gp_Pln & P, const TopoDS_Wire & W, const Standard_Boolean Inside = Standard_True); - /****************** BRepLib_MakeFace ******************/ - /**** md5 signature: a4de9a65b88a70bbef252d71c2886c6c ****/ + /****** BRepLib_MakeFace::BRepLib_MakeFace ******/ + /****** md5 signature: a4de9a65b88a70bbef252d71c2886c6c ******/ %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", "Make a face from a cylinder and a wire. - + %feature("autodoc", " Parameters ---------- C: gp_Cylinder W: TopoDS_Wire -Inside: bool,optional - default value is Standard_True +Inside: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +Make a face from a cylinder and a wire. ") BRepLib_MakeFace; BRepLib_MakeFace(const gp_Cylinder & C, const TopoDS_Wire & W, const Standard_Boolean Inside = Standard_True); - /****************** BRepLib_MakeFace ******************/ - /**** md5 signature: 642cbd945296b1bbb29dd1d9b4177253 ****/ + /****** BRepLib_MakeFace::BRepLib_MakeFace ******/ + /****** md5 signature: 642cbd945296b1bbb29dd1d9b4177253 ******/ %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", "Make a face from a cone and a wire. - + %feature("autodoc", " Parameters ---------- C: gp_Cone W: TopoDS_Wire -Inside: bool,optional - default value is Standard_True +Inside: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +Make a face from a cone and a wire. ") BRepLib_MakeFace; BRepLib_MakeFace(const gp_Cone & C, const TopoDS_Wire & W, const Standard_Boolean Inside = Standard_True); - /****************** BRepLib_MakeFace ******************/ - /**** md5 signature: f2e533bf67075db9c8a755d4745f4351 ****/ + /****** BRepLib_MakeFace::BRepLib_MakeFace ******/ + /****** md5 signature: f2e533bf67075db9c8a755d4745f4351 ******/ %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", "Make a face from a sphere and a wire. - + %feature("autodoc", " Parameters ---------- S: gp_Sphere W: TopoDS_Wire -Inside: bool,optional - default value is Standard_True +Inside: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +Make a face from a sphere and a wire. ") BRepLib_MakeFace; BRepLib_MakeFace(const gp_Sphere & S, const TopoDS_Wire & W, const Standard_Boolean Inside = Standard_True); - /****************** BRepLib_MakeFace ******************/ - /**** md5 signature: f588f43ab7388d61ecf7054cc98e3736 ****/ + /****** BRepLib_MakeFace::BRepLib_MakeFace ******/ + /****** md5 signature: f588f43ab7388d61ecf7054cc98e3736 ******/ %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", "Make a face from a torus and a wire. - + %feature("autodoc", " Parameters ---------- C: gp_Torus W: TopoDS_Wire -Inside: bool,optional - default value is Standard_True +Inside: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +Make a face from a torus and a wire. ") BRepLib_MakeFace; BRepLib_MakeFace(const gp_Torus & C, const TopoDS_Wire & W, const Standard_Boolean Inside = Standard_True); - /****************** BRepLib_MakeFace ******************/ - /**** md5 signature: 7b3f376200a4a9abc0db46cc88285ec9 ****/ + /****** BRepLib_MakeFace::BRepLib_MakeFace ******/ + /****** md5 signature: 7b3f376200a4a9abc0db46cc88285ec9 ******/ %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", "Make a face from a surface and a wire. - + %feature("autodoc", " Parameters ---------- S: Geom_Surface W: TopoDS_Wire -Inside: bool,optional - default value is Standard_True +Inside: bool (optional, default to Standard_True) -Returns +Return ------- None + +Description +----------- +Make a face from a Surface and a wire. ") BRepLib_MakeFace; BRepLib_MakeFace(const opencascade::handle & S, const TopoDS_Wire & W, const Standard_Boolean Inside = Standard_True); - /****************** BRepLib_MakeFace ******************/ - /**** md5 signature: 3a87da05adde53547b32a7202b8c6c7f ****/ + /****** BRepLib_MakeFace::BRepLib_MakeFace ******/ + /****** md5 signature: 3a87da05adde53547b32a7202b8c6c7f ******/ %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", "Adds the wire in the face . - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face W: TopoDS_Wire -Returns +Return ------- None + +Description +----------- +Adds the wire in the face . ") BRepLib_MakeFace; BRepLib_MakeFace(const TopoDS_Face & F, const TopoDS_Wire & W); - /****************** Add ******************/ - /**** md5 signature: 3257e47f30128eb5440b1eab5065e724 ****/ + /****** BRepLib_MakeFace::Add ******/ + /****** md5 signature: 3257e47f30128eb5440b1eab5065e724 ******/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Adds the wire in the current face. - + %feature("autodoc", " Parameters ---------- W: TopoDS_Wire -Returns +Return ------- None + +Description +----------- +Adds the wire in the current face. ") Add; void Add(const TopoDS_Wire & W); - /****************** Error ******************/ - /**** md5 signature: 3814c1ef789743cf136230fef8d22557 ****/ + /****** BRepLib_MakeFace::Error ******/ + /****** md5 signature: 3814c1ef789743cf136230fef8d22557 ******/ %feature("compactdefaultargs") Error; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- BRepLib_FaceError + +Description +----------- +No available documentation. ") Error; BRepLib_FaceError Error(); - /****************** Face ******************/ - /**** md5 signature: 91e216ebeb76e55c73eb9e179241a6ff ****/ + /****** BRepLib_MakeFace::Face ******/ + /****** md5 signature: 91e216ebeb76e55c73eb9e179241a6ff ******/ %feature("compactdefaultargs") Face; - %feature("autodoc", "Returns the new face. - -Returns + %feature("autodoc", "Return ------- TopoDS_Face + +Description +----------- +Returns the new face. ") Face; const TopoDS_Face Face(); - /****************** Init ******************/ - /**** md5 signature: a8dfaa68079e743e08190fe58d950a9a ****/ + /****** BRepLib_MakeFace::Init ******/ + /****** md5 signature: a8dfaa68079e743e08190fe58d950a9a ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "Load the face. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face -Returns +Return ------- None + +Description +----------- +Load the face. ") Init; void Init(const TopoDS_Face & F); - /****************** Init ******************/ - /**** md5 signature: 4537ccbc32157e9ea035d63999e8cd22 ****/ + /****** BRepLib_MakeFace::Init ******/ + /****** md5 signature: 4537ccbc32157e9ea035d63999e8cd22 ******/ %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. - + %feature("autodoc", " Parameters ---------- S: Geom_Surface Bound: bool TolDegen: float -Returns +Return ------- None + +Description +----------- +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; void Init(const opencascade::handle & S, const Standard_Boolean Bound, const Standard_Real TolDegen); - /****************** Init ******************/ - /**** md5 signature: 1577db0535b260fa5404a98f8fa219d8 ****/ + /****** BRepLib_MakeFace::Init ******/ + /****** md5 signature: 1577db0535b260fa5404a98f8fa219d8 ******/ %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. - + %feature("autodoc", " Parameters ---------- S: Geom_Surface @@ -3304,25 +4218,32 @@ VMin: float VMax: float TolDegen: float -Returns +Return ------- None + +Description +----------- +Creates the face from the surface and the min-max values. Accepts tolerance value (TolDegen) for resolution of degenerated edges. ") 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); - /****************** IsDegenerated ******************/ - /**** md5 signature: 8569447db8fb27d83d66da5cfdd04d4e ****/ + /****** BRepLib_MakeFace::IsDegenerated ******/ + /****** md5 signature: 8569447db8fb27d83d66da5cfdd04d4e ******/ %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", " Parameters ---------- theCurve: Geom_Curve theMaxTol: float -Returns +Return ------- theActTol: float + +Description +----------- +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. ") IsDegenerated; static Standard_Boolean IsDegenerated(const opencascade::handle & theCurve, const Standard_Real theMaxTol, Standard_Real &OutValue); @@ -3340,220 +4261,254 @@ theActTol: float ****************************/ class BRepLib_MakePolygon : public BRepLib_MakeShape { public: - /****************** BRepLib_MakePolygon ******************/ - /**** md5 signature: aacb062117958abafc3d0fbec57de5b4 ****/ + /****** BRepLib_MakePolygon::BRepLib_MakePolygon ******/ + /****** md5 signature: aacb062117958abafc3d0fbec57de5b4 ******/ %feature("compactdefaultargs") BRepLib_MakePolygon; - %feature("autodoc", "Creates an empty makepolygon. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Creates an empty MakePolygon. ") BRepLib_MakePolygon; BRepLib_MakePolygon(); - /****************** BRepLib_MakePolygon ******************/ - /**** md5 signature: c5105a30c34383e158563a4a55c4b074 ****/ + /****** BRepLib_MakePolygon::BRepLib_MakePolygon ******/ + /****** md5 signature: c5105a30c34383e158563a4a55c4b074 ******/ %feature("compactdefaultargs") BRepLib_MakePolygon; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P1: gp_Pnt P2: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakePolygon; BRepLib_MakePolygon(const gp_Pnt & P1, const gp_Pnt & P2); - /****************** BRepLib_MakePolygon ******************/ - /**** md5 signature: 8773333921c39918b59dcd751d310fed ****/ + /****** BRepLib_MakePolygon::BRepLib_MakePolygon ******/ + /****** md5 signature: 8773333921c39918b59dcd751d310fed ******/ %feature("compactdefaultargs") BRepLib_MakePolygon; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P1: gp_Pnt P2: gp_Pnt P3: gp_Pnt -Close: bool,optional - default value is Standard_False +Close: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakePolygon; BRepLib_MakePolygon(const gp_Pnt & P1, const gp_Pnt & P2, const gp_Pnt & P3, const Standard_Boolean Close = Standard_False); - /****************** BRepLib_MakePolygon ******************/ - /**** md5 signature: 29183b2578b472750b34c4ce98f6f3bf ****/ + /****** BRepLib_MakePolygon::BRepLib_MakePolygon ******/ + /****** md5 signature: 29183b2578b472750b34c4ce98f6f3bf ******/ %feature("compactdefaultargs") BRepLib_MakePolygon; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P1: gp_Pnt P2: gp_Pnt P3: gp_Pnt P4: gp_Pnt -Close: bool,optional - default value is Standard_False +Close: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: 7b0a8f06e39ac3e818558e82f36dc363 ****/ + /****** BRepLib_MakePolygon::BRepLib_MakePolygon ******/ + /****** md5 signature: 7b0a8f06e39ac3e818558e82f36dc363 ******/ %feature("compactdefaultargs") BRepLib_MakePolygon; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- V1: TopoDS_Vertex V2: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakePolygon; BRepLib_MakePolygon(const TopoDS_Vertex & V1, const TopoDS_Vertex & V2); - /****************** BRepLib_MakePolygon ******************/ - /**** md5 signature: 3641e43af47b1d25d5f849e10b5b22b1 ****/ + /****** BRepLib_MakePolygon::BRepLib_MakePolygon ******/ + /****** md5 signature: 3641e43af47b1d25d5f849e10b5b22b1 ******/ %feature("compactdefaultargs") BRepLib_MakePolygon; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- V1: TopoDS_Vertex V2: TopoDS_Vertex V3: TopoDS_Vertex -Close: bool,optional - default value is Standard_False +Close: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakePolygon; BRepLib_MakePolygon(const TopoDS_Vertex & V1, const TopoDS_Vertex & V2, const TopoDS_Vertex & V3, const Standard_Boolean Close = Standard_False); - /****************** BRepLib_MakePolygon ******************/ - /**** md5 signature: 9216cf1c809a9fbfc2560c5240b6f8d9 ****/ + /****** BRepLib_MakePolygon::BRepLib_MakePolygon ******/ + /****** md5 signature: 9216cf1c809a9fbfc2560c5240b6f8d9 ******/ %feature("compactdefaultargs") BRepLib_MakePolygon; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- V1: TopoDS_Vertex V2: TopoDS_Vertex V3: TopoDS_Vertex V4: TopoDS_Vertex -Close: bool,optional - default value is Standard_False +Close: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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); - /****************** Add ******************/ - /**** md5 signature: b714bfb888eecda75b87221b873365bd ****/ + /****** BRepLib_MakePolygon::Add ******/ + /****** md5 signature: b714bfb888eecda75b87221b873365bd ******/ %feature("compactdefaultargs") Add; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") Add; void Add(const gp_Pnt & P); - /****************** Add ******************/ - /**** md5 signature: 50c25a05b9135c3510f0a532439b09c2 ****/ + /****** BRepLib_MakePolygon::Add ******/ + /****** md5 signature: 50c25a05b9135c3510f0a532439b09c2 ******/ %feature("compactdefaultargs") Add; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- V: TopoDS_Vertex -Returns +Return ------- None + +Description +----------- +No available documentation. ") Add; void Add(const TopoDS_Vertex & V); - /****************** Added ******************/ - /**** md5 signature: ae76eff202ef54dd186494f9fb9a5cb0 ****/ + /****** BRepLib_MakePolygon::Added ******/ + /****** md5 signature: ae76eff202ef54dd186494f9fb9a5cb0 ******/ %feature("compactdefaultargs") Added; - %feature("autodoc", "Returns true if the last vertex or point was succesfully added. - -Returns + %feature("autodoc", "Return ------- bool + +Description +----------- +Returns True if the last vertex or point was successfully added. ") Added; Standard_Boolean Added(); - /****************** Close ******************/ - /**** md5 signature: d50d7ba65c2beb3eb436584b5735f108 ****/ + /****** BRepLib_MakePolygon::Close ******/ + /****** md5 signature: d50d7ba65c2beb3eb436584b5735f108 ******/ %feature("compactdefaultargs") Close; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +No available documentation. ") Close; void Close(); - /****************** Edge ******************/ - /**** md5 signature: be590cff987799d8b7c28083399d0e9f ****/ + /****** BRepLib_MakePolygon::Edge ******/ + /****** md5 signature: be590cff987799d8b7c28083399d0e9f ******/ %feature("compactdefaultargs") Edge; - %feature("autodoc", "Returns the last edge added to the polygon. - -Returns + %feature("autodoc", "Return ------- TopoDS_Edge + +Description +----------- +Returns the last edge added to the polygon. ") Edge; const TopoDS_Edge Edge(); - /****************** FirstVertex ******************/ - /**** md5 signature: 4e5c0d56a66d88d33c820ea69fb94d01 ****/ + /****** BRepLib_MakePolygon::FirstVertex ******/ + /****** md5 signature: 4e5c0d56a66d88d33c820ea69fb94d01 ******/ %feature("compactdefaultargs") FirstVertex; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopoDS_Vertex + +Description +----------- +No available documentation. ") FirstVertex; const TopoDS_Vertex FirstVertex(); - /****************** LastVertex ******************/ - /**** md5 signature: 00579001fbfcdaa6b9840a736dc9243f ****/ + /****** BRepLib_MakePolygon::LastVertex ******/ + /****** md5 signature: 00579001fbfcdaa6b9840a736dc9243f ******/ %feature("compactdefaultargs") LastVertex; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopoDS_Vertex + +Description +----------- +No available documentation. ") LastVertex; const TopoDS_Vertex LastVertex(); - /****************** Wire ******************/ - /**** md5 signature: 1a80266ab027407949727610f03160e2 ****/ + /****** BRepLib_MakePolygon::Wire ******/ + /****** md5 signature: 1a80266ab027407949727610f03160e2 ******/ %feature("compactdefaultargs") Wire; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopoDS_Wire + +Description +----------- +No available documentation. ") Wire; const TopoDS_Wire Wire(); @@ -3571,39 +4526,42 @@ TopoDS_Wire **************************/ class BRepLib_MakeShell : public BRepLib_MakeShape { public: - /****************** BRepLib_MakeShell ******************/ - /**** md5 signature: 101951819e82b2bc8aae4ad919232ab5 ****/ + /****** BRepLib_MakeShell::BRepLib_MakeShell ******/ + /****** md5 signature: 101951819e82b2bc8aae4ad919232ab5 ******/ %feature("compactdefaultargs") BRepLib_MakeShell; - %feature("autodoc", "Not done. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Not done. ") BRepLib_MakeShell; BRepLib_MakeShell(); - /****************** BRepLib_MakeShell ******************/ - /**** md5 signature: bc40882509752595dfaf04541e1aa7c9 ****/ + /****** BRepLib_MakeShell::BRepLib_MakeShell ******/ + /****** md5 signature: bc40882509752595dfaf04541e1aa7c9 ******/ %feature("compactdefaultargs") BRepLib_MakeShell; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: Geom_Surface -Segment: bool,optional - default value is Standard_False +Segment: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeShell; BRepLib_MakeShell(const opencascade::handle & S, const Standard_Boolean Segment = Standard_False); - /****************** BRepLib_MakeShell ******************/ - /**** md5 signature: f722e53312cdff1b556905c138f432a4 ****/ + /****** BRepLib_MakeShell::BRepLib_MakeShell ******/ + /****** md5 signature: f722e53312cdff1b556905c138f432a4 ******/ %feature("compactdefaultargs") BRepLib_MakeShell; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- S: Geom_Surface @@ -3611,31 +4569,35 @@ UMin: float UMax: float VMin: float VMax: float -Segment: bool,optional - default value is Standard_False +Segment: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +No available documentation. ") 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 ******************/ - /**** md5 signature: f86105343d1f7a8c438926b5ff57d481 ****/ + /****** BRepLib_MakeShell::Error ******/ + /****** md5 signature: f86105343d1f7a8c438926b5ff57d481 ******/ %feature("compactdefaultargs") Error; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- BRepLib_ShellError + +Description +----------- +No available documentation. ") Error; BRepLib_ShellError Error(); - /****************** Init ******************/ - /**** md5 signature: ee785ff5defa7d18e86d0ad913d864fa ****/ + /****** BRepLib_MakeShell::Init ******/ + /****** md5 signature: ee785ff5defa7d18e86d0ad913d864fa ******/ %feature("compactdefaultargs") Init; - %feature("autodoc", "Creates the shell from the surface and the min-max values. - + %feature("autodoc", " Parameters ---------- S: Geom_Surface @@ -3643,23 +4605,28 @@ UMin: float UMax: float VMin: float VMax: float -Segment: bool,optional - default value is Standard_False +Segment: bool (optional, default to Standard_False) -Returns +Return ------- None + +Description +----------- +Creates the shell from the surface and the min-max values. ") 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); - /****************** Shell ******************/ - /**** md5 signature: c581862d26a0a34b15cf9dd6d442e65d ****/ + /****** BRepLib_MakeShell::Shell ******/ + /****** md5 signature: c581862d26a0a34b15cf9dd6d442e65d ******/ %feature("compactdefaultargs") Shell; - %feature("autodoc", "Returns the new shell. - -Returns + %feature("autodoc", "Return ------- TopoDS_Shell + +Description +----------- +Returns the new Shell. ") Shell; const TopoDS_Shell Shell(); @@ -3677,149 +4644,177 @@ TopoDS_Shell **************************/ class BRepLib_MakeSolid : public BRepLib_MakeShape { public: - /****************** BRepLib_MakeSolid ******************/ - /**** md5 signature: 4a21e1a4b5fa5a59bf841cd097ade425 ****/ + /****** BRepLib_MakeSolid::BRepLib_MakeSolid ******/ + /****** md5 signature: 4a21e1a4b5fa5a59bf841cd097ade425 ******/ %feature("compactdefaultargs") BRepLib_MakeSolid; - %feature("autodoc", "Solid covers whole space. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +Solid covers whole space. ") BRepLib_MakeSolid; BRepLib_MakeSolid(); - /****************** BRepLib_MakeSolid ******************/ - /**** md5 signature: cfb38d2d7469f4b813037d06d55c44ca ****/ + /****** BRepLib_MakeSolid::BRepLib_MakeSolid ******/ + /****** md5 signature: cfb38d2d7469f4b813037d06d55c44ca ******/ %feature("compactdefaultargs") BRepLib_MakeSolid; - %feature("autodoc", "Make a solid from a compsolid. - + %feature("autodoc", " Parameters ---------- S: TopoDS_CompSolid -Returns +Return ------- None + +Description +----------- +Make a solid from a CompSolid. ") BRepLib_MakeSolid; BRepLib_MakeSolid(const TopoDS_CompSolid & S); - /****************** BRepLib_MakeSolid ******************/ - /**** md5 signature: 664e37b9a739671129f23ee949599dab ****/ + /****** BRepLib_MakeSolid::BRepLib_MakeSolid ******/ + /****** md5 signature: 664e37b9a739671129f23ee949599dab ******/ %feature("compactdefaultargs") BRepLib_MakeSolid; - %feature("autodoc", "Make a solid from a shell. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shell -Returns +Return ------- None + +Description +----------- +Make a solid from a shell. ") BRepLib_MakeSolid; BRepLib_MakeSolid(const TopoDS_Shell & S); - /****************** BRepLib_MakeSolid ******************/ - /**** md5 signature: b341b5861b7a90a52fdd2f8cf6d43c6b ****/ + /****** BRepLib_MakeSolid::BRepLib_MakeSolid ******/ + /****** md5 signature: b341b5861b7a90a52fdd2f8cf6d43c6b ******/ %feature("compactdefaultargs") BRepLib_MakeSolid; - %feature("autodoc", "Make a solid from two shells. - + %feature("autodoc", " Parameters ---------- S1: TopoDS_Shell S2: TopoDS_Shell -Returns +Return ------- None + +Description +----------- +Make a solid from two shells. ") BRepLib_MakeSolid; BRepLib_MakeSolid(const TopoDS_Shell & S1, const TopoDS_Shell & S2); - /****************** BRepLib_MakeSolid ******************/ - /**** md5 signature: e41b5e97a7160462f5cf846dd7ea74f4 ****/ + /****** BRepLib_MakeSolid::BRepLib_MakeSolid ******/ + /****** md5 signature: e41b5e97a7160462f5cf846dd7ea74f4 ******/ %feature("compactdefaultargs") BRepLib_MakeSolid; - %feature("autodoc", "Make a solid from three shells. - + %feature("autodoc", " Parameters ---------- S1: TopoDS_Shell S2: TopoDS_Shell S3: TopoDS_Shell -Returns +Return ------- None + +Description +----------- +Make a solid from three shells. ") BRepLib_MakeSolid; BRepLib_MakeSolid(const TopoDS_Shell & S1, const TopoDS_Shell & S2, const TopoDS_Shell & S3); - /****************** BRepLib_MakeSolid ******************/ - /**** md5 signature: d194d2606b4ba8b1988d6dbd38da4766 ****/ + /****** BRepLib_MakeSolid::BRepLib_MakeSolid ******/ + /****** md5 signature: d194d2606b4ba8b1988d6dbd38da4766 ******/ %feature("compactdefaultargs") BRepLib_MakeSolid; - %feature("autodoc", "Make a solid from a solid. usefull for adding later. - + %feature("autodoc", " Parameters ---------- So: TopoDS_Solid -Returns +Return ------- None + +Description +----------- +Make a solid from a solid. Useful for adding later. ") BRepLib_MakeSolid; BRepLib_MakeSolid(const TopoDS_Solid & So); - /****************** BRepLib_MakeSolid ******************/ - /**** md5 signature: 56608c108f73f7ee1451b5e3910c003e ****/ + /****** BRepLib_MakeSolid::BRepLib_MakeSolid ******/ + /****** md5 signature: 56608c108f73f7ee1451b5e3910c003e ******/ %feature("compactdefaultargs") BRepLib_MakeSolid; - %feature("autodoc", "Add a shell to a solid. - + %feature("autodoc", " Parameters ---------- So: TopoDS_Solid S: TopoDS_Shell -Returns +Return ------- None + +Description +----------- +Add a shell to a solid. ") BRepLib_MakeSolid; BRepLib_MakeSolid(const TopoDS_Solid & So, const TopoDS_Shell & S); - /****************** Add ******************/ - /**** md5 signature: 755d393a8f453c7309ea9f34b76a9857 ****/ + /****** BRepLib_MakeSolid::Add ******/ + /****** md5 signature: 755d393a8f453c7309ea9f34b76a9857 ******/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Add the shell to the current solid. - + %feature("autodoc", " Parameters ---------- S: TopoDS_Shell -Returns +Return ------- None + +Description +----------- +Add the shell to the current solid. ") Add; void Add(const TopoDS_Shell & S); - /****************** FaceStatus ******************/ - /**** md5 signature: dfb2223b5e4227b4e612837e5f690792 ****/ + /****** BRepLib_MakeSolid::FaceStatus ******/ + /****** md5 signature: dfb2223b5e4227b4e612837e5f690792 ******/ %feature("compactdefaultargs") FaceStatus; - %feature("autodoc", "Returns the status of the face after the shape creation. - + %feature("autodoc", " Parameters ---------- F: TopoDS_Face -Returns +Return ------- BRepLib_ShapeModification + +Description +----------- +returns the status of the Face after the shape creation. ") FaceStatus; virtual BRepLib_ShapeModification FaceStatus(const TopoDS_Face & F); - /****************** Solid ******************/ - /**** md5 signature: 2538cb0f3104aa1b86470e63b7cc116d ****/ + /****** BRepLib_MakeSolid::Solid ******/ + /****** md5 signature: 2538cb0f3104aa1b86470e63b7cc116d ******/ %feature("compactdefaultargs") Solid; - %feature("autodoc", "Returns the new solid. - -Returns + %feature("autodoc", "Return ------- TopoDS_Solid + +Description +----------- +Returns the new Solid. ") Solid; const TopoDS_Solid Solid(); @@ -3837,29 +4832,34 @@ TopoDS_Solid ***************************/ class BRepLib_MakeVertex : public BRepLib_MakeShape { public: - /****************** BRepLib_MakeVertex ******************/ - /**** md5 signature: 5af511bb8d68685e3175885cc6d40c2c ****/ + /****** BRepLib_MakeVertex::BRepLib_MakeVertex ******/ + /****** md5 signature: 5af511bb8d68685e3175885cc6d40c2c ******/ %feature("compactdefaultargs") BRepLib_MakeVertex; - %feature("autodoc", "No available documentation. - + %feature("autodoc", " Parameters ---------- P: gp_Pnt -Returns +Return ------- None + +Description +----------- +No available documentation. ") BRepLib_MakeVertex; BRepLib_MakeVertex(const gp_Pnt & P); - /****************** Vertex ******************/ - /**** md5 signature: c8025d701d2a4994ffc4b119d7279582 ****/ + /****** BRepLib_MakeVertex::Vertex ******/ + /****** md5 signature: c8025d701d2a4994ffc4b119d7279582 ******/ %feature("compactdefaultargs") Vertex; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- TopoDS_Vertex + +Description +----------- +No available documentation. ") Vertex; const TopoDS_Vertex Vertex(); @@ -3878,70 +4878,80 @@ TopoDS_Vertex class BRepLib_MakeWire : public BRepLib_MakeShape { public: class BRepLib_BndBoxVertexSelector {}; - /****************** BRepLib_MakeWire ******************/ - /**** md5 signature: 5efb7d08579a4f93c331a3c336d25a18 ****/ + /****** BRepLib_MakeWire::BRepLib_MakeWire ******/ + /****** md5 signature: 5efb7d08579a4f93c331a3c336d25a18 ******/ %feature("compactdefaultargs") BRepLib_MakeWire; - %feature("autodoc", "Notdone makewire. - -Returns + %feature("autodoc", "Return ------- None + +Description +----------- +NotDone MakeWire. ") BRepLib_MakeWire; BRepLib_MakeWire(); - /****************** BRepLib_MakeWire ******************/ - /**** md5 signature: 16f751950933f9d3ec660f17fe46c4b3 ****/ + /****** BRepLib_MakeWire::BRepLib_MakeWire ******/ + /****** md5 signature: 16f751950933f9d3ec660f17fe46c4b3 ******/ %feature("compactdefaultargs") BRepLib_MakeWire; - %feature("autodoc", "Make a wire from an edge. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +Make a Wire from an edge. ") BRepLib_MakeWire; BRepLib_MakeWire(const TopoDS_Edge & E); - /****************** BRepLib_MakeWire ******************/ - /**** md5 signature: e6e448e9f05337273a6a95077e19042c ****/ + /****** BRepLib_MakeWire::BRepLib_MakeWire ******/ + /****** md5 signature: e6e448e9f05337273a6a95077e19042c ******/ %feature("compactdefaultargs") BRepLib_MakeWire; - %feature("autodoc", "Make a wire from two edges. - + %feature("autodoc", " Parameters ---------- E1: TopoDS_Edge E2: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +Make a Wire from two edges. ") BRepLib_MakeWire; BRepLib_MakeWire(const TopoDS_Edge & E1, const TopoDS_Edge & E2); - /****************** BRepLib_MakeWire ******************/ - /**** md5 signature: a5e0c18c038618f90f69e6ba184360b9 ****/ + /****** BRepLib_MakeWire::BRepLib_MakeWire ******/ + /****** md5 signature: a5e0c18c038618f90f69e6ba184360b9 ******/ %feature("compactdefaultargs") BRepLib_MakeWire; - %feature("autodoc", "Make a wire from three edges. - + %feature("autodoc", " Parameters ---------- E1: TopoDS_Edge E2: TopoDS_Edge E3: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +Make a Wire from three edges. ") BRepLib_MakeWire; BRepLib_MakeWire(const TopoDS_Edge & E1, const TopoDS_Edge & E2, const TopoDS_Edge & E3); - /****************** BRepLib_MakeWire ******************/ - /**** md5 signature: 10f231939f09dc1712a688b6ea19507a ****/ + /****** BRepLib_MakeWire::BRepLib_MakeWire ******/ + /****** md5 signature: 10f231939f09dc1712a688b6ea19507a ******/ %feature("compactdefaultargs") BRepLib_MakeWire; - %feature("autodoc", "Make a wire from four edges. - + %feature("autodoc", " Parameters ---------- E1: TopoDS_Edge @@ -3949,129 +4959,156 @@ E2: TopoDS_Edge E3: TopoDS_Edge E4: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +Make a Wire from four edges. ") BRepLib_MakeWire; BRepLib_MakeWire(const TopoDS_Edge & E1, const TopoDS_Edge & E2, const TopoDS_Edge & E3, const TopoDS_Edge & E4); - /****************** BRepLib_MakeWire ******************/ - /**** md5 signature: ac5c38632b4fb819b03eb4dc3b435233 ****/ + /****** BRepLib_MakeWire::BRepLib_MakeWire ******/ + /****** md5 signature: ac5c38632b4fb819b03eb4dc3b435233 ******/ %feature("compactdefaultargs") BRepLib_MakeWire; - %feature("autodoc", "Make a wire from a wire. usefull for adding later. - + %feature("autodoc", " Parameters ---------- W: TopoDS_Wire -Returns +Return ------- None + +Description +----------- +Make a Wire from a Wire. Useful for adding later. ") BRepLib_MakeWire; BRepLib_MakeWire(const TopoDS_Wire & W); - /****************** BRepLib_MakeWire ******************/ - /**** md5 signature: ddacfdfbc909129eba28735466e6531c ****/ + /****** BRepLib_MakeWire::BRepLib_MakeWire ******/ + /****** md5 signature: ddacfdfbc909129eba28735466e6531c ******/ %feature("compactdefaultargs") BRepLib_MakeWire; - %feature("autodoc", "Add an edge to a wire. - + %feature("autodoc", " Parameters ---------- W: TopoDS_Wire E: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +Add an edge to a wire. ") BRepLib_MakeWire; BRepLib_MakeWire(const TopoDS_Wire & W, const TopoDS_Edge & E); - /****************** Add ******************/ - /**** md5 signature: 2689ece383041802da1cd80a0167e44a ****/ + /****** BRepLib_MakeWire::Add ******/ + /****** md5 signature: 2689ece383041802da1cd80a0167e44a ******/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Add the edge to the current wire. - + %feature("autodoc", " Parameters ---------- E: TopoDS_Edge -Returns +Return ------- None + +Description +----------- +Add the edge to the current wire. ") Add; void Add(const TopoDS_Edge & E); - /****************** Add ******************/ - /**** md5 signature: 3257e47f30128eb5440b1eab5065e724 ****/ + /****** BRepLib_MakeWire::Add ******/ + /****** md5 signature: 3257e47f30128eb5440b1eab5065e724 ******/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Add the edges of to the current wire. - + %feature("autodoc", " Parameters ---------- W: TopoDS_Wire -Returns +Return ------- None + +Description +----------- +Add the edges of to the current wire. ") Add; void Add(const TopoDS_Wire & W); - /****************** Add ******************/ - /**** md5 signature: acaf1f40b8e0173007b2aad5fa46572c ****/ + /****** BRepLib_MakeWire::Add ******/ + /****** md5 signature: acaf1f40b8e0173007b2aad5fa46572c ******/ %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. - + %feature("autodoc", " Parameters ---------- L: TopTools_ListOfShape -Returns +Return ------- None + +Description +----------- +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. ") Add; void Add(const TopTools_ListOfShape & L); - /****************** Edge ******************/ - /**** md5 signature: be590cff987799d8b7c28083399d0e9f ****/ + /****** BRepLib_MakeWire::Edge ******/ + /****** md5 signature: be590cff987799d8b7c28083399d0e9f ******/ %feature("compactdefaultargs") Edge; - %feature("autodoc", "Returns the last edge added to the wire. - -Returns + %feature("autodoc", "Return ------- TopoDS_Edge + +Description +----------- +Returns the last edge added to the wire. ") Edge; const TopoDS_Edge Edge(); - /****************** Error ******************/ - /**** md5 signature: ae5b245502f5cc9eb925e95c017c85dd ****/ + /****** BRepLib_MakeWire::Error ******/ + /****** md5 signature: ae5b245502f5cc9eb925e95c017c85dd ******/ %feature("compactdefaultargs") Error; - %feature("autodoc", "No available documentation. - -Returns + %feature("autodoc", "Return ------- BRepLib_WireError + +Description +----------- +No available documentation. ") Error; BRepLib_WireError Error(); - /****************** Vertex ******************/ - /**** md5 signature: 84212ff79cd7d64cd0ebfa6f17214e90 ****/ + /****** BRepLib_MakeWire::Vertex ******/ + /****** md5 signature: 84212ff79cd7d64cd0ebfa6f17214e90 ******/ %feature("compactdefaultargs") Vertex; - %feature("autodoc", "Returns the last connecting vertex. - -Returns + %feature("autodoc", "Return ------- TopoDS_Vertex + +Description +----------- +Returns the last connecting vertex. ") Vertex; const TopoDS_Vertex Vertex(); - /****************** Wire ******************/ - /**** md5 signature: 1a80266ab027407949727610f03160e2 ****/ + /****** BRepLib_MakeWire::Wire ******/ + /****** md5 signature: 1a80266ab027407949727610f03160e2 ******/ %feature("compactdefaultargs") Wire; - %feature("autodoc", "Returns the new wire. - -Returns + %feature("autodoc", "Return ------- TopoDS_Wire + +Description +----------- +Returns the new wire. ") Wire; const TopoDS_Wire Wire(); @@ -4090,3 +5127,150 @@ TopoDS_Wire /* class aliases */ %pythoncode { } +/* deprecated methods */ +%pythoncode { +@deprecated +def breplib_BoundingVertex(*args): + return breplib.BoundingVertex(*args) + +@deprecated +def breplib_BuildCurve3d(*args): + return breplib.BuildCurve3d(*args) + +@deprecated +def breplib_BuildCurves3d(*args): + return breplib.BuildCurves3d(*args) + +@deprecated +def breplib_BuildCurves3d(*args): + return breplib.BuildCurves3d(*args) + +@deprecated +def breplib_BuildPCurveForEdgeOnPlane(*args): + return breplib.BuildPCurveForEdgeOnPlane(*args) + +@deprecated +def breplib_BuildPCurveForEdgeOnPlane(*args): + return breplib.BuildPCurveForEdgeOnPlane(*args) + +@deprecated +def breplib_CheckSameRange(*args): + return breplib.CheckSameRange(*args) + +@deprecated +def breplib_ContinuityOfFaces(*args): + return breplib.ContinuityOfFaces(*args) + +@deprecated +def breplib_EncodeRegularity(*args): + return breplib.EncodeRegularity(*args) + +@deprecated +def breplib_EncodeRegularity(*args): + return breplib.EncodeRegularity(*args) + +@deprecated +def breplib_EncodeRegularity(*args): + return breplib.EncodeRegularity(*args) + +@deprecated +def breplib_EnsureNormalConsistency(*args): + return breplib.EnsureNormalConsistency(*args) + +@deprecated +def breplib_ExtendFace(*args): + return breplib.ExtendFace(*args) + +@deprecated +def breplib_FindValidRange(*args): + return breplib.FindValidRange(*args) + +@deprecated +def breplib_FindValidRange(*args): + return breplib.FindValidRange(*args) + +@deprecated +def breplib_OrientClosedSolid(*args): + return breplib.OrientClosedSolid(*args) + +@deprecated +def breplib_Plane(*args): + return breplib.Plane(*args) + +@deprecated +def breplib_Plane(*args): + return breplib.Plane(*args) + +@deprecated +def breplib_Precision(*args): + return breplib.Precision(*args) + +@deprecated +def breplib_Precision(*args): + return breplib.Precision(*args) + +@deprecated +def breplib_ReverseSortFaces(*args): + return breplib.ReverseSortFaces(*args) + +@deprecated +def breplib_SameParameter(*args): + return breplib.SameParameter(*args) + +@deprecated +def breplib_SameParameter(*args): + return breplib.SameParameter(*args) + +@deprecated +def breplib_SameParameter(*args): + return breplib.SameParameter(*args) + +@deprecated +def breplib_SameParameter(*args): + return breplib.SameParameter(*args) + +@deprecated +def breplib_SameRange(*args): + return breplib.SameRange(*args) + +@deprecated +def breplib_SortFaces(*args): + return breplib.SortFaces(*args) + +@deprecated +def breplib_UpdateDeflection(*args): + return breplib.UpdateDeflection(*args) + +@deprecated +def breplib_UpdateEdgeTol(*args): + return breplib.UpdateEdgeTol(*args) + +@deprecated +def breplib_UpdateEdgeTolerance(*args): + return breplib.UpdateEdgeTolerance(*args) + +@deprecated +def breplib_UpdateInnerTolerances(*args): + return breplib.UpdateInnerTolerances(*args) + +@deprecated +def breplib_UpdateTolerances(*args): + return breplib.UpdateTolerances(*args) + +@deprecated +def breplib_UpdateTolerances(*args): + return breplib.UpdateTolerances(*args) + +@deprecated +def BRepLib_ToolTriangulatedShape_ComputeNormals(*args): + return BRepLib_ToolTriangulatedShape.ComputeNormals(*args) + +@deprecated +def BRepLib_ToolTriangulatedShape_ComputeNormals(*args): + return BRepLib_ToolTriangulatedShape.ComputeNormals(*args) + +@deprecated +def BRepLib_MakeFace_IsDegenerated(*args): + return BRepLib_MakeFace.IsDegenerated(*args) + +} diff --git a/src/SWIG_files/wrapper/BRepLib.pyi b/src/SWIG_files/wrapper/BRepLib.pyi index d5332e2aa..a4f451f22 100644 --- a/src/SWIG_files/wrapper/BRepLib.pyi +++ b/src/SWIG_files/wrapper/BRepLib.pyi @@ -12,555 +12,812 @@ from OCC.Core.Adaptor3d import * from OCC.Core.Geom import * from OCC.Core.BRepTools import * from OCC.Core.TopLoc import * - +from OCC.Core.Poly import * class BRepLib_EdgeError(IntEnum): - BRepLib_EdgeDone: int = ... - BRepLib_PointProjectionFailed: int = ... - BRepLib_ParameterOutOfRange: int = ... - BRepLib_DifferentPointsOnClosedCurve: int = ... - BRepLib_PointWithInfiniteParameter: int = ... - BRepLib_DifferentsPointAndParameter: int = ... - BRepLib_LineThroughIdenticPoints: int = ... + BRepLib_EdgeDone: int = ... + BRepLib_PointProjectionFailed: int = ... + BRepLib_ParameterOutOfRange: int = ... + BRepLib_DifferentPointsOnClosedCurve: int = ... + BRepLib_PointWithInfiniteParameter: int = ... + BRepLib_DifferentsPointAndParameter: int = ... + BRepLib_LineThroughIdenticPoints: int = ... + BRepLib_EdgeDone = BRepLib_EdgeError.BRepLib_EdgeDone BRepLib_PointProjectionFailed = BRepLib_EdgeError.BRepLib_PointProjectionFailed BRepLib_ParameterOutOfRange = BRepLib_EdgeError.BRepLib_ParameterOutOfRange -BRepLib_DifferentPointsOnClosedCurve = BRepLib_EdgeError.BRepLib_DifferentPointsOnClosedCurve -BRepLib_PointWithInfiniteParameter = BRepLib_EdgeError.BRepLib_PointWithInfiniteParameter -BRepLib_DifferentsPointAndParameter = BRepLib_EdgeError.BRepLib_DifferentsPointAndParameter +BRepLib_DifferentPointsOnClosedCurve = ( + BRepLib_EdgeError.BRepLib_DifferentPointsOnClosedCurve +) +BRepLib_PointWithInfiniteParameter = ( + BRepLib_EdgeError.BRepLib_PointWithInfiniteParameter +) +BRepLib_DifferentsPointAndParameter = ( + BRepLib_EdgeError.BRepLib_DifferentsPointAndParameter +) BRepLib_LineThroughIdenticPoints = BRepLib_EdgeError.BRepLib_LineThroughIdenticPoints -class BRepLib_ShellError(IntEnum): - BRepLib_ShellDone: int = ... - BRepLib_EmptyShell: int = ... - BRepLib_DisconnectedShell: int = ... - BRepLib_ShellParametersOutOfRange: int = ... -BRepLib_ShellDone = BRepLib_ShellError.BRepLib_ShellDone -BRepLib_EmptyShell = BRepLib_ShellError.BRepLib_EmptyShell -BRepLib_DisconnectedShell = BRepLib_ShellError.BRepLib_DisconnectedShell -BRepLib_ShellParametersOutOfRange = BRepLib_ShellError.BRepLib_ShellParametersOutOfRange +class BRepLib_FaceError(IntEnum): + BRepLib_FaceDone: int = ... + BRepLib_NoFace: int = ... + BRepLib_NotPlanar: int = ... + BRepLib_CurveProjectionFailed: int = ... + BRepLib_ParametersOutOfRange: int = ... + +BRepLib_FaceDone = BRepLib_FaceError.BRepLib_FaceDone +BRepLib_NoFace = BRepLib_FaceError.BRepLib_NoFace +BRepLib_NotPlanar = BRepLib_FaceError.BRepLib_NotPlanar +BRepLib_CurveProjectionFailed = BRepLib_FaceError.BRepLib_CurveProjectionFailed +BRepLib_ParametersOutOfRange = BRepLib_FaceError.BRepLib_ParametersOutOfRange class BRepLib_ShapeModification(IntEnum): - BRepLib_Preserved: int = ... - BRepLib_Deleted: int = ... - BRepLib_Trimmed: int = ... - BRepLib_Merged: int = ... - BRepLib_BoundaryModified: int = ... + BRepLib_Preserved: int = ... + BRepLib_Deleted: int = ... + BRepLib_Trimmed: int = ... + BRepLib_Merged: int = ... + BRepLib_BoundaryModified: int = ... + BRepLib_Preserved = BRepLib_ShapeModification.BRepLib_Preserved BRepLib_Deleted = BRepLib_ShapeModification.BRepLib_Deleted BRepLib_Trimmed = BRepLib_ShapeModification.BRepLib_Trimmed BRepLib_Merged = BRepLib_ShapeModification.BRepLib_Merged BRepLib_BoundaryModified = BRepLib_ShapeModification.BRepLib_BoundaryModified +class BRepLib_ShellError(IntEnum): + BRepLib_ShellDone: int = ... + BRepLib_EmptyShell: int = ... + BRepLib_DisconnectedShell: int = ... + BRepLib_ShellParametersOutOfRange: int = ... + +BRepLib_ShellDone = BRepLib_ShellError.BRepLib_ShellDone +BRepLib_EmptyShell = BRepLib_ShellError.BRepLib_EmptyShell +BRepLib_DisconnectedShell = BRepLib_ShellError.BRepLib_DisconnectedShell +BRepLib_ShellParametersOutOfRange = BRepLib_ShellError.BRepLib_ShellParametersOutOfRange + class BRepLib_WireError(IntEnum): - BRepLib_WireDone: int = ... - BRepLib_EmptyWire: int = ... - BRepLib_DisconnectedWire: int = ... - BRepLib_NonManifoldWire: int = ... + BRepLib_WireDone: int = ... + BRepLib_EmptyWire: int = ... + BRepLib_DisconnectedWire: int = ... + BRepLib_NonManifoldWire: int = ... + BRepLib_WireDone = BRepLib_WireError.BRepLib_WireDone BRepLib_EmptyWire = BRepLib_WireError.BRepLib_EmptyWire BRepLib_DisconnectedWire = BRepLib_WireError.BRepLib_DisconnectedWire BRepLib_NonManifoldWire = BRepLib_WireError.BRepLib_NonManifoldWire -class BRepLib_FaceError(IntEnum): - BRepLib_FaceDone: int = ... - BRepLib_NoFace: int = ... - BRepLib_NotPlanar: int = ... - BRepLib_CurveProjectionFailed: int = ... - BRepLib_ParametersOutOfRange: int = ... -BRepLib_FaceDone = BRepLib_FaceError.BRepLib_FaceDone -BRepLib_NoFace = BRepLib_FaceError.BRepLib_NoFace -BRepLib_NotPlanar = BRepLib_FaceError.BRepLib_NotPlanar -BRepLib_CurveProjectionFailed = BRepLib_FaceError.BRepLib_CurveProjectionFailed -BRepLib_ParametersOutOfRange = BRepLib_FaceError.BRepLib_ParametersOutOfRange - class breplib: - @staticmethod - def BuildCurve3d(E: TopoDS_Edge, Tolerance: Optional[float] = 1.0e-5, Continuity: Optional[GeomAbs_Shape] = GeomAbs_C1, MaxDegree: Optional[int] = 14, MaxSegment: Optional[int] = 0) -> bool: ... - @overload - @staticmethod - def BuildCurves3d(S: TopoDS_Shape, Tolerance: float, Continuity: Optional[GeomAbs_Shape] = GeomAbs_C1, MaxDegree: Optional[int] = 14, MaxSegment: Optional[int] = 0) -> bool: ... - @overload - @staticmethod - def BuildCurves3d(S: TopoDS_Shape) -> bool: ... - @overload - @staticmethod - def BuildPCurveForEdgeOnPlane(theE: TopoDS_Edge, theF: TopoDS_Face) -> None: ... - @overload - @staticmethod - def BuildPCurveForEdgeOnPlane(theE: TopoDS_Edge, theF: TopoDS_Face, aC2D: Geom2d_Curve) -> bool: ... - @staticmethod - def CheckSameRange(E: TopoDS_Edge, Confusion: Optional[float] = 1.0e-12) -> bool: ... - @overload - @staticmethod - def EncodeRegularity(S: TopoDS_Shape, TolAng: Optional[float] = 1.0e-10) -> None: ... - @overload - @staticmethod - def EncodeRegularity(S: TopoDS_Shape, LE: TopTools_ListOfShape, TolAng: Optional[float] = 1.0e-10) -> None: ... - @overload - @staticmethod - def EncodeRegularity(E: TopoDS_Edge, F1: TopoDS_Face, F2: TopoDS_Face, TolAng: Optional[float] = 1.0e-10) -> None: ... - @staticmethod - def EnsureNormalConsistency(S: TopoDS_Shape, theAngTol: Optional[float] = 0.001, ForceComputeNormals: Optional[bool] = False) -> bool: ... - @staticmethod - def ExtendFace(theF: TopoDS_Face, theExtVal: float, theExtUMin: bool, theExtUMax: bool, theExtVMin: bool, theExtVMax: bool, theFExtended: TopoDS_Face) -> None: ... - @overload - @staticmethod - def FindValidRange(theCurve: Adaptor3d_Curve, theTolE: float, theParV1: float, thePntV1: gp_Pnt, theTolV1: float, theParV2: float, thePntV2: gp_Pnt, theTolV2: float) -> Tuple[bool, float, float]: ... - @overload - @staticmethod - def FindValidRange(theEdge: TopoDS_Edge) -> Tuple[bool, float, float]: ... - @staticmethod - def OrientClosedSolid(solid: TopoDS_Solid) -> bool: ... - @overload - @staticmethod - def Plane(P: Geom_Plane) -> None: ... - @overload - @staticmethod - def Plane() -> Geom_Plane: ... - @overload - @staticmethod - def Precision(P: float) -> None: ... - @overload - @staticmethod - def Precision() -> float: ... - @staticmethod - def ReverseSortFaces(S: TopoDS_Shape, LF: TopTools_ListOfShape) -> None: ... - @overload - @staticmethod - def SameParameter(theEdge: TopoDS_Edge, Tolerance: Optional[float] = 1.0e-5) -> None: ... - @overload - @staticmethod - def SameParameter(theEdge: TopoDS_Edge, theTolerance: float, IsUseOldEdge: bool) -> Tuple[TopoDS_Edge, float]: ... - @overload - @staticmethod - def SameParameter(S: TopoDS_Shape, Tolerance: Optional[float] = 1.0e-5, forced: Optional[bool] = False) -> None: ... - @overload - @staticmethod - def SameParameter(S: TopoDS_Shape, theReshaper: BRepTools_ReShape, Tolerance: Optional[float] = 1.0e-5, forced: Optional[bool] = False) -> None: ... - @staticmethod - def SameRange(E: TopoDS_Edge, Tolerance: Optional[float] = 1.0e-5) -> None: ... - @staticmethod - def SortFaces(S: TopoDS_Shape, LF: TopTools_ListOfShape) -> None: ... - @staticmethod - def UpdateEdgeTol(E: TopoDS_Edge, MinToleranceRequest: float, MaxToleranceToCheck: float) -> bool: ... - @staticmethod - def UpdateEdgeTolerance(S: TopoDS_Shape, MinToleranceRequest: float, MaxToleranceToCheck: float) -> bool: ... - @staticmethod - def UpdateInnerTolerances(S: TopoDS_Shape) -> None: ... - @overload - @staticmethod - def UpdateTolerances(S: TopoDS_Shape, verifyFaceTolerance: Optional[bool] = False) -> None: ... - @overload - @staticmethod - def UpdateTolerances(S: TopoDS_Shape, theReshaper: BRepTools_ReShape, verifyFaceTolerance: Optional[bool] = False) -> None: ... + @staticmethod + def BuildCurve3d( + E: TopoDS_Edge, + Tolerance: Optional[float] = 1.0e-5, + Continuity: Optional[GeomAbs_Shape] = GeomAbs_C1, + MaxDegree: Optional[int] = 14, + MaxSegment: Optional[int] = 0, + ) -> bool: ... + @overload + @staticmethod + def BuildCurves3d( + S: TopoDS_Shape, + Tolerance: float, + Continuity: Optional[GeomAbs_Shape] = GeomAbs_C1, + MaxDegree: Optional[int] = 14, + MaxSegment: Optional[int] = 0, + ) -> bool: ... + @overload + @staticmethod + def BuildCurves3d(S: TopoDS_Shape) -> bool: ... + @overload + @staticmethod + def BuildPCurveForEdgeOnPlane(theE: TopoDS_Edge, theF: TopoDS_Face) -> None: ... + @overload + @staticmethod + def BuildPCurveForEdgeOnPlane( + theE: TopoDS_Edge, theF: TopoDS_Face, aC2D: Geom2d_Curve + ) -> bool: ... + @staticmethod + def CheckSameRange( + E: TopoDS_Edge, Confusion: Optional[float] = 1.0e-12 + ) -> bool: ... + @staticmethod + def ContinuityOfFaces( + theEdge: TopoDS_Edge, + theFace1: TopoDS_Face, + theFace2: TopoDS_Face, + theAngleTol: float, + ) -> GeomAbs_Shape: ... + @overload + @staticmethod + def EncodeRegularity( + S: TopoDS_Shape, TolAng: Optional[float] = 1.0e-10 + ) -> None: ... + @overload + @staticmethod + def EncodeRegularity( + S: TopoDS_Shape, LE: TopTools_ListOfShape, TolAng: Optional[float] = 1.0e-10 + ) -> None: ... + @overload + @staticmethod + def EncodeRegularity( + E: TopoDS_Edge, + F1: TopoDS_Face, + F2: TopoDS_Face, + TolAng: Optional[float] = 1.0e-10, + ) -> None: ... + @staticmethod + def EnsureNormalConsistency( + S: TopoDS_Shape, + theAngTol: Optional[float] = 0.001, + ForceComputeNormals: Optional[bool] = False, + ) -> bool: ... + @staticmethod + def ExtendFace( + theF: TopoDS_Face, + theExtVal: float, + theExtUMin: bool, + theExtUMax: bool, + theExtVMin: bool, + theExtVMax: bool, + theFExtended: TopoDS_Face, + ) -> None: ... + @overload + @staticmethod + def FindValidRange( + theCurve: Adaptor3d_Curve, + theTolE: float, + theParV1: float, + thePntV1: gp_Pnt, + theTolV1: float, + theParV2: float, + thePntV2: gp_Pnt, + theTolV2: float, + ) -> Tuple[bool, float, float]: ... + @overload + @staticmethod + def FindValidRange(theEdge: TopoDS_Edge) -> Tuple[bool, float, float]: ... + @staticmethod + def OrientClosedSolid(solid: TopoDS_Solid) -> bool: ... + @overload + @staticmethod + def Plane(P: Geom_Plane) -> None: ... + @overload + @staticmethod + def Plane() -> Geom_Plane: ... + @overload + @staticmethod + def Precision(P: float) -> None: ... + @overload + @staticmethod + def Precision() -> float: ... + @staticmethod + def ReverseSortFaces(S: TopoDS_Shape, LF: TopTools_ListOfShape) -> None: ... + @overload + @staticmethod + def SameParameter( + theEdge: TopoDS_Edge, Tolerance: Optional[float] = 1.0e-5 + ) -> None: ... + @overload + @staticmethod + def SameParameter( + theEdge: TopoDS_Edge, theTolerance: float, IsUseOldEdge: bool + ) -> Tuple[TopoDS_Edge, float]: ... + @overload + @staticmethod + def SameParameter( + S: TopoDS_Shape, + Tolerance: Optional[float] = 1.0e-5, + forced: Optional[bool] = False, + ) -> None: ... + @overload + @staticmethod + def SameParameter( + S: TopoDS_Shape, + theReshaper: BRepTools_ReShape, + Tolerance: Optional[float] = 1.0e-5, + forced: Optional[bool] = False, + ) -> None: ... + @staticmethod + def SameRange(E: TopoDS_Edge, Tolerance: Optional[float] = 1.0e-5) -> None: ... + @staticmethod + def SortFaces(S: TopoDS_Shape, LF: TopTools_ListOfShape) -> None: ... + @staticmethod + def UpdateDeflection(S: TopoDS_Shape) -> None: ... + @staticmethod + def UpdateEdgeTol( + E: TopoDS_Edge, MinToleranceRequest: float, MaxToleranceToCheck: float + ) -> bool: ... + @staticmethod + def UpdateEdgeTolerance( + S: TopoDS_Shape, MinToleranceRequest: float, MaxToleranceToCheck: float + ) -> bool: ... + @staticmethod + def UpdateInnerTolerances(S: TopoDS_Shape) -> None: ... + @overload + @staticmethod + def UpdateTolerances( + S: TopoDS_Shape, verifyFaceTolerance: Optional[bool] = False + ) -> None: ... + @overload + @staticmethod + def UpdateTolerances( + S: TopoDS_Shape, + theReshaper: BRepTools_ReShape, + verifyFaceTolerance: Optional[bool] = False, + ) -> None: ... class BRepLib_CheckCurveOnSurface: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, theEdge: TopoDS_Edge, theFace: TopoDS_Face) -> None: ... - def Curve(self) -> Geom_Curve: ... - def ErrorStatus(self) -> int: ... - def Init(self, theEdge: TopoDS_Edge, theFace: TopoDS_Face) -> None: ... - def IsDone(self) -> bool: ... - def MaxDistance(self) -> float: ... - def MaxParameter(self) -> float: ... - def PCurve(self) -> Geom2d_Curve: ... - def PCurve2(self) -> Geom2d_Curve: ... - def Perform(self, isTheMultyTheradDisabled: Optional[bool] = False) -> None: ... - def Range(self) -> Tuple[float, float]: ... - def Surface(self) -> Geom_Surface: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theEdge: TopoDS_Edge, theFace: TopoDS_Face) -> None: ... + def ErrorStatus(self) -> int: ... + def Init(self, theEdge: TopoDS_Edge, theFace: TopoDS_Face) -> None: ... + def IsDone(self) -> bool: ... + def IsParallel(self) -> bool: ... + def MaxDistance(self) -> float: ... + def MaxParameter(self) -> float: ... + def Perform(self) -> None: ... + def SetParallel(self, theIsParallel: bool) -> None: ... class BRepLib_Command: - def Check(self) -> None: ... - def IsDone(self) -> bool: ... + def Check(self) -> None: ... + def IsDone(self) -> bool: ... class BRepLib_FindSurface: - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, S: TopoDS_Shape, Tol: Optional[float] = -1, OnlyPlane: Optional[bool] = False, OnlyClosed: Optional[bool] = False) -> None: ... - def Existed(self) -> bool: ... - def Found(self) -> bool: ... - def Init(self, S: TopoDS_Shape, Tol: Optional[float] = -1, OnlyPlane: Optional[bool] = False, OnlyClosed: Optional[bool] = False) -> None: ... - def Location(self) -> TopLoc_Location: ... - def Surface(self) -> Geom_Surface: ... - def Tolerance(self) -> float: ... - def ToleranceReached(self) -> float: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__( + self, + S: TopoDS_Shape, + Tol: Optional[float] = -1, + OnlyPlane: Optional[bool] = False, + OnlyClosed: Optional[bool] = False, + ) -> None: ... + def Existed(self) -> bool: ... + def Found(self) -> bool: ... + def Init( + self, + S: TopoDS_Shape, + Tol: Optional[float] = -1, + OnlyPlane: Optional[bool] = False, + OnlyClosed: Optional[bool] = False, + ) -> None: ... + def Location(self) -> TopLoc_Location: ... + def Surface(self) -> Geom_Surface: ... + def Tolerance(self) -> float: ... + def ToleranceReached(self) -> float: ... class BRepLib_FuseEdges: - def __init__(self, theShape: TopoDS_Shape, PerformNow: Optional[bool] = False) -> None: ... - def AvoidEdges(self, theMapEdg: TopTools_IndexedMapOfShape) -> None: ... - def Edges(self, theMapLstEdg: TopTools_DataMapOfIntegerListOfShape) -> None: ... - def Faces(self, theMapFac: TopTools_DataMapOfShapeShape) -> None: ... - def NbVertices(self) -> int: ... - def Perform(self) -> None: ... - def ResultEdges(self, theMapEdg: TopTools_DataMapOfIntegerShape) -> None: ... - def SetConcatBSpl(self, theConcatBSpl: Optional[bool] = True) -> None: ... - def Shape(self) -> TopoDS_Shape: ... + def __init__( + self, theShape: TopoDS_Shape, PerformNow: Optional[bool] = False + ) -> None: ... + def AvoidEdges(self, theMapEdg: TopTools_IndexedMapOfShape) -> None: ... + def Edges(self, theMapLstEdg: TopTools_DataMapOfIntegerListOfShape) -> None: ... + def Faces(self, theMapFac: TopTools_DataMapOfShapeShape) -> None: ... + def NbVertices(self) -> int: ... + def Perform(self) -> None: ... + def ResultEdges(self, theMapEdg: TopTools_DataMapOfIntegerShape) -> None: ... + def SetConcatBSpl(self, theConcatBSpl: Optional[bool] = True) -> None: ... + def Shape(self) -> TopoDS_Shape: ... + +class BRepLib_PointCloudShape: + def GeneratePointsByDensity(self, theDensity: Optional[float] = 0.0) -> bool: ... + def GeneratePointsByTriangulation(self) -> bool: ... + def GetDistance(self) -> float: ... + def NbPointsByDensity(self, theDensity: Optional[float] = 0.0) -> int: ... + def NbPointsByTriangulation(self) -> int: ... + def SetDistance(self, theDist: float) -> None: ... + def SetShape(self, theShape: TopoDS_Shape) -> None: ... + def SetTolerance(self, theTol: float) -> None: ... + def Shape(self) -> TopoDS_Shape: ... + def Tolerance(self) -> float: ... + +class BRepLib_ToolTriangulatedShape: + @overload + @staticmethod + def ComputeNormals(theFace: TopoDS_Face, theTris: Poly_Triangulation) -> None: ... + @overload + @staticmethod + def ComputeNormals( + theFace: TopoDS_Face, theTris: Poly_Triangulation, thePolyConnect: Poly_Connect + ) -> None: ... + +class BRepLib_ValidateEdge: + def __init__( + self, + theReferenceCurve: Adaptor3d_Curve, + theOtherCurve: Adaptor3d_CurveOnSurface, + theSameParameter: bool, + ) -> None: ... + def CheckTolerance(self, theToleranceToCheck: float) -> bool: ... + def GetMaxDistance(self) -> float: ... + def IsDone(self) -> bool: ... + def IsExactMethod(self) -> bool: ... + def IsParallel(self) -> bool: ... + def Process(self) -> None: ... + def SetControlPointsNumber(self, theControlPointsNumber: int) -> None: ... + def SetExactMethod(self, theIsExact: bool) -> None: ... + def SetParallel(self, theIsMultiThread: bool) -> None: ... + def UpdateTolerance(self) -> float: ... class BRepLib_MakeShape(BRepLib_Command): - def Build(self) -> None: ... - def DescendantFaces(self, F: TopoDS_Face) -> TopTools_ListOfShape: ... - def FaceStatus(self, F: TopoDS_Face) -> BRepLib_ShapeModification: ... - def FacesFromEdges(self, E: TopoDS_Edge) -> TopTools_ListOfShape: ... - def HasDescendants(self, F: TopoDS_Face) -> bool: ... - def NbSurfaces(self) -> int: ... - def NewFaces(self, I: int) -> TopTools_ListOfShape: ... - def Shape(self) -> TopoDS_Shape: ... + def Build(self) -> None: ... + def DescendantFaces(self, F: TopoDS_Face) -> TopTools_ListOfShape: ... + def FaceStatus(self, F: TopoDS_Face) -> BRepLib_ShapeModification: ... + def FacesFromEdges(self, E: TopoDS_Edge) -> TopTools_ListOfShape: ... + def HasDescendants(self, F: TopoDS_Face) -> bool: ... + def NbSurfaces(self) -> int: ... + def NewFaces(self, I: int) -> TopTools_ListOfShape: ... + def Shape(self) -> TopoDS_Shape: ... class BRepLib_MakeEdge(BRepLib_MakeShape): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... - @overload - def __init__(self, P1: gp_Pnt, P2: gp_Pnt) -> None: ... - @overload - def __init__(self, L: gp_Lin) -> None: ... - @overload - def __init__(self, L: gp_Lin, p1: float, p2: float) -> None: ... - @overload - def __init__(self, L: gp_Lin, P1: gp_Pnt, P2: gp_Pnt) -> None: ... - @overload - def __init__(self, L: gp_Lin, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... - @overload - def __init__(self, L: gp_Circ) -> None: ... - @overload - def __init__(self, L: gp_Circ, p1: float, p2: float) -> None: ... - @overload - def __init__(self, L: gp_Circ, P1: gp_Pnt, P2: gp_Pnt) -> None: ... - @overload - def __init__(self, L: gp_Circ, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... - @overload - def __init__(self, L: gp_Elips) -> None: ... - @overload - def __init__(self, L: gp_Elips, p1: float, p2: float) -> None: ... - @overload - def __init__(self, L: gp_Elips, P1: gp_Pnt, P2: gp_Pnt) -> None: ... - @overload - def __init__(self, L: gp_Elips, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... - @overload - def __init__(self, L: gp_Hypr) -> None: ... - @overload - def __init__(self, L: gp_Hypr, p1: float, p2: float) -> None: ... - @overload - def __init__(self, L: gp_Hypr, P1: gp_Pnt, P2: gp_Pnt) -> None: ... - @overload - def __init__(self, L: gp_Hypr, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... - @overload - def __init__(self, L: gp_Parab) -> None: ... - @overload - def __init__(self, L: gp_Parab, p1: float, p2: float) -> None: ... - @overload - def __init__(self, L: gp_Parab, P1: gp_Pnt, P2: gp_Pnt) -> None: ... - @overload - def __init__(self, L: gp_Parab, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... - @overload - def __init__(self, L: Geom_Curve) -> None: ... - @overload - def __init__(self, L: Geom_Curve, p1: float, p2: float) -> None: ... - @overload - def __init__(self, L: Geom_Curve, P1: gp_Pnt, P2: gp_Pnt) -> None: ... - @overload - def __init__(self, L: Geom_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... - @overload - def __init__(self, L: Geom_Curve, P1: gp_Pnt, P2: gp_Pnt, p1: float, p2: float) -> None: ... - @overload - def __init__(self, L: Geom_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex, p1: float, p2: float) -> None: ... - @overload - def __init__(self, L: Geom2d_Curve, S: Geom_Surface) -> None: ... - @overload - def __init__(self, L: Geom2d_Curve, S: Geom_Surface, p1: float, p2: float) -> None: ... - @overload - def __init__(self, L: Geom2d_Curve, S: Geom_Surface, P1: gp_Pnt, P2: gp_Pnt) -> None: ... - @overload - def __init__(self, L: Geom2d_Curve, S: Geom_Surface, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... - @overload - def __init__(self, L: Geom2d_Curve, S: Geom_Surface, P1: gp_Pnt, P2: gp_Pnt, p1: float, p2: float) -> None: ... - @overload - def __init__(self, L: Geom2d_Curve, S: Geom_Surface, V1: TopoDS_Vertex, V2: TopoDS_Vertex, p1: float, p2: float) -> None: ... - def Edge(self) -> TopoDS_Edge: ... - def Error(self) -> BRepLib_EdgeError: ... - @overload - def Init(self, C: Geom_Curve) -> None: ... - @overload - def Init(self, C: Geom_Curve, p1: float, p2: float) -> None: ... - @overload - def Init(self, C: Geom_Curve, P1: gp_Pnt, P2: gp_Pnt) -> None: ... - @overload - def Init(self, C: Geom_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... - @overload - def Init(self, C: Geom_Curve, P1: gp_Pnt, P2: gp_Pnt, p1: float, p2: float) -> None: ... - @overload - def Init(self, C: Geom_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex, p1: float, p2: float) -> None: ... - @overload - def Init(self, C: Geom2d_Curve, S: Geom_Surface) -> None: ... - @overload - def Init(self, C: Geom2d_Curve, S: Geom_Surface, p1: float, p2: float) -> None: ... - @overload - def Init(self, C: Geom2d_Curve, S: Geom_Surface, P1: gp_Pnt, P2: gp_Pnt) -> None: ... - @overload - def Init(self, C: Geom2d_Curve, S: Geom_Surface, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... - @overload - def Init(self, C: Geom2d_Curve, S: Geom_Surface, P1: gp_Pnt, P2: gp_Pnt, p1: float, p2: float) -> None: ... - @overload - def Init(self, C: Geom2d_Curve, S: Geom_Surface, V1: TopoDS_Vertex, V2: TopoDS_Vertex, p1: float, p2: float) -> None: ... - def Vertex1(self) -> TopoDS_Vertex: ... - def Vertex2(self) -> TopoDS_Vertex: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... + @overload + def __init__(self, P1: gp_Pnt, P2: gp_Pnt) -> None: ... + @overload + def __init__(self, L: gp_Lin) -> None: ... + @overload + def __init__(self, L: gp_Lin, p1: float, p2: float) -> None: ... + @overload + def __init__(self, L: gp_Lin, P1: gp_Pnt, P2: gp_Pnt) -> None: ... + @overload + def __init__(self, L: gp_Lin, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... + @overload + def __init__(self, L: gp_Circ) -> None: ... + @overload + def __init__(self, L: gp_Circ, p1: float, p2: float) -> None: ... + @overload + def __init__(self, L: gp_Circ, P1: gp_Pnt, P2: gp_Pnt) -> None: ... + @overload + def __init__(self, L: gp_Circ, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... + @overload + def __init__(self, L: gp_Elips) -> None: ... + @overload + def __init__(self, L: gp_Elips, p1: float, p2: float) -> None: ... + @overload + def __init__(self, L: gp_Elips, P1: gp_Pnt, P2: gp_Pnt) -> None: ... + @overload + def __init__(self, L: gp_Elips, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... + @overload + def __init__(self, L: gp_Hypr) -> None: ... + @overload + def __init__(self, L: gp_Hypr, p1: float, p2: float) -> None: ... + @overload + def __init__(self, L: gp_Hypr, P1: gp_Pnt, P2: gp_Pnt) -> None: ... + @overload + def __init__(self, L: gp_Hypr, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... + @overload + def __init__(self, L: gp_Parab) -> None: ... + @overload + def __init__(self, L: gp_Parab, p1: float, p2: float) -> None: ... + @overload + def __init__(self, L: gp_Parab, P1: gp_Pnt, P2: gp_Pnt) -> None: ... + @overload + def __init__(self, L: gp_Parab, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... + @overload + def __init__(self, L: Geom_Curve) -> None: ... + @overload + def __init__(self, L: Geom_Curve, p1: float, p2: float) -> None: ... + @overload + def __init__(self, L: Geom_Curve, P1: gp_Pnt, P2: gp_Pnt) -> None: ... + @overload + def __init__(self, L: Geom_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... + @overload + def __init__( + self, L: Geom_Curve, P1: gp_Pnt, P2: gp_Pnt, p1: float, p2: float + ) -> None: ... + @overload + def __init__( + self, L: Geom_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex, p1: float, p2: float + ) -> None: ... + @overload + def __init__(self, L: Geom2d_Curve, S: Geom_Surface) -> None: ... + @overload + def __init__( + self, L: Geom2d_Curve, S: Geom_Surface, p1: float, p2: float + ) -> None: ... + @overload + def __init__( + self, L: Geom2d_Curve, S: Geom_Surface, P1: gp_Pnt, P2: gp_Pnt + ) -> None: ... + @overload + def __init__( + self, L: Geom2d_Curve, S: Geom_Surface, V1: TopoDS_Vertex, V2: TopoDS_Vertex + ) -> None: ... + @overload + def __init__( + self, + L: Geom2d_Curve, + S: Geom_Surface, + P1: gp_Pnt, + P2: gp_Pnt, + p1: float, + p2: float, + ) -> None: ... + @overload + def __init__( + self, + L: Geom2d_Curve, + S: Geom_Surface, + V1: TopoDS_Vertex, + V2: TopoDS_Vertex, + p1: float, + p2: float, + ) -> None: ... + def Edge(self) -> TopoDS_Edge: ... + def Error(self) -> BRepLib_EdgeError: ... + @overload + def Init(self, C: Geom_Curve) -> None: ... + @overload + def Init(self, C: Geom_Curve, p1: float, p2: float) -> None: ... + @overload + def Init(self, C: Geom_Curve, P1: gp_Pnt, P2: gp_Pnt) -> None: ... + @overload + def Init(self, C: Geom_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... + @overload + def Init( + self, C: Geom_Curve, P1: gp_Pnt, P2: gp_Pnt, p1: float, p2: float + ) -> None: ... + @overload + def Init( + self, C: Geom_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex, p1: float, p2: float + ) -> None: ... + @overload + def Init(self, C: Geom2d_Curve, S: Geom_Surface) -> None: ... + @overload + def Init(self, C: Geom2d_Curve, S: Geom_Surface, p1: float, p2: float) -> None: ... + @overload + def Init( + self, C: Geom2d_Curve, S: Geom_Surface, P1: gp_Pnt, P2: gp_Pnt + ) -> None: ... + @overload + def Init( + self, C: Geom2d_Curve, S: Geom_Surface, V1: TopoDS_Vertex, V2: TopoDS_Vertex + ) -> None: ... + @overload + def Init( + self, + C: Geom2d_Curve, + S: Geom_Surface, + P1: gp_Pnt, + P2: gp_Pnt, + p1: float, + p2: float, + ) -> None: ... + @overload + def Init( + self, + C: Geom2d_Curve, + S: Geom_Surface, + V1: TopoDS_Vertex, + V2: TopoDS_Vertex, + p1: float, + p2: float, + ) -> None: ... + def Vertex1(self) -> TopoDS_Vertex: ... + def Vertex2(self) -> TopoDS_Vertex: ... class BRepLib_MakeEdge2d(BRepLib_MakeShape): - @overload - def __init__(self, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... - @overload - def __init__(self, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... - @overload - def __init__(self, L: gp_Lin2d) -> None: ... - @overload - def __init__(self, L: gp_Lin2d, p1: float, p2: float) -> None: ... - @overload - def __init__(self, L: gp_Lin2d, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... - @overload - def __init__(self, L: gp_Lin2d, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... - @overload - def __init__(self, L: gp_Circ2d) -> None: ... - @overload - def __init__(self, L: gp_Circ2d, p1: float, p2: float) -> None: ... - @overload - def __init__(self, L: gp_Circ2d, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... - @overload - def __init__(self, L: gp_Circ2d, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... - @overload - def __init__(self, L: gp_Elips2d) -> None: ... - @overload - def __init__(self, L: gp_Elips2d, p1: float, p2: float) -> None: ... - @overload - def __init__(self, L: gp_Elips2d, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... - @overload - def __init__(self, L: gp_Elips2d, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... - @overload - def __init__(self, L: gp_Hypr2d) -> None: ... - @overload - def __init__(self, L: gp_Hypr2d, p1: float, p2: float) -> None: ... - @overload - def __init__(self, L: gp_Hypr2d, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... - @overload - def __init__(self, L: gp_Hypr2d, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... - @overload - def __init__(self, L: gp_Parab2d) -> None: ... - @overload - def __init__(self, L: gp_Parab2d, p1: float, p2: float) -> None: ... - @overload - def __init__(self, L: gp_Parab2d, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... - @overload - def __init__(self, L: gp_Parab2d, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... - @overload - def __init__(self, L: Geom2d_Curve) -> None: ... - @overload - def __init__(self, L: Geom2d_Curve, p1: float, p2: float) -> None: ... - @overload - def __init__(self, L: Geom2d_Curve, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... - @overload - def __init__(self, L: Geom2d_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... - @overload - def __init__(self, L: Geom2d_Curve, P1: gp_Pnt2d, P2: gp_Pnt2d, p1: float, p2: float) -> None: ... - @overload - def __init__(self, L: Geom2d_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex, p1: float, p2: float) -> None: ... - def Edge(self) -> TopoDS_Edge: ... - def Error(self) -> BRepLib_EdgeError: ... - @overload - def Init(self, C: Geom2d_Curve) -> None: ... - @overload - def Init(self, C: Geom2d_Curve, p1: float, p2: float) -> None: ... - @overload - def Init(self, C: Geom2d_Curve, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... - @overload - def Init(self, C: Geom2d_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... - @overload - def Init(self, C: Geom2d_Curve, P1: gp_Pnt2d, P2: gp_Pnt2d, p1: float, p2: float) -> None: ... - @overload - def Init(self, C: Geom2d_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex, p1: float, p2: float) -> None: ... - def Vertex1(self) -> TopoDS_Vertex: ... - def Vertex2(self) -> TopoDS_Vertex: ... + @overload + def __init__(self, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... + @overload + def __init__(self, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... + @overload + def __init__(self, L: gp_Lin2d) -> None: ... + @overload + def __init__(self, L: gp_Lin2d, p1: float, p2: float) -> None: ... + @overload + def __init__(self, L: gp_Lin2d, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... + @overload + def __init__(self, L: gp_Lin2d, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... + @overload + def __init__(self, L: gp_Circ2d) -> None: ... + @overload + def __init__(self, L: gp_Circ2d, p1: float, p2: float) -> None: ... + @overload + def __init__(self, L: gp_Circ2d, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... + @overload + def __init__(self, L: gp_Circ2d, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... + @overload + def __init__(self, L: gp_Elips2d) -> None: ... + @overload + def __init__(self, L: gp_Elips2d, p1: float, p2: float) -> None: ... + @overload + def __init__(self, L: gp_Elips2d, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... + @overload + def __init__(self, L: gp_Elips2d, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... + @overload + def __init__(self, L: gp_Hypr2d) -> None: ... + @overload + def __init__(self, L: gp_Hypr2d, p1: float, p2: float) -> None: ... + @overload + def __init__(self, L: gp_Hypr2d, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... + @overload + def __init__(self, L: gp_Hypr2d, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... + @overload + def __init__(self, L: gp_Parab2d) -> None: ... + @overload + def __init__(self, L: gp_Parab2d, p1: float, p2: float) -> None: ... + @overload + def __init__(self, L: gp_Parab2d, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... + @overload + def __init__(self, L: gp_Parab2d, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... + @overload + def __init__(self, L: Geom2d_Curve) -> None: ... + @overload + def __init__(self, L: Geom2d_Curve, p1: float, p2: float) -> None: ... + @overload + def __init__(self, L: Geom2d_Curve, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... + @overload + def __init__( + self, L: Geom2d_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex + ) -> None: ... + @overload + def __init__( + self, L: Geom2d_Curve, P1: gp_Pnt2d, P2: gp_Pnt2d, p1: float, p2: float + ) -> None: ... + @overload + def __init__( + self, + L: Geom2d_Curve, + V1: TopoDS_Vertex, + V2: TopoDS_Vertex, + p1: float, + p2: float, + ) -> None: ... + def Edge(self) -> TopoDS_Edge: ... + def Error(self) -> BRepLib_EdgeError: ... + @overload + def Init(self, C: Geom2d_Curve) -> None: ... + @overload + def Init(self, C: Geom2d_Curve, p1: float, p2: float) -> None: ... + @overload + def Init(self, C: Geom2d_Curve, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... + @overload + def Init(self, C: Geom2d_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... + @overload + def Init( + self, C: Geom2d_Curve, P1: gp_Pnt2d, P2: gp_Pnt2d, p1: float, p2: float + ) -> None: ... + @overload + def Init( + self, + C: Geom2d_Curve, + V1: TopoDS_Vertex, + V2: TopoDS_Vertex, + p1: float, + p2: float, + ) -> None: ... + def Vertex1(self) -> TopoDS_Vertex: ... + def Vertex2(self) -> TopoDS_Vertex: ... class BRepLib_MakeFace(BRepLib_MakeShape): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, F: TopoDS_Face) -> None: ... - @overload - def __init__(self, P: gp_Pln) -> None: ... - @overload - def __init__(self, C: gp_Cylinder) -> None: ... - @overload - def __init__(self, C: gp_Cone) -> None: ... - @overload - def __init__(self, S: gp_Sphere) -> None: ... - @overload - def __init__(self, C: gp_Torus) -> None: ... - @overload - def __init__(self, S: Geom_Surface, TolDegen: float) -> None: ... - @overload - def __init__(self, P: gp_Pln, UMin: float, UMax: float, VMin: float, VMax: float) -> None: ... - @overload - def __init__(self, C: gp_Cylinder, UMin: float, UMax: float, VMin: float, VMax: float) -> None: ... - @overload - def __init__(self, C: gp_Cone, UMin: float, UMax: float, VMin: float, VMax: float) -> None: ... - @overload - def __init__(self, S: gp_Sphere, UMin: float, UMax: float, VMin: float, VMax: float) -> None: ... - @overload - def __init__(self, C: gp_Torus, UMin: float, UMax: float, VMin: float, VMax: float) -> None: ... - @overload - def __init__(self, S: Geom_Surface, UMin: float, UMax: float, VMin: float, VMax: float, TolDegen: float) -> None: ... - @overload - def __init__(self, W: TopoDS_Wire, OnlyPlane: Optional[bool] = False) -> None: ... - @overload - def __init__(self, P: gp_Pln, W: TopoDS_Wire, Inside: Optional[bool] = True) -> None: ... - @overload - def __init__(self, C: gp_Cylinder, W: TopoDS_Wire, Inside: Optional[bool] = True) -> None: ... - @overload - def __init__(self, C: gp_Cone, W: TopoDS_Wire, Inside: Optional[bool] = True) -> None: ... - @overload - def __init__(self, S: gp_Sphere, W: TopoDS_Wire, Inside: Optional[bool] = True) -> None: ... - @overload - def __init__(self, C: gp_Torus, W: TopoDS_Wire, Inside: Optional[bool] = True) -> None: ... - @overload - def __init__(self, S: Geom_Surface, W: TopoDS_Wire, Inside: Optional[bool] = True) -> None: ... - @overload - def __init__(self, F: TopoDS_Face, W: TopoDS_Wire) -> None: ... - def Add(self, W: TopoDS_Wire) -> None: ... - def Error(self) -> BRepLib_FaceError: ... - def Face(self) -> TopoDS_Face: ... - @overload - def Init(self, F: TopoDS_Face) -> None: ... - @overload - def Init(self, S: Geom_Surface, Bound: bool, TolDegen: float) -> None: ... - @overload - def Init(self, S: Geom_Surface, UMin: float, UMax: float, VMin: float, VMax: float, TolDegen: float) -> None: ... - @staticmethod - def IsDegenerated(theCurve: Geom_Curve, theMaxTol: float) -> Tuple[bool, float]: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, F: TopoDS_Face) -> None: ... + @overload + def __init__(self, P: gp_Pln) -> None: ... + @overload + def __init__(self, C: gp_Cylinder) -> None: ... + @overload + def __init__(self, C: gp_Cone) -> None: ... + @overload + def __init__(self, S: gp_Sphere) -> None: ... + @overload + def __init__(self, C: gp_Torus) -> None: ... + @overload + def __init__(self, S: Geom_Surface, TolDegen: float) -> None: ... + @overload + def __init__( + self, P: gp_Pln, UMin: float, UMax: float, VMin: float, VMax: float + ) -> None: ... + @overload + def __init__( + self, C: gp_Cylinder, UMin: float, UMax: float, VMin: float, VMax: float + ) -> None: ... + @overload + def __init__( + self, C: gp_Cone, UMin: float, UMax: float, VMin: float, VMax: float + ) -> None: ... + @overload + def __init__( + self, S: gp_Sphere, UMin: float, UMax: float, VMin: float, VMax: float + ) -> None: ... + @overload + def __init__( + self, C: gp_Torus, UMin: float, UMax: float, VMin: float, VMax: float + ) -> None: ... + @overload + def __init__( + self, + S: Geom_Surface, + UMin: float, + UMax: float, + VMin: float, + VMax: float, + TolDegen: float, + ) -> None: ... + @overload + def __init__(self, W: TopoDS_Wire, OnlyPlane: Optional[bool] = False) -> None: ... + @overload + def __init__( + self, P: gp_Pln, W: TopoDS_Wire, Inside: Optional[bool] = True + ) -> None: ... + @overload + def __init__( + self, C: gp_Cylinder, W: TopoDS_Wire, Inside: Optional[bool] = True + ) -> None: ... + @overload + def __init__( + self, C: gp_Cone, W: TopoDS_Wire, Inside: Optional[bool] = True + ) -> None: ... + @overload + def __init__( + self, S: gp_Sphere, W: TopoDS_Wire, Inside: Optional[bool] = True + ) -> None: ... + @overload + def __init__( + self, C: gp_Torus, W: TopoDS_Wire, Inside: Optional[bool] = True + ) -> None: ... + @overload + def __init__( + self, S: Geom_Surface, W: TopoDS_Wire, Inside: Optional[bool] = True + ) -> None: ... + @overload + def __init__(self, F: TopoDS_Face, W: TopoDS_Wire) -> None: ... + def Add(self, W: TopoDS_Wire) -> None: ... + def Error(self) -> BRepLib_FaceError: ... + def Face(self) -> TopoDS_Face: ... + @overload + def Init(self, F: TopoDS_Face) -> None: ... + @overload + def Init(self, S: Geom_Surface, Bound: bool, TolDegen: float) -> None: ... + @overload + def Init( + self, + S: Geom_Surface, + UMin: float, + UMax: float, + VMin: float, + VMax: float, + TolDegen: float, + ) -> None: ... + @staticmethod + def IsDegenerated(theCurve: Geom_Curve, theMaxTol: float) -> Tuple[bool, float]: ... class BRepLib_MakePolygon(BRepLib_MakeShape): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, P1: gp_Pnt, P2: gp_Pnt) -> None: ... - @overload - def __init__(self, P1: gp_Pnt, P2: gp_Pnt, P3: gp_Pnt, Close: Optional[bool] = False) -> None: ... - @overload - def __init__(self, P1: gp_Pnt, P2: gp_Pnt, P3: gp_Pnt, P4: gp_Pnt, Close: Optional[bool] = False) -> None: ... - @overload - def __init__(self, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... - @overload - def __init__(self, V1: TopoDS_Vertex, V2: TopoDS_Vertex, V3: TopoDS_Vertex, Close: Optional[bool] = False) -> None: ... - @overload - def __init__(self, V1: TopoDS_Vertex, V2: TopoDS_Vertex, V3: TopoDS_Vertex, V4: TopoDS_Vertex, Close: Optional[bool] = False) -> None: ... - @overload - def Add(self, P: gp_Pnt) -> None: ... - @overload - def Add(self, V: TopoDS_Vertex) -> None: ... - def Added(self) -> bool: ... - def Close(self) -> None: ... - def Edge(self) -> TopoDS_Edge: ... - def FirstVertex(self) -> TopoDS_Vertex: ... - def LastVertex(self) -> TopoDS_Vertex: ... - def Wire(self) -> TopoDS_Wire: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, P1: gp_Pnt, P2: gp_Pnt) -> None: ... + @overload + def __init__( + self, P1: gp_Pnt, P2: gp_Pnt, P3: gp_Pnt, Close: Optional[bool] = False + ) -> None: ... + @overload + def __init__( + self, + P1: gp_Pnt, + P2: gp_Pnt, + P3: gp_Pnt, + P4: gp_Pnt, + Close: Optional[bool] = False, + ) -> None: ... + @overload + def __init__(self, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ... + @overload + def __init__( + self, + V1: TopoDS_Vertex, + V2: TopoDS_Vertex, + V3: TopoDS_Vertex, + Close: Optional[bool] = False, + ) -> None: ... + @overload + def __init__( + self, + V1: TopoDS_Vertex, + V2: TopoDS_Vertex, + V3: TopoDS_Vertex, + V4: TopoDS_Vertex, + Close: Optional[bool] = False, + ) -> None: ... + @overload + def Add(self, P: gp_Pnt) -> None: ... + @overload + def Add(self, V: TopoDS_Vertex) -> None: ... + def Added(self) -> bool: ... + def Close(self) -> None: ... + def Edge(self) -> TopoDS_Edge: ... + def FirstVertex(self) -> TopoDS_Vertex: ... + def LastVertex(self) -> TopoDS_Vertex: ... + def Wire(self) -> TopoDS_Wire: ... class BRepLib_MakeShell(BRepLib_MakeShape): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, S: Geom_Surface, Segment: Optional[bool] = False) -> None: ... - @overload - def __init__(self, S: Geom_Surface, UMin: float, UMax: float, VMin: float, VMax: float, Segment: Optional[bool] = False) -> None: ... - def Error(self) -> BRepLib_ShellError: ... - def Init(self, S: Geom_Surface, UMin: float, UMax: float, VMin: float, VMax: float, Segment: Optional[bool] = False) -> None: ... - def Shell(self) -> TopoDS_Shell: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, S: Geom_Surface, Segment: Optional[bool] = False) -> None: ... + @overload + def __init__( + self, + S: Geom_Surface, + UMin: float, + UMax: float, + VMin: float, + VMax: float, + Segment: Optional[bool] = False, + ) -> None: ... + def Error(self) -> BRepLib_ShellError: ... + def Init( + self, + S: Geom_Surface, + UMin: float, + UMax: float, + VMin: float, + VMax: float, + Segment: Optional[bool] = False, + ) -> None: ... + def Shell(self) -> TopoDS_Shell: ... class BRepLib_MakeSolid(BRepLib_MakeShape): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, S: TopoDS_CompSolid) -> None: ... - @overload - def __init__(self, S: TopoDS_Shell) -> None: ... - @overload - def __init__(self, S1: TopoDS_Shell, S2: TopoDS_Shell) -> None: ... - @overload - def __init__(self, S1: TopoDS_Shell, S2: TopoDS_Shell, S3: TopoDS_Shell) -> None: ... - @overload - def __init__(self, So: TopoDS_Solid) -> None: ... - @overload - def __init__(self, So: TopoDS_Solid, S: TopoDS_Shell) -> None: ... - def Add(self, S: TopoDS_Shell) -> None: ... - def FaceStatus(self, F: TopoDS_Face) -> BRepLib_ShapeModification: ... - def Solid(self) -> TopoDS_Solid: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, S: TopoDS_CompSolid) -> None: ... + @overload + def __init__(self, S: TopoDS_Shell) -> None: ... + @overload + def __init__(self, S1: TopoDS_Shell, S2: TopoDS_Shell) -> None: ... + @overload + def __init__( + self, S1: TopoDS_Shell, S2: TopoDS_Shell, S3: TopoDS_Shell + ) -> None: ... + @overload + def __init__(self, So: TopoDS_Solid) -> None: ... + @overload + def __init__(self, So: TopoDS_Solid, S: TopoDS_Shell) -> None: ... + def Add(self, S: TopoDS_Shell) -> None: ... + def FaceStatus(self, F: TopoDS_Face) -> BRepLib_ShapeModification: ... + def Solid(self) -> TopoDS_Solid: ... class BRepLib_MakeVertex(BRepLib_MakeShape): - @overload - def __init__(self, P: gp_Pnt) -> None: ... - def Vertex(self) -> TopoDS_Vertex: ... + @overload + def __init__(self, P: gp_Pnt) -> None: ... + def Vertex(self) -> TopoDS_Vertex: ... class BRepLib_MakeWire(BRepLib_MakeShape): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, E: TopoDS_Edge) -> None: ... - @overload - def __init__(self, E1: TopoDS_Edge, E2: TopoDS_Edge) -> None: ... - @overload - def __init__(self, E1: TopoDS_Edge, E2: TopoDS_Edge, E3: TopoDS_Edge) -> None: ... - @overload - def __init__(self, E1: TopoDS_Edge, E2: TopoDS_Edge, E3: TopoDS_Edge, E4: TopoDS_Edge) -> None: ... - @overload - def __init__(self, W: TopoDS_Wire) -> None: ... - @overload - def __init__(self, W: TopoDS_Wire, E: TopoDS_Edge) -> None: ... - @overload - def Add(self, E: TopoDS_Edge) -> None: ... - @overload - def Add(self, W: TopoDS_Wire) -> None: ... - @overload - def Add(self, L: TopTools_ListOfShape) -> None: ... - def Edge(self) -> TopoDS_Edge: ... - def Error(self) -> BRepLib_WireError: ... - def Vertex(self) -> TopoDS_Vertex: ... - def Wire(self) -> TopoDS_Wire: ... + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, E: TopoDS_Edge) -> None: ... + @overload + def __init__(self, E1: TopoDS_Edge, E2: TopoDS_Edge) -> None: ... + @overload + def __init__(self, E1: TopoDS_Edge, E2: TopoDS_Edge, E3: TopoDS_Edge) -> None: ... + @overload + def __init__( + self, E1: TopoDS_Edge, E2: TopoDS_Edge, E3: TopoDS_Edge, E4: TopoDS_Edge + ) -> None: ... + @overload + def __init__(self, W: TopoDS_Wire) -> None: ... + @overload + def __init__(self, W: TopoDS_Wire, E: TopoDS_Edge) -> None: ... + @overload + def Add(self, E: TopoDS_Edge) -> None: ... + @overload + def Add(self, W: TopoDS_Wire) -> None: ... + @overload + def Add(self, L: TopTools_ListOfShape) -> None: ... + def Edge(self) -> TopoDS_Edge: ... + def Error(self) -> BRepLib_WireError: ... + def Vertex(self) -> TopoDS_Vertex: ... + def Wire(self) -> TopoDS_Wire: ... # harray1 classes # harray2 classes # hsequence classes - -breplib_BoundingVertex = breplib.BoundingVertex -breplib_BuildCurve3d = breplib.BuildCurve3d -breplib_BuildCurves3d = breplib.BuildCurves3d -breplib_BuildCurves3d = breplib.BuildCurves3d -breplib_BuildPCurveForEdgeOnPlane = breplib.BuildPCurveForEdgeOnPlane -breplib_BuildPCurveForEdgeOnPlane = breplib.BuildPCurveForEdgeOnPlane -breplib_CheckSameRange = breplib.CheckSameRange -breplib_EncodeRegularity = breplib.EncodeRegularity -breplib_EncodeRegularity = breplib.EncodeRegularity -breplib_EncodeRegularity = breplib.EncodeRegularity -breplib_EnsureNormalConsistency = breplib.EnsureNormalConsistency -breplib_ExtendFace = breplib.ExtendFace -breplib_FindValidRange = breplib.FindValidRange -breplib_FindValidRange = breplib.FindValidRange -breplib_OrientClosedSolid = breplib.OrientClosedSolid -breplib_Plane = breplib.Plane -breplib_Plane = breplib.Plane -breplib_Precision = breplib.Precision -breplib_Precision = breplib.Precision -breplib_ReverseSortFaces = breplib.ReverseSortFaces -breplib_SameParameter = breplib.SameParameter -breplib_SameParameter = breplib.SameParameter -breplib_SameParameter = breplib.SameParameter -breplib_SameParameter = breplib.SameParameter -breplib_SameRange = breplib.SameRange -breplib_SortFaces = breplib.SortFaces -breplib_UpdateEdgeTol = breplib.UpdateEdgeTol -breplib_UpdateEdgeTolerance = breplib.UpdateEdgeTolerance -breplib_UpdateInnerTolerances = breplib.UpdateInnerTolerances -breplib_UpdateTolerances = breplib.UpdateTolerances -breplib_UpdateTolerances = breplib.UpdateTolerances -BRepLib_MakeFace_IsDegenerated = BRepLib_MakeFace.IsDegenerated diff --git a/src/SWIG_files/wrapper/BRepMAT2d.i b/src/SWIG_files/wrapper/BRepMAT2d.i index 4012607ca..9127631e2 100644 --- a/src/SWIG_files/wrapper/BRepMAT2d.i +++ b/src/SWIG_files/wrapper/BRepMAT2d.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPMAT2DDOCSTRING "BRepMAT2d module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepmat2d.html" +https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_brepmat2d.html" %enddef %module (package="OCC.Core", docstring=BREPMAT2DDOCSTRING) BRepMAT2d @@ -31,8 +31,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepmat2d.html" %include ../common/CommonIncludes.i %include ../common/ExceptionCatcher.i %include ../common/FunctionTransformers.i +%include ../common/EnumTemplates.i %include ../common/Operators.i %include ../common/OccHandle.i +%include ../common/IOStream.i +%include ../common/ArrayMacros.i %{ @@ -47,7 +50,6 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepmat2d.html" #include #include #include -#include #include #include #include @@ -65,7 +67,6 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepmat2d.html" %import Geom2d.i %import gp.i %import TopoDS.i -%import TColGeom2d.i %import TColStd.i %pythoncode { @@ -76,7 +77,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -85,14 +86,14 @@ from OCC.Core.Exception import * /* end handles declaration */ /* templates */ -%template(BRepMAT2d_DataMapOfBasicEltShape) NCollection_DataMap,TopoDS_Shape,TColStd_MapTransientHasher>; +%template(BRepMAT2d_DataMapOfBasicEltShape) NCollection_DataMap,TopoDS_Shape>; %template(BRepMAT2d_DataMapOfShapeSequenceOfBasicElt) NCollection_DataMap; /* end templates declaration */ /* typedefs */ -typedef NCollection_DataMap, TopoDS_Shape, TColStd_MapTransientHasher>::Iterator BRepMAT2d_DataMapIteratorOfDataMapOfBasicEltShape; +typedef NCollection_DataMap, TopoDS_Shape>::Iterator BRepMAT2d_DataMapIteratorOfDataMapOfBasicEltShape; typedef NCollection_DataMap::Iterator BRepMAT2d_DataMapIteratorOfDataMapOfShapeSequenceOfBasicElt; -typedef NCollection_DataMap, TopoDS_Shape, TColStd_MapTransientHasher> BRepMAT2d_DataMapOfBasicEltShape; +typedef NCollection_DataMap, TopoDS_Shape> BRepMAT2d_DataMapOfBasicEltShape; typedef NCollection_DataMap BRepMAT2d_DataMapOfShapeSequenceOfBasicElt; /* end typedefs declaration */ @@ -101,162 +102,187 @@ typedef NCollection_DataMap on the contour designed by . remark: the basicelts on a contour are sorted. - + %feature("autodoc", " Parameters ---------- IndLine: int Index: int -Returns +Return ------- opencascade::handle + +Description +----------- +Returns the BasicElts located at the position on the contour designed by . Remark: the BasicElts on a contour are sorted. ") BasicElt; opencascade::handle BasicElt(const Standard_Integer IndLine, const Standard_Integer Index); - /****************** Compute ******************/ - /**** md5 signature: b86912005db7017db1b8639215ff1b3f ****/ + /****** BRepMAT2d_BisectingLocus::Compute ******/ + /****** md5 signature: b86912005db7017db1b8639215ff1b3f ******/ %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